diff --git a/clients/client-accessanalyzer/test/index-objects.spec.mjs b/clients/client-accessanalyzer/test/index-objects.spec.mjs index a817f5c049f2..bf81a872edf7 100644 --- a/clients/client-accessanalyzer/test/index-objects.spec.mjs +++ b/clients/client-accessanalyzer/test/index-objects.spec.mjs @@ -4,6 +4,7 @@ import { AccessAnalyzerServiceException, AccessCheckPolicyType, AccessCheckResourceType, + AccessDeniedException, AccessPreviewStatus, AccessPreviewStatusReasonCode, AclPermission, @@ -16,6 +17,7 @@ import { CheckNoNewAccessResult, CheckNoPublicAccessCommand, CheckNoPublicAccessResult, + ConflictException, CreateAccessPreviewCommand, CreateAnalyzerCommand, CreateArchiveRuleCommand, @@ -37,6 +39,8 @@ import { GetFindingsStatisticsCommand, GetGeneratedPolicyCommand, InternalAccessType, + InternalServerException, + InvalidParameterException, JobErrorCode, JobStatus, KmsGrantOperation, @@ -57,13 +61,17 @@ import { RecommendationType, RecommendedRemediationAction, ResourceControlPolicyRestriction, + ResourceNotFoundException, ResourceType, ServiceControlPolicyRestriction, + ServiceQuotaExceededException, StartPolicyGenerationCommand, StartResourceScanCommand, Status, TagResourceCommand, + ThrottlingException, Type, + UnprocessableEntityException, UntagResourceCommand, UpdateAnalyzerCommand, UpdateArchiveRuleCommand, @@ -71,6 +79,8 @@ import { ValidatePolicyCommand, ValidatePolicyFindingType, ValidatePolicyResourceType, + ValidationException, + ValidationExceptionReason, paginateGetFindingRecommendation, paginateGetFindingV2, paginateListAccessPreviewFindings, @@ -158,7 +168,17 @@ assert(typeof Status === "object"); assert(typeof Type === "object"); assert(typeof ValidatePolicyFindingType === "object"); assert(typeof ValidatePolicyResourceType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof AccessAnalyzerServiceException); +assert(ConflictException.prototype instanceof AccessAnalyzerServiceException); +assert(InternalServerException.prototype instanceof AccessAnalyzerServiceException); +assert(InvalidParameterException.prototype instanceof AccessAnalyzerServiceException); +assert(ResourceNotFoundException.prototype instanceof AccessAnalyzerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AccessAnalyzerServiceException); +assert(ThrottlingException.prototype instanceof AccessAnalyzerServiceException); +assert(UnprocessableEntityException.prototype instanceof AccessAnalyzerServiceException); +assert(ValidationException.prototype instanceof AccessAnalyzerServiceException); assert(AccessAnalyzerServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetFindingRecommendation === "function"); diff --git a/clients/client-accessanalyzer/test/index-types.ts b/clients/client-accessanalyzer/test/index-types.ts index 39df40ad603b..a57deace8064 100644 --- a/clients/client-accessanalyzer/test/index-types.ts +++ b/clients/client-accessanalyzer/test/index-types.ts @@ -145,6 +145,7 @@ export type { Type, ValidatePolicyFindingType, ValidatePolicyResourceType, + ValidationExceptionReason, Access, AccessPreview, AccessPreviewFinding, @@ -299,7 +300,17 @@ export type { ValidatePolicyFinding, ValidatePolicyRequest, ValidatePolicyResponse, + ValidationExceptionField, VpcConfiguration, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidParameterException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UnprocessableEntityException, + ValidationException, AccessAnalyzerServiceException, paginateGetFindingRecommendation, paginateGetFindingV2, diff --git a/clients/client-account/test/index-objects.spec.mjs b/clients/client-account/test/index-objects.spec.mjs index 000e8d518724..a424c44d76fc 100644 --- a/clients/client-account/test/index-objects.spec.mjs +++ b/clients/client-account/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { AcceptPrimaryEmailUpdateCommand, + AccessDeniedException, Account, AccountClient, AccountServiceException, AlternateContactType, + ConflictException, DeleteAlternateContactCommand, DisableRegionCommand, EnableRegionCommand, @@ -12,13 +14,18 @@ import { GetContactInformationCommand, GetPrimaryEmailCommand, GetRegionOptStatusCommand, + InternalServerException, ListRegionsCommand, PrimaryEmailUpdateStatus, PutAccountNameCommand, PutAlternateContactCommand, PutContactInformationCommand, RegionOptStatus, + ResourceNotFoundException, StartPrimaryEmailUpdateCommand, + TooManyRequestsException, + ValidationException, + ValidationExceptionReason, paginateListRegions, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -44,7 +51,14 @@ assert(typeof StartPrimaryEmailUpdateCommand === "function"); assert(typeof AlternateContactType === "object"); assert(typeof PrimaryEmailUpdateStatus === "object"); assert(typeof RegionOptStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof AccountServiceException); +assert(ConflictException.prototype instanceof AccountServiceException); +assert(InternalServerException.prototype instanceof AccountServiceException); +assert(ResourceNotFoundException.prototype instanceof AccountServiceException); +assert(TooManyRequestsException.prototype instanceof AccountServiceException); +assert(ValidationException.prototype instanceof AccountServiceException); assert(AccountServiceException.prototype instanceof Error); // paginators assert(typeof paginateListRegions === "function"); diff --git a/clients/client-account/test/index-types.ts b/clients/client-account/test/index-types.ts index d73b189e64a4..c2030b82a6b9 100644 --- a/clients/client-account/test/index-types.ts +++ b/clients/client-account/test/index-types.ts @@ -47,6 +47,7 @@ export type { AlternateContactType, PrimaryEmailUpdateStatus, RegionOptStatus, + ValidationExceptionReason, AcceptPrimaryEmailUpdateRequest, AcceptPrimaryEmailUpdateResponse, AlternateContact, @@ -72,6 +73,13 @@ export type { Region, StartPrimaryEmailUpdateRequest, StartPrimaryEmailUpdateResponse, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + TooManyRequestsException, + ValidationException, AccountServiceException, paginateListRegions, } from "../dist-types/index.d"; diff --git a/clients/client-acm-pca/test/index-objects.spec.mjs b/clients/client-acm-pca/test/index-objects.spec.mjs index de329e41d0bc..12138ea70e17 100644 --- a/clients/client-acm-pca/test/index-objects.spec.mjs +++ b/clients/client-acm-pca/test/index-objects.spec.mjs @@ -9,6 +9,8 @@ import { CertificateAuthorityStatus, CertificateAuthorityType, CertificateAuthorityUsageMode, + CertificateMismatchException, + ConcurrentModificationException, CreateCertificateAuthorityAuditReportCommand, CreateCertificateAuthorityCommand, CreatePermissionCommand, @@ -25,14 +27,30 @@ import { GetCertificateCommand, GetPolicyCommand, ImportCertificateAuthorityCertificateCommand, + InvalidArgsException, + InvalidArnException, + InvalidNextTokenException, + InvalidPolicyException, + InvalidRequestException, + InvalidStateException, + InvalidTagException, IssueCertificateCommand, KeyAlgorithm, KeyStorageSecurityStandard, + LimitExceededException, ListCertificateAuthoritiesCommand, ListPermissionsCommand, ListTagsCommand, + LockoutPreventedException, + MalformedCSRException, + MalformedCertificateException, + PermissionAlreadyExistsException, PolicyQualifierId, PutPolicyCommand, + RequestAlreadyProcessedException, + RequestFailedException, + RequestInProgressException, + ResourceNotFoundException, ResourceOwner, RestoreCertificateAuthorityCommand, RevocationReason, @@ -40,6 +58,7 @@ import { S3ObjectAcl, SigningAlgorithm, TagCertificateAuthorityCommand, + TooManyTagsException, UntagCertificateAuthorityCommand, UpdateCertificateAuthorityCommand, ValidityPeriodType, @@ -101,6 +120,25 @@ assert(typeof S3ObjectAcl === "object"); assert(typeof SigningAlgorithm === "object"); assert(typeof ValidityPeriodType === "object"); // errors +assert(CertificateMismatchException.prototype instanceof ACMPCAServiceException); +assert(ConcurrentModificationException.prototype instanceof ACMPCAServiceException); +assert(InvalidArgsException.prototype instanceof ACMPCAServiceException); +assert(InvalidArnException.prototype instanceof ACMPCAServiceException); +assert(InvalidNextTokenException.prototype instanceof ACMPCAServiceException); +assert(InvalidPolicyException.prototype instanceof ACMPCAServiceException); +assert(InvalidRequestException.prototype instanceof ACMPCAServiceException); +assert(InvalidStateException.prototype instanceof ACMPCAServiceException); +assert(InvalidTagException.prototype instanceof ACMPCAServiceException); +assert(LimitExceededException.prototype instanceof ACMPCAServiceException); +assert(LockoutPreventedException.prototype instanceof ACMPCAServiceException); +assert(MalformedCertificateException.prototype instanceof ACMPCAServiceException); +assert(MalformedCSRException.prototype instanceof ACMPCAServiceException); +assert(PermissionAlreadyExistsException.prototype instanceof ACMPCAServiceException); +assert(RequestAlreadyProcessedException.prototype instanceof ACMPCAServiceException); +assert(RequestFailedException.prototype instanceof ACMPCAServiceException); +assert(RequestInProgressException.prototype instanceof ACMPCAServiceException); +assert(ResourceNotFoundException.prototype instanceof ACMPCAServiceException); +assert(TooManyTagsException.prototype instanceof ACMPCAServiceException); assert(ACMPCAServiceException.prototype instanceof Error); // waiters assert(typeof waitForAuditReportCreated === "function"); diff --git a/clients/client-acm-pca/test/index-types.ts b/clients/client-acm-pca/test/index-types.ts index 7e1f2aa33c93..7b03670b2feb 100644 --- a/clients/client-acm-pca/test/index-types.ts +++ b/clients/client-acm-pca/test/index-types.ts @@ -149,6 +149,25 @@ export type { UntagCertificateAuthorityRequest, UpdateCertificateAuthorityRequest, Validity, + CertificateMismatchException, + ConcurrentModificationException, + InvalidArgsException, + InvalidArnException, + InvalidNextTokenException, + InvalidPolicyException, + InvalidRequestException, + InvalidStateException, + InvalidTagException, + LimitExceededException, + LockoutPreventedException, + MalformedCertificateException, + MalformedCSRException, + PermissionAlreadyExistsException, + RequestAlreadyProcessedException, + RequestFailedException, + RequestInProgressException, + ResourceNotFoundException, + TooManyTagsException, ACMPCAServiceException, waitForAuditReportCreated, waitForCertificateAuthorityCSRCreated, diff --git a/clients/client-acm/test/index-objects.spec.mjs b/clients/client-acm/test/index-objects.spec.mjs index 05ccc46ac162..97c0a4afbbae 100644 --- a/clients/client-acm/test/index-objects.spec.mjs +++ b/clients/client-acm/test/index-objects.spec.mjs @@ -2,12 +2,14 @@ import { ACM, ACMClient, ACMServiceException, + AccessDeniedException, AddTagsToCertificateCommand, CertificateExport, CertificateManagedBy, CertificateStatus, CertificateTransparencyLoggingPreference, CertificateType, + ConflictException, DeleteCertificateCommand, DescribeCertificateCommand, DomainStatus, @@ -17,8 +19,15 @@ import { GetAccountConfigurationCommand, GetCertificateCommand, ImportCertificateCommand, + InvalidArgsException, + InvalidArnException, + InvalidDomainValidationOptionsException, + InvalidParameterException, + InvalidStateException, + InvalidTagException, KeyAlgorithm, KeyUsageName, + LimitExceededException, ListCertificatesCommand, ListTagsForCertificateCommand, PutAccountConfigurationCommand, @@ -28,12 +37,19 @@ import { RenewalEligibility, RenewalStatus, RequestCertificateCommand, + RequestInProgressException, ResendValidationEmailCommand, + ResourceInUseException, + ResourceNotFoundException, RevocationReason, RevokeCertificateCommand, SortBy, SortOrder, + TagPolicyException, + ThrottlingException, + TooManyTagsException, UpdateCertificateOptionsCommand, + ValidationException, ValidationMethod, paginateListCertificates, waitForCertificateValidated, @@ -79,6 +95,22 @@ assert(typeof SortBy === "object"); assert(typeof SortOrder === "object"); assert(typeof ValidationMethod === "object"); // errors +assert(AccessDeniedException.prototype instanceof ACMServiceException); +assert(ConflictException.prototype instanceof ACMServiceException); +assert(InvalidArgsException.prototype instanceof ACMServiceException); +assert(InvalidArnException.prototype instanceof ACMServiceException); +assert(InvalidDomainValidationOptionsException.prototype instanceof ACMServiceException); +assert(InvalidParameterException.prototype instanceof ACMServiceException); +assert(InvalidStateException.prototype instanceof ACMServiceException); +assert(InvalidTagException.prototype instanceof ACMServiceException); +assert(LimitExceededException.prototype instanceof ACMServiceException); +assert(RequestInProgressException.prototype instanceof ACMServiceException); +assert(ResourceInUseException.prototype instanceof ACMServiceException); +assert(ResourceNotFoundException.prototype instanceof ACMServiceException); +assert(TagPolicyException.prototype instanceof ACMServiceException); +assert(ThrottlingException.prototype instanceof ACMServiceException); +assert(TooManyTagsException.prototype instanceof ACMServiceException); +assert(ValidationException.prototype instanceof ACMServiceException); assert(ACMServiceException.prototype instanceof Error); // waiters assert(typeof waitForCertificateValidated === "function"); diff --git a/clients/client-acm/test/index-types.ts b/clients/client-acm/test/index-types.ts index b59ac0f17bff..04eaeeb6710f 100644 --- a/clients/client-acm/test/index-types.ts +++ b/clients/client-acm/test/index-types.ts @@ -104,6 +104,22 @@ export type { RevokeCertificateResponse, Tag, UpdateCertificateOptionsRequest, + AccessDeniedException, + ConflictException, + InvalidArgsException, + InvalidArnException, + InvalidDomainValidationOptionsException, + InvalidParameterException, + InvalidStateException, + InvalidTagException, + LimitExceededException, + RequestInProgressException, + ResourceInUseException, + ResourceNotFoundException, + TagPolicyException, + ThrottlingException, + TooManyTagsException, + ValidationException, ACMServiceException, waitForCertificateValidated, waitUntilCertificateValidated, diff --git a/clients/client-aiops/test/index-objects.spec.mjs b/clients/client-aiops/test/index-objects.spec.mjs index 4cea1c2c29d8..aa58a9c772cd 100644 --- a/clients/client-aiops/test/index-objects.spec.mjs +++ b/clients/client-aiops/test/index-objects.spec.mjs @@ -2,18 +2,26 @@ import { AIOps, AIOpsClient, AIOpsServiceException, + AccessDeniedException, + ConflictException, CreateInvestigationGroupCommand, DeleteInvestigationGroupCommand, DeleteInvestigationGroupPolicyCommand, EncryptionConfigurationType, + ForbiddenException, GetInvestigationGroupCommand, GetInvestigationGroupPolicyCommand, + InternalServerException, ListInvestigationGroupsCommand, ListTagsForResourceCommand, PutInvestigationGroupPolicyCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateInvestigationGroupCommand, + ValidationException, paginateListInvestigationGroups, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -35,6 +43,14 @@ assert(typeof UpdateInvestigationGroupCommand === "function"); // enums assert(typeof EncryptionConfigurationType === "object"); // errors +assert(AccessDeniedException.prototype instanceof AIOpsServiceException); +assert(ConflictException.prototype instanceof AIOpsServiceException); +assert(ForbiddenException.prototype instanceof AIOpsServiceException); +assert(InternalServerException.prototype instanceof AIOpsServiceException); +assert(ResourceNotFoundException.prototype instanceof AIOpsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AIOpsServiceException); +assert(ThrottlingException.prototype instanceof AIOpsServiceException); +assert(ValidationException.prototype instanceof AIOpsServiceException); assert(AIOpsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListInvestigationGroups === "function"); diff --git a/clients/client-aiops/test/index-types.ts b/clients/client-aiops/test/index-types.ts index 3181d1d83afe..1d6481a156d0 100644 --- a/clients/client-aiops/test/index-types.ts +++ b/clients/client-aiops/test/index-types.ts @@ -60,6 +60,14 @@ export type { UntagResourceResponse, UpdateInvestigationGroupOutput, UpdateInvestigationGroupRequest, + AccessDeniedException, + ConflictException, + ForbiddenException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, AIOpsServiceException, paginateListInvestigationGroups, } from "../dist-types/index.d"; diff --git a/clients/client-amp/test/index-objects.spec.mjs b/clients/client-amp/test/index-objects.spec.mjs index f5d47ff21058..18a880fe2779 100644 --- a/clients/client-amp/test/index-objects.spec.mjs +++ b/clients/client-amp/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, AlertManagerDefinitionStatusCode, Amp, AmpClient, AmpServiceException, AnomalyDetectorStatusCode, + ConflictException, CreateAlertManagerDefinitionCommand, CreateAnomalyDetectorCommand, CreateLoggingConfigurationCommand, @@ -31,6 +33,7 @@ import { DescribeWorkspaceCommand, DescribeWorkspaceConfigurationCommand, GetDefaultScraperConfigurationCommand, + InternalServerException, ListAnomalyDetectorsCommand, ListRuleGroupsNamespacesCommand, ListScrapersCommand, @@ -42,11 +45,14 @@ import { PutResourcePolicyCommand, PutRuleGroupsNamespaceCommand, QueryLoggingConfigurationStatusCode, + ResourceNotFoundException, RuleGroupsNamespaceStatusCode, ScraperComponentType, ScraperLoggingConfigurationStatusCode, ScraperStatusCode, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateLoggingConfigurationCommand, UpdateQueryLoggingConfigurationCommand, @@ -54,6 +60,8 @@ import { UpdateScraperLoggingConfigurationCommand, UpdateWorkspaceAliasCommand, UpdateWorkspaceConfigurationCommand, + ValidationException, + ValidationExceptionReason, WorkspaceConfigurationStatusCode, WorkspacePolicyStatusCode, WorkspaceStatusCode, @@ -132,10 +140,18 @@ assert(typeof RuleGroupsNamespaceStatusCode === "object"); assert(typeof ScraperComponentType === "object"); assert(typeof ScraperLoggingConfigurationStatusCode === "object"); assert(typeof ScraperStatusCode === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof WorkspaceConfigurationStatusCode === "object"); assert(typeof WorkspacePolicyStatusCode === "object"); assert(typeof WorkspaceStatusCode === "object"); // errors +assert(AccessDeniedException.prototype instanceof AmpServiceException); +assert(ConflictException.prototype instanceof AmpServiceException); +assert(InternalServerException.prototype instanceof AmpServiceException); +assert(ResourceNotFoundException.prototype instanceof AmpServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AmpServiceException); +assert(ThrottlingException.prototype instanceof AmpServiceException); +assert(ValidationException.prototype instanceof AmpServiceException); assert(AmpServiceException.prototype instanceof Error); // waiters assert(typeof waitForAnomalyDetectorActive === "function"); diff --git a/clients/client-amp/test/index-types.ts b/clients/client-amp/test/index-types.ts index 800e9860faa3..ca44483ce671 100644 --- a/clients/client-amp/test/index-types.ts +++ b/clients/client-amp/test/index-types.ts @@ -142,6 +142,7 @@ export type { ScraperComponentType, ScraperLoggingConfigurationStatusCode, ScraperStatusCode, + ValidationExceptionReason, WorkspaceConfigurationStatusCode, WorkspacePolicyStatusCode, WorkspaceStatusCode, @@ -258,12 +259,20 @@ export type { UpdateWorkspaceAliasRequest, UpdateWorkspaceConfigurationRequest, UpdateWorkspaceConfigurationResponse, + ValidationExceptionField, VpcConfiguration, WorkspaceConfigurationDescription, WorkspaceConfigurationStatus, WorkspaceDescription, WorkspaceStatus, WorkspaceSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, AmpServiceException, waitForAnomalyDetectorActive, waitForAnomalyDetectorDeleted, diff --git a/clients/client-amplify/src/schemas/schemas_0.ts b/clients/client-amplify/src/schemas/schemas_0.ts index 2b2a471095ea..03e8567a3d94 100644 --- a/clients/client-amplify/src/schemas/schemas_0.ts +++ b/clients/client-amplify/src/schemas/schemas_0.ts @@ -1028,7 +1028,6 @@ export var Webhook: StaticStructureSchema = [ [_wA, _wI, _wU, _aI, _bN, _d, _cT, _uT], [0, 0, 0, 0, 0, 0, 4, 4], ]; -export var __Unit = "unit" as const; export var AmplifyServiceException: StaticErrorSchema = [-3, _sm, "AmplifyServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(AmplifyServiceException, __AmplifyServiceException); export var Apps: StaticListSchema = [1, n0, _Ap, 0, [() => App, 0]]; diff --git a/clients/client-amplify/test/index-objects.spec.mjs b/clients/client-amplify/test/index-objects.spec.mjs index e34cb5c2d2b8..5874ba05b358 100644 --- a/clients/client-amplify/test/index-objects.spec.mjs +++ b/clients/client-amplify/test/index-objects.spec.mjs @@ -2,6 +2,7 @@ import { Amplify, AmplifyClient, AmplifyServiceException, + BadRequestException, BuildComputeType, CacheConfigType, CertificateType, @@ -17,6 +18,7 @@ import { DeleteDomainAssociationCommand, DeleteJobCommand, DeleteWebhookCommand, + DependentServiceFailureException, DomainStatus, GenerateAccessLogsCommand, GetAppCommand, @@ -26,8 +28,10 @@ import { GetDomainAssociationCommand, GetJobCommand, GetWebhookCommand, + InternalFailureException, JobStatus, JobType, + LimitExceededException, ListAppsCommand, ListArtifactsCommand, ListBackendEnvironmentsCommand, @@ -36,14 +40,17 @@ import { ListJobsCommand, ListTagsForResourceCommand, ListWebhooksCommand, + NotFoundException, Platform, RepositoryCloneMethod, + ResourceNotFoundException, SourceUrlType, Stage, StartDeploymentCommand, StartJobCommand, StopJobCommand, TagResourceCommand, + UnauthorizedException, UntagResourceCommand, UpdateAppCommand, UpdateBranchCommand, @@ -112,6 +119,13 @@ assert(typeof Stage === "object"); assert(typeof UpdateStatus === "object"); assert(typeof WafStatus === "object"); // errors +assert(BadRequestException.prototype instanceof AmplifyServiceException); +assert(DependentServiceFailureException.prototype instanceof AmplifyServiceException); +assert(InternalFailureException.prototype instanceof AmplifyServiceException); +assert(LimitExceededException.prototype instanceof AmplifyServiceException); +assert(NotFoundException.prototype instanceof AmplifyServiceException); +assert(ResourceNotFoundException.prototype instanceof AmplifyServiceException); +assert(UnauthorizedException.prototype instanceof AmplifyServiceException); assert(AmplifyServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApps === "function"); diff --git a/clients/client-amplify/test/index-types.ts b/clients/client-amplify/test/index-types.ts index 2e2e5ec97a04..c9525c63a53c 100644 --- a/clients/client-amplify/test/index-types.ts +++ b/clients/client-amplify/test/index-types.ts @@ -219,6 +219,13 @@ export type { UpdateWebhookResult, WafConfiguration, Webhook, + BadRequestException, + DependentServiceFailureException, + InternalFailureException, + LimitExceededException, + NotFoundException, + ResourceNotFoundException, + UnauthorizedException, AmplifyServiceException, paginateListApps, paginateListBranches, diff --git a/clients/client-amplifybackend/src/schemas/schemas_0.ts b/clients/client-amplifybackend/src/schemas/schemas_0.ts index a4bd526f028b..9478878a1b4f 100644 --- a/clients/client-amplifybackend/src/schemas/schemas_0.ts +++ b/clients/client-amplifybackend/src/schemas/schemas_0.ts @@ -1537,7 +1537,6 @@ export var UpdateBackendStorageResponse: StaticStructureSchema = [ [0, { [_jN]: _st }], ], ]; -export var __Unit = "unit" as const; export var AmplifyBackendServiceException: StaticErrorSchema = [-3, _sm, "AmplifyBackendServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(AmplifyBackendServiceException, __AmplifyBackendServiceException); export var ListOf__string = 64 | 0; diff --git a/clients/client-amplifybackend/test/index-objects.spec.mjs b/clients/client-amplifybackend/test/index-objects.spec.mjs index 308c5cb53edf..f01772ea48cb 100644 --- a/clients/client-amplifybackend/test/index-objects.spec.mjs +++ b/clients/client-amplifybackend/test/index-objects.spec.mjs @@ -5,6 +5,7 @@ import { AmplifyBackendServiceException, AuthResources, AuthenticatedElement, + BadRequestException, CloneBackendCommand, CreateBackendAPICommand, CreateBackendAuthCommand, @@ -18,6 +19,7 @@ import { DeleteBackendStorageCommand, DeleteTokenCommand, DeliveryMethod, + GatewayTimeoutException, GenerateBackendAPIModelsCommand, GetBackendAPICommand, GetBackendAPIModelsCommand, @@ -33,6 +35,7 @@ import { MFAMode, MfaTypesElement, Mode, + NotFoundException, OAuthGrantType, OAuthScopesElement, RemoveAllBackendsCommand, @@ -43,6 +46,7 @@ import { ServiceName, SignInMethod, Status, + TooManyRequestsException, UnAuthenticatedElement, UpdateBackendAPICommand, UpdateBackendAuthCommand, @@ -104,5 +108,9 @@ assert(typeof SignInMethod === "object"); assert(typeof Status === "object"); assert(typeof UnAuthenticatedElement === "object"); // errors +assert(BadRequestException.prototype instanceof AmplifyBackendServiceException); +assert(GatewayTimeoutException.prototype instanceof AmplifyBackendServiceException); +assert(NotFoundException.prototype instanceof AmplifyBackendServiceException); +assert(TooManyRequestsException.prototype instanceof AmplifyBackendServiceException); assert(AmplifyBackendServiceException.prototype instanceof Error); console.log(`AmplifyBackend index test passed.`); diff --git a/clients/client-amplifybackend/test/index-types.ts b/clients/client-amplifybackend/test/index-types.ts index 1561eb342e77..8c408dd43d6b 100644 --- a/clients/client-amplifybackend/test/index-types.ts +++ b/clients/client-amplifybackend/test/index-types.ts @@ -207,5 +207,9 @@ export type { UpdateBackendStorageRequest, UpdateBackendStorageResourceConfig, UpdateBackendStorageResponse, + BadRequestException, + GatewayTimeoutException, + NotFoundException, + TooManyRequestsException, AmplifyBackendServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-amplifyuibuilder/test/index-objects.spec.mjs b/clients/client-amplifyuibuilder/test/index-objects.spec.mjs index 4274df461e80..ddb5174353c6 100644 --- a/clients/client-amplifyuibuilder/test/index-objects.spec.mjs +++ b/clients/client-amplifyuibuilder/test/index-objects.spec.mjs @@ -25,6 +25,8 @@ import { GetFormCommand, GetMetadataCommand, GetThemeCommand, + InternalServerException, + InvalidParameterException, JSModule, JSScript, JSTarget, @@ -36,11 +38,16 @@ import { ListThemesCommand, PutMetadataFlagCommand, RefreshTokenCommand, + ResourceConflictException, + ResourceNotFoundException, + ServiceQuotaExceededException, SortDirection, StartCodegenJobCommand, StorageAccessLevel, TagResourceCommand, + ThrottlingException, TokenProviders, + UnauthorizedException, UntagResourceCommand, UpdateComponentCommand, UpdateFormCommand, @@ -103,6 +110,13 @@ assert(typeof SortDirection === "object"); assert(typeof StorageAccessLevel === "object"); assert(typeof TokenProviders === "object"); // errors +assert(InternalServerException.prototype instanceof AmplifyUIBuilderServiceException); +assert(InvalidParameterException.prototype instanceof AmplifyUIBuilderServiceException); +assert(ResourceConflictException.prototype instanceof AmplifyUIBuilderServiceException); +assert(ResourceNotFoundException.prototype instanceof AmplifyUIBuilderServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AmplifyUIBuilderServiceException); +assert(ThrottlingException.prototype instanceof AmplifyUIBuilderServiceException); +assert(UnauthorizedException.prototype instanceof AmplifyUIBuilderServiceException); assert(AmplifyUIBuilderServiceException.prototype instanceof Error); // paginators assert(typeof paginateExportComponents === "function"); diff --git a/clients/client-amplifyuibuilder/test/index-types.ts b/clients/client-amplifyuibuilder/test/index-types.ts index 75f931abdb0c..ed365d501319 100644 --- a/clients/client-amplifyuibuilder/test/index-types.ts +++ b/clients/client-amplifyuibuilder/test/index-types.ts @@ -219,6 +219,13 @@ export type { UpdateThemeResponse, ValueMapping, ValueMappings, + InternalServerException, + InvalidParameterException, + ResourceConflictException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UnauthorizedException, AmplifyUIBuilderServiceException, paginateExportComponents, paginateExportForms, diff --git a/clients/client-api-gateway/test/index-objects.spec.mjs b/clients/client-api-gateway/test/index-objects.spec.mjs index e9ef684d88e6..d7b298b56842 100644 --- a/clients/client-api-gateway/test/index-objects.spec.mjs +++ b/clients/client-api-gateway/test/index-objects.spec.mjs @@ -7,8 +7,10 @@ import { ApiKeysFormat, ApiStatus, AuthorizerType, + BadRequestException, CacheClusterSize, CacheClusterStatus, + ConflictException, ConnectionType, ContentHandlingStrategy, CreateApiKeyCommand, @@ -109,7 +111,9 @@ import { ImportRestApiCommand, IntegrationType, IpAddressType, + LimitExceededException, LocationStatusType, + NotFoundException, Op, PutGatewayResponseCommand, PutIntegrationCommand, @@ -124,10 +128,13 @@ import { ResponseTransferMode, RoutingMode, SecurityPolicy, + ServiceUnavailableException, TagResourceCommand, TestInvokeAuthorizerCommand, TestInvokeMethodCommand, + TooManyRequestsException, UnauthorizedCacheControlHeaderStrategy, + UnauthorizedException, UntagResourceCommand, UpdateAccountCommand, UpdateApiKeyCommand, @@ -322,6 +329,13 @@ assert(typeof SecurityPolicy === "object"); assert(typeof UnauthorizedCacheControlHeaderStrategy === "object"); assert(typeof VpcLinkStatus === "object"); // errors +assert(BadRequestException.prototype instanceof APIGatewayServiceException); +assert(ConflictException.prototype instanceof APIGatewayServiceException); +assert(LimitExceededException.prototype instanceof APIGatewayServiceException); +assert(NotFoundException.prototype instanceof APIGatewayServiceException); +assert(ServiceUnavailableException.prototype instanceof APIGatewayServiceException); +assert(TooManyRequestsException.prototype instanceof APIGatewayServiceException); +assert(UnauthorizedException.prototype instanceof APIGatewayServiceException); assert(APIGatewayServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetApiKeys === "function"); diff --git a/clients/client-api-gateway/test/index-types.ts b/clients/client-api-gateway/test/index-types.ts index 2b2a5db65e56..d717010d21f8 100644 --- a/clients/client-api-gateway/test/index-types.ts +++ b/clients/client-api-gateway/test/index-types.ts @@ -592,6 +592,13 @@ export type { UsagePlans, VpcLink, VpcLinks, + BadRequestException, + ConflictException, + LimitExceededException, + NotFoundException, + ServiceUnavailableException, + TooManyRequestsException, + UnauthorizedException, APIGatewayServiceException, paginateGetApiKeys, paginateGetBasePathMappings, diff --git a/clients/client-apigatewaymanagementapi/test/index-objects.spec.mjs b/clients/client-apigatewaymanagementapi/test/index-objects.spec.mjs index 3dde1f522b8b..37c64d2c23fc 100644 --- a/clients/client-apigatewaymanagementapi/test/index-objects.spec.mjs +++ b/clients/client-apigatewaymanagementapi/test/index-objects.spec.mjs @@ -3,7 +3,11 @@ import { ApiGatewayManagementApiClient, ApiGatewayManagementApiServiceException, DeleteConnectionCommand, + ForbiddenException, GetConnectionCommand, + GoneException, + LimitExceededException, + PayloadTooLargeException, PostToConnectionCommand, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -15,5 +19,9 @@ assert(typeof DeleteConnectionCommand === "function"); assert(typeof GetConnectionCommand === "function"); assert(typeof PostToConnectionCommand === "function"); // errors +assert(ForbiddenException.prototype instanceof ApiGatewayManagementApiServiceException); +assert(GoneException.prototype instanceof ApiGatewayManagementApiServiceException); +assert(LimitExceededException.prototype instanceof ApiGatewayManagementApiServiceException); +assert(PayloadTooLargeException.prototype instanceof ApiGatewayManagementApiServiceException); assert(ApiGatewayManagementApiServiceException.prototype instanceof Error); console.log(`ApiGatewayManagementApi index test passed.`); diff --git a/clients/client-apigatewaymanagementapi/test/index-types.ts b/clients/client-apigatewaymanagementapi/test/index-types.ts index 3f3fc362acb9..981a6554681f 100644 --- a/clients/client-apigatewaymanagementapi/test/index-types.ts +++ b/clients/client-apigatewaymanagementapi/test/index-types.ts @@ -16,5 +16,9 @@ export type { GetConnectionResponse, Identity, PostToConnectionRequest, + ForbiddenException, + GoneException, + LimitExceededException, + PayloadTooLargeException, ApiGatewayManagementApiServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-apigatewayv2/test/index-objects.spec.mjs b/clients/client-apigatewayv2/test/index-objects.spec.mjs index 2eae68e71ada..b2c947d05183 100644 --- a/clients/client-apigatewayv2/test/index-objects.spec.mjs +++ b/clients/client-apigatewayv2/test/index-objects.spec.mjs @@ -1,9 +1,12 @@ import { + AccessDeniedException, ApiGatewayV2, ApiGatewayV2Client, ApiGatewayV2ServiceException, AuthorizationType, AuthorizerType, + BadRequestException, + ConflictException, ConnectionType, ContentHandlingStrategy, CreateApiCommand, @@ -91,6 +94,7 @@ import { ListProductRestEndpointPagesCommand, ListRoutingRulesCommand, LoggingLevel, + NotFoundException, PassthroughBehavior, PreviewPortalCommand, PreviewStatus, @@ -105,6 +109,7 @@ import { SecurityPolicy, Status, TagResourceCommand, + TooManyRequestsException, TryItState, UntagResourceCommand, UpdateApiCommand, @@ -257,6 +262,11 @@ assert(typeof TryItState === "object"); assert(typeof VpcLinkStatus === "object"); assert(typeof VpcLinkVersion === "object"); // errors +assert(AccessDeniedException.prototype instanceof ApiGatewayV2ServiceException); +assert(BadRequestException.prototype instanceof ApiGatewayV2ServiceException); +assert(ConflictException.prototype instanceof ApiGatewayV2ServiceException); +assert(NotFoundException.prototype instanceof ApiGatewayV2ServiceException); +assert(TooManyRequestsException.prototype instanceof ApiGatewayV2ServiceException); assert(ApiGatewayV2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateListRoutingRules === "function"); diff --git a/clients/client-apigatewayv2/test/index-types.ts b/clients/client-apigatewayv2/test/index-types.ts index 44a01c2de423..f59bb834b341 100644 --- a/clients/client-apigatewayv2/test/index-types.ts +++ b/clients/client-apigatewayv2/test/index-types.ts @@ -565,6 +565,11 @@ export type { UpdateVpcLinkRequest, UpdateVpcLinkResponse, VpcLink, + AccessDeniedException, + BadRequestException, + ConflictException, + NotFoundException, + TooManyRequestsException, ApiGatewayV2ServiceException, paginateListRoutingRules, } from "../dist-types/index.d"; diff --git a/clients/client-app-mesh/test/index-objects.spec.mjs b/clients/client-app-mesh/test/index-objects.spec.mjs index e131aad1d604..c95756f4c5bc 100644 --- a/clients/client-app-mesh/test/index-objects.spec.mjs +++ b/clients/client-app-mesh/test/index-objects.spec.mjs @@ -2,6 +2,8 @@ import { AppMesh, AppMeshClient, AppMeshServiceException, + BadRequestException, + ConflictException, CreateGatewayRouteCommand, CreateMeshCommand, CreateRouteCommand, @@ -27,11 +29,14 @@ import { DnsResponseType, DurationUnit, EgressFilterType, + ForbiddenException, GatewayRouteStatusCode, GrpcRetryPolicyEvent, HttpMethod, HttpScheme, + InternalServerErrorException, IpPreference, + LimitExceededException, ListGatewayRoutesCommand, ListMeshesCommand, ListRoutesCommand, @@ -42,10 +47,15 @@ import { ListVirtualServicesCommand, ListenerTlsMode, MeshStatusCode, + NotFoundException, PortProtocol, + ResourceInUseException, RouteStatusCode, + ServiceUnavailableException, TagResourceCommand, TcpRetryPolicyEvent, + TooManyRequestsException, + TooManyTagsException, UntagResourceCommand, UpdateGatewayRouteCommand, UpdateMeshCommand, @@ -134,6 +144,16 @@ assert(typeof VirtualNodeStatusCode === "object"); assert(typeof VirtualRouterStatusCode === "object"); assert(typeof VirtualServiceStatusCode === "object"); // errors +assert(BadRequestException.prototype instanceof AppMeshServiceException); +assert(ConflictException.prototype instanceof AppMeshServiceException); +assert(ForbiddenException.prototype instanceof AppMeshServiceException); +assert(InternalServerErrorException.prototype instanceof AppMeshServiceException); +assert(LimitExceededException.prototype instanceof AppMeshServiceException); +assert(NotFoundException.prototype instanceof AppMeshServiceException); +assert(ResourceInUseException.prototype instanceof AppMeshServiceException); +assert(ServiceUnavailableException.prototype instanceof AppMeshServiceException); +assert(TooManyRequestsException.prototype instanceof AppMeshServiceException); +assert(TooManyTagsException.prototype instanceof AppMeshServiceException); assert(AppMeshServiceException.prototype instanceof Error); // paginators assert(typeof paginateListGatewayRoutes === "function"); diff --git a/clients/client-app-mesh/test/index-types.ts b/clients/client-app-mesh/test/index-types.ts index 72070dcb86b9..ef4862783ab1 100644 --- a/clients/client-app-mesh/test/index-types.ts +++ b/clients/client-app-mesh/test/index-types.ts @@ -354,6 +354,16 @@ export type { VirtualServiceSpec, VirtualServiceStatus, WeightedTarget, + BadRequestException, + ConflictException, + ForbiddenException, + InternalServerErrorException, + LimitExceededException, + NotFoundException, + ResourceInUseException, + ServiceUnavailableException, + TooManyRequestsException, + TooManyTagsException, AppMeshServiceException, paginateListGatewayRoutes, paginateListMeshes, diff --git a/clients/client-appconfig/test/index-objects.spec.mjs b/clients/client-appconfig/test/index-objects.spec.mjs index a94c5c4251f7..d1e6d0de57e8 100644 --- a/clients/client-appconfig/test/index-objects.spec.mjs +++ b/clients/client-appconfig/test/index-objects.spec.mjs @@ -3,6 +3,10 @@ import { AppConfig, AppConfigClient, AppConfigServiceException, + BadRequestException, + BadRequestReason, + BytesMeasure, + ConflictException, CreateApplicationCommand, CreateConfigurationProfileCommand, CreateDeploymentStrategyCommand, @@ -32,6 +36,7 @@ import { GetExtensionCommand, GetHostedConfigurationVersionCommand, GrowthType, + InternalServerException, ListApplicationsCommand, ListConfigurationProfilesCommand, ListDeploymentStrategiesCommand, @@ -41,7 +46,10 @@ import { ListExtensionsCommand, ListHostedConfigurationVersionsCommand, ListTagsForResourceCommand, + PayloadTooLargeException, ReplicateTo, + ResourceNotFoundException, + ServiceQuotaExceededException, StartDeploymentCommand, StopDeploymentCommand, TagResourceCommand, @@ -121,6 +129,8 @@ assert(typeof UpdateExtensionAssociationCommand === "function"); assert(typeof ValidateConfigurationCommand === "function"); // enums assert(typeof ActionPoint === "object"); +assert(typeof BadRequestReason === "object"); +assert(typeof BytesMeasure === "object"); assert(typeof DeletionProtectionCheck === "object"); assert(typeof DeploymentEventType === "object"); assert(typeof DeploymentState === "object"); @@ -130,6 +140,12 @@ assert(typeof ReplicateTo === "object"); assert(typeof TriggeredBy === "object"); assert(typeof ValidatorType === "object"); // errors +assert(BadRequestException.prototype instanceof AppConfigServiceException); +assert(ConflictException.prototype instanceof AppConfigServiceException); +assert(InternalServerException.prototype instanceof AppConfigServiceException); +assert(PayloadTooLargeException.prototype instanceof AppConfigServiceException); +assert(ResourceNotFoundException.prototype instanceof AppConfigServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AppConfigServiceException); assert(AppConfigServiceException.prototype instanceof Error); // waiters assert(typeof waitForDeploymentComplete === "function"); diff --git a/clients/client-appconfig/test/index-types.ts b/clients/client-appconfig/test/index-types.ts index af01a0a669d5..5f6cfea36822 100644 --- a/clients/client-appconfig/test/index-types.ts +++ b/clients/client-appconfig/test/index-types.ts @@ -138,6 +138,8 @@ export type { ValidateConfigurationCommandInput, ValidateConfigurationCommandOutput, ActionPoint, + BadRequestReason, + BytesMeasure, DeletionProtectionCheck, DeploymentEventType, DeploymentState, @@ -152,6 +154,7 @@ export type { Application, Applications, AppliedExtension, + BadRequestDetails, Configuration, ConfigurationProfile, ConfigurationProfiles, @@ -197,6 +200,7 @@ export type { HostedConfigurationVersion, HostedConfigurationVersions, HostedConfigurationVersionSummary, + InvalidConfigurationDetail, ListApplicationsRequest, ListConfigurationProfilesRequest, ListDeploymentsRequest, @@ -222,6 +226,12 @@ export type { UpdateExtensionRequest, ValidateConfigurationRequest, Validator, + BadRequestException, + ConflictException, + InternalServerException, + PayloadTooLargeException, + ResourceNotFoundException, + ServiceQuotaExceededException, AppConfigServiceException, waitForDeploymentComplete, waitForEnvironmentReadyForDeployment, diff --git a/clients/client-appconfigdata/test/index-objects.spec.mjs b/clients/client-appconfigdata/test/index-objects.spec.mjs index 7f3007f36888..75a83737023b 100644 --- a/clients/client-appconfigdata/test/index-objects.spec.mjs +++ b/clients/client-appconfigdata/test/index-objects.spec.mjs @@ -2,8 +2,15 @@ import { AppConfigData, AppConfigDataClient, AppConfigDataServiceException, + BadRequestException, + BadRequestReason, GetLatestConfigurationCommand, + InternalServerException, + InvalidParameterProblem, + ResourceNotFoundException, + ResourceType, StartConfigurationSessionCommand, + ThrottlingException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -12,6 +19,14 @@ assert(typeof AppConfigData === "function"); // commands assert(typeof GetLatestConfigurationCommand === "function"); assert(typeof StartConfigurationSessionCommand === "function"); +// enums +assert(typeof BadRequestReason === "object"); +assert(typeof InvalidParameterProblem === "object"); +assert(typeof ResourceType === "object"); // errors +assert(BadRequestException.prototype instanceof AppConfigDataServiceException); +assert(InternalServerException.prototype instanceof AppConfigDataServiceException); +assert(ResourceNotFoundException.prototype instanceof AppConfigDataServiceException); +assert(ThrottlingException.prototype instanceof AppConfigDataServiceException); assert(AppConfigDataServiceException.prototype instanceof Error); console.log(`AppConfigData index test passed.`); diff --git a/clients/client-appconfigdata/test/index-types.ts b/clients/client-appconfigdata/test/index-types.ts index 9db2dd64e8c4..9f45bafd6258 100644 --- a/clients/client-appconfigdata/test/index-types.ts +++ b/clients/client-appconfigdata/test/index-types.ts @@ -8,9 +8,18 @@ export type { StartConfigurationSessionCommand, StartConfigurationSessionCommandInput, StartConfigurationSessionCommandOutput, + BadRequestReason, + InvalidParameterProblem, + ResourceType, + BadRequestDetails, GetLatestConfigurationRequest, GetLatestConfigurationResponse, + InvalidParameterDetail, StartConfigurationSessionRequest, StartConfigurationSessionResponse, + BadRequestException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, AppConfigDataServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-appfabric/src/schemas/schemas_0.ts b/clients/client-appfabric/src/schemas/schemas_0.ts index ceeaef383b03..fd0980b43bed 100644 --- a/clients/client-appfabric/src/schemas/schemas_0.ts +++ b/clients/client-appfabric/src/schemas/schemas_0.ts @@ -666,7 +666,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var AppFabricServiceException: StaticErrorSchema = [-3, _sm, "AppFabricServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(AppFabricServiceException, __AppFabricServiceException); export var AppAuthorizationSummaryList: StaticListSchema = [1, n0, _AASL, 0, () => AppAuthorizationSummary]; diff --git a/clients/client-appfabric/test/index-objects.spec.mjs b/clients/client-appfabric/test/index-objects.spec.mjs index b1223b58f707..1050b78ca002 100644 --- a/clients/client-appfabric/test/index-objects.spec.mjs +++ b/clients/client-appfabric/test/index-objects.spec.mjs @@ -1,10 +1,12 @@ import { + AccessDeniedException, AppAuthorizationStatus, AppFabric, AppFabricClient, AppFabricServiceException, AuthType, BatchGetUserAccessTasksCommand, + ConflictException, ConnectAppAuthorizationCommand, CreateAppAuthorizationCommand, CreateAppBundleCommand, @@ -22,21 +24,27 @@ import { IngestionDestinationStatus, IngestionState, IngestionType, + InternalServerException, ListAppAuthorizationsCommand, ListAppBundlesCommand, ListIngestionDestinationsCommand, ListIngestionsCommand, ListTagsForResourceCommand, Persona, + ResourceNotFoundException, ResultStatus, Schema, + ServiceQuotaExceededException, StartIngestionCommand, StartUserAccessTasksCommand, StopIngestionCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateAppAuthorizationCommand, UpdateIngestionDestinationCommand, + ValidationException, + ValidationExceptionReason, paginateListAppAuthorizations, paginateListAppBundles, paginateListIngestionDestinations, @@ -83,7 +91,15 @@ assert(typeof IngestionType === "object"); assert(typeof Persona === "object"); assert(typeof ResultStatus === "object"); assert(typeof Schema === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof AppFabricServiceException); +assert(ConflictException.prototype instanceof AppFabricServiceException); +assert(InternalServerException.prototype instanceof AppFabricServiceException); +assert(ResourceNotFoundException.prototype instanceof AppFabricServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AppFabricServiceException); +assert(ThrottlingException.prototype instanceof AppFabricServiceException); +assert(ValidationException.prototype instanceof AppFabricServiceException); assert(AppFabricServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAppAuthorizations === "function"); diff --git a/clients/client-appfabric/test/index-types.ts b/clients/client-appfabric/test/index-types.ts index 7b71f9e63b35..846077f47314 100644 --- a/clients/client-appfabric/test/index-types.ts +++ b/clients/client-appfabric/test/index-types.ts @@ -89,6 +89,7 @@ export type { Persona, ResultStatus, Schema, + ValidationExceptionReason, ApiKeyCredential, AppAuthorization, AppAuthorizationSummary, @@ -165,6 +166,14 @@ export type { UpdateIngestionDestinationResponse, UserAccessResultItem, UserAccessTaskItem, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, AppFabricServiceException, paginateListAppAuthorizations, paginateListAppBundles, diff --git a/clients/client-appflow/src/schemas/schemas_0.ts b/clients/client-appflow/src/schemas/schemas_0.ts index f4d02a486979..e314ded6ac02 100644 --- a/clients/client-appflow/src/schemas/schemas_0.ts +++ b/clients/client-appflow/src/schemas/schemas_0.ts @@ -1663,7 +1663,6 @@ export var ZendeskDestinationProperties: StaticStructureSchema = [ ]; export var ZendeskMetadata: StaticStructureSchema = [3, n0, _ZM, 0, [_oAS], [64 | 0]]; export var ZendeskSourceProperties: StaticStructureSchema = [3, n0, _ZSP, 0, [_o], [0]]; -export var __Unit = "unit" as const; export var AppflowServiceException: StaticErrorSchema = [-3, _sm, "AppflowServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(AppflowServiceException, __AppflowServiceException); export var AuthCodeUrlList = 64 | 0; diff --git a/clients/client-appflow/test/index-objects.spec.mjs b/clients/client-appflow/test/index-objects.spec.mjs index 3e33c03d69a7..3dd7f5bae449 100644 --- a/clients/client-appflow/test/index-objects.spec.mjs +++ b/clients/client-appflow/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AggregationType, AmplitudeConnectorOperator, Appflow, @@ -7,8 +8,11 @@ import { AuthenticationType, CancelFlowExecutionsCommand, CatalogType, + ConflictException, ConnectionMode, + ConnectorAuthenticationException, ConnectorProvisioningType, + ConnectorServerException, ConnectorType, CreateConnectorProfileCommand, CreateFlowCommand, @@ -29,6 +33,7 @@ import { FlowStatus, GoogleAnalyticsConnectorOperator, InforNexusConnectorOperator, + InternalServerException, ListConnectorEntitiesCommand, ListConnectorsCommand, ListFlowsCommand, @@ -47,6 +52,7 @@ import { PrivateConnectionProvisioningStatus, RegisterConnectorCommand, ResetConnectorMetadataCacheCommand, + ResourceNotFoundException, S3ConnectorOperator, S3InputFileType, SAPODataConnectorOperator, @@ -54,6 +60,7 @@ import { SalesforceDataTransferApi, ScheduleFrequencyType, ServiceNowConnectorOperator, + ServiceQuotaExceededException, SingularConnectorOperator, SlackConnectorOperator, StartFlowCommand, @@ -61,13 +68,16 @@ import { SupportedDataTransferType, TagResourceCommand, TaskType, + ThrottlingException, TrendmicroConnectorOperator, TriggerType, UnregisterConnectorCommand, + UnsupportedOperationException, UntagResourceCommand, UpdateConnectorProfileCommand, UpdateConnectorRegistrationCommand, UpdateFlowCommand, + ValidationException, VeevaConnectorOperator, WriteOperationType, ZendeskConnectorOperator, @@ -153,6 +163,16 @@ assert(typeof VeevaConnectorOperator === "object"); assert(typeof WriteOperationType === "object"); assert(typeof ZendeskConnectorOperator === "object"); // errors +assert(AccessDeniedException.prototype instanceof AppflowServiceException); +assert(ConflictException.prototype instanceof AppflowServiceException); +assert(ConnectorAuthenticationException.prototype instanceof AppflowServiceException); +assert(ConnectorServerException.prototype instanceof AppflowServiceException); +assert(InternalServerException.prototype instanceof AppflowServiceException); +assert(ResourceNotFoundException.prototype instanceof AppflowServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AppflowServiceException); +assert(ThrottlingException.prototype instanceof AppflowServiceException); +assert(UnsupportedOperationException.prototype instanceof AppflowServiceException); +assert(ValidationException.prototype instanceof AppflowServiceException); assert(AppflowServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeConnectorProfiles === "function"); diff --git a/clients/client-appflow/test/index-types.ts b/clients/client-appflow/test/index-types.ts index d651ce3955aa..4245a829b440 100644 --- a/clients/client-appflow/test/index-types.ts +++ b/clients/client-appflow/test/index-types.ts @@ -321,6 +321,16 @@ export type { ZendeskDestinationProperties, ZendeskMetadata, ZendeskSourceProperties, + AccessDeniedException, + ConflictException, + ConnectorAuthenticationException, + ConnectorServerException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UnsupportedOperationException, + ValidationException, AppflowServiceException, paginateDescribeConnectorProfiles, paginateDescribeConnectors, diff --git a/clients/client-appintegrations/src/schemas/schemas_0.ts b/clients/client-appintegrations/src/schemas/schemas_0.ts index 0ce657ad0aa3..1daa89319ef0 100644 --- a/clients/client-appintegrations/src/schemas/schemas_0.ts +++ b/clients/client-appintegrations/src/schemas/schemas_0.ts @@ -579,7 +579,6 @@ export var UpdateDataIntegrationRequest: StaticStructureSchema = [3, n0, _UDIR, export var UpdateDataIntegrationResponse: StaticStructureSchema = [3, n0, _UDIRp, 0, [], []]; export var UpdateEventIntegrationRequest: StaticStructureSchema = [3, n0, _UEIR, 0, [_N, _D], [[0, 1], 0]]; export var UpdateEventIntegrationResponse: StaticStructureSchema = [3, n0, _UEIRp, 0, [], []]; -export var __Unit = "unit" as const; export var AppIntegrationsServiceException: StaticErrorSchema = [-3, _sm, "AppIntegrationsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(AppIntegrationsServiceException, __AppIntegrationsServiceException); export var ApplicationApprovedOrigins = 64 | 0; diff --git a/clients/client-appintegrations/test/index-objects.spec.mjs b/clients/client-appintegrations/test/index-objects.spec.mjs index 504f6f49f7dc..354440d9a06d 100644 --- a/clients/client-appintegrations/test/index-objects.spec.mjs +++ b/clients/client-appintegrations/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AppIntegrations, AppIntegrationsClient, AppIntegrationsServiceException, @@ -11,11 +12,14 @@ import { DeleteApplicationCommand, DeleteDataIntegrationCommand, DeleteEventIntegrationCommand, + DuplicateResourceException, ExecutionMode, ExecutionStatus, GetApplicationCommand, GetDataIntegrationCommand, GetEventIntegrationCommand, + InternalServiceError, + InvalidRequestException, ListApplicationAssociationsCommand, ListApplicationsCommand, ListDataIntegrationAssociationsCommand, @@ -23,7 +27,11 @@ import { ListEventIntegrationAssociationsCommand, ListEventIntegrationsCommand, ListTagsForResourceCommand, + ResourceNotFoundException, + ResourceQuotaExceededException, TagResourceCommand, + ThrottlingException, + UnsupportedOperationException, UntagResourceCommand, UpdateApplicationCommand, UpdateDataIntegrationAssociationCommand, @@ -70,6 +78,14 @@ assert(typeof ContactHandlingScope === "object"); assert(typeof ExecutionMode === "object"); assert(typeof ExecutionStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof AppIntegrationsServiceException); +assert(DuplicateResourceException.prototype instanceof AppIntegrationsServiceException); +assert(InternalServiceError.prototype instanceof AppIntegrationsServiceException); +assert(InvalidRequestException.prototype instanceof AppIntegrationsServiceException); +assert(ResourceNotFoundException.prototype instanceof AppIntegrationsServiceException); +assert(ResourceQuotaExceededException.prototype instanceof AppIntegrationsServiceException); +assert(ThrottlingException.prototype instanceof AppIntegrationsServiceException); +assert(UnsupportedOperationException.prototype instanceof AppIntegrationsServiceException); assert(AppIntegrationsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplicationAssociations === "function"); diff --git a/clients/client-appintegrations/test/index-types.ts b/clients/client-appintegrations/test/index-types.ts index c3be28e34bcf..a95486a8f988 100644 --- a/clients/client-appintegrations/test/index-types.ts +++ b/clients/client-appintegrations/test/index-types.ts @@ -140,6 +140,14 @@ export type { UpdateDataIntegrationResponse, UpdateEventIntegrationRequest, UpdateEventIntegrationResponse, + AccessDeniedException, + DuplicateResourceException, + InternalServiceError, + InvalidRequestException, + ResourceNotFoundException, + ResourceQuotaExceededException, + ThrottlingException, + UnsupportedOperationException, AppIntegrationsServiceException, paginateListApplicationAssociations, paginateListApplications, diff --git a/clients/client-application-auto-scaling/src/schemas/schemas_0.ts b/clients/client-application-auto-scaling/src/schemas/schemas_0.ts index 2e451b4e465a..853367499a3c 100644 --- a/clients/client-application-auto-scaling/src/schemas/schemas_0.ts +++ b/clients/client-application-auto-scaling/src/schemas/schemas_0.ts @@ -596,7 +596,6 @@ export var ValidationException: StaticErrorSchema = [ [0], ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var ApplicationAutoScalingServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-application-auto-scaling/test/index-objects.spec.mjs b/clients/client-application-auto-scaling/test/index-objects.spec.mjs index 94ddbb3a9988..9dd5b3c90b96 100644 --- a/clients/client-application-auto-scaling/test/index-objects.spec.mjs +++ b/clients/client-application-auto-scaling/test/index-objects.spec.mjs @@ -3,6 +3,7 @@ import { ApplicationAutoScaling, ApplicationAutoScalingClient, ApplicationAutoScalingServiceException, + ConcurrentUpdateException, DeleteScalingPolicyCommand, DeleteScheduledActionCommand, DeregisterScalableTargetCommand, @@ -10,22 +11,30 @@ import { DescribeScalingActivitiesCommand, DescribeScalingPoliciesCommand, DescribeScheduledActionsCommand, + FailedResourceAccessException, GetPredictiveScalingForecastCommand, + InternalServiceException, + InvalidNextTokenException, + LimitExceededException, ListTagsForResourceCommand, MetricAggregationType, MetricStatistic, MetricType, + ObjectNotFoundException, PolicyType, PredictiveScalingMaxCapacityBreachBehavior, PredictiveScalingMode, PutScalingPolicyCommand, PutScheduledActionCommand, RegisterScalableTargetCommand, + ResourceNotFoundException, ScalableDimension, ScalingActivityStatusCode, ServiceNamespace, TagResourceCommand, + TooManyTagsException, UntagResourceCommand, + ValidationException, paginateDescribeScalableTargets, paginateDescribeScalingActivities, paginateDescribeScalingPolicies, @@ -62,6 +71,15 @@ assert(typeof ScalableDimension === "object"); assert(typeof ScalingActivityStatusCode === "object"); assert(typeof ServiceNamespace === "object"); // errors +assert(ConcurrentUpdateException.prototype instanceof ApplicationAutoScalingServiceException); +assert(FailedResourceAccessException.prototype instanceof ApplicationAutoScalingServiceException); +assert(InternalServiceException.prototype instanceof ApplicationAutoScalingServiceException); +assert(InvalidNextTokenException.prototype instanceof ApplicationAutoScalingServiceException); +assert(LimitExceededException.prototype instanceof ApplicationAutoScalingServiceException); +assert(ObjectNotFoundException.prototype instanceof ApplicationAutoScalingServiceException); +assert(ResourceNotFoundException.prototype instanceof ApplicationAutoScalingServiceException); +assert(TooManyTagsException.prototype instanceof ApplicationAutoScalingServiceException); +assert(ValidationException.prototype instanceof ApplicationAutoScalingServiceException); assert(ApplicationAutoScalingServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeScalableTargets === "function"); diff --git a/clients/client-application-auto-scaling/test/index-types.ts b/clients/client-application-auto-scaling/test/index-types.ts index 241765c96911..b1c0ffa9716a 100644 --- a/clients/client-application-auto-scaling/test/index-types.ts +++ b/clients/client-application-auto-scaling/test/index-types.ts @@ -112,6 +112,15 @@ export type { TargetTrackingScalingPolicyConfiguration, UntagResourceRequest, UntagResourceResponse, + ConcurrentUpdateException, + FailedResourceAccessException, + InternalServiceException, + InvalidNextTokenException, + LimitExceededException, + ObjectNotFoundException, + ResourceNotFoundException, + TooManyTagsException, + ValidationException, ApplicationAutoScalingServiceException, paginateDescribeScalableTargets, paginateDescribeScalingActivities, diff --git a/clients/client-application-discovery-service/test/index-objects.spec.mjs b/clients/client-application-discovery-service/test/index-objects.spec.mjs index c3bee4ed6677..8403a911f3b9 100644 --- a/clients/client-application-discovery-service/test/index-objects.spec.mjs +++ b/clients/client-application-discovery-service/test/index-objects.spec.mjs @@ -4,11 +4,13 @@ import { ApplicationDiscoveryServiceClient, ApplicationDiscoveryServiceServiceException, AssociateConfigurationItemsToApplicationCommand, + AuthorizationErrorException, BatchDeleteAgentsCommand, BatchDeleteConfigurationTaskStatus, BatchDeleteImportDataCommand, BatchDeleteImportDataErrorCode, ConfigurationItemType, + ConflictErrorException, ContinuousExportStatus, CreateApplicationCommand, CreateTagsCommand, @@ -31,13 +33,21 @@ import { ExportStatus, FileClassification, GetDiscoverySummaryCommand, + HomeRegionNotSetException, ImportStatus, ImportTaskFilterName, + InvalidParameterException, + InvalidParameterValueException, + LimitExceededException, ListConfigurationsCommand, ListServerNeighborsCommand, OfferingClass, + OperationNotPermittedException, OrderString, PurchasingOption, + ResourceInUseException, + ResourceNotFoundException, + ServerInternalErrorException, StartBatchDeleteConfigurationTaskCommand, StartContinuousExportCommand, StartDataCollectionByAgentIdsCommand, @@ -109,6 +119,16 @@ assert(typeof PurchasingOption === "object"); assert(typeof Tenancy === "object"); assert(typeof TermLength === "object"); // errors +assert(AuthorizationErrorException.prototype instanceof ApplicationDiscoveryServiceServiceException); +assert(ConflictErrorException.prototype instanceof ApplicationDiscoveryServiceServiceException); +assert(HomeRegionNotSetException.prototype instanceof ApplicationDiscoveryServiceServiceException); +assert(InvalidParameterException.prototype instanceof ApplicationDiscoveryServiceServiceException); +assert(InvalidParameterValueException.prototype instanceof ApplicationDiscoveryServiceServiceException); +assert(LimitExceededException.prototype instanceof ApplicationDiscoveryServiceServiceException); +assert(OperationNotPermittedException.prototype instanceof ApplicationDiscoveryServiceServiceException); +assert(ResourceInUseException.prototype instanceof ApplicationDiscoveryServiceServiceException); +assert(ResourceNotFoundException.prototype instanceof ApplicationDiscoveryServiceServiceException); +assert(ServerInternalErrorException.prototype instanceof ApplicationDiscoveryServiceServiceException); assert(ApplicationDiscoveryServiceServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeAgents === "function"); diff --git a/clients/client-application-discovery-service/test/index-types.ts b/clients/client-application-discovery-service/test/index-types.ts index a5bdc578fdc2..ab3994347655 100644 --- a/clients/client-application-discovery-service/test/index-types.ts +++ b/clients/client-application-discovery-service/test/index-types.ts @@ -187,6 +187,16 @@ export type { UpdateApplicationRequest, UpdateApplicationResponse, UsageMetricBasis, + AuthorizationErrorException, + ConflictErrorException, + HomeRegionNotSetException, + InvalidParameterException, + InvalidParameterValueException, + LimitExceededException, + OperationNotPermittedException, + ResourceInUseException, + ResourceNotFoundException, + ServerInternalErrorException, ApplicationDiscoveryServiceServiceException, paginateDescribeAgents, paginateDescribeContinuousExports, diff --git a/clients/client-application-insights/src/schemas/schemas_0.ts b/clients/client-application-insights/src/schemas/schemas_0.ts index c2a216ca1a9e..bfcee08ef174 100644 --- a/clients/client-application-insights/src/schemas/schemas_0.ts +++ b/clients/client-application-insights/src/schemas/schemas_0.ts @@ -664,7 +664,6 @@ export var ValidationException: StaticErrorSchema = [ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var Workload: StaticStructureSchema = [3, n0, _W, 0, [_WI, _CN, _WN, _T, _WR, _MWC], [0, 0, 0, 0, 0, 2]]; export var WorkloadConfiguration: StaticStructureSchema = [3, n0, _WC, 0, [_WN, _T, _C], [0, 0, 0]]; -export var __Unit = "unit" as const; export var ApplicationInsightsServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-application-insights/test/index-objects.spec.mjs b/clients/client-application-insights/test/index-objects.spec.mjs index cf2cdb89c176..f045a770718d 100644 --- a/clients/client-application-insights/test/index-objects.spec.mjs +++ b/clients/client-application-insights/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, AddWorkloadCommand, ApplicationInsights, ApplicationInsightsClient, ApplicationInsightsServiceException, + BadRequestException, CloudWatchEventSource, ConfigurationEventResourceType, ConfigurationEventStatus, @@ -25,6 +27,7 @@ import { FeedbackKey, FeedbackValue, GroupingType, + InternalServerException, ListApplicationsCommand, ListComponentsCommand, ListConfigurationHistoryCommand, @@ -38,10 +41,14 @@ import { RecommendationType, RemoveWorkloadCommand, ResolutionMethod, + ResourceInUseException, + ResourceNotFoundException, SeverityLevel, Status, TagResourceCommand, + TagsAlreadyExistException, Tier, + TooManyTagsException, UntagResourceCommand, UpdateApplicationCommand, UpdateComponentCommand, @@ -50,6 +57,7 @@ import { UpdateProblemCommand, UpdateStatus, UpdateWorkloadCommand, + ValidationException, Visibility, paginateListApplications, paginateListComponents, @@ -115,6 +123,14 @@ assert(typeof Tier === "object"); assert(typeof UpdateStatus === "object"); assert(typeof Visibility === "object"); // errors +assert(AccessDeniedException.prototype instanceof ApplicationInsightsServiceException); +assert(BadRequestException.prototype instanceof ApplicationInsightsServiceException); +assert(InternalServerException.prototype instanceof ApplicationInsightsServiceException); +assert(ResourceInUseException.prototype instanceof ApplicationInsightsServiceException); +assert(ResourceNotFoundException.prototype instanceof ApplicationInsightsServiceException); +assert(TagsAlreadyExistException.prototype instanceof ApplicationInsightsServiceException); +assert(TooManyTagsException.prototype instanceof ApplicationInsightsServiceException); +assert(ValidationException.prototype instanceof ApplicationInsightsServiceException); assert(ApplicationInsightsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplications === "function"); diff --git a/clients/client-application-insights/test/index-types.ts b/clients/client-application-insights/test/index-types.ts index 261f38692b8c..b85d0846b6d8 100644 --- a/clients/client-application-insights/test/index-types.ts +++ b/clients/client-application-insights/test/index-types.ts @@ -193,6 +193,14 @@ export type { UpdateWorkloadResponse, Workload, WorkloadConfiguration, + AccessDeniedException, + BadRequestException, + InternalServerException, + ResourceInUseException, + ResourceNotFoundException, + TagsAlreadyExistException, + TooManyTagsException, + ValidationException, ApplicationInsightsServiceException, paginateListApplications, paginateListComponents, diff --git a/clients/client-application-signals/test/index-objects.spec.mjs b/clients/client-application-signals/test/index-objects.spec.mjs index 65639531ce5e..c2120e60ab2a 100644 --- a/clients/client-application-signals/test/index-objects.spec.mjs +++ b/clients/client-application-signals/test/index-objects.spec.mjs @@ -1,10 +1,12 @@ import { + AccessDeniedException, ApplicationSignals, ApplicationSignalsClient, ApplicationSignalsServiceException, BatchGetServiceLevelObjectiveBudgetReportCommand, BatchUpdateExclusionWindowsCommand, ChangeEventType, + ConflictException, ConnectionType, CreateServiceLevelObjectiveCommand, DeleteGroupingConfigurationCommand, @@ -27,15 +29,19 @@ import { ListTagsForResourceCommand, MetricSourceType, PutGroupingConfigurationCommand, + ResourceNotFoundException, ServiceLevelIndicatorComparisonOperator, ServiceLevelIndicatorMetricType, ServiceLevelObjectiveBudgetStatus, + ServiceQuotaExceededException, Severity, StandardUnit, StartDiscoveryCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateServiceLevelObjectiveCommand, + ValidationException, paginateListEntityEvents, paginateListServiceDependencies, paginateListServiceDependents, @@ -86,6 +92,12 @@ assert(typeof ServiceLevelObjectiveBudgetStatus === "object"); assert(typeof Severity === "object"); assert(typeof StandardUnit === "object"); // errors +assert(AccessDeniedException.prototype instanceof ApplicationSignalsServiceException); +assert(ConflictException.prototype instanceof ApplicationSignalsServiceException); +assert(ResourceNotFoundException.prototype instanceof ApplicationSignalsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ApplicationSignalsServiceException); +assert(ThrottlingException.prototype instanceof ApplicationSignalsServiceException); +assert(ValidationException.prototype instanceof ApplicationSignalsServiceException); assert(ApplicationSignalsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEntityEvents === "function"); diff --git a/clients/client-application-signals/test/index-types.ts b/clients/client-application-signals/test/index-types.ts index 721a781f2c4e..02bf8a113cce 100644 --- a/clients/client-application-signals/test/index-types.ts +++ b/clients/client-application-signals/test/index-types.ts @@ -179,6 +179,12 @@ export type { UpdateServiceLevelObjectiveInput, UpdateServiceLevelObjectiveOutput, Window, + AccessDeniedException, + ConflictException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ApplicationSignalsServiceException, paginateListEntityEvents, paginateListServiceDependencies, diff --git a/clients/client-applicationcostprofiler/src/schemas/schemas_0.ts b/clients/client-applicationcostprofiler/src/schemas/schemas_0.ts index ab4ee16f6e63..cafc5c02aab5 100644 --- a/clients/client-applicationcostprofiler/src/schemas/schemas_0.ts +++ b/clients/client-applicationcostprofiler/src/schemas/schemas_0.ts @@ -136,7 +136,6 @@ export var UpdateReportDefinitionRequest: StaticStructureSchema = [ export var UpdateReportDefinitionResult: StaticStructureSchema = [3, n0, _URDRp, 0, [_rI], [0]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var ApplicationCostProfilerServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-applicationcostprofiler/test/index-objects.spec.mjs b/clients/client-applicationcostprofiler/test/index-objects.spec.mjs index 1094983ea97d..aa5acb8af773 100644 --- a/clients/client-applicationcostprofiler/test/index-objects.spec.mjs +++ b/clients/client-applicationcostprofiler/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ApplicationCostProfiler, ApplicationCostProfilerClient, ApplicationCostProfilerServiceException, @@ -6,11 +7,15 @@ import { Format, GetReportDefinitionCommand, ImportApplicationUsageCommand, + InternalServerException, ListReportDefinitionsCommand, PutReportDefinitionCommand, ReportFrequency, S3BucketRegion, + ServiceQuotaExceededException, + ThrottlingException, UpdateReportDefinitionCommand, + ValidationException, paginateListReportDefinitions, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -29,6 +34,11 @@ assert(typeof Format === "object"); assert(typeof ReportFrequency === "object"); assert(typeof S3BucketRegion === "object"); // errors +assert(AccessDeniedException.prototype instanceof ApplicationCostProfilerServiceException); +assert(InternalServerException.prototype instanceof ApplicationCostProfilerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ApplicationCostProfilerServiceException); +assert(ThrottlingException.prototype instanceof ApplicationCostProfilerServiceException); +assert(ValidationException.prototype instanceof ApplicationCostProfilerServiceException); assert(ApplicationCostProfilerServiceException.prototype instanceof Error); // paginators assert(typeof paginateListReportDefinitions === "function"); diff --git a/clients/client-applicationcostprofiler/test/index-types.ts b/clients/client-applicationcostprofiler/test/index-types.ts index a1c4dce640f7..d9ade67688d8 100644 --- a/clients/client-applicationcostprofiler/test/index-types.ts +++ b/clients/client-applicationcostprofiler/test/index-types.ts @@ -38,6 +38,11 @@ export type { SourceS3Location, UpdateReportDefinitionRequest, UpdateReportDefinitionResult, + AccessDeniedException, + InternalServerException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ApplicationCostProfilerServiceException, paginateListReportDefinitions, } from "../dist-types/index.d"; diff --git a/clients/client-apprunner/src/schemas/schemas_0.ts b/clients/client-apprunner/src/schemas/schemas_0.ts index 486409e5a5aa..21cffbdc301c 100644 --- a/clients/client-apprunner/src/schemas/schemas_0.ts +++ b/clients/client-apprunner/src/schemas/schemas_0.ts @@ -814,7 +814,6 @@ export var VpcIngressConnection: StaticStructureSchema = [ [0, 0, 0, 0, 0, 0, () => IngressVpcConfiguration, 4, 4], ]; export var VpcIngressConnectionSummary: StaticStructureSchema = [3, n0, _VICS, 0, [_VICA, _SA], [0, 0]]; -export var __Unit = "unit" as const; export var AppRunnerServiceException: StaticErrorSchema = [-3, _sm, "AppRunnerServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(AppRunnerServiceException, __AppRunnerServiceException); export var AutoScalingConfigurationSummaryList: StaticListSchema = [ diff --git a/clients/client-apprunner/test/index-objects.spec.mjs b/clients/client-apprunner/test/index-objects.spec.mjs index 2a3c754a09d6..009191a3c9c2 100644 --- a/clients/client-apprunner/test/index-objects.spec.mjs +++ b/clients/client-apprunner/test/index-objects.spec.mjs @@ -30,6 +30,9 @@ import { EgressType, HealthCheckProtocol, ImageRepositoryType, + InternalServiceErrorException, + InvalidRequestException, + InvalidStateException, IpAddressType, ListAutoScalingConfigurationsCommand, ListConnectionsCommand, @@ -45,8 +48,10 @@ import { OperationType, PauseServiceCommand, ProviderType, + ResourceNotFoundException, ResumeServiceCommand, Runtime, + ServiceQuotaExceededException, ServiceStatus, SourceCodeVersionType, StartDeploymentCommand, @@ -131,6 +136,11 @@ assert(typeof TracingVendor === "object"); assert(typeof VpcConnectorStatus === "object"); assert(typeof VpcIngressConnectionStatus === "object"); // errors +assert(InternalServiceErrorException.prototype instanceof AppRunnerServiceException); +assert(InvalidRequestException.prototype instanceof AppRunnerServiceException); +assert(InvalidStateException.prototype instanceof AppRunnerServiceException); +assert(ResourceNotFoundException.prototype instanceof AppRunnerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AppRunnerServiceException); assert(AppRunnerServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeCustomDomains === "function"); diff --git a/clients/client-apprunner/test/index-types.ts b/clients/client-apprunner/test/index-types.ts index 47332442c9e1..f643c311089b 100644 --- a/clients/client-apprunner/test/index-types.ts +++ b/clients/client-apprunner/test/index-types.ts @@ -240,6 +240,11 @@ export type { VpcDNSTarget, VpcIngressConnection, VpcIngressConnectionSummary, + InternalServiceErrorException, + InvalidRequestException, + InvalidStateException, + ResourceNotFoundException, + ServiceQuotaExceededException, AppRunnerServiceException, paginateDescribeCustomDomains, paginateListAutoScalingConfigurations, diff --git a/clients/client-appstream/src/schemas/schemas_0.ts b/clients/client-appstream/src/schemas/schemas_0.ts index 36067b9b05e7..bac88fd6dd90 100644 --- a/clients/client-appstream/src/schemas/schemas_0.ts +++ b/clients/client-appstream/src/schemas/schemas_0.ts @@ -1770,7 +1770,6 @@ export var UserStackAssociationError: StaticStructureSchema = [ ]; export var VolumeConfig: StaticStructureSchema = [3, n0, _VCo, 0, [_VSIG], [1]]; export var VpcConfig: StaticStructureSchema = [3, n0, _VC, 0, [_SIu, _SGI], [64 | 0, 64 | 0]]; -export var __Unit = "unit" as const; export var AppStreamServiceException: StaticErrorSchema = [-3, _s, "AppStreamServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(AppStreamServiceException, __AppStreamServiceException); export var AccessEndpointList: StaticListSchema = [1, n0, _AEL, 0, () => AccessEndpoint]; diff --git a/clients/client-appstream/test/index-objects.spec.mjs b/clients/client-appstream/test/index-objects.spec.mjs index e434dc1cdde4..7155e460d7f0 100644 --- a/clients/client-appstream/test/index-objects.spec.mjs +++ b/clients/client-appstream/test/index-objects.spec.mjs @@ -21,6 +21,7 @@ import { BatchAssociateUserStackCommand, BatchDisassociateUserStackCommand, CertificateBasedAuthStatus, + ConcurrentModificationException, CopyImageCommand, CreateAppBlockBuilderCommand, CreateAppBlockBuilderStreamingURLCommand, @@ -77,8 +78,11 @@ import { DisassociateApplicationFromEntitlementCommand, DisassociateFleetCommand, DisassociateSoftwareFromImageBuilderCommand, + DryRunOperationException, DynamicAppProvidersEnabled, EnableUserCommand, + EntitlementAlreadyExistsException, + EntitlementNotFoundException, ExpireSessionCommand, ExportImageTaskState, FleetAttribute, @@ -92,17 +96,28 @@ import { ImageState, ImageStateChangeReasonCode, ImageType, + IncompatibleImageException, + InvalidAccountStatusException, + InvalidParameterCombinationException, + InvalidRoleException, LatestAppstreamAgentVersion, + LimitExceededException, ListAssociatedFleetsCommand, ListAssociatedStacksCommand, ListEntitledApplicationsCommand, ListExportImageTasksCommand, ListTagsForResourceCommand, MessageAction, + OperationNotPermittedException, PackagingType, Permission, PlatformType, PreferredProtocol, + RequestLimitExceededException, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotAvailableException, + ResourceNotFoundException, SessionConnectionState, SessionState, SoftwareDeploymentStatus, @@ -282,6 +297,21 @@ assert(typeof UsageReportSchedule === "object"); assert(typeof UserStackAssociationErrorCode === "object"); assert(typeof VisibilityType === "object"); // errors +assert(ConcurrentModificationException.prototype instanceof AppStreamServiceException); +assert(DryRunOperationException.prototype instanceof AppStreamServiceException); +assert(EntitlementAlreadyExistsException.prototype instanceof AppStreamServiceException); +assert(EntitlementNotFoundException.prototype instanceof AppStreamServiceException); +assert(IncompatibleImageException.prototype instanceof AppStreamServiceException); +assert(InvalidAccountStatusException.prototype instanceof AppStreamServiceException); +assert(InvalidParameterCombinationException.prototype instanceof AppStreamServiceException); +assert(InvalidRoleException.prototype instanceof AppStreamServiceException); +assert(LimitExceededException.prototype instanceof AppStreamServiceException); +assert(OperationNotPermittedException.prototype instanceof AppStreamServiceException); +assert(RequestLimitExceededException.prototype instanceof AppStreamServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof AppStreamServiceException); +assert(ResourceInUseException.prototype instanceof AppStreamServiceException); +assert(ResourceNotAvailableException.prototype instanceof AppStreamServiceException); +assert(ResourceNotFoundException.prototype instanceof AppStreamServiceException); assert(AppStreamServiceException.prototype instanceof Error); // waiters assert(typeof waitForFleetStarted === "function"); diff --git a/clients/client-appstream/test/index-types.ts b/clients/client-appstream/test/index-types.ts index 6c96c7cf4122..42472f61a99a 100644 --- a/clients/client-appstream/test/index-types.ts +++ b/clients/client-appstream/test/index-types.ts @@ -538,6 +538,21 @@ export type { UserStackAssociationError, VolumeConfig, VpcConfig, + ConcurrentModificationException, + DryRunOperationException, + EntitlementAlreadyExistsException, + EntitlementNotFoundException, + IncompatibleImageException, + InvalidAccountStatusException, + InvalidParameterCombinationException, + InvalidRoleException, + LimitExceededException, + OperationNotPermittedException, + RequestLimitExceededException, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotAvailableException, + ResourceNotFoundException, AppStreamServiceException, waitForFleetStarted, waitForFleetStopped, diff --git a/clients/client-appsync/src/schemas/schemas_0.ts b/clients/client-appsync/src/schemas/schemas_0.ts index 91c15aae3367..921d348131e5 100644 --- a/clients/client-appsync/src/schemas/schemas_0.ts +++ b/clients/client-appsync/src/schemas/schemas_0.ts @@ -1662,7 +1662,6 @@ export var UpdateSourceApiAssociationResponse: StaticStructureSchema = [ export var UpdateTypeRequest: StaticStructureSchema = [3, n0, _UTR, 0, [_aI, _tN, _def, _f], [[0, 1], [0, 1], 0, 0]]; export var UpdateTypeResponse: StaticStructureSchema = [3, n0, _UTRp, 0, [_ty], [() => Type]]; export var UserPoolConfig: StaticStructureSchema = [3, n0, _UPC, 0, [_uPI, _aR, _dA, _aICR], [0, 0, 0, 0]]; -export var __Unit = "unit" as const; export var AppSyncServiceException: StaticErrorSchema = [-3, _sm, "AppSyncServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(AppSyncServiceException, __AppSyncServiceException); export var AdditionalAuthenticationProviders: StaticListSchema = [ diff --git a/clients/client-appsync/test/index-objects.spec.mjs b/clients/client-appsync/test/index-objects.spec.mjs index 21b4ebda8b71..aea51fbc9c44 100644 --- a/clients/client-appsync/test/index-objects.spec.mjs +++ b/clients/client-appsync/test/index-objects.spec.mjs @@ -1,7 +1,11 @@ import { + AccessDeniedException, ApiCacheStatus, ApiCacheType, ApiCachingBehavior, + ApiKeyLimitExceededException, + ApiKeyValidityOutOfBoundsException, + ApiLimitExceededException, AppSync, AppSyncClient, AppSyncServiceException, @@ -11,8 +15,12 @@ import { AssociationStatus, AuthenticationType, AuthorizationType, + BadRequestException, + BadRequestReason, CacheHealthMetricsConfig, + ConcurrentModificationException, ConflictDetectionType, + ConflictException, ConflictHandlerType, CreateApiCacheCommand, CreateApiCommand, @@ -65,8 +73,11 @@ import { GraphQLApiIntrospectionConfig, GraphQLApiType, GraphQLApiVisibility, + GraphQLSchemaException, HandlerBehavior, + InternalFailureException, InvokeType, + LimitExceededException, ListApiKeysCommand, ListApisCommand, ListChannelNamespacesCommand, @@ -81,6 +92,7 @@ import { ListTypesByAssociationCommand, ListTypesCommand, MergeType, + NotFoundException, OperationLevelMetricsConfig, OutputType, Ownership, @@ -91,12 +103,14 @@ import { ResolverLevelMetricsConfig, RuntimeName, SchemaStatus, + ServiceQuotaExceededException, SourceApiAssociationStatus, StartDataSourceIntrospectionCommand, StartSchemaCreationCommand, StartSchemaMergeCommand, TagResourceCommand, TypeDefinitionFormat, + UnauthorizedException, UntagResourceCommand, UpdateApiCacheCommand, UpdateApiCommand, @@ -208,6 +222,7 @@ assert(typeof ApiCachingBehavior === "object"); assert(typeof AssociationStatus === "object"); assert(typeof AuthenticationType === "object"); assert(typeof AuthorizationType === "object"); +assert(typeof BadRequestReason === "object"); assert(typeof CacheHealthMetricsConfig === "object"); assert(typeof ConflictDetectionType === "object"); assert(typeof ConflictHandlerType === "object"); @@ -236,6 +251,19 @@ assert(typeof SchemaStatus === "object"); assert(typeof SourceApiAssociationStatus === "object"); assert(typeof TypeDefinitionFormat === "object"); // errors +assert(AccessDeniedException.prototype instanceof AppSyncServiceException); +assert(ApiKeyLimitExceededException.prototype instanceof AppSyncServiceException); +assert(ApiKeyValidityOutOfBoundsException.prototype instanceof AppSyncServiceException); +assert(ApiLimitExceededException.prototype instanceof AppSyncServiceException); +assert(BadRequestException.prototype instanceof AppSyncServiceException); +assert(ConcurrentModificationException.prototype instanceof AppSyncServiceException); +assert(ConflictException.prototype instanceof AppSyncServiceException); +assert(GraphQLSchemaException.prototype instanceof AppSyncServiceException); +assert(InternalFailureException.prototype instanceof AppSyncServiceException); +assert(LimitExceededException.prototype instanceof AppSyncServiceException); +assert(NotFoundException.prototype instanceof AppSyncServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AppSyncServiceException); +assert(UnauthorizedException.prototype instanceof AppSyncServiceException); assert(AppSyncServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApiKeys === "function"); diff --git a/clients/client-appsync/test/index-types.ts b/clients/client-appsync/test/index-types.ts index 0e00e31e594d..c9ac095ced1d 100644 --- a/clients/client-appsync/test/index-types.ts +++ b/clients/client-appsync/test/index-types.ts @@ -230,6 +230,7 @@ export type { AssociationStatus, AuthenticationType, AuthorizationType, + BadRequestReason, CacheHealthMetricsConfig, ConflictDetectionType, ConflictHandlerType, @@ -273,6 +274,7 @@ export type { AuthorizationConfig, AuthProvider, AwsIamConfig, + BadRequestDetail, CachingConfig, ChannelNamespace, CodeError, @@ -461,6 +463,19 @@ export type { UpdateTypeRequest, UpdateTypeResponse, UserPoolConfig, + AccessDeniedException, + ApiKeyLimitExceededException, + ApiKeyValidityOutOfBoundsException, + ApiLimitExceededException, + BadRequestException, + ConcurrentModificationException, + ConflictException, + GraphQLSchemaException, + InternalFailureException, + LimitExceededException, + NotFoundException, + ServiceQuotaExceededException, + UnauthorizedException, AppSyncServiceException, paginateListApiKeys, paginateListApis, diff --git a/clients/client-arc-region-switch/src/schemas/schemas_0.ts b/clients/client-arc-region-switch/src/schemas/schemas_0.ts index 61a3c704ad6a..7fbbfc79c572 100644 --- a/clients/client-arc-region-switch/src/schemas/schemas_0.ts +++ b/clients/client-arc-region-switch/src/schemas/schemas_0.ts @@ -548,7 +548,6 @@ export var UpdatePlanRequest: StaticStructureSchema = [ ]; export var UpdatePlanResponse: StaticStructureSchema = [3, n0, _UPRp, 0, [_p], [() => Plan]]; export var Workflow: StaticStructureSchema = [3, n0, _W, 0, [_st, _wTA, _wTR, _wD], [() => Steps, 0, 0, 0]]; -export var __Unit = "unit" as const; export var ARCRegionSwitchServiceException: StaticErrorSchema = [-3, _sm, "ARCRegionSwitchServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ARCRegionSwitchServiceException, __ARCRegionSwitchServiceException); export var AbbreviatedExecutionsList: StaticListSchema = [1, n0, _AEL, 0, () => AbbreviatedExecution]; diff --git a/clients/client-arc-region-switch/test/index-objects.spec.mjs b/clients/client-arc-region-switch/test/index-objects.spec.mjs index 19cd11aaab57..07600c59df2c 100644 --- a/clients/client-arc-region-switch/test/index-objects.spec.mjs +++ b/clients/client-arc-region-switch/test/index-objects.spec.mjs @@ -2,6 +2,7 @@ import { ARCRegionSwitch, ARCRegionSwitchClient, ARCRegionSwitchServiceException, + AccessDeniedException, AlarmCondition, AlarmType, Approval, @@ -24,6 +25,9 @@ import { GetPlanInRegionCommand, GlobalAuroraDefaultBehavior, GlobalAuroraUngracefulBehavior, + IllegalArgumentException, + IllegalStateException, + InternalServerException, LambdaUngracefulBehavior, ListPlanExecutionEventsCommand, ListPlanExecutionsCommand, @@ -33,6 +37,7 @@ import { ListTagsForResourceCommand, RecoveryApproach, RegionToRunIn, + ResourceNotFoundException, ResourceWarningStatus, RoutingControlStateChange, StartPlanExecutionCommand, @@ -107,6 +112,11 @@ assert(typeof UpdatePlanExecutionAction === "object"); assert(typeof UpdatePlanExecutionStepAction === "object"); assert(typeof WorkflowTargetAction === "object"); // errors +assert(AccessDeniedException.prototype instanceof ARCRegionSwitchServiceException); +assert(IllegalArgumentException.prototype instanceof ARCRegionSwitchServiceException); +assert(IllegalStateException.prototype instanceof ARCRegionSwitchServiceException); +assert(InternalServerException.prototype instanceof ARCRegionSwitchServiceException); +assert(ResourceNotFoundException.prototype instanceof ARCRegionSwitchServiceException); assert(ARCRegionSwitchServiceException.prototype instanceof Error); // waiters assert(typeof waitForPlanEvaluationStatusPassed === "function"); diff --git a/clients/client-arc-region-switch/test/index-types.ts b/clients/client-arc-region-switch/test/index-types.ts index 92bf2b66f6e3..e8ed83c75769 100644 --- a/clients/client-arc-region-switch/test/index-types.ts +++ b/clients/client-arc-region-switch/test/index-types.ts @@ -162,6 +162,11 @@ export type { UpdatePlanRequest, UpdatePlanResponse, Workflow, + AccessDeniedException, + IllegalArgumentException, + IllegalStateException, + InternalServerException, + ResourceNotFoundException, ARCRegionSwitchServiceException, waitForPlanEvaluationStatusPassed, waitForPlanExecutionCompleted, diff --git a/clients/client-arc-zonal-shift/src/schemas/schemas_0.ts b/clients/client-arc-zonal-shift/src/schemas/schemas_0.ts index 37e3ad8c9521..d01bb59b1050 100644 --- a/clients/client-arc-zonal-shift/src/schemas/schemas_0.ts +++ b/clients/client-arc-zonal-shift/src/schemas/schemas_0.ts @@ -316,7 +316,6 @@ export var ZonalShiftSummary: StaticStructureSchema = [ [_zSI, _rI, _aF, _eTx, _sT, _s, _co, _sTh, _pRO], [0, 0, 0, 4, 4, 0, 0, 0, 0], ]; -export var __Unit = "unit" as const; export var ARCZonalShiftServiceException: StaticErrorSchema = [-3, _sm, "ARCZonalShiftServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ARCZonalShiftServiceException, __ARCZonalShiftServiceException); export var AllowedWindows = 64 | 0; diff --git a/clients/client-arc-zonal-shift/test/index-objects.spec.mjs b/clients/client-arc-zonal-shift/test/index-objects.spec.mjs index b8728c262240..ae4fc938f04c 100644 --- a/clients/client-arc-zonal-shift/test/index-objects.spec.mjs +++ b/clients/client-arc-zonal-shift/test/index-objects.spec.mjs @@ -2,28 +2,36 @@ import { ARCZonalShift, ARCZonalShiftClient, ARCZonalShiftServiceException, + AccessDeniedException, AppliedStatus, AutoshiftAppliedStatus, AutoshiftExecutionStatus, AutoshiftObserverNotificationStatus, CancelPracticeRunCommand, CancelZonalShiftCommand, + ConflictException, + ConflictExceptionReason, ControlConditionType, CreatePracticeRunConfigurationCommand, DeletePracticeRunConfigurationCommand, GetAutoshiftObserverNotificationStatusCommand, GetManagedResourceCommand, + InternalServerException, ListAutoshiftsCommand, ListManagedResourcesCommand, ListZonalShiftsCommand, PracticeRunOutcome, + ResourceNotFoundException, ShiftType, StartPracticeRunCommand, StartZonalShiftCommand, + ThrottlingException, UpdateAutoshiftObserverNotificationStatusCommand, UpdatePracticeRunConfigurationCommand, UpdateZonalAutoshiftConfigurationCommand, UpdateZonalShiftCommand, + ValidationException, + ValidationExceptionReason, ZonalAutoshiftStatus, ZonalShiftStatus, paginateListAutoshifts, @@ -55,12 +63,20 @@ assert(typeof AppliedStatus === "object"); assert(typeof AutoshiftAppliedStatus === "object"); assert(typeof AutoshiftExecutionStatus === "object"); assert(typeof AutoshiftObserverNotificationStatus === "object"); +assert(typeof ConflictExceptionReason === "object"); assert(typeof ControlConditionType === "object"); assert(typeof PracticeRunOutcome === "object"); assert(typeof ShiftType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof ZonalAutoshiftStatus === "object"); assert(typeof ZonalShiftStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof ARCZonalShiftServiceException); +assert(ConflictException.prototype instanceof ARCZonalShiftServiceException); +assert(InternalServerException.prototype instanceof ARCZonalShiftServiceException); +assert(ResourceNotFoundException.prototype instanceof ARCZonalShiftServiceException); +assert(ThrottlingException.prototype instanceof ARCZonalShiftServiceException); +assert(ValidationException.prototype instanceof ARCZonalShiftServiceException); assert(ARCZonalShiftServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAutoshifts === "function"); diff --git a/clients/client-arc-zonal-shift/test/index-types.ts b/clients/client-arc-zonal-shift/test/index-types.ts index 2c18a46052e8..bc6117caf7c2 100644 --- a/clients/client-arc-zonal-shift/test/index-types.ts +++ b/clients/client-arc-zonal-shift/test/index-types.ts @@ -51,9 +51,11 @@ export type { AutoshiftAppliedStatus, AutoshiftExecutionStatus, AutoshiftObserverNotificationStatus, + ConflictExceptionReason, ControlConditionType, PracticeRunOutcome, ShiftType, + ValidationExceptionReason, ZonalAutoshiftStatus, ZonalShiftStatus, AutoshiftInResource, @@ -91,6 +93,12 @@ export type { ZonalShift, ZonalShiftInResource, ZonalShiftSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, ARCZonalShiftServiceException, paginateListAutoshifts, paginateListManagedResources, diff --git a/clients/client-artifact/src/schemas/schemas_0.ts b/clients/client-artifact/src/schemas/schemas_0.ts index 0d611f02569f..4358e9e23a11 100644 --- a/clients/client-artifact/src/schemas/schemas_0.ts +++ b/clients/client-artifact/src/schemas/schemas_0.ts @@ -255,7 +255,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var ArtifactServiceException: StaticErrorSchema = [-3, _sm, "ArtifactServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ArtifactServiceException, __ArtifactServiceException); export var AgreementTerms = 64 | 0; diff --git a/clients/client-artifact/test/index-objects.spec.mjs b/clients/client-artifact/test/index-objects.spec.mjs index 2144e2ff93ca..9ab772d2f2d6 100644 --- a/clients/client-artifact/test/index-objects.spec.mjs +++ b/clients/client-artifact/test/index-objects.spec.mjs @@ -1,20 +1,28 @@ import { AcceptanceType, + AccessDeniedException, AgreementType, Artifact, ArtifactClient, ArtifactServiceException, + ConflictException, CustomerAgreementState, GetAccountSettingsCommand, GetReportCommand, GetReportMetadataCommand, GetTermForReportCommand, + InternalServerException, ListCustomerAgreementsCommand, ListReportsCommand, NotificationSubscriptionStatus, PublishedState, PutAccountSettingsCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, UploadState, + ValidationException, + ValidationExceptionReason, paginateListCustomerAgreements, paginateListReports, } from "../dist-cjs/index.js"; @@ -37,7 +45,15 @@ assert(typeof CustomerAgreementState === "object"); assert(typeof NotificationSubscriptionStatus === "object"); assert(typeof PublishedState === "object"); assert(typeof UploadState === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof ArtifactServiceException); +assert(ConflictException.prototype instanceof ArtifactServiceException); +assert(InternalServerException.prototype instanceof ArtifactServiceException); +assert(ResourceNotFoundException.prototype instanceof ArtifactServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ArtifactServiceException); +assert(ThrottlingException.prototype instanceof ArtifactServiceException); +assert(ValidationException.prototype instanceof ArtifactServiceException); assert(ArtifactServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCustomerAgreements === "function"); diff --git a/clients/client-artifact/test/index-types.ts b/clients/client-artifact/test/index-types.ts index e8b1fb546f4c..ad99cd70d7f7 100644 --- a/clients/client-artifact/test/index-types.ts +++ b/clients/client-artifact/test/index-types.ts @@ -29,6 +29,7 @@ export type { NotificationSubscriptionStatus, PublishedState, UploadState, + ValidationExceptionReason, AccountSettings, CustomerAgreementSummary, GetAccountSettingsRequest, @@ -47,6 +48,14 @@ export type { PutAccountSettingsResponse, ReportDetail, ReportSummary, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ArtifactServiceException, paginateListCustomerAgreements, paginateListReports, diff --git a/clients/client-athena/src/schemas/schemas_0.ts b/clients/client-athena/src/schemas/schemas_0.ts index 114c778086ff..ae9ea8407c02 100644 --- a/clients/client-athena/src/schemas/schemas_0.ts +++ b/clients/client-athena/src/schemas/schemas_0.ts @@ -1254,7 +1254,6 @@ export var WorkGroupSummary: StaticStructureSchema = [ [_N, _S, _D, _CT, _EV, _ICAA], [0, 0, 0, 4, () => EngineVersion, 0], ]; -export var __Unit = "unit" as const; export var AthenaServiceException: StaticErrorSchema = [-3, _sm, "AthenaServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(AthenaServiceException, __AthenaServiceException); export var ApplicationDPUSizesList: StaticListSchema = [1, n0, _ADPUSL, 0, () => ApplicationDPUSizes]; diff --git a/clients/client-athena/test/index-objects.spec.mjs b/clients/client-athena/test/index-objects.spec.mjs index 59f3906f7c49..ccfd633457eb 100644 --- a/clients/client-athena/test/index-objects.spec.mjs +++ b/clients/client-athena/test/index-objects.spec.mjs @@ -51,6 +51,8 @@ import { GetTableMetadataCommand, GetWorkGroupCommand, ImportNotebookCommand, + InternalServerException, + InvalidRequestException, ListApplicationDPUSizesCommand, ListCalculationExecutionsCommand, ListCapacityReservationsCommand, @@ -67,11 +69,14 @@ import { ListTableMetadataCommand, ListTagsForResourceCommand, ListWorkGroupsCommand, + MetadataException, NotebookType, PutCapacityAssignmentConfigurationCommand, QueryExecutionState, QueryResultType, + ResourceNotFoundException, S3AclOption, + SessionAlreadyExistsException, SessionState, StartCalculationExecutionCommand, StartQueryExecutionCommand, @@ -81,6 +86,8 @@ import { StopQueryExecutionCommand, TagResourceCommand, TerminateSessionCommand, + ThrottleReason, + TooManyRequestsException, UntagResourceCommand, UpdateCapacityReservationCommand, UpdateDataCatalogCommand, @@ -199,8 +206,15 @@ assert(typeof QueryResultType === "object"); assert(typeof S3AclOption === "object"); assert(typeof SessionState === "object"); assert(typeof StatementType === "object"); +assert(typeof ThrottleReason === "object"); assert(typeof WorkGroupState === "object"); // errors +assert(InternalServerException.prototype instanceof AthenaServiceException); +assert(InvalidRequestException.prototype instanceof AthenaServiceException); +assert(MetadataException.prototype instanceof AthenaServiceException); +assert(ResourceNotFoundException.prototype instanceof AthenaServiceException); +assert(SessionAlreadyExistsException.prototype instanceof AthenaServiceException); +assert(TooManyRequestsException.prototype instanceof AthenaServiceException); assert(AthenaServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetQueryResults === "function"); diff --git a/clients/client-athena/test/index-types.ts b/clients/client-athena/test/index-types.ts index ff222175004f..66ef1ddf7e7a 100644 --- a/clients/client-athena/test/index-types.ts +++ b/clients/client-athena/test/index-types.ts @@ -229,6 +229,7 @@ export type { S3AclOption, SessionState, StatementType, + ThrottleReason, WorkGroupState, AclConfiguration, ApplicationDPUSizes, @@ -439,6 +440,12 @@ export type { WorkGroupConfiguration, WorkGroupConfigurationUpdates, WorkGroupSummary, + InternalServerException, + InvalidRequestException, + MetadataException, + ResourceNotFoundException, + SessionAlreadyExistsException, + TooManyRequestsException, AthenaServiceException, paginateGetQueryResults, paginateListApplicationDPUSizes, diff --git a/clients/client-auditmanager/src/schemas/schemas_0.ts b/clients/client-auditmanager/src/schemas/schemas_0.ts index 2644d0c49829..5672d5b50d5d 100644 --- a/clients/client-auditmanager/src/schemas/schemas_0.ts +++ b/clients/client-auditmanager/src/schemas/schemas_0.ts @@ -1663,7 +1663,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var AuditManagerServiceException: StaticErrorSchema = [-3, _sm, "AuditManagerServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(AuditManagerServiceException, __AuditManagerServiceException); export var AssessmentControls: StaticListSchema = [1, n0, _ACs, 0, [() => AssessmentControl, 0]]; diff --git a/clients/client-auditmanager/test/index-objects.spec.mjs b/clients/client-auditmanager/test/index-objects.spec.mjs index c8519524d918..4667374c3a1c 100644 --- a/clients/client-auditmanager/test/index-objects.spec.mjs +++ b/clients/client-auditmanager/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AccountStatus, ActionEnum, AssessmentReportDestinationType, @@ -55,6 +56,7 @@ import { GetOrganizationAdminAccountCommand, GetServicesInScopeCommand, GetSettingsCommand, + InternalServerException, KeywordInputType, ListAssessmentControlInsightsByControlDomainCommand, ListAssessmentFrameworkShareRequestsCommand, @@ -71,7 +73,9 @@ import { ObjectTypeEnum, RegisterAccountCommand, RegisterOrganizationAdminAccountCommand, + ResourceNotFoundException, RoleType, + ServiceQuotaExceededException, SettingAttribute, ShareRequestAction, ShareRequestStatus, @@ -81,6 +85,7 @@ import { SourceType, StartAssessmentFrameworkShareCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateAssessmentCommand, UpdateAssessmentControlCommand, @@ -91,6 +96,8 @@ import { UpdateControlCommand, UpdateSettingsCommand, ValidateAssessmentReportIntegrityCommand, + ValidationException, + ValidationExceptionReason, paginateGetChangeLogs, paginateGetDelegations, paginateGetEvidenceByEvidenceFolder, @@ -203,7 +210,14 @@ assert(typeof ShareRequestType === "object"); assert(typeof SourceFrequency === "object"); assert(typeof SourceSetUpOption === "object"); assert(typeof SourceType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof AuditManagerServiceException); +assert(InternalServerException.prototype instanceof AuditManagerServiceException); +assert(ResourceNotFoundException.prototype instanceof AuditManagerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof AuditManagerServiceException); +assert(ThrottlingException.prototype instanceof AuditManagerServiceException); +assert(ValidationException.prototype instanceof AuditManagerServiceException); assert(AuditManagerServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetChangeLogs === "function"); diff --git a/clients/client-auditmanager/test/index-types.ts b/clients/client-auditmanager/test/index-types.ts index b2e96a63bdc9..a41151573a59 100644 --- a/clients/client-auditmanager/test/index-types.ts +++ b/clients/client-auditmanager/test/index-types.ts @@ -215,6 +215,7 @@ export type { SourceFrequency, SourceSetUpOption, SourceType, + ValidationExceptionReason, Assessment, AssessmentControl, AssessmentControlSet, @@ -391,6 +392,13 @@ export type { URL, ValidateAssessmentReportIntegrityRequest, ValidateAssessmentReportIntegrityResponse, + ValidationExceptionField, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, AuditManagerServiceException, paginateGetChangeLogs, paginateGetDelegations, diff --git a/clients/client-auto-scaling-plans/src/schemas/schemas_0.ts b/clients/client-auto-scaling-plans/src/schemas/schemas_0.ts index b39967c25dda..ca2819d87f32 100644 --- a/clients/client-auto-scaling-plans/src/schemas/schemas_0.ts +++ b/clients/client-auto-scaling-plans/src/schemas/schemas_0.ts @@ -313,7 +313,6 @@ export var ValidationException: StaticErrorSchema = [ [0], ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var AutoScalingPlansServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-auto-scaling-plans/test/index-objects.spec.mjs b/clients/client-auto-scaling-plans/test/index-objects.spec.mjs index 20186146d416..efbf8117b925 100644 --- a/clients/client-auto-scaling-plans/test/index-objects.spec.mjs +++ b/clients/client-auto-scaling-plans/test/index-objects.spec.mjs @@ -2,14 +2,19 @@ import { AutoScalingPlans, AutoScalingPlansClient, AutoScalingPlansServiceException, + ConcurrentUpdateException, CreateScalingPlanCommand, DeleteScalingPlanCommand, DescribeScalingPlanResourcesCommand, DescribeScalingPlansCommand, ForecastDataType, GetScalingPlanResourceForecastDataCommand, + InternalServiceException, + InvalidNextTokenException, + LimitExceededException, LoadMetricType, MetricStatistic, + ObjectNotFoundException, PolicyType, PredictiveScalingMaxCapacityBehavior, PredictiveScalingMode, @@ -20,6 +25,7 @@ import { ScalingStatusCode, ServiceNamespace, UpdateScalingPlanCommand, + ValidationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -46,5 +52,11 @@ assert(typeof ScalingPolicyUpdateBehavior === "object"); assert(typeof ScalingStatusCode === "object"); assert(typeof ServiceNamespace === "object"); // errors +assert(ConcurrentUpdateException.prototype instanceof AutoScalingPlansServiceException); +assert(InternalServiceException.prototype instanceof AutoScalingPlansServiceException); +assert(InvalidNextTokenException.prototype instanceof AutoScalingPlansServiceException); +assert(LimitExceededException.prototype instanceof AutoScalingPlansServiceException); +assert(ObjectNotFoundException.prototype instanceof AutoScalingPlansServiceException); +assert(ValidationException.prototype instanceof AutoScalingPlansServiceException); assert(AutoScalingPlansServiceException.prototype instanceof Error); console.log(`AutoScalingPlans index test passed.`); diff --git a/clients/client-auto-scaling-plans/test/index-types.ts b/clients/client-auto-scaling-plans/test/index-types.ts index 8c49f7cb83d5..35435e49a22f 100644 --- a/clients/client-auto-scaling-plans/test/index-types.ts +++ b/clients/client-auto-scaling-plans/test/index-types.ts @@ -57,5 +57,11 @@ export type { TargetTrackingConfiguration, UpdateScalingPlanRequest, UpdateScalingPlanResponse, + ConcurrentUpdateException, + InternalServiceException, + InvalidNextTokenException, + LimitExceededException, + ObjectNotFoundException, + ValidationException, AutoScalingPlansServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-auto-scaling/test/index-objects.spec.mjs b/clients/client-auto-scaling/test/index-objects.spec.mjs index 8e7fcd6ebbeb..63db92aa0348 100644 --- a/clients/client-auto-scaling/test/index-objects.spec.mjs +++ b/clients/client-auto-scaling/test/index-objects.spec.mjs @@ -2,6 +2,8 @@ import { AcceleratorManufacturer, AcceleratorName, AcceleratorType, + ActiveInstanceRefreshNotFoundFault, + AlreadyExistsFault, AttachInstancesCommand, AttachLoadBalancerTargetGroupsCommand, AttachLoadBalancersCommand, @@ -60,13 +62,18 @@ import { ExecutePolicyCommand, ExitStandbyCommand, GetPredictiveScalingForecastCommand, + IdempotentParameterMismatchError, ImpairedZoneHealthCheckBehavior, InstanceGeneration, InstanceMetadataEndpointState, InstanceMetadataHttpTokensState, + InstanceRefreshInProgressFault, InstanceRefreshStatus, + InvalidNextToken, + IrreversibleInstanceRefreshFault, LaunchInstancesCommand, LifecycleState, + LimitExceededFault, LocalStorage, LocalStorageType, MetricStatistic, @@ -83,12 +90,16 @@ import { PutWarmPoolCommand, RecordLifecycleActionHeartbeatCommand, RefreshStrategy, + ResourceContentionFault, + ResourceInUseFault, ResumeProcessesCommand, RetentionAction, RetryStrategy, RollbackInstanceRefreshCommand, ScaleInProtectedInstances, + ScalingActivityInProgressFault, ScalingActivityStatusCode, + ServiceLinkedRoleFailure, SetDesiredCapacityCommand, SetInstanceHealthCommand, SetInstanceProtectionCommand, @@ -223,6 +234,17 @@ assert(typeof StandbyInstances === "object"); assert(typeof WarmPoolState === "object"); assert(typeof WarmPoolStatus === "object"); // errors +assert(ActiveInstanceRefreshNotFoundFault.prototype instanceof AutoScalingServiceException); +assert(AlreadyExistsFault.prototype instanceof AutoScalingServiceException); +assert(IdempotentParameterMismatchError.prototype instanceof AutoScalingServiceException); +assert(InstanceRefreshInProgressFault.prototype instanceof AutoScalingServiceException); +assert(InvalidNextToken.prototype instanceof AutoScalingServiceException); +assert(IrreversibleInstanceRefreshFault.prototype instanceof AutoScalingServiceException); +assert(LimitExceededFault.prototype instanceof AutoScalingServiceException); +assert(ResourceContentionFault.prototype instanceof AutoScalingServiceException); +assert(ResourceInUseFault.prototype instanceof AutoScalingServiceException); +assert(ScalingActivityInProgressFault.prototype instanceof AutoScalingServiceException); +assert(ServiceLinkedRoleFailure.prototype instanceof AutoScalingServiceException); assert(AutoScalingServiceException.prototype instanceof Error); // waiters assert(typeof waitForGroupExists === "function"); diff --git a/clients/client-auto-scaling/test/index-types.ts b/clients/client-auto-scaling/test/index-types.ts index 047d99cfa466..7b924bd54cdd 100644 --- a/clients/client-auto-scaling/test/index-types.ts +++ b/clients/client-auto-scaling/test/index-types.ts @@ -422,6 +422,17 @@ export type { UpdateAutoScalingGroupType, VCpuCountRequest, WarmPoolConfiguration, + ActiveInstanceRefreshNotFoundFault, + AlreadyExistsFault, + IdempotentParameterMismatchError, + InstanceRefreshInProgressFault, + InvalidNextToken, + IrreversibleInstanceRefreshFault, + LimitExceededFault, + ResourceContentionFault, + ResourceInUseFault, + ScalingActivityInProgressFault, + ServiceLinkedRoleFailure, AutoScalingServiceException, waitForGroupExists, waitForGroupInService, diff --git a/clients/client-b2bi/test/index-objects.spec.mjs b/clients/client-b2bi/test/index-objects.spec.mjs index 4e5f6c64b675..88b68ec294c6 100644 --- a/clients/client-b2bi/test/index-objects.spec.mjs +++ b/clients/client-b2bi/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, B2bi, B2biClient, B2biServiceException, CapabilityDirection, CapabilityType, + ConflictException, ConversionSourceFormat, ConversionTargetFormat, CreateCapabilityCommand, @@ -24,6 +26,7 @@ import { GetProfileCommand, GetTransformerCommand, GetTransformerJobCommand, + InternalServerException, LineTerminator, ListCapabilitiesCommand, ListPartnershipsCommand, @@ -33,11 +36,14 @@ import { Logging, MappingTemplateLanguage, MappingType, + ResourceNotFoundException, + ServiceQuotaExceededException, StartTransformerJobCommand, TagResourceCommand, TestConversionCommand, TestMappingCommand, TestParsingCommand, + ThrottlingException, ToFormat, TransformerJobStatus, TransformerStatus, @@ -46,6 +52,7 @@ import { UpdatePartnershipCommand, UpdateProfileCommand, UpdateTransformerCommand, + ValidationException, WrapFormat, X12FunctionalAcknowledgment, X12GS05TimeFormat, @@ -118,6 +125,13 @@ assert(typeof X12TechnicalAcknowledgment === "object"); assert(typeof X12TransactionSet === "object"); assert(typeof X12Version === "object"); // errors +assert(AccessDeniedException.prototype instanceof B2biServiceException); +assert(ConflictException.prototype instanceof B2biServiceException); +assert(InternalServerException.prototype instanceof B2biServiceException); +assert(ResourceNotFoundException.prototype instanceof B2biServiceException); +assert(ServiceQuotaExceededException.prototype instanceof B2biServiceException); +assert(ThrottlingException.prototype instanceof B2biServiceException); +assert(ValidationException.prototype instanceof B2biServiceException); assert(B2biServiceException.prototype instanceof Error); // waiters assert(typeof waitForTransformerJobSucceeded === "function"); diff --git a/clients/client-b2bi/test/index-types.ts b/clients/client-b2bi/test/index-types.ts index f8c2d8079336..50e0e31c64f7 100644 --- a/clients/client-b2bi/test/index-types.ts +++ b/clients/client-b2bi/test/index-types.ts @@ -209,6 +209,13 @@ export type { X12SplitOptions, X12ValidationOptions, X12ValidationRule, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, B2biServiceException, waitForTransformerJobSucceeded, waitUntilTransformerJobSucceeded, diff --git a/clients/client-backup-gateway/test/index-objects.spec.mjs b/clients/client-backup-gateway/test/index-objects.spec.mjs index b47e6cf267e1..49a2b1a8411e 100644 --- a/clients/client-backup-gateway/test/index-objects.spec.mjs +++ b/clients/client-backup-gateway/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, AssociateGatewayToServerCommand, BackupGateway, BackupGatewayClient, BackupGatewayServiceException, + ConflictException, CreateGatewayCommand, DeleteGatewayCommand, DeleteHypervisorCommand, @@ -15,6 +17,7 @@ import { GetVirtualMachineCommand, HypervisorState, ImportHypervisorConfigurationCommand, + InternalServerException, ListGatewaysCommand, ListHypervisorsCommand, ListTagsForResourceCommand, @@ -22,14 +25,17 @@ import { PutBandwidthRateLimitScheduleCommand, PutHypervisorPropertyMappingsCommand, PutMaintenanceStartTimeCommand, + ResourceNotFoundException, StartVirtualMachinesMetadataSyncCommand, SyncMetadataStatus, TagResourceCommand, TestHypervisorConfigurationCommand, + ThrottlingException, UntagResourceCommand, UpdateGatewayInformationCommand, UpdateGatewaySoftwareNowCommand, UpdateHypervisorCommand, + ValidationException, paginateListGateways, paginateListHypervisors, paginateListVirtualMachines, @@ -69,6 +75,12 @@ assert(typeof GatewayType === "object"); assert(typeof HypervisorState === "object"); assert(typeof SyncMetadataStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof BackupGatewayServiceException); +assert(ConflictException.prototype instanceof BackupGatewayServiceException); +assert(InternalServerException.prototype instanceof BackupGatewayServiceException); +assert(ResourceNotFoundException.prototype instanceof BackupGatewayServiceException); +assert(ThrottlingException.prototype instanceof BackupGatewayServiceException); +assert(ValidationException.prototype instanceof BackupGatewayServiceException); assert(BackupGatewayServiceException.prototype instanceof Error); // paginators assert(typeof paginateListGateways === "function"); diff --git a/clients/client-backup-gateway/test/index-types.ts b/clients/client-backup-gateway/test/index-types.ts index 30b8893d2117..4fe9ed2967a0 100644 --- a/clients/client-backup-gateway/test/index-types.ts +++ b/clients/client-backup-gateway/test/index-types.ts @@ -141,6 +141,12 @@ export type { VirtualMachineDetails, VmwareTag, VmwareToAwsTagMapping, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, BackupGatewayServiceException, paginateListGateways, paginateListHypervisors, diff --git a/clients/client-backup/test/index-objects.spec.mjs b/clients/client-backup/test/index-objects.spec.mjs index 7fb7f49e91cf..4fbd61282274 100644 --- a/clients/client-backup/test/index-objects.spec.mjs +++ b/clients/client-backup/test/index-objects.spec.mjs @@ -1,5 +1,6 @@ import { AggregationPeriod, + AlreadyExistsException, AssociateBackupVaultMpaApprovalTeamCommand, Backup, BackupClient, @@ -9,6 +10,7 @@ import { BackupVaultEvent, CancelLegalHoldCommand, ConditionType, + ConflictException, CopyJobState, CopyJobStatus, CreateBackupPlanCommand, @@ -34,6 +36,7 @@ import { DeleteRestoreTestingPlanCommand, DeleteRestoreTestingSelectionCommand, DeleteTieringConfigurationCommand, + DependencyFailureException, DescribeBackupJobCommand, DescribeBackupVaultCommand, DescribeCopyJobCommand, @@ -68,8 +71,12 @@ import { GetTieringConfigurationCommand, Index, IndexStatus, + InvalidParameterValueException, + InvalidRequestException, + InvalidResourceStateException, LegalHoldStatus, LifecycleDeleteAfterEvent, + LimitExceededException, ListBackupJobSummariesCommand, ListBackupJobsCommand, ListBackupPlanTemplatesCommand, @@ -100,6 +107,7 @@ import { ListTagsCommand, ListTieringConfigurationsCommand, MalwareScanner, + MissingParameterValueException, MpaRevokeSessionStatus, MpaSessionStatus, PutBackupVaultAccessPolicyCommand, @@ -107,6 +115,7 @@ import { PutBackupVaultNotificationsCommand, PutRestoreValidationResultCommand, RecoveryPointStatus, + ResourceNotFoundException, RestoreDeletionStatus, RestoreJobState, RestoreJobStatus, @@ -122,6 +131,7 @@ import { ScanResourceType, ScanResultStatus, ScanState, + ServiceUnavailableException, StartBackupJobCommand, StartCopyJobCommand, StartReportJobCommand, @@ -321,6 +331,16 @@ assert(typeof StorageClass === "object"); assert(typeof VaultState === "object"); assert(typeof VaultType === "object"); // errors +assert(AlreadyExistsException.prototype instanceof BackupServiceException); +assert(ConflictException.prototype instanceof BackupServiceException); +assert(DependencyFailureException.prototype instanceof BackupServiceException); +assert(InvalidParameterValueException.prototype instanceof BackupServiceException); +assert(InvalidRequestException.prototype instanceof BackupServiceException); +assert(InvalidResourceStateException.prototype instanceof BackupServiceException); +assert(LimitExceededException.prototype instanceof BackupServiceException); +assert(MissingParameterValueException.prototype instanceof BackupServiceException); +assert(ResourceNotFoundException.prototype instanceof BackupServiceException); +assert(ServiceUnavailableException.prototype instanceof BackupServiceException); assert(BackupServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBackupJobSummaries === "function"); diff --git a/clients/client-backup/test/index-types.ts b/clients/client-backup/test/index-types.ts index bc5639e344b0..5be8bd4038ad 100644 --- a/clients/client-backup/test/index-types.ts +++ b/clients/client-backup/test/index-types.ts @@ -620,6 +620,16 @@ export type { UpdateRestoreTestingSelectionOutput, UpdateTieringConfigurationInput, UpdateTieringConfigurationOutput, + AlreadyExistsException, + ConflictException, + DependencyFailureException, + InvalidParameterValueException, + InvalidRequestException, + InvalidResourceStateException, + LimitExceededException, + MissingParameterValueException, + ResourceNotFoundException, + ServiceUnavailableException, BackupServiceException, paginateListBackupJobSummaries, paginateListBackupJobs, diff --git a/clients/client-backupsearch/src/schemas/schemas_0.ts b/clients/client-backupsearch/src/schemas/schemas_0.ts index ab261e99a536..9389a98d292b 100644 --- a/clients/client-backupsearch/src/schemas/schemas_0.ts +++ b/clients/client-backupsearch/src/schemas/schemas_0.ts @@ -443,7 +443,6 @@ export var UntagResourceRequest: StaticStructureSchema = [ export var UntagResourceResponse: StaticStructureSchema = [3, n0, _URRn, 0, [], []]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var BackupSearchServiceException: StaticErrorSchema = [-3, _sm, "BackupSearchServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(BackupSearchServiceException, __BackupSearchServiceException); export var EBSItemFilters: StaticListSchema = [1, n0, _EBSIFt, 0, () => EBSItemFilter]; diff --git a/clients/client-backupsearch/test/index-objects.spec.mjs b/clients/client-backupsearch/test/index-objects.spec.mjs index 7492fce86202..230b3c44d399 100644 --- a/clients/client-backupsearch/test/index-objects.spec.mjs +++ b/clients/client-backupsearch/test/index-objects.spec.mjs @@ -1,25 +1,32 @@ import { + AccessDeniedException, BackupSearch, BackupSearchClient, BackupSearchServiceException, + ConflictException, ExportJobStatus, GetSearchJobCommand, GetSearchResultExportJobCommand, + InternalServerException, ListSearchJobBackupsCommand, ListSearchJobResultsCommand, ListSearchJobsCommand, ListSearchResultExportJobsCommand, ListTagsForResourceCommand, LongConditionOperator, + ResourceNotFoundException, ResourceType, SearchJobState, + ServiceQuotaExceededException, StartSearchJobCommand, StartSearchResultExportJobCommand, StopSearchJobCommand, StringConditionOperator, TagResourceCommand, + ThrottlingException, TimeConditionOperator, UntagResourceCommand, + ValidationException, paginateListSearchJobBackups, paginateListSearchJobResults, paginateListSearchJobs, @@ -50,6 +57,13 @@ assert(typeof SearchJobState === "object"); assert(typeof StringConditionOperator === "object"); assert(typeof TimeConditionOperator === "object"); // errors +assert(AccessDeniedException.prototype instanceof BackupSearchServiceException); +assert(ConflictException.prototype instanceof BackupSearchServiceException); +assert(InternalServerException.prototype instanceof BackupSearchServiceException); +assert(ResourceNotFoundException.prototype instanceof BackupSearchServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BackupSearchServiceException); +assert(ThrottlingException.prototype instanceof BackupSearchServiceException); +assert(ValidationException.prototype instanceof BackupSearchServiceException); assert(BackupSearchServiceException.prototype instanceof Error); // paginators assert(typeof paginateListSearchJobBackups === "function"); diff --git a/clients/client-backupsearch/test/index-types.ts b/clients/client-backupsearch/test/index-types.ts index 5a56c8d4c693..598b057dc6c6 100644 --- a/clients/client-backupsearch/test/index-types.ts +++ b/clients/client-backupsearch/test/index-types.ts @@ -86,6 +86,13 @@ export type { TimeCondition, UntagResourceRequest, UntagResourceResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, BackupSearchServiceException, paginateListSearchJobBackups, paginateListSearchJobResults, diff --git a/clients/client-batch/src/schemas/schemas_0.ts b/clients/client-batch/src/schemas/schemas_0.ts index 920d71c336ef..4cd14b6111f0 100644 --- a/clients/client-batch/src/schemas/schemas_0.ts +++ b/clients/client-batch/src/schemas/schemas_0.ts @@ -1733,7 +1733,6 @@ export var Volume: StaticStructureSchema = [ [_h, _n, _eVC], [() => Host, 0, () => EFSVolumeConfiguration], ]; -export var __Unit = "unit" as const; export var BatchServiceException: StaticErrorSchema = [-3, _sm, "BatchServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(BatchServiceException, __BatchServiceException); export var AttemptDetails: StaticListSchema = [1, n0, _ADt, 0, () => AttemptDetail]; diff --git a/clients/client-batch/test/index-objects.spec.mjs b/clients/client-batch/test/index-objects.spec.mjs index 5df9b5e1aec1..beda335fa7d3 100644 --- a/clients/client-batch/test/index-objects.spec.mjs +++ b/clients/client-batch/test/index-objects.spec.mjs @@ -11,6 +11,7 @@ import { CRType, CRUpdateAllocationStrategy, CancelJobCommand, + ClientException, CreateComputeEnvironmentCommand, CreateConsumableResourceCommand, CreateJobQueueCommand, @@ -54,6 +55,7 @@ import { RegisterJobDefinitionCommand, ResourceType, RetryAction, + ServerException, ServiceEnvironmentState, ServiceEnvironmentStatus, ServiceEnvironmentType, @@ -161,6 +163,8 @@ assert(typeof ServiceJobType === "object"); assert(typeof ServiceResourceIdName === "object"); assert(typeof UserdataType === "object"); // errors +assert(ClientException.prototype instanceof BatchServiceException); +assert(ServerException.prototype instanceof BatchServiceException); assert(BatchServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeComputeEnvironments === "function"); diff --git a/clients/client-batch/test/index-types.ts b/clients/client-batch/test/index-types.ts index 25ad708ed505..e48795208c6c 100644 --- a/clients/client-batch/test/index-types.ts +++ b/clients/client-batch/test/index-types.ts @@ -337,6 +337,8 @@ export type { UpdateServiceEnvironmentRequest, UpdateServiceEnvironmentResponse, Volume, + ClientException, + ServerException, BatchServiceException, paginateDescribeComputeEnvironments, paginateDescribeJobDefinitions, diff --git a/clients/client-bcm-dashboards/src/schemas/schemas_0.ts b/clients/client-bcm-dashboards/src/schemas/schemas_0.ts index 0560a20a5e42..ce9869966b5a 100644 --- a/clients/client-bcm-dashboards/src/schemas/schemas_0.ts +++ b/clients/client-bcm-dashboards/src/schemas/schemas_0.ts @@ -279,7 +279,6 @@ export var WidgetConfig: StaticStructureSchema = [ [_qP, _dC], [() => QueryParameters, () => DisplayConfig], ]; -export var __Unit = "unit" as const; export var BCMDashboardsServiceException: StaticErrorSchema = [-3, _sm, "BCMDashboardsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(BCMDashboardsServiceException, __BCMDashboardsServiceException); export var DashboardReferenceList: StaticListSchema = [1, n0, _DRL, 0, () => DashboardReference]; diff --git a/clients/client-bcm-dashboards/test/index-objects.spec.mjs b/clients/client-bcm-dashboards/test/index-objects.spec.mjs index 613e2f3f8a15..f65ff973c9c3 100644 --- a/clients/client-bcm-dashboards/test/index-objects.spec.mjs +++ b/clients/client-bcm-dashboards/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, BCMDashboards, BCMDashboardsClient, BCMDashboardsServiceException, @@ -11,13 +12,18 @@ import { GetResourcePolicyCommand, Granularity, GroupDefinitionType, + InternalServerException, ListDashboardsCommand, ListTagsForResourceCommand, MatchOption, MetricName, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateDashboardCommand, + ValidationException, VisualType, paginateListDashboards, } from "../dist-cjs/index.js"; @@ -45,6 +51,12 @@ assert(typeof MatchOption === "object"); assert(typeof MetricName === "object"); assert(typeof VisualType === "object"); // errors +assert(AccessDeniedException.prototype instanceof BCMDashboardsServiceException); +assert(InternalServerException.prototype instanceof BCMDashboardsServiceException); +assert(ResourceNotFoundException.prototype instanceof BCMDashboardsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BCMDashboardsServiceException); +assert(ThrottlingException.prototype instanceof BCMDashboardsServiceException); +assert(ValidationException.prototype instanceof BCMDashboardsServiceException); assert(BCMDashboardsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDashboards === "function"); diff --git a/clients/client-bcm-dashboards/test/index-types.ts b/clients/client-bcm-dashboards/test/index-types.ts index cc32586ff76e..ee85c6764566 100644 --- a/clients/client-bcm-dashboards/test/index-types.ts +++ b/clients/client-bcm-dashboards/test/index-types.ts @@ -75,6 +75,12 @@ export type { UpdateDashboardResponse, Widget, WidgetConfig, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, BCMDashboardsServiceException, paginateListDashboards, } from "../dist-types/index.d"; diff --git a/clients/client-bcm-data-exports/src/schemas/schemas_0.ts b/clients/client-bcm-data-exports/src/schemas/schemas_0.ts index c517d9f8b107..fa327a8d62d7 100644 --- a/clients/client-bcm-data-exports/src/schemas/schemas_0.ts +++ b/clients/client-bcm-data-exports/src/schemas/schemas_0.ts @@ -265,7 +265,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_N, _M], [0, 0]]; -export var __Unit = "unit" as const; export var BCMDataExportsServiceException: StaticErrorSchema = [-3, _sm, "BCMDataExportsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(BCMDataExportsServiceException, __BCMDataExportsServiceException); export var ColumnList: StaticListSchema = [1, n0, _CL, 0, () => Column]; diff --git a/clients/client-bcm-data-exports/test/index-objects.spec.mjs b/clients/client-bcm-data-exports/test/index-objects.spec.mjs index e3d8c854baa9..8462d5482fb0 100644 --- a/clients/client-bcm-data-exports/test/index-objects.spec.mjs +++ b/clients/client-bcm-data-exports/test/index-objects.spec.mjs @@ -13,15 +13,21 @@ import { GetExecutionCommand, GetExportCommand, GetTableCommand, + InternalServerException, ListExecutionsCommand, ListExportsCommand, ListTablesCommand, ListTagsForResourceCommand, OverwriteOption, + ResourceNotFoundException, S3OutputType, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateExportCommand, + ValidationException, + ValidationExceptionReason, paginateListExecutions, paginateListExports, paginateListTables, @@ -52,7 +58,13 @@ assert(typeof FormatOption === "object"); assert(typeof FrequencyOption === "object"); assert(typeof OverwriteOption === "object"); assert(typeof S3OutputType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(InternalServerException.prototype instanceof BCMDataExportsServiceException); +assert(ResourceNotFoundException.prototype instanceof BCMDataExportsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BCMDataExportsServiceException); +assert(ThrottlingException.prototype instanceof BCMDataExportsServiceException); +assert(ValidationException.prototype instanceof BCMDataExportsServiceException); assert(BCMDataExportsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListExecutions === "function"); diff --git a/clients/client-bcm-data-exports/test/index-types.ts b/clients/client-bcm-data-exports/test/index-types.ts index 8e159e193eb6..398029eb06ca 100644 --- a/clients/client-bcm-data-exports/test/index-types.ts +++ b/clients/client-bcm-data-exports/test/index-types.ts @@ -46,6 +46,7 @@ export type { FrequencyOption, OverwriteOption, S3OutputType, + ValidationExceptionReason, Column, CreateExportRequest, CreateExportResponse, @@ -84,6 +85,12 @@ export type { UntagResourceResponse, UpdateExportRequest, UpdateExportResponse, + ValidationExceptionField, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, BCMDataExportsServiceException, paginateListExecutions, paginateListExports, diff --git a/clients/client-bcm-pricing-calculator/src/schemas/schemas_0.ts b/clients/client-bcm-pricing-calculator/src/schemas/schemas_0.ts index 5a5205fcee94..9b498d1d9a7b 100644 --- a/clients/client-bcm-pricing-calculator/src/schemas/schemas_0.ts +++ b/clients/client-bcm-pricing-calculator/src/schemas/schemas_0.ts @@ -1133,7 +1133,6 @@ export var WorkloadEstimateUsageItem: StaticStructureSchema = [ [0, 0, 0, 0, 0, 0, 0, () => WorkloadEstimateUsageQuantity, 1, 0, 0, () => HistoricalUsageEntity], ]; export var WorkloadEstimateUsageQuantity: StaticStructureSchema = [3, n0, _WEUQ, 0, [_un, _am], [0, 1]]; -export var __Unit = "unit" as const; export var BCMPricingCalculatorServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-bcm-pricing-calculator/test/index-objects.spec.mjs b/clients/client-bcm-pricing-calculator/test/index-objects.spec.mjs index 63c4abd0a921..08d8983b2e97 100644 --- a/clients/client-bcm-pricing-calculator/test/index-objects.spec.mjs +++ b/clients/client-bcm-pricing-calculator/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, BCMPricingCalculator, BCMPricingCalculatorClient, BCMPricingCalculatorServiceException, @@ -20,10 +21,12 @@ import { BatchUpdateWorkloadEstimateUsageCommand, BillEstimateStatus, BillScenarioStatus, + ConflictException, CreateBillEstimateCommand, CreateBillScenarioCommand, CreateWorkloadEstimateCommand, CurrencyCode, + DataUnavailableException, DeleteBillEstimateCommand, DeleteBillScenarioCommand, DeleteWorkloadEstimateCommand, @@ -32,6 +35,7 @@ import { GetPreferencesCommand, GetWorkloadEstimateCommand, GroupSharingPreferenceEnum, + InternalServerException, ListBillEstimateCommitmentsCommand, ListBillEstimateInputCommitmentModificationsCommand, ListBillEstimateInputUsageModificationsCommand, @@ -51,12 +55,17 @@ import { MatchOption, PurchaseAgreementType, RateType, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateBillEstimateCommand, UpdateBillScenarioCommand, UpdatePreferencesCommand, UpdateWorkloadEstimateCommand, + ValidationException, + ValidationExceptionReason, WorkloadEstimateCostStatus, WorkloadEstimateRateType, WorkloadEstimateStatus, @@ -133,11 +142,20 @@ assert(typeof ListWorkloadEstimatesFilterName === "object"); assert(typeof MatchOption === "object"); assert(typeof PurchaseAgreementType === "object"); assert(typeof RateType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof WorkloadEstimateCostStatus === "object"); assert(typeof WorkloadEstimateRateType === "object"); assert(typeof WorkloadEstimateStatus === "object"); assert(typeof WorkloadEstimateUpdateUsageErrorCode === "object"); // errors +assert(AccessDeniedException.prototype instanceof BCMPricingCalculatorServiceException); +assert(ConflictException.prototype instanceof BCMPricingCalculatorServiceException); +assert(DataUnavailableException.prototype instanceof BCMPricingCalculatorServiceException); +assert(InternalServerException.prototype instanceof BCMPricingCalculatorServiceException); +assert(ResourceNotFoundException.prototype instanceof BCMPricingCalculatorServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BCMPricingCalculatorServiceException); +assert(ThrottlingException.prototype instanceof BCMPricingCalculatorServiceException); +assert(ValidationException.prototype instanceof BCMPricingCalculatorServiceException); assert(BCMPricingCalculatorServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBillEstimateCommitments === "function"); diff --git a/clients/client-bcm-pricing-calculator/test/index-types.ts b/clients/client-bcm-pricing-calculator/test/index-types.ts index 4ba37fd0ef52..1f3051854469 100644 --- a/clients/client-bcm-pricing-calculator/test/index-types.ts +++ b/clients/client-bcm-pricing-calculator/test/index-types.ts @@ -129,6 +129,7 @@ export type { MatchOption, PurchaseAgreementType, RateType, + ValidationExceptionReason, WorkloadEstimateCostStatus, WorkloadEstimateRateType, WorkloadEstimateStatus, @@ -252,9 +253,18 @@ export type { UsageAmount, UsageQuantity, UsageQuantityResult, + ValidationExceptionField, WorkloadEstimateSummary, WorkloadEstimateUsageItem, WorkloadEstimateUsageQuantity, + AccessDeniedException, + ConflictException, + DataUnavailableException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, BCMPricingCalculatorServiceException, paginateListBillEstimateCommitments, paginateListBillEstimateInputCommitmentModifications, diff --git a/clients/client-bcm-recommended-actions/src/schemas/schemas_0.ts b/clients/client-bcm-recommended-actions/src/schemas/schemas_0.ts index 680a3a8ad583..a2e5f4b1357f 100644 --- a/clients/client-bcm-recommended-actions/src/schemas/schemas_0.ts +++ b/clients/client-bcm-recommended-actions/src/schemas/schemas_0.ts @@ -122,7 +122,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var BCMRecommendedActionsServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-bcm-recommended-actions/test/index-objects.spec.mjs b/clients/client-bcm-recommended-actions/test/index-objects.spec.mjs index 8a3f8016b0a0..3d0c24edc936 100644 --- a/clients/client-bcm-recommended-actions/test/index-objects.spec.mjs +++ b/clients/client-bcm-recommended-actions/test/index-objects.spec.mjs @@ -1,13 +1,18 @@ import { + AccessDeniedException, ActionType, BCMRecommendedActions, BCMRecommendedActionsClient, BCMRecommendedActionsServiceException, Feature, FilterName, + InternalServerException, ListRecommendedActionsCommand, MatchOption, Severity, + ThrottlingException, + ValidationException, + ValidationExceptionReason, paginateListRecommendedActions, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -22,7 +27,12 @@ assert(typeof Feature === "object"); assert(typeof FilterName === "object"); assert(typeof MatchOption === "object"); assert(typeof Severity === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof BCMRecommendedActionsServiceException); +assert(InternalServerException.prototype instanceof BCMRecommendedActionsServiceException); +assert(ThrottlingException.prototype instanceof BCMRecommendedActionsServiceException); +assert(ValidationException.prototype instanceof BCMRecommendedActionsServiceException); assert(BCMRecommendedActionsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListRecommendedActions === "function"); diff --git a/clients/client-bcm-recommended-actions/test/index-types.ts b/clients/client-bcm-recommended-actions/test/index-types.ts index 94432f8b7e0a..7de75caa4fe4 100644 --- a/clients/client-bcm-recommended-actions/test/index-types.ts +++ b/clients/client-bcm-recommended-actions/test/index-types.ts @@ -10,11 +10,17 @@ export type { FilterName, MatchOption, Severity, + ValidationExceptionReason, ActionFilter, ListRecommendedActionsRequest, ListRecommendedActionsResponse, RecommendedAction, RequestFilter, + ValidationExceptionField, + AccessDeniedException, + InternalServerException, + ThrottlingException, + ValidationException, BCMRecommendedActionsServiceException, paginateListRecommendedActions, } from "../dist-types/index.d"; diff --git a/clients/client-bedrock-agent-runtime/src/schemas/schemas_0.ts b/clients/client-bedrock-agent-runtime/src/schemas/schemas_0.ts index 10c5b5f1c2d5..65c34ce5b053 100644 --- a/clients/client-bedrock-agent-runtime/src/schemas/schemas_0.ts +++ b/clients/client-bedrock-agent-runtime/src/schemas/schemas_0.ts @@ -2462,7 +2462,6 @@ export var VectorSearchRerankingConfiguration: StaticStructureSchema = [ [0, [() => VectorSearchBedrockRerankingConfiguration, 0]], ]; export var VideoSegment: StaticStructureSchema = [3, n0, _VS, 0, [_sU, _su], [0, 0]]; -export var __Unit = "unit" as const; export var BedrockAgentRuntimeServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-bedrock-agent/src/schemas/schemas_0.ts b/clients/client-bedrock-agent/src/schemas/schemas_0.ts index c256416f6241..d7e03c1be269 100644 --- a/clients/client-bedrock-agent/src/schemas/schemas_0.ts +++ b/clients/client-bedrock-agent/src/schemas/schemas_0.ts @@ -3212,7 +3212,6 @@ export var WebDataSourceConfiguration: StaticStructureSchema = [ [() => WebSourceConfiguration, [() => WebCrawlerConfiguration, 0]], ]; export var WebSourceConfiguration: StaticStructureSchema = [3, n0, _WSC, 0, [_uC], [() => UrlConfiguration]]; -export var __Unit = "unit" as const; export var BedrockAgentServiceException: StaticErrorSchema = [-3, _sm, "BedrockAgentServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(BedrockAgentServiceException, __BedrockAgentServiceException); export var ActionGroupSummaries: StaticListSchema = [1, n0, _AGSc, 0, () => ActionGroupSummary]; diff --git a/clients/client-bedrock-agent/test/index-objects.spec.mjs b/clients/client-bedrock-agent/test/index-objects.spec.mjs index 6f554fde58f5..2698ff17a155 100644 --- a/clients/client-bedrock-agent/test/index-objects.spec.mjs +++ b/clients/client-bedrock-agent/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ActionGroupSignature, ActionGroupState, AgentAliasStatus, @@ -13,6 +14,7 @@ import { CachePointType, ChunkingStrategy, ConcurrencyType, + ConflictException, ConfluenceAuthType, ConfluenceHostType, ContentDataSourceType, @@ -80,6 +82,7 @@ import { IngestionJobSortByAttribute, IngestionJobStatus, InlineContentType, + InternalServerException, KnowledgeBaseState, KnowledgeBaseStatus, KnowledgeBaseStorageType, @@ -119,7 +122,9 @@ import { RelayConversationHistory, RequireConfirmation, RerankingMetadataSelectionMode, + ResourceNotFoundException, SalesforceAuthType, + ServiceQuotaExceededException, SharePointAuthType, SharePointHostType, SortOrder, @@ -129,6 +134,7 @@ import { SupplementalDataStorageLocationType, SupportedLanguages, TagResourceCommand, + ThrottlingException, Type, UntagResourceCommand, UpdateAgentActionGroupCommand, @@ -142,6 +148,7 @@ import { UpdateKnowledgeBaseCommand, UpdatePromptCommand, ValidateFlowDefinitionCommand, + ValidationException, VectorSearchRerankingConfigurationType, WebScopeType, paginateListAgentActionGroups, @@ -308,6 +315,13 @@ assert(typeof Type === "object"); assert(typeof VectorSearchRerankingConfigurationType === "object"); assert(typeof WebScopeType === "object"); // errors +assert(AccessDeniedException.prototype instanceof BedrockAgentServiceException); +assert(ConflictException.prototype instanceof BedrockAgentServiceException); +assert(InternalServerException.prototype instanceof BedrockAgentServiceException); +assert(ResourceNotFoundException.prototype instanceof BedrockAgentServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BedrockAgentServiceException); +assert(ThrottlingException.prototype instanceof BedrockAgentServiceException); +assert(ValidationException.prototype instanceof BedrockAgentServiceException); assert(BedrockAgentServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAgentActionGroups === "function"); diff --git a/clients/client-bedrock-agent/test/index-types.ts b/clients/client-bedrock-agent/test/index-types.ts index de279d483611..dffe5f6388db 100644 --- a/clients/client-bedrock-agent/test/index-types.ts +++ b/clients/client-bedrock-agent/test/index-types.ts @@ -660,6 +660,7 @@ export type { UrlConfiguration, ValidateFlowDefinitionRequest, ValidateFlowDefinitionResponse, + ValidationExceptionField, VectorIngestionConfiguration, VectorKnowledgeBaseConfiguration, VectorSearchBedrockRerankingConfiguration, @@ -671,6 +672,13 @@ export type { WebCrawlerLimits, WebDataSourceConfiguration, WebSourceConfiguration, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, BedrockAgentServiceException, paginateListAgentActionGroups, paginateListAgentAliases, diff --git a/clients/client-bedrock-agentcore-control/src/schemas/schemas_0.ts b/clients/client-bedrock-agentcore-control/src/schemas/schemas_0.ts index 579ee82ceb35..27980a51b4a7 100644 --- a/clients/client-bedrock-agentcore-control/src/schemas/schemas_0.ts +++ b/clients/client-bedrock-agentcore-control/src/schemas/schemas_0.ts @@ -2855,7 +2855,6 @@ export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_ export var VpcConfig: StaticStructureSchema = [3, n0, _VC, 0, [_sG, _su], [64 | 0, 64 | 0]]; export var WorkloadIdentityDetails: StaticStructureSchema = [3, n0, _WID, 0, [_wIA], [0]]; export var WorkloadIdentityType: StaticStructureSchema = [3, n0, _WIT, 0, [_n, _wIA], [0, 0]]; -export var __Unit = "unit" as const; export var BedrockAgentCoreControlServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-bedrock-agentcore-control/test/index-objects.spec.mjs b/clients/client-bedrock-agentcore-control/test/index-objects.spec.mjs index 5e4e7dc00459..f8c7f71d70ff 100644 --- a/clients/client-bedrock-agentcore-control/test/index-objects.spec.mjs +++ b/clients/client-bedrock-agentcore-control/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, @@ -12,6 +13,8 @@ import { ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, + ConcurrentModificationException, + ConflictException, CreateAgentRuntimeCommand, CreateAgentRuntimeEndpointCommand, CreateApiKeyCredentialProviderCommand, @@ -28,6 +31,7 @@ import { CreateWorkloadIdentityCommand, CredentialProviderType, CredentialProviderVendorType, + DecryptionFailure, DeleteAgentRuntimeCommand, DeleteAgentRuntimeEndpointCommand, DeleteApiKeyCredentialProviderCommand, @@ -43,6 +47,7 @@ import { DeletePolicyEngineCommand, DeleteResourcePolicyCommand, DeleteWorkloadIdentityCommand, + EncryptionFailure, EvaluatorLevel, EvaluatorStatus, EvaluatorType, @@ -71,6 +76,7 @@ import { GetTokenVaultCommand, GetWorkloadIdentityCommand, InboundTokenClaimValueType, + InternalServerException, KeyType, ListAgentRuntimeEndpointsCommand, ListAgentRuntimeVersionsCommand, @@ -103,16 +109,23 @@ import { PolicyStatus, PolicyValidationMode, PutResourcePolicyCommand, + ResourceLimitExceededException, + ResourceNotFoundException, ResourceType, RestApiMethod, SchemaType, SearchType, ServerProtocol, + ServiceException, + ServiceQuotaExceededException, SetTokenVaultCMKCommand, StartPolicyGenerationCommand, SynchronizeGatewayTargetsCommand, TagResourceCommand, TargetStatus, + ThrottledException, + ThrottlingException, + UnauthorizedException, UntagResourceCommand, UpdateAgentRuntimeCommand, UpdateAgentRuntimeEndpointCommand, @@ -126,6 +139,8 @@ import { UpdatePolicyCommand, UpdatePolicyEngineCommand, UpdateWorkloadIdentityCommand, + ValidationException, + ValidationExceptionReason, paginateListAgentRuntimeEndpoints, paginateListAgentRuntimeVersions, paginateListAgentRuntimes, @@ -286,7 +301,22 @@ assert(typeof SchemaType === "object"); assert(typeof SearchType === "object"); assert(typeof ServerProtocol === "object"); assert(typeof TargetStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(ConcurrentModificationException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(ConflictException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(DecryptionFailure.prototype instanceof BedrockAgentCoreControlServiceException); +assert(EncryptionFailure.prototype instanceof BedrockAgentCoreControlServiceException); +assert(InternalServerException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(ResourceLimitExceededException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(ResourceNotFoundException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(ServiceException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(ThrottledException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(ThrottlingException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(UnauthorizedException.prototype instanceof BedrockAgentCoreControlServiceException); +assert(ValidationException.prototype instanceof BedrockAgentCoreControlServiceException); assert(BedrockAgentCoreControlServiceException.prototype instanceof Error); // waiters assert(typeof waitForMemoryCreated === "function"); diff --git a/clients/client-bedrock-agentcore-control/test/index-types.ts b/clients/client-bedrock-agentcore-control/test/index-types.ts index c0c9bee73976..881c799a6391 100644 --- a/clients/client-bedrock-agentcore-control/test/index-types.ts +++ b/clients/client-bedrock-agentcore-control/test/index-types.ts @@ -290,6 +290,7 @@ export type { SearchType, ServerProtocol, TargetStatus, + ValidationExceptionReason, AgentRuntime, AgentRuntimeArtifact, AgentRuntimeEndpoint, @@ -622,9 +623,24 @@ export type { UserPreferenceOverrideConfigurationInput, UserPreferenceOverrideConsolidationConfigurationInput, UserPreferenceOverrideExtractionConfigurationInput, + ValidationExceptionField, VpcConfig, WorkloadIdentityDetails, WorkloadIdentityType, + AccessDeniedException, + ConcurrentModificationException, + ConflictException, + DecryptionFailure, + EncryptionFailure, + InternalServerException, + ResourceLimitExceededException, + ResourceNotFoundException, + ServiceException, + ServiceQuotaExceededException, + ThrottledException, + ThrottlingException, + UnauthorizedException, + ValidationException, BedrockAgentCoreControlServiceException, waitForMemoryCreated, waitForPolicyActive, diff --git a/clients/client-bedrock-agentcore/src/schemas/schemas_0.ts b/clients/client-bedrock-agentcore/src/schemas/schemas_0.ts index 39c407336ea4..fa64a8416f49 100644 --- a/clients/client-bedrock-agentcore/src/schemas/schemas_0.ts +++ b/clients/client-bedrock-agentcore/src/schemas/schemas_0.ts @@ -1163,7 +1163,6 @@ export var ValidationException: StaticErrorSchema = [ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; export var ViewPort: StaticStructureSchema = [3, n0, _VP, 0, [_w, _h], [1, 1]]; -export var __Unit = "unit" as const; export var BedrockAgentCoreServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-bedrock-agentcore/test/index-objects.spec.mjs b/clients/client-bedrock-agentcore/test/index-objects.spec.mjs index bf5772efa2e7..fac93b8a6056 100644 --- a/clients/client-bedrock-agentcore/test/index-objects.spec.mjs +++ b/clients/client-bedrock-agentcore/test/index-objects.spec.mjs @@ -15,6 +15,7 @@ import { CreateEventCommand, DeleteEventCommand, DeleteMemoryRecordCommand, + DuplicateIdException, EvaluateCommand, ExtractionJobStatus, GetAgentCardCommand, @@ -28,6 +29,7 @@ import { GetWorkloadAccessTokenForJWTCommand, GetWorkloadAccessTokenForUserIdCommand, InternalServerException, + InvalidInputException, InvokeAgentRuntimeCommand, InvokeCodeInterpreterCommand, ListActorsCommand, @@ -45,6 +47,8 @@ import { ResourceNotFoundException, RetrieveMemoryRecordsCommand, Role, + RuntimeClientError, + ServiceException, ServiceQuotaExceededException, SessionStatus, StartBrowserSessionCommand, @@ -54,8 +58,10 @@ import { StopCodeInterpreterSessionCommand, StopRuntimeSessionCommand, TaskStatus, + ThrottledException, ThrottlingException, ToolName, + UnauthorizedException, UpdateBrowserStreamCommand, ValidationException, ValidationExceptionReason, @@ -125,10 +131,16 @@ assert(typeof ValidationExceptionReason === "object"); // errors assert(AccessDeniedException.prototype instanceof BedrockAgentCoreServiceException); assert(ConflictException.prototype instanceof BedrockAgentCoreServiceException); +assert(DuplicateIdException.prototype instanceof BedrockAgentCoreServiceException); assert(InternalServerException.prototype instanceof BedrockAgentCoreServiceException); +assert(InvalidInputException.prototype instanceof BedrockAgentCoreServiceException); assert(ResourceNotFoundException.prototype instanceof BedrockAgentCoreServiceException); +assert(RuntimeClientError.prototype instanceof BedrockAgentCoreServiceException); +assert(ServiceException.prototype instanceof BedrockAgentCoreServiceException); assert(ServiceQuotaExceededException.prototype instanceof BedrockAgentCoreServiceException); +assert(ThrottledException.prototype instanceof BedrockAgentCoreServiceException); assert(ThrottlingException.prototype instanceof BedrockAgentCoreServiceException); +assert(UnauthorizedException.prototype instanceof BedrockAgentCoreServiceException); assert(ValidationException.prototype instanceof BedrockAgentCoreServiceException); assert(BedrockAgentCoreServiceException.prototype instanceof Error); // paginators diff --git a/clients/client-bedrock-agentcore/test/index-types.ts b/clients/client-bedrock-agentcore/test/index-types.ts index 75bd0b57c0b8..14ffc7f00445 100644 --- a/clients/client-bedrock-agentcore/test/index-types.ts +++ b/clients/client-bedrock-agentcore/test/index-types.ts @@ -244,10 +244,16 @@ export type { ViewPort, AccessDeniedException, ConflictException, + DuplicateIdException, InternalServerException, + InvalidInputException, ResourceNotFoundException, + RuntimeClientError, + ServiceException, ServiceQuotaExceededException, + ThrottledException, ThrottlingException, + UnauthorizedException, ValidationException, BedrockAgentCoreServiceException, paginateListActors, diff --git a/clients/client-bedrock-data-automation-runtime/src/schemas/schemas_0.ts b/clients/client-bedrock-data-automation-runtime/src/schemas/schemas_0.ts index 9b30e909948f..2b5b29e4bae5 100644 --- a/clients/client-bedrock-data-automation-runtime/src/schemas/schemas_0.ts +++ b/clients/client-bedrock-data-automation-runtime/src/schemas/schemas_0.ts @@ -215,7 +215,6 @@ export var VideoAssetProcessingConfiguration: StaticStructureSchema = [ [_sC], [() => VideoSegmentConfiguration], ]; -export var __Unit = "unit" as const; export var BedrockDataAutomationRuntimeServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-bedrock-data-automation-runtime/test/index-objects.spec.mjs b/clients/client-bedrock-data-automation-runtime/test/index-objects.spec.mjs index efa0ac359aa6..7fcd6ca4548b 100644 --- a/clients/client-bedrock-data-automation-runtime/test/index-objects.spec.mjs +++ b/clients/client-bedrock-data-automation-runtime/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AutomationJobStatus, BedrockDataAutomationRuntime, BedrockDataAutomationRuntimeClient, @@ -7,12 +8,18 @@ import { CustomOutputStatus, DataAutomationStage, GetDataAutomationStatusCommand, + InternalServerException, InvokeDataAutomationAsyncCommand, InvokeDataAutomationCommand, ListTagsForResourceCommand, + ResourceNotFoundException, SemanticModality, + ServiceQuotaExceededException, + ServiceUnavailableException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, + ValidationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -32,5 +39,12 @@ assert(typeof CustomOutputStatus === "object"); assert(typeof DataAutomationStage === "object"); assert(typeof SemanticModality === "object"); // errors +assert(AccessDeniedException.prototype instanceof BedrockDataAutomationRuntimeServiceException); +assert(InternalServerException.prototype instanceof BedrockDataAutomationRuntimeServiceException); +assert(ResourceNotFoundException.prototype instanceof BedrockDataAutomationRuntimeServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BedrockDataAutomationRuntimeServiceException); +assert(ServiceUnavailableException.prototype instanceof BedrockDataAutomationRuntimeServiceException); +assert(ThrottlingException.prototype instanceof BedrockDataAutomationRuntimeServiceException); +assert(ValidationException.prototype instanceof BedrockDataAutomationRuntimeServiceException); assert(BedrockDataAutomationRuntimeServiceException.prototype instanceof Error); console.log(`BedrockDataAutomationRuntime index test passed.`); diff --git a/clients/client-bedrock-data-automation-runtime/test/index-types.ts b/clients/client-bedrock-data-automation-runtime/test/index-types.ts index 68be6e5af4bf..fb8f6d761129 100644 --- a/clients/client-bedrock-data-automation-runtime/test/index-types.ts +++ b/clients/client-bedrock-data-automation-runtime/test/index-types.ts @@ -51,5 +51,12 @@ export type { UntagResourceResponse, VideoAssetProcessingConfiguration, VideoSegmentConfiguration, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, + ThrottlingException, + ValidationException, BedrockDataAutomationRuntimeServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-bedrock-data-automation/src/schemas/schemas_0.ts b/clients/client-bedrock-data-automation/src/schemas/schemas_0.ts index 50055940865f..732513c14fcc 100644 --- a/clients/client-bedrock-data-automation/src/schemas/schemas_0.ts +++ b/clients/client-bedrock-data-automation/src/schemas/schemas_0.ts @@ -588,7 +588,6 @@ export var VideoStandardOutputConfiguration: StaticStructureSchema = [ [_ex, _gF], [() => VideoStandardExtraction, () => VideoStandardGenerativeField], ]; -export var __Unit = "unit" as const; export var BedrockDataAutomationServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-bedrock-data-automation/test/index-objects.spec.mjs b/clients/client-bedrock-data-automation/test/index-objects.spec.mjs index 22b6caf7f2c5..2dddca9ec80e 100644 --- a/clients/client-bedrock-data-automation/test/index-objects.spec.mjs +++ b/clients/client-bedrock-data-automation/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AudioExtractionCategoryType, AudioGenerativeOutputLanguage, AudioStandardGenerativeFieldType, @@ -7,6 +8,7 @@ import { BedrockDataAutomationServiceException, BlueprintStage, BlueprintStageFilter, + ConflictException, CreateBlueprintCommand, CreateBlueprintVersionCommand, CreateDataAutomationProjectCommand, @@ -23,21 +25,26 @@ import { GetDataAutomationProjectCommand, ImageExtractionCategoryType, ImageStandardGenerativeFieldType, + InternalServerException, Language, ListBlueprintsCommand, ListDataAutomationProjectsCommand, ListTagsForResourceCommand, PIIEntityType, PIIRedactionMaskMode, + ResourceNotFoundException, ResourceOwner, SensitiveDataDetectionMode, SensitiveDataDetectionScopeType, + ServiceQuotaExceededException, State, TagResourceCommand, + ThrottlingException, Type, UntagResourceCommand, UpdateBlueprintCommand, UpdateDataAutomationProjectCommand, + ValidationException, VideoExtractionCategoryType, VideoStandardGenerativeFieldType, paginateListBlueprints, @@ -88,6 +95,13 @@ assert(typeof Type === "object"); assert(typeof VideoExtractionCategoryType === "object"); assert(typeof VideoStandardGenerativeFieldType === "object"); // errors +assert(AccessDeniedException.prototype instanceof BedrockDataAutomationServiceException); +assert(ConflictException.prototype instanceof BedrockDataAutomationServiceException); +assert(InternalServerException.prototype instanceof BedrockDataAutomationServiceException); +assert(ResourceNotFoundException.prototype instanceof BedrockDataAutomationServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BedrockDataAutomationServiceException); +assert(ThrottlingException.prototype instanceof BedrockDataAutomationServiceException); +assert(ValidationException.prototype instanceof BedrockDataAutomationServiceException); assert(BedrockDataAutomationServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBlueprints === "function"); diff --git a/clients/client-bedrock-data-automation/test/index-types.ts b/clients/client-bedrock-data-automation/test/index-types.ts index c7fc285101b4..7451fe480bba 100644 --- a/clients/client-bedrock-data-automation/test/index-types.ts +++ b/clients/client-bedrock-data-automation/test/index-types.ts @@ -138,12 +138,20 @@ export type { UpdateBlueprintResponse, UpdateDataAutomationProjectRequest, UpdateDataAutomationProjectResponse, + ValidationExceptionField, VideoBoundingBox, VideoExtractionCategory, VideoOverrideConfiguration, VideoStandardExtraction, VideoStandardGenerativeField, VideoStandardOutputConfiguration, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, BedrockDataAutomationServiceException, paginateListBlueprints, paginateListDataAutomationProjects, diff --git a/clients/client-bedrock-runtime/src/schemas/schemas_0.ts b/clients/client-bedrock-runtime/src/schemas/schemas_0.ts index 2f54ecf47c82..e79dcf1af60c 100644 --- a/clients/client-bedrock-runtime/src/schemas/schemas_0.ts +++ b/clients/client-bedrock-runtime/src/schemas/schemas_0.ts @@ -1185,7 +1185,6 @@ export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var VideoBlock: StaticStructureSchema = [3, n0, _VB, 0, [_f, _s], [0, () => VideoSource]]; export var WebLocation: StaticStructureSchema = [3, n0, _WL, 0, [_url, _do], [0, 0]]; -export var __Unit = "unit" as const; export var BedrockRuntimeServiceException: StaticErrorSchema = [-3, _sm, "BedrockRuntimeServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(BedrockRuntimeServiceException, __BedrockRuntimeServiceException); export var AdditionalModelResponseFieldPaths = 64 | 0; diff --git a/clients/client-bedrock-runtime/test/index-objects.spec.mjs b/clients/client-bedrock-runtime/test/index-objects.spec.mjs index 27a4d253cca7..0e820fce5d1a 100644 --- a/clients/client-bedrock-runtime/test/index-objects.spec.mjs +++ b/clients/client-bedrock-runtime/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ApplyGuardrailCommand, AsyncInvokeStatus, AudioFormat, @@ -6,6 +7,7 @@ import { BedrockRuntimeClient, BedrockRuntimeServiceException, CachePointType, + ConflictException, ConversationRole, ConverseCommand, ConverseStreamCommand, @@ -42,9 +44,13 @@ import { InvokeModelWithBidirectionalStreamCommand, InvokeModelWithResponseStreamCommand, ListAsyncInvokesCommand, + ModelErrorException, + ModelNotReadyException, ModelStreamErrorException, ModelTimeoutException, PerformanceConfigLatency, + ResourceNotFoundException, + ServiceQuotaExceededException, ServiceTierType, ServiceUnavailableException, SortAsyncInvocationBy, @@ -115,9 +121,15 @@ assert(typeof ToolUseType === "object"); assert(typeof Trace === "object"); assert(typeof VideoFormat === "object"); // errors +assert(AccessDeniedException.prototype instanceof BedrockRuntimeServiceException); +assert(ConflictException.prototype instanceof BedrockRuntimeServiceException); assert(InternalServerException.prototype instanceof BedrockRuntimeServiceException); +assert(ModelErrorException.prototype instanceof BedrockRuntimeServiceException); +assert(ModelNotReadyException.prototype instanceof BedrockRuntimeServiceException); assert(ModelStreamErrorException.prototype instanceof BedrockRuntimeServiceException); assert(ModelTimeoutException.prototype instanceof BedrockRuntimeServiceException); +assert(ResourceNotFoundException.prototype instanceof BedrockRuntimeServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BedrockRuntimeServiceException); assert(ServiceUnavailableException.prototype instanceof BedrockRuntimeServiceException); assert(ThrottlingException.prototype instanceof BedrockRuntimeServiceException); assert(ValidationException.prototype instanceof BedrockRuntimeServiceException); diff --git a/clients/client-bedrock-runtime/test/index-types.ts b/clients/client-bedrock-runtime/test/index-types.ts index 60e66c63dd12..34a9ee514cd9 100644 --- a/clients/client-bedrock-runtime/test/index-types.ts +++ b/clients/client-bedrock-runtime/test/index-types.ts @@ -222,9 +222,15 @@ export type { VideoBlock, VideoSource, WebLocation, + AccessDeniedException, + ConflictException, InternalServerException, + ModelErrorException, + ModelNotReadyException, ModelStreamErrorException, ModelTimeoutException, + ResourceNotFoundException, + ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, ValidationException, diff --git a/clients/client-bedrock/src/schemas/schemas_0.ts b/clients/client-bedrock/src/schemas/schemas_0.ts index 1bd45be54942..1a8a04d14c21 100644 --- a/clients/client-bedrock/src/schemas/schemas_0.ts +++ b/clients/client-bedrock/src/schemas/schemas_0.ts @@ -4137,7 +4137,6 @@ export var VectorSearchRerankingConfiguration: StaticStructureSchema = [ [0, [() => VectorSearchBedrockRerankingConfiguration, 0]], ]; export var VpcConfig: StaticStructureSchema = [3, n0, _VC, 0, [_sI, _sGI], [64 | 0, 64 | 0]]; -export var __Unit = "unit" as const; export var BedrockServiceException: StaticErrorSchema = [-3, _sm, "BedrockServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(BedrockServiceException, __BedrockServiceException); export var AccountEnforcedGuardrailsOutputConfiguration: StaticListSchema = [ diff --git a/clients/client-bedrock/test/index-objects.spec.mjs b/clients/client-bedrock/test/index-objects.spec.mjs index 8b3ef3a4922b..2daf35cf8195 100644 --- a/clients/client-bedrock/test/index-objects.spec.mjs +++ b/clients/client-bedrock/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AgreementStatus, ApplicationType, AttributeType, @@ -20,6 +21,7 @@ import { CancelAutomatedReasoningPolicyBuildWorkflowCommand, CommitmentDuration, ConfigurationOwner, + ConflictException, CreateAutomatedReasoningPolicyCommand, CreateAutomatedReasoningPolicyTestCaseCommand, CreateAutomatedReasoningPolicyVersionCommand, @@ -106,6 +108,7 @@ import { InferenceProfileType, InferenceType, InputTags, + InternalServerException, JobStatusDetails, ListAutomatedReasoningPoliciesCommand, ListAutomatedReasoningPolicyBuildWorkflowsCommand, @@ -148,9 +151,13 @@ import { RegionAvailability, RegisterMarketplaceModelEndpointCommand, RerankingMetadataSelectionMode, + ResourceInUseException, + ResourceNotFoundException, RetrieveAndGenerateType, S3InputFormat, SearchType, + ServiceQuotaExceededException, + ServiceUnavailableException, SortByProvisionedModels, SortJobsBy, SortModelsBy, @@ -162,6 +169,8 @@ import { StopModelCustomizationJobCommand, StopModelInvocationJobCommand, TagResourceCommand, + ThrottlingException, + TooManyTagsException, UntagResourceCommand, UpdateAutomatedReasoningPolicyAnnotationsCommand, UpdateAutomatedReasoningPolicyCommand, @@ -170,6 +179,7 @@ import { UpdateGuardrailCommand, UpdateMarketplaceModelEndpointCommand, UpdateProvisionedModelThroughputCommand, + ValidationException, VectorSearchRerankingConfigurationType, paginateListAutomatedReasoningPolicies, paginateListAutomatedReasoningPolicyBuildWorkflows, @@ -366,6 +376,16 @@ assert(typeof SortOrder === "object"); assert(typeof Status === "object"); assert(typeof VectorSearchRerankingConfigurationType === "object"); // errors +assert(AccessDeniedException.prototype instanceof BedrockServiceException); +assert(ConflictException.prototype instanceof BedrockServiceException); +assert(InternalServerException.prototype instanceof BedrockServiceException); +assert(ResourceInUseException.prototype instanceof BedrockServiceException); +assert(ResourceNotFoundException.prototype instanceof BedrockServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BedrockServiceException); +assert(ServiceUnavailableException.prototype instanceof BedrockServiceException); +assert(ThrottlingException.prototype instanceof BedrockServiceException); +assert(TooManyTagsException.prototype instanceof BedrockServiceException); +assert(ValidationException.prototype instanceof BedrockServiceException); assert(BedrockServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAutomatedReasoningPolicies === "function"); diff --git a/clients/client-bedrock/test/index-types.ts b/clients/client-bedrock/test/index-types.ts index 066ab22eaa8b..71426eca45c5 100644 --- a/clients/client-bedrock/test/index-types.ts +++ b/clients/client-bedrock/test/index-types.ts @@ -792,6 +792,16 @@ export type { VectorSearchBedrockRerankingModelConfiguration, VectorSearchRerankingConfiguration, VpcConfig, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceInUseException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, + ThrottlingException, + TooManyTagsException, + ValidationException, BedrockServiceException, paginateListAutomatedReasoningPolicies, paginateListAutomatedReasoningPolicyBuildWorkflows, diff --git a/clients/client-billing/src/schemas/schemas_0.ts b/clients/client-billing/src/schemas/schemas_0.ts index 520a068c73a5..4a8184c07cdc 100644 --- a/clients/client-billing/src/schemas/schemas_0.ts +++ b/clients/client-billing/src/schemas/schemas_0.ts @@ -329,7 +329,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var BillingServiceException: StaticErrorSchema = [-3, _sm, "BillingServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(BillingServiceException, __BillingServiceException); export var BillingViewArnList = 64 | 0; diff --git a/clients/client-billing/test/index-objects.spec.mjs b/clients/client-billing/test/index-objects.spec.mjs index 31f232491857..36013714d4e0 100644 --- a/clients/client-billing/test/index-objects.spec.mjs +++ b/clients/client-billing/test/index-objects.spec.mjs @@ -1,24 +1,33 @@ import { + AccessDeniedException, AssociateSourceViewsCommand, Billing, BillingClient, BillingServiceException, + BillingViewHealthStatusException, BillingViewStatus, BillingViewStatusReason, BillingViewType, + ConflictException, CreateBillingViewCommand, DeleteBillingViewCommand, Dimension, DisassociateSourceViewsCommand, GetBillingViewCommand, GetResourcePolicyCommand, + InternalServerException, ListBillingViewsCommand, ListSourceViewsForBillingViewCommand, ListTagsForResourceCommand, + ResourceNotFoundException, SearchOption, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateBillingViewCommand, + ValidationException, + ValidationExceptionReason, paginateListBillingViews, paginateListSourceViewsForBillingView, } from "../dist-cjs/index.js"; @@ -45,7 +54,16 @@ assert(typeof BillingViewStatusReason === "object"); assert(typeof BillingViewType === "object"); assert(typeof Dimension === "object"); assert(typeof SearchOption === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof BillingServiceException); +assert(BillingViewHealthStatusException.prototype instanceof BillingServiceException); +assert(ConflictException.prototype instanceof BillingServiceException); +assert(InternalServerException.prototype instanceof BillingServiceException); +assert(ResourceNotFoundException.prototype instanceof BillingServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BillingServiceException); +assert(ThrottlingException.prototype instanceof BillingServiceException); +assert(ValidationException.prototype instanceof BillingServiceException); assert(BillingServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBillingViews === "function"); diff --git a/clients/client-billing/test/index-types.ts b/clients/client-billing/test/index-types.ts index 7e17e51dac8e..68ca71d97ab8 100644 --- a/clients/client-billing/test/index-types.ts +++ b/clients/client-billing/test/index-types.ts @@ -43,6 +43,7 @@ export type { BillingViewType, Dimension, SearchOption, + ValidationExceptionReason, ActiveTimeRange, AssociateSourceViewsRequest, AssociateSourceViewsResponse, @@ -77,6 +78,15 @@ export type { UntagResourceResponse, UpdateBillingViewRequest, UpdateBillingViewResponse, + ValidationExceptionField, + AccessDeniedException, + BillingViewHealthStatusException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, BillingServiceException, paginateListBillingViews, paginateListSourceViewsForBillingView, diff --git a/clients/client-billingconductor/src/schemas/schemas_0.ts b/clients/client-billingconductor/src/schemas/schemas_0.ts index 98166b040a32..c7ab57ad5965 100644 --- a/clients/client-billingconductor/src/schemas/schemas_0.ts +++ b/clients/client-billingconductor/src/schemas/schemas_0.ts @@ -1030,7 +1030,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_N, _M], [0, 0]]; -export var __Unit = "unit" as const; export var BillingconductorServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-billingconductor/test/index-objects.spec.mjs b/clients/client-billingconductor/test/index-objects.spec.mjs index ab0a4bfcd35a..59e935b066cb 100644 --- a/clients/client-billingconductor/test/index-objects.spec.mjs +++ b/clients/client-billingconductor/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AssociateAccountsCommand, AssociatePricingRulesCommand, AssociateResourceErrorReason, @@ -10,6 +11,8 @@ import { BillingconductorClient, BillingconductorServiceException, ComputationRuleEnum, + ConflictException, + ConflictExceptionReason, CreateBillingGroupCommand, CreateCustomLineItemCommand, CreatePricingPlanCommand, @@ -25,6 +28,7 @@ import { DisassociatePricingRulesCommand, GetBillingGroupCostReportCommand, GroupByAttributeName, + InternalServerException, LineItemFilterAttributeName, LineItemFilterValue, ListAccountAssociationsCommand, @@ -41,13 +45,18 @@ import { MatchOption, PricingRuleScope, PricingRuleType, + ResourceNotFoundException, SearchOption, + ServiceLimitExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateBillingGroupCommand, UpdateCustomLineItemCommand, UpdatePricingPlanCommand, UpdatePricingRuleCommand, + ValidationException, + ValidationExceptionReason, paginateGetBillingGroupCostReport, paginateListAccountAssociations, paginateListBillingGroupCostReports, @@ -102,6 +111,7 @@ assert(typeof AssociateResourceErrorReason === "object"); assert(typeof BillingGroupStatus === "object"); assert(typeof BillingGroupType === "object"); assert(typeof ComputationRuleEnum === "object"); +assert(typeof ConflictExceptionReason === "object"); assert(typeof CurrencyCode === "object"); assert(typeof CustomLineItemRelationship === "object"); assert(typeof CustomLineItemType === "object"); @@ -112,7 +122,15 @@ assert(typeof MatchOption === "object"); assert(typeof PricingRuleScope === "object"); assert(typeof PricingRuleType === "object"); assert(typeof SearchOption === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof BillingconductorServiceException); +assert(ConflictException.prototype instanceof BillingconductorServiceException); +assert(InternalServerException.prototype instanceof BillingconductorServiceException); +assert(ResourceNotFoundException.prototype instanceof BillingconductorServiceException); +assert(ServiceLimitExceededException.prototype instanceof BillingconductorServiceException); +assert(ThrottlingException.prototype instanceof BillingconductorServiceException); +assert(ValidationException.prototype instanceof BillingconductorServiceException); assert(BillingconductorServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetBillingGroupCostReport === "function"); diff --git a/clients/client-billingconductor/test/index-types.ts b/clients/client-billingconductor/test/index-types.ts index 717ced4f4c9c..fc358090c1be 100644 --- a/clients/client-billingconductor/test/index-types.ts +++ b/clients/client-billingconductor/test/index-types.ts @@ -102,6 +102,7 @@ export type { BillingGroupStatus, BillingGroupType, ComputationRuleEnum, + ConflictExceptionReason, CurrencyCode, CustomLineItemRelationship, CustomLineItemType, @@ -112,6 +113,7 @@ export type { PricingRuleScope, PricingRuleType, SearchOption, + ValidationExceptionReason, AccountAssociationsListElement, AccountGrouping, AssociateAccountsInput, @@ -222,6 +224,14 @@ export type { UpdatePricingRuleInput, UpdatePricingRuleOutput, UpdateTieringInput, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceLimitExceededException, + ThrottlingException, + ValidationException, BillingconductorServiceException, paginateGetBillingGroupCostReport, paginateListAccountAssociations, diff --git a/clients/client-braket/test/index-objects.spec.mjs b/clients/client-braket/test/index-objects.spec.mjs index d3beedb5fb52..45c2baee4b0d 100644 --- a/clients/client-braket/test/index-objects.spec.mjs +++ b/clients/client-braket/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AssociationType, Braket, BraketClient, @@ -7,10 +8,13 @@ import { CancelQuantumTaskCommand, CancellationStatus, CompressionType, + ConflictException, CreateJobCommand, CreateQuantumTaskCommand, CreateSpendingLimitCommand, DeleteSpendingLimitCommand, + DeviceOfflineException, + DeviceRetiredException, DeviceStatus, DeviceType, ExperimentalCapabilitiesEnablementType, @@ -18,6 +22,7 @@ import { GetJobCommand, GetQuantumTaskCommand, HybridJobAdditionalAttributeName, + InternalServiceException, JobEventType, JobPrimaryStatus, ListTagsForResourceCommand, @@ -25,6 +30,7 @@ import { QuantumTaskStatus, QueueName, QueuePriority, + ResourceNotFoundException, SearchDevicesCommand, SearchJobsCommand, SearchJobsFilterOperator, @@ -32,9 +38,13 @@ import { SearchQuantumTasksFilterOperator, SearchSpendingLimitsCommand, SearchSpendingLimitsFilterOperator, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateSpendingLimitCommand, + ValidationException, + ValidationExceptionReason, _InstanceType, paginateSearchDevices, paginateSearchJobs, @@ -81,7 +91,17 @@ assert(typeof QueuePriority === "object"); assert(typeof SearchJobsFilterOperator === "object"); assert(typeof SearchQuantumTasksFilterOperator === "object"); assert(typeof SearchSpendingLimitsFilterOperator === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof BraketServiceException); +assert(ConflictException.prototype instanceof BraketServiceException); +assert(DeviceOfflineException.prototype instanceof BraketServiceException); +assert(DeviceRetiredException.prototype instanceof BraketServiceException); +assert(InternalServiceException.prototype instanceof BraketServiceException); +assert(ResourceNotFoundException.prototype instanceof BraketServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BraketServiceException); +assert(ThrottlingException.prototype instanceof BraketServiceException); +assert(ValidationException.prototype instanceof BraketServiceException); assert(BraketServiceException.prototype instanceof Error); // paginators assert(typeof paginateSearchDevices === "function"); diff --git a/clients/client-braket/test/index-types.ts b/clients/client-braket/test/index-types.ts index 7e986c8677e6..8c7a2c897e22 100644 --- a/clients/client-braket/test/index-types.ts +++ b/clients/client-braket/test/index-types.ts @@ -70,6 +70,7 @@ export type { SearchJobsFilterOperator, SearchQuantumTasksFilterOperator, SearchSpendingLimitsFilterOperator, + ValidationExceptionReason, ActionMetadata, AlgorithmSpecification, Association, @@ -107,6 +108,7 @@ export type { JobSummary, ListTagsForResourceRequest, ListTagsForResourceResponse, + ProgramSetValidationFailure, QuantumTaskQueueInfo, QuantumTaskSummary, S3DataSource, @@ -131,6 +133,15 @@ export type { UntagResourceResponse, UpdateSpendingLimitRequest, UpdateSpendingLimitResponse, + AccessDeniedException, + ConflictException, + DeviceOfflineException, + DeviceRetiredException, + InternalServiceException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, BraketServiceException, paginateSearchDevices, paginateSearchJobs, diff --git a/clients/client-budgets/src/schemas/schemas_0.ts b/clients/client-budgets/src/schemas/schemas_0.ts index 3e224bb4e282..e63c18cb6466 100644 --- a/clients/client-budgets/src/schemas/schemas_0.ts +++ b/clients/client-budgets/src/schemas/schemas_0.ts @@ -647,7 +647,6 @@ export var UpdateSubscriberRequest: StaticStructureSchema = [ [0, 0, () => Notification, [() => Subscriber, 0], [() => Subscriber, 0]], ]; export var UpdateSubscriberResponse: StaticStructureSchema = [3, n0, _USRp, 0, [], []]; -export var __Unit = "unit" as const; export var BudgetsServiceException: StaticErrorSchema = [-3, _sm, "BudgetsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(BudgetsServiceException, __BudgetsServiceException); export var ActionHistories: StaticListSchema = [1, n0, _AHc, 0, [() => ActionHistory, 0]]; diff --git a/clients/client-budgets/test/index-objects.spec.mjs b/clients/client-budgets/test/index-objects.spec.mjs index bf88eb6a1856..5f1a05007666 100644 --- a/clients/client-budgets/test/index-objects.spec.mjs +++ b/clients/client-budgets/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, ActionStatus, ActionSubType, ActionType, ApprovalModel, AutoAdjustType, + BillingViewHealthStatusException, BudgetType, Budgets, BudgetsClient, @@ -13,6 +15,7 @@ import { CreateBudgetCommand, CreateNotificationCommand, CreateSubscriberCommand, + CreationLimitExceededException, DeleteBudgetActionCommand, DeleteBudgetCommand, DeleteNotificationCommand, @@ -28,19 +31,28 @@ import { DescribeNotificationsForBudgetCommand, DescribeSubscribersForNotificationCommand, Dimension, + DuplicateRecordException, EventType, ExecuteBudgetActionCommand, ExecutionType, + ExpiredNextTokenException, HealthStatusReason, HealthStatusValue, + InternalErrorException, + InvalidNextTokenException, + InvalidParameterException, ListTagsForResourceCommand, MatchOption, Metric, + NotFoundException, NotificationState, NotificationType, + ResourceLockedException, + ServiceQuotaExceededException, SubscriptionType, TagResourceCommand, ThresholdType, + ThrottlingException, TimeUnit, UntagResourceCommand, UpdateBudgetActionCommand, @@ -108,6 +120,18 @@ assert(typeof SubscriptionType === "object"); assert(typeof ThresholdType === "object"); assert(typeof TimeUnit === "object"); // errors +assert(AccessDeniedException.prototype instanceof BudgetsServiceException); +assert(BillingViewHealthStatusException.prototype instanceof BudgetsServiceException); +assert(CreationLimitExceededException.prototype instanceof BudgetsServiceException); +assert(DuplicateRecordException.prototype instanceof BudgetsServiceException); +assert(ExpiredNextTokenException.prototype instanceof BudgetsServiceException); +assert(InternalErrorException.prototype instanceof BudgetsServiceException); +assert(InvalidNextTokenException.prototype instanceof BudgetsServiceException); +assert(InvalidParameterException.prototype instanceof BudgetsServiceException); +assert(NotFoundException.prototype instanceof BudgetsServiceException); +assert(ResourceLockedException.prototype instanceof BudgetsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof BudgetsServiceException); +assert(ThrottlingException.prototype instanceof BudgetsServiceException); assert(BudgetsServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeBudgetActionHistories === "function"); diff --git a/clients/client-budgets/test/index-types.ts b/clients/client-budgets/test/index-types.ts index 0e7d6aa47e79..fa8eca425d15 100644 --- a/clients/client-budgets/test/index-types.ts +++ b/clients/client-budgets/test/index-types.ts @@ -178,6 +178,18 @@ export type { UpdateNotificationResponse, UpdateSubscriberRequest, UpdateSubscriberResponse, + AccessDeniedException, + BillingViewHealthStatusException, + CreationLimitExceededException, + DuplicateRecordException, + ExpiredNextTokenException, + InternalErrorException, + InvalidNextTokenException, + InvalidParameterException, + NotFoundException, + ResourceLockedException, + ServiceQuotaExceededException, + ThrottlingException, BudgetsServiceException, paginateDescribeBudgetActionHistories, paginateDescribeBudgetActionsForAccount, diff --git a/clients/client-chatbot/src/schemas/schemas_0.ts b/clients/client-chatbot/src/schemas/schemas_0.ts index b3d83a15ce2e..9511b41014dd 100644 --- a/clients/client-chatbot/src/schemas/schemas_0.ts +++ b/clients/client-chatbot/src/schemas/schemas_0.ts @@ -850,7 +850,6 @@ export var UpdateTeamsChannelConfigurationResult: StaticStructureSchema = [ [_CCh], [[() => TeamsChannelConfiguration, 0]], ]; -export var __Unit = "unit" as const; export var ChatbotServiceException: StaticErrorSchema = [-3, _sm, "ChatbotServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ChatbotServiceException, __ChatbotServiceException); export var AssociationList: StaticListSchema = [1, n0, _ALs, 0, () => AssociationListing]; diff --git a/clients/client-chatbot/test/index-objects.spec.mjs b/clients/client-chatbot/test/index-objects.spec.mjs index 370857abefa1..c3e1601551a0 100644 --- a/clients/client-chatbot/test/index-objects.spec.mjs +++ b/clients/client-chatbot/test/index-objects.spec.mjs @@ -3,40 +3,72 @@ import { Chatbot, ChatbotClient, ChatbotServiceException, + ConflictException, CreateChimeWebhookConfigurationCommand, + CreateChimeWebhookConfigurationException, CreateCustomActionCommand, CreateMicrosoftTeamsChannelConfigurationCommand, CreateSlackChannelConfigurationCommand, + CreateSlackChannelConfigurationException, + CreateTeamsChannelConfigurationException, CustomActionAttachmentCriteriaOperator, DeleteChimeWebhookConfigurationCommand, + DeleteChimeWebhookConfigurationException, DeleteCustomActionCommand, DeleteMicrosoftTeamsChannelConfigurationCommand, DeleteMicrosoftTeamsConfiguredTeamCommand, DeleteMicrosoftTeamsUserIdentityCommand, + DeleteMicrosoftTeamsUserIdentityException, DeleteSlackChannelConfigurationCommand, + DeleteSlackChannelConfigurationException, DeleteSlackUserIdentityCommand, + DeleteSlackUserIdentityException, DeleteSlackWorkspaceAuthorizationCommand, + DeleteSlackWorkspaceAuthorizationFault, + DeleteTeamsChannelConfigurationException, + DeleteTeamsConfiguredTeamException, DescribeChimeWebhookConfigurationsCommand, + DescribeChimeWebhookConfigurationsException, DescribeSlackChannelConfigurationsCommand, + DescribeSlackChannelConfigurationsException, DescribeSlackUserIdentitiesCommand, + DescribeSlackUserIdentitiesException, DescribeSlackWorkspacesCommand, + DescribeSlackWorkspacesException, DisassociateFromConfigurationCommand, GetAccountPreferencesCommand, + GetAccountPreferencesException, GetCustomActionCommand, GetMicrosoftTeamsChannelConfigurationCommand, + GetTeamsChannelConfigurationException, + InternalServiceError, + InvalidParameterException, + InvalidRequestException, + LimitExceededException, ListAssociationsCommand, ListCustomActionsCommand, ListMicrosoftTeamsChannelConfigurationsCommand, ListMicrosoftTeamsConfiguredTeamsCommand, + ListMicrosoftTeamsConfiguredTeamsException, ListMicrosoftTeamsUserIdentitiesCommand, + ListMicrosoftTeamsUserIdentitiesException, ListTagsForResourceCommand, + ListTeamsChannelConfigurationsException, + ResourceNotFoundException, + ServiceUnavailableException, TagResourceCommand, + TooManyTagsException, + UnauthorizedException, UntagResourceCommand, UpdateAccountPreferencesCommand, + UpdateAccountPreferencesException, UpdateChimeWebhookConfigurationCommand, + UpdateChimeWebhookConfigurationException, UpdateCustomActionCommand, UpdateMicrosoftTeamsChannelConfigurationCommand, UpdateSlackChannelConfigurationCommand, + UpdateSlackChannelConfigurationException, + UpdateTeamsChannelConfigurationException, paginateDescribeChimeWebhookConfigurations, paginateDescribeSlackChannelConfigurations, paginateDescribeSlackUserIdentities, @@ -89,6 +121,38 @@ assert(typeof UpdateSlackChannelConfigurationCommand === "function"); // enums assert(typeof CustomActionAttachmentCriteriaOperator === "object"); // errors +assert(ConflictException.prototype instanceof ChatbotServiceException); +assert(CreateChimeWebhookConfigurationException.prototype instanceof ChatbotServiceException); +assert(CreateSlackChannelConfigurationException.prototype instanceof ChatbotServiceException); +assert(CreateTeamsChannelConfigurationException.prototype instanceof ChatbotServiceException); +assert(DeleteChimeWebhookConfigurationException.prototype instanceof ChatbotServiceException); +assert(DeleteMicrosoftTeamsUserIdentityException.prototype instanceof ChatbotServiceException); +assert(DeleteSlackChannelConfigurationException.prototype instanceof ChatbotServiceException); +assert(DeleteSlackUserIdentityException.prototype instanceof ChatbotServiceException); +assert(DeleteSlackWorkspaceAuthorizationFault.prototype instanceof ChatbotServiceException); +assert(DeleteTeamsChannelConfigurationException.prototype instanceof ChatbotServiceException); +assert(DeleteTeamsConfiguredTeamException.prototype instanceof ChatbotServiceException); +assert(DescribeChimeWebhookConfigurationsException.prototype instanceof ChatbotServiceException); +assert(DescribeSlackChannelConfigurationsException.prototype instanceof ChatbotServiceException); +assert(DescribeSlackUserIdentitiesException.prototype instanceof ChatbotServiceException); +assert(DescribeSlackWorkspacesException.prototype instanceof ChatbotServiceException); +assert(GetAccountPreferencesException.prototype instanceof ChatbotServiceException); +assert(GetTeamsChannelConfigurationException.prototype instanceof ChatbotServiceException); +assert(InternalServiceError.prototype instanceof ChatbotServiceException); +assert(InvalidParameterException.prototype instanceof ChatbotServiceException); +assert(InvalidRequestException.prototype instanceof ChatbotServiceException); +assert(LimitExceededException.prototype instanceof ChatbotServiceException); +assert(ListMicrosoftTeamsConfiguredTeamsException.prototype instanceof ChatbotServiceException); +assert(ListMicrosoftTeamsUserIdentitiesException.prototype instanceof ChatbotServiceException); +assert(ListTeamsChannelConfigurationsException.prototype instanceof ChatbotServiceException); +assert(ResourceNotFoundException.prototype instanceof ChatbotServiceException); +assert(ServiceUnavailableException.prototype instanceof ChatbotServiceException); +assert(TooManyTagsException.prototype instanceof ChatbotServiceException); +assert(UnauthorizedException.prototype instanceof ChatbotServiceException); +assert(UpdateAccountPreferencesException.prototype instanceof ChatbotServiceException); +assert(UpdateChimeWebhookConfigurationException.prototype instanceof ChatbotServiceException); +assert(UpdateSlackChannelConfigurationException.prototype instanceof ChatbotServiceException); +assert(UpdateTeamsChannelConfigurationException.prototype instanceof ChatbotServiceException); assert(ChatbotServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeChimeWebhookConfigurations === "function"); diff --git a/clients/client-chatbot/test/index-types.ts b/clients/client-chatbot/test/index-types.ts index a223497424ed..032b9561a715 100644 --- a/clients/client-chatbot/test/index-types.ts +++ b/clients/client-chatbot/test/index-types.ts @@ -187,6 +187,38 @@ export type { UpdateSlackChannelConfigurationResult, UpdateTeamsChannelConfigurationRequest, UpdateTeamsChannelConfigurationResult, + ConflictException, + CreateChimeWebhookConfigurationException, + CreateSlackChannelConfigurationException, + CreateTeamsChannelConfigurationException, + DeleteChimeWebhookConfigurationException, + DeleteMicrosoftTeamsUserIdentityException, + DeleteSlackChannelConfigurationException, + DeleteSlackUserIdentityException, + DeleteSlackWorkspaceAuthorizationFault, + DeleteTeamsChannelConfigurationException, + DeleteTeamsConfiguredTeamException, + DescribeChimeWebhookConfigurationsException, + DescribeSlackChannelConfigurationsException, + DescribeSlackUserIdentitiesException, + DescribeSlackWorkspacesException, + GetAccountPreferencesException, + GetTeamsChannelConfigurationException, + InternalServiceError, + InvalidParameterException, + InvalidRequestException, + LimitExceededException, + ListMicrosoftTeamsConfiguredTeamsException, + ListMicrosoftTeamsUserIdentitiesException, + ListTeamsChannelConfigurationsException, + ResourceNotFoundException, + ServiceUnavailableException, + TooManyTagsException, + UnauthorizedException, + UpdateAccountPreferencesException, + UpdateChimeWebhookConfigurationException, + UpdateSlackChannelConfigurationException, + UpdateTeamsChannelConfigurationException, ChatbotServiceException, paginateDescribeChimeWebhookConfigurations, paginateDescribeSlackChannelConfigurations, diff --git a/clients/client-chime-sdk-identity/test/index-objects.spec.mjs b/clients/client-chime-sdk-identity/test/index-objects.spec.mjs index 3873edb26f23..213d6387a12d 100644 --- a/clients/client-chime-sdk-identity/test/index-objects.spec.mjs +++ b/clients/client-chime-sdk-identity/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { AllowMessages, AppInstanceUserEndpointType, + BadRequestException, ChimeSDKIdentity, ChimeSDKIdentityClient, ChimeSDKIdentityServiceException, + ConflictException, CreateAppInstanceAdminCommand, CreateAppInstanceBotCommand, CreateAppInstanceCommand, @@ -20,7 +22,9 @@ import { DescribeAppInstanceUserEndpointCommand, EndpointStatus, EndpointStatusReason, + ErrorCode, ExpirationCriterion, + ForbiddenException, GetAppInstanceRetentionSettingsCommand, ListAppInstanceAdminsCommand, ListAppInstanceBotsCommand, @@ -28,13 +32,19 @@ import { ListAppInstanceUsersCommand, ListAppInstancesCommand, ListTagsForResourceCommand, + NotFoundException, PutAppInstanceRetentionSettingsCommand, PutAppInstanceUserExpirationSettingsCommand, RegisterAppInstanceUserEndpointCommand, + ResourceLimitExceededException, RespondsTo, + ServiceFailureException, + ServiceUnavailableException, StandardMessages, TagResourceCommand, TargetedMessages, + ThrottledClientException, + UnauthorizedClientException, UntagResourceCommand, UpdateAppInstanceBotCommand, UpdateAppInstanceCommand, @@ -86,11 +96,21 @@ assert(typeof AllowMessages === "object"); assert(typeof AppInstanceUserEndpointType === "object"); assert(typeof EndpointStatus === "object"); assert(typeof EndpointStatusReason === "object"); +assert(typeof ErrorCode === "object"); assert(typeof ExpirationCriterion === "object"); assert(typeof RespondsTo === "object"); assert(typeof StandardMessages === "object"); assert(typeof TargetedMessages === "object"); // errors +assert(BadRequestException.prototype instanceof ChimeSDKIdentityServiceException); +assert(ConflictException.prototype instanceof ChimeSDKIdentityServiceException); +assert(ForbiddenException.prototype instanceof ChimeSDKIdentityServiceException); +assert(NotFoundException.prototype instanceof ChimeSDKIdentityServiceException); +assert(ResourceLimitExceededException.prototype instanceof ChimeSDKIdentityServiceException); +assert(ServiceFailureException.prototype instanceof ChimeSDKIdentityServiceException); +assert(ServiceUnavailableException.prototype instanceof ChimeSDKIdentityServiceException); +assert(ThrottledClientException.prototype instanceof ChimeSDKIdentityServiceException); +assert(UnauthorizedClientException.prototype instanceof ChimeSDKIdentityServiceException); assert(ChimeSDKIdentityServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAppInstanceAdmins === "function"); diff --git a/clients/client-chime-sdk-identity/test/index-types.ts b/clients/client-chime-sdk-identity/test/index-types.ts index d4fd250635da..3d72bc6a8d5f 100644 --- a/clients/client-chime-sdk-identity/test/index-types.ts +++ b/clients/client-chime-sdk-identity/test/index-types.ts @@ -96,6 +96,7 @@ export type { AppInstanceUserEndpointType, EndpointStatus, EndpointStatusReason, + ErrorCode, ExpirationCriterion, RespondsTo, StandardMessages, @@ -173,6 +174,15 @@ export type { UpdateAppInstanceUserEndpointResponse, UpdateAppInstanceUserRequest, UpdateAppInstanceUserResponse, + BadRequestException, + ConflictException, + ForbiddenException, + NotFoundException, + ResourceLimitExceededException, + ServiceFailureException, + ServiceUnavailableException, + ThrottledClientException, + UnauthorizedClientException, ChimeSDKIdentityServiceException, paginateListAppInstanceAdmins, paginateListAppInstanceBots, diff --git a/clients/client-chime-sdk-media-pipelines/test/index-objects.spec.mjs b/clients/client-chime-sdk-media-pipelines/test/index-objects.spec.mjs index 47dffffaf09d..b363cc4843a5 100644 --- a/clients/client-chime-sdk-media-pipelines/test/index-objects.spec.mjs +++ b/clients/client-chime-sdk-media-pipelines/test/index-objects.spec.mjs @@ -5,6 +5,7 @@ import { AudioArtifactsConcatenationState, AudioChannelsOption, AudioMuxType, + BadRequestException, BorderColor, CallAnalyticsLanguageCode, CanvasOrientation, @@ -13,6 +14,7 @@ import { ChimeSDKMediaPipelinesServiceException, ConcatenationSinkType, ConcatenationSourceType, + ConflictException, ContentMuxType, ContentRedactionOutput, ContentShareLayoutOption, @@ -28,6 +30,8 @@ import { DeleteMediaInsightsPipelineConfigurationCommand, DeleteMediaPipelineCommand, DeleteMediaPipelineKinesisVideoStreamPoolCommand, + ErrorCode, + ForbiddenException, FragmentSelectorType, GetMediaCapturePipelineCommand, GetMediaInsightsPipelineConfigurationCommand, @@ -57,19 +61,25 @@ import { MediaPipelineTaskStatus, MediaStreamPipelineSinkType, MediaStreamType, + NotFoundException, PartialResultsStability, ParticipantRole, PresenterPosition, RealTimeAlertRuleType, RecordingFileFormat, ResolutionOption, + ResourceLimitExceededException, SentimentType, + ServiceFailureException, + ServiceUnavailableException, StartSpeakerSearchTaskCommand, StartVoiceToneAnalysisTaskCommand, StopSpeakerSearchTaskCommand, StopVoiceToneAnalysisTaskCommand, TagResourceCommand, + ThrottledClientException, TileOrder, + UnauthorizedClientException, UntagResourceCommand, UpdateMediaInsightsPipelineConfigurationCommand, UpdateMediaInsightsPipelineStatusCommand, @@ -136,6 +146,7 @@ assert(typeof ContentMuxType === "object"); assert(typeof ContentRedactionOutput === "object"); assert(typeof ContentShareLayoutOption === "object"); assert(typeof ContentType === "object"); +assert(typeof ErrorCode === "object"); assert(typeof FragmentSelectorType === "object"); assert(typeof HighlightColor === "object"); assert(typeof HorizontalTilePosition === "object"); @@ -168,6 +179,15 @@ assert(typeof VocabularyFilterMethod === "object"); assert(typeof VoiceAnalyticsConfigurationStatus === "object"); assert(typeof VoiceAnalyticsLanguageCode === "object"); // errors +assert(BadRequestException.prototype instanceof ChimeSDKMediaPipelinesServiceException); +assert(ConflictException.prototype instanceof ChimeSDKMediaPipelinesServiceException); +assert(ForbiddenException.prototype instanceof ChimeSDKMediaPipelinesServiceException); +assert(NotFoundException.prototype instanceof ChimeSDKMediaPipelinesServiceException); +assert(ResourceLimitExceededException.prototype instanceof ChimeSDKMediaPipelinesServiceException); +assert(ServiceFailureException.prototype instanceof ChimeSDKMediaPipelinesServiceException); +assert(ServiceUnavailableException.prototype instanceof ChimeSDKMediaPipelinesServiceException); +assert(ThrottledClientException.prototype instanceof ChimeSDKMediaPipelinesServiceException); +assert(UnauthorizedClientException.prototype instanceof ChimeSDKMediaPipelinesServiceException); assert(ChimeSDKMediaPipelinesServiceException.prototype instanceof Error); // paginators assert(typeof paginateListMediaCapturePipelines === "function"); diff --git a/clients/client-chime-sdk-media-pipelines/test/index-types.ts b/clients/client-chime-sdk-media-pipelines/test/index-types.ts index e729b611e36f..c96c80f484d7 100644 --- a/clients/client-chime-sdk-media-pipelines/test/index-types.ts +++ b/clients/client-chime-sdk-media-pipelines/test/index-types.ts @@ -110,6 +110,7 @@ export type { ContentRedactionOutput, ContentShareLayoutOption, ContentType, + ErrorCode, FragmentSelectorType, HighlightColor, HorizontalTilePosition, @@ -274,6 +275,15 @@ export type { VoiceAnalyticsProcessorConfiguration, VoiceEnhancementSinkConfiguration, VoiceToneAnalysisTask, + BadRequestException, + ConflictException, + ForbiddenException, + NotFoundException, + ResourceLimitExceededException, + ServiceFailureException, + ServiceUnavailableException, + ThrottledClientException, + UnauthorizedClientException, ChimeSDKMediaPipelinesServiceException, paginateListMediaCapturePipelines, paginateListMediaInsightsPipelineConfigurations, diff --git a/clients/client-chime-sdk-meetings/test/index-objects.spec.mjs b/clients/client-chime-sdk-meetings/test/index-objects.spec.mjs index a62fe8723183..7bf080a069d4 100644 --- a/clients/client-chime-sdk-meetings/test/index-objects.spec.mjs +++ b/clients/client-chime-sdk-meetings/test/index-objects.spec.mjs @@ -1,25 +1,35 @@ import { + BadRequestException, BatchCreateAttendeeCommand, BatchUpdateAttendeeCapabilitiesExceptCommand, ChimeSDKMeetings, ChimeSDKMeetingsClient, ChimeSDKMeetingsServiceException, + ConflictException, ContentResolution, CreateAttendeeCommand, CreateMeetingCommand, CreateMeetingWithAttendeesCommand, DeleteAttendeeCommand, DeleteMeetingCommand, + ForbiddenException, GetAttendeeCommand, GetMeetingCommand, + LimitExceededException, ListAttendeesCommand, ListTagsForResourceCommand, MediaCapabilities, MediaPlacementNetworkType, MeetingFeatureStatus, + NotFoundException, + ResourceNotFoundException, + ServiceFailureException, + ServiceUnavailableException, StartMeetingTranscriptionCommand, StopMeetingTranscriptionCommand, TagResourceCommand, + ThrottlingException, + TooManyTagsException, TranscribeContentIdentificationType, TranscribeContentRedactionType, TranscribeLanguageCode, @@ -31,6 +41,8 @@ import { TranscribePartialResultsStability, TranscribeRegion, TranscribeVocabularyFilterMethod, + UnauthorizedException, + UnprocessableEntityException, UntagResourceCommand, UpdateAttendeeCapabilitiesCommand, VideoResolution, @@ -75,6 +87,18 @@ assert(typeof TranscribeRegion === "object"); assert(typeof TranscribeVocabularyFilterMethod === "object"); assert(typeof VideoResolution === "object"); // errors +assert(BadRequestException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(ConflictException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(ForbiddenException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(LimitExceededException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(NotFoundException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(ResourceNotFoundException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(ServiceFailureException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(ServiceUnavailableException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(ThrottlingException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(TooManyTagsException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(UnauthorizedException.prototype instanceof ChimeSDKMeetingsServiceException); +assert(UnprocessableEntityException.prototype instanceof ChimeSDKMeetingsServiceException); assert(ChimeSDKMeetingsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAttendees === "function"); diff --git a/clients/client-chime-sdk-meetings/test/index-types.ts b/clients/client-chime-sdk-meetings/test/index-types.ts index fb9714cf067c..7ac7b9412867 100644 --- a/clients/client-chime-sdk-meetings/test/index-types.ts +++ b/clients/client-chime-sdk-meetings/test/index-types.ts @@ -110,6 +110,18 @@ export type { UpdateAttendeeCapabilitiesRequest, UpdateAttendeeCapabilitiesResponse, VideoFeatures, + BadRequestException, + ConflictException, + ForbiddenException, + LimitExceededException, + NotFoundException, + ResourceNotFoundException, + ServiceFailureException, + ServiceUnavailableException, + ThrottlingException, + TooManyTagsException, + UnauthorizedException, + UnprocessableEntityException, ChimeSDKMeetingsServiceException, paginateListAttendees, } from "../dist-types/index.d"; diff --git a/clients/client-chime-sdk-messaging/test/index-objects.spec.mjs b/clients/client-chime-sdk-messaging/test/index-objects.spec.mjs index e60f0f4cf0be..b91bf0ef2ccb 100644 --- a/clients/client-chime-sdk-messaging/test/index-objects.spec.mjs +++ b/clients/client-chime-sdk-messaging/test/index-objects.spec.mjs @@ -1,6 +1,7 @@ import { AllowNotifications, AssociateChannelFlowCommand, + BadRequestException, BatchCreateChannelMembershipCommand, ChannelFlowCallbackCommand, ChannelMembershipType, @@ -12,6 +13,7 @@ import { ChimeSDKMessaging, ChimeSDKMessagingClient, ChimeSDKMessagingServiceException, + ConflictException, CreateChannelBanCommand, CreateChannelCommand, CreateChannelFlowCommand, @@ -35,6 +37,7 @@ import { ErrorCode, ExpirationCriterion, FallbackAction, + ForbiddenException, GetChannelMembershipPreferencesCommand, GetChannelMessageCommand, GetChannelMessageStatusCommand, @@ -54,17 +57,23 @@ import { ListTagsForResourceCommand, MessagingDataType, NetworkType, + NotFoundException, PushNotificationType, PutChannelExpirationSettingsCommand, PutChannelMembershipPreferencesCommand, PutMessagingStreamingConfigurationsCommand, RedactChannelMessageCommand, + ResourceLimitExceededException, SearchChannelsCommand, SearchFieldKey, SearchFieldOperator, SendChannelMessageCommand, + ServiceFailureException, + ServiceUnavailableException, SortOrder, TagResourceCommand, + ThrottledClientException, + UnauthorizedClientException, UntagResourceCommand, UpdateChannelCommand, UpdateChannelFlowCommand, @@ -157,6 +166,15 @@ assert(typeof SearchFieldKey === "object"); assert(typeof SearchFieldOperator === "object"); assert(typeof SortOrder === "object"); // errors +assert(BadRequestException.prototype instanceof ChimeSDKMessagingServiceException); +assert(ConflictException.prototype instanceof ChimeSDKMessagingServiceException); +assert(ForbiddenException.prototype instanceof ChimeSDKMessagingServiceException); +assert(NotFoundException.prototype instanceof ChimeSDKMessagingServiceException); +assert(ResourceLimitExceededException.prototype instanceof ChimeSDKMessagingServiceException); +assert(ServiceFailureException.prototype instanceof ChimeSDKMessagingServiceException); +assert(ServiceUnavailableException.prototype instanceof ChimeSDKMessagingServiceException); +assert(ThrottledClientException.prototype instanceof ChimeSDKMessagingServiceException); +assert(UnauthorizedClientException.prototype instanceof ChimeSDKMessagingServiceException); assert(ChimeSDKMessagingServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChannelBans === "function"); diff --git a/clients/client-chime-sdk-messaging/test/index-types.ts b/clients/client-chime-sdk-messaging/test/index-types.ts index cc07a0305e5d..be362a629ebd 100644 --- a/clients/client-chime-sdk-messaging/test/index-types.ts +++ b/clients/client-chime-sdk-messaging/test/index-types.ts @@ -299,6 +299,15 @@ export type { UpdateChannelReadMarkerResponse, UpdateChannelRequest, UpdateChannelResponse, + BadRequestException, + ConflictException, + ForbiddenException, + NotFoundException, + ResourceLimitExceededException, + ServiceFailureException, + ServiceUnavailableException, + ThrottledClientException, + UnauthorizedClientException, ChimeSDKMessagingServiceException, paginateListChannelBans, paginateListChannelFlows, diff --git a/clients/client-chime-sdk-voice/test/index-objects.spec.mjs b/clients/client-chime-sdk-voice/test/index-objects.spec.mjs index 271f7e374d39..9496d23f53cf 100644 --- a/clients/client-chime-sdk-voice/test/index-objects.spec.mjs +++ b/clients/client-chime-sdk-voice/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AlexaSkillStatus, AssociatePhoneNumbersWithVoiceConnectorCommand, AssociatePhoneNumbersWithVoiceConnectorGroupCommand, + BadRequestException, BatchDeletePhoneNumberCommand, BatchUpdatePhoneNumberCommand, CallLegType, @@ -10,6 +12,7 @@ import { ChimeSDKVoice, ChimeSDKVoiceClient, ChimeSDKVoiceServiceException, + ConflictException, ContactCenterSystemType, CreatePhoneNumberOrderCommand, CreateProxySessionCommand, @@ -38,6 +41,7 @@ import { DisassociatePhoneNumbersFromVoiceConnectorCommand, DisassociatePhoneNumbersFromVoiceConnectorGroupCommand, ErrorCode, + ForbiddenException, GeoMatchLevel, GetGlobalSettingsCommand, GetPhoneNumberCommand, @@ -62,6 +66,7 @@ import { GetVoiceProfileCommand, GetVoiceProfileDomainCommand, GetVoiceToneAnalysisTaskCommand, + GoneException, LanguageCode, ListAvailableVoiceConnectorRegionsCommand, ListPhoneNumberOrdersCommand, @@ -77,6 +82,7 @@ import { ListVoiceProfileDomainsCommand, ListVoiceProfilesCommand, NetworkType, + NotFoundException, NotificationTarget, NumberSelectionBehavior, OrderedPhoneNumberStatus, @@ -98,8 +104,11 @@ import { PutVoiceConnectorStreamingConfigurationCommand, PutVoiceConnectorTerminationCommand, PutVoiceConnectorTerminationCredentialsCommand, + ResourceLimitExceededException, RestorePhoneNumberCommand, SearchAvailablePhoneNumbersCommand, + ServiceFailureException, + ServiceUnavailableException, SessionBorderControllerType, SipRuleTriggerType, StartSpeakerSearchTaskCommand, @@ -107,6 +116,9 @@ import { StopSpeakerSearchTaskCommand, StopVoiceToneAnalysisTaskCommand, TagResourceCommand, + ThrottledClientException, + UnauthorizedClientException, + UnprocessableEntityException, UntagResourceCommand, UpdateGlobalSettingsCommand, UpdatePhoneNumberCommand, @@ -260,6 +272,18 @@ assert(typeof SipRuleTriggerType === "object"); assert(typeof VoiceConnectorAwsRegion === "object"); assert(typeof VoiceConnectorIntegrationType === "object"); // errors +assert(AccessDeniedException.prototype instanceof ChimeSDKVoiceServiceException); +assert(BadRequestException.prototype instanceof ChimeSDKVoiceServiceException); +assert(ConflictException.prototype instanceof ChimeSDKVoiceServiceException); +assert(ForbiddenException.prototype instanceof ChimeSDKVoiceServiceException); +assert(GoneException.prototype instanceof ChimeSDKVoiceServiceException); +assert(NotFoundException.prototype instanceof ChimeSDKVoiceServiceException); +assert(ResourceLimitExceededException.prototype instanceof ChimeSDKVoiceServiceException); +assert(ServiceFailureException.prototype instanceof ChimeSDKVoiceServiceException); +assert(ServiceUnavailableException.prototype instanceof ChimeSDKVoiceServiceException); +assert(ThrottledClientException.prototype instanceof ChimeSDKVoiceServiceException); +assert(UnauthorizedClientException.prototype instanceof ChimeSDKVoiceServiceException); +assert(UnprocessableEntityException.prototype instanceof ChimeSDKVoiceServiceException); assert(ChimeSDKVoiceServiceException.prototype instanceof Error); // paginators assert(typeof paginateListPhoneNumberOrders === "function"); diff --git a/clients/client-chime-sdk-voice/test/index-types.ts b/clients/client-chime-sdk-voice/test/index-types.ts index 96aa2d348a00..2c8a6a55fef0 100644 --- a/clients/client-chime-sdk-voice/test/index-types.ts +++ b/clients/client-chime-sdk-voice/test/index-types.ts @@ -529,6 +529,18 @@ export type { VoiceProfileDomainSummary, VoiceProfileSummary, VoiceToneAnalysisTask, + AccessDeniedException, + BadRequestException, + ConflictException, + ForbiddenException, + GoneException, + NotFoundException, + ResourceLimitExceededException, + ServiceFailureException, + ServiceUnavailableException, + ThrottledClientException, + UnauthorizedClientException, + UnprocessableEntityException, ChimeSDKVoiceServiceException, paginateListPhoneNumberOrders, paginateListPhoneNumbers, diff --git a/clients/client-chime/test/index-objects.spec.mjs b/clients/client-chime/test/index-objects.spec.mjs index 2e42065b1e8b..825398368c15 100644 --- a/clients/client-chime/test/index-objects.spec.mjs +++ b/clients/client-chime/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, AccountStatus, AccountType, AssociatePhoneNumberWithUserCommand, AssociateSigninDelegateGroupsWithAccountCommand, + BadRequestException, BatchCreateRoomMembershipCommand, BatchDeletePhoneNumberCommand, BatchSuspendUserCommand, @@ -14,6 +16,7 @@ import { Chime, ChimeClient, ChimeServiceException, + ConflictException, CreateAccountCommand, CreateBotCommand, CreateMeetingDialOutCommand, @@ -30,6 +33,7 @@ import { DisassociateSigninDelegateGroupsFromAccountCommand, EmailStatus, ErrorCode, + ForbiddenException, GetAccountCommand, GetAccountSettingsCommand, GetBotCommand, @@ -55,6 +59,7 @@ import { ListUsersCommand, LogoutUserCommand, MemberType, + NotFoundException, OrderedPhoneNumberStatus, PhoneNumberAssociationName, PhoneNumberOrderStatus, @@ -68,9 +73,15 @@ import { RegenerateSecurityTokenCommand, RegistrationStatus, ResetPersonalPINCommand, + ResourceLimitExceededException, RestorePhoneNumberCommand, RoomMembershipRole, SearchAvailablePhoneNumbersCommand, + ServiceFailureException, + ServiceUnavailableException, + ThrottledClientException, + UnauthorizedClientException, + UnprocessableEntityException, UpdateAccountCommand, UpdateAccountSettingsCommand, UpdateBotCommand, @@ -178,6 +189,17 @@ assert(typeof RegistrationStatus === "object"); assert(typeof RoomMembershipRole === "object"); assert(typeof UserType === "object"); // errors +assert(AccessDeniedException.prototype instanceof ChimeServiceException); +assert(BadRequestException.prototype instanceof ChimeServiceException); +assert(ConflictException.prototype instanceof ChimeServiceException); +assert(ForbiddenException.prototype instanceof ChimeServiceException); +assert(NotFoundException.prototype instanceof ChimeServiceException); +assert(ResourceLimitExceededException.prototype instanceof ChimeServiceException); +assert(ServiceFailureException.prototype instanceof ChimeServiceException); +assert(ServiceUnavailableException.prototype instanceof ChimeServiceException); +assert(ThrottledClientException.prototype instanceof ChimeServiceException); +assert(UnauthorizedClientException.prototype instanceof ChimeServiceException); +assert(UnprocessableEntityException.prototype instanceof ChimeServiceException); assert(ChimeServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccounts === "function"); diff --git a/clients/client-chime/test/index-types.ts b/clients/client-chime/test/index-types.ts index 682d3c866398..b8ff0e675060 100644 --- a/clients/client-chime/test/index-types.ts +++ b/clients/client-chime/test/index-types.ts @@ -351,6 +351,17 @@ export type { UserError, UserSettings, VoiceConnectorSettings, + AccessDeniedException, + BadRequestException, + ConflictException, + ForbiddenException, + NotFoundException, + ResourceLimitExceededException, + ServiceFailureException, + ServiceUnavailableException, + ThrottledClientException, + UnauthorizedClientException, + UnprocessableEntityException, ChimeServiceException, paginateListAccounts, paginateListBots, diff --git a/clients/client-cleanrooms/src/schemas/schemas_0.ts b/clients/client-cleanrooms/src/schemas/schemas_0.ts index 6beec499dd6e..3d006e307b0c 100644 --- a/clients/client-cleanrooms/src/schemas/schemas_0.ts +++ b/clients/client-cleanrooms/src/schemas/schemas_0.ts @@ -3116,7 +3116,6 @@ export var WorkerComputeConfiguration: StaticStructureSchema = [ [_t, _nu, _pr], [0, 1, () => WorkerComputeConfigurationProperties], ]; -export var __Unit = "unit" as const; export var CleanRoomsServiceException: StaticErrorSchema = [-3, _sm, "CleanRoomsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(CleanRoomsServiceException, __CleanRoomsServiceException); export var AccessBudgetDetailsList: StaticListSchema = [1, n0, _ABDL, 0, () => AccessBudgetDetails]; diff --git a/clients/client-cleanrooms/test/index-objects.spec.mjs b/clients/client-cleanrooms/test/index-objects.spec.mjs index 2b2452f6f983..79eca205f3cf 100644 --- a/clients/client-cleanrooms/test/index-objects.spec.mjs +++ b/clients/client-cleanrooms/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { AccessBudgetType, + AccessDeniedException, + AccessDeniedExceptionReason, AdditionalAnalyses, AggregateFunctionName, AggregationType, @@ -26,6 +28,8 @@ import { CommercialRegion, ConfiguredTableAnalysisRuleType, ConfiguredTableAssociationAnalysisRuleType, + ConflictException, + ConflictExceptionReason, CreateAnalysisTemplateCommand, CreateCollaborationChangeRequestCommand, CreateCollaborationCommand, @@ -75,6 +79,7 @@ import { GetSchemaAnalysisRuleCommand, GetSchemaCommand, IdNamespaceType, + InternalServerException, JobType, JoinOperator, JoinRequiredOption, @@ -115,6 +120,8 @@ import { ProtectedJobWorkerComputeType, ProtectedQueryStatus, ProtectedQueryType, + ResourceNotFoundException, + ResourceType, ResultFormat, ScalarFunctions, SchemaConfiguration, @@ -122,6 +129,7 @@ import { SchemaStatusReasonCode, SchemaType, SelectedAnalysisMethod, + ServiceQuotaExceededException, StartProtectedJobCommand, StartProtectedQueryCommand, SupportedS3Region, @@ -129,6 +137,7 @@ import { TagResourceCommand, TargetProtectedJobStatus, TargetProtectedQueryStatus, + ThrottlingException, UntagResourceCommand, UpdateAnalysisTemplateCommand, UpdateCollaborationCommand, @@ -143,6 +152,8 @@ import { UpdatePrivacyBudgetTemplateCommand, UpdateProtectedJobCommand, UpdateProtectedQueryCommand, + ValidationException, + ValidationExceptionReason, WorkerComputeType, paginateListAnalysisTemplates, paginateListCollaborationAnalysisTemplates, @@ -259,6 +270,7 @@ assert(typeof UpdateProtectedJobCommand === "function"); assert(typeof UpdateProtectedQueryCommand === "function"); // enums assert(typeof AccessBudgetType === "object"); +assert(typeof AccessDeniedExceptionReason === "object"); assert(typeof AdditionalAnalyses === "object"); assert(typeof AggregateFunctionName === "object"); assert(typeof AggregationType === "object"); @@ -279,6 +291,7 @@ assert(typeof CollaborationQueryLogStatus === "object"); assert(typeof CommercialRegion === "object"); assert(typeof ConfiguredTableAnalysisRuleType === "object"); assert(typeof ConfiguredTableAssociationAnalysisRuleType === "object"); +assert(typeof ConflictExceptionReason === "object"); assert(typeof CustomMLMemberAbility === "object"); assert(typeof DifferentialPrivacyAggregationType === "object"); assert(typeof ErrorMessageType === "object"); @@ -301,6 +314,7 @@ assert(typeof ProtectedJobType === "object"); assert(typeof ProtectedJobWorkerComputeType === "object"); assert(typeof ProtectedQueryStatus === "object"); assert(typeof ProtectedQueryType === "object"); +assert(typeof ResourceType === "object"); assert(typeof ResultFormat === "object"); assert(typeof ScalarFunctions === "object"); assert(typeof SchemaConfiguration === "object"); @@ -312,8 +326,16 @@ assert(typeof SupportedS3Region === "object"); assert(typeof SyntheticDataColumnType === "object"); assert(typeof TargetProtectedJobStatus === "object"); assert(typeof TargetProtectedQueryStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof WorkerComputeType === "object"); // errors +assert(AccessDeniedException.prototype instanceof CleanRoomsServiceException); +assert(ConflictException.prototype instanceof CleanRoomsServiceException); +assert(InternalServerException.prototype instanceof CleanRoomsServiceException); +assert(ResourceNotFoundException.prototype instanceof CleanRoomsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof CleanRoomsServiceException); +assert(ThrottlingException.prototype instanceof CleanRoomsServiceException); +assert(ValidationException.prototype instanceof CleanRoomsServiceException); assert(CleanRoomsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAnalysisTemplates === "function"); diff --git a/clients/client-cleanrooms/test/index-types.ts b/clients/client-cleanrooms/test/index-types.ts index 71b369e27905..af1282312e47 100644 --- a/clients/client-cleanrooms/test/index-types.ts +++ b/clients/client-cleanrooms/test/index-types.ts @@ -264,6 +264,7 @@ export type { UpdateProtectedQueryCommandInput, UpdateProtectedQueryCommandOutput, AccessBudgetType, + AccessDeniedExceptionReason, AdditionalAnalyses, AggregateFunctionName, AggregationType, @@ -284,6 +285,7 @@ export type { CommercialRegion, ConfiguredTableAnalysisRuleType, ConfiguredTableAssociationAnalysisRuleType, + ConflictExceptionReason, CustomMLMemberAbility, DifferentialPrivacyAggregationType, ErrorMessageType, @@ -306,6 +308,7 @@ export type { ProtectedJobWorkerComputeType, ProtectedQueryStatus, ProtectedQueryType, + ResourceType, ResultFormat, ScalarFunctions, SchemaConfiguration, @@ -317,6 +320,7 @@ export type { SyntheticDataColumnType, TargetProtectedJobStatus, TargetProtectedQueryStatus, + ValidationExceptionReason, WorkerComputeType, AccessBudget, AccessBudgetDetails, @@ -681,8 +685,16 @@ export type { UpdateProtectedJobOutput, UpdateProtectedQueryInput, UpdateProtectedQueryOutput, + ValidationExceptionField, WorkerComputeConfiguration, WorkerComputeConfigurationProperties, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, CleanRoomsServiceException, paginateListAnalysisTemplates, paginateListCollaborationAnalysisTemplates, diff --git a/clients/client-cleanroomsml/test/index-objects.spec.mjs b/clients/client-cleanroomsml/test/index-objects.spec.mjs index 714131f89f74..c24f2f10c493 100644 --- a/clients/client-cleanroomsml/test/index-objects.spec.mjs +++ b/clients/client-cleanroomsml/test/index-objects.spec.mjs @@ -1,5 +1,6 @@ import { AccessBudgetType, + AccessDeniedException, AudienceExportJobStatus, AudienceGenerationJobStatus, AudienceModelStatus, @@ -12,6 +13,7 @@ import { CleanRoomsMLServiceException, ColumnType, ConfiguredAudienceModelStatus, + ConflictException, CreateAudienceModelCommand, CreateConfiguredAudienceModelCommand, CreateConfiguredModelAlgorithmAssociationCommand, @@ -46,6 +48,7 @@ import { GetTrainedModelInferenceJobCommand, GetTrainingDatasetCommand, InferenceInstanceType, + InternalServiceException, ListAudienceExportJobsCommand, ListAudienceGenerationJobsCommand, ListAudienceModelsCommand, @@ -72,8 +75,10 @@ import { PolicyExistenceCondition, PutConfiguredAudienceModelPolicyCommand, PutMLConfigurationCommand, + ResourceNotFoundException, ResultFormat, S3DataDistributionType, + ServiceQuotaExceededException, SharedAudienceMetrics, StartAudienceExportJobCommand, StartAudienceGenerationJobCommand, @@ -82,6 +87,7 @@ import { SyntheticDataColumnType, TagOnCreatePolicy, TagResourceCommand, + ThrottlingException, TrainedModelArtifactMaxSizeUnitType, TrainedModelExportFileType, TrainedModelExportJobStatus, @@ -93,6 +99,7 @@ import { TrainingInputMode, UntagResourceCommand, UpdateConfiguredAudienceModelCommand, + ValidationException, WorkerComputeType, _InstanceType, paginateListAudienceExportJobs, @@ -212,6 +219,13 @@ assert(typeof TrainingDatasetStatus === "object"); assert(typeof TrainingInputMode === "object"); assert(typeof WorkerComputeType === "object"); // errors +assert(AccessDeniedException.prototype instanceof CleanRoomsMLServiceException); +assert(ConflictException.prototype instanceof CleanRoomsMLServiceException); +assert(InternalServiceException.prototype instanceof CleanRoomsMLServiceException); +assert(ResourceNotFoundException.prototype instanceof CleanRoomsMLServiceException); +assert(ServiceQuotaExceededException.prototype instanceof CleanRoomsMLServiceException); +assert(ThrottlingException.prototype instanceof CleanRoomsMLServiceException); +assert(ValidationException.prototype instanceof CleanRoomsMLServiceException); assert(CleanRoomsMLServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAudienceExportJobs === "function"); diff --git a/clients/client-cleanroomsml/test/index-types.ts b/clients/client-cleanroomsml/test/index-types.ts index 33a6761d7664..67b388189622 100644 --- a/clients/client-cleanroomsml/test/index-types.ts +++ b/clients/client-cleanroomsml/test/index-types.ts @@ -390,6 +390,13 @@ export type { UpdateConfiguredAudienceModelRequest, UpdateConfiguredAudienceModelResponse, WorkerComputeConfiguration, + AccessDeniedException, + ConflictException, + InternalServiceException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, CleanRoomsMLServiceException, paginateListAudienceExportJobs, paginateListAudienceGenerationJobs, diff --git a/clients/client-cloud9/src/schemas/schemas_0.ts b/clients/client-cloud9/src/schemas/schemas_0.ts index e698020d79a6..80bffad2e146 100644 --- a/clients/client-cloud9/src/schemas/schemas_0.ts +++ b/clients/client-cloud9/src/schemas/schemas_0.ts @@ -232,7 +232,6 @@ export var UpdateEnvironmentRequest: StaticStructureSchema = [ [0, 0, [() => EnvironmentDescription, 0], 0], ]; export var UpdateEnvironmentResult: StaticStructureSchema = [3, n0, _UERp, 0, [], []]; -export var __Unit = "unit" as const; export var Cloud9ServiceException: StaticErrorSchema = [-3, _sm, "Cloud9ServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(Cloud9ServiceException, __Cloud9ServiceException); export var BoundedEnvironmentIdList = 64 | 0; diff --git a/clients/client-cloud9/test/index-objects.spec.mjs b/clients/client-cloud9/test/index-objects.spec.mjs index c48300a87005..872a1ff71405 100644 --- a/clients/client-cloud9/test/index-objects.spec.mjs +++ b/clients/client-cloud9/test/index-objects.spec.mjs @@ -1,7 +1,10 @@ import { + BadRequestException, Cloud9, Cloud9Client, Cloud9ServiceException, + ConcurrentAccessException, + ConflictException, ConnectionType, CreateEnvironmentEC2Command, CreateEnvironmentMembershipCommand, @@ -13,13 +16,18 @@ import { EnvironmentLifecycleStatus, EnvironmentStatus, EnvironmentType, + ForbiddenException, + InternalServerErrorException, + LimitExceededException, ListEnvironmentsCommand, ListTagsForResourceCommand, ManagedCredentialsAction, ManagedCredentialsStatus, MemberPermissions, + NotFoundException, Permissions, TagResourceCommand, + TooManyRequestsException, UntagResourceCommand, UpdateEnvironmentCommand, UpdateEnvironmentMembershipCommand, @@ -54,6 +62,14 @@ assert(typeof ManagedCredentialsStatus === "object"); assert(typeof MemberPermissions === "object"); assert(typeof Permissions === "object"); // errors +assert(BadRequestException.prototype instanceof Cloud9ServiceException); +assert(ConcurrentAccessException.prototype instanceof Cloud9ServiceException); +assert(ConflictException.prototype instanceof Cloud9ServiceException); +assert(ForbiddenException.prototype instanceof Cloud9ServiceException); +assert(InternalServerErrorException.prototype instanceof Cloud9ServiceException); +assert(LimitExceededException.prototype instanceof Cloud9ServiceException); +assert(NotFoundException.prototype instanceof Cloud9ServiceException); +assert(TooManyRequestsException.prototype instanceof Cloud9ServiceException); assert(Cloud9ServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeEnvironmentMemberships === "function"); diff --git a/clients/client-cloud9/test/index-types.ts b/clients/client-cloud9/test/index-types.ts index 002e218917ac..e5e356bd3c85 100644 --- a/clients/client-cloud9/test/index-types.ts +++ b/clients/client-cloud9/test/index-types.ts @@ -79,6 +79,14 @@ export type { UpdateEnvironmentMembershipResult, UpdateEnvironmentRequest, UpdateEnvironmentResult, + BadRequestException, + ConcurrentAccessException, + ConflictException, + ForbiddenException, + InternalServerErrorException, + LimitExceededException, + NotFoundException, + TooManyRequestsException, Cloud9ServiceException, paginateDescribeEnvironmentMemberships, paginateListEnvironments, diff --git a/clients/client-cloudcontrol/test/index-objects.spec.mjs b/clients/client-cloudcontrol/test/index-objects.spec.mjs index 8db42dc312cb..21cd373fabb3 100644 --- a/clients/client-cloudcontrol/test/index-objects.spec.mjs +++ b/clients/client-cloudcontrol/test/index-objects.spec.mjs @@ -1,17 +1,38 @@ import { + AlreadyExistsException, CancelResourceRequestCommand, + ClientTokenConflictException, CloudControl, CloudControlClient, CloudControlServiceException, + ConcurrentModificationException, + ConcurrentOperationException, CreateResourceCommand, DeleteResourceCommand, + GeneralServiceException, GetResourceCommand, GetResourceRequestStatusCommand, HandlerErrorCode, + HandlerFailureException, + HandlerInternalFailureException, + InvalidCredentialsException, + InvalidRequestException, ListResourceRequestsCommand, ListResourcesCommand, + NetworkFailureException, + NotStabilizedException, + NotUpdatableException, Operation, OperationStatus, + PrivateTypeException, + RequestTokenNotFoundException, + ResourceConflictException, + ResourceNotFoundException, + ServiceInternalErrorException, + ServiceLimitExceededException, + ThrottlingException, + TypeNotFoundException, + UnsupportedActionException, UpdateResourceCommand, paginateListResourceRequests, paginateListResources, @@ -36,6 +57,27 @@ assert(typeof HandlerErrorCode === "object"); assert(typeof Operation === "object"); assert(typeof OperationStatus === "object"); // errors +assert(AlreadyExistsException.prototype instanceof CloudControlServiceException); +assert(ClientTokenConflictException.prototype instanceof CloudControlServiceException); +assert(ConcurrentModificationException.prototype instanceof CloudControlServiceException); +assert(ConcurrentOperationException.prototype instanceof CloudControlServiceException); +assert(GeneralServiceException.prototype instanceof CloudControlServiceException); +assert(HandlerFailureException.prototype instanceof CloudControlServiceException); +assert(HandlerInternalFailureException.prototype instanceof CloudControlServiceException); +assert(InvalidCredentialsException.prototype instanceof CloudControlServiceException); +assert(InvalidRequestException.prototype instanceof CloudControlServiceException); +assert(NetworkFailureException.prototype instanceof CloudControlServiceException); +assert(NotStabilizedException.prototype instanceof CloudControlServiceException); +assert(NotUpdatableException.prototype instanceof CloudControlServiceException); +assert(PrivateTypeException.prototype instanceof CloudControlServiceException); +assert(RequestTokenNotFoundException.prototype instanceof CloudControlServiceException); +assert(ResourceConflictException.prototype instanceof CloudControlServiceException); +assert(ResourceNotFoundException.prototype instanceof CloudControlServiceException); +assert(ServiceInternalErrorException.prototype instanceof CloudControlServiceException); +assert(ServiceLimitExceededException.prototype instanceof CloudControlServiceException); +assert(ThrottlingException.prototype instanceof CloudControlServiceException); +assert(TypeNotFoundException.prototype instanceof CloudControlServiceException); +assert(UnsupportedActionException.prototype instanceof CloudControlServiceException); assert(CloudControlServiceException.prototype instanceof Error); // waiters assert(typeof waitForResourceRequestSuccess === "function"); diff --git a/clients/client-cloudcontrol/test/index-types.ts b/clients/client-cloudcontrol/test/index-types.ts index c2d0b228b3ed..04cda5354688 100644 --- a/clients/client-cloudcontrol/test/index-types.ts +++ b/clients/client-cloudcontrol/test/index-types.ts @@ -49,6 +49,27 @@ export type { ResourceRequestStatusFilter, UpdateResourceInput, UpdateResourceOutput, + AlreadyExistsException, + ClientTokenConflictException, + ConcurrentModificationException, + ConcurrentOperationException, + GeneralServiceException, + HandlerFailureException, + HandlerInternalFailureException, + InvalidCredentialsException, + InvalidRequestException, + NetworkFailureException, + NotStabilizedException, + NotUpdatableException, + PrivateTypeException, + RequestTokenNotFoundException, + ResourceConflictException, + ResourceNotFoundException, + ServiceInternalErrorException, + ServiceLimitExceededException, + ThrottlingException, + TypeNotFoundException, + UnsupportedActionException, CloudControlServiceException, waitForResourceRequestSuccess, waitUntilResourceRequestSuccess, diff --git a/clients/client-clouddirectory/test/index-objects.spec.mjs b/clients/client-clouddirectory/test/index-objects.spec.mjs index 444037add38b..92794f1da756 100644 --- a/clients/client-clouddirectory/test/index-objects.spec.mjs +++ b/clients/client-clouddirectory/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AddFacetToObjectCommand, ApplySchemaCommand, AttachObjectCommand, @@ -8,6 +9,9 @@ import { BatchReadCommand, BatchReadExceptionType, BatchWriteCommand, + BatchWriteException, + BatchWriteExceptionType, + CannotListParentOfRootException, CloudDirectory, CloudDirectoryClient, CloudDirectoryServiceException, @@ -27,11 +31,19 @@ import { DetachObjectCommand, DetachPolicyCommand, DetachTypedLinkCommand, + DirectoryAlreadyExistsException, + DirectoryDeletedException, + DirectoryNotDisabledException, + DirectoryNotEnabledException, DirectoryState, DisableDirectoryCommand, EnableDirectoryCommand, + FacetAlreadyExistsException, FacetAttributeType, + FacetInUseException, + FacetNotFoundException, FacetStyle, + FacetValidationException, GetAppliedSchemaVersionCommand, GetDirectoryCommand, GetFacetCommand, @@ -40,6 +52,18 @@ import { GetObjectInformationCommand, GetSchemaAsJsonCommand, GetTypedLinkFacetInformationCommand, + IncompatibleSchemaException, + IndexedAttributeMissingException, + InternalServiceException, + InvalidArnException, + InvalidAttachmentException, + InvalidFacetUpdateException, + InvalidNextTokenException, + InvalidRuleException, + InvalidSchemaDocException, + InvalidTaggingRequestException, + LimitExceededException, + LinkNameAlreadyInUseException, ListAppliedSchemaArnsCommand, ListAttachedIndicesCommand, ListDevelopmentSchemaArnsCommand, @@ -61,14 +85,25 @@ import { ListTypedLinkFacetAttributesCommand, ListTypedLinkFacetNamesCommand, LookupPolicyCommand, + NotIndexException, + NotNodeException, + NotPolicyException, + ObjectAlreadyDetachedException, + ObjectNotDetachedException, ObjectType, PublishSchemaCommand, PutSchemaFromJsonCommand, RangeMode, RemoveFacetFromObjectCommand, RequiredAttributeBehavior, + ResourceNotFoundException, + RetryableConflictException, RuleType, + SchemaAlreadyExistsException, + SchemaAlreadyPublishedException, + StillContainsLinksException, TagResourceCommand, + UnsupportedIndexTypeException, UntagResourceCommand, UpdateActionType, UpdateFacetCommand, @@ -78,6 +113,7 @@ import { UpdateTypedLinkFacetCommand, UpgradeAppliedSchemaCommand, UpgradePublishedSchemaCommand, + ValidationException, paginateListAppliedSchemaArns, paginateListAttachedIndices, paginateListDevelopmentSchemaArns, @@ -171,6 +207,7 @@ assert(typeof UpgradeAppliedSchemaCommand === "function"); assert(typeof UpgradePublishedSchemaCommand === "function"); // enums assert(typeof BatchReadExceptionType === "object"); +assert(typeof BatchWriteExceptionType === "object"); assert(typeof ConsistencyLevel === "object"); assert(typeof DirectoryState === "object"); assert(typeof FacetAttributeType === "object"); @@ -181,6 +218,41 @@ assert(typeof RequiredAttributeBehavior === "object"); assert(typeof RuleType === "object"); assert(typeof UpdateActionType === "object"); // errors +assert(AccessDeniedException.prototype instanceof CloudDirectoryServiceException); +assert(BatchWriteException.prototype instanceof CloudDirectoryServiceException); +assert(CannotListParentOfRootException.prototype instanceof CloudDirectoryServiceException); +assert(DirectoryAlreadyExistsException.prototype instanceof CloudDirectoryServiceException); +assert(DirectoryDeletedException.prototype instanceof CloudDirectoryServiceException); +assert(DirectoryNotDisabledException.prototype instanceof CloudDirectoryServiceException); +assert(DirectoryNotEnabledException.prototype instanceof CloudDirectoryServiceException); +assert(FacetAlreadyExistsException.prototype instanceof CloudDirectoryServiceException); +assert(FacetInUseException.prototype instanceof CloudDirectoryServiceException); +assert(FacetNotFoundException.prototype instanceof CloudDirectoryServiceException); +assert(FacetValidationException.prototype instanceof CloudDirectoryServiceException); +assert(IncompatibleSchemaException.prototype instanceof CloudDirectoryServiceException); +assert(IndexedAttributeMissingException.prototype instanceof CloudDirectoryServiceException); +assert(InternalServiceException.prototype instanceof CloudDirectoryServiceException); +assert(InvalidArnException.prototype instanceof CloudDirectoryServiceException); +assert(InvalidAttachmentException.prototype instanceof CloudDirectoryServiceException); +assert(InvalidFacetUpdateException.prototype instanceof CloudDirectoryServiceException); +assert(InvalidNextTokenException.prototype instanceof CloudDirectoryServiceException); +assert(InvalidRuleException.prototype instanceof CloudDirectoryServiceException); +assert(InvalidSchemaDocException.prototype instanceof CloudDirectoryServiceException); +assert(InvalidTaggingRequestException.prototype instanceof CloudDirectoryServiceException); +assert(LimitExceededException.prototype instanceof CloudDirectoryServiceException); +assert(LinkNameAlreadyInUseException.prototype instanceof CloudDirectoryServiceException); +assert(NotIndexException.prototype instanceof CloudDirectoryServiceException); +assert(NotNodeException.prototype instanceof CloudDirectoryServiceException); +assert(NotPolicyException.prototype instanceof CloudDirectoryServiceException); +assert(ObjectAlreadyDetachedException.prototype instanceof CloudDirectoryServiceException); +assert(ObjectNotDetachedException.prototype instanceof CloudDirectoryServiceException); +assert(ResourceNotFoundException.prototype instanceof CloudDirectoryServiceException); +assert(RetryableConflictException.prototype instanceof CloudDirectoryServiceException); +assert(SchemaAlreadyExistsException.prototype instanceof CloudDirectoryServiceException); +assert(SchemaAlreadyPublishedException.prototype instanceof CloudDirectoryServiceException); +assert(StillContainsLinksException.prototype instanceof CloudDirectoryServiceException); +assert(UnsupportedIndexTypeException.prototype instanceof CloudDirectoryServiceException); +assert(ValidationException.prototype instanceof CloudDirectoryServiceException); assert(CloudDirectoryServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAppliedSchemaArns === "function"); diff --git a/clients/client-clouddirectory/test/index-types.ts b/clients/client-clouddirectory/test/index-types.ts index 146db73d3a68..7904729abec1 100644 --- a/clients/client-clouddirectory/test/index-types.ts +++ b/clients/client-clouddirectory/test/index-types.ts @@ -201,6 +201,7 @@ export type { UpgradePublishedSchemaCommandInput, UpgradePublishedSchemaCommandOutput, BatchReadExceptionType, + BatchWriteExceptionType, ConsistencyLevel, DirectoryState, FacetAttributeType, @@ -436,6 +437,41 @@ export type { UpgradeAppliedSchemaResponse, UpgradePublishedSchemaRequest, UpgradePublishedSchemaResponse, + AccessDeniedException, + BatchWriteException, + CannotListParentOfRootException, + DirectoryAlreadyExistsException, + DirectoryDeletedException, + DirectoryNotDisabledException, + DirectoryNotEnabledException, + FacetAlreadyExistsException, + FacetInUseException, + FacetNotFoundException, + FacetValidationException, + IncompatibleSchemaException, + IndexedAttributeMissingException, + InternalServiceException, + InvalidArnException, + InvalidAttachmentException, + InvalidFacetUpdateException, + InvalidNextTokenException, + InvalidRuleException, + InvalidSchemaDocException, + InvalidTaggingRequestException, + LimitExceededException, + LinkNameAlreadyInUseException, + NotIndexException, + NotNodeException, + NotPolicyException, + ObjectAlreadyDetachedException, + ObjectNotDetachedException, + ResourceNotFoundException, + RetryableConflictException, + SchemaAlreadyExistsException, + SchemaAlreadyPublishedException, + StillContainsLinksException, + UnsupportedIndexTypeException, + ValidationException, CloudDirectoryServiceException, paginateListAppliedSchemaArns, paginateListAttachedIndices, diff --git a/clients/client-cloudformation/test/index-objects.spec.mjs b/clients/client-cloudformation/test/index-objects.spec.mjs index 8d3eb7c2e37a..36fb71a257d6 100644 --- a/clients/client-cloudformation/test/index-objects.spec.mjs +++ b/clients/client-cloudformation/test/index-objects.spec.mjs @@ -4,18 +4,21 @@ import { ActivateOrganizationsAccessCommand, ActivateTypeCommand, AfterValueFrom, + AlreadyExistsException, AnnotationSeverityLevel, AnnotationStatus, AttributeChangeType, BatchDescribeTypeConfigurationsCommand, BeaconStackOperationStatus, BeforeValueFrom, + CFNRegistryException, CallAs, CancelUpdateStackCommand, Capability, Category, ChangeAction, ChangeSetHooksStatus, + ChangeSetNotFoundException, ChangeSetStatus, ChangeSetType, ChangeSource, @@ -24,6 +27,7 @@ import { CloudFormationClient, CloudFormationServiceException, ConcurrencyMode, + ConcurrentResourcesLimitExceededException, ContinueUpdateRollbackCommand, CreateChangeSetCommand, CreateGeneratedTemplateCommand, @@ -31,6 +35,7 @@ import { CreateStackInstancesCommand, CreateStackRefactorCommand, CreateStackSetCommand, + CreatedButModifiedException, DeactivateOrganizationsAccessCommand, DeactivateTypeCommand, DeleteChangeSetCommand, @@ -75,6 +80,7 @@ import { ExecuteStackRefactorCommand, ExecutionStatus, GeneratedTemplateDeletionPolicy, + GeneratedTemplateNotFoundException, GeneratedTemplateResourceStatus, GeneratedTemplateStatus, GeneratedTemplateUpdateReplacePolicy, @@ -86,11 +92,17 @@ import { HandlerErrorCode, HookFailureMode, HookInvocationPoint, + HookResultNotFoundException, HookStatus, HookTargetAction, HookTargetType, IdentityProvider, ImportStacksToStackSetCommand, + InsufficientCapabilitiesException, + InvalidChangeSetStatusException, + InvalidOperationException, + InvalidStateTransitionException, + LimitExceededException, ListChangeSetsCommand, ListExportsCommand, ListGeneratedTemplatesCommand, @@ -113,10 +125,15 @@ import { ListTypeRegistrationsCommand, ListTypeVersionsCommand, ListTypesCommand, + NameAlreadyExistsException, OnFailure, OnStackFailure, + OperationIdAlreadyExistsException, + OperationInProgressException, + OperationNotFoundException, OperationResultFilterName, OperationStatus, + OperationStatusCheckFailedException, OperationType, OrganizationStatus, PermissionModels, @@ -133,6 +150,9 @@ import { Replacement, RequiresRecreation, ResourceAttribute, + ResourceScanInProgressException, + ResourceScanLimitExceededException, + ResourceScanNotFoundException, ResourceScanStatus, ResourceSignalStatus, ResourceStatus, @@ -146,26 +166,35 @@ import { StackDriftStatus, StackInstanceDetailedStatus, StackInstanceFilterName, + StackInstanceNotFoundException, StackInstanceStatus, + StackNotFoundException, StackRefactorActionEntity, StackRefactorActionType, StackRefactorDetection, StackRefactorExecutionStatus, + StackRefactorNotFoundException, StackRefactorStatus, StackResourceDriftStatus, StackSetDriftDetectionStatus, StackSetDriftStatus, + StackSetNotEmptyException, + StackSetNotFoundException, StackSetOperationAction, StackSetOperationResultStatus, StackSetOperationStatus, StackSetStatus, StackStatus, + StaleRequestException, StartResourceScanCommand, StopStackSetOperationCommand, TemplateFormat, TemplateStage, TestTypeCommand, ThirdPartyType, + TokenAlreadyExistsException, + TypeConfigurationNotFoundException, + TypeNotFoundException, TypeTestsStatus, UpdateGeneratedTemplateCommand, UpdateStackCommand, @@ -404,6 +433,35 @@ assert(typeof VersionBump === "object"); assert(typeof Visibility === "object"); assert(typeof WarningType === "object"); // errors +assert(AlreadyExistsException.prototype instanceof CloudFormationServiceException); +assert(CFNRegistryException.prototype instanceof CloudFormationServiceException); +assert(ChangeSetNotFoundException.prototype instanceof CloudFormationServiceException); +assert(ConcurrentResourcesLimitExceededException.prototype instanceof CloudFormationServiceException); +assert(CreatedButModifiedException.prototype instanceof CloudFormationServiceException); +assert(GeneratedTemplateNotFoundException.prototype instanceof CloudFormationServiceException); +assert(HookResultNotFoundException.prototype instanceof CloudFormationServiceException); +assert(InsufficientCapabilitiesException.prototype instanceof CloudFormationServiceException); +assert(InvalidChangeSetStatusException.prototype instanceof CloudFormationServiceException); +assert(InvalidOperationException.prototype instanceof CloudFormationServiceException); +assert(InvalidStateTransitionException.prototype instanceof CloudFormationServiceException); +assert(LimitExceededException.prototype instanceof CloudFormationServiceException); +assert(NameAlreadyExistsException.prototype instanceof CloudFormationServiceException); +assert(OperationIdAlreadyExistsException.prototype instanceof CloudFormationServiceException); +assert(OperationInProgressException.prototype instanceof CloudFormationServiceException); +assert(OperationNotFoundException.prototype instanceof CloudFormationServiceException); +assert(OperationStatusCheckFailedException.prototype instanceof CloudFormationServiceException); +assert(ResourceScanInProgressException.prototype instanceof CloudFormationServiceException); +assert(ResourceScanLimitExceededException.prototype instanceof CloudFormationServiceException); +assert(ResourceScanNotFoundException.prototype instanceof CloudFormationServiceException); +assert(StackInstanceNotFoundException.prototype instanceof CloudFormationServiceException); +assert(StackNotFoundException.prototype instanceof CloudFormationServiceException); +assert(StackRefactorNotFoundException.prototype instanceof CloudFormationServiceException); +assert(StackSetNotEmptyException.prototype instanceof CloudFormationServiceException); +assert(StackSetNotFoundException.prototype instanceof CloudFormationServiceException); +assert(StaleRequestException.prototype instanceof CloudFormationServiceException); +assert(TokenAlreadyExistsException.prototype instanceof CloudFormationServiceException); +assert(TypeConfigurationNotFoundException.prototype instanceof CloudFormationServiceException); +assert(TypeNotFoundException.prototype instanceof CloudFormationServiceException); assert(CloudFormationServiceException.prototype instanceof Error); // waiters assert(typeof waitForChangeSetCreateComplete === "function"); diff --git a/clients/client-cloudformation/test/index-types.ts b/clients/client-cloudformation/test/index-types.ts index 37db60d20339..018bd52d1068 100644 --- a/clients/client-cloudformation/test/index-types.ts +++ b/clients/client-cloudformation/test/index-types.ts @@ -618,6 +618,35 @@ export type { WarningDetail, WarningProperty, Warnings, + AlreadyExistsException, + CFNRegistryException, + ChangeSetNotFoundException, + ConcurrentResourcesLimitExceededException, + CreatedButModifiedException, + GeneratedTemplateNotFoundException, + HookResultNotFoundException, + InsufficientCapabilitiesException, + InvalidChangeSetStatusException, + InvalidOperationException, + InvalidStateTransitionException, + LimitExceededException, + NameAlreadyExistsException, + OperationIdAlreadyExistsException, + OperationInProgressException, + OperationNotFoundException, + OperationStatusCheckFailedException, + ResourceScanInProgressException, + ResourceScanLimitExceededException, + ResourceScanNotFoundException, + StackInstanceNotFoundException, + StackNotFoundException, + StackRefactorNotFoundException, + StackSetNotEmptyException, + StackSetNotFoundException, + StaleRequestException, + TokenAlreadyExistsException, + TypeConfigurationNotFoundException, + TypeNotFoundException, CloudFormationServiceException, waitForChangeSetCreateComplete, waitForStackCreateComplete, diff --git a/clients/client-cloudfront-keyvaluestore/test/index-objects.spec.mjs b/clients/client-cloudfront-keyvaluestore/test/index-objects.spec.mjs index acb5927d1b43..ed8c2c297695 100644 --- a/clients/client-cloudfront-keyvaluestore/test/index-objects.spec.mjs +++ b/clients/client-cloudfront-keyvaluestore/test/index-objects.spec.mjs @@ -1,13 +1,19 @@ import { + AccessDeniedException, CloudFrontKeyValueStore, CloudFrontKeyValueStoreClient, CloudFrontKeyValueStoreServiceException, + ConflictException, DeleteKeyCommand, DescribeKeyValueStoreCommand, GetKeyCommand, + InternalServerException, ListKeysCommand, PutKeyCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, UpdateKeysCommand, + ValidationException, paginateListKeys, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -22,6 +28,12 @@ assert(typeof ListKeysCommand === "function"); assert(typeof PutKeyCommand === "function"); assert(typeof UpdateKeysCommand === "function"); // errors +assert(AccessDeniedException.prototype instanceof CloudFrontKeyValueStoreServiceException); +assert(ConflictException.prototype instanceof CloudFrontKeyValueStoreServiceException); +assert(InternalServerException.prototype instanceof CloudFrontKeyValueStoreServiceException); +assert(ResourceNotFoundException.prototype instanceof CloudFrontKeyValueStoreServiceException); +assert(ServiceQuotaExceededException.prototype instanceof CloudFrontKeyValueStoreServiceException); +assert(ValidationException.prototype instanceof CloudFrontKeyValueStoreServiceException); assert(CloudFrontKeyValueStoreServiceException.prototype instanceof Error); // paginators assert(typeof paginateListKeys === "function"); diff --git a/clients/client-cloudfront-keyvaluestore/test/index-types.ts b/clients/client-cloudfront-keyvaluestore/test/index-types.ts index fd4397e6e9c1..efa004977b36 100644 --- a/clients/client-cloudfront-keyvaluestore/test/index-types.ts +++ b/clients/client-cloudfront-keyvaluestore/test/index-types.ts @@ -35,6 +35,12 @@ export type { PutKeyResponse, UpdateKeysRequest, UpdateKeysResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, CloudFrontKeyValueStoreServiceException, paginateListKeys, } from "../dist-types/index.d"; diff --git a/clients/client-cloudfront/test/index-objects.spec.mjs b/clients/client-cloudfront/test/index-objects.spec.mjs index effe56e92deb..62229d5ea316 100644 --- a/clients/client-cloudfront/test/index-objects.spec.mjs +++ b/clients/client-cloudfront/test/index-objects.spec.mjs @@ -1,17 +1,29 @@ import { + AccessDenied, AssociateAliasCommand, AssociateDistributionTenantWebACLCommand, AssociateDistributionWebACLCommand, + BatchTooLarge, + CNAMEAlreadyExists, + CachePolicyAlreadyExists, CachePolicyCookieBehavior, CachePolicyHeaderBehavior, + CachePolicyInUse, CachePolicyQueryStringBehavior, CachePolicyType, + CannotChangeImmutablePublicKeyFields, + CannotDeleteEntityWhileInUse, + CannotUpdateEntityWhileInUse, CertificateSource, CertificateTransparencyLoggingPreference, CloudFront, CloudFrontClient, + CloudFrontOriginAccessIdentityAlreadyExists, + CloudFrontOriginAccessIdentityInUse, CloudFrontServiceException, ConnectionMode, + ContinuousDeploymentPolicyAlreadyExists, + ContinuousDeploymentPolicyInUse, ContinuousDeploymentPolicyType, CopyDistributionCommand, CreateAnycastIpListCommand, @@ -69,13 +81,27 @@ import { DescribeKeyValueStoreCommand, DisassociateDistributionTenantWebACLCommand, DisassociateDistributionWebACLCommand, + DistributionAlreadyExists, + DistributionNotDisabled, DistributionResourceType, DnsConfigurationStatus, DomainStatus, + EntityAlreadyExists, + EntityLimitExceeded, + EntityNotFound, + EntitySizeLimitExceeded, EventType, + FieldLevelEncryptionConfigAlreadyExists, + FieldLevelEncryptionConfigInUse, + FieldLevelEncryptionProfileAlreadyExists, + FieldLevelEncryptionProfileInUse, + FieldLevelEncryptionProfileSizeExceeded, Format, FrameOptionsList, + FunctionAlreadyExists, + FunctionInUse, FunctionRuntime, + FunctionSizeLimitExceeded, FunctionStage, GeoRestrictionType, GetAnycastIpListCommand, @@ -119,10 +145,43 @@ import { GetVpcOriginCommand, HttpVersion, ICPRecordalStatus, + IllegalDelete, + IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, + IllegalOriginAccessConfiguration, + IllegalUpdate, ImportSourceType, + InconsistentQuantities, + InvalidArgument, + InvalidAssociation, + InvalidDefaultRootObject, + InvalidDomainNameForOriginAccessControl, + InvalidErrorCode, + InvalidForwardCookies, + InvalidFunctionAssociation, + InvalidGeoRestrictionParameter, + InvalidHeadersForS3Origin, + InvalidIfMatchVersion, + InvalidLambdaFunctionAssociation, + InvalidLocationCode, + InvalidMinimumProtocolVersion, + InvalidOrigin, + InvalidOriginAccessControl, + InvalidOriginAccessIdentity, + InvalidOriginKeepaliveTimeout, + InvalidOriginReadTimeout, + InvalidProtocolSettings, + InvalidQueryStringParameters, + InvalidRelativePath, + InvalidRequiredProtocol, + InvalidResponseCode, + InvalidTTLOrder, + InvalidTagging, + InvalidViewerCertificate, + InvalidWebACLId, IpAddressType, IpamCidrStatus, ItemSelection, + KeyGroupAlreadyExists, ListAnycastIpListsCommand, ListCachePoliciesCommand, ListCloudFrontOriginAccessIdentitiesCommand, @@ -165,29 +224,122 @@ import { ManagedCertificateStatus, Method, MinimumProtocolVersion, + MissingBody, + MonitoringSubscriptionAlreadyExists, + NoSuchCachePolicy, + NoSuchCloudFrontOriginAccessIdentity, + NoSuchContinuousDeploymentPolicy, + NoSuchDistribution, + NoSuchFieldLevelEncryptionConfig, + NoSuchFieldLevelEncryptionProfile, + NoSuchFunctionExists, + NoSuchInvalidation, + NoSuchMonitoringSubscription, + NoSuchOrigin, + NoSuchOriginAccessControl, + NoSuchOriginRequestPolicy, + NoSuchPublicKey, + NoSuchRealtimeLogConfig, + NoSuchResource, + NoSuchResponseHeadersPolicy, + NoSuchStreamingDistribution, + OriginAccessControlAlreadyExists, + OriginAccessControlInUse, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroupSelectionCriteria, OriginProtocolPolicy, + OriginRequestPolicyAlreadyExists, OriginRequestPolicyCookieBehavior, OriginRequestPolicyHeaderBehavior, + OriginRequestPolicyInUse, OriginRequestPolicyQueryStringBehavior, OriginRequestPolicyType, + PreconditionFailed, PriceClass, + PublicKeyAlreadyExists, + PublicKeyInUse, PublishConnectionFunctionCommand, PublishFunctionCommand, PutResourcePolicyCommand, + QueryArgProfileEmpty, + RealtimeLogConfigAlreadyExists, + RealtimeLogConfigInUse, + RealtimeLogConfigOwnerMismatch, RealtimeMetricsSubscriptionStatus, ReferrerPolicyList, + ResourceInUse, + ResourceNotDisabled, ResponseHeadersPolicyAccessControlAllowMethodsValues, + ResponseHeadersPolicyAlreadyExists, + ResponseHeadersPolicyInUse, ResponseHeadersPolicyType, SSLSupportMethod, SslProtocol, + StagingDistributionInUse, + StreamingDistributionAlreadyExists, + StreamingDistributionNotDisabled, TagResourceCommand, TestConnectionFunctionCommand, TestFunctionCommand, + TestFunctionFailed, + TooLongCSPInResponseHeadersPolicy, + TooManyCacheBehaviors, + TooManyCachePolicies, + TooManyCertificates, + TooManyCloudFrontOriginAccessIdentities, + TooManyContinuousDeploymentPolicies, + TooManyCookieNamesInWhiteList, + TooManyCookiesInCachePolicy, + TooManyCookiesInOriginRequestPolicy, + TooManyCustomHeadersInResponseHeadersPolicy, + TooManyDistributionCNAMEs, + TooManyDistributions, + TooManyDistributionsAssociatedToCachePolicy, + TooManyDistributionsAssociatedToFieldLevelEncryptionConfig, + TooManyDistributionsAssociatedToKeyGroup, + TooManyDistributionsAssociatedToOriginAccessControl, + TooManyDistributionsAssociatedToOriginRequestPolicy, + TooManyDistributionsAssociatedToResponseHeadersPolicy, + TooManyDistributionsWithFunctionAssociations, + TooManyDistributionsWithLambdaAssociations, + TooManyDistributionsWithSingleFunctionARN, + TooManyFieldLevelEncryptionConfigs, + TooManyFieldLevelEncryptionContentTypeProfiles, + TooManyFieldLevelEncryptionEncryptionEntities, + TooManyFieldLevelEncryptionFieldPatterns, + TooManyFieldLevelEncryptionProfiles, + TooManyFieldLevelEncryptionQueryArgProfiles, + TooManyFunctionAssociations, + TooManyFunctions, + TooManyHeadersInCachePolicy, + TooManyHeadersInForwardedValues, + TooManyHeadersInOriginRequestPolicy, + TooManyInvalidationsInProgress, + TooManyKeyGroups, + TooManyKeyGroupsAssociatedToDistribution, + TooManyLambdaFunctionAssociations, + TooManyOriginAccessControls, + TooManyOriginCustomHeaders, + TooManyOriginGroupsPerDistribution, + TooManyOriginRequestPolicies, + TooManyOrigins, + TooManyPublicKeys, + TooManyPublicKeysInKeyGroup, + TooManyQueryStringParameters, + TooManyQueryStringsInCachePolicy, + TooManyQueryStringsInOriginRequestPolicy, + TooManyRealtimeLogConfigs, + TooManyRemoveHeadersInResponseHeadersPolicy, + TooManyResponseHeadersPolicies, + TooManyStreamingDistributionCNAMEs, + TooManyStreamingDistributions, + TooManyTrustedSigners, TrustStoreStatus, + TrustedKeyGroupDoesNotExist, + TrustedSignerDoesNotExist, + UnsupportedOperation, UntagResourceCommand, UpdateAnycastIpListCommand, UpdateCachePolicyCommand, @@ -463,6 +615,158 @@ assert(typeof ValidationTokenHost === "object"); assert(typeof ViewerMtlsMode === "object"); assert(typeof ViewerProtocolPolicy === "object"); // errors +assert(AccessDenied.prototype instanceof CloudFrontServiceException); +assert(BatchTooLarge.prototype instanceof CloudFrontServiceException); +assert(CachePolicyAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(CachePolicyInUse.prototype instanceof CloudFrontServiceException); +assert(CannotChangeImmutablePublicKeyFields.prototype instanceof CloudFrontServiceException); +assert(CannotDeleteEntityWhileInUse.prototype instanceof CloudFrontServiceException); +assert(CannotUpdateEntityWhileInUse.prototype instanceof CloudFrontServiceException); +assert(CloudFrontOriginAccessIdentityAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(CloudFrontOriginAccessIdentityInUse.prototype instanceof CloudFrontServiceException); +assert(CNAMEAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(ContinuousDeploymentPolicyAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(ContinuousDeploymentPolicyInUse.prototype instanceof CloudFrontServiceException); +assert(DistributionAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(DistributionNotDisabled.prototype instanceof CloudFrontServiceException); +assert(EntityAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(EntityLimitExceeded.prototype instanceof CloudFrontServiceException); +assert(EntityNotFound.prototype instanceof CloudFrontServiceException); +assert(EntitySizeLimitExceeded.prototype instanceof CloudFrontServiceException); +assert(FieldLevelEncryptionConfigAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(FieldLevelEncryptionConfigInUse.prototype instanceof CloudFrontServiceException); +assert(FieldLevelEncryptionProfileAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(FieldLevelEncryptionProfileInUse.prototype instanceof CloudFrontServiceException); +assert(FieldLevelEncryptionProfileSizeExceeded.prototype instanceof CloudFrontServiceException); +assert(FunctionAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(FunctionInUse.prototype instanceof CloudFrontServiceException); +assert(FunctionSizeLimitExceeded.prototype instanceof CloudFrontServiceException); +assert(IllegalDelete.prototype instanceof CloudFrontServiceException); +assert(IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.prototype instanceof CloudFrontServiceException); +assert(IllegalOriginAccessConfiguration.prototype instanceof CloudFrontServiceException); +assert(IllegalUpdate.prototype instanceof CloudFrontServiceException); +assert(InconsistentQuantities.prototype instanceof CloudFrontServiceException); +assert(InvalidArgument.prototype instanceof CloudFrontServiceException); +assert(InvalidAssociation.prototype instanceof CloudFrontServiceException); +assert(InvalidDefaultRootObject.prototype instanceof CloudFrontServiceException); +assert(InvalidDomainNameForOriginAccessControl.prototype instanceof CloudFrontServiceException); +assert(InvalidErrorCode.prototype instanceof CloudFrontServiceException); +assert(InvalidForwardCookies.prototype instanceof CloudFrontServiceException); +assert(InvalidFunctionAssociation.prototype instanceof CloudFrontServiceException); +assert(InvalidGeoRestrictionParameter.prototype instanceof CloudFrontServiceException); +assert(InvalidHeadersForS3Origin.prototype instanceof CloudFrontServiceException); +assert(InvalidIfMatchVersion.prototype instanceof CloudFrontServiceException); +assert(InvalidLambdaFunctionAssociation.prototype instanceof CloudFrontServiceException); +assert(InvalidLocationCode.prototype instanceof CloudFrontServiceException); +assert(InvalidMinimumProtocolVersion.prototype instanceof CloudFrontServiceException); +assert(InvalidOrigin.prototype instanceof CloudFrontServiceException); +assert(InvalidOriginAccessControl.prototype instanceof CloudFrontServiceException); +assert(InvalidOriginAccessIdentity.prototype instanceof CloudFrontServiceException); +assert(InvalidOriginKeepaliveTimeout.prototype instanceof CloudFrontServiceException); +assert(InvalidOriginReadTimeout.prototype instanceof CloudFrontServiceException); +assert(InvalidProtocolSettings.prototype instanceof CloudFrontServiceException); +assert(InvalidQueryStringParameters.prototype instanceof CloudFrontServiceException); +assert(InvalidRelativePath.prototype instanceof CloudFrontServiceException); +assert(InvalidRequiredProtocol.prototype instanceof CloudFrontServiceException); +assert(InvalidResponseCode.prototype instanceof CloudFrontServiceException); +assert(InvalidTagging.prototype instanceof CloudFrontServiceException); +assert(InvalidTTLOrder.prototype instanceof CloudFrontServiceException); +assert(InvalidViewerCertificate.prototype instanceof CloudFrontServiceException); +assert(InvalidWebACLId.prototype instanceof CloudFrontServiceException); +assert(KeyGroupAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(MissingBody.prototype instanceof CloudFrontServiceException); +assert(MonitoringSubscriptionAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(NoSuchCachePolicy.prototype instanceof CloudFrontServiceException); +assert(NoSuchCloudFrontOriginAccessIdentity.prototype instanceof CloudFrontServiceException); +assert(NoSuchContinuousDeploymentPolicy.prototype instanceof CloudFrontServiceException); +assert(NoSuchDistribution.prototype instanceof CloudFrontServiceException); +assert(NoSuchFieldLevelEncryptionConfig.prototype instanceof CloudFrontServiceException); +assert(NoSuchFieldLevelEncryptionProfile.prototype instanceof CloudFrontServiceException); +assert(NoSuchFunctionExists.prototype instanceof CloudFrontServiceException); +assert(NoSuchInvalidation.prototype instanceof CloudFrontServiceException); +assert(NoSuchMonitoringSubscription.prototype instanceof CloudFrontServiceException); +assert(NoSuchOrigin.prototype instanceof CloudFrontServiceException); +assert(NoSuchOriginAccessControl.prototype instanceof CloudFrontServiceException); +assert(NoSuchOriginRequestPolicy.prototype instanceof CloudFrontServiceException); +assert(NoSuchPublicKey.prototype instanceof CloudFrontServiceException); +assert(NoSuchRealtimeLogConfig.prototype instanceof CloudFrontServiceException); +assert(NoSuchResource.prototype instanceof CloudFrontServiceException); +assert(NoSuchResponseHeadersPolicy.prototype instanceof CloudFrontServiceException); +assert(NoSuchStreamingDistribution.prototype instanceof CloudFrontServiceException); +assert(OriginAccessControlAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(OriginAccessControlInUse.prototype instanceof CloudFrontServiceException); +assert(OriginRequestPolicyAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(OriginRequestPolicyInUse.prototype instanceof CloudFrontServiceException); +assert(PreconditionFailed.prototype instanceof CloudFrontServiceException); +assert(PublicKeyAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(PublicKeyInUse.prototype instanceof CloudFrontServiceException); +assert(QueryArgProfileEmpty.prototype instanceof CloudFrontServiceException); +assert(RealtimeLogConfigAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(RealtimeLogConfigInUse.prototype instanceof CloudFrontServiceException); +assert(RealtimeLogConfigOwnerMismatch.prototype instanceof CloudFrontServiceException); +assert(ResourceInUse.prototype instanceof CloudFrontServiceException); +assert(ResourceNotDisabled.prototype instanceof CloudFrontServiceException); +assert(ResponseHeadersPolicyAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(ResponseHeadersPolicyInUse.prototype instanceof CloudFrontServiceException); +assert(StagingDistributionInUse.prototype instanceof CloudFrontServiceException); +assert(StreamingDistributionAlreadyExists.prototype instanceof CloudFrontServiceException); +assert(StreamingDistributionNotDisabled.prototype instanceof CloudFrontServiceException); +assert(TestFunctionFailed.prototype instanceof CloudFrontServiceException); +assert(TooLongCSPInResponseHeadersPolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyCacheBehaviors.prototype instanceof CloudFrontServiceException); +assert(TooManyCachePolicies.prototype instanceof CloudFrontServiceException); +assert(TooManyCertificates.prototype instanceof CloudFrontServiceException); +assert(TooManyCloudFrontOriginAccessIdentities.prototype instanceof CloudFrontServiceException); +assert(TooManyContinuousDeploymentPolicies.prototype instanceof CloudFrontServiceException); +assert(TooManyCookieNamesInWhiteList.prototype instanceof CloudFrontServiceException); +assert(TooManyCookiesInCachePolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyCookiesInOriginRequestPolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyCustomHeadersInResponseHeadersPolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionCNAMEs.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributions.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionsAssociatedToCachePolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionsAssociatedToKeyGroup.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionsAssociatedToOriginAccessControl.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionsAssociatedToOriginRequestPolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionsAssociatedToResponseHeadersPolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionsWithFunctionAssociations.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionsWithLambdaAssociations.prototype instanceof CloudFrontServiceException); +assert(TooManyDistributionsWithSingleFunctionARN.prototype instanceof CloudFrontServiceException); +assert(TooManyFieldLevelEncryptionConfigs.prototype instanceof CloudFrontServiceException); +assert(TooManyFieldLevelEncryptionContentTypeProfiles.prototype instanceof CloudFrontServiceException); +assert(TooManyFieldLevelEncryptionEncryptionEntities.prototype instanceof CloudFrontServiceException); +assert(TooManyFieldLevelEncryptionFieldPatterns.prototype instanceof CloudFrontServiceException); +assert(TooManyFieldLevelEncryptionProfiles.prototype instanceof CloudFrontServiceException); +assert(TooManyFieldLevelEncryptionQueryArgProfiles.prototype instanceof CloudFrontServiceException); +assert(TooManyFunctionAssociations.prototype instanceof CloudFrontServiceException); +assert(TooManyFunctions.prototype instanceof CloudFrontServiceException); +assert(TooManyHeadersInCachePolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyHeadersInForwardedValues.prototype instanceof CloudFrontServiceException); +assert(TooManyHeadersInOriginRequestPolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyInvalidationsInProgress.prototype instanceof CloudFrontServiceException); +assert(TooManyKeyGroups.prototype instanceof CloudFrontServiceException); +assert(TooManyKeyGroupsAssociatedToDistribution.prototype instanceof CloudFrontServiceException); +assert(TooManyLambdaFunctionAssociations.prototype instanceof CloudFrontServiceException); +assert(TooManyOriginAccessControls.prototype instanceof CloudFrontServiceException); +assert(TooManyOriginCustomHeaders.prototype instanceof CloudFrontServiceException); +assert(TooManyOriginGroupsPerDistribution.prototype instanceof CloudFrontServiceException); +assert(TooManyOriginRequestPolicies.prototype instanceof CloudFrontServiceException); +assert(TooManyOrigins.prototype instanceof CloudFrontServiceException); +assert(TooManyPublicKeys.prototype instanceof CloudFrontServiceException); +assert(TooManyPublicKeysInKeyGroup.prototype instanceof CloudFrontServiceException); +assert(TooManyQueryStringParameters.prototype instanceof CloudFrontServiceException); +assert(TooManyQueryStringsInCachePolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyQueryStringsInOriginRequestPolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyRealtimeLogConfigs.prototype instanceof CloudFrontServiceException); +assert(TooManyRemoveHeadersInResponseHeadersPolicy.prototype instanceof CloudFrontServiceException); +assert(TooManyResponseHeadersPolicies.prototype instanceof CloudFrontServiceException); +assert(TooManyStreamingDistributionCNAMEs.prototype instanceof CloudFrontServiceException); +assert(TooManyStreamingDistributions.prototype instanceof CloudFrontServiceException); +assert(TooManyTrustedSigners.prototype instanceof CloudFrontServiceException); +assert(TrustedKeyGroupDoesNotExist.prototype instanceof CloudFrontServiceException); +assert(TrustedSignerDoesNotExist.prototype instanceof CloudFrontServiceException); +assert(UnsupportedOperation.prototype instanceof CloudFrontServiceException); assert(CloudFrontServiceException.prototype instanceof Error); // waiters assert(typeof waitForDistributionDeployed === "function"); diff --git a/clients/client-cloudfront/test/index-types.ts b/clients/client-cloudfront/test/index-types.ts index 6fb103f13d1d..e671b2d32c70 100644 --- a/clients/client-cloudfront/test/index-types.ts +++ b/clients/client-cloudfront/test/index-types.ts @@ -1066,6 +1066,158 @@ export type { VpcOriginList, VpcOriginSummary, WebAclCustomization, + AccessDenied, + BatchTooLarge, + CachePolicyAlreadyExists, + CachePolicyInUse, + CannotChangeImmutablePublicKeyFields, + CannotDeleteEntityWhileInUse, + CannotUpdateEntityWhileInUse, + CloudFrontOriginAccessIdentityAlreadyExists, + CloudFrontOriginAccessIdentityInUse, + CNAMEAlreadyExists, + ContinuousDeploymentPolicyAlreadyExists, + ContinuousDeploymentPolicyInUse, + DistributionAlreadyExists, + DistributionNotDisabled, + EntityAlreadyExists, + EntityLimitExceeded, + EntityNotFound, + EntitySizeLimitExceeded, + FieldLevelEncryptionConfigAlreadyExists, + FieldLevelEncryptionConfigInUse, + FieldLevelEncryptionProfileAlreadyExists, + FieldLevelEncryptionProfileInUse, + FieldLevelEncryptionProfileSizeExceeded, + FunctionAlreadyExists, + FunctionInUse, + FunctionSizeLimitExceeded, + IllegalDelete, + IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, + IllegalOriginAccessConfiguration, + IllegalUpdate, + InconsistentQuantities, + InvalidArgument, + InvalidAssociation, + InvalidDefaultRootObject, + InvalidDomainNameForOriginAccessControl, + InvalidErrorCode, + InvalidForwardCookies, + InvalidFunctionAssociation, + InvalidGeoRestrictionParameter, + InvalidHeadersForS3Origin, + InvalidIfMatchVersion, + InvalidLambdaFunctionAssociation, + InvalidLocationCode, + InvalidMinimumProtocolVersion, + InvalidOrigin, + InvalidOriginAccessControl, + InvalidOriginAccessIdentity, + InvalidOriginKeepaliveTimeout, + InvalidOriginReadTimeout, + InvalidProtocolSettings, + InvalidQueryStringParameters, + InvalidRelativePath, + InvalidRequiredProtocol, + InvalidResponseCode, + InvalidTagging, + InvalidTTLOrder, + InvalidViewerCertificate, + InvalidWebACLId, + KeyGroupAlreadyExists, + MissingBody, + MonitoringSubscriptionAlreadyExists, + NoSuchCachePolicy, + NoSuchCloudFrontOriginAccessIdentity, + NoSuchContinuousDeploymentPolicy, + NoSuchDistribution, + NoSuchFieldLevelEncryptionConfig, + NoSuchFieldLevelEncryptionProfile, + NoSuchFunctionExists, + NoSuchInvalidation, + NoSuchMonitoringSubscription, + NoSuchOrigin, + NoSuchOriginAccessControl, + NoSuchOriginRequestPolicy, + NoSuchPublicKey, + NoSuchRealtimeLogConfig, + NoSuchResource, + NoSuchResponseHeadersPolicy, + NoSuchStreamingDistribution, + OriginAccessControlAlreadyExists, + OriginAccessControlInUse, + OriginRequestPolicyAlreadyExists, + OriginRequestPolicyInUse, + PreconditionFailed, + PublicKeyAlreadyExists, + PublicKeyInUse, + QueryArgProfileEmpty, + RealtimeLogConfigAlreadyExists, + RealtimeLogConfigInUse, + RealtimeLogConfigOwnerMismatch, + ResourceInUse, + ResourceNotDisabled, + ResponseHeadersPolicyAlreadyExists, + ResponseHeadersPolicyInUse, + StagingDistributionInUse, + StreamingDistributionAlreadyExists, + StreamingDistributionNotDisabled, + TestFunctionFailed, + TooLongCSPInResponseHeadersPolicy, + TooManyCacheBehaviors, + TooManyCachePolicies, + TooManyCertificates, + TooManyCloudFrontOriginAccessIdentities, + TooManyContinuousDeploymentPolicies, + TooManyCookieNamesInWhiteList, + TooManyCookiesInCachePolicy, + TooManyCookiesInOriginRequestPolicy, + TooManyCustomHeadersInResponseHeadersPolicy, + TooManyDistributionCNAMEs, + TooManyDistributions, + TooManyDistributionsAssociatedToCachePolicy, + TooManyDistributionsAssociatedToFieldLevelEncryptionConfig, + TooManyDistributionsAssociatedToKeyGroup, + TooManyDistributionsAssociatedToOriginAccessControl, + TooManyDistributionsAssociatedToOriginRequestPolicy, + TooManyDistributionsAssociatedToResponseHeadersPolicy, + TooManyDistributionsWithFunctionAssociations, + TooManyDistributionsWithLambdaAssociations, + TooManyDistributionsWithSingleFunctionARN, + TooManyFieldLevelEncryptionConfigs, + TooManyFieldLevelEncryptionContentTypeProfiles, + TooManyFieldLevelEncryptionEncryptionEntities, + TooManyFieldLevelEncryptionFieldPatterns, + TooManyFieldLevelEncryptionProfiles, + TooManyFieldLevelEncryptionQueryArgProfiles, + TooManyFunctionAssociations, + TooManyFunctions, + TooManyHeadersInCachePolicy, + TooManyHeadersInForwardedValues, + TooManyHeadersInOriginRequestPolicy, + TooManyInvalidationsInProgress, + TooManyKeyGroups, + TooManyKeyGroupsAssociatedToDistribution, + TooManyLambdaFunctionAssociations, + TooManyOriginAccessControls, + TooManyOriginCustomHeaders, + TooManyOriginGroupsPerDistribution, + TooManyOriginRequestPolicies, + TooManyOrigins, + TooManyPublicKeys, + TooManyPublicKeysInKeyGroup, + TooManyQueryStringParameters, + TooManyQueryStringsInCachePolicy, + TooManyQueryStringsInOriginRequestPolicy, + TooManyRealtimeLogConfigs, + TooManyRemoveHeadersInResponseHeadersPolicy, + TooManyResponseHeadersPolicies, + TooManyStreamingDistributionCNAMEs, + TooManyStreamingDistributions, + TooManyTrustedSigners, + TrustedKeyGroupDoesNotExist, + TrustedSignerDoesNotExist, + UnsupportedOperation, CloudFrontServiceException, waitForDistributionDeployed, waitForInvalidationCompleted, diff --git a/clients/client-cloudhsm-v2/src/schemas/schemas_0.ts b/clients/client-cloudhsm-v2/src/schemas/schemas_0.ts index 34821427123e..7e00238afef9 100644 --- a/clients/client-cloudhsm-v2/src/schemas/schemas_0.ts +++ b/clients/client-cloudhsm-v2/src/schemas/schemas_0.ts @@ -282,7 +282,6 @@ export var TagResourceRequest: StaticStructureSchema = [3, n0, _TRR, 0, [_RI, _T export var TagResourceResponse: StaticStructureSchema = [3, n0, _TRRa, 0, [], []]; export var UntagResourceRequest: StaticStructureSchema = [3, n0, _URR, 0, [_RI, _TKL], [0, 64 | 0]]; export var UntagResourceResponse: StaticStructureSchema = [3, n0, _URRn, 0, [], []]; -export var __Unit = "unit" as const; export var CloudHSMV2ServiceException: StaticErrorSchema = [-3, _sm, "CloudHSMV2ServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(CloudHSMV2ServiceException, __CloudHSMV2ServiceException); export var Backups: StaticListSchema = [1, n0, _Ba, 0, () => Backup]; diff --git a/clients/client-cloudhsm-v2/test/index-objects.spec.mjs b/clients/client-cloudhsm-v2/test/index-objects.spec.mjs index 60fac5ee0309..d53a636265b3 100644 --- a/clients/client-cloudhsm-v2/test/index-objects.spec.mjs +++ b/clients/client-cloudhsm-v2/test/index-objects.spec.mjs @@ -5,6 +5,13 @@ import { CloudHSMV2, CloudHSMV2Client, CloudHSMV2ServiceException, + CloudHsmAccessDeniedException, + CloudHsmInternalFailureException, + CloudHsmInvalidRequestException, + CloudHsmResourceLimitExceededException, + CloudHsmResourceNotFoundException, + CloudHsmServiceException, + CloudHsmTagException, ClusterMode, ClusterState, CopyBackupToRegionCommand, @@ -63,6 +70,13 @@ assert(typeof ClusterState === "object"); assert(typeof HsmState === "object"); assert(typeof NetworkType === "object"); // errors +assert(CloudHsmAccessDeniedException.prototype instanceof CloudHSMV2ServiceException); +assert(CloudHsmInternalFailureException.prototype instanceof CloudHSMV2ServiceException); +assert(CloudHsmInvalidRequestException.prototype instanceof CloudHSMV2ServiceException); +assert(CloudHsmResourceLimitExceededException.prototype instanceof CloudHSMV2ServiceException); +assert(CloudHsmResourceNotFoundException.prototype instanceof CloudHSMV2ServiceException); +assert(CloudHsmServiceException.prototype instanceof CloudHSMV2ServiceException); +assert(CloudHsmTagException.prototype instanceof CloudHSMV2ServiceException); assert(CloudHSMV2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeBackups === "function"); diff --git a/clients/client-cloudhsm-v2/test/index-types.ts b/clients/client-cloudhsm-v2/test/index-types.ts index d3384e8413ea..72970f6c63c2 100644 --- a/clients/client-cloudhsm-v2/test/index-types.ts +++ b/clients/client-cloudhsm-v2/test/index-types.ts @@ -106,6 +106,13 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + CloudHsmAccessDeniedException, + CloudHsmInternalFailureException, + CloudHsmInvalidRequestException, + CloudHsmResourceLimitExceededException, + CloudHsmResourceNotFoundException, + CloudHsmServiceException, + CloudHsmTagException, CloudHSMV2ServiceException, paginateDescribeBackups, paginateDescribeClusters, diff --git a/clients/client-cloudhsm/src/schemas/schemas_0.ts b/clients/client-cloudhsm/src/schemas/schemas_0.ts index 6eb0bb3f697b..d31739a890aa 100644 --- a/clients/client-cloudhsm/src/schemas/schemas_0.ts +++ b/clients/client-cloudhsm/src/schemas/schemas_0.ts @@ -233,7 +233,6 @@ export var ModifyLunaClientResponse: StaticStructureSchema = [3, n0, _MLCRo, 0, export var RemoveTagsFromResourceRequest: StaticStructureSchema = [3, n0, _RTFRR, 0, [_RA, _TKL], [0, 64 | 0]]; export var RemoveTagsFromResourceResponse: StaticStructureSchema = [3, n0, _RTFRRe, 0, [_S], [0]]; export var Tag: StaticStructureSchema = [3, n0, _T, 0, [_K, _V], [0, 0]]; -export var __Unit = "unit" as const; export var CloudHSMServiceException: StaticErrorSchema = [-3, _sm, "CloudHSMServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(CloudHSMServiceException, __CloudHSMServiceException); export var AZList = 64 | 0; diff --git a/clients/client-cloudhsm/test/index-objects.spec.mjs b/clients/client-cloudhsm/test/index-objects.spec.mjs index fed6ca004997..2e4645620e13 100644 --- a/clients/client-cloudhsm/test/index-objects.spec.mjs +++ b/clients/client-cloudhsm/test/index-objects.spec.mjs @@ -4,7 +4,9 @@ import { CloudHSM, CloudHSMClient, CloudHSMServiceException, + CloudHsmInternalException, CloudHsmObjectState, + CloudHsmServiceException, CreateHapgCommand, CreateHsmCommand, CreateLunaClientCommand, @@ -16,6 +18,7 @@ import { DescribeLunaClientCommand, GetConfigCommand, HsmStatus, + InvalidRequestException, ListAvailableZonesCommand, ListHapgsCommand, ListHsmsCommand, @@ -58,5 +61,8 @@ assert(typeof CloudHsmObjectState === "object"); assert(typeof HsmStatus === "object"); assert(typeof SubscriptionType === "object"); // errors +assert(CloudHsmInternalException.prototype instanceof CloudHSMServiceException); +assert(CloudHsmServiceException.prototype instanceof CloudHSMServiceException); +assert(InvalidRequestException.prototype instanceof CloudHSMServiceException); assert(CloudHSMServiceException.prototype instanceof Error); console.log(`CloudHSM index test passed.`); diff --git a/clients/client-cloudhsm/test/index-types.ts b/clients/client-cloudhsm/test/index-types.ts index 33c771044a34..3654a51404d7 100644 --- a/clients/client-cloudhsm/test/index-types.ts +++ b/clients/client-cloudhsm/test/index-types.ts @@ -107,5 +107,8 @@ export type { RemoveTagsFromResourceRequest, RemoveTagsFromResourceResponse, Tag, + CloudHsmInternalException, + CloudHsmServiceException, + InvalidRequestException, CloudHSMServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-cloudsearch-domain/src/schemas/schemas_0.ts b/clients/client-cloudsearch-domain/src/schemas/schemas_0.ts index 667a9f24342f..e6cf437b2016 100644 --- a/clients/client-cloudsearch-domain/src/schemas/schemas_0.ts +++ b/clients/client-cloudsearch-domain/src/schemas/schemas_0.ts @@ -204,7 +204,6 @@ export var UploadDocumentsResponse: StaticStructureSchema = [ [_st, _a, _de, _w], [0, 1, 1, () => DocumentServiceWarnings], ]; -export var __Unit = "unit" as const; export var CloudSearchDomainServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-cloudsearch-domain/test/index-objects.spec.mjs b/clients/client-cloudsearch-domain/test/index-objects.spec.mjs index c524a9cd1246..f6a4efec7ed9 100644 --- a/clients/client-cloudsearch-domain/test/index-objects.spec.mjs +++ b/clients/client-cloudsearch-domain/test/index-objects.spec.mjs @@ -3,8 +3,10 @@ import { CloudSearchDomainClient, CloudSearchDomainServiceException, ContentType, + DocumentServiceException, QueryParser, SearchCommand, + SearchException, SuggestCommand, UploadDocumentsCommand, } from "../dist-cjs/index.js"; @@ -20,5 +22,7 @@ assert(typeof UploadDocumentsCommand === "function"); assert(typeof ContentType === "object"); assert(typeof QueryParser === "object"); // errors +assert(DocumentServiceException.prototype instanceof CloudSearchDomainServiceException); +assert(SearchException.prototype instanceof CloudSearchDomainServiceException); assert(CloudSearchDomainServiceException.prototype instanceof Error); console.log(`CloudSearchDomain index test passed.`); diff --git a/clients/client-cloudsearch-domain/test/index-types.ts b/clients/client-cloudsearch-domain/test/index-types.ts index 5433b5368d7a..e0847c290741 100644 --- a/clients/client-cloudsearch-domain/test/index-types.ts +++ b/clients/client-cloudsearch-domain/test/index-types.ts @@ -29,5 +29,7 @@ export type { SuggestStatus, UploadDocumentsRequest, UploadDocumentsResponse, + DocumentServiceException, + SearchException, CloudSearchDomainServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-cloudsearch/test/index-objects.spec.mjs b/clients/client-cloudsearch/test/index-objects.spec.mjs index c040deb534b3..1da9a01973dd 100644 --- a/clients/client-cloudsearch/test/index-objects.spec.mjs +++ b/clients/client-cloudsearch/test/index-objects.spec.mjs @@ -1,6 +1,7 @@ import { AlgorithmicStemming, AnalysisSchemeLanguage, + BaseException, BuildSuggestersCommand, CloudSearch, CloudSearchClient, @@ -24,17 +25,24 @@ import { DescribeScalingParametersCommand, DescribeServiceAccessPoliciesCommand, DescribeSuggestersCommand, + DisabledOperationException, IndexDocumentsCommand, IndexFieldType, + InternalException, + InvalidTypeException, + LimitExceededException, ListDomainNamesCommand, OptionState, PartitionInstanceType, + ResourceAlreadyExistsException, + ResourceNotFoundException, SuggesterFuzzyMatching, TLSSecurityPolicy, UpdateAvailabilityOptionsCommand, UpdateDomainEndpointOptionsCommand, UpdateScalingParametersCommand, UpdateServiceAccessPoliciesCommand, + ValidationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -76,5 +84,13 @@ assert(typeof PartitionInstanceType === "object"); assert(typeof SuggesterFuzzyMatching === "object"); assert(typeof TLSSecurityPolicy === "object"); // errors +assert(BaseException.prototype instanceof CloudSearchServiceException); +assert(DisabledOperationException.prototype instanceof CloudSearchServiceException); +assert(InternalException.prototype instanceof CloudSearchServiceException); +assert(InvalidTypeException.prototype instanceof CloudSearchServiceException); +assert(LimitExceededException.prototype instanceof CloudSearchServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof CloudSearchServiceException); +assert(ResourceNotFoundException.prototype instanceof CloudSearchServiceException); +assert(ValidationException.prototype instanceof CloudSearchServiceException); assert(CloudSearchServiceException.prototype instanceof Error); console.log(`CloudSearch index test passed.`); diff --git a/clients/client-cloudsearch/test/index-types.ts b/clients/client-cloudsearch/test/index-types.ts index 73b8aced4353..1e2e70ace8dd 100644 --- a/clients/client-cloudsearch/test/index-types.ts +++ b/clients/client-cloudsearch/test/index-types.ts @@ -169,5 +169,13 @@ export type { UpdateScalingParametersResponse, UpdateServiceAccessPoliciesRequest, UpdateServiceAccessPoliciesResponse, + BaseException, + DisabledOperationException, + InternalException, + InvalidTypeException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ValidationException, CloudSearchServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-cloudtrail-data/test/index-objects.spec.mjs b/clients/client-cloudtrail-data/test/index-objects.spec.mjs index 31fcc0b14b1d..9cc83dcb4c82 100644 --- a/clients/client-cloudtrail-data/test/index-objects.spec.mjs +++ b/clients/client-cloudtrail-data/test/index-objects.spec.mjs @@ -1,8 +1,14 @@ import { + ChannelInsufficientPermission, + ChannelNotFound, + ChannelUnsupportedSchema, CloudTrailData, CloudTrailDataClient, CloudTrailDataServiceException, + DuplicatedAuditEventId, + InvalidChannelARN, PutAuditEventsCommand, + UnsupportedOperationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -11,5 +17,11 @@ assert(typeof CloudTrailData === "function"); // commands assert(typeof PutAuditEventsCommand === "function"); // errors +assert(ChannelInsufficientPermission.prototype instanceof CloudTrailDataServiceException); +assert(ChannelNotFound.prototype instanceof CloudTrailDataServiceException); +assert(ChannelUnsupportedSchema.prototype instanceof CloudTrailDataServiceException); +assert(DuplicatedAuditEventId.prototype instanceof CloudTrailDataServiceException); +assert(InvalidChannelARN.prototype instanceof CloudTrailDataServiceException); +assert(UnsupportedOperationException.prototype instanceof CloudTrailDataServiceException); assert(CloudTrailDataServiceException.prototype instanceof Error); console.log(`CloudTrailData index test passed.`); diff --git a/clients/client-cloudtrail-data/test/index-types.ts b/clients/client-cloudtrail-data/test/index-types.ts index 2a5e198eb76c..c787f97d162c 100644 --- a/clients/client-cloudtrail-data/test/index-types.ts +++ b/clients/client-cloudtrail-data/test/index-types.ts @@ -10,5 +10,11 @@ export type { PutAuditEventsRequest, PutAuditEventsResponse, ResultErrorEntry, + ChannelInsufficientPermission, + ChannelNotFound, + ChannelUnsupportedSchema, + DuplicatedAuditEventId, + InvalidChannelARN, + UnsupportedOperationException, CloudTrailDataServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-cloudtrail/src/schemas/schemas_0.ts b/clients/client-cloudtrail/src/schemas/schemas_0.ts index f1a9ba8ad1e5..5a818e83896f 100644 --- a/clients/client-cloudtrail/src/schemas/schemas_0.ts +++ b/clients/client-cloudtrail/src/schemas/schemas_0.ts @@ -1964,7 +1964,6 @@ export var UpdateTrailResponse: StaticStructureSchema = [ [0, 0, 0, 0, 0, 2, 2, 0, 2, 0, 0, 0, 2], ]; export var Widget: StaticStructureSchema = [3, n0, _Wi, 0, [_QA, _QSuer, _QP, _VP], [0, 0, 64 | 0, 128 | 0]]; -export var __Unit = "unit" as const; export var CloudTrailServiceException: StaticErrorSchema = [-3, _s, "CloudTrailServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(CloudTrailServiceException, __CloudTrailServiceException); export var AdvancedEventSelectors: StaticListSchema = [1, n0, _AESd, 0, () => AdvancedEventSelector]; diff --git a/clients/client-cloudtrail/test/index-objects.spec.mjs b/clients/client-cloudtrail/test/index-objects.spec.mjs index 540488f7437a..09141dc36c9d 100644 --- a/clients/client-cloudtrail/test/index-objects.spec.mjs +++ b/clients/client-cloudtrail/test/index-objects.spec.mjs @@ -1,16 +1,34 @@ import { + AccessDeniedException, + AccountHasOngoingImportException, + AccountNotFoundException, + AccountNotRegisteredException, + AccountRegisteredException, AddTagsCommand, BillingMode, CancelQueryCommand, + CannotDelegateManagementAccountException, + ChannelARNInvalidException, + ChannelAlreadyExistsException, + ChannelExistsForEDSException, + ChannelMaxLimitExceededException, + ChannelNotFoundException, CloudTrail, + CloudTrailARNInvalidException, + CloudTrailAccessNotEnabledException, CloudTrailClient, + CloudTrailInvalidClientTokenIdException, CloudTrailServiceException, + CloudWatchLogsDeliveryUnavailableException, + ConcurrentModificationException, + ConflictException, CreateChannelCommand, CreateDashboardCommand, CreateEventDataStoreCommand, CreateTrailCommand, DashboardStatus, DashboardType, + DelegatedAdminAccountLimitExceededException, DeleteChannelCommand, DeleteDashboardCommand, DeleteEventDataStoreCommand, @@ -25,9 +43,17 @@ import { EnableFederationCommand, EventCategory, EventCategoryAggregation, + EventDataStoreARNInvalidException, + EventDataStoreAlreadyExistsException, + EventDataStoreFederationEnabledException, + EventDataStoreHasOngoingImportException, + EventDataStoreMaxLimitExceededException, + EventDataStoreNotFoundException, EventDataStoreStatus, + EventDataStoreTerminationProtectedException, FederationStatus, GenerateQueryCommand, + GenerateResponseException, GetChannelCommand, GetDashboardCommand, GetEventConfigurationCommand, @@ -40,9 +66,47 @@ import { GetTrailCommand, GetTrailStatusCommand, ImportFailureStatus, + ImportNotFoundException, ImportStatus, + InactiveEventDataStoreException, + InactiveQueryException, + InsightNotEnabledException, InsightType, InsightsMetricDataType, + InsufficientDependencyServiceAccessPermissionException, + InsufficientEncryptionPolicyException, + InsufficientIAMAccessPermissionException, + InsufficientS3BucketPolicyException, + InsufficientSnsTopicPolicyException, + InvalidCloudWatchLogsLogGroupArnException, + InvalidCloudWatchLogsRoleArnException, + InvalidDateRangeException, + InvalidEventCategoryException, + InvalidEventDataStoreCategoryException, + InvalidEventDataStoreStatusException, + InvalidEventSelectorsException, + InvalidHomeRegionException, + InvalidImportSourceException, + InvalidInsightSelectorsException, + InvalidKmsKeyIdException, + InvalidLookupAttributesException, + InvalidMaxResultsException, + InvalidNextTokenException, + InvalidParameterCombinationException, + InvalidParameterException, + InvalidQueryStatementException, + InvalidQueryStatusException, + InvalidS3BucketNameException, + InvalidS3PrefixException, + InvalidSnsTopicNameException, + InvalidSourceException, + InvalidTagParameterException, + InvalidTimeRangeException, + InvalidTokenException, + InvalidTrailNameException, + KmsException, + KmsKeyDisabledException, + KmsKeyNotFoundException, ListChannelsCommand, ListDashboardsCommand, ListEventDataStoresCommand, @@ -58,19 +122,35 @@ import { ListTrailsCommand, LookupAttributeKey, LookupEventsCommand, + MaxConcurrentQueriesException, MaxEventSize, + MaximumNumberOfTrailsExceededException, + NoManagementAccountSLRExistsException, + NotOrganizationManagementAccountException, + NotOrganizationMasterAccountException, + OperationNotPermittedException, + OrganizationNotInAllFeaturesModeException, + OrganizationsNotInUseException, PutEventConfigurationCommand, PutEventSelectorsCommand, PutInsightSelectorsCommand, PutResourcePolicyCommand, + QueryIdNotFoundException, QueryStatus, ReadWriteType, RefreshScheduleFrequencyUnit, RefreshScheduleStatus, RegisterOrganizationDelegatedAdminCommand, RemoveTagsCommand, + ResourceARNNotValidException, + ResourceNotFoundException, + ResourcePolicyNotFoundException, + ResourcePolicyNotValidException, + ResourceTypeNotSupportedException, RestoreEventDataStoreCommand, + S3BucketDoesNotExistException, SearchSampleQueriesCommand, + ServiceQuotaExceededException, SourceEventCategory, StartDashboardRefreshCommand, StartEventDataStoreIngestionCommand, @@ -80,8 +160,14 @@ import { StopEventDataStoreIngestionCommand, StopImportCommand, StopLoggingCommand, + TagsLimitExceededException, Template, + ThrottlingException, + TrailAlreadyExistsException, + TrailNotFoundException, + TrailNotProvidedException, Type, + UnsupportedOperationException, UpdateChannelCommand, UpdateDashboardCommand, UpdateEventDataStoreCommand, @@ -190,6 +276,92 @@ assert(typeof SourceEventCategory === "object"); assert(typeof Template === "object"); assert(typeof Type === "object"); // errors +assert(AccessDeniedException.prototype instanceof CloudTrailServiceException); +assert(AccountHasOngoingImportException.prototype instanceof CloudTrailServiceException); +assert(AccountNotFoundException.prototype instanceof CloudTrailServiceException); +assert(AccountNotRegisteredException.prototype instanceof CloudTrailServiceException); +assert(AccountRegisteredException.prototype instanceof CloudTrailServiceException); +assert(CannotDelegateManagementAccountException.prototype instanceof CloudTrailServiceException); +assert(ChannelAlreadyExistsException.prototype instanceof CloudTrailServiceException); +assert(ChannelARNInvalidException.prototype instanceof CloudTrailServiceException); +assert(ChannelExistsForEDSException.prototype instanceof CloudTrailServiceException); +assert(ChannelMaxLimitExceededException.prototype instanceof CloudTrailServiceException); +assert(ChannelNotFoundException.prototype instanceof CloudTrailServiceException); +assert(CloudTrailAccessNotEnabledException.prototype instanceof CloudTrailServiceException); +assert(CloudTrailARNInvalidException.prototype instanceof CloudTrailServiceException); +assert(CloudTrailInvalidClientTokenIdException.prototype instanceof CloudTrailServiceException); +assert(CloudWatchLogsDeliveryUnavailableException.prototype instanceof CloudTrailServiceException); +assert(ConcurrentModificationException.prototype instanceof CloudTrailServiceException); +assert(ConflictException.prototype instanceof CloudTrailServiceException); +assert(DelegatedAdminAccountLimitExceededException.prototype instanceof CloudTrailServiceException); +assert(EventDataStoreAlreadyExistsException.prototype instanceof CloudTrailServiceException); +assert(EventDataStoreARNInvalidException.prototype instanceof CloudTrailServiceException); +assert(EventDataStoreFederationEnabledException.prototype instanceof CloudTrailServiceException); +assert(EventDataStoreHasOngoingImportException.prototype instanceof CloudTrailServiceException); +assert(EventDataStoreMaxLimitExceededException.prototype instanceof CloudTrailServiceException); +assert(EventDataStoreNotFoundException.prototype instanceof CloudTrailServiceException); +assert(EventDataStoreTerminationProtectedException.prototype instanceof CloudTrailServiceException); +assert(GenerateResponseException.prototype instanceof CloudTrailServiceException); +assert(ImportNotFoundException.prototype instanceof CloudTrailServiceException); +assert(InactiveEventDataStoreException.prototype instanceof CloudTrailServiceException); +assert(InactiveQueryException.prototype instanceof CloudTrailServiceException); +assert(InsightNotEnabledException.prototype instanceof CloudTrailServiceException); +assert(InsufficientDependencyServiceAccessPermissionException.prototype instanceof CloudTrailServiceException); +assert(InsufficientEncryptionPolicyException.prototype instanceof CloudTrailServiceException); +assert(InsufficientIAMAccessPermissionException.prototype instanceof CloudTrailServiceException); +assert(InsufficientS3BucketPolicyException.prototype instanceof CloudTrailServiceException); +assert(InsufficientSnsTopicPolicyException.prototype instanceof CloudTrailServiceException); +assert(InvalidCloudWatchLogsLogGroupArnException.prototype instanceof CloudTrailServiceException); +assert(InvalidCloudWatchLogsRoleArnException.prototype instanceof CloudTrailServiceException); +assert(InvalidDateRangeException.prototype instanceof CloudTrailServiceException); +assert(InvalidEventCategoryException.prototype instanceof CloudTrailServiceException); +assert(InvalidEventDataStoreCategoryException.prototype instanceof CloudTrailServiceException); +assert(InvalidEventDataStoreStatusException.prototype instanceof CloudTrailServiceException); +assert(InvalidEventSelectorsException.prototype instanceof CloudTrailServiceException); +assert(InvalidHomeRegionException.prototype instanceof CloudTrailServiceException); +assert(InvalidImportSourceException.prototype instanceof CloudTrailServiceException); +assert(InvalidInsightSelectorsException.prototype instanceof CloudTrailServiceException); +assert(InvalidKmsKeyIdException.prototype instanceof CloudTrailServiceException); +assert(InvalidLookupAttributesException.prototype instanceof CloudTrailServiceException); +assert(InvalidMaxResultsException.prototype instanceof CloudTrailServiceException); +assert(InvalidNextTokenException.prototype instanceof CloudTrailServiceException); +assert(InvalidParameterCombinationException.prototype instanceof CloudTrailServiceException); +assert(InvalidParameterException.prototype instanceof CloudTrailServiceException); +assert(InvalidQueryStatementException.prototype instanceof CloudTrailServiceException); +assert(InvalidQueryStatusException.prototype instanceof CloudTrailServiceException); +assert(InvalidS3BucketNameException.prototype instanceof CloudTrailServiceException); +assert(InvalidS3PrefixException.prototype instanceof CloudTrailServiceException); +assert(InvalidSnsTopicNameException.prototype instanceof CloudTrailServiceException); +assert(InvalidSourceException.prototype instanceof CloudTrailServiceException); +assert(InvalidTagParameterException.prototype instanceof CloudTrailServiceException); +assert(InvalidTimeRangeException.prototype instanceof CloudTrailServiceException); +assert(InvalidTokenException.prototype instanceof CloudTrailServiceException); +assert(InvalidTrailNameException.prototype instanceof CloudTrailServiceException); +assert(KmsException.prototype instanceof CloudTrailServiceException); +assert(KmsKeyDisabledException.prototype instanceof CloudTrailServiceException); +assert(KmsKeyNotFoundException.prototype instanceof CloudTrailServiceException); +assert(MaxConcurrentQueriesException.prototype instanceof CloudTrailServiceException); +assert(MaximumNumberOfTrailsExceededException.prototype instanceof CloudTrailServiceException); +assert(NoManagementAccountSLRExistsException.prototype instanceof CloudTrailServiceException); +assert(NotOrganizationManagementAccountException.prototype instanceof CloudTrailServiceException); +assert(NotOrganizationMasterAccountException.prototype instanceof CloudTrailServiceException); +assert(OperationNotPermittedException.prototype instanceof CloudTrailServiceException); +assert(OrganizationNotInAllFeaturesModeException.prototype instanceof CloudTrailServiceException); +assert(OrganizationsNotInUseException.prototype instanceof CloudTrailServiceException); +assert(QueryIdNotFoundException.prototype instanceof CloudTrailServiceException); +assert(ResourceARNNotValidException.prototype instanceof CloudTrailServiceException); +assert(ResourceNotFoundException.prototype instanceof CloudTrailServiceException); +assert(ResourcePolicyNotFoundException.prototype instanceof CloudTrailServiceException); +assert(ResourcePolicyNotValidException.prototype instanceof CloudTrailServiceException); +assert(ResourceTypeNotSupportedException.prototype instanceof CloudTrailServiceException); +assert(S3BucketDoesNotExistException.prototype instanceof CloudTrailServiceException); +assert(ServiceQuotaExceededException.prototype instanceof CloudTrailServiceException); +assert(TagsLimitExceededException.prototype instanceof CloudTrailServiceException); +assert(ThrottlingException.prototype instanceof CloudTrailServiceException); +assert(TrailAlreadyExistsException.prototype instanceof CloudTrailServiceException); +assert(TrailNotFoundException.prototype instanceof CloudTrailServiceException); +assert(TrailNotProvidedException.prototype instanceof CloudTrailServiceException); +assert(UnsupportedOperationException.prototype instanceof CloudTrailServiceException); assert(CloudTrailServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetQueryResults === "function"); diff --git a/clients/client-cloudtrail/test/index-types.ts b/clients/client-cloudtrail/test/index-types.ts index a2778e04c357..b1bb348c76e1 100644 --- a/clients/client-cloudtrail/test/index-types.ts +++ b/clients/client-cloudtrail/test/index-types.ts @@ -361,6 +361,92 @@ export type { UpdateTrailRequest, UpdateTrailResponse, Widget, + AccessDeniedException, + AccountHasOngoingImportException, + AccountNotFoundException, + AccountNotRegisteredException, + AccountRegisteredException, + CannotDelegateManagementAccountException, + ChannelAlreadyExistsException, + ChannelARNInvalidException, + ChannelExistsForEDSException, + ChannelMaxLimitExceededException, + ChannelNotFoundException, + CloudTrailAccessNotEnabledException, + CloudTrailARNInvalidException, + CloudTrailInvalidClientTokenIdException, + CloudWatchLogsDeliveryUnavailableException, + ConcurrentModificationException, + ConflictException, + DelegatedAdminAccountLimitExceededException, + EventDataStoreAlreadyExistsException, + EventDataStoreARNInvalidException, + EventDataStoreFederationEnabledException, + EventDataStoreHasOngoingImportException, + EventDataStoreMaxLimitExceededException, + EventDataStoreNotFoundException, + EventDataStoreTerminationProtectedException, + GenerateResponseException, + ImportNotFoundException, + InactiveEventDataStoreException, + InactiveQueryException, + InsightNotEnabledException, + InsufficientDependencyServiceAccessPermissionException, + InsufficientEncryptionPolicyException, + InsufficientIAMAccessPermissionException, + InsufficientS3BucketPolicyException, + InsufficientSnsTopicPolicyException, + InvalidCloudWatchLogsLogGroupArnException, + InvalidCloudWatchLogsRoleArnException, + InvalidDateRangeException, + InvalidEventCategoryException, + InvalidEventDataStoreCategoryException, + InvalidEventDataStoreStatusException, + InvalidEventSelectorsException, + InvalidHomeRegionException, + InvalidImportSourceException, + InvalidInsightSelectorsException, + InvalidKmsKeyIdException, + InvalidLookupAttributesException, + InvalidMaxResultsException, + InvalidNextTokenException, + InvalidParameterCombinationException, + InvalidParameterException, + InvalidQueryStatementException, + InvalidQueryStatusException, + InvalidS3BucketNameException, + InvalidS3PrefixException, + InvalidSnsTopicNameException, + InvalidSourceException, + InvalidTagParameterException, + InvalidTimeRangeException, + InvalidTokenException, + InvalidTrailNameException, + KmsException, + KmsKeyDisabledException, + KmsKeyNotFoundException, + MaxConcurrentQueriesException, + MaximumNumberOfTrailsExceededException, + NoManagementAccountSLRExistsException, + NotOrganizationManagementAccountException, + NotOrganizationMasterAccountException, + OperationNotPermittedException, + OrganizationNotInAllFeaturesModeException, + OrganizationsNotInUseException, + QueryIdNotFoundException, + ResourceARNNotValidException, + ResourceNotFoundException, + ResourcePolicyNotFoundException, + ResourcePolicyNotValidException, + ResourceTypeNotSupportedException, + S3BucketDoesNotExistException, + ServiceQuotaExceededException, + TagsLimitExceededException, + ThrottlingException, + TrailAlreadyExistsException, + TrailNotFoundException, + TrailNotProvidedException, + UnsupportedOperationException, CloudTrailServiceException, paginateGetQueryResults, paginateListChannels, diff --git a/clients/client-cloudwatch-events/test/index-objects.spec.mjs b/clients/client-cloudwatch-events/test/index-objects.spec.mjs index 5fb333dcbfcf..d1c18f5d5926 100644 --- a/clients/client-cloudwatch-events/test/index-objects.spec.mjs +++ b/clients/client-cloudwatch-events/test/index-objects.spec.mjs @@ -8,6 +8,7 @@ import { CloudWatchEvents, CloudWatchEventsClient, CloudWatchEventsServiceException, + ConcurrentModificationException, ConnectionAuthorizationType, ConnectionOAuthHttpMethod, ConnectionState, @@ -35,7 +36,12 @@ import { DisableRuleCommand, EnableRuleCommand, EventSourceState, + IllegalStatusException, + InternalException, + InvalidEventPatternException, + InvalidStateException, LaunchType, + LimitExceededException, ListApiDestinationsCommand, ListArchivesCommand, ListConnectionsCommand, @@ -48,8 +54,11 @@ import { ListRulesCommand, ListTagsForResourceCommand, ListTargetsByRuleCommand, + ManagedRuleException, + OperationDisabledException, PlacementConstraintType, PlacementStrategyType, + PolicyLengthExceededException, PropagateTags, PutEventsCommand, PutPartnerEventsCommand, @@ -59,6 +68,8 @@ import { RemovePermissionCommand, RemoveTargetsCommand, ReplayState, + ResourceAlreadyExistsException, + ResourceNotFoundException, RuleState, StartReplayCommand, TagResourceCommand, @@ -140,5 +151,16 @@ assert(typeof PropagateTags === "object"); assert(typeof ReplayState === "object"); assert(typeof RuleState === "object"); // errors +assert(ConcurrentModificationException.prototype instanceof CloudWatchEventsServiceException); +assert(IllegalStatusException.prototype instanceof CloudWatchEventsServiceException); +assert(InternalException.prototype instanceof CloudWatchEventsServiceException); +assert(InvalidEventPatternException.prototype instanceof CloudWatchEventsServiceException); +assert(InvalidStateException.prototype instanceof CloudWatchEventsServiceException); +assert(LimitExceededException.prototype instanceof CloudWatchEventsServiceException); +assert(ManagedRuleException.prototype instanceof CloudWatchEventsServiceException); +assert(OperationDisabledException.prototype instanceof CloudWatchEventsServiceException); +assert(PolicyLengthExceededException.prototype instanceof CloudWatchEventsServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof CloudWatchEventsServiceException); +assert(ResourceNotFoundException.prototype instanceof CloudWatchEventsServiceException); assert(CloudWatchEventsServiceException.prototype instanceof Error); console.log(`CloudWatchEvents index test passed.`); diff --git a/clients/client-cloudwatch-events/test/index-types.ts b/clients/client-cloudwatch-events/test/index-types.ts index 66093abea93b..dd102900cb47 100644 --- a/clients/client-cloudwatch-events/test/index-types.ts +++ b/clients/client-cloudwatch-events/test/index-types.ts @@ -320,5 +320,16 @@ export type { UpdateConnectionOAuthRequestParameters, UpdateConnectionRequest, UpdateConnectionResponse, + ConcurrentModificationException, + IllegalStatusException, + InternalException, + InvalidEventPatternException, + InvalidStateException, + LimitExceededException, + ManagedRuleException, + OperationDisabledException, + PolicyLengthExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, CloudWatchEventsServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-cloudwatch-logs/test/index-objects.spec.mjs b/clients/client-cloudwatch-logs/test/index-objects.spec.mjs index ef7f78f81303..71ea5dcbe5d3 100644 --- a/clients/client-cloudwatch-logs/test/index-objects.spec.mjs +++ b/clients/client-cloudwatch-logs/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ActionStatus, AnomalyDetectorStatus, AssociateKmsKeyCommand, @@ -7,12 +8,14 @@ import { CloudWatchLogs, CloudWatchLogsClient, CloudWatchLogsServiceException, + ConflictException, CreateDeliveryCommand, CreateExportTaskCommand, CreateLogAnomalyDetectorCommand, CreateLogGroupCommand, CreateLogStreamCommand, CreateScheduledQueryCommand, + DataAlreadyAcceptedException, DataProtectionStatus, DeleteAccountPolicyCommand, DeleteDataProtectionPolicyCommand, @@ -81,7 +84,12 @@ import { InheritedProperty, IntegrationStatus, IntegrationType, + InternalServerException, InternalStreamingException, + InvalidOperationException, + InvalidParameterException, + InvalidSequenceTokenException, + LimitExceededException, ListAggregateLogGroupSummariesCommand, ListAggregateLogGroupSummariesGroupBy, ListAnomaliesCommand, @@ -94,8 +102,10 @@ import { ListTagsForResourceCommand, ListTagsLogGroupCommand, LogGroupClass, + MalformedQueryException, OCSFVersion, OpenSearchResourceStatusType, + OperationAbortedException, OrderBy, OutputFormat, PolicyScope, @@ -119,10 +129,14 @@ import { PutTransformerCommand, QueryLanguage, QueryStatus, + ResourceAlreadyExistsException, + ResourceNotFoundException, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, Scope, + ServiceQuotaExceededException, + ServiceUnavailableException, SessionStreamingException, SessionTimeoutException, StandardUnit, @@ -137,13 +151,17 @@ import { TagResourceCommand, TestMetricFilterCommand, TestTransformerCommand, + ThrottlingException, + TooManyTagsException, Type, + UnrecognizedClientException, UntagLogGroupCommand, UntagResourceCommand, UpdateAnomalyCommand, UpdateDeliveryConfigurationCommand, UpdateLogAnomalyDetectorCommand, UpdateScheduledQueryCommand, + ValidationException, paginateDescribeConfigurationTemplates, paginateDescribeDeliveries, paginateDescribeDeliveryDestinations, @@ -308,9 +326,27 @@ assert(typeof SuppressionType === "object"); assert(typeof SuppressionUnit === "object"); assert(typeof Type === "object"); // errors +assert(AccessDeniedException.prototype instanceof CloudWatchLogsServiceException); +assert(ConflictException.prototype instanceof CloudWatchLogsServiceException); +assert(DataAlreadyAcceptedException.prototype instanceof CloudWatchLogsServiceException); +assert(InternalServerException.prototype instanceof CloudWatchLogsServiceException); assert(InternalStreamingException.prototype instanceof CloudWatchLogsServiceException); +assert(InvalidOperationException.prototype instanceof CloudWatchLogsServiceException); +assert(InvalidParameterException.prototype instanceof CloudWatchLogsServiceException); +assert(InvalidSequenceTokenException.prototype instanceof CloudWatchLogsServiceException); +assert(LimitExceededException.prototype instanceof CloudWatchLogsServiceException); +assert(MalformedQueryException.prototype instanceof CloudWatchLogsServiceException); +assert(OperationAbortedException.prototype instanceof CloudWatchLogsServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof CloudWatchLogsServiceException); +assert(ResourceNotFoundException.prototype instanceof CloudWatchLogsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof CloudWatchLogsServiceException); +assert(ServiceUnavailableException.prototype instanceof CloudWatchLogsServiceException); assert(SessionStreamingException.prototype instanceof CloudWatchLogsServiceException); assert(SessionTimeoutException.prototype instanceof CloudWatchLogsServiceException); +assert(ThrottlingException.prototype instanceof CloudWatchLogsServiceException); +assert(TooManyTagsException.prototype instanceof CloudWatchLogsServiceException); +assert(UnrecognizedClientException.prototype instanceof CloudWatchLogsServiceException); +assert(ValidationException.prototype instanceof CloudWatchLogsServiceException); assert(CloudWatchLogsServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeConfigurationTemplates === "function"); diff --git a/clients/client-cloudwatch-logs/test/index-types.ts b/clients/client-cloudwatch-logs/test/index-types.ts index bd71e9223ff0..ec6d81579940 100644 --- a/clients/client-cloudwatch-logs/test/index-types.ts +++ b/clients/client-cloudwatch-logs/test/index-types.ts @@ -577,6 +577,8 @@ export type { PutRetentionPolicyRequest, PutSubscriptionFilterRequest, PutTransformerRequest, + QueryCompileError, + QueryCompileErrorLocation, QueryDefinition, QueryInfo, QueryStatistics, @@ -627,9 +629,27 @@ export type { UpdateScheduledQueryRequest, UpdateScheduledQueryResponse, UpperCaseString, + AccessDeniedException, + ConflictException, + DataAlreadyAcceptedException, + InternalServerException, InternalStreamingException, + InvalidOperationException, + InvalidParameterException, + InvalidSequenceTokenException, + LimitExceededException, + MalformedQueryException, + OperationAbortedException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, SessionStreamingException, SessionTimeoutException, + ThrottlingException, + TooManyTagsException, + UnrecognizedClientException, + ValidationException, CloudWatchLogsServiceException, paginateDescribeConfigurationTemplates, paginateDescribeDeliveries, diff --git a/clients/client-cloudwatch/test/index-objects.spec.mjs b/clients/client-cloudwatch/test/index-objects.spec.mjs index bf2fbd136004..6cd7ee810552 100644 --- a/clients/client-cloudwatch/test/index-objects.spec.mjs +++ b/clients/client-cloudwatch/test/index-objects.spec.mjs @@ -7,6 +7,10 @@ import { CloudWatchClient, CloudWatchServiceException, ComparisonOperator, + ConcurrentModificationException, + ConflictException, + DashboardInvalidInputError, + DashboardNotFoundError, DeleteAlarmsCommand, DeleteAnomalyDetectorCommand, DeleteDashboardsCommand, @@ -30,12 +34,20 @@ import { GetMetricStreamCommand, GetMetricWidgetImageCommand, HistoryItemType, + InternalServiceFault, + InvalidFormatFault, + InvalidNextToken, + InvalidParameterCombinationException, + InvalidParameterValueException, + LimitExceededException, + LimitExceededFault, ListDashboardsCommand, ListManagedInsightRulesCommand, ListMetricStreamsCommand, ListMetricsCommand, ListTagsForResourceCommand, MetricStreamOutputFormat, + MissingRequiredParameterException, PutAnomalyDetectorCommand, PutCompositeAlarmCommand, PutDashboardCommand, @@ -45,6 +57,8 @@ import { PutMetricDataCommand, PutMetricStreamCommand, RecentlyActive, + ResourceNotFound, + ResourceNotFoundException, ScanBy, SetAlarmStateCommand, StandardUnit, @@ -129,6 +143,20 @@ assert(typeof StateValue === "object"); assert(typeof Statistic === "object"); assert(typeof StatusCode === "object"); // errors +assert(ConcurrentModificationException.prototype instanceof CloudWatchServiceException); +assert(ConflictException.prototype instanceof CloudWatchServiceException); +assert(DashboardInvalidInputError.prototype instanceof CloudWatchServiceException); +assert(DashboardNotFoundError.prototype instanceof CloudWatchServiceException); +assert(InternalServiceFault.prototype instanceof CloudWatchServiceException); +assert(InvalidFormatFault.prototype instanceof CloudWatchServiceException); +assert(InvalidNextToken.prototype instanceof CloudWatchServiceException); +assert(InvalidParameterCombinationException.prototype instanceof CloudWatchServiceException); +assert(InvalidParameterValueException.prototype instanceof CloudWatchServiceException); +assert(LimitExceededException.prototype instanceof CloudWatchServiceException); +assert(LimitExceededFault.prototype instanceof CloudWatchServiceException); +assert(MissingRequiredParameterException.prototype instanceof CloudWatchServiceException); +assert(ResourceNotFound.prototype instanceof CloudWatchServiceException); +assert(ResourceNotFoundException.prototype instanceof CloudWatchServiceException); assert(CloudWatchServiceException.prototype instanceof Error); // waiters assert(typeof waitForAlarmExists === "function"); diff --git a/clients/client-cloudwatch/test/index-types.ts b/clients/client-cloudwatch/test/index-types.ts index 004fe357c11a..fa959174e382 100644 --- a/clients/client-cloudwatch/test/index-types.ts +++ b/clients/client-cloudwatch/test/index-types.ts @@ -242,6 +242,20 @@ export type { TagResourceOutput, UntagResourceInput, UntagResourceOutput, + ConcurrentModificationException, + ConflictException, + DashboardInvalidInputError, + DashboardNotFoundError, + InternalServiceFault, + InvalidFormatFault, + InvalidNextToken, + InvalidParameterCombinationException, + InvalidParameterValueException, + LimitExceededException, + LimitExceededFault, + MissingRequiredParameterException, + ResourceNotFound, + ResourceNotFoundException, CloudWatchServiceException, waitForAlarmExists, waitForCompositeAlarmExists, diff --git a/clients/client-codeartifact/src/schemas/schemas_0.ts b/clients/client-codeartifact/src/schemas/schemas_0.ts index 2151544c0dc0..d9e8961057e6 100644 --- a/clients/client-codeartifact/src/schemas/schemas_0.ts +++ b/clients/client-codeartifact/src/schemas/schemas_0.ts @@ -1362,7 +1362,6 @@ export var UpstreamRepository: StaticStructureSchema = [3, n0, _UR, 0, [_rN], [0 export var UpstreamRepositoryInfo: StaticStructureSchema = [3, n0, _URI, 0, [_rN], [0]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m, _reas], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var CodeartifactServiceException: StaticErrorSchema = [-3, _sm, "CodeartifactServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(CodeartifactServiceException, __CodeartifactServiceException); export var AssetSummaryList: StaticListSchema = [1, n0, _ASL, 0, () => AssetSummary]; diff --git a/clients/client-codeartifact/test/index-objects.spec.mjs b/clients/client-codeartifact/test/index-objects.spec.mjs index 20df8115fda1..8b0dfac273b6 100644 --- a/clients/client-codeartifact/test/index-objects.spec.mjs +++ b/clients/client-codeartifact/test/index-objects.spec.mjs @@ -1,10 +1,12 @@ import { + AccessDeniedException, AllowPublish, AllowUpstream, AssociateExternalConnectionCommand, Codeartifact, CodeartifactClient, CodeartifactServiceException, + ConflictException, CopyPackageVersionsCommand, CreateDomainCommand, CreatePackageGroupCommand, @@ -34,6 +36,7 @@ import { GetRepositoryEndpointCommand, GetRepositoryPermissionsPolicyCommand, HashAlgorithm, + InternalServerException, ListAllowedRepositoriesForGroupCommand, ListAssociatedPackagesCommand, ListDomainsCommand, @@ -59,12 +62,18 @@ import { PutDomainPermissionsPolicyCommand, PutPackageOriginConfigurationCommand, PutRepositoryPermissionsPolicyCommand, + ResourceNotFoundException, + ResourceType, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdatePackageGroupCommand, UpdatePackageGroupOriginConfigurationCommand, UpdatePackageVersionsStatusCommand, UpdateRepositoryCommand, + ValidationException, + ValidationExceptionReason, paginateListAllowedRepositoriesForGroup, paginateListAssociatedPackages, paginateListDomains, @@ -145,7 +154,16 @@ assert(typeof PackageVersionErrorCode === "object"); assert(typeof PackageVersionOriginType === "object"); assert(typeof PackageVersionSortType === "object"); assert(typeof PackageVersionStatus === "object"); +assert(typeof ResourceType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof CodeartifactServiceException); +assert(ConflictException.prototype instanceof CodeartifactServiceException); +assert(InternalServerException.prototype instanceof CodeartifactServiceException); +assert(ResourceNotFoundException.prototype instanceof CodeartifactServiceException); +assert(ServiceQuotaExceededException.prototype instanceof CodeartifactServiceException); +assert(ThrottlingException.prototype instanceof CodeartifactServiceException); +assert(ValidationException.prototype instanceof CodeartifactServiceException); assert(CodeartifactServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAllowedRepositoriesForGroup === "function"); diff --git a/clients/client-codeartifact/test/index-types.ts b/clients/client-codeartifact/test/index-types.ts index ae27ae732798..613fb5e6be25 100644 --- a/clients/client-codeartifact/test/index-types.ts +++ b/clients/client-codeartifact/test/index-types.ts @@ -161,6 +161,8 @@ export type { PackageVersionOriginType, PackageVersionSortType, PackageVersionStatus, + ResourceType, + ValidationExceptionReason, AssetSummary, AssociatedPackage, AssociateExternalConnectionRequest, @@ -286,6 +288,13 @@ export type { UpdateRepositoryResult, UpstreamRepository, UpstreamRepositoryInfo, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, CodeartifactServiceException, paginateListAllowedRepositoriesForGroup, paginateListAssociatedPackages, diff --git a/clients/client-codebuild/src/schemas/schemas_0.ts b/clients/client-codebuild/src/schemas/schemas_0.ts index fd68dc25ba05..8e2d6a3d6248 100644 --- a/clients/client-codebuild/src/schemas/schemas_0.ts +++ b/clients/client-codebuild/src/schemas/schemas_0.ts @@ -1774,7 +1774,6 @@ export var Webhook: StaticStructureSchema = [ [0, 0, 0, 0, () => FilterGroups, 0, 2, 4, () => ScopeConfiguration, 0, 0, () => PullRequestBuildPolicy], ]; export var WebhookFilter: StaticStructureSchema = [3, n0, _WF, 0, [_t, _pat, _eMP], [0, 0, 2]]; -export var __Unit = "unit" as const; export var CodeBuildServiceException: StaticErrorSchema = [-3, _sm, "CodeBuildServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(CodeBuildServiceException, __CodeBuildServiceException); export var BuildArtifactsList: StaticListSchema = [1, n0, _BAL, 0, () => BuildArtifacts]; diff --git a/clients/client-codebuild/test/index-objects.spec.mjs b/clients/client-codebuild/test/index-objects.spec.mjs index c04ab902ecd8..926d8abf7906 100644 --- a/clients/client-codebuild/test/index-objects.spec.mjs +++ b/clients/client-codebuild/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccountLimitExceededException, + AccountSuspendedException, ArtifactNamespace, ArtifactPackaging, ArtifactsType, @@ -54,6 +56,7 @@ import { GetResourcePolicyCommand, ImagePullCredentialsType, ImportSourceCredentialsCommand, + InvalidInputException, InvalidateProjectCacheCommand, LanguageType, ListBuildBatchesCommand, @@ -74,6 +77,7 @@ import { ListSourceCredentialsCommand, LogsConfigStatusType, MachineType, + OAuthProviderException, PlatformType, ProjectSortByType, ProjectVisibilityType, @@ -88,6 +92,8 @@ import { ReportPackagingType, ReportStatusType, ReportType, + ResourceAlreadyExistsException, + ResourceNotFoundException, RetryBuildBatchCommand, RetryBuildBatchType, RetryBuildCommand, @@ -250,6 +256,12 @@ assert(typeof WebhookFilterType === "object"); assert(typeof WebhookScopeType === "object"); assert(typeof WebhookStatus === "object"); // errors +assert(AccountLimitExceededException.prototype instanceof CodeBuildServiceException); +assert(AccountSuspendedException.prototype instanceof CodeBuildServiceException); +assert(InvalidInputException.prototype instanceof CodeBuildServiceException); +assert(OAuthProviderException.prototype instanceof CodeBuildServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof CodeBuildServiceException); +assert(ResourceNotFoundException.prototype instanceof CodeBuildServiceException); assert(CodeBuildServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeCodeCoverages === "function"); diff --git a/clients/client-codebuild/test/index-types.ts b/clients/client-codebuild/test/index-types.ts index c4d3b6d0892f..53a20ce0dd80 100644 --- a/clients/client-codebuild/test/index-types.ts +++ b/clients/client-codebuild/test/index-types.ts @@ -422,6 +422,12 @@ export type { VpcConfig, Webhook, WebhookFilter, + AccountLimitExceededException, + AccountSuspendedException, + InvalidInputException, + OAuthProviderException, + ResourceAlreadyExistsException, + ResourceNotFoundException, CodeBuildServiceException, paginateDescribeCodeCoverages, paginateDescribeTestCases, diff --git a/clients/client-codecatalyst/test/index-objects.spec.mjs b/clients/client-codecatalyst/test/index-objects.spec.mjs index 93c88ae25c12..bce6acd1186b 100644 --- a/clients/client-codecatalyst/test/index-objects.spec.mjs +++ b/clients/client-codecatalyst/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, CodeCatalyst, CodeCatalystClient, CodeCatalystServiceException, ComparisonOperator, + ConflictException, CreateAccessTokenCommand, CreateDevEnvironmentCommand, CreateProjectCommand, @@ -36,15 +38,19 @@ import { ListWorkflowRunsCommand, ListWorkflowsCommand, OperationType, + ResourceNotFoundException, + ServiceQuotaExceededException, StartDevEnvironmentCommand, StartDevEnvironmentSessionCommand, StartWorkflowRunCommand, StopDevEnvironmentCommand, StopDevEnvironmentSessionCommand, + ThrottlingException, UpdateDevEnvironmentCommand, UpdateProjectCommand, UpdateSpaceCommand, UserType, + ValidationException, VerifySessionCommand, WorkflowRunMode, WorkflowRunStatus, @@ -116,6 +122,12 @@ assert(typeof WorkflowRunMode === "object"); assert(typeof WorkflowRunStatus === "object"); assert(typeof WorkflowStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof CodeCatalystServiceException); +assert(ConflictException.prototype instanceof CodeCatalystServiceException); +assert(ResourceNotFoundException.prototype instanceof CodeCatalystServiceException); +assert(ServiceQuotaExceededException.prototype instanceof CodeCatalystServiceException); +assert(ThrottlingException.prototype instanceof CodeCatalystServiceException); +assert(ValidationException.prototype instanceof CodeCatalystServiceException); assert(CodeCatalystServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccessTokens === "function"); diff --git a/clients/client-codecatalyst/test/index-types.ts b/clients/client-codecatalyst/test/index-types.ts index 7efa22193ede..1ade98e55b4e 100644 --- a/clients/client-codecatalyst/test/index-types.ts +++ b/clients/client-codecatalyst/test/index-types.ts @@ -231,6 +231,12 @@ export type { WorkflowRunSummary, WorkflowSortCriteria, WorkflowSummary, + AccessDeniedException, + ConflictException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, CodeCatalystServiceException, paginateListAccessTokens, paginateListDevEnvironmentSessions, diff --git a/clients/client-codecommit/test/index-objects.spec.mjs b/clients/client-codecommit/test/index-objects.spec.mjs index a042b71dba76..b1739bdabab8 100644 --- a/clients/client-codecommit/test/index-objects.spec.mjs +++ b/clients/client-codecommit/test/index-objects.spec.mjs @@ -1,16 +1,52 @@ import { + ActorDoesNotExistException, + ApprovalRuleContentRequiredException, + ApprovalRuleDoesNotExistException, + ApprovalRuleNameAlreadyExistsException, + ApprovalRuleNameRequiredException, + ApprovalRuleTemplateContentRequiredException, + ApprovalRuleTemplateDoesNotExistException, + ApprovalRuleTemplateInUseException, + ApprovalRuleTemplateNameAlreadyExistsException, + ApprovalRuleTemplateNameRequiredException, ApprovalState, + ApprovalStateRequiredException, AssociateApprovalRuleTemplateWithRepositoryCommand, + AuthorDoesNotExistException, BatchAssociateApprovalRuleTemplateWithRepositoriesCommand, BatchDescribeMergeConflictsCommand, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand, BatchGetCommitsCommand, BatchGetRepositoriesCommand, BatchGetRepositoriesErrorCodeEnum, + BeforeCommitIdAndAfterCommitIdAreSameException, + BlobIdDoesNotExistException, + BlobIdRequiredException, + BranchDoesNotExistException, + BranchNameExistsException, + BranchNameIsTagNameException, + BranchNameRequiredException, + CannotDeleteApprovalRuleFromTemplateException, + CannotModifyApprovalRuleFromTemplateException, ChangeTypeEnum, + ClientRequestTokenRequiredException, CodeCommit, CodeCommitClient, CodeCommitServiceException, + CommentContentRequiredException, + CommentContentSizeLimitExceededException, + CommentDeletedException, + CommentDoesNotExistException, + CommentIdRequiredException, + CommentNotCreatedByCallerException, + CommitDoesNotExistException, + CommitIdDoesNotExistException, + CommitIdRequiredException, + CommitIdsLimitExceededException, + CommitIdsListRequiredException, + CommitMessageLengthExceededException, + CommitRequiredException, + ConcurrentReferenceUpdateException, ConflictDetailLevelTypeEnum, ConflictResolutionStrategyTypeEnum, CreateApprovalRuleTemplateCommand, @@ -20,6 +56,7 @@ import { CreatePullRequestCommand, CreateRepositoryCommand, CreateUnreferencedMergeCommitCommand, + DefaultBranchCannotBeDeletedException, DeleteApprovalRuleTemplateCommand, DeleteBranchCommand, DeleteCommentContentCommand, @@ -28,9 +65,29 @@ import { DeleteRepositoryCommand, DescribeMergeConflictsCommand, DescribePullRequestEventsCommand, + DirectoryNameConflictsWithFileNameException, DisassociateApprovalRuleTemplateFromRepositoryCommand, + EncryptionIntegrityChecksFailedException, + EncryptionKeyAccessDeniedException, + EncryptionKeyDisabledException, + EncryptionKeyInvalidIdException, + EncryptionKeyInvalidUsageException, + EncryptionKeyNotFoundException, + EncryptionKeyRequiredException, + EncryptionKeyUnavailableException, EvaluatePullRequestApprovalRulesCommand, + FileContentAndSourceFileSpecifiedException, + FileContentRequiredException, + FileContentSizeLimitExceededException, + FileDoesNotExistException, + FileEntryRequiredException, + FileModeRequiredException, FileModeTypeEnum, + FileNameConflictsWithDirectoryNameException, + FilePathConflictsWithSubmodulePathException, + FileTooLargeException, + FolderContentSizeLimitExceededException, + FolderDoesNotExistException, GetApprovalRuleTemplateCommand, GetBlobCommand, GetBranchCommand, @@ -50,6 +107,70 @@ import { GetPullRequestOverrideStateCommand, GetRepositoryCommand, GetRepositoryTriggersCommand, + IdempotencyParameterMismatchException, + InvalidActorArnException, + InvalidApprovalRuleContentException, + InvalidApprovalRuleNameException, + InvalidApprovalRuleTemplateContentException, + InvalidApprovalRuleTemplateDescriptionException, + InvalidApprovalRuleTemplateNameException, + InvalidApprovalStateException, + InvalidAuthorArnException, + InvalidBlobIdException, + InvalidBranchNameException, + InvalidClientRequestTokenException, + InvalidCommentIdException, + InvalidCommitException, + InvalidCommitIdException, + InvalidConflictDetailLevelException, + InvalidConflictResolutionException, + InvalidConflictResolutionStrategyException, + InvalidContinuationTokenException, + InvalidDeletionParameterException, + InvalidDescriptionException, + InvalidDestinationCommitSpecifierException, + InvalidEmailException, + InvalidFileLocationException, + InvalidFileModeException, + InvalidFilePositionException, + InvalidMaxConflictFilesException, + InvalidMaxMergeHunksException, + InvalidMaxResultsException, + InvalidMergeOptionException, + InvalidOrderException, + InvalidOverrideStatusException, + InvalidParentCommitIdException, + InvalidPathException, + InvalidPullRequestEventTypeException, + InvalidPullRequestIdException, + InvalidPullRequestStatusException, + InvalidPullRequestStatusUpdateException, + InvalidReactionUserArnException, + InvalidReactionValueException, + InvalidReferenceNameException, + InvalidRelativeFileVersionEnumException, + InvalidReplacementContentException, + InvalidReplacementTypeException, + InvalidRepositoryDescriptionException, + InvalidRepositoryNameException, + InvalidRepositoryTriggerBranchNameException, + InvalidRepositoryTriggerCustomDataException, + InvalidRepositoryTriggerDestinationArnException, + InvalidRepositoryTriggerEventsException, + InvalidRepositoryTriggerNameException, + InvalidRepositoryTriggerRegionException, + InvalidResourceArnException, + InvalidRevisionIdException, + InvalidRuleContentSha256Exception, + InvalidSortByException, + InvalidSourceCommitSpecifierException, + InvalidSystemTagUsageException, + InvalidTagKeysListException, + InvalidTagsMapException, + InvalidTargetBranchException, + InvalidTargetException, + InvalidTargetsException, + InvalidTitleException, ListApprovalRuleTemplatesCommand, ListAssociatedApprovalRuleTemplatesForRepositoryCommand, ListBranchesCommand, @@ -58,31 +179,99 @@ import { ListRepositoriesCommand, ListRepositoriesForApprovalRuleTemplateCommand, ListTagsForResourceCommand, + ManualMergeRequiredException, + MaximumBranchesExceededException, + MaximumConflictResolutionEntriesExceededException, + MaximumFileContentToLoadExceededException, + MaximumFileEntriesExceededException, + MaximumItemsToCompareExceededException, + MaximumNumberOfApprovalsExceededException, + MaximumOpenPullRequestsExceededException, + MaximumRepositoryNamesExceededException, + MaximumRepositoryTriggersExceededException, + MaximumRuleTemplatesAssociatedWithRepositoryException, MergeBranchesByFastForwardCommand, MergeBranchesBySquashCommand, MergeBranchesByThreeWayCommand, + MergeOptionRequiredException, MergeOptionTypeEnum, MergePullRequestByFastForwardCommand, MergePullRequestBySquashCommand, MergePullRequestByThreeWayCommand, + MultipleConflictResolutionEntriesException, + MultipleRepositoriesInPullRequestException, + NameLengthExceededException, + NoChangeException, + NumberOfRuleTemplatesExceededException, + NumberOfRulesExceededException, ObjectTypeEnum, + OperationNotAllowedException, OrderEnum, + OverrideAlreadySetException, OverridePullRequestApprovalRulesCommand, OverrideStatus, + OverrideStatusRequiredException, + ParentCommitDoesNotExistException, + ParentCommitIdOutdatedException, + ParentCommitIdRequiredException, + PathDoesNotExistException, + PathRequiredException, PostCommentForComparedCommitCommand, PostCommentForPullRequestCommand, PostCommentReplyCommand, + PullRequestAlreadyClosedException, + PullRequestApprovalRulesNotSatisfiedException, + PullRequestCannotBeApprovedByAuthorException, + PullRequestDoesNotExistException, PullRequestEventType, + PullRequestIdRequiredException, PullRequestStatusEnum, + PullRequestStatusRequiredException, PutCommentReactionCommand, PutFileCommand, + PutFileEntryConflictException, PutRepositoryTriggersCommand, + ReactionLimitExceededException, + ReactionValueRequiredException, + ReferenceDoesNotExistException, + ReferenceNameRequiredException, + ReferenceTypeNotSupportedException, RelativeFileVersionEnum, + ReplacementContentRequiredException, ReplacementTypeEnum, + ReplacementTypeRequiredException, + RepositoryDoesNotExistException, + RepositoryLimitExceededException, + RepositoryNameExistsException, + RepositoryNameRequiredException, + RepositoryNamesRequiredException, + RepositoryNotAssociatedWithPullRequestException, + RepositoryTriggerBranchNameListRequiredException, + RepositoryTriggerDestinationArnRequiredException, RepositoryTriggerEventEnum, + RepositoryTriggerEventsListRequiredException, + RepositoryTriggerNameRequiredException, + RepositoryTriggersListRequiredException, + ResourceArnRequiredException, + RestrictedSourceFileException, + RevisionIdRequiredException, + RevisionNotCurrentException, + SameFileContentException, + SamePathRequestException, SortByEnum, + SourceAndDestinationAreSameException, + SourceFileOrContentRequiredException, + TagKeysListRequiredException, + TagPolicyException, TagResourceCommand, + TagsMapRequiredException, + TargetRequiredException, + TargetsRequiredException, TestRepositoryTriggersCommand, + TipOfSourceReferenceIsDifferentException, + TipsDivergenceExceededException, + TitleRequiredException, + TooManyTagsException, UntagResourceCommand, UpdateApprovalRuleTemplateContentCommand, UpdateApprovalRuleTemplateDescriptionCommand, @@ -214,6 +403,195 @@ assert(typeof ReplacementTypeEnum === "object"); assert(typeof RepositoryTriggerEventEnum === "object"); assert(typeof SortByEnum === "object"); // errors +assert(ActorDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(ApprovalRuleContentRequiredException.prototype instanceof CodeCommitServiceException); +assert(ApprovalRuleDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(ApprovalRuleNameAlreadyExistsException.prototype instanceof CodeCommitServiceException); +assert(ApprovalRuleNameRequiredException.prototype instanceof CodeCommitServiceException); +assert(ApprovalRuleTemplateContentRequiredException.prototype instanceof CodeCommitServiceException); +assert(ApprovalRuleTemplateDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(ApprovalRuleTemplateInUseException.prototype instanceof CodeCommitServiceException); +assert(ApprovalRuleTemplateNameAlreadyExistsException.prototype instanceof CodeCommitServiceException); +assert(ApprovalRuleTemplateNameRequiredException.prototype instanceof CodeCommitServiceException); +assert(ApprovalStateRequiredException.prototype instanceof CodeCommitServiceException); +assert(AuthorDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(BeforeCommitIdAndAfterCommitIdAreSameException.prototype instanceof CodeCommitServiceException); +assert(BlobIdDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(BlobIdRequiredException.prototype instanceof CodeCommitServiceException); +assert(BranchDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(BranchNameExistsException.prototype instanceof CodeCommitServiceException); +assert(BranchNameIsTagNameException.prototype instanceof CodeCommitServiceException); +assert(BranchNameRequiredException.prototype instanceof CodeCommitServiceException); +assert(CannotDeleteApprovalRuleFromTemplateException.prototype instanceof CodeCommitServiceException); +assert(CannotModifyApprovalRuleFromTemplateException.prototype instanceof CodeCommitServiceException); +assert(ClientRequestTokenRequiredException.prototype instanceof CodeCommitServiceException); +assert(CommentContentRequiredException.prototype instanceof CodeCommitServiceException); +assert(CommentContentSizeLimitExceededException.prototype instanceof CodeCommitServiceException); +assert(CommentDeletedException.prototype instanceof CodeCommitServiceException); +assert(CommentDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(CommentIdRequiredException.prototype instanceof CodeCommitServiceException); +assert(CommentNotCreatedByCallerException.prototype instanceof CodeCommitServiceException); +assert(CommitDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(CommitIdDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(CommitIdRequiredException.prototype instanceof CodeCommitServiceException); +assert(CommitIdsLimitExceededException.prototype instanceof CodeCommitServiceException); +assert(CommitIdsListRequiredException.prototype instanceof CodeCommitServiceException); +assert(CommitMessageLengthExceededException.prototype instanceof CodeCommitServiceException); +assert(CommitRequiredException.prototype instanceof CodeCommitServiceException); +assert(ConcurrentReferenceUpdateException.prototype instanceof CodeCommitServiceException); +assert(DefaultBranchCannotBeDeletedException.prototype instanceof CodeCommitServiceException); +assert(DirectoryNameConflictsWithFileNameException.prototype instanceof CodeCommitServiceException); +assert(EncryptionIntegrityChecksFailedException.prototype instanceof CodeCommitServiceException); +assert(EncryptionKeyAccessDeniedException.prototype instanceof CodeCommitServiceException); +assert(EncryptionKeyDisabledException.prototype instanceof CodeCommitServiceException); +assert(EncryptionKeyInvalidIdException.prototype instanceof CodeCommitServiceException); +assert(EncryptionKeyInvalidUsageException.prototype instanceof CodeCommitServiceException); +assert(EncryptionKeyNotFoundException.prototype instanceof CodeCommitServiceException); +assert(EncryptionKeyRequiredException.prototype instanceof CodeCommitServiceException); +assert(EncryptionKeyUnavailableException.prototype instanceof CodeCommitServiceException); +assert(FileContentAndSourceFileSpecifiedException.prototype instanceof CodeCommitServiceException); +assert(FileContentRequiredException.prototype instanceof CodeCommitServiceException); +assert(FileContentSizeLimitExceededException.prototype instanceof CodeCommitServiceException); +assert(FileDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(FileEntryRequiredException.prototype instanceof CodeCommitServiceException); +assert(FileModeRequiredException.prototype instanceof CodeCommitServiceException); +assert(FileNameConflictsWithDirectoryNameException.prototype instanceof CodeCommitServiceException); +assert(FilePathConflictsWithSubmodulePathException.prototype instanceof CodeCommitServiceException); +assert(FileTooLargeException.prototype instanceof CodeCommitServiceException); +assert(FolderContentSizeLimitExceededException.prototype instanceof CodeCommitServiceException); +assert(FolderDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(IdempotencyParameterMismatchException.prototype instanceof CodeCommitServiceException); +assert(InvalidActorArnException.prototype instanceof CodeCommitServiceException); +assert(InvalidApprovalRuleContentException.prototype instanceof CodeCommitServiceException); +assert(InvalidApprovalRuleNameException.prototype instanceof CodeCommitServiceException); +assert(InvalidApprovalRuleTemplateContentException.prototype instanceof CodeCommitServiceException); +assert(InvalidApprovalRuleTemplateDescriptionException.prototype instanceof CodeCommitServiceException); +assert(InvalidApprovalRuleTemplateNameException.prototype instanceof CodeCommitServiceException); +assert(InvalidApprovalStateException.prototype instanceof CodeCommitServiceException); +assert(InvalidAuthorArnException.prototype instanceof CodeCommitServiceException); +assert(InvalidBlobIdException.prototype instanceof CodeCommitServiceException); +assert(InvalidBranchNameException.prototype instanceof CodeCommitServiceException); +assert(InvalidClientRequestTokenException.prototype instanceof CodeCommitServiceException); +assert(InvalidCommentIdException.prototype instanceof CodeCommitServiceException); +assert(InvalidCommitException.prototype instanceof CodeCommitServiceException); +assert(InvalidCommitIdException.prototype instanceof CodeCommitServiceException); +assert(InvalidConflictDetailLevelException.prototype instanceof CodeCommitServiceException); +assert(InvalidConflictResolutionException.prototype instanceof CodeCommitServiceException); +assert(InvalidConflictResolutionStrategyException.prototype instanceof CodeCommitServiceException); +assert(InvalidContinuationTokenException.prototype instanceof CodeCommitServiceException); +assert(InvalidDeletionParameterException.prototype instanceof CodeCommitServiceException); +assert(InvalidDescriptionException.prototype instanceof CodeCommitServiceException); +assert(InvalidDestinationCommitSpecifierException.prototype instanceof CodeCommitServiceException); +assert(InvalidEmailException.prototype instanceof CodeCommitServiceException); +assert(InvalidFileLocationException.prototype instanceof CodeCommitServiceException); +assert(InvalidFileModeException.prototype instanceof CodeCommitServiceException); +assert(InvalidFilePositionException.prototype instanceof CodeCommitServiceException); +assert(InvalidMaxConflictFilesException.prototype instanceof CodeCommitServiceException); +assert(InvalidMaxMergeHunksException.prototype instanceof CodeCommitServiceException); +assert(InvalidMaxResultsException.prototype instanceof CodeCommitServiceException); +assert(InvalidMergeOptionException.prototype instanceof CodeCommitServiceException); +assert(InvalidOrderException.prototype instanceof CodeCommitServiceException); +assert(InvalidOverrideStatusException.prototype instanceof CodeCommitServiceException); +assert(InvalidParentCommitIdException.prototype instanceof CodeCommitServiceException); +assert(InvalidPathException.prototype instanceof CodeCommitServiceException); +assert(InvalidPullRequestEventTypeException.prototype instanceof CodeCommitServiceException); +assert(InvalidPullRequestIdException.prototype instanceof CodeCommitServiceException); +assert(InvalidPullRequestStatusException.prototype instanceof CodeCommitServiceException); +assert(InvalidPullRequestStatusUpdateException.prototype instanceof CodeCommitServiceException); +assert(InvalidReactionUserArnException.prototype instanceof CodeCommitServiceException); +assert(InvalidReactionValueException.prototype instanceof CodeCommitServiceException); +assert(InvalidReferenceNameException.prototype instanceof CodeCommitServiceException); +assert(InvalidRelativeFileVersionEnumException.prototype instanceof CodeCommitServiceException); +assert(InvalidReplacementContentException.prototype instanceof CodeCommitServiceException); +assert(InvalidReplacementTypeException.prototype instanceof CodeCommitServiceException); +assert(InvalidRepositoryDescriptionException.prototype instanceof CodeCommitServiceException); +assert(InvalidRepositoryNameException.prototype instanceof CodeCommitServiceException); +assert(InvalidRepositoryTriggerBranchNameException.prototype instanceof CodeCommitServiceException); +assert(InvalidRepositoryTriggerCustomDataException.prototype instanceof CodeCommitServiceException); +assert(InvalidRepositoryTriggerDestinationArnException.prototype instanceof CodeCommitServiceException); +assert(InvalidRepositoryTriggerEventsException.prototype instanceof CodeCommitServiceException); +assert(InvalidRepositoryTriggerNameException.prototype instanceof CodeCommitServiceException); +assert(InvalidRepositoryTriggerRegionException.prototype instanceof CodeCommitServiceException); +assert(InvalidResourceArnException.prototype instanceof CodeCommitServiceException); +assert(InvalidRevisionIdException.prototype instanceof CodeCommitServiceException); +assert(InvalidRuleContentSha256Exception.prototype instanceof CodeCommitServiceException); +assert(InvalidSortByException.prototype instanceof CodeCommitServiceException); +assert(InvalidSourceCommitSpecifierException.prototype instanceof CodeCommitServiceException); +assert(InvalidSystemTagUsageException.prototype instanceof CodeCommitServiceException); +assert(InvalidTagKeysListException.prototype instanceof CodeCommitServiceException); +assert(InvalidTagsMapException.prototype instanceof CodeCommitServiceException); +assert(InvalidTargetBranchException.prototype instanceof CodeCommitServiceException); +assert(InvalidTargetException.prototype instanceof CodeCommitServiceException); +assert(InvalidTargetsException.prototype instanceof CodeCommitServiceException); +assert(InvalidTitleException.prototype instanceof CodeCommitServiceException); +assert(ManualMergeRequiredException.prototype instanceof CodeCommitServiceException); +assert(MaximumBranchesExceededException.prototype instanceof CodeCommitServiceException); +assert(MaximumConflictResolutionEntriesExceededException.prototype instanceof CodeCommitServiceException); +assert(MaximumFileContentToLoadExceededException.prototype instanceof CodeCommitServiceException); +assert(MaximumFileEntriesExceededException.prototype instanceof CodeCommitServiceException); +assert(MaximumItemsToCompareExceededException.prototype instanceof CodeCommitServiceException); +assert(MaximumNumberOfApprovalsExceededException.prototype instanceof CodeCommitServiceException); +assert(MaximumOpenPullRequestsExceededException.prototype instanceof CodeCommitServiceException); +assert(MaximumRepositoryNamesExceededException.prototype instanceof CodeCommitServiceException); +assert(MaximumRepositoryTriggersExceededException.prototype instanceof CodeCommitServiceException); +assert(MaximumRuleTemplatesAssociatedWithRepositoryException.prototype instanceof CodeCommitServiceException); +assert(MergeOptionRequiredException.prototype instanceof CodeCommitServiceException); +assert(MultipleConflictResolutionEntriesException.prototype instanceof CodeCommitServiceException); +assert(MultipleRepositoriesInPullRequestException.prototype instanceof CodeCommitServiceException); +assert(NameLengthExceededException.prototype instanceof CodeCommitServiceException); +assert(NoChangeException.prototype instanceof CodeCommitServiceException); +assert(NumberOfRulesExceededException.prototype instanceof CodeCommitServiceException); +assert(NumberOfRuleTemplatesExceededException.prototype instanceof CodeCommitServiceException); +assert(OperationNotAllowedException.prototype instanceof CodeCommitServiceException); +assert(OverrideAlreadySetException.prototype instanceof CodeCommitServiceException); +assert(OverrideStatusRequiredException.prototype instanceof CodeCommitServiceException); +assert(ParentCommitDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(ParentCommitIdOutdatedException.prototype instanceof CodeCommitServiceException); +assert(ParentCommitIdRequiredException.prototype instanceof CodeCommitServiceException); +assert(PathDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(PathRequiredException.prototype instanceof CodeCommitServiceException); +assert(PullRequestAlreadyClosedException.prototype instanceof CodeCommitServiceException); +assert(PullRequestApprovalRulesNotSatisfiedException.prototype instanceof CodeCommitServiceException); +assert(PullRequestCannotBeApprovedByAuthorException.prototype instanceof CodeCommitServiceException); +assert(PullRequestDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(PullRequestIdRequiredException.prototype instanceof CodeCommitServiceException); +assert(PullRequestStatusRequiredException.prototype instanceof CodeCommitServiceException); +assert(PutFileEntryConflictException.prototype instanceof CodeCommitServiceException); +assert(ReactionLimitExceededException.prototype instanceof CodeCommitServiceException); +assert(ReactionValueRequiredException.prototype instanceof CodeCommitServiceException); +assert(ReferenceDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(ReferenceNameRequiredException.prototype instanceof CodeCommitServiceException); +assert(ReferenceTypeNotSupportedException.prototype instanceof CodeCommitServiceException); +assert(ReplacementContentRequiredException.prototype instanceof CodeCommitServiceException); +assert(ReplacementTypeRequiredException.prototype instanceof CodeCommitServiceException); +assert(RepositoryDoesNotExistException.prototype instanceof CodeCommitServiceException); +assert(RepositoryLimitExceededException.prototype instanceof CodeCommitServiceException); +assert(RepositoryNameExistsException.prototype instanceof CodeCommitServiceException); +assert(RepositoryNameRequiredException.prototype instanceof CodeCommitServiceException); +assert(RepositoryNamesRequiredException.prototype instanceof CodeCommitServiceException); +assert(RepositoryNotAssociatedWithPullRequestException.prototype instanceof CodeCommitServiceException); +assert(RepositoryTriggerBranchNameListRequiredException.prototype instanceof CodeCommitServiceException); +assert(RepositoryTriggerDestinationArnRequiredException.prototype instanceof CodeCommitServiceException); +assert(RepositoryTriggerEventsListRequiredException.prototype instanceof CodeCommitServiceException); +assert(RepositoryTriggerNameRequiredException.prototype instanceof CodeCommitServiceException); +assert(RepositoryTriggersListRequiredException.prototype instanceof CodeCommitServiceException); +assert(ResourceArnRequiredException.prototype instanceof CodeCommitServiceException); +assert(RestrictedSourceFileException.prototype instanceof CodeCommitServiceException); +assert(RevisionIdRequiredException.prototype instanceof CodeCommitServiceException); +assert(RevisionNotCurrentException.prototype instanceof CodeCommitServiceException); +assert(SameFileContentException.prototype instanceof CodeCommitServiceException); +assert(SamePathRequestException.prototype instanceof CodeCommitServiceException); +assert(SourceAndDestinationAreSameException.prototype instanceof CodeCommitServiceException); +assert(SourceFileOrContentRequiredException.prototype instanceof CodeCommitServiceException); +assert(TagKeysListRequiredException.prototype instanceof CodeCommitServiceException); +assert(TagPolicyException.prototype instanceof CodeCommitServiceException); +assert(TagsMapRequiredException.prototype instanceof CodeCommitServiceException); +assert(TargetRequiredException.prototype instanceof CodeCommitServiceException); +assert(TargetsRequiredException.prototype instanceof CodeCommitServiceException); +assert(TipOfSourceReferenceIsDifferentException.prototype instanceof CodeCommitServiceException); +assert(TipsDivergenceExceededException.prototype instanceof CodeCommitServiceException); +assert(TitleRequiredException.prototype instanceof CodeCommitServiceException); +assert(TooManyTagsException.prototype instanceof CodeCommitServiceException); assert(CodeCommitServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeMergeConflicts === "function"); diff --git a/clients/client-codecommit/test/index-types.ts b/clients/client-codecommit/test/index-types.ts index 9a2f04616d70..b4c97848ce63 100644 --- a/clients/client-codecommit/test/index-types.ts +++ b/clients/client-codecommit/test/index-types.ts @@ -460,6 +460,195 @@ export type { UpdateRepositoryEncryptionKeyOutput, UpdateRepositoryNameInput, UserInfo, + ActorDoesNotExistException, + ApprovalRuleContentRequiredException, + ApprovalRuleDoesNotExistException, + ApprovalRuleNameAlreadyExistsException, + ApprovalRuleNameRequiredException, + ApprovalRuleTemplateContentRequiredException, + ApprovalRuleTemplateDoesNotExistException, + ApprovalRuleTemplateInUseException, + ApprovalRuleTemplateNameAlreadyExistsException, + ApprovalRuleTemplateNameRequiredException, + ApprovalStateRequiredException, + AuthorDoesNotExistException, + BeforeCommitIdAndAfterCommitIdAreSameException, + BlobIdDoesNotExistException, + BlobIdRequiredException, + BranchDoesNotExistException, + BranchNameExistsException, + BranchNameIsTagNameException, + BranchNameRequiredException, + CannotDeleteApprovalRuleFromTemplateException, + CannotModifyApprovalRuleFromTemplateException, + ClientRequestTokenRequiredException, + CommentContentRequiredException, + CommentContentSizeLimitExceededException, + CommentDeletedException, + CommentDoesNotExistException, + CommentIdRequiredException, + CommentNotCreatedByCallerException, + CommitDoesNotExistException, + CommitIdDoesNotExistException, + CommitIdRequiredException, + CommitIdsLimitExceededException, + CommitIdsListRequiredException, + CommitMessageLengthExceededException, + CommitRequiredException, + ConcurrentReferenceUpdateException, + DefaultBranchCannotBeDeletedException, + DirectoryNameConflictsWithFileNameException, + EncryptionIntegrityChecksFailedException, + EncryptionKeyAccessDeniedException, + EncryptionKeyDisabledException, + EncryptionKeyInvalidIdException, + EncryptionKeyInvalidUsageException, + EncryptionKeyNotFoundException, + EncryptionKeyRequiredException, + EncryptionKeyUnavailableException, + FileContentAndSourceFileSpecifiedException, + FileContentRequiredException, + FileContentSizeLimitExceededException, + FileDoesNotExistException, + FileEntryRequiredException, + FileModeRequiredException, + FileNameConflictsWithDirectoryNameException, + FilePathConflictsWithSubmodulePathException, + FileTooLargeException, + FolderContentSizeLimitExceededException, + FolderDoesNotExistException, + IdempotencyParameterMismatchException, + InvalidActorArnException, + InvalidApprovalRuleContentException, + InvalidApprovalRuleNameException, + InvalidApprovalRuleTemplateContentException, + InvalidApprovalRuleTemplateDescriptionException, + InvalidApprovalRuleTemplateNameException, + InvalidApprovalStateException, + InvalidAuthorArnException, + InvalidBlobIdException, + InvalidBranchNameException, + InvalidClientRequestTokenException, + InvalidCommentIdException, + InvalidCommitException, + InvalidCommitIdException, + InvalidConflictDetailLevelException, + InvalidConflictResolutionException, + InvalidConflictResolutionStrategyException, + InvalidContinuationTokenException, + InvalidDeletionParameterException, + InvalidDescriptionException, + InvalidDestinationCommitSpecifierException, + InvalidEmailException, + InvalidFileLocationException, + InvalidFileModeException, + InvalidFilePositionException, + InvalidMaxConflictFilesException, + InvalidMaxMergeHunksException, + InvalidMaxResultsException, + InvalidMergeOptionException, + InvalidOrderException, + InvalidOverrideStatusException, + InvalidParentCommitIdException, + InvalidPathException, + InvalidPullRequestEventTypeException, + InvalidPullRequestIdException, + InvalidPullRequestStatusException, + InvalidPullRequestStatusUpdateException, + InvalidReactionUserArnException, + InvalidReactionValueException, + InvalidReferenceNameException, + InvalidRelativeFileVersionEnumException, + InvalidReplacementContentException, + InvalidReplacementTypeException, + InvalidRepositoryDescriptionException, + InvalidRepositoryNameException, + InvalidRepositoryTriggerBranchNameException, + InvalidRepositoryTriggerCustomDataException, + InvalidRepositoryTriggerDestinationArnException, + InvalidRepositoryTriggerEventsException, + InvalidRepositoryTriggerNameException, + InvalidRepositoryTriggerRegionException, + InvalidResourceArnException, + InvalidRevisionIdException, + InvalidRuleContentSha256Exception, + InvalidSortByException, + InvalidSourceCommitSpecifierException, + InvalidSystemTagUsageException, + InvalidTagKeysListException, + InvalidTagsMapException, + InvalidTargetBranchException, + InvalidTargetException, + InvalidTargetsException, + InvalidTitleException, + ManualMergeRequiredException, + MaximumBranchesExceededException, + MaximumConflictResolutionEntriesExceededException, + MaximumFileContentToLoadExceededException, + MaximumFileEntriesExceededException, + MaximumItemsToCompareExceededException, + MaximumNumberOfApprovalsExceededException, + MaximumOpenPullRequestsExceededException, + MaximumRepositoryNamesExceededException, + MaximumRepositoryTriggersExceededException, + MaximumRuleTemplatesAssociatedWithRepositoryException, + MergeOptionRequiredException, + MultipleConflictResolutionEntriesException, + MultipleRepositoriesInPullRequestException, + NameLengthExceededException, + NoChangeException, + NumberOfRulesExceededException, + NumberOfRuleTemplatesExceededException, + OperationNotAllowedException, + OverrideAlreadySetException, + OverrideStatusRequiredException, + ParentCommitDoesNotExistException, + ParentCommitIdOutdatedException, + ParentCommitIdRequiredException, + PathDoesNotExistException, + PathRequiredException, + PullRequestAlreadyClosedException, + PullRequestApprovalRulesNotSatisfiedException, + PullRequestCannotBeApprovedByAuthorException, + PullRequestDoesNotExistException, + PullRequestIdRequiredException, + PullRequestStatusRequiredException, + PutFileEntryConflictException, + ReactionLimitExceededException, + ReactionValueRequiredException, + ReferenceDoesNotExistException, + ReferenceNameRequiredException, + ReferenceTypeNotSupportedException, + ReplacementContentRequiredException, + ReplacementTypeRequiredException, + RepositoryDoesNotExistException, + RepositoryLimitExceededException, + RepositoryNameExistsException, + RepositoryNameRequiredException, + RepositoryNamesRequiredException, + RepositoryNotAssociatedWithPullRequestException, + RepositoryTriggerBranchNameListRequiredException, + RepositoryTriggerDestinationArnRequiredException, + RepositoryTriggerEventsListRequiredException, + RepositoryTriggerNameRequiredException, + RepositoryTriggersListRequiredException, + ResourceArnRequiredException, + RestrictedSourceFileException, + RevisionIdRequiredException, + RevisionNotCurrentException, + SameFileContentException, + SamePathRequestException, + SourceAndDestinationAreSameException, + SourceFileOrContentRequiredException, + TagKeysListRequiredException, + TagPolicyException, + TagsMapRequiredException, + TargetRequiredException, + TargetsRequiredException, + TipOfSourceReferenceIsDifferentException, + TipsDivergenceExceededException, + TitleRequiredException, + TooManyTagsException, CodeCommitServiceException, paginateDescribeMergeConflicts, paginateDescribePullRequestEvents, diff --git a/clients/client-codeconnections/src/schemas/schemas_0.ts b/clients/client-codeconnections/src/schemas/schemas_0.ts index bc42a3783004..4c2a298c5680 100644 --- a/clients/client-codeconnections/src/schemas/schemas_0.ts +++ b/clients/client-codeconnections/src/schemas/schemas_0.ts @@ -462,7 +462,6 @@ export var UpdateSyncConfigurationInput: StaticStructureSchema = [ ]; export var UpdateSyncConfigurationOutput: StaticStructureSchema = [3, n0, _USCO, 0, [_SC], [() => SyncConfiguration]]; export var VpcConfiguration: StaticStructureSchema = [3, n0, _VC, 0, [_VI, _SI, _SGI, _TC], [0, 64 | 0, 64 | 0, 0]]; -export var __Unit = "unit" as const; export var CodeConnectionsServiceException: StaticErrorSchema = [-3, _sm, "CodeConnectionsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(CodeConnectionsServiceException, __CodeConnectionsServiceException); export var ConnectionList: StaticListSchema = [1, n0, _CL, 0, () => Connection]; diff --git a/clients/client-codeconnections/test/index-objects.spec.mjs b/clients/client-codeconnections/test/index-objects.spec.mjs index 4f72c0d556ae..e2a5964c7341 100644 --- a/clients/client-codeconnections/test/index-objects.spec.mjs +++ b/clients/client-codeconnections/test/index-objects.spec.mjs @@ -1,9 +1,13 @@ import { + AccessDeniedException, BlockerStatus, BlockerType, CodeConnections, CodeConnectionsClient, CodeConnectionsServiceException, + ConcurrentModificationException, + ConditionalCheckFailedException, + ConflictException, ConnectionStatus, CreateConnectionCommand, CreateHostCommand, @@ -20,6 +24,9 @@ import { GetResourceSyncStatusCommand, GetSyncBlockerSummaryCommand, GetSyncConfigurationCommand, + InternalServerException, + InvalidInputException, + LimitExceededException, ListConnectionsCommand, ListHostsCommand, ListRepositoryLinksCommand, @@ -30,12 +37,22 @@ import { PublishDeploymentStatus, PullRequestComment, RepositorySyncStatus, + ResourceAlreadyExistsException, + ResourceNotFoundException, ResourceSyncStatus, + ResourceUnavailableException, + RetryLatestCommitFailedException, + SyncBlockerDoesNotExistException, + SyncConfigurationStillExistsException, SyncConfigurationType, TagResourceCommand, + ThrottlingException, TriggerResourceUpdateOn, + UnsupportedOperationException, + UnsupportedProviderTypeException, UntagResourceCommand, UpdateHostCommand, + UpdateOutOfSyncException, UpdateRepositoryLinkCommand, UpdateSyncBlockerCommand, UpdateSyncConfigurationCommand, @@ -88,6 +105,23 @@ assert(typeof ResourceSyncStatus === "object"); assert(typeof SyncConfigurationType === "object"); assert(typeof TriggerResourceUpdateOn === "object"); // errors +assert(AccessDeniedException.prototype instanceof CodeConnectionsServiceException); +assert(ConcurrentModificationException.prototype instanceof CodeConnectionsServiceException); +assert(ConditionalCheckFailedException.prototype instanceof CodeConnectionsServiceException); +assert(ConflictException.prototype instanceof CodeConnectionsServiceException); +assert(InternalServerException.prototype instanceof CodeConnectionsServiceException); +assert(InvalidInputException.prototype instanceof CodeConnectionsServiceException); +assert(LimitExceededException.prototype instanceof CodeConnectionsServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof CodeConnectionsServiceException); +assert(ResourceNotFoundException.prototype instanceof CodeConnectionsServiceException); +assert(ResourceUnavailableException.prototype instanceof CodeConnectionsServiceException); +assert(RetryLatestCommitFailedException.prototype instanceof CodeConnectionsServiceException); +assert(SyncBlockerDoesNotExistException.prototype instanceof CodeConnectionsServiceException); +assert(SyncConfigurationStillExistsException.prototype instanceof CodeConnectionsServiceException); +assert(ThrottlingException.prototype instanceof CodeConnectionsServiceException); +assert(UnsupportedOperationException.prototype instanceof CodeConnectionsServiceException); +assert(UnsupportedProviderTypeException.prototype instanceof CodeConnectionsServiceException); +assert(UpdateOutOfSyncException.prototype instanceof CodeConnectionsServiceException); assert(CodeConnectionsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListConnections === "function"); diff --git a/clients/client-codeconnections/test/index-types.ts b/clients/client-codeconnections/test/index-types.ts index 5ca739733a58..33aea9161f5a 100644 --- a/clients/client-codeconnections/test/index-types.ts +++ b/clients/client-codeconnections/test/index-types.ts @@ -162,6 +162,23 @@ export type { UpdateSyncConfigurationInput, UpdateSyncConfigurationOutput, VpcConfiguration, + AccessDeniedException, + ConcurrentModificationException, + ConditionalCheckFailedException, + ConflictException, + InternalServerException, + InvalidInputException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ResourceUnavailableException, + RetryLatestCommitFailedException, + SyncBlockerDoesNotExistException, + SyncConfigurationStillExistsException, + ThrottlingException, + UnsupportedOperationException, + UnsupportedProviderTypeException, + UpdateOutOfSyncException, CodeConnectionsServiceException, paginateListConnections, paginateListHosts, diff --git a/clients/client-codedeploy/test/index-objects.spec.mjs b/clients/client-codedeploy/test/index-objects.spec.mjs index 4126bab313bd..393f3585aef4 100644 --- a/clients/client-codedeploy/test/index-objects.spec.mjs +++ b/clients/client-codedeploy/test/index-objects.spec.mjs @@ -1,6 +1,12 @@ import { AddTagsToOnPremisesInstancesCommand, + AlarmsLimitExceededException, + ApplicationAlreadyExistsException, + ApplicationDoesNotExistException, + ApplicationLimitExceededException, + ApplicationNameRequiredException, ApplicationRevisionSortBy, + ArnNotSupportedException, AutoRollbackEvent, BatchGetApplicationRevisionsCommand, BatchGetApplicationsCommand, @@ -9,6 +15,8 @@ import { BatchGetDeploymentTargetsCommand, BatchGetDeploymentsCommand, BatchGetOnPremisesInstancesCommand, + BatchLimitExceededException, + BucketNameFilterRequiredException, BundleType, CodeDeploy, CodeDeployClient, @@ -24,15 +32,35 @@ import { DeleteDeploymentGroupCommand, DeleteGitHubAccountTokenCommand, DeleteResourcesByExternalIdCommand, + DeploymentAlreadyCompletedException, + DeploymentConfigAlreadyExistsException, + DeploymentConfigDoesNotExistException, + DeploymentConfigInUseException, + DeploymentConfigLimitExceededException, + DeploymentConfigNameRequiredException, DeploymentCreator, + DeploymentDoesNotExistException, + DeploymentGroupAlreadyExistsException, + DeploymentGroupDoesNotExistException, + DeploymentGroupLimitExceededException, + DeploymentGroupNameRequiredException, + DeploymentIdRequiredException, + DeploymentIsNotInReadyStateException, + DeploymentLimitExceededException, + DeploymentNotStartedException, DeploymentOption, DeploymentReadyAction, DeploymentStatus, + DeploymentTargetDoesNotExistException, + DeploymentTargetIdRequiredException, + DeploymentTargetListSizeExceededException, DeploymentTargetType, DeploymentType, DeploymentWaitType, DeregisterOnPremisesInstanceCommand, + DescriptionTooLongException, EC2TagFilterType, + ECSServiceMappingLimitExceededException, ErrorCode, FileExistsBehavior, GetApplicationCommand, @@ -43,11 +71,80 @@ import { GetDeploymentInstanceCommand, GetDeploymentTargetCommand, GetOnPremisesInstanceCommand, + GitHubAccountTokenDoesNotExistException, + GitHubAccountTokenNameRequiredException, GreenFleetProvisioningAction, + IamArnRequiredException, + IamSessionArnAlreadyRegisteredException, + IamUserArnAlreadyRegisteredException, + IamUserArnRequiredException, InstanceAction, + InstanceDoesNotExistException, + InstanceIdRequiredException, + InstanceLimitExceededException, + InstanceNameAlreadyRegisteredException, + InstanceNameRequiredException, + InstanceNotRegisteredException, InstanceStatus, + InvalidAlarmConfigException, + InvalidApplicationNameException, + InvalidArnException, + InvalidAutoRollbackConfigException, + InvalidAutoScalingGroupException, + InvalidBlueGreenDeploymentConfigurationException, + InvalidBucketNameFilterException, + InvalidComputePlatformException, + InvalidDeployedStateFilterException, + InvalidDeploymentConfigNameException, + InvalidDeploymentGroupNameException, + InvalidDeploymentIdException, + InvalidDeploymentInstanceTypeException, + InvalidDeploymentStatusException, + InvalidDeploymentStyleException, + InvalidDeploymentTargetIdException, + InvalidDeploymentWaitTypeException, + InvalidEC2TagCombinationException, + InvalidEC2TagException, + InvalidECSServiceException, + InvalidExternalIdException, + InvalidFileExistsBehaviorException, + InvalidGitHubAccountTokenException, + InvalidGitHubAccountTokenNameException, + InvalidIamSessionArnException, + InvalidIamUserArnException, + InvalidIgnoreApplicationStopFailuresValueException, + InvalidInputException, + InvalidInstanceNameException, + InvalidInstanceStatusException, + InvalidInstanceTypeException, + InvalidKeyPrefixFilterException, + InvalidLifecycleEventHookExecutionIdException, + InvalidLifecycleEventHookExecutionStatusException, + InvalidLoadBalancerInfoException, + InvalidMinimumHealthyHostValueException, + InvalidNextTokenException, + InvalidOnPremisesTagCombinationException, + InvalidOperationException, + InvalidRegistrationStatusException, + InvalidRevisionException, + InvalidRoleException, + InvalidSortByException, + InvalidSortOrderException, + InvalidTagException, + InvalidTagFilterException, + InvalidTagsToAddException, + InvalidTargetFilterNameException, + InvalidTargetGroupPairException, + InvalidTargetInstancesException, + InvalidTimeRangeException, + InvalidTrafficRoutingConfigurationException, + InvalidTriggerConfigException, + InvalidUpdateOutdatedInstancesOnlyValueException, + InvalidZonalDeploymentConfigurationException, LifecycleErrorCode, + LifecycleEventAlreadyCompletedException, LifecycleEventStatus, + LifecycleHookLimitExceededException, ListApplicationRevisionsCommand, ListApplicationsCommand, ListDeploymentConfigsCommand, @@ -61,24 +158,37 @@ import { ListTagsForResourceCommand, MinimumHealthyHostsPerZoneType, MinimumHealthyHostsType, + MultipleIamArnsProvidedException, + OperationNotSupportedException, OutdatedInstancesStrategy, PutLifecycleEventHookExecutionStatusCommand, RegisterApplicationRevisionCommand, RegisterOnPremisesInstanceCommand, RegistrationStatus, RemoveTagsFromOnPremisesInstancesCommand, + ResourceArnRequiredException, + ResourceValidationException, + RevisionDoesNotExistException, RevisionLocationType, + RevisionRequiredException, + RoleRequiredException, SkipWaitTimeForInstanceTerminationCommand, SortOrder, StopDeploymentCommand, StopStatus, TagFilterType, + TagLimitExceededException, + TagRequiredException, TagResourceCommand, + TagSetListLimitExceededException, TargetFilterName, TargetLabel, TargetStatus, + ThrottlingException, TrafficRoutingType, TriggerEventType, + TriggerTargetsLimitExceededException, + UnsupportedActionForDeploymentTypeException, UntagResourceCommand, UpdateApplicationCommand, UpdateDeploymentGroupCommand, @@ -180,6 +290,116 @@ assert(typeof TargetStatus === "object"); assert(typeof TrafficRoutingType === "object"); assert(typeof TriggerEventType === "object"); // errors +assert(AlarmsLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(ApplicationAlreadyExistsException.prototype instanceof CodeDeployServiceException); +assert(ApplicationDoesNotExistException.prototype instanceof CodeDeployServiceException); +assert(ApplicationLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(ApplicationNameRequiredException.prototype instanceof CodeDeployServiceException); +assert(ArnNotSupportedException.prototype instanceof CodeDeployServiceException); +assert(BatchLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(BucketNameFilterRequiredException.prototype instanceof CodeDeployServiceException); +assert(DeploymentAlreadyCompletedException.prototype instanceof CodeDeployServiceException); +assert(DeploymentConfigAlreadyExistsException.prototype instanceof CodeDeployServiceException); +assert(DeploymentConfigDoesNotExistException.prototype instanceof CodeDeployServiceException); +assert(DeploymentConfigInUseException.prototype instanceof CodeDeployServiceException); +assert(DeploymentConfigLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(DeploymentConfigNameRequiredException.prototype instanceof CodeDeployServiceException); +assert(DeploymentDoesNotExistException.prototype instanceof CodeDeployServiceException); +assert(DeploymentGroupAlreadyExistsException.prototype instanceof CodeDeployServiceException); +assert(DeploymentGroupDoesNotExistException.prototype instanceof CodeDeployServiceException); +assert(DeploymentGroupLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(DeploymentGroupNameRequiredException.prototype instanceof CodeDeployServiceException); +assert(DeploymentIdRequiredException.prototype instanceof CodeDeployServiceException); +assert(DeploymentIsNotInReadyStateException.prototype instanceof CodeDeployServiceException); +assert(DeploymentLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(DeploymentNotStartedException.prototype instanceof CodeDeployServiceException); +assert(DeploymentTargetDoesNotExistException.prototype instanceof CodeDeployServiceException); +assert(DeploymentTargetIdRequiredException.prototype instanceof CodeDeployServiceException); +assert(DeploymentTargetListSizeExceededException.prototype instanceof CodeDeployServiceException); +assert(DescriptionTooLongException.prototype instanceof CodeDeployServiceException); +assert(ECSServiceMappingLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(GitHubAccountTokenDoesNotExistException.prototype instanceof CodeDeployServiceException); +assert(GitHubAccountTokenNameRequiredException.prototype instanceof CodeDeployServiceException); +assert(IamArnRequiredException.prototype instanceof CodeDeployServiceException); +assert(IamSessionArnAlreadyRegisteredException.prototype instanceof CodeDeployServiceException); +assert(IamUserArnAlreadyRegisteredException.prototype instanceof CodeDeployServiceException); +assert(IamUserArnRequiredException.prototype instanceof CodeDeployServiceException); +assert(InstanceDoesNotExistException.prototype instanceof CodeDeployServiceException); +assert(InstanceIdRequiredException.prototype instanceof CodeDeployServiceException); +assert(InstanceLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(InstanceNameAlreadyRegisteredException.prototype instanceof CodeDeployServiceException); +assert(InstanceNameRequiredException.prototype instanceof CodeDeployServiceException); +assert(InstanceNotRegisteredException.prototype instanceof CodeDeployServiceException); +assert(InvalidAlarmConfigException.prototype instanceof CodeDeployServiceException); +assert(InvalidApplicationNameException.prototype instanceof CodeDeployServiceException); +assert(InvalidArnException.prototype instanceof CodeDeployServiceException); +assert(InvalidAutoRollbackConfigException.prototype instanceof CodeDeployServiceException); +assert(InvalidAutoScalingGroupException.prototype instanceof CodeDeployServiceException); +assert(InvalidBlueGreenDeploymentConfigurationException.prototype instanceof CodeDeployServiceException); +assert(InvalidBucketNameFilterException.prototype instanceof CodeDeployServiceException); +assert(InvalidComputePlatformException.prototype instanceof CodeDeployServiceException); +assert(InvalidDeployedStateFilterException.prototype instanceof CodeDeployServiceException); +assert(InvalidDeploymentConfigNameException.prototype instanceof CodeDeployServiceException); +assert(InvalidDeploymentGroupNameException.prototype instanceof CodeDeployServiceException); +assert(InvalidDeploymentIdException.prototype instanceof CodeDeployServiceException); +assert(InvalidDeploymentInstanceTypeException.prototype instanceof CodeDeployServiceException); +assert(InvalidDeploymentStatusException.prototype instanceof CodeDeployServiceException); +assert(InvalidDeploymentStyleException.prototype instanceof CodeDeployServiceException); +assert(InvalidDeploymentTargetIdException.prototype instanceof CodeDeployServiceException); +assert(InvalidDeploymentWaitTypeException.prototype instanceof CodeDeployServiceException); +assert(InvalidEC2TagCombinationException.prototype instanceof CodeDeployServiceException); +assert(InvalidEC2TagException.prototype instanceof CodeDeployServiceException); +assert(InvalidECSServiceException.prototype instanceof CodeDeployServiceException); +assert(InvalidExternalIdException.prototype instanceof CodeDeployServiceException); +assert(InvalidFileExistsBehaviorException.prototype instanceof CodeDeployServiceException); +assert(InvalidGitHubAccountTokenException.prototype instanceof CodeDeployServiceException); +assert(InvalidGitHubAccountTokenNameException.prototype instanceof CodeDeployServiceException); +assert(InvalidIamSessionArnException.prototype instanceof CodeDeployServiceException); +assert(InvalidIamUserArnException.prototype instanceof CodeDeployServiceException); +assert(InvalidIgnoreApplicationStopFailuresValueException.prototype instanceof CodeDeployServiceException); +assert(InvalidInputException.prototype instanceof CodeDeployServiceException); +assert(InvalidInstanceNameException.prototype instanceof CodeDeployServiceException); +assert(InvalidInstanceStatusException.prototype instanceof CodeDeployServiceException); +assert(InvalidInstanceTypeException.prototype instanceof CodeDeployServiceException); +assert(InvalidKeyPrefixFilterException.prototype instanceof CodeDeployServiceException); +assert(InvalidLifecycleEventHookExecutionIdException.prototype instanceof CodeDeployServiceException); +assert(InvalidLifecycleEventHookExecutionStatusException.prototype instanceof CodeDeployServiceException); +assert(InvalidLoadBalancerInfoException.prototype instanceof CodeDeployServiceException); +assert(InvalidMinimumHealthyHostValueException.prototype instanceof CodeDeployServiceException); +assert(InvalidNextTokenException.prototype instanceof CodeDeployServiceException); +assert(InvalidOnPremisesTagCombinationException.prototype instanceof CodeDeployServiceException); +assert(InvalidOperationException.prototype instanceof CodeDeployServiceException); +assert(InvalidRegistrationStatusException.prototype instanceof CodeDeployServiceException); +assert(InvalidRevisionException.prototype instanceof CodeDeployServiceException); +assert(InvalidRoleException.prototype instanceof CodeDeployServiceException); +assert(InvalidSortByException.prototype instanceof CodeDeployServiceException); +assert(InvalidSortOrderException.prototype instanceof CodeDeployServiceException); +assert(InvalidTagException.prototype instanceof CodeDeployServiceException); +assert(InvalidTagFilterException.prototype instanceof CodeDeployServiceException); +assert(InvalidTagsToAddException.prototype instanceof CodeDeployServiceException); +assert(InvalidTargetFilterNameException.prototype instanceof CodeDeployServiceException); +assert(InvalidTargetGroupPairException.prototype instanceof CodeDeployServiceException); +assert(InvalidTargetInstancesException.prototype instanceof CodeDeployServiceException); +assert(InvalidTimeRangeException.prototype instanceof CodeDeployServiceException); +assert(InvalidTrafficRoutingConfigurationException.prototype instanceof CodeDeployServiceException); +assert(InvalidTriggerConfigException.prototype instanceof CodeDeployServiceException); +assert(InvalidUpdateOutdatedInstancesOnlyValueException.prototype instanceof CodeDeployServiceException); +assert(InvalidZonalDeploymentConfigurationException.prototype instanceof CodeDeployServiceException); +assert(LifecycleEventAlreadyCompletedException.prototype instanceof CodeDeployServiceException); +assert(LifecycleHookLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(MultipleIamArnsProvidedException.prototype instanceof CodeDeployServiceException); +assert(OperationNotSupportedException.prototype instanceof CodeDeployServiceException); +assert(ResourceArnRequiredException.prototype instanceof CodeDeployServiceException); +assert(ResourceValidationException.prototype instanceof CodeDeployServiceException); +assert(RevisionDoesNotExistException.prototype instanceof CodeDeployServiceException); +assert(RevisionRequiredException.prototype instanceof CodeDeployServiceException); +assert(RoleRequiredException.prototype instanceof CodeDeployServiceException); +assert(TagLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(TagRequiredException.prototype instanceof CodeDeployServiceException); +assert(TagSetListLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(ThrottlingException.prototype instanceof CodeDeployServiceException); +assert(TriggerTargetsLimitExceededException.prototype instanceof CodeDeployServiceException); +assert(UnsupportedActionForDeploymentTypeException.prototype instanceof CodeDeployServiceException); assert(CodeDeployServiceException.prototype instanceof Error); // waiters assert(typeof waitForDeploymentSuccessful === "function"); diff --git a/clients/client-codedeploy/test/index-types.ts b/clients/client-codedeploy/test/index-types.ts index 6d7e70ad2c93..8921f319f7d5 100644 --- a/clients/client-codedeploy/test/index-types.ts +++ b/clients/client-codedeploy/test/index-types.ts @@ -317,6 +317,116 @@ export type { UpdateDeploymentGroupInput, UpdateDeploymentGroupOutput, ZonalConfig, + AlarmsLimitExceededException, + ApplicationAlreadyExistsException, + ApplicationDoesNotExistException, + ApplicationLimitExceededException, + ApplicationNameRequiredException, + ArnNotSupportedException, + BatchLimitExceededException, + BucketNameFilterRequiredException, + DeploymentAlreadyCompletedException, + DeploymentConfigAlreadyExistsException, + DeploymentConfigDoesNotExistException, + DeploymentConfigInUseException, + DeploymentConfigLimitExceededException, + DeploymentConfigNameRequiredException, + DeploymentDoesNotExistException, + DeploymentGroupAlreadyExistsException, + DeploymentGroupDoesNotExistException, + DeploymentGroupLimitExceededException, + DeploymentGroupNameRequiredException, + DeploymentIdRequiredException, + DeploymentIsNotInReadyStateException, + DeploymentLimitExceededException, + DeploymentNotStartedException, + DeploymentTargetDoesNotExistException, + DeploymentTargetIdRequiredException, + DeploymentTargetListSizeExceededException, + DescriptionTooLongException, + ECSServiceMappingLimitExceededException, + GitHubAccountTokenDoesNotExistException, + GitHubAccountTokenNameRequiredException, + IamArnRequiredException, + IamSessionArnAlreadyRegisteredException, + IamUserArnAlreadyRegisteredException, + IamUserArnRequiredException, + InstanceDoesNotExistException, + InstanceIdRequiredException, + InstanceLimitExceededException, + InstanceNameAlreadyRegisteredException, + InstanceNameRequiredException, + InstanceNotRegisteredException, + InvalidAlarmConfigException, + InvalidApplicationNameException, + InvalidArnException, + InvalidAutoRollbackConfigException, + InvalidAutoScalingGroupException, + InvalidBlueGreenDeploymentConfigurationException, + InvalidBucketNameFilterException, + InvalidComputePlatformException, + InvalidDeployedStateFilterException, + InvalidDeploymentConfigNameException, + InvalidDeploymentGroupNameException, + InvalidDeploymentIdException, + InvalidDeploymentInstanceTypeException, + InvalidDeploymentStatusException, + InvalidDeploymentStyleException, + InvalidDeploymentTargetIdException, + InvalidDeploymentWaitTypeException, + InvalidEC2TagCombinationException, + InvalidEC2TagException, + InvalidECSServiceException, + InvalidExternalIdException, + InvalidFileExistsBehaviorException, + InvalidGitHubAccountTokenException, + InvalidGitHubAccountTokenNameException, + InvalidIamSessionArnException, + InvalidIamUserArnException, + InvalidIgnoreApplicationStopFailuresValueException, + InvalidInputException, + InvalidInstanceNameException, + InvalidInstanceStatusException, + InvalidInstanceTypeException, + InvalidKeyPrefixFilterException, + InvalidLifecycleEventHookExecutionIdException, + InvalidLifecycleEventHookExecutionStatusException, + InvalidLoadBalancerInfoException, + InvalidMinimumHealthyHostValueException, + InvalidNextTokenException, + InvalidOnPremisesTagCombinationException, + InvalidOperationException, + InvalidRegistrationStatusException, + InvalidRevisionException, + InvalidRoleException, + InvalidSortByException, + InvalidSortOrderException, + InvalidTagException, + InvalidTagFilterException, + InvalidTagsToAddException, + InvalidTargetFilterNameException, + InvalidTargetGroupPairException, + InvalidTargetInstancesException, + InvalidTimeRangeException, + InvalidTrafficRoutingConfigurationException, + InvalidTriggerConfigException, + InvalidUpdateOutdatedInstancesOnlyValueException, + InvalidZonalDeploymentConfigurationException, + LifecycleEventAlreadyCompletedException, + LifecycleHookLimitExceededException, + MultipleIamArnsProvidedException, + OperationNotSupportedException, + ResourceArnRequiredException, + ResourceValidationException, + RevisionDoesNotExistException, + RevisionRequiredException, + RoleRequiredException, + TagLimitExceededException, + TagRequiredException, + TagSetListLimitExceededException, + ThrottlingException, + TriggerTargetsLimitExceededException, + UnsupportedActionForDeploymentTypeException, CodeDeployServiceException, waitForDeploymentSuccessful, waitUntilDeploymentSuccessful, diff --git a/clients/client-codeguru-reviewer/src/schemas/schemas_0.ts b/clients/client-codeguru-reviewer/src/schemas/schemas_0.ts index df3ab007b3c8..507e4142d3d9 100644 --- a/clients/client-codeguru-reviewer/src/schemas/schemas_0.ts +++ b/clients/client-codeguru-reviewer/src/schemas/schemas_0.ts @@ -473,7 +473,6 @@ export var UntagResourceRequest: StaticStructureSchema = [ export var UntagResourceResponse: StaticStructureSchema = [3, n0, _URRn, 0, [], []]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var CodeGuruReviewerServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-codeguru-reviewer/test/index-objects.spec.mjs b/clients/client-codeguru-reviewer/test/index-objects.spec.mjs index 0f99f15b5af1..bf5bc8c95c69 100644 --- a/clients/client-codeguru-reviewer/test/index-objects.spec.mjs +++ b/clients/client-codeguru-reviewer/test/index-objects.spec.mjs @@ -1,31 +1,38 @@ import { + AccessDeniedException, AnalysisType, AssociateRepositoryCommand, CodeGuruReviewer, CodeGuruReviewerClient, CodeGuruReviewerServiceException, ConfigFileState, + ConflictException, CreateCodeReviewCommand, DescribeCodeReviewCommand, DescribeRecommendationFeedbackCommand, DescribeRepositoryAssociationCommand, DisassociateRepositoryCommand, EncryptionOption, + InternalServerException, JobState, ListCodeReviewsCommand, ListRecommendationFeedbackCommand, ListRecommendationsCommand, ListRepositoryAssociationsCommand, ListTagsForResourceCommand, + NotFoundException, ProviderType, PutRecommendationFeedbackCommand, Reaction, RecommendationCategory, RepositoryAssociationState, + ResourceNotFoundException, Severity, TagResourceCommand, + ThrottlingException, Type, UntagResourceCommand, + ValidationException, VendorName, paginateListCodeReviews, paginateListRecommendationFeedback, @@ -68,6 +75,13 @@ assert(typeof Severity === "object"); assert(typeof Type === "object"); assert(typeof VendorName === "object"); // errors +assert(AccessDeniedException.prototype instanceof CodeGuruReviewerServiceException); +assert(ConflictException.prototype instanceof CodeGuruReviewerServiceException); +assert(InternalServerException.prototype instanceof CodeGuruReviewerServiceException); +assert(NotFoundException.prototype instanceof CodeGuruReviewerServiceException); +assert(ResourceNotFoundException.prototype instanceof CodeGuruReviewerServiceException); +assert(ThrottlingException.prototype instanceof CodeGuruReviewerServiceException); +assert(ValidationException.prototype instanceof CodeGuruReviewerServiceException); assert(CodeGuruReviewerServiceException.prototype instanceof Error); // waiters assert(typeof waitForCodeReviewCompleted === "function"); diff --git a/clients/client-codeguru-reviewer/test/index-types.ts b/clients/client-codeguru-reviewer/test/index-types.ts index 929917a47cc2..29e801772f31 100644 --- a/clients/client-codeguru-reviewer/test/index-types.ts +++ b/clients/client-codeguru-reviewer/test/index-types.ts @@ -109,6 +109,13 @@ export type { ThirdPartySourceRepository, UntagResourceRequest, UntagResourceResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + NotFoundException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, CodeGuruReviewerServiceException, waitForCodeReviewCompleted, waitForRepositoryAssociationSucceeded, diff --git a/clients/client-codeguru-security/src/schemas/schemas_0.ts b/clients/client-codeguru-security/src/schemas/schemas_0.ts index d69fc279b8f2..917ecab778d9 100644 --- a/clients/client-codeguru-security/src/schemas/schemas_0.ts +++ b/clients/client-codeguru-security/src/schemas/schemas_0.ts @@ -453,7 +453,6 @@ export var Vulnerability: StaticStructureSchema = [ [_rU, _rV, _i, _fP, _iC], [64 | 0, 64 | 0, 0, () => FilePath, 1], ]; -export var __Unit = "unit" as const; export var CodeGuruSecurityServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-codeguru-security/test/index-objects.spec.mjs b/clients/client-codeguru-security/test/index-objects.spec.mjs index 018bf96f13aa..10a2b696002c 100644 --- a/clients/client-codeguru-security/test/index-objects.spec.mjs +++ b/clients/client-codeguru-security/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, AnalysisType, BatchGetFindingsCommand, CodeGuruSecurity, CodeGuruSecurityClient, CodeGuruSecurityServiceException, + ConflictException, CreateScanCommand, CreateUploadUrlCommand, ErrorCode, @@ -11,16 +13,21 @@ import { GetFindingsCommand, GetMetricsSummaryCommand, GetScanCommand, + InternalServerException, ListFindingsMetricsCommand, ListScansCommand, ListTagsForResourceCommand, + ResourceNotFoundException, ScanState, ScanType, Severity, Status, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateAccountConfigurationCommand, + ValidationException, + ValidationExceptionReason, paginateGetFindings, paginateListFindingsMetrics, paginateListScans, @@ -50,7 +57,14 @@ assert(typeof ScanState === "object"); assert(typeof ScanType === "object"); assert(typeof Severity === "object"); assert(typeof Status === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof CodeGuruSecurityServiceException); +assert(ConflictException.prototype instanceof CodeGuruSecurityServiceException); +assert(InternalServerException.prototype instanceof CodeGuruSecurityServiceException); +assert(ResourceNotFoundException.prototype instanceof CodeGuruSecurityServiceException); +assert(ThrottlingException.prototype instanceof CodeGuruSecurityServiceException); +assert(ValidationException.prototype instanceof CodeGuruSecurityServiceException); assert(CodeGuruSecurityServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetFindings === "function"); diff --git a/clients/client-codeguru-security/test/index-types.ts b/clients/client-codeguru-security/test/index-types.ts index 9f48f4e1ac6a..b54a34988bfc 100644 --- a/clients/client-codeguru-security/test/index-types.ts +++ b/clients/client-codeguru-security/test/index-types.ts @@ -47,6 +47,7 @@ export type { ScanType, Severity, Status, + ValidationExceptionReason, AccountFindingsMetric, BatchGetFindingsError, BatchGetFindingsRequest, @@ -90,7 +91,14 @@ export type { UntagResourceResponse, UpdateAccountConfigurationRequest, UpdateAccountConfigurationResponse, + ValidationExceptionField, Vulnerability, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, CodeGuruSecurityServiceException, paginateGetFindings, paginateListFindingsMetrics, diff --git a/clients/client-codeguruprofiler/test/index-objects.spec.mjs b/clients/client-codeguruprofiler/test/index-objects.spec.mjs index cade41fc680f..b07280591bf3 100644 --- a/clients/client-codeguruprofiler/test/index-objects.spec.mjs +++ b/clients/client-codeguruprofiler/test/index-objects.spec.mjs @@ -9,6 +9,7 @@ import { CodeGuruProfilerServiceException, ComputePlatform, ConfigureAgentCommand, + ConflictException, CreateProfilingGroupCommand, DeleteProfilingGroupCommand, DescribeProfilingGroupCommand, @@ -19,6 +20,7 @@ import { GetPolicyCommand, GetProfileCommand, GetRecommendationsCommand, + InternalServerException, ListFindingsReportsCommand, ListProfileTimesCommand, ListProfilingGroupsCommand, @@ -30,10 +32,14 @@ import { PutPermissionCommand, RemoveNotificationChannelCommand, RemovePermissionCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, SubmitFeedbackCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateProfilingGroupCommand, + ValidationException, paginateGetFindingsReportAccountSummary, paginateListFindingsReports, paginateListProfileTimes, @@ -78,6 +84,12 @@ assert(typeof MetadataField === "object"); assert(typeof MetricType === "object"); assert(typeof OrderBy === "object"); // errors +assert(ConflictException.prototype instanceof CodeGuruProfilerServiceException); +assert(InternalServerException.prototype instanceof CodeGuruProfilerServiceException); +assert(ResourceNotFoundException.prototype instanceof CodeGuruProfilerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof CodeGuruProfilerServiceException); +assert(ThrottlingException.prototype instanceof CodeGuruProfilerServiceException); +assert(ValidationException.prototype instanceof CodeGuruProfilerServiceException); assert(CodeGuruProfilerServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetFindingsReportAccountSummary === "function"); diff --git a/clients/client-codeguruprofiler/test/index-types.ts b/clients/client-codeguruprofiler/test/index-types.ts index 816ac0c82f5a..1cc4f65dc4ab 100644 --- a/clients/client-codeguruprofiler/test/index-types.ts +++ b/clients/client-codeguruprofiler/test/index-types.ts @@ -145,6 +145,12 @@ export type { UpdateProfilingGroupRequest, UpdateProfilingGroupResponse, UserFeedback, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, CodeGuruProfilerServiceException, paginateGetFindingsReportAccountSummary, paginateListFindingsReports, diff --git a/clients/client-codepipeline/test/index-objects.spec.mjs b/clients/client-codepipeline/test/index-objects.spec.mjs index d620bf0ed916..304a499d60a6 100644 --- a/clients/client-codepipeline/test/index-objects.spec.mjs +++ b/clients/client-codepipeline/test/index-objects.spec.mjs @@ -3,8 +3,12 @@ import { AcknowledgeThirdPartyJobCommand, ActionCategory, ActionConfigurationPropertyType, + ActionExecutionNotFoundException, ActionExecutionStatus, + ActionNotFoundException, ActionOwner, + ActionTypeNotFoundException, + ApprovalAlreadyCompletedException, ApprovalStatus, ArtifactLocationType, ArtifactStoreType, @@ -12,8 +16,12 @@ import { CodePipeline, CodePipelineClient, CodePipelineServiceException, + ConcurrentModificationException, + ConcurrentPipelineExecutionsLimitExceededException, ConditionExecutionStatus, + ConditionNotOverridableException, ConditionType, + ConflictException, CreateCustomActionTypeCommand, CreatePipelineCommand, DeleteCustomActionTypeCommand, @@ -21,6 +29,7 @@ import { DeleteWebhookCommand, DeregisterWebhookWithThirdPartyCommand, DisableStageTransitionCommand, + DuplicatedStopRequestException, EnableStageTransitionCommand, EncryptionKeyType, EnvironmentVariableType, @@ -35,7 +44,23 @@ import { GetPipelineStateCommand, GetThirdPartyJobDetailsCommand, GitPullRequestEventType, + InvalidActionDeclarationException, + InvalidApprovalTokenException, + InvalidArnException, + InvalidBlockerDeclarationException, + InvalidClientTokenException, + InvalidJobException, + InvalidJobStateException, + InvalidNextTokenException, + InvalidNonceException, + InvalidStageDeclarationException, + InvalidStructureException, + InvalidTagsException, + InvalidWebhookAuthenticationParametersException, + InvalidWebhookFilterPatternException, + JobNotFoundException, JobStatus, + LimitExceededException, ListActionExecutionsCommand, ListActionTypesCommand, ListDeployActionExecutionTargetsCommand, @@ -45,10 +70,18 @@ import { ListRuleTypesCommand, ListTagsForResourceCommand, ListWebhooksCommand, + NotLatestPipelineExecutionException, + OutputVariablesSizeExceededException, OverrideStageConditionCommand, + PipelineExecutionNotFoundException, + PipelineExecutionNotStoppableException, + PipelineExecutionOutdatedException, PipelineExecutionStatus, + PipelineNameInUseException, + PipelineNotFoundException, PipelineTriggerProviderType, PipelineType, + PipelineVersionNotFoundException, PollForJobsCommand, PollForThirdPartyJobsCommand, PutActionRevisionCommand, @@ -59,6 +92,8 @@ import { PutThirdPartyJobSuccessResultCommand, PutWebhookCommand, RegisterWebhookWithThirdPartyCommand, + RequestFailedException, + ResourceNotFoundException, Result, RetryStageExecutionCommand, RetryTrigger, @@ -69,6 +104,8 @@ import { RuleOwner, SourceRevisionType, StageExecutionStatus, + StageNotFoundException, + StageNotRetryableException, StageRetryMode, StageTransitionType, StartPipelineExecutionCommand, @@ -76,11 +113,15 @@ import { StopPipelineExecutionCommand, TagResourceCommand, TargetFilterName, + TooManyTagsException, TriggerType, + UnableToRollbackStageException, UntagResourceCommand, UpdateActionTypeCommand, UpdatePipelineCommand, + ValidationException, WebhookAuthenticationType, + WebhookNotFoundException, paginateListActionExecutions, paginateListActionTypes, paginateListDeployActionExecutionTargets, @@ -176,6 +217,47 @@ assert(typeof TargetFilterName === "object"); assert(typeof TriggerType === "object"); assert(typeof WebhookAuthenticationType === "object"); // errors +assert(ActionExecutionNotFoundException.prototype instanceof CodePipelineServiceException); +assert(ActionNotFoundException.prototype instanceof CodePipelineServiceException); +assert(ActionTypeNotFoundException.prototype instanceof CodePipelineServiceException); +assert(ApprovalAlreadyCompletedException.prototype instanceof CodePipelineServiceException); +assert(ConcurrentModificationException.prototype instanceof CodePipelineServiceException); +assert(ConcurrentPipelineExecutionsLimitExceededException.prototype instanceof CodePipelineServiceException); +assert(ConditionNotOverridableException.prototype instanceof CodePipelineServiceException); +assert(ConflictException.prototype instanceof CodePipelineServiceException); +assert(DuplicatedStopRequestException.prototype instanceof CodePipelineServiceException); +assert(InvalidActionDeclarationException.prototype instanceof CodePipelineServiceException); +assert(InvalidApprovalTokenException.prototype instanceof CodePipelineServiceException); +assert(InvalidArnException.prototype instanceof CodePipelineServiceException); +assert(InvalidBlockerDeclarationException.prototype instanceof CodePipelineServiceException); +assert(InvalidClientTokenException.prototype instanceof CodePipelineServiceException); +assert(InvalidJobException.prototype instanceof CodePipelineServiceException); +assert(InvalidJobStateException.prototype instanceof CodePipelineServiceException); +assert(InvalidNextTokenException.prototype instanceof CodePipelineServiceException); +assert(InvalidNonceException.prototype instanceof CodePipelineServiceException); +assert(InvalidStageDeclarationException.prototype instanceof CodePipelineServiceException); +assert(InvalidStructureException.prototype instanceof CodePipelineServiceException); +assert(InvalidTagsException.prototype instanceof CodePipelineServiceException); +assert(InvalidWebhookAuthenticationParametersException.prototype instanceof CodePipelineServiceException); +assert(InvalidWebhookFilterPatternException.prototype instanceof CodePipelineServiceException); +assert(JobNotFoundException.prototype instanceof CodePipelineServiceException); +assert(LimitExceededException.prototype instanceof CodePipelineServiceException); +assert(NotLatestPipelineExecutionException.prototype instanceof CodePipelineServiceException); +assert(OutputVariablesSizeExceededException.prototype instanceof CodePipelineServiceException); +assert(PipelineExecutionNotFoundException.prototype instanceof CodePipelineServiceException); +assert(PipelineExecutionNotStoppableException.prototype instanceof CodePipelineServiceException); +assert(PipelineExecutionOutdatedException.prototype instanceof CodePipelineServiceException); +assert(PipelineNameInUseException.prototype instanceof CodePipelineServiceException); +assert(PipelineNotFoundException.prototype instanceof CodePipelineServiceException); +assert(PipelineVersionNotFoundException.prototype instanceof CodePipelineServiceException); +assert(RequestFailedException.prototype instanceof CodePipelineServiceException); +assert(ResourceNotFoundException.prototype instanceof CodePipelineServiceException); +assert(StageNotFoundException.prototype instanceof CodePipelineServiceException); +assert(StageNotRetryableException.prototype instanceof CodePipelineServiceException); +assert(TooManyTagsException.prototype instanceof CodePipelineServiceException); +assert(UnableToRollbackStageException.prototype instanceof CodePipelineServiceException); +assert(ValidationException.prototype instanceof CodePipelineServiceException); +assert(WebhookNotFoundException.prototype instanceof CodePipelineServiceException); assert(CodePipelineServiceException.prototype instanceof Error); // paginators assert(typeof paginateListActionExecutions === "function"); diff --git a/clients/client-codepipeline/test/index-types.ts b/clients/client-codepipeline/test/index-types.ts index 1e95848b2f1b..a475d732888c 100644 --- a/clients/client-codepipeline/test/index-types.ts +++ b/clients/client-codepipeline/test/index-types.ts @@ -358,6 +358,47 @@ export type { WebhookAuthConfiguration, WebhookDefinition, WebhookFilterRule, + ActionExecutionNotFoundException, + ActionNotFoundException, + ActionTypeNotFoundException, + ApprovalAlreadyCompletedException, + ConcurrentModificationException, + ConcurrentPipelineExecutionsLimitExceededException, + ConditionNotOverridableException, + ConflictException, + DuplicatedStopRequestException, + InvalidActionDeclarationException, + InvalidApprovalTokenException, + InvalidArnException, + InvalidBlockerDeclarationException, + InvalidClientTokenException, + InvalidJobException, + InvalidJobStateException, + InvalidNextTokenException, + InvalidNonceException, + InvalidStageDeclarationException, + InvalidStructureException, + InvalidTagsException, + InvalidWebhookAuthenticationParametersException, + InvalidWebhookFilterPatternException, + JobNotFoundException, + LimitExceededException, + NotLatestPipelineExecutionException, + OutputVariablesSizeExceededException, + PipelineExecutionNotFoundException, + PipelineExecutionNotStoppableException, + PipelineExecutionOutdatedException, + PipelineNameInUseException, + PipelineNotFoundException, + PipelineVersionNotFoundException, + RequestFailedException, + ResourceNotFoundException, + StageNotFoundException, + StageNotRetryableException, + TooManyTagsException, + UnableToRollbackStageException, + ValidationException, + WebhookNotFoundException, CodePipelineServiceException, paginateListActionExecutions, paginateListActionTypes, diff --git a/clients/client-codestar-connections/src/schemas/schemas_0.ts b/clients/client-codestar-connections/src/schemas/schemas_0.ts index 97e3aa2c8990..ea5386d9b582 100644 --- a/clients/client-codestar-connections/src/schemas/schemas_0.ts +++ b/clients/client-codestar-connections/src/schemas/schemas_0.ts @@ -461,7 +461,6 @@ export var UpdateSyncConfigurationInput: StaticStructureSchema = [ ]; export var UpdateSyncConfigurationOutput: StaticStructureSchema = [3, n0, _USCO, 0, [_SC], [() => SyncConfiguration]]; export var VpcConfiguration: StaticStructureSchema = [3, n0, _VC, 0, [_VI, _SI, _SGI, _TC], [0, 64 | 0, 64 | 0, 0]]; -export var __Unit = "unit" as const; export var CodeStarConnectionsServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-codestar-connections/test/index-objects.spec.mjs b/clients/client-codestar-connections/test/index-objects.spec.mjs index d24dbe3660e1..e21c2861f9e8 100644 --- a/clients/client-codestar-connections/test/index-objects.spec.mjs +++ b/clients/client-codestar-connections/test/index-objects.spec.mjs @@ -1,9 +1,13 @@ import { + AccessDeniedException, BlockerStatus, BlockerType, CodeStarConnections, CodeStarConnectionsClient, CodeStarConnectionsServiceException, + ConcurrentModificationException, + ConditionalCheckFailedException, + ConflictException, ConnectionStatus, CreateConnectionCommand, CreateHostCommand, @@ -20,6 +24,9 @@ import { GetResourceSyncStatusCommand, GetSyncBlockerSummaryCommand, GetSyncConfigurationCommand, + InternalServerException, + InvalidInputException, + LimitExceededException, ListConnectionsCommand, ListHostsCommand, ListRepositoryLinksCommand, @@ -29,12 +36,22 @@ import { ProviderType, PublishDeploymentStatus, RepositorySyncStatus, + ResourceAlreadyExistsException, + ResourceNotFoundException, ResourceSyncStatus, + ResourceUnavailableException, + RetryLatestCommitFailedException, + SyncBlockerDoesNotExistException, + SyncConfigurationStillExistsException, SyncConfigurationType, TagResourceCommand, + ThrottlingException, TriggerResourceUpdateOn, + UnsupportedOperationException, + UnsupportedProviderTypeException, UntagResourceCommand, UpdateHostCommand, + UpdateOutOfSyncException, UpdateRepositoryLinkCommand, UpdateSyncBlockerCommand, UpdateSyncConfigurationCommand, @@ -86,6 +103,23 @@ assert(typeof ResourceSyncStatus === "object"); assert(typeof SyncConfigurationType === "object"); assert(typeof TriggerResourceUpdateOn === "object"); // errors +assert(AccessDeniedException.prototype instanceof CodeStarConnectionsServiceException); +assert(ConcurrentModificationException.prototype instanceof CodeStarConnectionsServiceException); +assert(ConditionalCheckFailedException.prototype instanceof CodeStarConnectionsServiceException); +assert(ConflictException.prototype instanceof CodeStarConnectionsServiceException); +assert(InternalServerException.prototype instanceof CodeStarConnectionsServiceException); +assert(InvalidInputException.prototype instanceof CodeStarConnectionsServiceException); +assert(LimitExceededException.prototype instanceof CodeStarConnectionsServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof CodeStarConnectionsServiceException); +assert(ResourceNotFoundException.prototype instanceof CodeStarConnectionsServiceException); +assert(ResourceUnavailableException.prototype instanceof CodeStarConnectionsServiceException); +assert(RetryLatestCommitFailedException.prototype instanceof CodeStarConnectionsServiceException); +assert(SyncBlockerDoesNotExistException.prototype instanceof CodeStarConnectionsServiceException); +assert(SyncConfigurationStillExistsException.prototype instanceof CodeStarConnectionsServiceException); +assert(ThrottlingException.prototype instanceof CodeStarConnectionsServiceException); +assert(UnsupportedOperationException.prototype instanceof CodeStarConnectionsServiceException); +assert(UnsupportedProviderTypeException.prototype instanceof CodeStarConnectionsServiceException); +assert(UpdateOutOfSyncException.prototype instanceof CodeStarConnectionsServiceException); assert(CodeStarConnectionsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListConnections === "function"); diff --git a/clients/client-codestar-connections/test/index-types.ts b/clients/client-codestar-connections/test/index-types.ts index 391867193cbb..dfe8839d2593 100644 --- a/clients/client-codestar-connections/test/index-types.ts +++ b/clients/client-codestar-connections/test/index-types.ts @@ -161,6 +161,23 @@ export type { UpdateSyncConfigurationInput, UpdateSyncConfigurationOutput, VpcConfiguration, + AccessDeniedException, + ConcurrentModificationException, + ConditionalCheckFailedException, + ConflictException, + InternalServerException, + InvalidInputException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ResourceUnavailableException, + RetryLatestCommitFailedException, + SyncBlockerDoesNotExistException, + SyncConfigurationStillExistsException, + ThrottlingException, + UnsupportedOperationException, + UnsupportedProviderTypeException, + UpdateOutOfSyncException, CodeStarConnectionsServiceException, paginateListConnections, paginateListHosts, diff --git a/clients/client-codestar-notifications/src/schemas/schemas_0.ts b/clients/client-codestar-notifications/src/schemas/schemas_0.ts index bdbb106abdf3..4d370c516f93 100644 --- a/clients/client-codestar-notifications/src/schemas/schemas_0.ts +++ b/clients/client-codestar-notifications/src/schemas/schemas_0.ts @@ -231,7 +231,6 @@ export var UpdateNotificationRuleRequest: StaticStructureSchema = [ export var UpdateNotificationRuleResult: StaticStructureSchema = [3, n0, _UNRRp, 0, [], []]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var CodestarNotificationsServiceException: StaticErrorSchema = [ -3, _s, diff --git a/clients/client-codestar-notifications/test/index-objects.spec.mjs b/clients/client-codestar-notifications/test/index-objects.spec.mjs index 8c5d0ce13f28..1ba274fda74e 100644 --- a/clients/client-codestar-notifications/test/index-objects.spec.mjs +++ b/clients/client-codestar-notifications/test/index-objects.spec.mjs @@ -1,12 +1,17 @@ import { + AccessDeniedException, CodestarNotifications, CodestarNotificationsClient, CodestarNotificationsServiceException, + ConcurrentModificationException, + ConfigurationException, CreateNotificationRuleCommand, DeleteNotificationRuleCommand, DeleteTargetCommand, DescribeNotificationRuleCommand, DetailType, + InvalidNextTokenException, + LimitExceededException, ListEventTypesCommand, ListEventTypesFilterName, ListNotificationRulesCommand, @@ -15,12 +20,15 @@ import { ListTargetsCommand, ListTargetsFilterName, NotificationRuleStatus, + ResourceAlreadyExistsException, + ResourceNotFoundException, SubscribeCommand, TagResourceCommand, TargetStatus, UnsubscribeCommand, UntagResourceCommand, UpdateNotificationRuleCommand, + ValidationException, paginateListEventTypes, paginateListNotificationRules, paginateListTargets, @@ -51,6 +59,14 @@ assert(typeof ListTargetsFilterName === "object"); assert(typeof NotificationRuleStatus === "object"); assert(typeof TargetStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof CodestarNotificationsServiceException); +assert(ConcurrentModificationException.prototype instanceof CodestarNotificationsServiceException); +assert(ConfigurationException.prototype instanceof CodestarNotificationsServiceException); +assert(InvalidNextTokenException.prototype instanceof CodestarNotificationsServiceException); +assert(LimitExceededException.prototype instanceof CodestarNotificationsServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof CodestarNotificationsServiceException); +assert(ResourceNotFoundException.prototype instanceof CodestarNotificationsServiceException); +assert(ValidationException.prototype instanceof CodestarNotificationsServiceException); assert(CodestarNotificationsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEventTypes === "function"); diff --git a/clients/client-codestar-notifications/test/index-types.ts b/clients/client-codestar-notifications/test/index-types.ts index d390d1f147ca..7fe830581cec 100644 --- a/clients/client-codestar-notifications/test/index-types.ts +++ b/clients/client-codestar-notifications/test/index-types.ts @@ -80,6 +80,14 @@ export type { UntagResourceResult, UpdateNotificationRuleRequest, UpdateNotificationRuleResult, + AccessDeniedException, + ConcurrentModificationException, + ConfigurationException, + InvalidNextTokenException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ValidationException, CodestarNotificationsServiceException, paginateListEventTypes, paginateListNotificationRules, diff --git a/clients/client-cognito-identity-provider/test/index-objects.spec.mjs b/clients/client-cognito-identity-provider/test/index-objects.spec.mjs index c0fdae05d891..02a121473bab 100644 --- a/clients/client-cognito-identity-provider/test/index-objects.spec.mjs +++ b/clients/client-cognito-identity-provider/test/index-objects.spec.mjs @@ -30,6 +30,7 @@ import { AdvancedSecurityEnabledModeType, AdvancedSecurityModeType, AliasAttributeType, + AliasExistsException, AssetCategoryType, AssetExtensionType, AssociateSoftwareTokenCommand, @@ -40,12 +41,15 @@ import { ChallengeNameType, ChallengeResponse, ChangePasswordCommand, + CodeDeliveryFailureException, + CodeMismatchException, CognitoIdentityProvider, CognitoIdentityProviderClient, CognitoIdentityProviderServiceException, ColorSchemeModeType, CompleteWebAuthnRegistrationCommand, CompromisedCredentialsEventActionType, + ConcurrentModificationException, ConfirmDeviceCommand, ConfirmForgotPasswordCommand, ConfirmSignUpCommand, @@ -84,16 +88,22 @@ import { DescribeUserPoolClientCommand, DescribeUserPoolCommand, DescribeUserPoolDomainCommand, + DeviceKeyExistsException, DeviceRememberedStatusType, DomainStatusType, + DuplicateProviderException, EmailSendingAccountType, + EnableSoftwareTokenMFAException, EventFilterType, EventResponseType, EventSourceName, EventType, + ExpiredCodeException, ExplicitAuthFlowsType, FeatureType, + FeatureUnavailableInTierException, FeedbackValueType, + ForbiddenException, ForgetDeviceCommand, ForgotPasswordCommand, GetCSVHeaderCommand, @@ -109,8 +119,19 @@ import { GetUserCommand, GetUserPoolMfaConfigCommand, GlobalSignOutCommand, + GroupExistsException, IdentityProviderTypeType, InitiateAuthCommand, + InternalErrorException, + InvalidEmailRoleAccessPolicyException, + InvalidLambdaResponseException, + InvalidOAuthFlowException, + InvalidParameterException, + InvalidPasswordException, + InvalidSmsRoleAccessPolicyException, + InvalidSmsRoleTrustRelationshipException, + InvalidUserPoolConfigurationException, + LimitExceededException, ListDevicesCommand, ListGroupsCommand, ListIdentityProvidersCommand, @@ -124,16 +145,25 @@ import { ListUsersInGroupCommand, ListWebAuthnCredentialsCommand, LogLevel, + MFAMethodNotFoundException, + ManagedLoginBrandingExistsException, MessageActionType, + NotAuthorizedException, OAuthFlowType, + PasswordHistoryPolicyViolationException, + PasswordResetRequiredException, PreTokenGenerationLambdaVersionType, + PreconditionNotMetException, PreventUserExistenceErrorTypes, RecoveryOptionNameType, + RefreshTokenReuseException, ResendConfirmationCodeCommand, + ResourceNotFoundException, RespondToAuthChallengeCommand, RevokeTokenCommand, RiskDecisionType, RiskLevelType, + ScopeDoesNotExistException, SetLogDeliveryConfigurationCommand, SetRiskConfigurationCommand, SetUICustomizationCommand, @@ -141,14 +171,25 @@ import { SetUserPoolMfaConfigCommand, SetUserSettingsCommand, SignUpCommand, + SoftwareTokenMFANotFoundException, StartUserImportJobCommand, StartWebAuthnRegistrationCommand, StatusType, StopUserImportJobCommand, TagResourceCommand, TermsEnforcementType, + TermsExistsException, TermsSourceType, + TierChangeNotAllowedException, TimeUnitsType, + TooManyFailedAttemptsException, + TooManyRequestsException, + UnauthorizedException, + UnexpectedLambdaException, + UnsupportedIdentityProviderException, + UnsupportedOperationException, + UnsupportedTokenTypeException, + UnsupportedUserStateException, UntagResourceCommand, UpdateAuthEventFeedbackCommand, UpdateDeviceStatusCommand, @@ -161,16 +202,30 @@ import { UpdateUserPoolClientCommand, UpdateUserPoolCommand, UpdateUserPoolDomainCommand, + UserImportInProgressException, UserImportJobStatusType, + UserLambdaValidationException, + UserNotConfirmedException, + UserNotFoundException, + UserPoolAddOnNotEnabledException, UserPoolMfaType, + UserPoolTaggingException, UserPoolTierType, UserStatusType, UserVerificationType, UsernameAttributeType, + UsernameExistsException, VerifiedAttributeType, VerifySoftwareTokenCommand, VerifySoftwareTokenResponseType, VerifyUserAttributeCommand, + WebAuthnChallengeNotFoundException, + WebAuthnClientMismatchException, + WebAuthnConfigurationMissingException, + WebAuthnCredentialNotSupportedException, + WebAuthnNotEnabledException, + WebAuthnOriginNotAllowedException, + WebAuthnRelyingPartyMismatchException, paginateAdminListGroupsForUser, paginateAdminListUserAuthEvents, paginateListGroups, @@ -357,6 +412,61 @@ assert(typeof UserVerificationType === "object"); assert(typeof VerifiedAttributeType === "object"); assert(typeof VerifySoftwareTokenResponseType === "object"); // errors +assert(AliasExistsException.prototype instanceof CognitoIdentityProviderServiceException); +assert(CodeDeliveryFailureException.prototype instanceof CognitoIdentityProviderServiceException); +assert(CodeMismatchException.prototype instanceof CognitoIdentityProviderServiceException); +assert(ConcurrentModificationException.prototype instanceof CognitoIdentityProviderServiceException); +assert(DeviceKeyExistsException.prototype instanceof CognitoIdentityProviderServiceException); +assert(DuplicateProviderException.prototype instanceof CognitoIdentityProviderServiceException); +assert(EnableSoftwareTokenMFAException.prototype instanceof CognitoIdentityProviderServiceException); +assert(ExpiredCodeException.prototype instanceof CognitoIdentityProviderServiceException); +assert(FeatureUnavailableInTierException.prototype instanceof CognitoIdentityProviderServiceException); +assert(ForbiddenException.prototype instanceof CognitoIdentityProviderServiceException); +assert(GroupExistsException.prototype instanceof CognitoIdentityProviderServiceException); +assert(InternalErrorException.prototype instanceof CognitoIdentityProviderServiceException); +assert(InvalidEmailRoleAccessPolicyException.prototype instanceof CognitoIdentityProviderServiceException); +assert(InvalidLambdaResponseException.prototype instanceof CognitoIdentityProviderServiceException); +assert(InvalidOAuthFlowException.prototype instanceof CognitoIdentityProviderServiceException); +assert(InvalidParameterException.prototype instanceof CognitoIdentityProviderServiceException); +assert(InvalidPasswordException.prototype instanceof CognitoIdentityProviderServiceException); +assert(InvalidSmsRoleAccessPolicyException.prototype instanceof CognitoIdentityProviderServiceException); +assert(InvalidSmsRoleTrustRelationshipException.prototype instanceof CognitoIdentityProviderServiceException); +assert(InvalidUserPoolConfigurationException.prototype instanceof CognitoIdentityProviderServiceException); +assert(LimitExceededException.prototype instanceof CognitoIdentityProviderServiceException); +assert(ManagedLoginBrandingExistsException.prototype instanceof CognitoIdentityProviderServiceException); +assert(MFAMethodNotFoundException.prototype instanceof CognitoIdentityProviderServiceException); +assert(NotAuthorizedException.prototype instanceof CognitoIdentityProviderServiceException); +assert(PasswordHistoryPolicyViolationException.prototype instanceof CognitoIdentityProviderServiceException); +assert(PasswordResetRequiredException.prototype instanceof CognitoIdentityProviderServiceException); +assert(PreconditionNotMetException.prototype instanceof CognitoIdentityProviderServiceException); +assert(RefreshTokenReuseException.prototype instanceof CognitoIdentityProviderServiceException); +assert(ResourceNotFoundException.prototype instanceof CognitoIdentityProviderServiceException); +assert(ScopeDoesNotExistException.prototype instanceof CognitoIdentityProviderServiceException); +assert(SoftwareTokenMFANotFoundException.prototype instanceof CognitoIdentityProviderServiceException); +assert(TermsExistsException.prototype instanceof CognitoIdentityProviderServiceException); +assert(TierChangeNotAllowedException.prototype instanceof CognitoIdentityProviderServiceException); +assert(TooManyFailedAttemptsException.prototype instanceof CognitoIdentityProviderServiceException); +assert(TooManyRequestsException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UnauthorizedException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UnexpectedLambdaException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UnsupportedIdentityProviderException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UnsupportedOperationException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UnsupportedTokenTypeException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UnsupportedUserStateException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UserImportInProgressException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UserLambdaValidationException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UsernameExistsException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UserNotConfirmedException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UserNotFoundException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UserPoolAddOnNotEnabledException.prototype instanceof CognitoIdentityProviderServiceException); +assert(UserPoolTaggingException.prototype instanceof CognitoIdentityProviderServiceException); +assert(WebAuthnChallengeNotFoundException.prototype instanceof CognitoIdentityProviderServiceException); +assert(WebAuthnClientMismatchException.prototype instanceof CognitoIdentityProviderServiceException); +assert(WebAuthnConfigurationMissingException.prototype instanceof CognitoIdentityProviderServiceException); +assert(WebAuthnCredentialNotSupportedException.prototype instanceof CognitoIdentityProviderServiceException); +assert(WebAuthnNotEnabledException.prototype instanceof CognitoIdentityProviderServiceException); +assert(WebAuthnOriginNotAllowedException.prototype instanceof CognitoIdentityProviderServiceException); +assert(WebAuthnRelyingPartyMismatchException.prototype instanceof CognitoIdentityProviderServiceException); assert(CognitoIdentityProviderServiceException.prototype instanceof Error); // paginators assert(typeof paginateAdminListGroupsForUser === "function"); diff --git a/clients/client-cognito-identity-provider/test/index-types.ts b/clients/client-cognito-identity-provider/test/index-types.ts index 152486088f47..3ffcbac4416a 100644 --- a/clients/client-cognito-identity-provider/test/index-types.ts +++ b/clients/client-cognito-identity-provider/test/index-types.ts @@ -716,6 +716,61 @@ export type { VerifyUserAttributeResponse, WebAuthnConfigurationType, WebAuthnCredentialDescription, + AliasExistsException, + CodeDeliveryFailureException, + CodeMismatchException, + ConcurrentModificationException, + DeviceKeyExistsException, + DuplicateProviderException, + EnableSoftwareTokenMFAException, + ExpiredCodeException, + FeatureUnavailableInTierException, + ForbiddenException, + GroupExistsException, + InternalErrorException, + InvalidEmailRoleAccessPolicyException, + InvalidLambdaResponseException, + InvalidOAuthFlowException, + InvalidParameterException, + InvalidPasswordException, + InvalidSmsRoleAccessPolicyException, + InvalidSmsRoleTrustRelationshipException, + InvalidUserPoolConfigurationException, + LimitExceededException, + ManagedLoginBrandingExistsException, + MFAMethodNotFoundException, + NotAuthorizedException, + PasswordHistoryPolicyViolationException, + PasswordResetRequiredException, + PreconditionNotMetException, + RefreshTokenReuseException, + ResourceNotFoundException, + ScopeDoesNotExistException, + SoftwareTokenMFANotFoundException, + TermsExistsException, + TierChangeNotAllowedException, + TooManyFailedAttemptsException, + TooManyRequestsException, + UnauthorizedException, + UnexpectedLambdaException, + UnsupportedIdentityProviderException, + UnsupportedOperationException, + UnsupportedTokenTypeException, + UnsupportedUserStateException, + UserImportInProgressException, + UserLambdaValidationException, + UsernameExistsException, + UserNotConfirmedException, + UserNotFoundException, + UserPoolAddOnNotEnabledException, + UserPoolTaggingException, + WebAuthnChallengeNotFoundException, + WebAuthnClientMismatchException, + WebAuthnConfigurationMissingException, + WebAuthnCredentialNotSupportedException, + WebAuthnNotEnabledException, + WebAuthnOriginNotAllowedException, + WebAuthnRelyingPartyMismatchException, CognitoIdentityProviderServiceException, paginateAdminListGroupsForUser, paginateAdminListUserAuthEvents, diff --git a/clients/client-cognito-identity/test/index-objects.spec.mjs b/clients/client-cognito-identity/test/index-objects.spec.mjs index bd6d619149d6..6c331653b183 100644 --- a/clients/client-cognito-identity/test/index-objects.spec.mjs +++ b/clients/client-cognito-identity/test/index-objects.spec.mjs @@ -3,28 +3,39 @@ import { CognitoIdentity, CognitoIdentityClient, CognitoIdentityServiceException, + ConcurrentModificationException, CreateIdentityPoolCommand, DeleteIdentitiesCommand, DeleteIdentityPoolCommand, DescribeIdentityCommand, DescribeIdentityPoolCommand, + DeveloperUserAlreadyRegisteredException, ErrorCode, + ExternalServiceException, GetCredentialsForIdentityCommand, GetIdCommand, GetIdentityPoolRolesCommand, GetOpenIdTokenCommand, GetOpenIdTokenForDeveloperIdentityCommand, GetPrincipalTagAttributeMapCommand, + InternalErrorException, + InvalidIdentityPoolConfigurationException, + InvalidParameterException, + LimitExceededException, ListIdentitiesCommand, ListIdentityPoolsCommand, ListTagsForResourceCommand, LookupDeveloperIdentityCommand, MappingRuleMatchType, MergeDeveloperIdentitiesCommand, + NotAuthorizedException, + ResourceConflictException, + ResourceNotFoundException, RoleMappingType, SetIdentityPoolRolesCommand, SetPrincipalTagAttributeMapCommand, TagResourceCommand, + TooManyRequestsException, UnlinkDeveloperIdentityCommand, UnlinkIdentityCommand, UntagResourceCommand, @@ -65,6 +76,17 @@ assert(typeof ErrorCode === "object"); assert(typeof MappingRuleMatchType === "object"); assert(typeof RoleMappingType === "object"); // errors +assert(ConcurrentModificationException.prototype instanceof CognitoIdentityServiceException); +assert(DeveloperUserAlreadyRegisteredException.prototype instanceof CognitoIdentityServiceException); +assert(ExternalServiceException.prototype instanceof CognitoIdentityServiceException); +assert(InternalErrorException.prototype instanceof CognitoIdentityServiceException); +assert(InvalidIdentityPoolConfigurationException.prototype instanceof CognitoIdentityServiceException); +assert(InvalidParameterException.prototype instanceof CognitoIdentityServiceException); +assert(LimitExceededException.prototype instanceof CognitoIdentityServiceException); +assert(NotAuthorizedException.prototype instanceof CognitoIdentityServiceException); +assert(ResourceConflictException.prototype instanceof CognitoIdentityServiceException); +assert(ResourceNotFoundException.prototype instanceof CognitoIdentityServiceException); +assert(TooManyRequestsException.prototype instanceof CognitoIdentityServiceException); assert(CognitoIdentityServiceException.prototype instanceof Error); // paginators assert(typeof paginateListIdentityPools === "function"); diff --git a/clients/client-cognito-identity/test/index-types.ts b/clients/client-cognito-identity/test/index-types.ts index 6b5da9efab77..546366bc129b 100644 --- a/clients/client-cognito-identity/test/index-types.ts +++ b/clients/client-cognito-identity/test/index-types.ts @@ -121,6 +121,17 @@ export type { UnprocessedIdentityId, UntagResourceInput, UntagResourceResponse, + ConcurrentModificationException, + DeveloperUserAlreadyRegisteredException, + ExternalServiceException, + InternalErrorException, + InvalidIdentityPoolConfigurationException, + InvalidParameterException, + LimitExceededException, + NotAuthorizedException, + ResourceConflictException, + ResourceNotFoundException, + TooManyRequestsException, CognitoIdentityServiceException, paginateListIdentityPools, } from "../dist-types/index.d"; diff --git a/clients/client-cognito-sync/test/index-objects.spec.mjs b/clients/client-cognito-sync/test/index-objects.spec.mjs index aba2d10cd1d5..b701bded6517 100644 --- a/clients/client-cognito-sync/test/index-objects.spec.mjs +++ b/clients/client-cognito-sync/test/index-objects.spec.mjs @@ -1,26 +1,39 @@ import { + AlreadyStreamedException, BulkPublishCommand, BulkPublishStatus, CognitoSync, CognitoSyncClient, CognitoSyncServiceException, + ConcurrentModificationException, DeleteDatasetCommand, DescribeDatasetCommand, DescribeIdentityPoolUsageCommand, DescribeIdentityUsageCommand, + DuplicateRequestException, GetBulkPublishDetailsCommand, GetCognitoEventsCommand, GetIdentityPoolConfigurationCommand, + InternalErrorException, + InvalidConfigurationException, + InvalidLambdaFunctionOutputException, + InvalidParameterException, + LambdaThrottledException, + LimitExceededException, ListDatasetsCommand, ListIdentityPoolUsageCommand, ListRecordsCommand, + NotAuthorizedException, Operation, Platform, RegisterDeviceCommand, + ResourceConflictException, + ResourceNotFoundException, SetCognitoEventsCommand, SetIdentityPoolConfigurationCommand, StreamingStatus, SubscribeToDatasetCommand, + TooManyRequestsException, UnsubscribeFromDatasetCommand, UpdateRecordsCommand, } from "../dist-cjs/index.js"; @@ -52,5 +65,18 @@ assert(typeof Operation === "object"); assert(typeof Platform === "object"); assert(typeof StreamingStatus === "object"); // errors +assert(AlreadyStreamedException.prototype instanceof CognitoSyncServiceException); +assert(ConcurrentModificationException.prototype instanceof CognitoSyncServiceException); +assert(DuplicateRequestException.prototype instanceof CognitoSyncServiceException); +assert(InternalErrorException.prototype instanceof CognitoSyncServiceException); +assert(InvalidConfigurationException.prototype instanceof CognitoSyncServiceException); +assert(InvalidLambdaFunctionOutputException.prototype instanceof CognitoSyncServiceException); +assert(InvalidParameterException.prototype instanceof CognitoSyncServiceException); +assert(LambdaThrottledException.prototype instanceof CognitoSyncServiceException); +assert(LimitExceededException.prototype instanceof CognitoSyncServiceException); +assert(NotAuthorizedException.prototype instanceof CognitoSyncServiceException); +assert(ResourceConflictException.prototype instanceof CognitoSyncServiceException); +assert(ResourceNotFoundException.prototype instanceof CognitoSyncServiceException); +assert(TooManyRequestsException.prototype instanceof CognitoSyncServiceException); assert(CognitoSyncServiceException.prototype instanceof Error); console.log(`CognitoSync index test passed.`); diff --git a/clients/client-cognito-sync/test/index-types.ts b/clients/client-cognito-sync/test/index-types.ts index 4704a8978380..2aecad9bc050 100644 --- a/clients/client-cognito-sync/test/index-types.ts +++ b/clients/client-cognito-sync/test/index-types.ts @@ -97,5 +97,18 @@ export type { UnsubscribeFromDatasetResponse, UpdateRecordsRequest, UpdateRecordsResponse, + AlreadyStreamedException, + ConcurrentModificationException, + DuplicateRequestException, + InternalErrorException, + InvalidConfigurationException, + InvalidLambdaFunctionOutputException, + InvalidParameterException, + LambdaThrottledException, + LimitExceededException, + NotAuthorizedException, + ResourceConflictException, + ResourceNotFoundException, + TooManyRequestsException, CognitoSyncServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-comprehend/src/schemas/schemas_0.ts b/clients/client-comprehend/src/schemas/schemas_0.ts index f8f7aeade991..5512dbbd738e 100644 --- a/clients/client-comprehend/src/schemas/schemas_0.ts +++ b/clients/client-comprehend/src/schemas/schemas_0.ts @@ -2045,7 +2045,6 @@ export var UpdateFlywheelRequest: StaticStructureSchema = [ export var UpdateFlywheelResponse: StaticStructureSchema = [3, n0, _UFRp, 0, [_FP], [() => FlywheelProperties]]; export var VpcConfig: StaticStructureSchema = [3, n0, _VC, 0, [_SGI, _Su], [64 | 0, 64 | 0]]; export var WarningsListItem: StaticStructureSchema = [3, n0, _WLI, 0, [_P, _WC, _WM], [1, 0, 0]]; -export var __Unit = "unit" as const; export var ComprehendServiceException: StaticErrorSchema = [-3, _sm, "ComprehendServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ComprehendServiceException, __ComprehendServiceException); export var AttributeNamesList = 64 | 0; diff --git a/clients/client-comprehend/test/index-objects.spec.mjs b/clients/client-comprehend/test/index-objects.spec.mjs index 16e979265c91..66d1c12917cc 100644 --- a/clients/client-comprehend/test/index-objects.spec.mjs +++ b/clients/client-comprehend/test/index-objects.spec.mjs @@ -6,11 +6,13 @@ import { BatchDetectSentimentCommand, BatchDetectSyntaxCommand, BatchDetectTargetedSentimentCommand, + BatchSizeLimitExceededException, BlockType, ClassifyDocumentCommand, Comprehend, ComprehendClient, ComprehendServiceException, + ConcurrentModificationException, ContainsPiiEntitiesCommand, CreateDatasetCommand, CreateDocumentClassifierCommand, @@ -63,7 +65,14 @@ import { FlywheelStatus, ImportModelCommand, InputFormat, + InternalServerException, + InvalidFilterException, + InvalidRequestDetailReason, + InvalidRequestException, + InvalidRequestReason, + JobNotFoundException, JobStatus, + KmsKeyValidationException, LanguageCode, ListDatasetsCommand, ListDocumentClassificationJobsCommand, @@ -93,6 +102,10 @@ import { PiiEntityType, PutResourcePolicyCommand, RelationshipType, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourceUnavailableException, SentimentType, Split, StartDocumentClassificationJobCommand, @@ -117,7 +130,12 @@ import { SyntaxLanguageCode, TagResourceCommand, TargetedSentimentEntityType, + TextSizeLimitExceededException, + TooManyRequestsException, + TooManyTagKeysException, + TooManyTagsException, ToxicContentType, + UnsupportedLanguageException, UntagResourceCommand, UpdateEndpointCommand, UpdateFlywheelCommand, @@ -248,6 +266,8 @@ assert(typeof EntityType === "object"); assert(typeof FlywheelIterationStatus === "object"); assert(typeof FlywheelStatus === "object"); assert(typeof InputFormat === "object"); +assert(typeof InvalidRequestDetailReason === "object"); +assert(typeof InvalidRequestReason === "object"); assert(typeof JobStatus === "object"); assert(typeof LanguageCode === "object"); assert(typeof ModelStatus === "object"); @@ -265,6 +285,22 @@ assert(typeof SyntaxLanguageCode === "object"); assert(typeof TargetedSentimentEntityType === "object"); assert(typeof ToxicContentType === "object"); // errors +assert(BatchSizeLimitExceededException.prototype instanceof ComprehendServiceException); +assert(ConcurrentModificationException.prototype instanceof ComprehendServiceException); +assert(InternalServerException.prototype instanceof ComprehendServiceException); +assert(InvalidFilterException.prototype instanceof ComprehendServiceException); +assert(InvalidRequestException.prototype instanceof ComprehendServiceException); +assert(JobNotFoundException.prototype instanceof ComprehendServiceException); +assert(KmsKeyValidationException.prototype instanceof ComprehendServiceException); +assert(ResourceInUseException.prototype instanceof ComprehendServiceException); +assert(ResourceLimitExceededException.prototype instanceof ComprehendServiceException); +assert(ResourceNotFoundException.prototype instanceof ComprehendServiceException); +assert(ResourceUnavailableException.prototype instanceof ComprehendServiceException); +assert(TextSizeLimitExceededException.prototype instanceof ComprehendServiceException); +assert(TooManyRequestsException.prototype instanceof ComprehendServiceException); +assert(TooManyTagKeysException.prototype instanceof ComprehendServiceException); +assert(TooManyTagsException.prototype instanceof ComprehendServiceException); +assert(UnsupportedLanguageException.prototype instanceof ComprehendServiceException); assert(ComprehendServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDatasets === "function"); diff --git a/clients/client-comprehend/test/index-types.ts b/clients/client-comprehend/test/index-types.ts index a3835caf3d1c..b6e1af036598 100644 --- a/clients/client-comprehend/test/index-types.ts +++ b/clients/client-comprehend/test/index-types.ts @@ -275,6 +275,8 @@ export type { FlywheelIterationStatus, FlywheelStatus, InputFormat, + InvalidRequestDetailReason, + InvalidRequestReason, JobStatus, LanguageCode, ModelStatus, @@ -450,6 +452,7 @@ export type { ImportModelRequest, ImportModelResponse, InputDataConfig, + InvalidRequestDetail, KeyPhrase, KeyPhrasesDetectionJobFilter, KeyPhrasesDetectionJobProperties, @@ -565,6 +568,22 @@ export type { UpdateFlywheelResponse, VpcConfig, WarningsListItem, + BatchSizeLimitExceededException, + ConcurrentModificationException, + InternalServerException, + InvalidFilterException, + InvalidRequestException, + JobNotFoundException, + KmsKeyValidationException, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourceUnavailableException, + TextSizeLimitExceededException, + TooManyRequestsException, + TooManyTagKeysException, + TooManyTagsException, + UnsupportedLanguageException, ComprehendServiceException, paginateListDatasets, paginateListDocumentClassificationJobs, diff --git a/clients/client-comprehendmedical/src/schemas/schemas_0.ts b/clients/client-comprehendmedical/src/schemas/schemas_0.ts index 14fff37d2362..f0efb0783f27 100644 --- a/clients/client-comprehendmedical/src/schemas/schemas_0.ts +++ b/clients/client-comprehendmedical/src/schemas/schemas_0.ts @@ -526,7 +526,6 @@ export var Trait: StaticStructureSchema = [3, n0, _Tra, 0, [_N, _S], [0, 1]]; export var UnmappedAttribute: StaticStructureSchema = [3, n0, _UAn, 0, [_T, _A], [0, () => Attribute]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var ComprehendMedicalServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-comprehendmedical/test/index-objects.spec.mjs b/clients/client-comprehendmedical/test/index-objects.spec.mjs index 84c90f467db3..d83590940c3c 100644 --- a/clients/client-comprehendmedical/test/index-objects.spec.mjs +++ b/clients/client-comprehendmedical/test/index-objects.spec.mjs @@ -21,6 +21,9 @@ import { InferICD10CMCommand, InferRxNormCommand, InferSNOMEDCTCommand, + InternalServerException, + InvalidEncodingException, + InvalidRequestException, JobStatus, LanguageCode, ListEntitiesDetectionV2JobsCommand, @@ -29,6 +32,7 @@ import { ListRxNormInferenceJobsCommand, ListSNOMEDCTInferenceJobsCommand, RelationshipType, + ResourceNotFoundException, RxNormAttributeType, RxNormEntityCategory, RxNormEntityType, @@ -38,6 +42,7 @@ import { SNOMEDCTEntityType, SNOMEDCTRelationshipType, SNOMEDCTTraitName, + ServiceUnavailableException, StartEntitiesDetectionV2JobCommand, StartICD10CMInferenceJobCommand, StartPHIDetectionJobCommand, @@ -48,6 +53,9 @@ import { StopPHIDetectionJobCommand, StopRxNormInferenceJobCommand, StopSNOMEDCTInferenceJobCommand, + TextSizeLimitExceededException, + TooManyRequestsException, + ValidationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -102,5 +110,13 @@ assert(typeof SNOMEDCTEntityType === "object"); assert(typeof SNOMEDCTRelationshipType === "object"); assert(typeof SNOMEDCTTraitName === "object"); // errors +assert(InternalServerException.prototype instanceof ComprehendMedicalServiceException); +assert(InvalidEncodingException.prototype instanceof ComprehendMedicalServiceException); +assert(InvalidRequestException.prototype instanceof ComprehendMedicalServiceException); +assert(ResourceNotFoundException.prototype instanceof ComprehendMedicalServiceException); +assert(ServiceUnavailableException.prototype instanceof ComprehendMedicalServiceException); +assert(TextSizeLimitExceededException.prototype instanceof ComprehendMedicalServiceException); +assert(TooManyRequestsException.prototype instanceof ComprehendMedicalServiceException); +assert(ValidationException.prototype instanceof ComprehendMedicalServiceException); assert(ComprehendMedicalServiceException.prototype instanceof Error); console.log(`ComprehendMedical index test passed.`); diff --git a/clients/client-comprehendmedical/test/index-types.ts b/clients/client-comprehendmedical/test/index-types.ts index b4bf0a530059..9e6a2761caa8 100644 --- a/clients/client-comprehendmedical/test/index-types.ts +++ b/clients/client-comprehendmedical/test/index-types.ts @@ -174,5 +174,13 @@ export type { StopSNOMEDCTInferenceJobResponse, Trait, UnmappedAttribute, + InternalServerException, + InvalidEncodingException, + InvalidRequestException, + ResourceNotFoundException, + ServiceUnavailableException, + TextSizeLimitExceededException, + TooManyRequestsException, + ValidationException, ComprehendMedicalServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-compute-optimizer-automation/src/schemas/schemas_0.ts b/clients/client-compute-optimizer-automation/src/schemas/schemas_0.ts index c5898e1442f0..d9d18f9c2825 100644 --- a/clients/client-compute-optimizer-automation/src/schemas/schemas_0.ts +++ b/clients/client-compute-optimizer-automation/src/schemas/schemas_0.ts @@ -640,7 +640,6 @@ export var UpdateEnrollmentConfigurationResponse: StaticStructureSchema = [ [_s, _sR, _lUT], [0, 0, 4], ]; -export var __Unit = "unit" as const; export var ComputeOptimizerAutomationServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-compute-optimizer-automation/test/index-objects.spec.mjs b/clients/client-compute-optimizer-automation/test/index-objects.spec.mjs index e5c1f5887859..c8ea33d936d2 100644 --- a/clients/client-compute-optimizer-automation/test/index-objects.spec.mjs +++ b/clients/client-compute-optimizer-automation/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AssociateAccountsCommand, AutomationEventFilterName, AutomationRuleFilterName, @@ -12,9 +13,14 @@ import { EnrollmentStatus, EventStatus, EventType, + ForbiddenException, GetAutomationEventCommand, GetAutomationRuleCommand, GetEnrollmentConfigurationCommand, + IdempotencyTokenInUseException, + IdempotentParameterMismatchException, + InternalServerException, + InvalidParameterValueException, ListAccountsCommand, ListAutomationEventStepsCommand, ListAutomationEventSummariesCommand, @@ -25,20 +31,26 @@ import { ListRecommendedActionSummariesCommand, ListRecommendedActionsCommand, ListTagsForResourceCommand, + NotManagementAccountException, + OptInRequiredException, OrganizationRuleMode, RecommendedActionFilterName, RecommendedActionType, + ResourceNotFoundException, ResourceType, RollbackAutomationEventCommand, RuleApplyOrder, RuleStatus, RuleType, SavingsEstimationMode, + ServiceQuotaExceededException, + ServiceUnavailableException, StartAutomationEventCommand, StepStatus, StepType, SummaryDimensionKey, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateAutomationRuleCommand, UpdateEnrollmentConfigurationCommand, @@ -99,6 +111,18 @@ assert(typeof StepStatus === "object"); assert(typeof StepType === "object"); assert(typeof SummaryDimensionKey === "object"); // errors +assert(AccessDeniedException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(ForbiddenException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(IdempotencyTokenInUseException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(IdempotentParameterMismatchException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(InternalServerException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(InvalidParameterValueException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(NotManagementAccountException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(OptInRequiredException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(ResourceNotFoundException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(ServiceUnavailableException.prototype instanceof ComputeOptimizerAutomationServiceException); +assert(ThrottlingException.prototype instanceof ComputeOptimizerAutomationServiceException); assert(ComputeOptimizerAutomationServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccounts === "function"); diff --git a/clients/client-compute-optimizer-automation/test/index-types.ts b/clients/client-compute-optimizer-automation/test/index-types.ts index 1a837f07bc3a..291f8c40e2a5 100644 --- a/clients/client-compute-optimizer-automation/test/index-types.ts +++ b/clients/client-compute-optimizer-automation/test/index-types.ts @@ -164,6 +164,18 @@ export type { UpdateAutomationRuleResponse, UpdateEnrollmentConfigurationRequest, UpdateEnrollmentConfigurationResponse, + AccessDeniedException, + ForbiddenException, + IdempotencyTokenInUseException, + IdempotentParameterMismatchException, + InternalServerException, + InvalidParameterValueException, + NotManagementAccountException, + OptInRequiredException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, + ThrottlingException, ComputeOptimizerAutomationServiceException, paginateListAccounts, paginateListAutomationEventSteps, diff --git a/clients/client-compute-optimizer/src/schemas/schemas_0.ts b/clients/client-compute-optimizer/src/schemas/schemas_0.ts index c051c0e9781a..8a3f2401aef5 100644 --- a/clients/client-compute-optimizer/src/schemas/schemas_0.ts +++ b/clients/client-compute-optimizer/src/schemas/schemas_0.ts @@ -1565,7 +1565,6 @@ export var VolumeRecommendationOption: StaticStructureSchema = [ [_co, _pR, _r, _sO, _sOAD], [() => VolumeConfiguration, 1, 1, () => SavingsOpportunity, () => EBSSavingsOpportunityAfterDiscounts], ]; -export var __Unit = "unit" as const; export var ComputeOptimizerServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-compute-optimizer/test/index-objects.spec.mjs b/clients/client-compute-optimizer/test/index-objects.spec.mjs index 63d6c7988280..c8fde44f993f 100644 --- a/clients/client-compute-optimizer/test/index-objects.spec.mjs +++ b/clients/client-compute-optimizer/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AllocationStrategy, AsgType, AutoScalingConfiguration, @@ -76,6 +77,8 @@ import { InstanceRecommendationFindingReasonCode, InstanceSavingsEstimationModeSource, InstanceState, + InternalServerException, + InvalidParameterValueException, JobFilterName, JobStatus, LambdaFunctionMemoryMetricName, @@ -92,11 +95,14 @@ import { LicenseModel, LicenseName, LicenseRecommendationFilterName, + LimitExceededException, LookBackPeriodPreference, MetricName, MetricSourceProvider, MetricStatistic, MigrationEffort, + MissingAuthenticationToken, + OptInRequiredException, Order, PlatformDifference, PreferredResourceName, @@ -113,10 +119,13 @@ import { RDSStorageFindingReasonCode, RecommendationPreferenceName, RecommendationSourceType, + ResourceNotFoundException, ResourceType, SavingsEstimationMode, ScopeName, + ServiceUnavailableException, Status, + ThrottlingException, UpdateEnrollmentStatusCommand, paginateDescribeRecommendationExportJobs, paginateGetEnrollmentStatusesForOrganization, @@ -247,6 +256,15 @@ assert(typeof SavingsEstimationMode === "object"); assert(typeof ScopeName === "object"); assert(typeof Status === "object"); // errors +assert(AccessDeniedException.prototype instanceof ComputeOptimizerServiceException); +assert(InternalServerException.prototype instanceof ComputeOptimizerServiceException); +assert(InvalidParameterValueException.prototype instanceof ComputeOptimizerServiceException); +assert(LimitExceededException.prototype instanceof ComputeOptimizerServiceException); +assert(MissingAuthenticationToken.prototype instanceof ComputeOptimizerServiceException); +assert(OptInRequiredException.prototype instanceof ComputeOptimizerServiceException); +assert(ResourceNotFoundException.prototype instanceof ComputeOptimizerServiceException); +assert(ServiceUnavailableException.prototype instanceof ComputeOptimizerServiceException); +assert(ThrottlingException.prototype instanceof ComputeOptimizerServiceException); assert(ComputeOptimizerServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeRecommendationExportJobs === "function"); diff --git a/clients/client-compute-optimizer/test/index-types.ts b/clients/client-compute-optimizer/test/index-types.ts index b55c6c5d611c..b7aa18da8bbb 100644 --- a/clients/client-compute-optimizer/test/index-types.ts +++ b/clients/client-compute-optimizer/test/index-types.ts @@ -334,6 +334,15 @@ export type { VolumeConfiguration, VolumeRecommendation, VolumeRecommendationOption, + AccessDeniedException, + InternalServerException, + InvalidParameterValueException, + LimitExceededException, + MissingAuthenticationToken, + OptInRequiredException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, ComputeOptimizerServiceException, paginateDescribeRecommendationExportJobs, paginateGetEnrollmentStatusesForOrganization, diff --git a/clients/client-config-service/test/index-objects.spec.mjs b/clients/client-config-service/test/index-objects.spec.mjs index 84ad92df53ac..ad5c4e0ea337 100644 --- a/clients/client-config-service/test/index-objects.spec.mjs +++ b/clients/client-config-service/test/index-objects.spec.mjs @@ -15,8 +15,10 @@ import { ConfigServiceServiceException, ConfigurationItemStatus, ConfigurationRecorderFilterName, + ConflictException, ConformancePackComplianceType, ConformancePackState, + ConformancePackTemplateValidationException, DeleteAggregationAuthorizationCommand, DeleteConfigRuleCommand, DeleteConfigurationAggregatorCommand, @@ -82,6 +84,24 @@ import { GetResourceConfigHistoryCommand, GetResourceEvaluationSummaryCommand, GetStoredQueryCommand, + IdempotentParameterMismatch, + InsufficientDeliveryPolicyException, + InsufficientPermissionsException, + InvalidConfigurationRecorderNameException, + InvalidDeliveryChannelNameException, + InvalidExpressionException, + InvalidLimitException, + InvalidNextTokenException, + InvalidParameterValueException, + InvalidRecordingGroupException, + InvalidResultTokenException, + InvalidRoleException, + InvalidS3KeyPrefixException, + InvalidS3KmsKeyArnException, + InvalidSNSTopicARNException, + InvalidTimeRangeException, + LastDeliveryChannelDeleteFailedException, + LimitExceededException, ListAggregateDiscoveredResourcesCommand, ListConfigurationRecordersCommand, ListConformancePackComplianceScoresCommand, @@ -89,14 +109,42 @@ import { ListResourceEvaluationsCommand, ListStoredQueriesCommand, ListTagsForResourceCommand, + MaxActiveResourcesExceededException, + MaxNumberOfConfigRulesExceededException, + MaxNumberOfConfigurationRecordersExceededException, + MaxNumberOfConformancePacksExceededException, + MaxNumberOfDeliveryChannelsExceededException, + MaxNumberOfOrganizationConfigRulesExceededException, + MaxNumberOfOrganizationConformancePacksExceededException, + MaxNumberOfRetentionConfigurationsExceededException, MaximumExecutionFrequency, MemberAccountRuleStatus, MessageType, + NoAvailableConfigurationRecorderException, + NoAvailableDeliveryChannelException, + NoAvailableOrganizationException, + NoRunningConfigurationRecorderException, + NoSuchBucketException, + NoSuchConfigRuleException, + NoSuchConfigRuleInConformancePackException, + NoSuchConfigurationAggregatorException, + NoSuchConfigurationRecorderException, + NoSuchConformancePackException, + NoSuchDeliveryChannelException, + NoSuchOrganizationConfigRuleException, + NoSuchOrganizationConformancePackException, + NoSuchRemediationConfigurationException, + NoSuchRemediationExceptionException, + NoSuchRetentionConfigurationException, + OrganizationAccessDeniedException, + OrganizationAllFeaturesNotEnabledException, OrganizationConfigRuleTriggerType, OrganizationConfigRuleTriggerTypeNoSN, + OrganizationConformancePackTemplateValidationException, OrganizationResourceDetailedStatus, OrganizationResourceStatus, OrganizationRuleStatus, + OversizedConfigurationItemException, Owner, PutAggregationAuthorizationCommand, PutConfigRuleCommand, @@ -120,10 +168,15 @@ import { RecordingStrategyType, RemediationExecutionState, RemediationExecutionStepState, + RemediationInProgressException, RemediationTargetType, + ResourceConcurrentModificationException, ResourceConfigurationSchemaType, ResourceCountGroupKey, ResourceEvaluationStatus, + ResourceInUseException, + ResourceNotDiscoveredException, + ResourceNotFoundException, ResourceType, ResourceValueType, SelectAggregateResourceConfigCommand, @@ -136,7 +189,10 @@ import { StartResourceEvaluationCommand, StopConfigurationRecorderCommand, TagResourceCommand, + TooManyTagsException, + UnmodifiableEntityException, UntagResourceCommand, + ValidationException, paginateDescribeAggregateComplianceByConfigRules, paginateDescribeAggregateComplianceByConformancePacks, paginateDescribeAggregationAuthorizations, @@ -321,6 +377,62 @@ assert(typeof ResourceValueType === "object"); assert(typeof SortBy === "object"); assert(typeof SortOrder === "object"); // errors +assert(ConflictException.prototype instanceof ConfigServiceServiceException); +assert(ConformancePackTemplateValidationException.prototype instanceof ConfigServiceServiceException); +assert(IdempotentParameterMismatch.prototype instanceof ConfigServiceServiceException); +assert(InsufficientDeliveryPolicyException.prototype instanceof ConfigServiceServiceException); +assert(InsufficientPermissionsException.prototype instanceof ConfigServiceServiceException); +assert(InvalidConfigurationRecorderNameException.prototype instanceof ConfigServiceServiceException); +assert(InvalidDeliveryChannelNameException.prototype instanceof ConfigServiceServiceException); +assert(InvalidExpressionException.prototype instanceof ConfigServiceServiceException); +assert(InvalidLimitException.prototype instanceof ConfigServiceServiceException); +assert(InvalidNextTokenException.prototype instanceof ConfigServiceServiceException); +assert(InvalidParameterValueException.prototype instanceof ConfigServiceServiceException); +assert(InvalidRecordingGroupException.prototype instanceof ConfigServiceServiceException); +assert(InvalidResultTokenException.prototype instanceof ConfigServiceServiceException); +assert(InvalidRoleException.prototype instanceof ConfigServiceServiceException); +assert(InvalidS3KeyPrefixException.prototype instanceof ConfigServiceServiceException); +assert(InvalidS3KmsKeyArnException.prototype instanceof ConfigServiceServiceException); +assert(InvalidSNSTopicARNException.prototype instanceof ConfigServiceServiceException); +assert(InvalidTimeRangeException.prototype instanceof ConfigServiceServiceException); +assert(LastDeliveryChannelDeleteFailedException.prototype instanceof ConfigServiceServiceException); +assert(LimitExceededException.prototype instanceof ConfigServiceServiceException); +assert(MaxActiveResourcesExceededException.prototype instanceof ConfigServiceServiceException); +assert(MaxNumberOfConfigRulesExceededException.prototype instanceof ConfigServiceServiceException); +assert(MaxNumberOfConfigurationRecordersExceededException.prototype instanceof ConfigServiceServiceException); +assert(MaxNumberOfConformancePacksExceededException.prototype instanceof ConfigServiceServiceException); +assert(MaxNumberOfDeliveryChannelsExceededException.prototype instanceof ConfigServiceServiceException); +assert(MaxNumberOfOrganizationConfigRulesExceededException.prototype instanceof ConfigServiceServiceException); +assert(MaxNumberOfOrganizationConformancePacksExceededException.prototype instanceof ConfigServiceServiceException); +assert(MaxNumberOfRetentionConfigurationsExceededException.prototype instanceof ConfigServiceServiceException); +assert(NoAvailableConfigurationRecorderException.prototype instanceof ConfigServiceServiceException); +assert(NoAvailableDeliveryChannelException.prototype instanceof ConfigServiceServiceException); +assert(NoAvailableOrganizationException.prototype instanceof ConfigServiceServiceException); +assert(NoRunningConfigurationRecorderException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchBucketException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchConfigRuleException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchConfigRuleInConformancePackException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchConfigurationAggregatorException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchConfigurationRecorderException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchConformancePackException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchDeliveryChannelException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchOrganizationConfigRuleException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchOrganizationConformancePackException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchRemediationConfigurationException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchRemediationExceptionException.prototype instanceof ConfigServiceServiceException); +assert(NoSuchRetentionConfigurationException.prototype instanceof ConfigServiceServiceException); +assert(OrganizationAccessDeniedException.prototype instanceof ConfigServiceServiceException); +assert(OrganizationAllFeaturesNotEnabledException.prototype instanceof ConfigServiceServiceException); +assert(OrganizationConformancePackTemplateValidationException.prototype instanceof ConfigServiceServiceException); +assert(OversizedConfigurationItemException.prototype instanceof ConfigServiceServiceException); +assert(RemediationInProgressException.prototype instanceof ConfigServiceServiceException); +assert(ResourceConcurrentModificationException.prototype instanceof ConfigServiceServiceException); +assert(ResourceInUseException.prototype instanceof ConfigServiceServiceException); +assert(ResourceNotDiscoveredException.prototype instanceof ConfigServiceServiceException); +assert(ResourceNotFoundException.prototype instanceof ConfigServiceServiceException); +assert(TooManyTagsException.prototype instanceof ConfigServiceServiceException); +assert(UnmodifiableEntityException.prototype instanceof ConfigServiceServiceException); +assert(ValidationException.prototype instanceof ConfigServiceServiceException); assert(ConfigServiceServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeAggregateComplianceByConfigRules === "function"); diff --git a/clients/client-config-service/test/index-types.ts b/clients/client-config-service/test/index-types.ts index c96387266df1..ffae8cd05f40 100644 --- a/clients/client-config-service/test/index-types.ts +++ b/clients/client-config-service/test/index-types.ts @@ -616,6 +616,62 @@ export type { TemplateSSMDocumentDetails, TimeWindow, UntagResourceRequest, + ConflictException, + ConformancePackTemplateValidationException, + IdempotentParameterMismatch, + InsufficientDeliveryPolicyException, + InsufficientPermissionsException, + InvalidConfigurationRecorderNameException, + InvalidDeliveryChannelNameException, + InvalidExpressionException, + InvalidLimitException, + InvalidNextTokenException, + InvalidParameterValueException, + InvalidRecordingGroupException, + InvalidResultTokenException, + InvalidRoleException, + InvalidS3KeyPrefixException, + InvalidS3KmsKeyArnException, + InvalidSNSTopicARNException, + InvalidTimeRangeException, + LastDeliveryChannelDeleteFailedException, + LimitExceededException, + MaxActiveResourcesExceededException, + MaxNumberOfConfigRulesExceededException, + MaxNumberOfConfigurationRecordersExceededException, + MaxNumberOfConformancePacksExceededException, + MaxNumberOfDeliveryChannelsExceededException, + MaxNumberOfOrganizationConfigRulesExceededException, + MaxNumberOfOrganizationConformancePacksExceededException, + MaxNumberOfRetentionConfigurationsExceededException, + NoAvailableConfigurationRecorderException, + NoAvailableDeliveryChannelException, + NoAvailableOrganizationException, + NoRunningConfigurationRecorderException, + NoSuchBucketException, + NoSuchConfigRuleException, + NoSuchConfigRuleInConformancePackException, + NoSuchConfigurationAggregatorException, + NoSuchConfigurationRecorderException, + NoSuchConformancePackException, + NoSuchDeliveryChannelException, + NoSuchOrganizationConfigRuleException, + NoSuchOrganizationConformancePackException, + NoSuchRemediationConfigurationException, + NoSuchRemediationExceptionException, + NoSuchRetentionConfigurationException, + OrganizationAccessDeniedException, + OrganizationAllFeaturesNotEnabledException, + OrganizationConformancePackTemplateValidationException, + OversizedConfigurationItemException, + RemediationInProgressException, + ResourceConcurrentModificationException, + ResourceInUseException, + ResourceNotDiscoveredException, + ResourceNotFoundException, + TooManyTagsException, + UnmodifiableEntityException, + ValidationException, ConfigServiceServiceException, paginateDescribeAggregateComplianceByConfigRules, paginateDescribeAggregateComplianceByConformancePacks, diff --git a/clients/client-connect-contact-lens/src/schemas/schemas_0.ts b/clients/client-connect-contact-lens/src/schemas/schemas_0.ts index 0a6190316cc9..3a23ad81e40a 100644 --- a/clients/client-connect-contact-lens/src/schemas/schemas_0.ts +++ b/clients/client-connect-contact-lens/src/schemas/schemas_0.ts @@ -112,7 +112,6 @@ export var Transcript: StaticStructureSchema = [ [_I, _PI, _PR, _Co, _BOM, _EOM, _Se, _IDs], [0, 0, 0, 0, 1, 1, 0, () => IssuesDetected], ]; -export var __Unit = "unit" as const; export var ConnectContactLensServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-connect-contact-lens/test/index-objects.spec.mjs b/clients/client-connect-contact-lens/test/index-objects.spec.mjs index f9168dff8ec1..16731fca0edb 100644 --- a/clients/client-connect-contact-lens/test/index-objects.spec.mjs +++ b/clients/client-connect-contact-lens/test/index-objects.spec.mjs @@ -1,11 +1,16 @@ import { + AccessDeniedException, ConnectContactLens, ConnectContactLensClient, ConnectContactLensServiceException, + InternalServiceException, + InvalidRequestException, ListRealtimeContactAnalysisSegmentsCommand, PostContactSummaryFailureCode, PostContactSummaryStatus, + ResourceNotFoundException, SentimentValue, + ThrottlingException, paginateListRealtimeContactAnalysisSegments, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -19,6 +24,11 @@ assert(typeof PostContactSummaryFailureCode === "object"); assert(typeof PostContactSummaryStatus === "object"); assert(typeof SentimentValue === "object"); // errors +assert(AccessDeniedException.prototype instanceof ConnectContactLensServiceException); +assert(InternalServiceException.prototype instanceof ConnectContactLensServiceException); +assert(InvalidRequestException.prototype instanceof ConnectContactLensServiceException); +assert(ResourceNotFoundException.prototype instanceof ConnectContactLensServiceException); +assert(ThrottlingException.prototype instanceof ConnectContactLensServiceException); assert(ConnectContactLensServiceException.prototype instanceof Error); // paginators assert(typeof paginateListRealtimeContactAnalysisSegments === "function"); diff --git a/clients/client-connect-contact-lens/test/index-types.ts b/clients/client-connect-contact-lens/test/index-types.ts index 3301b396eb6f..538e8cbabec2 100644 --- a/clients/client-connect-contact-lens/test/index-types.ts +++ b/clients/client-connect-contact-lens/test/index-types.ts @@ -18,6 +18,11 @@ export type { PostContactSummary, RealtimeContactAnalysisSegment, Transcript, + AccessDeniedException, + InternalServiceException, + InvalidRequestException, + ResourceNotFoundException, + ThrottlingException, ConnectContactLensServiceException, paginateListRealtimeContactAnalysisSegments, } from "../dist-types/index.d"; diff --git a/clients/client-connect/test/index-objects.spec.mjs b/clients/client-connect/test/index-objects.spec.mjs index 9bf8ee1b0958..e59cfdfb631d 100644 --- a/clients/client-connect/test/index-objects.spec.mjs +++ b/clients/client-connect/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AccessType, ActionType, ActivateEvaluationFormCommand, @@ -28,6 +29,8 @@ import { AssociateTrafficDistributionGroupUserCommand, AssociateUserProficienciesCommand, AssociateWorkspaceCommand, + AttachedFileInvalidRequestExceptionReason, + AttachedFileServiceQuotaExceededExceptionReason, AutoEvaluationStatus, BatchAssociateAnalyticsDataSetCommand, BatchCreateDataTableValueCommand, @@ -45,11 +48,14 @@ import { ClaimPhoneNumberCommand, Comparison, CompleteAttachedFileUploadCommand, + ConditionalOperationFailedException, + ConflictException, Connect, ConnectClient, ConnectServiceException, ContactFlowModuleState, ContactFlowModuleStatus, + ContactFlowNotPublishedException, ContactFlowState, ContactFlowStatus, ContactFlowType, @@ -57,6 +63,7 @@ import { ContactInteractionType, ContactMediaProcessingFailureMode, ContactMetricName, + ContactNotFoundException, ContactParticipantRole, ContactRecordingType, ContactState, @@ -168,6 +175,7 @@ import { DescribeViewCommand, DescribeVocabularyCommand, DescribeWorkspaceCommand, + DestinationNotAllowedException, DeviceType, DirectoryType, DisassociateAnalyticsDataSetCommand, @@ -187,6 +195,7 @@ import { DisassociateUserProficienciesCommand, DisassociateWorkspaceCommand, DismissUserContactCommand, + DuplicateResourceException, EmailHeaderType, EncryptionType, EndpointType, @@ -234,6 +243,7 @@ import { HierarchyGroupMatchType, HistoricalMetricName, HoursOfOperationDays, + IdempotencyException, ImportPhoneNumberCommand, ImportWorkspaceMediaCommand, InboundMessageSourceType, @@ -243,9 +253,15 @@ import { InstanceStatus, InstanceStorageResourceType, IntegrationType, + InternalServiceException, IntervalPeriod, + InvalidContactFlowException, + InvalidContactFlowModuleException, + InvalidParameterException, + InvalidRequestException, IvrRecordingTrack, LexVersion, + LimitExceededException, ListAgentStatusesCommand, ListAnalyticsDataAssociationsCommand, ListAnalyticsDataLakeDataSetsCommand, @@ -308,6 +324,7 @@ import { ListWorkspaceMediaCommand, ListWorkspacePagesCommand, ListWorkspacesCommand, + MaximumResultReturnedException, MediaStreamType, MediaType, MeetingFeatureStatus, @@ -319,8 +336,10 @@ import { NotificationDeliveryType, NumberComparisonType, NumericQuestionPropertyAutomationLabel, + OutboundContactNotPermittedException, OutboundMessageSourceType, OutboundStrategyType, + OutputTypeNotFoundException, OverrideDays, ParticipantRole, ParticipantState, @@ -332,6 +351,8 @@ import { PhoneNumberType, PhoneNumberWorkflowStatus, PhoneType, + PropertyValidationException, + PropertyValidationExceptionReason, PutUserStatusCommand, QuestionRuleCategoryAutomationCondition, QueueStatus, @@ -350,6 +371,11 @@ import { RehydrationType, ReleasePhoneNumberCommand, ReplicateInstanceCommand, + ResourceConflictException, + ResourceInUseException, + ResourceNotFoundException, + ResourceNotReadyException, + ResourceType, ResponseMode, ResumeContactCommand, ResumeContactRecordingCommand, @@ -386,6 +412,7 @@ import { SearchableQueueType, SendChatIntegrationEventCommand, SendOutboundEmailCommand, + ServiceQuotaExceededException, SingleSelectQuestionRuleCategoryAutomationCondition, SlaAssignmentType, SlaType, @@ -420,7 +447,9 @@ import { TargetListType, TaskTemplateFieldType, TaskTemplateStatus, + ThrottlingException, TimerEligibleParticipantRoles, + TooManyRequestsException, TrafficDistributionGroupStatus, TrafficType, TransferContactCommand, @@ -487,6 +516,7 @@ import { UpdateWorkspaceThemeCommand, UpdateWorkspaceVisibilityCommand, UseCaseType, + UserNotFoundException, VideoCapability, ViewStatus, ViewType, @@ -933,6 +963,8 @@ assert(typeof AllowedUserAction === "object"); assert(typeof AnsweringMachineDetectionStatus === "object"); assert(typeof ApplicationType === "object"); assert(typeof ArtifactStatus === "object"); +assert(typeof AttachedFileInvalidRequestExceptionReason === "object"); +assert(typeof AttachedFileServiceQuotaExceededExceptionReason === "object"); assert(typeof AutoEvaluationStatus === "object"); assert(typeof BehaviorType === "object"); assert(typeof BooleanComparisonType === "object"); @@ -1026,6 +1058,7 @@ assert(typeof PhoneNumberCountryCode === "object"); assert(typeof PhoneNumberType === "object"); assert(typeof PhoneNumberWorkflowStatus === "object"); assert(typeof PhoneType === "object"); +assert(typeof PropertyValidationExceptionReason === "object"); assert(typeof QuestionRuleCategoryAutomationCondition === "object"); assert(typeof QueueStatus === "object"); assert(typeof QueueType === "object"); @@ -1041,6 +1074,7 @@ assert(typeof RecordingStatus === "object"); assert(typeof ReferenceStatus === "object"); assert(typeof ReferenceType === "object"); assert(typeof RehydrationType === "object"); +assert(typeof ResourceType === "object"); assert(typeof ResponseMode === "object"); assert(typeof RoutingCriteriaStepStatus === "object"); assert(typeof RulePublishStatus === "object"); @@ -1076,6 +1110,32 @@ assert(typeof VocabularyState === "object"); assert(typeof VoiceRecordingTrack === "object"); assert(typeof WorkspaceFontFamily === "object"); // errors +assert(AccessDeniedException.prototype instanceof ConnectServiceException); +assert(ConditionalOperationFailedException.prototype instanceof ConnectServiceException); +assert(ConflictException.prototype instanceof ConnectServiceException); +assert(ContactFlowNotPublishedException.prototype instanceof ConnectServiceException); +assert(ContactNotFoundException.prototype instanceof ConnectServiceException); +assert(DestinationNotAllowedException.prototype instanceof ConnectServiceException); +assert(DuplicateResourceException.prototype instanceof ConnectServiceException); +assert(IdempotencyException.prototype instanceof ConnectServiceException); +assert(InternalServiceException.prototype instanceof ConnectServiceException); +assert(InvalidContactFlowException.prototype instanceof ConnectServiceException); +assert(InvalidContactFlowModuleException.prototype instanceof ConnectServiceException); +assert(InvalidParameterException.prototype instanceof ConnectServiceException); +assert(InvalidRequestException.prototype instanceof ConnectServiceException); +assert(LimitExceededException.prototype instanceof ConnectServiceException); +assert(MaximumResultReturnedException.prototype instanceof ConnectServiceException); +assert(OutboundContactNotPermittedException.prototype instanceof ConnectServiceException); +assert(OutputTypeNotFoundException.prototype instanceof ConnectServiceException); +assert(PropertyValidationException.prototype instanceof ConnectServiceException); +assert(ResourceConflictException.prototype instanceof ConnectServiceException); +assert(ResourceInUseException.prototype instanceof ConnectServiceException); +assert(ResourceNotFoundException.prototype instanceof ConnectServiceException); +assert(ResourceNotReadyException.prototype instanceof ConnectServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ConnectServiceException); +assert(ThrottlingException.prototype instanceof ConnectServiceException); +assert(TooManyRequestsException.prototype instanceof ConnectServiceException); +assert(UserNotFoundException.prototype instanceof ConnectServiceException); assert(ConnectServiceException.prototype instanceof Error); // paginators assert(typeof paginateEvaluateDataTableValues === "function"); diff --git a/clients/client-connect/test/index-types.ts b/clients/client-connect/test/index-types.ts index d9a90848bb2d..c269cd8a154e 100644 --- a/clients/client-connect/test/index-types.ts +++ b/clients/client-connect/test/index-types.ts @@ -1035,6 +1035,8 @@ export type { AnsweringMachineDetectionStatus, ApplicationType, ArtifactStatus, + AttachedFileInvalidRequestExceptionReason, + AttachedFileServiceQuotaExceededExceptionReason, AutoEvaluationStatus, BehaviorType, BooleanComparisonType, @@ -1128,6 +1130,7 @@ export type { PhoneNumberType, PhoneNumberWorkflowStatus, PhoneType, + PropertyValidationExceptionReason, QuestionRuleCategoryAutomationCondition, QueueStatus, QueueType, @@ -1143,6 +1146,7 @@ export type { ReferenceStatus, ReferenceType, RehydrationType, + ResourceType, ResponseMode, RoutingCriteriaStepStatus, RulePublishStatus, @@ -1720,6 +1724,7 @@ export type { InstanceSummary, IntegrationAssociationSummary, IntervalDetails, + InvalidRequestExceptionReason, InvisibleFieldInfo, KinesisFirehoseConfig, KinesisStreamConfig, @@ -1912,10 +1917,12 @@ export type { PrimaryAttributeValueFilter, PrimaryValue, PrimaryValueResponse, + ProblemDetail, Prompt, PromptSearchCriteria, PromptSearchFilter, PromptSummary, + PropertyValidationExceptionProperty, PutUserStatusRequest, PutUserStatusResponse, QualityMetrics, @@ -2058,6 +2065,7 @@ export type { SendNotificationActionDefinition, SendOutboundEmailRequest, SendOutboundEmailResponse, + ServiceQuotaExceededExceptionReason, SignInConfig, SignInDistribution, SingleSelectQuestionRuleCategoryAutomation, @@ -2273,6 +2281,32 @@ export type { WorkspaceThemeImages, WorkspaceThemePalette, WorkspaceThemeTypography, + AccessDeniedException, + ConditionalOperationFailedException, + ConflictException, + ContactFlowNotPublishedException, + ContactNotFoundException, + DestinationNotAllowedException, + DuplicateResourceException, + IdempotencyException, + InternalServiceException, + InvalidContactFlowException, + InvalidContactFlowModuleException, + InvalidParameterException, + InvalidRequestException, + LimitExceededException, + MaximumResultReturnedException, + OutboundContactNotPermittedException, + OutputTypeNotFoundException, + PropertyValidationException, + ResourceConflictException, + ResourceInUseException, + ResourceNotFoundException, + ResourceNotReadyException, + ServiceQuotaExceededException, + ThrottlingException, + TooManyRequestsException, + UserNotFoundException, ConnectServiceException, paginateEvaluateDataTableValues, paginateGetCurrentMetricData, diff --git a/clients/client-connectcampaigns/test/index-objects.spec.mjs b/clients/client-connectcampaigns/test/index-objects.spec.mjs index 3b695cdbe8fc..eb107b89e2ba 100644 --- a/clients/client-connectcampaigns/test/index-objects.spec.mjs +++ b/clients/client-connectcampaigns/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, CampaignState, + ConflictException, ConnectCampaigns, ConnectCampaignsClient, ConnectCampaignsServiceException, @@ -18,19 +20,26 @@ import { InstanceIdFilterOperator, InstanceOnboardingJobFailureCode, InstanceOnboardingJobStatusCode, + InternalServerException, + InvalidCampaignStateException, + InvalidStateException, ListCampaignsCommand, ListTagsForResourceCommand, PauseCampaignCommand, PutDialRequestBatchCommand, + ResourceNotFoundException, ResumeCampaignCommand, + ServiceQuotaExceededException, StartCampaignCommand, StartInstanceOnboardingJobCommand, StopCampaignCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateCampaignDialerConfigCommand, UpdateCampaignNameCommand, UpdateCampaignOutboundCallConfigCommand, + ValidationException, paginateListCampaigns, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -69,6 +78,15 @@ assert(typeof InstanceIdFilterOperator === "object"); assert(typeof InstanceOnboardingJobFailureCode === "object"); assert(typeof InstanceOnboardingJobStatusCode === "object"); // errors +assert(AccessDeniedException.prototype instanceof ConnectCampaignsServiceException); +assert(ConflictException.prototype instanceof ConnectCampaignsServiceException); +assert(InternalServerException.prototype instanceof ConnectCampaignsServiceException); +assert(InvalidCampaignStateException.prototype instanceof ConnectCampaignsServiceException); +assert(InvalidStateException.prototype instanceof ConnectCampaignsServiceException); +assert(ResourceNotFoundException.prototype instanceof ConnectCampaignsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ConnectCampaignsServiceException); +assert(ThrottlingException.prototype instanceof ConnectCampaignsServiceException); +assert(ValidationException.prototype instanceof ConnectCampaignsServiceException); assert(ConnectCampaignsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCampaigns === "function"); diff --git a/clients/client-connectcampaigns/test/index-types.ts b/clients/client-connectcampaigns/test/index-types.ts index 76b6ce1ab2ec..20059c9a2bfc 100644 --- a/clients/client-connectcampaigns/test/index-types.ts +++ b/clients/client-connectcampaigns/test/index-types.ts @@ -125,6 +125,15 @@ export type { UpdateCampaignDialerConfigRequest, UpdateCampaignNameRequest, UpdateCampaignOutboundCallConfigRequest, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidCampaignStateException, + InvalidStateException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ConnectCampaignsServiceException, paginateListCampaigns, } from "../dist-types/index.d"; diff --git a/clients/client-connectcampaignsv2/test/index-objects.spec.mjs b/clients/client-connectcampaignsv2/test/index-objects.spec.mjs index aecc2fa06b46..6cb1699fa71a 100644 --- a/clients/client-connectcampaignsv2/test/index-objects.spec.mjs +++ b/clients/client-connectcampaignsv2/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AgentAction, CampaignDeletionPolicy, CampaignState, @@ -6,6 +7,7 @@ import { CommunicationLimitTimeUnit, CommunicationLimitsConfigType, CommunicationTimeConfigType, + ConflictException, ConnectCampaignsV2, ConnectCampaignsV2Client, ConnectCampaignsV2ServiceException, @@ -33,6 +35,9 @@ import { InstanceLimitsHandling, InstanceOnboardingJobFailureCode, InstanceOnboardingJobStatusCode, + InternalServerException, + InvalidCampaignStateException, + InvalidStateException, ListCampaignsCommand, ListConnectInstanceIntegrationsCommand, ListTagsForResourceCommand, @@ -43,11 +48,14 @@ import { PutInstanceCommunicationLimitsCommand, PutOutboundRequestBatchCommand, PutProfileOutboundRequestBatchCommand, + ResourceNotFoundException, ResumeCampaignCommand, + ServiceQuotaExceededException, StartCampaignCommand, StartInstanceOnboardingJobCommand, StopCampaignCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateCampaignChannelSubtypeConfigCommand, UpdateCampaignCommunicationLimitsCommand, @@ -56,6 +64,7 @@ import { UpdateCampaignNameCommand, UpdateCampaignScheduleCommand, UpdateCampaignSourceCommand, + ValidationException, paginateListCampaigns, paginateListConnectInstanceIntegrations, } from "../dist-cjs/index.js"; @@ -120,6 +129,15 @@ assert(typeof InstanceOnboardingJobStatusCode === "object"); assert(typeof LocalTimeZoneDetectionType === "object"); assert(typeof ProfileOutboundRequestFailureCode === "object"); // errors +assert(AccessDeniedException.prototype instanceof ConnectCampaignsV2ServiceException); +assert(ConflictException.prototype instanceof ConnectCampaignsV2ServiceException); +assert(InternalServerException.prototype instanceof ConnectCampaignsV2ServiceException); +assert(InvalidCampaignStateException.prototype instanceof ConnectCampaignsV2ServiceException); +assert(InvalidStateException.prototype instanceof ConnectCampaignsV2ServiceException); +assert(ResourceNotFoundException.prototype instanceof ConnectCampaignsV2ServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ConnectCampaignsV2ServiceException); +assert(ThrottlingException.prototype instanceof ConnectCampaignsV2ServiceException); +assert(ValidationException.prototype instanceof ConnectCampaignsV2ServiceException); assert(ConnectCampaignsV2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCampaigns === "function"); diff --git a/clients/client-connectcampaignsv2/test/index-types.ts b/clients/client-connectcampaignsv2/test/index-types.ts index ea09e79f0966..a60ec335028a 100644 --- a/clients/client-connectcampaignsv2/test/index-types.ts +++ b/clients/client-connectcampaignsv2/test/index-types.ts @@ -239,6 +239,15 @@ export type { WhatsAppChannelSubtypeParameters, WhatsAppOutboundConfig, WhatsAppOutboundMode, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidCampaignStateException, + InvalidStateException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ConnectCampaignsV2ServiceException, paginateListCampaigns, paginateListConnectInstanceIntegrations, diff --git a/clients/client-connectcases/test/index-objects.spec.mjs b/clients/client-connectcases/test/index-objects.spec.mjs index 2cb267150fc6..ec25530484e8 100644 --- a/clients/client-connectcases/test/index-objects.spec.mjs +++ b/clients/client-connectcases/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, AuditEventType, BatchGetCaseRuleCommand, BatchGetFieldCommand, BatchPutFieldOptionsCommand, CommentBodyTextType, + ConflictException, ConnectCases, ConnectCasesClient, ConnectCasesServiceException, @@ -30,6 +32,7 @@ import { GetDomainCommand, GetLayoutCommand, GetTemplateCommand, + InternalServerException, ListCaseRulesCommand, ListCasesForContactCommand, ListDomainsCommand, @@ -41,21 +44,25 @@ import { Order, PutCaseEventConfigurationCommand, RelatedItemType, + ResourceNotFoundException, RuleType, SearchAllRelatedItemsCommand, SearchAllRelatedItemsSortProperty, SearchCasesCommand, SearchRelatedItemsCommand, + ServiceQuotaExceededException, SlaStatus, SlaType, TagResourceCommand, TemplateStatus, + ThrottlingException, UntagResourceCommand, UpdateCaseCommand, UpdateCaseRuleCommand, UpdateFieldCommand, UpdateLayoutCommand, UpdateTemplateCommand, + ValidationException, paginateGetCase, paginateGetCaseAuditEvents, paginateListCaseRules, @@ -130,6 +137,13 @@ assert(typeof SlaStatus === "object"); assert(typeof SlaType === "object"); assert(typeof TemplateStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof ConnectCasesServiceException); +assert(ConflictException.prototype instanceof ConnectCasesServiceException); +assert(InternalServerException.prototype instanceof ConnectCasesServiceException); +assert(ResourceNotFoundException.prototype instanceof ConnectCasesServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ConnectCasesServiceException); +assert(ThrottlingException.prototype instanceof ConnectCasesServiceException); +assert(ValidationException.prototype instanceof ConnectCasesServiceException); assert(ConnectCasesServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetCase === "function"); diff --git a/clients/client-connectcases/test/index-types.ts b/clients/client-connectcases/test/index-types.ts index e44b89e32e85..6c21d841b5e5 100644 --- a/clients/client-connectcases/test/index-types.ts +++ b/clients/client-connectcases/test/index-types.ts @@ -296,6 +296,13 @@ export type { UpdateTemplateRequest, UpdateTemplateResponse, UserUnion, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ConnectCasesServiceException, paginateGetCase, paginateGetCaseAuditEvents, diff --git a/clients/client-connectparticipant/src/schemas/schemas_0.ts b/clients/client-connectparticipant/src/schemas/schemas_0.ts index 837433b25b97..cc398c26b9d8 100644 --- a/clients/client-connectparticipant/src/schemas/schemas_0.ts +++ b/clients/client-connectparticipant/src/schemas/schemas_0.ts @@ -365,7 +365,6 @@ export var WebRTCMeeting: StaticStructureSchema = [ [() => WebRTCMediaPlacement, () => MeetingFeaturesConfiguration, 0], ]; export var Websocket: StaticStructureSchema = [3, n0, _W, 0, [_U, _CEo], [0, 0]]; -export var __Unit = "unit" as const; export var ConnectParticipantServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-connectparticipant/test/index-objects.spec.mjs b/clients/client-connectparticipant/test/index-objects.spec.mjs index d2afe8f37e21..551e945899ea 100644 --- a/clients/client-connectparticipant/test/index-objects.spec.mjs +++ b/clients/client-connectparticipant/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, ArtifactStatus, CancelParticipantAuthenticationCommand, ChatItemType, CompleteAttachmentUploadCommand, + ConflictException, ConnectParticipant, ConnectParticipantClient, ConnectParticipantServiceException, @@ -13,14 +15,20 @@ import { GetAttachmentCommand, GetAuthenticationUrlCommand, GetTranscriptCommand, + InternalServerException, MeetingFeatureStatus, MessageProcessingStatus, ParticipantRole, + ResourceNotFoundException, + ResourceType, ScanDirection, SendEventCommand, SendMessageCommand, + ServiceQuotaExceededException, SortKey, StartAttachmentUploadCommand, + ThrottlingException, + ValidationException, paginateGetTranscript, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -46,9 +54,17 @@ assert(typeof ConnectionType === "object"); assert(typeof MeetingFeatureStatus === "object"); assert(typeof MessageProcessingStatus === "object"); assert(typeof ParticipantRole === "object"); +assert(typeof ResourceType === "object"); assert(typeof ScanDirection === "object"); assert(typeof SortKey === "object"); // errors +assert(AccessDeniedException.prototype instanceof ConnectParticipantServiceException); +assert(ConflictException.prototype instanceof ConnectParticipantServiceException); +assert(InternalServerException.prototype instanceof ConnectParticipantServiceException); +assert(ResourceNotFoundException.prototype instanceof ConnectParticipantServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ConnectParticipantServiceException); +assert(ThrottlingException.prototype instanceof ConnectParticipantServiceException); +assert(ValidationException.prototype instanceof ConnectParticipantServiceException); assert(ConnectParticipantServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetTranscript === "function"); diff --git a/clients/client-connectparticipant/test/index-types.ts b/clients/client-connectparticipant/test/index-types.ts index 162ac60d2470..f6ee8f322d87 100644 --- a/clients/client-connectparticipant/test/index-types.ts +++ b/clients/client-connectparticipant/test/index-types.ts @@ -41,6 +41,7 @@ export type { MeetingFeatureStatus, MessageProcessingStatus, ParticipantRole, + ResourceType, ScanDirection, SortKey, AttachmentItem, @@ -82,6 +83,13 @@ export type { WebRTCMediaPlacement, WebRTCMeeting, Websocket, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ConnectParticipantServiceException, paginateGetTranscript, } from "../dist-types/index.d"; diff --git a/clients/client-controlcatalog/src/schemas/schemas_0.ts b/clients/client-controlcatalog/src/schemas/schemas_0.ts index dddd7041c297..467b4af36ba0 100644 --- a/clients/client-controlcatalog/src/schemas/schemas_0.ts +++ b/clients/client-controlcatalog/src/schemas/schemas_0.ts @@ -251,7 +251,6 @@ export var ThrottlingException: StaticErrorSchema = [-3, n0, _TE, { [_e]: _c, [_ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException); export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var ControlCatalogServiceException: StaticErrorSchema = [-3, _sm, "ControlCatalogServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ControlCatalogServiceException, __ControlCatalogServiceException); export var CommonControlArnFilterList = 64 | 0; diff --git a/clients/client-controlcatalog/test/index-objects.spec.mjs b/clients/client-controlcatalog/test/index-objects.spec.mjs index c8a211f68912..8076fd77bd93 100644 --- a/clients/client-controlcatalog/test/index-objects.spec.mjs +++ b/clients/client-controlcatalog/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ControlBehavior, ControlCatalog, ControlCatalogClient, @@ -7,12 +8,16 @@ import { ControlScope, ControlSeverity, GetControlCommand, + InternalServerException, ListCommonControlsCommand, ListControlMappingsCommand, ListControlsCommand, ListDomainsCommand, ListObjectivesCommand, MappingType, + ResourceNotFoundException, + ThrottlingException, + ValidationException, paginateListCommonControls, paginateListControlMappings, paginateListControls, @@ -37,6 +42,11 @@ assert(typeof ControlScope === "object"); assert(typeof ControlSeverity === "object"); assert(typeof MappingType === "object"); // errors +assert(AccessDeniedException.prototype instanceof ControlCatalogServiceException); +assert(InternalServerException.prototype instanceof ControlCatalogServiceException); +assert(ResourceNotFoundException.prototype instanceof ControlCatalogServiceException); +assert(ThrottlingException.prototype instanceof ControlCatalogServiceException); +assert(ValidationException.prototype instanceof ControlCatalogServiceException); assert(ControlCatalogServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCommonControls === "function"); diff --git a/clients/client-controlcatalog/test/index-types.ts b/clients/client-controlcatalog/test/index-types.ts index d586a289dc63..87f1396a7d20 100644 --- a/clients/client-controlcatalog/test/index-types.ts +++ b/clients/client-controlcatalog/test/index-types.ts @@ -59,6 +59,11 @@ export type { ObjectiveSummary, RegionConfiguration, RelatedControlMappingDetails, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, ControlCatalogServiceException, paginateListCommonControls, paginateListControlMappings, diff --git a/clients/client-controltower/src/schemas/schemas_0.ts b/clients/client-controltower/src/schemas/schemas_0.ts index 29f53986e9a0..b2efa5e2aa1b 100644 --- a/clients/client-controltower/src/schemas/schemas_0.ts +++ b/clients/client-controltower/src/schemas/schemas_0.ts @@ -573,7 +573,6 @@ export var UpdateLandingZoneInput: StaticStructureSchema = [3, n0, _ULZI, 0, [_v export var UpdateLandingZoneOutput: StaticStructureSchema = [3, n0, _ULZO, 0, [_oI], [0]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var ControlTowerServiceException: StaticErrorSchema = [-3, _sm, "ControlTowerServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ControlTowerServiceException, __ControlTowerServiceException); export var Baselines: StaticListSchema = [1, n0, _B, 0, () => BaselineSummary]; diff --git a/clients/client-controltower/test/index-objects.spec.mjs b/clients/client-controltower/test/index-objects.spec.mjs index 01e69d7eae5e..a9c6cca03466 100644 --- a/clients/client-controltower/test/index-objects.spec.mjs +++ b/clients/client-controltower/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, BaselineOperationStatus, BaselineOperationType, + ConflictException, ControlOperationStatus, ControlOperationType, ControlTower, @@ -22,6 +24,7 @@ import { GetEnabledControlCommand, GetLandingZoneCommand, GetLandingZoneOperationCommand, + InternalServerException, LandingZoneDriftStatus, LandingZoneOperationStatus, LandingZoneOperationType, @@ -37,11 +40,15 @@ import { ResetEnabledBaselineCommand, ResetEnabledControlCommand, ResetLandingZoneCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateEnabledBaselineCommand, UpdateEnabledControlCommand, UpdateLandingZoneCommand, + ValidationException, paginateListBaselines, paginateListControlOperations, paginateListEnabledBaselines, @@ -96,6 +103,13 @@ assert(typeof LandingZoneOperationType === "object"); assert(typeof LandingZoneStatus === "object"); assert(typeof RemediationType === "object"); // errors +assert(AccessDeniedException.prototype instanceof ControlTowerServiceException); +assert(ConflictException.prototype instanceof ControlTowerServiceException); +assert(InternalServerException.prototype instanceof ControlTowerServiceException); +assert(ResourceNotFoundException.prototype instanceof ControlTowerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ControlTowerServiceException); +assert(ThrottlingException.prototype instanceof ControlTowerServiceException); +assert(ValidationException.prototype instanceof ControlTowerServiceException); assert(ControlTowerServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBaselines === "function"); diff --git a/clients/client-controltower/test/index-types.ts b/clients/client-controltower/test/index-types.ts index 16eb8a1a7dfc..d9709d6146c4 100644 --- a/clients/client-controltower/test/index-types.ts +++ b/clients/client-controltower/test/index-types.ts @@ -184,6 +184,13 @@ export type { UpdateEnabledControlOutput, UpdateLandingZoneInput, UpdateLandingZoneOutput, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ControlTowerServiceException, paginateListBaselines, paginateListControlOperations, diff --git a/clients/client-cost-and-usage-report-service/src/schemas/schemas_0.ts b/clients/client-cost-and-usage-report-service/src/schemas/schemas_0.ts index 596f3d3dd19d..240b818832dd 100644 --- a/clients/client-cost-and-usage-report-service/src/schemas/schemas_0.ts +++ b/clients/client-cost-and-usage-report-service/src/schemas/schemas_0.ts @@ -127,7 +127,6 @@ export var UntagResourceRequest: StaticStructureSchema = [3, n0, _URR, 0, [_RN, export var UntagResourceResponse: StaticStructureSchema = [3, n0, _URRn, 0, [], []]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var CostAndUsageReportServiceServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-cost-and-usage-report-service/test/index-objects.spec.mjs b/clients/client-cost-and-usage-report-service/test/index-objects.spec.mjs index 90373b7e5cf0..d07ea19323e0 100644 --- a/clients/client-cost-and-usage-report-service/test/index-objects.spec.mjs +++ b/clients/client-cost-and-usage-report-service/test/index-objects.spec.mjs @@ -7,16 +7,21 @@ import { CostAndUsageReportServiceServiceException, DeleteReportDefinitionCommand, DescribeReportDefinitionsCommand, + DuplicateReportNameException, + InternalErrorException, LastStatus, ListTagsForResourceCommand, ModifyReportDefinitionCommand, PutReportDefinitionCommand, ReportFormat, + ReportLimitReachedException, ReportVersioning, + ResourceNotFoundException, SchemaElement, TagResourceCommand, TimeUnit, UntagResourceCommand, + ValidationException, paginateDescribeReportDefinitions, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -41,6 +46,11 @@ assert(typeof ReportVersioning === "object"); assert(typeof SchemaElement === "object"); assert(typeof TimeUnit === "object"); // errors +assert(DuplicateReportNameException.prototype instanceof CostAndUsageReportServiceServiceException); +assert(InternalErrorException.prototype instanceof CostAndUsageReportServiceServiceException); +assert(ReportLimitReachedException.prototype instanceof CostAndUsageReportServiceServiceException); +assert(ResourceNotFoundException.prototype instanceof CostAndUsageReportServiceServiceException); +assert(ValidationException.prototype instanceof CostAndUsageReportServiceServiceException); assert(CostAndUsageReportServiceServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeReportDefinitions === "function"); diff --git a/clients/client-cost-and-usage-report-service/test/index-types.ts b/clients/client-cost-and-usage-report-service/test/index-types.ts index 82f58093719b..06054e2da3e4 100644 --- a/clients/client-cost-and-usage-report-service/test/index-types.ts +++ b/clients/client-cost-and-usage-report-service/test/index-types.ts @@ -48,6 +48,11 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + DuplicateReportNameException, + InternalErrorException, + ReportLimitReachedException, + ResourceNotFoundException, + ValidationException, CostAndUsageReportServiceServiceException, paginateDescribeReportDefinitions, } from "../dist-types/index.d"; diff --git a/clients/client-cost-explorer/src/schemas/schemas_0.ts b/clients/client-cost-explorer/src/schemas/schemas_0.ts index 0dd24bbca602..470f41279e68 100644 --- a/clients/client-cost-explorer/src/schemas/schemas_0.ts +++ b/clients/client-cost-explorer/src/schemas/schemas_0.ts @@ -1863,7 +1863,6 @@ export var UtilizationByTime: StaticStructureSchema = [ [_TP, _G, _To], [() => DateInterval, () => ReservationUtilizationGroups, () => ReservationAggregates], ]; -export var __Unit = "unit" as const; export var CostExplorerServiceException: StaticErrorSchema = [-3, _s, "CostExplorerServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(CostExplorerServiceException, __CostExplorerServiceException); export var AnalysisIds = 64 | 0; diff --git a/clients/client-cost-explorer/test/index-objects.spec.mjs b/clients/client-cost-explorer/test/index-objects.spec.mjs index 8dd160ba9cfe..9c94cca5b21a 100644 --- a/clients/client-cost-explorer/test/index-objects.spec.mjs +++ b/clients/client-cost-explorer/test/index-objects.spec.mjs @@ -1,10 +1,14 @@ import { AccountScope, + AnalysisNotFoundException, AnalysisStatus, AnalysisType, AnomalyFeedbackType, AnomalySubscriptionFrequency, ApproximationDimension, + BackfillLimitExceededException, + BillExpirationException, + BillingViewHealthStatusException, Context, CostAllocationTagBackfillStatus, CostAllocationTagStatus, @@ -22,6 +26,7 @@ import { CreateAnomalyMonitorCommand, CreateAnomalySubscriptionCommand, CreateCostCategoryDefinitionCommand, + DataUnavailableException, DeleteAnomalyMonitorCommand, DeleteAnomalySubscriptionCommand, DeleteCostCategoryDefinitionCommand, @@ -29,6 +34,7 @@ import { Dimension, ErrorCode, FindingReasonCode, + GenerationExistsException, GenerationStatus, GetAnomaliesCommand, GetAnomalyMonitorsCommand, @@ -55,6 +61,8 @@ import { GetUsageForecastCommand, Granularity, GroupDefinitionType, + InvalidNextTokenException, + LimitExceededException, ListCommitmentPurchaseAnalysesCommand, ListCostAllocationTagBackfillHistoryCommand, ListCostAllocationTagsCommand, @@ -72,8 +80,11 @@ import { PlatformDifference, ProvideAnomalyFeedbackCommand, RecommendationTarget, + RequestChangedException, + ResourceNotFoundException, RightsizingType, SavingsPlansDataType, + ServiceQuotaExceededException, SortOrder, StartCommitmentPurchaseAnalysisCommand, StartCostAllocationTagBackfillCommand, @@ -83,6 +94,10 @@ import { SupportedSavingsPlansType, TagResourceCommand, TermInYears, + TooManyTagsException, + UnknownMonitorException, + UnknownSubscriptionException, + UnresolvableUsageUnitException, UntagResourceCommand, UpdateAnomalyMonitorCommand, UpdateAnomalySubscriptionCommand, @@ -192,6 +207,21 @@ assert(typeof SubscriberType === "object"); assert(typeof SupportedSavingsPlansType === "object"); assert(typeof TermInYears === "object"); // errors +assert(AnalysisNotFoundException.prototype instanceof CostExplorerServiceException); +assert(BackfillLimitExceededException.prototype instanceof CostExplorerServiceException); +assert(BillExpirationException.prototype instanceof CostExplorerServiceException); +assert(BillingViewHealthStatusException.prototype instanceof CostExplorerServiceException); +assert(DataUnavailableException.prototype instanceof CostExplorerServiceException); +assert(GenerationExistsException.prototype instanceof CostExplorerServiceException); +assert(InvalidNextTokenException.prototype instanceof CostExplorerServiceException); +assert(LimitExceededException.prototype instanceof CostExplorerServiceException); +assert(RequestChangedException.prototype instanceof CostExplorerServiceException); +assert(ResourceNotFoundException.prototype instanceof CostExplorerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof CostExplorerServiceException); +assert(TooManyTagsException.prototype instanceof CostExplorerServiceException); +assert(UnknownMonitorException.prototype instanceof CostExplorerServiceException); +assert(UnknownSubscriptionException.prototype instanceof CostExplorerServiceException); +assert(UnresolvableUsageUnitException.prototype instanceof CostExplorerServiceException); assert(CostExplorerServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetAnomalies === "function"); diff --git a/clients/client-cost-explorer/test/index-types.ts b/clients/client-cost-explorer/test/index-types.ts index 0641f7269352..e682bef4de7c 100644 --- a/clients/client-cost-explorer/test/index-types.ts +++ b/clients/client-cost-explorer/test/index-types.ts @@ -371,6 +371,21 @@ export type { UpdateCostCategoryDefinitionRequest, UpdateCostCategoryDefinitionResponse, UtilizationByTime, + AnalysisNotFoundException, + BackfillLimitExceededException, + BillExpirationException, + BillingViewHealthStatusException, + DataUnavailableException, + GenerationExistsException, + InvalidNextTokenException, + LimitExceededException, + RequestChangedException, + ResourceNotFoundException, + ServiceQuotaExceededException, + TooManyTagsException, + UnknownMonitorException, + UnknownSubscriptionException, + UnresolvableUsageUnitException, CostExplorerServiceException, paginateGetAnomalies, paginateGetAnomalyMonitors, diff --git a/clients/client-cost-optimization-hub/src/schemas/schemas_0.ts b/clients/client-cost-optimization-hub/src/schemas/schemas_0.ts index 448ed5507658..2b290a4d866c 100644 --- a/clients/client-cost-optimization-hub/src/schemas/schemas_0.ts +++ b/clients/client-cost-optimization-hub/src/schemas/schemas_0.ts @@ -816,7 +816,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionDetail: StaticStructureSchema = [3, n0, _VED, 0, [_fN, _m], [0, 0]]; -export var __Unit = "unit" as const; export var CostOptimizationHubServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-cost-optimization-hub/test/index-objects.spec.mjs b/clients/client-cost-optimization-hub/test/index-objects.spec.mjs index 53d7fccdc0c6..7ba347cbf875 100644 --- a/clients/client-cost-optimization-hub/test/index-objects.spec.mjs +++ b/clients/client-cost-optimization-hub/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ActionType, AllocationStrategy, CostOptimizationHub, @@ -10,6 +11,7 @@ import { GetRecommendationCommand, GranularityType, ImplementationEffort, + InternalServerException, ListEfficiencyMetricsCommand, ListEnrollmentStatusesCommand, ListRecommendationSummariesCommand, @@ -17,13 +19,17 @@ import { MemberAccountDiscountVisibility, Order, PaymentOption, + ResourceNotFoundException, ResourceType, SavingsEstimationMode, Source, SummaryMetrics, Term, + ThrottlingException, UpdateEnrollmentStatusCommand, UpdatePreferencesCommand, + ValidationException, + ValidationExceptionReason, paginateListEfficiencyMetrics, paginateListEnrollmentStatuses, paginateListRecommendationSummaries, @@ -57,7 +63,13 @@ assert(typeof SavingsEstimationMode === "object"); assert(typeof Source === "object"); assert(typeof SummaryMetrics === "object"); assert(typeof Term === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof CostOptimizationHubServiceException); +assert(InternalServerException.prototype instanceof CostOptimizationHubServiceException); +assert(ResourceNotFoundException.prototype instanceof CostOptimizationHubServiceException); +assert(ThrottlingException.prototype instanceof CostOptimizationHubServiceException); +assert(ValidationException.prototype instanceof CostOptimizationHubServiceException); assert(CostOptimizationHubServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEfficiencyMetrics === "function"); diff --git a/clients/client-cost-optimization-hub/test/index-types.ts b/clients/client-cost-optimization-hub/test/index-types.ts index 60d6470e5628..5f8178d16e28 100644 --- a/clients/client-cost-optimization-hub/test/index-types.ts +++ b/clients/client-cost-optimization-hub/test/index-types.ts @@ -40,6 +40,7 @@ export type { Source, SummaryMetrics, Term, + ValidationExceptionReason, AccountEnrollmentStatus, AuroraDbClusterStorage, AuroraDbClusterStorageConfiguration, @@ -120,6 +121,12 @@ export type { UpdatePreferencesRequest, UpdatePreferencesResponse, Usage, + ValidationExceptionDetail, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, CostOptimizationHubServiceException, paginateListEfficiencyMetrics, paginateListEnrollmentStatuses, diff --git a/clients/client-customer-profiles/src/schemas/schemas_0.ts b/clients/client-customer-profiles/src/schemas/schemas_0.ts index eead142db60e..7173e287dad7 100644 --- a/clients/client-customer-profiles/src/schemas/schemas_0.ts +++ b/clients/client-customer-profiles/src/schemas/schemas_0.ts @@ -3246,7 +3246,6 @@ export var WorkflowAttributes: StaticStructureSchema = [ export var WorkflowMetrics: StaticStructureSchema = [3, n0, _WM, 0, [_AI], [() => AppflowIntegrationWorkflowMetrics]]; export var WorkflowStepItem: StaticStructureSchema = [3, n0, _WSI, 0, [_AI], [() => AppflowIntegrationWorkflowStep]]; export var ZendeskSourceProperties: StaticStructureSchema = [3, n0, _ZSP, 0, [_Ob], [0]]; -export var __Unit = "unit" as const; export var CustomerProfilesServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-customer-profiles/test/index-objects.spec.mjs b/clients/client-customer-profiles/test/index-objects.spec.mjs index 9addbafd46b5..3208465d9b91 100644 --- a/clients/client-customer-profiles/test/index-objects.spec.mjs +++ b/clients/client-customer-profiles/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, ActionType, AddProfileKeyCommand, AttributeDimensionType, AttributeMatchingModel, + BadRequestException, BatchGetCalculatedAttributeForProfileCommand, BatchGetProfileCommand, ComparisonOperator, @@ -79,6 +81,7 @@ import { IdentityResolutionJobStatus, Include, IncludeOptions, + InternalServerException, JobScheduleDayOfTheWeek, LayoutType, ListAccountIntegrationsCommand, @@ -124,6 +127,7 @@ import { ReadinessStatus, RecommenderRecipeName, RecommenderStatus, + ResourceNotFoundException, RuleBasedMatchingStatus, S3ConnectorOperator, SalesforceConnectorOperator, @@ -144,6 +148,7 @@ import { StringDimensionType, TagResourceCommand, TaskType, + ThrottlingException, TrainingMetricName, TriggerType, Type, @@ -333,6 +338,11 @@ assert(typeof UploadJobStatus === "object"); assert(typeof WorkflowType === "object"); assert(typeof ZendeskConnectorOperator === "object"); // errors +assert(AccessDeniedException.prototype instanceof CustomerProfilesServiceException); +assert(BadRequestException.prototype instanceof CustomerProfilesServiceException); +assert(InternalServerException.prototype instanceof CustomerProfilesServiceException); +assert(ResourceNotFoundException.prototype instanceof CustomerProfilesServiceException); +assert(ThrottlingException.prototype instanceof CustomerProfilesServiceException); assert(CustomerProfilesServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetSimilarProfiles === "function"); diff --git a/clients/client-customer-profiles/test/index-types.ts b/clients/client-customer-profiles/test/index-types.ts index 708f35318915..46a5d12b66f7 100644 --- a/clients/client-customer-profiles/test/index-types.ts +++ b/clients/client-customer-profiles/test/index-types.ts @@ -674,6 +674,11 @@ export type { WorkflowMetrics, WorkflowStepItem, ZendeskSourceProperties, + AccessDeniedException, + BadRequestException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, CustomerProfilesServiceException, paginateGetSimilarProfiles, paginateListDomainLayouts, diff --git a/clients/client-data-pipeline/test/index-objects.spec.mjs b/clients/client-data-pipeline/test/index-objects.spec.mjs index 902f77d12a0b..1272e28adca8 100644 --- a/clients/client-data-pipeline/test/index-objects.spec.mjs +++ b/clients/client-data-pipeline/test/index-objects.spec.mjs @@ -11,8 +11,12 @@ import { DescribePipelinesCommand, EvaluateExpressionCommand, GetPipelineDefinitionCommand, + InternalServiceError, + InvalidRequestException, ListPipelinesCommand, OperatorType, + PipelineDeletedException, + PipelineNotFoundException, PollForTaskCommand, PutPipelineDefinitionCommand, QueryObjectsCommand, @@ -21,6 +25,7 @@ import { ReportTaskRunnerHeartbeatCommand, SetStatusCommand, SetTaskStatusCommand, + TaskNotFoundException, TaskStatus, ValidatePipelineDefinitionCommand, paginateDescribeObjects, @@ -55,6 +60,11 @@ assert(typeof ValidatePipelineDefinitionCommand === "function"); assert(typeof OperatorType === "object"); assert(typeof TaskStatus === "object"); // errors +assert(InternalServiceError.prototype instanceof DataPipelineServiceException); +assert(InvalidRequestException.prototype instanceof DataPipelineServiceException); +assert(PipelineDeletedException.prototype instanceof DataPipelineServiceException); +assert(PipelineNotFoundException.prototype instanceof DataPipelineServiceException); +assert(TaskNotFoundException.prototype instanceof DataPipelineServiceException); assert(DataPipelineServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeObjects === "function"); diff --git a/clients/client-data-pipeline/test/index-types.ts b/clients/client-data-pipeline/test/index-types.ts index e2a9050f7288..6df8b91d86a5 100644 --- a/clients/client-data-pipeline/test/index-types.ts +++ b/clients/client-data-pipeline/test/index-types.ts @@ -112,6 +112,11 @@ export type { ValidatePipelineDefinitionOutput, ValidationError, ValidationWarning, + InternalServiceError, + InvalidRequestException, + PipelineDeletedException, + PipelineNotFoundException, + TaskNotFoundException, DataPipelineServiceException, paginateDescribeObjects, paginateListPipelines, diff --git a/clients/client-database-migration-service/test/index-objects.spec.mjs b/clients/client-database-migration-service/test/index-objects.spec.mjs index b3252eec967c..2eaacefca36e 100644 --- a/clients/client-database-migration-service/test/index-objects.spec.mjs +++ b/clients/client-database-migration-service/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedFault, AddTagsToResourceCommand, ApplyPendingMaintenanceActionCommand, AssessmentReportType, @@ -10,6 +11,7 @@ import { CancelReplicationTaskAssessmentRunCommand, CannedAclForObjectsValue, CharLengthSemantics, + CollectorNotFoundFault, CollectorStatus, CompressionTypeValue, CreateDataMigrationCommand, @@ -97,8 +99,21 @@ import { EncryptionModeValue, EndpointSettingTypeValue, ExportMetadataModelAssessmentCommand, + FailedDependencyFault, GetTargetSelectionRulesCommand, ImportCertificateCommand, + InsufficientResourceCapacityFault, + InvalidCertificateFault, + InvalidOperationFault, + InvalidResourceStateFault, + InvalidSubnet, + KMSAccessDeniedFault, + KMSDisabledFault, + KMSFault, + KMSInvalidStateFault, + KMSKeyNotAccessibleFault, + KMSNotFoundFault, + KMSThrottlingFault, KafkaSaslMechanism, KafkaSecurityProtocol, KafkaSslEndpointIdentificationAlgorithm, @@ -135,7 +150,15 @@ import { ReloadTablesCommand, RemoveTagsFromResourceCommand, ReplicationEndpointTypeValue, + ReplicationSubnetGroupDoesNotCoverEnoughAZs, + ResourceAlreadyExistsFault, + ResourceNotFoundFault, + ResourceQuotaExceededFault, RunFleetAdvisorLsaAnalysisCommand, + S3AccessDeniedFault, + S3ResourceNotFoundFault, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, SafeguardPolicy, SourceType, SqlServerAuthenticationMethod, @@ -158,11 +181,14 @@ import { StopDataMigrationCommand, StopReplicationCommand, StopReplicationTaskCommand, + StorageQuotaExceededFault, + SubnetAlreadyInUse, TablePreparationMode, TargetDbType, TestConnectionCommand, TlogAccessMode, UpdateSubscriptionsToEventBridgeCommand, + UpgradeDependencyFailureFault, VersionStatus, paginateDescribeApplicableIndividualAssessments, paginateDescribeCertificates, @@ -392,6 +418,32 @@ assert(typeof TargetDbType === "object"); assert(typeof TlogAccessMode === "object"); assert(typeof VersionStatus === "object"); // errors +assert(AccessDeniedFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(CollectorNotFoundFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(FailedDependencyFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(InsufficientResourceCapacityFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(InvalidCertificateFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(InvalidOperationFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(InvalidResourceStateFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(InvalidSubnet.prototype instanceof DatabaseMigrationServiceServiceException); +assert(KMSAccessDeniedFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(KMSDisabledFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(KMSFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(KMSInvalidStateFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(KMSKeyNotAccessibleFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(KMSNotFoundFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(KMSThrottlingFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(ReplicationSubnetGroupDoesNotCoverEnoughAZs.prototype instanceof DatabaseMigrationServiceServiceException); +assert(ResourceAlreadyExistsFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(ResourceNotFoundFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(ResourceQuotaExceededFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(S3AccessDeniedFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(S3ResourceNotFoundFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(SNSInvalidTopicFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(SNSNoAuthorizationFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(StorageQuotaExceededFault.prototype instanceof DatabaseMigrationServiceServiceException); +assert(SubnetAlreadyInUse.prototype instanceof DatabaseMigrationServiceServiceException); +assert(UpgradeDependencyFailureFault.prototype instanceof DatabaseMigrationServiceServiceException); assert(DatabaseMigrationServiceServiceException.prototype instanceof Error); // waiters assert(typeof waitForEndpointDeleted === "function"); diff --git a/clients/client-database-migration-service/test/index-types.ts b/clients/client-database-migration-service/test/index-types.ts index cc63e732cb71..4af55eb0294e 100644 --- a/clients/client-database-migration-service/test/index-types.ts +++ b/clients/client-database-migration-service/test/index-types.ts @@ -750,6 +750,32 @@ export type { UpdateSubscriptionsToEventBridgeMessage, UpdateSubscriptionsToEventBridgeResponse, VpcSecurityGroupMembership, + AccessDeniedFault, + CollectorNotFoundFault, + FailedDependencyFault, + InsufficientResourceCapacityFault, + InvalidCertificateFault, + InvalidOperationFault, + InvalidResourceStateFault, + InvalidSubnet, + KMSAccessDeniedFault, + KMSDisabledFault, + KMSFault, + KMSInvalidStateFault, + KMSKeyNotAccessibleFault, + KMSNotFoundFault, + KMSThrottlingFault, + ReplicationSubnetGroupDoesNotCoverEnoughAZs, + ResourceAlreadyExistsFault, + ResourceNotFoundFault, + ResourceQuotaExceededFault, + S3AccessDeniedFault, + S3ResourceNotFoundFault, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, + StorageQuotaExceededFault, + SubnetAlreadyInUse, + UpgradeDependencyFailureFault, DatabaseMigrationServiceServiceException, waitForEndpointDeleted, waitForReplicationInstanceAvailable, diff --git a/clients/client-databrew/src/schemas/schemas_0.ts b/clients/client-databrew/src/schemas/schemas_0.ts index 1f4b39c538f8..ad9f21b1d9a4 100644 --- a/clients/client-databrew/src/schemas/schemas_0.ts +++ b/clients/client-databrew/src/schemas/schemas_0.ts @@ -1169,7 +1169,6 @@ export var ViewFrame: StaticStructureSchema = [ [_SCI, _CR, _HC, _SRI, _RRo, _An], [1, 1, 64 | 0, 1, 1, 0], ]; -export var __Unit = "unit" as const; export var DataBrewServiceException: StaticErrorSchema = [-3, _sm, "DataBrewServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(DataBrewServiceException, __DataBrewServiceException); export var AllowedStatisticList: StaticListSchema = [1, n0, _ASL, 0, () => AllowedStatistics]; diff --git a/clients/client-databrew/test/index-objects.spec.mjs b/clients/client-databrew/test/index-objects.spec.mjs index 39c19fa7d2a7..cefd479e6ec4 100644 --- a/clients/client-databrew/test/index-objects.spec.mjs +++ b/clients/client-databrew/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AnalyticsMode, BatchDeleteRecipeVersionCommand, CompressionFormat, + ConflictException, CreateDatasetCommand, CreateProfileJobCommand, CreateProjectCommand, @@ -28,6 +30,7 @@ import { DescribeScheduleCommand, EncryptionMode, InputFormat, + InternalServerException, JobRunState, JobType, ListDatasetsCommand, @@ -45,9 +48,11 @@ import { OutputFormat, ParameterType, PublishRecipeCommand, + ResourceNotFoundException, SampleMode, SampleType, SendProjectSessionActionCommand, + ServiceQuotaExceededException, SessionStatus, Source, StartJobRunCommand, @@ -64,6 +69,7 @@ import { UpdateRecipeJobCommand, UpdateRulesetCommand, UpdateScheduleCommand, + ValidationException, ValidationMode, paginateListDatasets, paginateListJobRuns, @@ -144,6 +150,12 @@ assert(typeof ThresholdType === "object"); assert(typeof ThresholdUnit === "object"); assert(typeof ValidationMode === "object"); // errors +assert(AccessDeniedException.prototype instanceof DataBrewServiceException); +assert(ConflictException.prototype instanceof DataBrewServiceException); +assert(InternalServerException.prototype instanceof DataBrewServiceException); +assert(ResourceNotFoundException.prototype instanceof DataBrewServiceException); +assert(ServiceQuotaExceededException.prototype instanceof DataBrewServiceException); +assert(ValidationException.prototype instanceof DataBrewServiceException); assert(DataBrewServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDatasets === "function"); diff --git a/clients/client-databrew/test/index-types.ts b/clients/client-databrew/test/index-types.ts index bf39e547146f..5018fd7c92fd 100644 --- a/clients/client-databrew/test/index-types.ts +++ b/clients/client-databrew/test/index-types.ts @@ -287,6 +287,12 @@ export type { UpdateScheduleResponse, ValidationConfiguration, ViewFrame, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, DataBrewServiceException, paginateListDatasets, paginateListJobRuns, diff --git a/clients/client-dataexchange/test/index-objects.spec.mjs b/clients/client-dataexchange/test/index-objects.spec.mjs index 4e7ecaafb14b..bceb981fae5c 100644 --- a/clients/client-dataexchange/test/index-objects.spec.mjs +++ b/clients/client-dataexchange/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { AcceptDataGrantCommand, AcceptanceStateFilterValue, + AccessDeniedException, AssetType, CancelJobCommand, Code, + ConflictException, CreateDataGrantCommand, CreateDataSetCommand, CreateEventActionCommand, @@ -19,6 +21,7 @@ import { DeleteDataSetCommand, DeleteEventActionCommand, DeleteRevisionCommand, + ExceptionCause, GetAssetCommand, GetDataGrantCommand, GetDataSetCommand, @@ -27,11 +30,13 @@ import { GetReceivedDataGrantCommand, GetRevisionCommand, GrantDistributionScope, + InternalServerException, JobErrorLimitName, JobErrorResourceTypes, LFPermission, LFResourceType, LakeFormationDataPermissionType, + LimitName, ListDataGrantsCommand, ListDataSetRevisionsCommand, ListDataSetsCommand, @@ -43,21 +48,26 @@ import { NotificationType, Origin, ProtocolType, + ResourceNotFoundException, + ResourceType, RevokeRevisionCommand, SchemaChangeType, SendApiAssetCommand, SendDataSetNotificationCommand, ServerSideEncryptionTypes, + ServiceLimitExceededException, StartJobCommand, State, TableTagPolicyLFPermission, TagResourceCommand, + ThrottlingException, Type, UntagResourceCommand, UpdateAssetCommand, UpdateDataSetCommand, UpdateEventActionCommand, UpdateRevisionCommand, + ValidationException, paginateListDataGrants, paginateListDataSetRevisions, paginateListDataSets, @@ -114,21 +124,31 @@ assert(typeof AssetType === "object"); assert(typeof Code === "object"); assert(typeof DatabaseLFTagPolicyPermission === "object"); assert(typeof DataGrantAcceptanceState === "object"); +assert(typeof ExceptionCause === "object"); assert(typeof GrantDistributionScope === "object"); assert(typeof JobErrorLimitName === "object"); assert(typeof JobErrorResourceTypes === "object"); assert(typeof LakeFormationDataPermissionType === "object"); assert(typeof LFPermission === "object"); assert(typeof LFResourceType === "object"); +assert(typeof LimitName === "object"); assert(typeof NotificationType === "object"); assert(typeof Origin === "object"); assert(typeof ProtocolType === "object"); +assert(typeof ResourceType === "object"); assert(typeof SchemaChangeType === "object"); assert(typeof ServerSideEncryptionTypes === "object"); assert(typeof State === "object"); assert(typeof TableTagPolicyLFPermission === "object"); assert(typeof Type === "object"); // errors +assert(AccessDeniedException.prototype instanceof DataExchangeServiceException); +assert(ConflictException.prototype instanceof DataExchangeServiceException); +assert(InternalServerException.prototype instanceof DataExchangeServiceException); +assert(ResourceNotFoundException.prototype instanceof DataExchangeServiceException); +assert(ServiceLimitExceededException.prototype instanceof DataExchangeServiceException); +assert(ThrottlingException.prototype instanceof DataExchangeServiceException); +assert(ValidationException.prototype instanceof DataExchangeServiceException); assert(DataExchangeServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDataGrants === "function"); diff --git a/clients/client-dataexchange/test/index-types.ts b/clients/client-dataexchange/test/index-types.ts index fd0702d8d0a2..d435568090d8 100644 --- a/clients/client-dataexchange/test/index-types.ts +++ b/clients/client-dataexchange/test/index-types.ts @@ -118,15 +118,18 @@ export type { Code, DatabaseLFTagPolicyPermission, DataGrantAcceptanceState, + ExceptionCause, GrantDistributionScope, JobErrorLimitName, JobErrorResourceTypes, LakeFormationDataPermissionType, LFPermission, LFResourceType, + LimitName, NotificationType, Origin, ProtocolType, + ResourceType, SchemaChangeType, ServerSideEncryptionTypes, State, @@ -264,6 +267,13 @@ export type { UpdateEventActionResponse, UpdateRevisionRequest, UpdateRevisionResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceLimitExceededException, + ThrottlingException, + ValidationException, DataExchangeServiceException, paginateListDataGrants, paginateListDataSetRevisions, diff --git a/clients/client-datasync/src/schemas/schemas_0.ts b/clients/client-datasync/src/schemas/schemas_0.ts index 4da325802467..641aabe3eea5 100644 --- a/clients/client-datasync/src/schemas/schemas_0.ts +++ b/clients/client-datasync/src/schemas/schemas_0.ts @@ -1045,7 +1045,6 @@ export var UpdateTaskRequest: StaticStructureSchema = [ ], ]; export var UpdateTaskResponse: StaticStructureSchema = [3, n0, _UTRp, 0, [], []]; -export var __Unit = "unit" as const; export var DataSyncServiceException: StaticErrorSchema = [-3, _sm, "DataSyncServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(DataSyncServiceException, __DataSyncServiceException); export var AgentArnList = 64 | 0; diff --git a/clients/client-datasync/test/index-objects.spec.mjs b/clients/client-datasync/test/index-objects.spec.mjs index 1537b8301ee4..f8ed59f473ba 100644 --- a/clients/client-datasync/test/index-objects.spec.mjs +++ b/clients/client-datasync/test/index-objects.spec.mjs @@ -45,6 +45,8 @@ import { HdfsAuthenticationType, HdfsDataTransferProtection, HdfsRpcProtection, + InternalException, + InvalidRequestException, ListAgentsCommand, ListLocationsCommand, ListTagsForResourceCommand, @@ -207,6 +209,8 @@ assert(typeof TransferMode === "object"); assert(typeof Uid === "object"); assert(typeof VerifyMode === "object"); // errors +assert(InternalException.prototype instanceof DataSyncServiceException); +assert(InvalidRequestException.prototype instanceof DataSyncServiceException); assert(DataSyncServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAgents === "function"); diff --git a/clients/client-datasync/test/index-types.ts b/clients/client-datasync/test/index-types.ts index 453141435f74..d55869248a79 100644 --- a/clients/client-datasync/test/index-types.ts +++ b/clients/client-datasync/test/index-types.ts @@ -351,6 +351,8 @@ export type { UpdateTaskExecutionResponse, UpdateTaskRequest, UpdateTaskResponse, + InternalException, + InvalidRequestException, DataSyncServiceException, paginateListAgents, paginateListLocations, diff --git a/clients/client-datazone/src/schemas/schemas_0.ts b/clients/client-datazone/src/schemas/schemas_0.ts index 4b9034468eed..7007c684314b 100644 --- a/clients/client-datazone/src/schemas/schemas_0.ts +++ b/clients/client-datazone/src/schemas/schemas_0.ts @@ -6004,7 +6004,7 @@ export var TimeSeriesDataPointSummaryFormOutput: StaticStructureSchema = [ export var Topic: StaticStructureSchema = [3, n0, _To, 0, [_sub, _res, _ro], [0, () => NotificationResource, 0]]; export var UnauthorizedException: StaticErrorSchema = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]]; TypeRegistry.for(n0).registerError(UnauthorizedException, __UnauthorizedException); -export var Unit_n0: StaticStructureSchema = [3, n0, _U, 0, [], []]; +export var Unit: StaticStructureSchema = [3, n0, _U, 0, [], []]; export var UntagResourceRequest: StaticStructureSchema = [ 3, n0, @@ -6916,9 +6916,9 @@ export var PolicyGrantDetail: StaticStructureSchema = [ () => CreateAssetTypePolicyGrantDetail, () => CreateProjectPolicyGrantDetail, () => CreateEnvironmentProfilePolicyGrantDetail, - () => Unit_n0, - () => Unit_n0, - () => Unit_n0, + () => Unit, + () => Unit, + () => Unit, () => CreateProjectFromProjectProfilePolicyGrantDetail, () => UseAssetTypePolicyGrantDetail, ], diff --git a/clients/client-datazone/test/index-objects.spec.mjs b/clients/client-datazone/test/index-objects.spec.mjs index 5e48f1af3498..47ed2f1187cb 100644 --- a/clients/client-datazone/test/index-objects.spec.mjs +++ b/clients/client-datazone/test/index-objects.spec.mjs @@ -2,6 +2,7 @@ import { AcceptPredictionsCommand, AcceptRuleBehavior, AcceptSubscriptionRequestCommand, + AccessDeniedException, AddEntityOwnerCommand, AddPolicyGrantCommand, AssociateEnvironmentRoleCommand, @@ -17,6 +18,7 @@ import { ComputeEnvironments, ConfigurableActionTypeAuthorization, ConfigurationStatus, + ConflictException, ConnectionScope, ConnectionStatus, ConnectionType, @@ -145,6 +147,7 @@ import { GroupProfileStatus, GroupSearchType, HyperPodOrchestrator, + InternalServerException, InventorySearchScope, JobRunMode, JobRunStatus, @@ -208,6 +211,7 @@ import { RemoveEntityOwnerCommand, RemovePolicyGrantCommand, ResolutionStrategy, + ResourceNotFoundException, ResourceTagSource, RevokeSubscriptionCommand, RuleAction, @@ -222,6 +226,7 @@ import { SearchTypesCommand, SearchUserProfilesCommand, SelfGrantStatus, + ServiceQuotaExceededException, SortFieldAccountPool, SortFieldConnection, SortFieldProject, @@ -237,9 +242,11 @@ import { TagResourceCommand, TargetEntityType, TaskStatus, + ThrottlingException, TimeSeriesEntityType, Timezone, TypesSearchScope, + UnauthorizedException, UntagResourceCommand, UpdateAccountPoolCommand, UpdateAssetFilterCommand, @@ -268,6 +275,7 @@ import { UserProfileType, UserSearchType, UserType, + ValidationException, paginateListAccountPools, paginateListAccountsInAccountPool, paginateListAssetFilters, @@ -579,6 +587,14 @@ assert(typeof UserProfileType === "object"); assert(typeof UserSearchType === "object"); assert(typeof UserType === "object"); // errors +assert(AccessDeniedException.prototype instanceof DataZoneServiceException); +assert(ConflictException.prototype instanceof DataZoneServiceException); +assert(InternalServerException.prototype instanceof DataZoneServiceException); +assert(ResourceNotFoundException.prototype instanceof DataZoneServiceException); +assert(ServiceQuotaExceededException.prototype instanceof DataZoneServiceException); +assert(ThrottlingException.prototype instanceof DataZoneServiceException); +assert(UnauthorizedException.prototype instanceof DataZoneServiceException); +assert(ValidationException.prototype instanceof DataZoneServiceException); assert(DataZoneServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccountPools === "function"); diff --git a/clients/client-datazone/test/index-types.ts b/clients/client-datazone/test/index-types.ts index f0e0d6236993..520bc3853df6 100644 --- a/clients/client-datazone/test/index-types.ts +++ b/clients/client-datazone/test/index-types.ts @@ -1256,6 +1256,14 @@ export type { UserPolicyGrantPrincipal, UserProfileDetails, UserProfileSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UnauthorizedException, + ValidationException, DataZoneServiceException, paginateListAccountPools, paginateListAccountsInAccountPool, diff --git a/clients/client-dax/src/schemas/schemas_0.ts b/clients/client-dax/src/schemas/schemas_0.ts index 103ff86bfc50..613e2ea9f031 100644 --- a/clients/client-dax/src/schemas/schemas_0.ts +++ b/clients/client-dax/src/schemas/schemas_0.ts @@ -671,7 +671,6 @@ export var UpdateParameterGroupRequest: StaticStructureSchema = [ export var UpdateParameterGroupResponse: StaticStructureSchema = [3, n0, _UPGRp, 0, [_PG], [() => ParameterGroup]]; export var UpdateSubnetGroupRequest: StaticStructureSchema = [3, n0, _USGR, 0, [_SGN, _D, _SI], [0, 0, 64 | 0]]; export var UpdateSubnetGroupResponse: StaticStructureSchema = [3, n0, _USGRp, 0, [_SG], [() => SubnetGroup]]; -export var __Unit = "unit" as const; export var DAXServiceException: StaticErrorSchema = [-3, _s, "DAXServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(DAXServiceException, __DAXServiceException); export var AvailabilityZoneList = 64 | 0; diff --git a/clients/client-dax/test/index-objects.spec.mjs b/clients/client-dax/test/index-objects.spec.mjs index 42a757d9039c..16c1b1916aa2 100644 --- a/clients/client-dax/test/index-objects.spec.mjs +++ b/clients/client-dax/test/index-objects.spec.mjs @@ -1,6 +1,9 @@ import { ChangeType, + ClusterAlreadyExistsFault, ClusterEndpointEncryptionType, + ClusterNotFoundFault, + ClusterQuotaForCustomerExceededFault, CreateClusterCommand, CreateParameterGroupCommand, CreateSubnetGroupCommand, @@ -18,13 +21,38 @@ import { DescribeParametersCommand, DescribeSubnetGroupsCommand, IncreaseReplicationFactorCommand, + InsufficientClusterCapacityFault, + InvalidARNFault, + InvalidClusterStateFault, + InvalidParameterCombinationException, + InvalidParameterGroupStateFault, + InvalidParameterValueException, + InvalidSubnet, + InvalidVPCNetworkStateFault, IsModifiable, ListTagsCommand, NetworkType, + NodeNotFoundFault, + NodeQuotaForClusterExceededFault, + NodeQuotaForCustomerExceededFault, + ParameterGroupAlreadyExistsFault, + ParameterGroupNotFoundFault, + ParameterGroupQuotaExceededFault, ParameterType, RebootNodeCommand, SSEStatus, + ServiceLinkedRoleNotFoundFault, + ServiceQuotaExceededException, SourceType, + SubnetGroupAlreadyExistsFault, + SubnetGroupInUseFault, + SubnetGroupNotFoundFault, + SubnetGroupQuotaExceededFault, + SubnetInUse, + SubnetNotAllowedFault, + SubnetQuotaExceededFault, + TagNotFoundFault, + TagQuotaPerResourceExceeded, TagResourceCommand, UntagResourceCommand, UpdateClusterCommand, @@ -66,5 +94,33 @@ assert(typeof ParameterType === "object"); assert(typeof SourceType === "object"); assert(typeof SSEStatus === "object"); // errors +assert(ClusterAlreadyExistsFault.prototype instanceof DAXServiceException); +assert(ClusterNotFoundFault.prototype instanceof DAXServiceException); +assert(ClusterQuotaForCustomerExceededFault.prototype instanceof DAXServiceException); +assert(InsufficientClusterCapacityFault.prototype instanceof DAXServiceException); +assert(InvalidARNFault.prototype instanceof DAXServiceException); +assert(InvalidClusterStateFault.prototype instanceof DAXServiceException); +assert(InvalidParameterCombinationException.prototype instanceof DAXServiceException); +assert(InvalidParameterGroupStateFault.prototype instanceof DAXServiceException); +assert(InvalidParameterValueException.prototype instanceof DAXServiceException); +assert(InvalidSubnet.prototype instanceof DAXServiceException); +assert(InvalidVPCNetworkStateFault.prototype instanceof DAXServiceException); +assert(NodeNotFoundFault.prototype instanceof DAXServiceException); +assert(NodeQuotaForClusterExceededFault.prototype instanceof DAXServiceException); +assert(NodeQuotaForCustomerExceededFault.prototype instanceof DAXServiceException); +assert(ParameterGroupAlreadyExistsFault.prototype instanceof DAXServiceException); +assert(ParameterGroupNotFoundFault.prototype instanceof DAXServiceException); +assert(ParameterGroupQuotaExceededFault.prototype instanceof DAXServiceException); +assert(ServiceLinkedRoleNotFoundFault.prototype instanceof DAXServiceException); +assert(ServiceQuotaExceededException.prototype instanceof DAXServiceException); +assert(SubnetGroupAlreadyExistsFault.prototype instanceof DAXServiceException); +assert(SubnetGroupInUseFault.prototype instanceof DAXServiceException); +assert(SubnetGroupNotFoundFault.prototype instanceof DAXServiceException); +assert(SubnetGroupQuotaExceededFault.prototype instanceof DAXServiceException); +assert(SubnetInUse.prototype instanceof DAXServiceException); +assert(SubnetNotAllowedFault.prototype instanceof DAXServiceException); +assert(SubnetQuotaExceededFault.prototype instanceof DAXServiceException); +assert(TagNotFoundFault.prototype instanceof DAXServiceException); +assert(TagQuotaPerResourceExceeded.prototype instanceof DAXServiceException); assert(DAXServiceException.prototype instanceof Error); console.log(`DAX index test passed.`); diff --git a/clients/client-dax/test/index-types.ts b/clients/client-dax/test/index-types.ts index a6949ee0311f..d1c05180885e 100644 --- a/clients/client-dax/test/index-types.ts +++ b/clients/client-dax/test/index-types.ts @@ -130,5 +130,33 @@ export type { UpdateParameterGroupResponse, UpdateSubnetGroupRequest, UpdateSubnetGroupResponse, + ClusterAlreadyExistsFault, + ClusterNotFoundFault, + ClusterQuotaForCustomerExceededFault, + InsufficientClusterCapacityFault, + InvalidARNFault, + InvalidClusterStateFault, + InvalidParameterCombinationException, + InvalidParameterGroupStateFault, + InvalidParameterValueException, + InvalidSubnet, + InvalidVPCNetworkStateFault, + NodeNotFoundFault, + NodeQuotaForClusterExceededFault, + NodeQuotaForCustomerExceededFault, + ParameterGroupAlreadyExistsFault, + ParameterGroupNotFoundFault, + ParameterGroupQuotaExceededFault, + ServiceLinkedRoleNotFoundFault, + ServiceQuotaExceededException, + SubnetGroupAlreadyExistsFault, + SubnetGroupInUseFault, + SubnetGroupNotFoundFault, + SubnetGroupQuotaExceededFault, + SubnetInUse, + SubnetNotAllowedFault, + SubnetQuotaExceededFault, + TagNotFoundFault, + TagQuotaPerResourceExceeded, DAXServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-deadline/src/schemas/schemas_0.ts b/clients/client-deadline/src/schemas/schemas_0.ts index b8297c0b1bce..a4dd3df5aeb5 100644 --- a/clients/client-deadline/src/schemas/schemas_0.ts +++ b/clients/client-deadline/src/schemas/schemas_0.ts @@ -3234,7 +3234,6 @@ export var WorkerSummary: StaticStructureSchema = [ [_wI, _fI, _fIl, _st, _hP, _l, _cA, _cB, _uA, _uB], [0, 0, 0, 0, () => HostPropertiesResponse, () => LogConfiguration, 5, 0, 5, 0], ]; -export var __Unit = "unit" as const; export var DeadlineServiceException: StaticErrorSchema = [-3, _sm, "DeadlineServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(DeadlineServiceException, __DeadlineServiceException); export var AcceleratorSelections: StaticListSchema = [1, n0, _ASc, 0, () => AcceleratorSelection]; diff --git a/clients/client-deadline/test/index-objects.spec.mjs b/clients/client-deadline/test/index-objects.spec.mjs index 9587f1ce77a8..8526bfa3f24b 100644 --- a/clients/client-deadline/test/index-objects.spec.mjs +++ b/clients/client-deadline/test/index-objects.spec.mjs @@ -1,6 +1,7 @@ import { AcceleratorName, AcceleratorType, + AccessDeniedException, AssociateMemberToFarmCommand, AssociateMemberToFleetCommand, AssociateMemberToJobCommand, @@ -17,6 +18,8 @@ import { BudgetStatus, ComparisonOperator, CompletedStatus, + ConflictException, + ConflictExceptionReason, CopyJobTemplateCommand, CpuArchitectureType, CreateBudgetCommand, @@ -81,6 +84,7 @@ import { GetStorageProfileForQueueCommand, GetTaskCommand, GetWorkerCommand, + InternalServerErrorException, JobAttachmentsFileSystem, JobEntityErrorCode, JobLifecycleStatus, @@ -125,6 +129,7 @@ import { QueueFleetAssociationStatus, QueueLimitAssociationStatus, QueueStatus, + ResourceNotFoundException, RunAs, SearchJobsCommand, SearchStepsCommand, @@ -132,6 +137,8 @@ import { SearchTermMatchingType, SearchWorkersCommand, ServiceManagedFleetOperatingSystemFamily, + ServiceQuotaExceededException, + ServiceQuotaExceededExceptionReason, SessionActionStatus, SessionLifecycleStatus, SessionLifecycleTargetStatus, @@ -146,6 +153,7 @@ import { TagResourceCommand, TaskRunStatus, TaskTargetRunStatus, + ThrottlingException, UntagResourceCommand, UpdateBudgetCommand, UpdateFarmCommand, @@ -170,6 +178,8 @@ import { UsageGroupByField, UsageStatistic, UsageType, + ValidationException, + ValidationExceptionReason, WorkerStatus, paginateGetSessionsStatisticsAggregation, paginateListAvailableMeteredProducts, @@ -344,6 +354,7 @@ assert(typeof BudgetActionType === "object"); assert(typeof BudgetStatus === "object"); assert(typeof ComparisonOperator === "object"); assert(typeof CompletedStatus === "object"); +assert(typeof ConflictExceptionReason === "object"); assert(typeof CpuArchitectureType === "object"); assert(typeof CreateJobTargetTaskRunStatus === "object"); assert(typeof CustomerManagedFleetOperatingSystemFamily === "object"); @@ -372,6 +383,7 @@ assert(typeof QueueStatus === "object"); assert(typeof RunAs === "object"); assert(typeof SearchTermMatchingType === "object"); assert(typeof ServiceManagedFleetOperatingSystemFamily === "object"); +assert(typeof ServiceQuotaExceededExceptionReason === "object"); assert(typeof SessionActionStatus === "object"); assert(typeof SessionLifecycleStatus === "object"); assert(typeof SessionLifecycleTargetStatus === "object"); @@ -391,8 +403,16 @@ assert(typeof UpdateQueueLimitAssociationStatus === "object"); assert(typeof UsageGroupByField === "object"); assert(typeof UsageStatistic === "object"); assert(typeof UsageType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof WorkerStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof DeadlineServiceException); +assert(ConflictException.prototype instanceof DeadlineServiceException); +assert(InternalServerErrorException.prototype instanceof DeadlineServiceException); +assert(ResourceNotFoundException.prototype instanceof DeadlineServiceException); +assert(ServiceQuotaExceededException.prototype instanceof DeadlineServiceException); +assert(ThrottlingException.prototype instanceof DeadlineServiceException); +assert(ValidationException.prototype instanceof DeadlineServiceException); assert(DeadlineServiceException.prototype instanceof Error); // waiters assert(typeof waitForFleetActive === "function"); diff --git a/clients/client-deadline/test/index-types.ts b/clients/client-deadline/test/index-types.ts index 0e843e94fba3..73e87aeafeea 100644 --- a/clients/client-deadline/test/index-types.ts +++ b/clients/client-deadline/test/index-types.ts @@ -349,6 +349,7 @@ export type { BudgetStatus, ComparisonOperator, CompletedStatus, + ConflictExceptionReason, CpuArchitectureType, CreateJobTargetTaskRunStatus, CustomerManagedFleetOperatingSystemFamily, @@ -377,6 +378,7 @@ export type { RunAs, SearchTermMatchingType, ServiceManagedFleetOperatingSystemFamily, + ServiceQuotaExceededExceptionReason, SessionActionStatus, SessionLifecycleStatus, SessionLifecycleTargetStatus, @@ -396,6 +398,7 @@ export type { UsageGroupByField, UsageStatistic, UsageType, + ValidationExceptionReason, WorkerStatus, AcceleratorCapabilities, AcceleratorCountRange, @@ -742,6 +745,7 @@ export type { UpdateWorkerScheduleResponse, UsageTrackingResource, UserJobsFirst, + ValidationExceptionField, VCpuCountRange, VpcConfiguration, WindowsUser, @@ -751,6 +755,13 @@ export type { WorkerSearchSummary, WorkerSessionSummary, WorkerSummary, + AccessDeniedException, + ConflictException, + InternalServerErrorException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, DeadlineServiceException, waitForFleetActive, waitForJobCreateComplete, diff --git a/clients/client-detective/test/index-objects.spec.mjs b/clients/client-detective/test/index-objects.spec.mjs index 4c77a2da4b19..818f6f7001f8 100644 --- a/clients/client-detective/test/index-objects.spec.mjs +++ b/clients/client-detective/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { AcceptInvitationCommand, + AccessDeniedException, BatchGetGraphMemberDatasourcesCommand, BatchGetMembershipDatasourcesCommand, + ConflictException, CreateGraphCommand, CreateMembersCommand, DatasourcePackage, @@ -16,10 +18,12 @@ import { DisassociateMembershipCommand, EnableOrganizationAdminAccountCommand, EntityType, + ErrorCode, Field, GetInvestigationCommand, GetMembersCommand, IndicatorType, + InternalServerException, InvitationType, ListDatasourcePackagesCommand, ListGraphsCommand, @@ -33,6 +37,8 @@ import { MemberStatus, Reason, RejectInvitationCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, Severity, SortOrder, StartInvestigationCommand, @@ -40,10 +46,12 @@ import { State, Status, TagResourceCommand, + TooManyRequestsException, UntagResourceCommand, UpdateDatasourcePackagesCommand, UpdateInvestigationStateCommand, UpdateOrganizationConfigurationCommand, + ValidationException, paginateListDatasourcePackages, paginateListGraphs, paginateListInvitations, @@ -88,6 +96,7 @@ assert(typeof UpdateOrganizationConfigurationCommand === "function"); assert(typeof DatasourcePackage === "object"); assert(typeof DatasourcePackageIngestState === "object"); assert(typeof EntityType === "object"); +assert(typeof ErrorCode === "object"); assert(typeof Field === "object"); assert(typeof IndicatorType === "object"); assert(typeof InvitationType === "object"); @@ -99,6 +108,13 @@ assert(typeof SortOrder === "object"); assert(typeof State === "object"); assert(typeof Status === "object"); // errors +assert(AccessDeniedException.prototype instanceof DetectiveServiceException); +assert(ConflictException.prototype instanceof DetectiveServiceException); +assert(InternalServerException.prototype instanceof DetectiveServiceException); +assert(ResourceNotFoundException.prototype instanceof DetectiveServiceException); +assert(ServiceQuotaExceededException.prototype instanceof DetectiveServiceException); +assert(TooManyRequestsException.prototype instanceof DetectiveServiceException); +assert(ValidationException.prototype instanceof DetectiveServiceException); assert(DetectiveServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDatasourcePackages === "function"); diff --git a/clients/client-detective/test/index-types.ts b/clients/client-detective/test/index-types.ts index 20f90c0e84c3..1bfd593765a6 100644 --- a/clients/client-detective/test/index-types.ts +++ b/clients/client-detective/test/index-types.ts @@ -92,6 +92,7 @@ export type { DatasourcePackage, DatasourcePackageIngestState, EntityType, + ErrorCode, Field, IndicatorType, InvitationType, @@ -174,6 +175,13 @@ export type { UpdateDatasourcePackagesRequest, UpdateInvestigationStateRequest, UpdateOrganizationConfigurationRequest, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + TooManyRequestsException, + ValidationException, DetectiveServiceException, paginateListDatasourcePackages, paginateListGraphs, diff --git a/clients/client-device-farm/src/schemas/schemas_0.ts b/clients/client-device-farm/src/schemas/schemas_0.ts index dc0f9d36403f..d83e1382875e 100644 --- a/clients/client-device-farm/src/schemas/schemas_0.ts +++ b/clients/client-device-farm/src/schemas/schemas_0.ts @@ -1387,7 +1387,6 @@ export var Upload: StaticStructureSchema = [ ]; export var VpcConfig: StaticStructureSchema = [3, n0, _VC, 0, [_sGI, _sIu, _vI], [64 | 0, 64 | 0, 0]]; export var VPCEConfiguration: StaticStructureSchema = [3, n0, _VPCEC, 0, [_a, _vCN, _vSN, _sDN, _vCD], [0, 0, 0, 0, 0]]; -export var __Unit = "unit" as const; export var DeviceFarmServiceException: StaticErrorSchema = [-3, _sm, "DeviceFarmServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(DeviceFarmServiceException, __DeviceFarmServiceException); export var AmazonResourceNames = 64 | 0; diff --git a/clients/client-device-farm/test/index-objects.spec.mjs b/clients/client-device-farm/test/index-objects.spec.mjs index 1c83f8cfa626..9131ddeb97f2 100644 --- a/clients/client-device-farm/test/index-objects.spec.mjs +++ b/clients/client-device-farm/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + ArgumentException, ArtifactCategory, ArtifactType, BillingMethod, + CannotDeleteException, CreateDevicePoolCommand, CreateInstanceProfileCommand, CreateNetworkProfileCommand, @@ -51,9 +53,13 @@ import { GetTestGridSessionCommand, GetUploadCommand, GetVPCEConfigurationCommand, + IdempotencyException, InstallToRemoteAccessSessionCommand, InstanceStatus, InteractionMode, + InternalServiceException, + InvalidOperationException, + LimitExceededException, ListArtifactsCommand, ListDeviceInstancesCommand, ListDevicePoolsCommand, @@ -79,6 +85,8 @@ import { ListUploadsCommand, ListVPCEConfigurationsCommand, NetworkProfileType, + NotEligibleException, + NotFoundException, OfferingTransactionType, OfferingType, PurchaseOfferingCommand, @@ -87,14 +95,18 @@ import { RuleOperator, SampleType, ScheduleRunCommand, + ServiceAccountException, StopJobCommand, StopRemoteAccessSessionCommand, StopRunCommand, + TagOperationException, + TagPolicyException, TagResourceCommand, TestGridSessionArtifactCategory, TestGridSessionArtifactType, TestGridSessionStatus, TestType, + TooManyTagsException, UntagResourceCommand, UpdateDeviceInstanceCommand, UpdateDevicePoolCommand, @@ -238,6 +250,18 @@ assert(typeof UploadCategory === "object"); assert(typeof UploadStatus === "object"); assert(typeof UploadType === "object"); // errors +assert(ArgumentException.prototype instanceof DeviceFarmServiceException); +assert(CannotDeleteException.prototype instanceof DeviceFarmServiceException); +assert(IdempotencyException.prototype instanceof DeviceFarmServiceException); +assert(InternalServiceException.prototype instanceof DeviceFarmServiceException); +assert(InvalidOperationException.prototype instanceof DeviceFarmServiceException); +assert(LimitExceededException.prototype instanceof DeviceFarmServiceException); +assert(NotEligibleException.prototype instanceof DeviceFarmServiceException); +assert(NotFoundException.prototype instanceof DeviceFarmServiceException); +assert(ServiceAccountException.prototype instanceof DeviceFarmServiceException); +assert(TagOperationException.prototype instanceof DeviceFarmServiceException); +assert(TagPolicyException.prototype instanceof DeviceFarmServiceException); +assert(TooManyTagsException.prototype instanceof DeviceFarmServiceException); assert(DeviceFarmServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetOfferingStatus === "function"); diff --git a/clients/client-device-farm/test/index-types.ts b/clients/client-device-farm/test/index-types.ts index 143266805b85..b2120a27fa87 100644 --- a/clients/client-device-farm/test/index-types.ts +++ b/clients/client-device-farm/test/index-types.ts @@ -468,6 +468,18 @@ export type { Upload, VpcConfig, VPCEConfiguration, + ArgumentException, + CannotDeleteException, + IdempotencyException, + InternalServiceException, + InvalidOperationException, + LimitExceededException, + NotEligibleException, + NotFoundException, + ServiceAccountException, + TagOperationException, + TagPolicyException, + TooManyTagsException, DeviceFarmServiceException, paginateGetOfferingStatus, paginateListArtifacts, diff --git a/clients/client-devops-guru/src/schemas/schemas_0.ts b/clients/client-devops-guru/src/schemas/schemas_0.ts index 646b9ffa3b23..fb9642dfe000 100644 --- a/clients/client-devops-guru/src/schemas/schemas_0.ts +++ b/clients/client-devops-guru/src/schemas/schemas_0.ts @@ -1306,7 +1306,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_N, _M], [0, 0]]; -export var __Unit = "unit" as const; export var DevOpsGuruServiceException: StaticErrorSchema = [-3, _sm, "DevOpsGuruServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(DevOpsGuruServiceException, __DevOpsGuruServiceException); export var AccountHealths: StaticListSchema = [1, n0, _AHc, 0, () => AccountHealth]; diff --git a/clients/client-devops-guru/test/index-objects.spec.mjs b/clients/client-devops-guru/test/index-objects.spec.mjs index 60d2f729678c..965cc3953dd2 100644 --- a/clients/client-devops-guru/test/index-objects.spec.mjs +++ b/clients/client-devops-guru/test/index-objects.spec.mjs @@ -1,10 +1,12 @@ import { + AccessDeniedException, AddNotificationChannelCommand, AnomalySeverity, AnomalyStatus, AnomalyType, CloudWatchMetricDataStatusCode, CloudWatchMetricsStat, + ConflictException, CostEstimationServiceResourceState, CostEstimationStatus, DeleteInsightCommand, @@ -31,6 +33,7 @@ import { InsightSeverity, InsightStatus, InsightType, + InternalServerException, ListAnomaliesForInsightCommand, ListAnomalousLogGroupsCommand, ListEventsCommand, @@ -47,17 +50,22 @@ import { PutFeedbackCommand, RemoveNotificationChannelCommand, ResourceCollectionType, + ResourceNotFoundException, ResourcePermission, ResourceTypeFilter, SearchInsightsCommand, SearchOrganizationInsightsCommand, ServerSideEncryptionType, ServiceName, + ServiceQuotaExceededException, StartCostEstimationCommand, + ThrottlingException, UpdateEventSourcesConfigCommand, UpdateResourceCollectionAction, UpdateResourceCollectionCommand, UpdateServiceIntegrationCommand, + ValidationException, + ValidationExceptionReason, paginateDescribeOrganizationResourceCollectionHealth, paginateDescribeResourceCollectionHealth, paginateGetCostEstimation, @@ -135,7 +143,15 @@ assert(typeof ResourceTypeFilter === "object"); assert(typeof ServerSideEncryptionType === "object"); assert(typeof ServiceName === "object"); assert(typeof UpdateResourceCollectionAction === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof DevOpsGuruServiceException); +assert(ConflictException.prototype instanceof DevOpsGuruServiceException); +assert(InternalServerException.prototype instanceof DevOpsGuruServiceException); +assert(ResourceNotFoundException.prototype instanceof DevOpsGuruServiceException); +assert(ServiceQuotaExceededException.prototype instanceof DevOpsGuruServiceException); +assert(ThrottlingException.prototype instanceof DevOpsGuruServiceException); +assert(ValidationException.prototype instanceof DevOpsGuruServiceException); assert(DevOpsGuruServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeOrganizationResourceCollectionHealth === "function"); diff --git a/clients/client-devops-guru/test/index-types.ts b/clients/client-devops-guru/test/index-types.ts index 741a40c6b0ee..abaad620bd00 100644 --- a/clients/client-devops-guru/test/index-types.ts +++ b/clients/client-devops-guru/test/index-types.ts @@ -120,6 +120,7 @@ export type { ServerSideEncryptionType, ServiceName, UpdateResourceCollectionAction, + ValidationExceptionReason, AccountHealth, AccountInsightHealth, AddNotificationChannelRequest, @@ -273,6 +274,14 @@ export type { UpdateServiceIntegrationRequest, UpdateServiceIntegrationResponse, UpdateTagCollectionFilter, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, DevOpsGuruServiceException, paginateDescribeOrganizationResourceCollectionHealth, paginateDescribeResourceCollectionHealth, diff --git a/clients/client-direct-connect/test/index-objects.spec.mjs b/clients/client-direct-connect/test/index-objects.spec.mjs index 072d953e4145..a8577ce45043 100644 --- a/clients/client-direct-connect/test/index-objects.spec.mjs +++ b/clients/client-direct-connect/test/index-objects.spec.mjs @@ -56,14 +56,17 @@ import { DescribeVirtualInterfacesCommand, DirectConnect, DirectConnectClient, + DirectConnectClientException, DirectConnectGatewayAssociationProposalState, DirectConnectGatewayAssociationState, DirectConnectGatewayAttachmentState, DirectConnectGatewayAttachmentType, DirectConnectGatewayState, + DirectConnectServerException, DirectConnectServiceException, DisassociateConnectionFromLagCommand, DisassociateMacSecKeyCommand, + DuplicateTagKeysException, GatewayType, HasLogicalRedundancy, InterconnectState, @@ -74,6 +77,7 @@ import { StartBgpFailoverTestCommand, StopBgpFailoverTestCommand, TagResourceCommand, + TooManyTagsException, UntagResourceCommand, UpdateConnectionCommand, UpdateDirectConnectGatewayAssociationCommand, @@ -168,5 +172,9 @@ assert(typeof LoaContentType === "object"); assert(typeof NniPartnerType === "object"); assert(typeof VirtualInterfaceState === "object"); // errors +assert(DirectConnectClientException.prototype instanceof DirectConnectServiceException); +assert(DirectConnectServerException.prototype instanceof DirectConnectServiceException); +assert(DuplicateTagKeysException.prototype instanceof DirectConnectServiceException); +assert(TooManyTagsException.prototype instanceof DirectConnectServiceException); assert(DirectConnectServiceException.prototype instanceof Error); console.log(`DirectConnect index test passed.`); diff --git a/clients/client-direct-connect/test/index-types.ts b/clients/client-direct-connect/test/index-types.ts index e9b63f3d9d3c..e3d18878dfe8 100644 --- a/clients/client-direct-connect/test/index-types.ts +++ b/clients/client-direct-connect/test/index-types.ts @@ -337,5 +337,9 @@ export type { VirtualInterface, VirtualInterfaces, VirtualInterfaceTestHistory, + DirectConnectClientException, + DirectConnectServerException, + DuplicateTagKeysException, + TooManyTagsException, DirectConnectServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-directory-service-data/src/schemas/schemas_0.ts b/clients/client-directory-service-data/src/schemas/schemas_0.ts index 025cebdd550e..3dc10b050149 100644 --- a/clients/client-directory-service-data/src/schemas/schemas_0.ts +++ b/clients/client-directory-service-data/src/schemas/schemas_0.ts @@ -451,7 +451,6 @@ export var UserSummary: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var DirectoryServiceDataServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-directory-service-data/test/index-objects.spec.mjs b/clients/client-directory-service-data/test/index-objects.spec.mjs index 9fc73ce19da3..1f1556ddb982 100644 --- a/clients/client-directory-service-data/test/index-objects.spec.mjs +++ b/clients/client-directory-service-data/test/index-objects.spec.mjs @@ -1,5 +1,8 @@ import { + AccessDeniedException, + AccessDeniedReason, AddGroupMemberCommand, + ConflictException, CreateGroupCommand, CreateUserCommand, DeleteGroupCommand, @@ -9,20 +12,27 @@ import { DirectoryServiceData, DirectoryServiceDataClient, DirectoryServiceDataServiceException, + DirectoryUnavailableException, + DirectoryUnavailableReason, DisableUserCommand, GroupScope, GroupType, + InternalServerException, ListGroupMembersCommand, ListGroupsCommand, ListGroupsForMemberCommand, ListUsersCommand, MemberType, RemoveGroupMemberCommand, + ResourceNotFoundException, SearchGroupsCommand, SearchUsersCommand, + ThrottlingException, UpdateGroupCommand, UpdateType, UpdateUserCommand, + ValidationException, + ValidationExceptionReason, paginateListGroupMembers, paginateListGroups, paginateListGroupsForMember, @@ -53,11 +63,21 @@ assert(typeof SearchUsersCommand === "function"); assert(typeof UpdateGroupCommand === "function"); assert(typeof UpdateUserCommand === "function"); // enums +assert(typeof AccessDeniedReason === "object"); +assert(typeof DirectoryUnavailableReason === "object"); assert(typeof GroupScope === "object"); assert(typeof GroupType === "object"); assert(typeof MemberType === "object"); assert(typeof UpdateType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof DirectoryServiceDataServiceException); +assert(ConflictException.prototype instanceof DirectoryServiceDataServiceException); +assert(DirectoryUnavailableException.prototype instanceof DirectoryServiceDataServiceException); +assert(InternalServerException.prototype instanceof DirectoryServiceDataServiceException); +assert(ResourceNotFoundException.prototype instanceof DirectoryServiceDataServiceException); +assert(ThrottlingException.prototype instanceof DirectoryServiceDataServiceException); +assert(ValidationException.prototype instanceof DirectoryServiceDataServiceException); assert(DirectoryServiceDataServiceException.prototype instanceof Error); // paginators assert(typeof paginateListGroupMembers === "function"); diff --git a/clients/client-directory-service-data/test/index-types.ts b/clients/client-directory-service-data/test/index-types.ts index 83f442ecbc28..883a236c4f2d 100644 --- a/clients/client-directory-service-data/test/index-types.ts +++ b/clients/client-directory-service-data/test/index-types.ts @@ -53,10 +53,13 @@ export type { UpdateUserCommand, UpdateUserCommandInput, UpdateUserCommandOutput, + AccessDeniedReason, + DirectoryUnavailableReason, GroupScope, GroupType, MemberType, UpdateType, + ValidationExceptionReason, AddGroupMemberRequest, AddGroupMemberResult, AttributeValue, @@ -97,6 +100,13 @@ export type { UpdateUserResult, User, UserSummary, + AccessDeniedException, + ConflictException, + DirectoryUnavailableException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, DirectoryServiceDataServiceException, paginateListGroupMembers, paginateListGroups, diff --git a/clients/client-directory-service/src/schemas/schemas_0.ts b/clients/client-directory-service/src/schemas/schemas_0.ts index c9f8dc82d748..b244870a9901 100644 --- a/clients/client-directory-service/src/schemas/schemas_0.ts +++ b/clients/client-directory-service/src/schemas/schemas_0.ts @@ -1383,7 +1383,6 @@ export var UserDoesNotExistException: StaticErrorSchema = [-3, n0, _UDNEE, { [_e TypeRegistry.for(n0).registerError(UserDoesNotExistException, __UserDoesNotExistException); export var VerifyTrustRequest: StaticStructureSchema = [3, n0, _VTR, 0, [_TI], [0]]; export var VerifyTrustResult: StaticStructureSchema = [3, n0, _VTRe, 0, [_TI], [0]]; -export var __Unit = "unit" as const; export var DirectoryServiceServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-directory-service/test/index-objects.spec.mjs b/clients/client-directory-service/test/index-objects.spec.mjs index 30ed9bbca2de..0dc9c1c6620d 100644 --- a/clients/client-directory-service/test/index-objects.spec.mjs +++ b/clients/client-directory-service/test/index-objects.spec.mjs @@ -1,14 +1,22 @@ import { + ADAssessmentLimitExceededException, AcceptSharedDirectoryCommand, + AccessDeniedException, AddIpRoutesCommand, AddRegionCommand, AddTagsToResourceCommand, + AuthenticationFailedException, CaEnrollmentPolicyStatus, CancelSchemaExtensionCommand, + CertificateAlreadyExistsException, + CertificateDoesNotExistException, + CertificateInUseException, + CertificateLimitExceededException, CertificateState, CertificateType, ClientAuthenticationStatus, ClientAuthenticationType, + ClientException, ConnectDirectoryCommand, CreateAliasCommand, CreateComputerCommand, @@ -45,30 +53,52 @@ import { DescribeSnapshotsCommand, DescribeTrustsCommand, DescribeUpdateDirectoryCommand, + DirectoryAlreadyInRegionException, + DirectoryAlreadySharedException, DirectoryConfigurationStatus, + DirectoryDoesNotExistException, DirectoryEdition, + DirectoryInDesiredStateException, + DirectoryLimitExceededException, + DirectoryNotSharedException, DirectoryService, DirectoryServiceClient, DirectoryServiceServiceException, DirectorySize, DirectoryStage, DirectoryType, + DirectoryUnavailableException, + DisableAlreadyInProgressException, DisableCAEnrollmentPolicyCommand, DisableClientAuthenticationCommand, DisableDirectoryDataAccessCommand, DisableLDAPSCommand, DisableRadiusCommand, DisableSsoCommand, + DomainControllerLimitExceededException, DomainControllerStatus, + EnableAlreadyInProgressException, EnableCAEnrollmentPolicyCommand, EnableClientAuthenticationCommand, EnableDirectoryDataAccessCommand, EnableLDAPSCommand, EnableRadiusCommand, EnableSsoCommand, + EntityAlreadyExistsException, + EntityDoesNotExistException, GetDirectoryLimitsCommand, GetSnapshotLimitsCommand, HybridUpdateType, + IncompatibleSettingsException, + InsufficientPermissionsException, + InvalidCertificateException, + InvalidClientAuthStatusException, + InvalidLDAPSStatusException, + InvalidNextTokenException, + InvalidParameterException, + InvalidPasswordException, + InvalidTargetException, + IpRouteLimitExceededException, IpRouteStatusMsg, LDAPSStatus, LDAPSType, @@ -79,9 +109,12 @@ import { ListSchemaExtensionsCommand, ListTagsForResourceCommand, NetworkType, + NoAvailableCertificateException, OSVersion, + OrganizationsException, RadiusAuthenticationProtocol, RadiusStatus, + RegionLimitExceededException, RegionType, RegisterCertificateCommand, RegisterEventTopicCommand, @@ -94,19 +127,25 @@ import { RestoreFromSnapshotCommand, SchemaExtensionStatus, SelectiveAuth, + ServiceException, ShareDirectoryCommand, + ShareLimitExceededException, ShareMethod, ShareStatus, + SnapshotLimitExceededException, SnapshotStatus, SnapshotType, StartADAssessmentCommand, StartSchemaExtensionCommand, + TagLimitExceededException, TargetType, TopicStatus, TrustDirection, TrustState, TrustType, UnshareDirectoryCommand, + UnsupportedOperationException, + UnsupportedSettingsException, UpdateConditionalForwarderCommand, UpdateDirectorySetupCommand, UpdateHybridADCommand, @@ -116,6 +155,7 @@ import { UpdateStatus, UpdateTrustCommand, UpdateType, + UserDoesNotExistException, VerifyTrustCommand, paginateDescribeClientAuthenticationSettings, paginateDescribeDirectories, @@ -257,6 +297,46 @@ assert(typeof TrustType === "object"); assert(typeof UpdateStatus === "object"); assert(typeof UpdateType === "object"); // errors +assert(AccessDeniedException.prototype instanceof DirectoryServiceServiceException); +assert(ADAssessmentLimitExceededException.prototype instanceof DirectoryServiceServiceException); +assert(AuthenticationFailedException.prototype instanceof DirectoryServiceServiceException); +assert(CertificateAlreadyExistsException.prototype instanceof DirectoryServiceServiceException); +assert(CertificateDoesNotExistException.prototype instanceof DirectoryServiceServiceException); +assert(CertificateInUseException.prototype instanceof DirectoryServiceServiceException); +assert(CertificateLimitExceededException.prototype instanceof DirectoryServiceServiceException); +assert(ClientException.prototype instanceof DirectoryServiceServiceException); +assert(DirectoryAlreadyInRegionException.prototype instanceof DirectoryServiceServiceException); +assert(DirectoryAlreadySharedException.prototype instanceof DirectoryServiceServiceException); +assert(DirectoryDoesNotExistException.prototype instanceof DirectoryServiceServiceException); +assert(DirectoryInDesiredStateException.prototype instanceof DirectoryServiceServiceException); +assert(DirectoryLimitExceededException.prototype instanceof DirectoryServiceServiceException); +assert(DirectoryNotSharedException.prototype instanceof DirectoryServiceServiceException); +assert(DirectoryUnavailableException.prototype instanceof DirectoryServiceServiceException); +assert(DisableAlreadyInProgressException.prototype instanceof DirectoryServiceServiceException); +assert(DomainControllerLimitExceededException.prototype instanceof DirectoryServiceServiceException); +assert(EnableAlreadyInProgressException.prototype instanceof DirectoryServiceServiceException); +assert(EntityAlreadyExistsException.prototype instanceof DirectoryServiceServiceException); +assert(EntityDoesNotExistException.prototype instanceof DirectoryServiceServiceException); +assert(IncompatibleSettingsException.prototype instanceof DirectoryServiceServiceException); +assert(InsufficientPermissionsException.prototype instanceof DirectoryServiceServiceException); +assert(InvalidCertificateException.prototype instanceof DirectoryServiceServiceException); +assert(InvalidClientAuthStatusException.prototype instanceof DirectoryServiceServiceException); +assert(InvalidLDAPSStatusException.prototype instanceof DirectoryServiceServiceException); +assert(InvalidNextTokenException.prototype instanceof DirectoryServiceServiceException); +assert(InvalidParameterException.prototype instanceof DirectoryServiceServiceException); +assert(InvalidPasswordException.prototype instanceof DirectoryServiceServiceException); +assert(InvalidTargetException.prototype instanceof DirectoryServiceServiceException); +assert(IpRouteLimitExceededException.prototype instanceof DirectoryServiceServiceException); +assert(NoAvailableCertificateException.prototype instanceof DirectoryServiceServiceException); +assert(OrganizationsException.prototype instanceof DirectoryServiceServiceException); +assert(RegionLimitExceededException.prototype instanceof DirectoryServiceServiceException); +assert(ServiceException.prototype instanceof DirectoryServiceServiceException); +assert(ShareLimitExceededException.prototype instanceof DirectoryServiceServiceException); +assert(SnapshotLimitExceededException.prototype instanceof DirectoryServiceServiceException); +assert(TagLimitExceededException.prototype instanceof DirectoryServiceServiceException); +assert(UnsupportedOperationException.prototype instanceof DirectoryServiceServiceException); +assert(UnsupportedSettingsException.prototype instanceof DirectoryServiceServiceException); +assert(UserDoesNotExistException.prototype instanceof DirectoryServiceServiceException); assert(DirectoryServiceServiceException.prototype instanceof Error); // waiters assert(typeof waitForHybridADUpdated === "function"); diff --git a/clients/client-directory-service/test/index-types.ts b/clients/client-directory-service/test/index-types.ts index c58ee857c281..fe8fa2ea5cb4 100644 --- a/clients/client-directory-service/test/index-types.ts +++ b/clients/client-directory-service/test/index-types.ts @@ -486,6 +486,46 @@ export type { UpdateValue, VerifyTrustRequest, VerifyTrustResult, + AccessDeniedException, + ADAssessmentLimitExceededException, + AuthenticationFailedException, + CertificateAlreadyExistsException, + CertificateDoesNotExistException, + CertificateInUseException, + CertificateLimitExceededException, + ClientException, + DirectoryAlreadyInRegionException, + DirectoryAlreadySharedException, + DirectoryDoesNotExistException, + DirectoryInDesiredStateException, + DirectoryLimitExceededException, + DirectoryNotSharedException, + DirectoryUnavailableException, + DisableAlreadyInProgressException, + DomainControllerLimitExceededException, + EnableAlreadyInProgressException, + EntityAlreadyExistsException, + EntityDoesNotExistException, + IncompatibleSettingsException, + InsufficientPermissionsException, + InvalidCertificateException, + InvalidClientAuthStatusException, + InvalidLDAPSStatusException, + InvalidNextTokenException, + InvalidParameterException, + InvalidPasswordException, + InvalidTargetException, + IpRouteLimitExceededException, + NoAvailableCertificateException, + OrganizationsException, + RegionLimitExceededException, + ServiceException, + ShareLimitExceededException, + SnapshotLimitExceededException, + TagLimitExceededException, + UnsupportedOperationException, + UnsupportedSettingsException, + UserDoesNotExistException, DirectoryServiceServiceException, waitForHybridADUpdated, waitUntilHybridADUpdated, diff --git a/clients/client-dlm/src/schemas/schemas_0.ts b/clients/client-dlm/src/schemas/schemas_0.ts index d731c598849b..382dbe6fcb83 100644 --- a/clients/client-dlm/src/schemas/schemas_0.ts +++ b/clients/client-dlm/src/schemas/schemas_0.ts @@ -377,7 +377,6 @@ export var UpdateLifecyclePolicyRequest: StaticStructureSchema = [ [[0, 1], 0, 0, 0, () => PolicyDetails, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions], ]; export var UpdateLifecyclePolicyResponse: StaticStructureSchema = [3, n0, _ULPRp, 0, [], []]; -export var __Unit = "unit" as const; export var DLMServiceException: StaticErrorSchema = [-3, _sm, "DLMServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(DLMServiceException, __DLMServiceException); export var ActionList: StaticListSchema = [1, n0, _AL, 0, () => Action]; diff --git a/clients/client-dlm/test/index-objects.spec.mjs b/clients/client-dlm/test/index-objects.spec.mjs index f758e2c66f1e..30144f9dd227 100644 --- a/clients/client-dlm/test/index-objects.spec.mjs +++ b/clients/client-dlm/test/index-objects.spec.mjs @@ -12,12 +12,16 @@ import { GetLifecyclePoliciesCommand, GetLifecyclePolicyCommand, GettablePolicyStateValues, + InternalServerException, IntervalUnitValues, + InvalidRequestException, + LimitExceededException, ListTagsForResourceCommand, LocationValues, PolicyLanguageValues, PolicyTypeValues, ResourceLocationValues, + ResourceNotFoundException, ResourceTypeValues, RetentionIntervalUnitValues, SettablePolicyStateValues, @@ -56,5 +60,9 @@ assert(typeof RetentionIntervalUnitValues === "object"); assert(typeof SettablePolicyStateValues === "object"); assert(typeof StageValues === "object"); // errors +assert(InternalServerException.prototype instanceof DLMServiceException); +assert(InvalidRequestException.prototype instanceof DLMServiceException); +assert(LimitExceededException.prototype instanceof DLMServiceException); +assert(ResourceNotFoundException.prototype instanceof DLMServiceException); assert(DLMServiceException.prototype instanceof Error); console.log(`DLM index test passed.`); diff --git a/clients/client-dlm/test/index-types.ts b/clients/client-dlm/test/index-types.ts index 4c05d5944082..472d89035ac0 100644 --- a/clients/client-dlm/test/index-types.ts +++ b/clients/client-dlm/test/index-types.ts @@ -82,5 +82,9 @@ export type { UntagResourceResponse, UpdateLifecyclePolicyRequest, UpdateLifecyclePolicyResponse, + InternalServerException, + InvalidRequestException, + LimitExceededException, + ResourceNotFoundException, DLMServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-docdb-elastic/test/index-objects.spec.mjs b/clients/client-docdb-elastic/test/index-objects.spec.mjs index 3c056df589f7..04be49289240 100644 --- a/clients/client-docdb-elastic/test/index-objects.spec.mjs +++ b/clients/client-docdb-elastic/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, ApplyPendingMaintenanceActionCommand, Auth, + ConflictException, CopyClusterSnapshotCommand, CreateClusterCommand, CreateClusterSnapshotCommand, @@ -12,19 +14,25 @@ import { GetClusterCommand, GetClusterSnapshotCommand, GetPendingMaintenanceActionCommand, + InternalServerException, ListClusterSnapshotsCommand, ListClustersCommand, ListPendingMaintenanceActionsCommand, ListTagsForResourceCommand, OptInType, + ResourceNotFoundException, RestoreClusterFromSnapshotCommand, + ServiceQuotaExceededException, SnapshotType, StartClusterCommand, Status, StopClusterCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateClusterCommand, + ValidationException, + ValidationExceptionReason, paginateListClusterSnapshots, paginateListClusters, paginateListPendingMaintenanceActions, @@ -58,7 +66,15 @@ assert(typeof Auth === "object"); assert(typeof OptInType === "object"); assert(typeof SnapshotType === "object"); assert(typeof Status === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof DocDBElasticServiceException); +assert(ConflictException.prototype instanceof DocDBElasticServiceException); +assert(InternalServerException.prototype instanceof DocDBElasticServiceException); +assert(ResourceNotFoundException.prototype instanceof DocDBElasticServiceException); +assert(ServiceQuotaExceededException.prototype instanceof DocDBElasticServiceException); +assert(ThrottlingException.prototype instanceof DocDBElasticServiceException); +assert(ValidationException.prototype instanceof DocDBElasticServiceException); assert(DocDBElasticServiceException.prototype instanceof Error); // paginators assert(typeof paginateListClusterSnapshots === "function"); diff --git a/clients/client-docdb-elastic/test/index-types.ts b/clients/client-docdb-elastic/test/index-types.ts index 73ba2da4b76f..ed736173dec4 100644 --- a/clients/client-docdb-elastic/test/index-types.ts +++ b/clients/client-docdb-elastic/test/index-types.ts @@ -63,6 +63,7 @@ export type { OptInType, SnapshotType, Status, + ValidationExceptionReason, ApplyPendingMaintenanceActionInput, ApplyPendingMaintenanceActionOutput, Cluster, @@ -108,6 +109,14 @@ export type { UntagResourceResponse, UpdateClusterInput, UpdateClusterOutput, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, DocDBElasticServiceException, paginateListClusterSnapshots, paginateListClusters, diff --git a/clients/client-docdb/test/index-objects.spec.mjs b/clients/client-docdb/test/index-objects.spec.mjs index 45452819cb71..31cdfddbce5e 100644 --- a/clients/client-docdb/test/index-objects.spec.mjs +++ b/clients/client-docdb/test/index-objects.spec.mjs @@ -3,6 +3,8 @@ import { AddTagsToResourceCommand, ApplyMethod, ApplyPendingMaintenanceActionCommand, + AuthorizationNotFoundFault, + CertificateNotFoundFault, CopyDBClusterParameterGroupCommand, CopyDBClusterSnapshotCommand, CreateDBClusterCommand, @@ -12,6 +14,26 @@ import { CreateDBSubnetGroupCommand, CreateEventSubscriptionCommand, CreateGlobalClusterCommand, + DBClusterAlreadyExistsFault, + DBClusterNotFoundFault, + DBClusterParameterGroupNotFoundFault, + DBClusterQuotaExceededFault, + DBClusterSnapshotAlreadyExistsFault, + DBClusterSnapshotNotFoundFault, + DBInstanceAlreadyExistsFault, + DBInstanceNotFoundFault, + DBParameterGroupAlreadyExistsFault, + DBParameterGroupNotFoundFault, + DBParameterGroupQuotaExceededFault, + DBSecurityGroupNotFoundFault, + DBSnapshotAlreadyExistsFault, + DBSnapshotNotFoundFault, + DBSubnetGroupAlreadyExistsFault, + DBSubnetGroupDoesNotCoverEnoughAZs, + DBSubnetGroupNotFoundFault, + DBSubnetGroupQuotaExceededFault, + DBSubnetQuotaExceededFault, + DBUpgradeDependencyFailureFault, DeleteDBClusterCommand, DeleteDBClusterParameterGroupCommand, DeleteDBClusterSnapshotCommand, @@ -38,10 +60,32 @@ import { DocDB, DocDBClient, DocDBServiceException, + EventSubscriptionQuotaExceededFault, FailoverDBClusterCommand, FailoverGlobalClusterCommand, FailoverStatus, + GlobalClusterAlreadyExistsFault, GlobalClusterMemberSynchronizationStatus, + GlobalClusterNotFoundFault, + GlobalClusterQuotaExceededFault, + InstanceQuotaExceededFault, + InsufficientDBClusterCapacityFault, + InsufficientDBInstanceCapacityFault, + InsufficientStorageClusterCapacityFault, + InvalidDBClusterSnapshotStateFault, + InvalidDBClusterStateFault, + InvalidDBInstanceStateFault, + InvalidDBParameterGroupStateFault, + InvalidDBSecurityGroupStateFault, + InvalidDBSnapshotStateFault, + InvalidDBSubnetGroupStateFault, + InvalidDBSubnetStateFault, + InvalidEventSubscriptionStateFault, + InvalidGlobalClusterStateFault, + InvalidRestoreFault, + InvalidSubnet, + InvalidVPCNetworkStateFault, + KMSKeyNotAccessibleFault, ListTagsForResourceCommand, ModifyDBClusterCommand, ModifyDBClusterParameterGroupCommand, @@ -50,16 +94,30 @@ import { ModifyDBSubnetGroupCommand, ModifyEventSubscriptionCommand, ModifyGlobalClusterCommand, + NetworkTypeNotSupported, RebootDBInstanceCommand, RemoveFromGlobalClusterCommand, RemoveSourceIdentifierFromSubscriptionCommand, RemoveTagsFromResourceCommand, ResetDBClusterParameterGroupCommand, + ResourceNotFoundFault, RestoreDBClusterFromSnapshotCommand, RestoreDBClusterToPointInTimeCommand, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, + SNSTopicArnNotFoundFault, + SharedSnapshotQuotaExceededFault, + SnapshotQuotaExceededFault, + SourceNotFoundFault, SourceType, StartDBClusterCommand, StopDBClusterCommand, + StorageQuotaExceededFault, + StorageTypeNotSupportedFault, + SubnetAlreadyInUse, + SubscriptionAlreadyExistFault, + SubscriptionCategoryNotFoundFault, + SubscriptionNotFoundFault, SwitchoverGlobalClusterCommand, paginateDescribeCertificates, paginateDescribeDBClusterParameterGroups, @@ -145,6 +203,64 @@ assert(typeof FailoverStatus === "object"); assert(typeof GlobalClusterMemberSynchronizationStatus === "object"); assert(typeof SourceType === "object"); // errors +assert(AuthorizationNotFoundFault.prototype instanceof DocDBServiceException); +assert(CertificateNotFoundFault.prototype instanceof DocDBServiceException); +assert(DBClusterAlreadyExistsFault.prototype instanceof DocDBServiceException); +assert(DBClusterNotFoundFault.prototype instanceof DocDBServiceException); +assert(DBClusterParameterGroupNotFoundFault.prototype instanceof DocDBServiceException); +assert(DBClusterQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(DBClusterSnapshotAlreadyExistsFault.prototype instanceof DocDBServiceException); +assert(DBClusterSnapshotNotFoundFault.prototype instanceof DocDBServiceException); +assert(DBInstanceAlreadyExistsFault.prototype instanceof DocDBServiceException); +assert(DBInstanceNotFoundFault.prototype instanceof DocDBServiceException); +assert(DBParameterGroupAlreadyExistsFault.prototype instanceof DocDBServiceException); +assert(DBParameterGroupNotFoundFault.prototype instanceof DocDBServiceException); +assert(DBParameterGroupQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(DBSecurityGroupNotFoundFault.prototype instanceof DocDBServiceException); +assert(DBSnapshotAlreadyExistsFault.prototype instanceof DocDBServiceException); +assert(DBSnapshotNotFoundFault.prototype instanceof DocDBServiceException); +assert(DBSubnetGroupAlreadyExistsFault.prototype instanceof DocDBServiceException); +assert(DBSubnetGroupDoesNotCoverEnoughAZs.prototype instanceof DocDBServiceException); +assert(DBSubnetGroupNotFoundFault.prototype instanceof DocDBServiceException); +assert(DBSubnetGroupQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(DBSubnetQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(DBUpgradeDependencyFailureFault.prototype instanceof DocDBServiceException); +assert(EventSubscriptionQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(GlobalClusterAlreadyExistsFault.prototype instanceof DocDBServiceException); +assert(GlobalClusterNotFoundFault.prototype instanceof DocDBServiceException); +assert(GlobalClusterQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(InstanceQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(InsufficientDBClusterCapacityFault.prototype instanceof DocDBServiceException); +assert(InsufficientDBInstanceCapacityFault.prototype instanceof DocDBServiceException); +assert(InsufficientStorageClusterCapacityFault.prototype instanceof DocDBServiceException); +assert(InvalidDBClusterSnapshotStateFault.prototype instanceof DocDBServiceException); +assert(InvalidDBClusterStateFault.prototype instanceof DocDBServiceException); +assert(InvalidDBInstanceStateFault.prototype instanceof DocDBServiceException); +assert(InvalidDBParameterGroupStateFault.prototype instanceof DocDBServiceException); +assert(InvalidDBSecurityGroupStateFault.prototype instanceof DocDBServiceException); +assert(InvalidDBSnapshotStateFault.prototype instanceof DocDBServiceException); +assert(InvalidDBSubnetGroupStateFault.prototype instanceof DocDBServiceException); +assert(InvalidDBSubnetStateFault.prototype instanceof DocDBServiceException); +assert(InvalidEventSubscriptionStateFault.prototype instanceof DocDBServiceException); +assert(InvalidGlobalClusterStateFault.prototype instanceof DocDBServiceException); +assert(InvalidRestoreFault.prototype instanceof DocDBServiceException); +assert(InvalidSubnet.prototype instanceof DocDBServiceException); +assert(InvalidVPCNetworkStateFault.prototype instanceof DocDBServiceException); +assert(KMSKeyNotAccessibleFault.prototype instanceof DocDBServiceException); +assert(NetworkTypeNotSupported.prototype instanceof DocDBServiceException); +assert(ResourceNotFoundFault.prototype instanceof DocDBServiceException); +assert(SharedSnapshotQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(SnapshotQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(SNSInvalidTopicFault.prototype instanceof DocDBServiceException); +assert(SNSNoAuthorizationFault.prototype instanceof DocDBServiceException); +assert(SNSTopicArnNotFoundFault.prototype instanceof DocDBServiceException); +assert(SourceNotFoundFault.prototype instanceof DocDBServiceException); +assert(StorageQuotaExceededFault.prototype instanceof DocDBServiceException); +assert(StorageTypeNotSupportedFault.prototype instanceof DocDBServiceException); +assert(SubnetAlreadyInUse.prototype instanceof DocDBServiceException); +assert(SubscriptionAlreadyExistFault.prototype instanceof DocDBServiceException); +assert(SubscriptionCategoryNotFoundFault.prototype instanceof DocDBServiceException); +assert(SubscriptionNotFoundFault.prototype instanceof DocDBServiceException); assert(DocDBServiceException.prototype instanceof Error); // waiters assert(typeof waitForDBInstanceAvailable === "function"); diff --git a/clients/client-docdb/test/index-types.ts b/clients/client-docdb/test/index-types.ts index d774f8d7beed..db8712683381 100644 --- a/clients/client-docdb/test/index-types.ts +++ b/clients/client-docdb/test/index-types.ts @@ -314,6 +314,64 @@ export type { TagListMessage, UpgradeTarget, VpcSecurityGroupMembership, + AuthorizationNotFoundFault, + CertificateNotFoundFault, + DBClusterAlreadyExistsFault, + DBClusterNotFoundFault, + DBClusterParameterGroupNotFoundFault, + DBClusterQuotaExceededFault, + DBClusterSnapshotAlreadyExistsFault, + DBClusterSnapshotNotFoundFault, + DBInstanceAlreadyExistsFault, + DBInstanceNotFoundFault, + DBParameterGroupAlreadyExistsFault, + DBParameterGroupNotFoundFault, + DBParameterGroupQuotaExceededFault, + DBSecurityGroupNotFoundFault, + DBSnapshotAlreadyExistsFault, + DBSnapshotNotFoundFault, + DBSubnetGroupAlreadyExistsFault, + DBSubnetGroupDoesNotCoverEnoughAZs, + DBSubnetGroupNotFoundFault, + DBSubnetGroupQuotaExceededFault, + DBSubnetQuotaExceededFault, + DBUpgradeDependencyFailureFault, + EventSubscriptionQuotaExceededFault, + GlobalClusterAlreadyExistsFault, + GlobalClusterNotFoundFault, + GlobalClusterQuotaExceededFault, + InstanceQuotaExceededFault, + InsufficientDBClusterCapacityFault, + InsufficientDBInstanceCapacityFault, + InsufficientStorageClusterCapacityFault, + InvalidDBClusterSnapshotStateFault, + InvalidDBClusterStateFault, + InvalidDBInstanceStateFault, + InvalidDBParameterGroupStateFault, + InvalidDBSecurityGroupStateFault, + InvalidDBSnapshotStateFault, + InvalidDBSubnetGroupStateFault, + InvalidDBSubnetStateFault, + InvalidEventSubscriptionStateFault, + InvalidGlobalClusterStateFault, + InvalidRestoreFault, + InvalidSubnet, + InvalidVPCNetworkStateFault, + KMSKeyNotAccessibleFault, + NetworkTypeNotSupported, + ResourceNotFoundFault, + SharedSnapshotQuotaExceededFault, + SnapshotQuotaExceededFault, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, + SNSTopicArnNotFoundFault, + SourceNotFoundFault, + StorageQuotaExceededFault, + StorageTypeNotSupportedFault, + SubnetAlreadyInUse, + SubscriptionAlreadyExistFault, + SubscriptionCategoryNotFoundFault, + SubscriptionNotFoundFault, DocDBServiceException, waitForDBInstanceAvailable, waitForDBInstanceDeleted, diff --git a/clients/client-drs/test/index-objects.spec.mjs b/clients/client-drs/test/index-objects.spec.mjs index 4b930f7420f4..dc7bc39b4639 100644 --- a/clients/client-drs/test/index-objects.spec.mjs +++ b/clients/client-drs/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, AssociateSourceNetworkStackCommand, + ConflictException, CreateExtendedSourceServerCommand, CreateLaunchConfigurationTemplateCommand, CreateReplicationConfigurationTemplateCommand, @@ -39,6 +41,7 @@ import { GetReplicationConfigurationCommand, InitializeServiceCommand, InitiatedBy, + InternalServerException, JobLogEvent, JobStatus, JobType, @@ -69,8 +72,10 @@ import { ReplicationConfigurationReplicatedDiskStagingDiskType, ReplicationDirection, ReplicationStatus, + ResourceNotFoundException, RetryDataReplicationCommand, ReverseReplicationCommand, + ServiceQuotaExceededException, StartFailbackLaunchCommand, StartRecoveryCommand, StartReplicationCommand, @@ -82,12 +87,16 @@ import { TagResourceCommand, TargetInstanceTypeRightSizingMethod, TerminateRecoveryInstancesCommand, + ThrottlingException, + UninitializedAccountException, UntagResourceCommand, UpdateFailbackReplicationConfigurationCommand, UpdateLaunchConfigurationCommand, UpdateLaunchConfigurationTemplateCommand, UpdateReplicationConfigurationCommand, UpdateReplicationConfigurationTemplateCommand, + ValidationException, + ValidationExceptionReason, VolumeStatus, paginateDescribeJobLogItems, paginateDescribeJobs, @@ -193,8 +202,17 @@ assert(typeof ReplicationConfigurationReplicatedDiskStagingDiskType === "object" assert(typeof ReplicationDirection === "object"); assert(typeof ReplicationStatus === "object"); assert(typeof TargetInstanceTypeRightSizingMethod === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VolumeStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof DrsServiceException); +assert(ConflictException.prototype instanceof DrsServiceException); +assert(InternalServerException.prototype instanceof DrsServiceException); +assert(ResourceNotFoundException.prototype instanceof DrsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof DrsServiceException); +assert(ThrottlingException.prototype instanceof DrsServiceException); +assert(UninitializedAccountException.prototype instanceof DrsServiceException); +assert(ValidationException.prototype instanceof DrsServiceException); assert(DrsServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeJobLogItems === "function"); diff --git a/clients/client-drs/test/index-types.ts b/clients/client-drs/test/index-types.ts index 9df4d86c0608..6acdb95005b7 100644 --- a/clients/client-drs/test/index-types.ts +++ b/clients/client-drs/test/index-types.ts @@ -188,6 +188,7 @@ export type { ReplicationDirection, ReplicationStatus, TargetInstanceTypeRightSizingMethod, + ValidationExceptionReason, VolumeStatus, Account, AssociateSourceNetworkStackRequest, @@ -336,6 +337,15 @@ export type { UpdateLaunchConfigurationTemplateResponse, UpdateReplicationConfigurationRequest, UpdateReplicationConfigurationTemplateRequest, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UninitializedAccountException, + ValidationException, DrsServiceException, paginateDescribeJobLogItems, paginateDescribeJobs, diff --git a/clients/client-dsql/test/index-objects.spec.mjs b/clients/client-dsql/test/index-objects.spec.mjs index dfef49a326a6..a7321c911e11 100644 --- a/clients/client-dsql/test/index-objects.spec.mjs +++ b/clients/client-dsql/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, ClusterStatus, + ConflictException, CreateClusterCommand, DSQL, DSQLClient, @@ -11,12 +13,18 @@ import { GetClusterCommand, GetClusterPolicyCommand, GetVpcEndpointServiceNameCommand, + InternalServerException, ListClustersCommand, ListTagsForResourceCommand, PutClusterPolicyCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateClusterCommand, + ValidationException, + ValidationExceptionReason, paginateListClusters, waitForClusterActive, waitForClusterNotExists, @@ -44,7 +52,15 @@ assert(typeof UpdateClusterCommand === "function"); assert(typeof ClusterStatus === "object"); assert(typeof EncryptionStatus === "object"); assert(typeof EncryptionType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof DSQLServiceException); +assert(ConflictException.prototype instanceof DSQLServiceException); +assert(InternalServerException.prototype instanceof DSQLServiceException); +assert(ResourceNotFoundException.prototype instanceof DSQLServiceException); +assert(ServiceQuotaExceededException.prototype instanceof DSQLServiceException); +assert(ThrottlingException.prototype instanceof DSQLServiceException); +assert(ValidationException.prototype instanceof DSQLServiceException); assert(DSQLServiceException.prototype instanceof Error); // waiters assert(typeof waitForClusterActive === "function"); diff --git a/clients/client-dsql/test/index-types.ts b/clients/client-dsql/test/index-types.ts index 4d6af5594291..d66e9378dd40 100644 --- a/clients/client-dsql/test/index-types.ts +++ b/clients/client-dsql/test/index-types.ts @@ -41,6 +41,7 @@ export type { ClusterStatus, EncryptionStatus, EncryptionType, + ValidationExceptionReason, ClusterSummary, CreateClusterInput, CreateClusterOutput, @@ -66,6 +67,14 @@ export type { UntagResourceInput, UpdateClusterInput, UpdateClusterOutput, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, DSQLServiceException, waitForClusterActive, waitForClusterNotExists, diff --git a/clients/client-dynamodb-streams/src/schemas/schemas_0.ts b/clients/client-dynamodb-streams/src/schemas/schemas_0.ts index e61f5e637a5f..04d105c2658c 100644 --- a/clients/client-dynamodb-streams/src/schemas/schemas_0.ts +++ b/clients/client-dynamodb-streams/src/schemas/schemas_0.ts @@ -162,7 +162,6 @@ export var StreamRecord: StaticStructureSchema = [ ]; export var TrimmedDataAccessException: StaticErrorSchema = [-3, n0, _TDAE, { [_e]: _c }, [_m], [0]]; TypeRegistry.for(n0).registerError(TrimmedDataAccessException, __TrimmedDataAccessException); -export var __Unit = "unit" as const; export var DynamoDBStreamsServiceException: StaticErrorSchema = [-3, _sm, "DynamoDBStreamsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(DynamoDBStreamsServiceException, __DynamoDBStreamsServiceException); export var BinarySetAttributeValue = 64 | 21; diff --git a/clients/client-dynamodb-streams/test/index-objects.spec.mjs b/clients/client-dynamodb-streams/test/index-objects.spec.mjs index a27c5c037343..ca1d47c98ef8 100644 --- a/clients/client-dynamodb-streams/test/index-objects.spec.mjs +++ b/clients/client-dynamodb-streams/test/index-objects.spec.mjs @@ -3,15 +3,20 @@ import { DynamoDBStreams, DynamoDBStreamsClient, DynamoDBStreamsServiceException, + ExpiredIteratorException, GetRecordsCommand, GetShardIteratorCommand, + InternalServerError, KeyType, + LimitExceededException, ListStreamsCommand, OperationType, + ResourceNotFoundException, ShardFilterType, ShardIteratorType, StreamStatus, StreamViewType, + TrimmedDataAccessException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -30,5 +35,10 @@ assert(typeof ShardIteratorType === "object"); assert(typeof StreamStatus === "object"); assert(typeof StreamViewType === "object"); // errors +assert(ExpiredIteratorException.prototype instanceof DynamoDBStreamsServiceException); +assert(InternalServerError.prototype instanceof DynamoDBStreamsServiceException); +assert(LimitExceededException.prototype instanceof DynamoDBStreamsServiceException); +assert(ResourceNotFoundException.prototype instanceof DynamoDBStreamsServiceException); +assert(TrimmedDataAccessException.prototype instanceof DynamoDBStreamsServiceException); assert(DynamoDBStreamsServiceException.prototype instanceof Error); console.log(`DynamoDBStreams index test passed.`); diff --git a/clients/client-dynamodb-streams/test/index-types.ts b/clients/client-dynamodb-streams/test/index-types.ts index f68f0b37d696..d1d8f655682f 100644 --- a/clients/client-dynamodb-streams/test/index-types.ts +++ b/clients/client-dynamodb-streams/test/index-types.ts @@ -38,5 +38,10 @@ export type { _Stream, StreamDescription, StreamRecord, + ExpiredIteratorException, + InternalServerError, + LimitExceededException, + ResourceNotFoundException, + TrimmedDataAccessException, DynamoDBStreamsServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-dynamodb/test/index-objects.spec.mjs b/clients/client-dynamodb/test/index-objects.spec.mjs index 92215a86a1cd..45c8099cce67 100644 --- a/clients/client-dynamodb/test/index-objects.spec.mjs +++ b/clients/client-dynamodb/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { ApproximateCreationDateTimePrecision, AttributeAction, + BackupInUseException, + BackupNotFoundException, BackupStatus, BackupType, BackupTypeFilter, @@ -10,8 +12,10 @@ import { BatchWriteItemCommand, BillingMode, ComparisonOperator, + ConditionalCheckFailedException, ConditionalOperator, ContinuousBackupsStatus, + ContinuousBackupsUnavailableException, ContributorInsightsAction, ContributorInsightsMode, ContributorInsightsStatus, @@ -37,26 +41,41 @@ import { DescribeTimeToLiveCommand, DestinationStatus, DisableKinesisStreamingDestinationCommand, + DuplicateItemException, DynamoDB, DynamoDBClient, DynamoDBServiceException, EnableKinesisStreamingDestinationCommand, ExecuteStatementCommand, ExecuteTransactionCommand, + ExportConflictException, ExportFormat, + ExportNotFoundException, ExportStatus, ExportTableToPointInTimeCommand, ExportType, ExportViewType, GetItemCommand, GetResourcePolicyCommand, + GlobalTableAlreadyExistsException, + GlobalTableNotFoundException, GlobalTableStatus, + IdempotentParameterMismatchException, + ImportConflictException, + ImportNotFoundException, ImportStatus, ImportTableCommand, + IndexNotFoundException, IndexStatus, InputCompressionType, InputFormat, + InternalServerError, + InvalidEndpointException, + InvalidExportTimeException, + InvalidRestoreTimeException, + ItemCollectionSizeLimitExceededException, KeyType, + LimitExceededException, ListBackupsCommand, ListContributorInsightsCommand, ListExportsCommand, @@ -66,11 +85,20 @@ import { ListTagsOfResourceCommand, MultiRegionConsistency, PointInTimeRecoveryStatus, + PointInTimeRecoveryUnavailableException, + PolicyNotFoundException, ProjectionType, + ProvisionedThroughputExceededException, PutItemCommand, PutResourcePolicyCommand, QueryCommand, + ReplicaAlreadyExistsException, + ReplicaNotFoundException, ReplicaStatus, + ReplicatedWriteConflictException, + RequestLimitExceeded, + ResourceInUseException, + ResourceNotFoundException, RestoreTableFromBackupCommand, RestoreTableToPointInTimeCommand, ReturnConsumedCapacity, @@ -84,12 +112,19 @@ import { ScanCommand, Select, StreamViewType, + TableAlreadyExistsException, TableClass, + TableInUseException, + TableNotFoundException, TableStatus, TagResourceCommand, + ThrottlingException, TimeToLiveStatus, TransactGetItemsCommand, TransactWriteItemsCommand, + TransactionCanceledException, + TransactionConflictException, + TransactionInProgressException, UntagResourceCommand, UpdateContinuousBackupsCommand, UpdateContributorInsightsCommand, @@ -218,6 +253,41 @@ assert(typeof TableStatus === "object"); assert(typeof TimeToLiveStatus === "object"); assert(typeof WitnessStatus === "object"); // errors +assert(BackupInUseException.prototype instanceof DynamoDBServiceException); +assert(BackupNotFoundException.prototype instanceof DynamoDBServiceException); +assert(ConditionalCheckFailedException.prototype instanceof DynamoDBServiceException); +assert(ContinuousBackupsUnavailableException.prototype instanceof DynamoDBServiceException); +assert(DuplicateItemException.prototype instanceof DynamoDBServiceException); +assert(ExportConflictException.prototype instanceof DynamoDBServiceException); +assert(ExportNotFoundException.prototype instanceof DynamoDBServiceException); +assert(GlobalTableAlreadyExistsException.prototype instanceof DynamoDBServiceException); +assert(GlobalTableNotFoundException.prototype instanceof DynamoDBServiceException); +assert(IdempotentParameterMismatchException.prototype instanceof DynamoDBServiceException); +assert(ImportConflictException.prototype instanceof DynamoDBServiceException); +assert(ImportNotFoundException.prototype instanceof DynamoDBServiceException); +assert(IndexNotFoundException.prototype instanceof DynamoDBServiceException); +assert(InternalServerError.prototype instanceof DynamoDBServiceException); +assert(InvalidEndpointException.prototype instanceof DynamoDBServiceException); +assert(InvalidExportTimeException.prototype instanceof DynamoDBServiceException); +assert(InvalidRestoreTimeException.prototype instanceof DynamoDBServiceException); +assert(ItemCollectionSizeLimitExceededException.prototype instanceof DynamoDBServiceException); +assert(LimitExceededException.prototype instanceof DynamoDBServiceException); +assert(PointInTimeRecoveryUnavailableException.prototype instanceof DynamoDBServiceException); +assert(PolicyNotFoundException.prototype instanceof DynamoDBServiceException); +assert(ProvisionedThroughputExceededException.prototype instanceof DynamoDBServiceException); +assert(ReplicaAlreadyExistsException.prototype instanceof DynamoDBServiceException); +assert(ReplicaNotFoundException.prototype instanceof DynamoDBServiceException); +assert(ReplicatedWriteConflictException.prototype instanceof DynamoDBServiceException); +assert(RequestLimitExceeded.prototype instanceof DynamoDBServiceException); +assert(ResourceInUseException.prototype instanceof DynamoDBServiceException); +assert(ResourceNotFoundException.prototype instanceof DynamoDBServiceException); +assert(TableAlreadyExistsException.prototype instanceof DynamoDBServiceException); +assert(TableInUseException.prototype instanceof DynamoDBServiceException); +assert(TableNotFoundException.prototype instanceof DynamoDBServiceException); +assert(ThrottlingException.prototype instanceof DynamoDBServiceException); +assert(TransactionCanceledException.prototype instanceof DynamoDBServiceException); +assert(TransactionConflictException.prototype instanceof DynamoDBServiceException); +assert(TransactionInProgressException.prototype instanceof DynamoDBServiceException); assert(DynamoDBServiceException.prototype instanceof Error); // waiters assert(typeof waitForTableExists === "function"); diff --git a/clients/client-dynamodb/test/index-types.ts b/clients/client-dynamodb/test/index-types.ts index c1c691391bc9..593a85743f3e 100644 --- a/clients/client-dynamodb/test/index-types.ts +++ b/clients/client-dynamodb/test/index-types.ts @@ -238,6 +238,7 @@ export type { BatchWriteItemInput, BatchWriteItemOutput, BillingModeSummary, + CancellationReason, Capacity, Condition, ConditionCheck, @@ -404,6 +405,7 @@ export type { TableWarmThroughputDescription, Tag, TagResourceInput, + ThrottlingReason, TimeToLiveDescription, TimeToLiveSpecification, TransactGetItem, @@ -437,6 +439,41 @@ export type { UpdateTimeToLiveOutput, WarmThroughput, WriteRequest, + BackupInUseException, + BackupNotFoundException, + ConditionalCheckFailedException, + ContinuousBackupsUnavailableException, + DuplicateItemException, + ExportConflictException, + ExportNotFoundException, + GlobalTableAlreadyExistsException, + GlobalTableNotFoundException, + IdempotentParameterMismatchException, + ImportConflictException, + ImportNotFoundException, + IndexNotFoundException, + InternalServerError, + InvalidEndpointException, + InvalidExportTimeException, + InvalidRestoreTimeException, + ItemCollectionSizeLimitExceededException, + LimitExceededException, + PointInTimeRecoveryUnavailableException, + PolicyNotFoundException, + ProvisionedThroughputExceededException, + ReplicaAlreadyExistsException, + ReplicaNotFoundException, + ReplicatedWriteConflictException, + RequestLimitExceeded, + ResourceInUseException, + ResourceNotFoundException, + TableAlreadyExistsException, + TableInUseException, + TableNotFoundException, + ThrottlingException, + TransactionCanceledException, + TransactionConflictException, + TransactionInProgressException, DynamoDBServiceException, waitForTableExists, waitForTableNotExists, diff --git a/clients/client-ebs/src/schemas/schemas_0.ts b/clients/client-ebs/src/schemas/schemas_0.ts index 0d35b2b01f0b..db262aaef289 100644 --- a/clients/client-ebs/src/schemas/schemas_0.ts +++ b/clients/client-ebs/src/schemas/schemas_0.ts @@ -264,7 +264,6 @@ export var StartSnapshotResponse: StaticStructureSchema = [ export var Tag: StaticStructureSchema = [3, n0, _Ta, 0, [_K, _V], [0, 0]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var EBSServiceException: StaticErrorSchema = [-3, _sm, "EBSServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(EBSServiceException, __EBSServiceException); export var Blocks: StaticListSchema = [1, n0, _Bl, 8, () => Block]; diff --git a/clients/client-ebs/test/index-objects.spec.mjs b/clients/client-ebs/test/index-objects.spec.mjs index 3aa21e31c4cf..101a76b5d3a8 100644 --- a/clients/client-ebs/test/index-objects.spec.mjs +++ b/clients/client-ebs/test/index-objects.spec.mjs @@ -1,17 +1,30 @@ import { + AccessDeniedException, + AccessDeniedExceptionReason, ChecksumAggregationMethod, ChecksumAlgorithm, CompleteSnapshotCommand, + ConcurrentLimitExceededException, + ConflictException, EBS, EBSClient, EBSServiceException, GetSnapshotBlockCommand, + InternalServerException, ListChangedBlocksCommand, ListSnapshotBlocksCommand, PutSnapshotBlockCommand, + RequestThrottledException, + RequestThrottledExceptionReason, + ResourceNotFoundException, + ResourceNotFoundExceptionReason, SSEType, + ServiceQuotaExceededException, + ServiceQuotaExceededExceptionReason, StartSnapshotCommand, Status, + ValidationException, + ValidationExceptionReason, paginateListChangedBlocks, paginateListSnapshotBlocks, } from "../dist-cjs/index.js"; @@ -27,11 +40,24 @@ assert(typeof ListSnapshotBlocksCommand === "function"); assert(typeof PutSnapshotBlockCommand === "function"); assert(typeof StartSnapshotCommand === "function"); // enums +assert(typeof AccessDeniedExceptionReason === "object"); assert(typeof ChecksumAggregationMethod === "object"); assert(typeof ChecksumAlgorithm === "object"); +assert(typeof RequestThrottledExceptionReason === "object"); +assert(typeof ResourceNotFoundExceptionReason === "object"); +assert(typeof ServiceQuotaExceededExceptionReason === "object"); assert(typeof SSEType === "object"); assert(typeof Status === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof EBSServiceException); +assert(ConcurrentLimitExceededException.prototype instanceof EBSServiceException); +assert(ConflictException.prototype instanceof EBSServiceException); +assert(InternalServerException.prototype instanceof EBSServiceException); +assert(RequestThrottledException.prototype instanceof EBSServiceException); +assert(ResourceNotFoundException.prototype instanceof EBSServiceException); +assert(ServiceQuotaExceededException.prototype instanceof EBSServiceException); +assert(ValidationException.prototype instanceof EBSServiceException); assert(EBSServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChangedBlocks === "function"); diff --git a/clients/client-ebs/test/index-types.ts b/clients/client-ebs/test/index-types.ts index 08ca8b7e4802..94d5821ba348 100644 --- a/clients/client-ebs/test/index-types.ts +++ b/clients/client-ebs/test/index-types.ts @@ -20,10 +20,15 @@ export type { StartSnapshotCommand, StartSnapshotCommandInput, StartSnapshotCommandOutput, + AccessDeniedExceptionReason, ChecksumAggregationMethod, ChecksumAlgorithm, + RequestThrottledExceptionReason, + ResourceNotFoundExceptionReason, + ServiceQuotaExceededExceptionReason, SSEType, Status, + ValidationExceptionReason, Block, ChangedBlock, CompleteSnapshotRequest, @@ -39,6 +44,14 @@ export type { StartSnapshotRequest, StartSnapshotResponse, Tag, + AccessDeniedException, + ConcurrentLimitExceededException, + ConflictException, + InternalServerException, + RequestThrottledException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, EBSServiceException, paginateListChangedBlocks, paginateListSnapshotBlocks, diff --git a/clients/client-ec2-instance-connect/test/index-objects.spec.mjs b/clients/client-ec2-instance-connect/test/index-objects.spec.mjs index 5c9a8b5e247e..a79e1073447c 100644 --- a/clients/client-ec2-instance-connect/test/index-objects.spec.mjs +++ b/clients/client-ec2-instance-connect/test/index-objects.spec.mjs @@ -1,9 +1,21 @@ import { + AuthException, EC2InstanceConnect, EC2InstanceConnectClient, EC2InstanceConnectServiceException, + EC2InstanceNotFoundException, + EC2InstanceStateInvalidException, + EC2InstanceTypeInvalidException, + EC2InstanceUnavailableException, + InvalidArgsException, SendSSHPublicKeyCommand, SendSerialConsoleSSHPublicKeyCommand, + SerialConsoleAccessDisabledException, + SerialConsoleSessionLimitExceededException, + SerialConsoleSessionUnavailableException, + SerialConsoleSessionUnsupportedException, + ServiceException, + ThrottlingException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -13,5 +25,17 @@ assert(typeof EC2InstanceConnect === "function"); assert(typeof SendSerialConsoleSSHPublicKeyCommand === "function"); assert(typeof SendSSHPublicKeyCommand === "function"); // errors +assert(AuthException.prototype instanceof EC2InstanceConnectServiceException); +assert(EC2InstanceNotFoundException.prototype instanceof EC2InstanceConnectServiceException); +assert(EC2InstanceStateInvalidException.prototype instanceof EC2InstanceConnectServiceException); +assert(EC2InstanceTypeInvalidException.prototype instanceof EC2InstanceConnectServiceException); +assert(EC2InstanceUnavailableException.prototype instanceof EC2InstanceConnectServiceException); +assert(InvalidArgsException.prototype instanceof EC2InstanceConnectServiceException); +assert(SerialConsoleAccessDisabledException.prototype instanceof EC2InstanceConnectServiceException); +assert(SerialConsoleSessionLimitExceededException.prototype instanceof EC2InstanceConnectServiceException); +assert(SerialConsoleSessionUnavailableException.prototype instanceof EC2InstanceConnectServiceException); +assert(SerialConsoleSessionUnsupportedException.prototype instanceof EC2InstanceConnectServiceException); +assert(ServiceException.prototype instanceof EC2InstanceConnectServiceException); +assert(ThrottlingException.prototype instanceof EC2InstanceConnectServiceException); assert(EC2InstanceConnectServiceException.prototype instanceof Error); console.log(`EC2InstanceConnect index test passed.`); diff --git a/clients/client-ec2-instance-connect/test/index-types.ts b/clients/client-ec2-instance-connect/test/index-types.ts index 2d0751163b0f..9de5b52ba7eb 100644 --- a/clients/client-ec2-instance-connect/test/index-types.ts +++ b/clients/client-ec2-instance-connect/test/index-types.ts @@ -12,5 +12,17 @@ export type { SendSerialConsoleSSHPublicKeyResponse, SendSSHPublicKeyRequest, SendSSHPublicKeyResponse, + AuthException, + EC2InstanceNotFoundException, + EC2InstanceStateInvalidException, + EC2InstanceTypeInvalidException, + EC2InstanceUnavailableException, + InvalidArgsException, + SerialConsoleAccessDisabledException, + SerialConsoleSessionLimitExceededException, + SerialConsoleSessionUnavailableException, + SerialConsoleSessionUnsupportedException, + ServiceException, + ThrottlingException, EC2InstanceConnectServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-ecr-public/src/schemas/schemas_0.ts b/clients/client-ecr-public/src/schemas/schemas_0.ts index 6409df548263..e147f20457f5 100644 --- a/clients/client-ecr-public/src/schemas/schemas_0.ts +++ b/clients/client-ecr-public/src/schemas/schemas_0.ts @@ -519,7 +519,6 @@ export var UploadLayerPartRequest: StaticStructureSchema = [ export var UploadLayerPartResponse: StaticStructureSchema = [3, n0, _ULPRp, 0, [_rI, _rN, _uI, _lBR], [0, 0, 0, 1]]; export var UploadNotFoundException: StaticErrorSchema = [-3, n0, _UNFE, { [_e]: _c }, [_m], [0]]; TypeRegistry.for(n0).registerError(UploadNotFoundException, __UploadNotFoundException); -export var __Unit = "unit" as const; export var ECRPUBLICServiceException: StaticErrorSchema = [-3, _sm, "ECRPUBLICServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ECRPUBLICServiceException, __ECRPUBLICServiceException); export var ArchitectureList = 64 | 0; diff --git a/clients/client-ecr-public/test/index-objects.spec.mjs b/clients/client-ecr-public/test/index-objects.spec.mjs index 1af55ec8ee5e..f9a9453169b5 100644 --- a/clients/client-ecr-public/test/index-objects.spec.mjs +++ b/clients/client-ecr-public/test/index-objects.spec.mjs @@ -12,23 +12,47 @@ import { ECRPUBLIC, ECRPUBLICClient, ECRPUBLICServiceException, + EmptyUploadException, GetAuthorizationTokenCommand, GetRegistryCatalogDataCommand, GetRepositoryCatalogDataCommand, GetRepositoryPolicyCommand, + ImageAlreadyExistsException, + ImageDigestDoesNotMatchException, ImageFailureCode, + ImageNotFoundException, + ImageTagAlreadyExistsException, InitiateLayerUploadCommand, + InvalidLayerException, + InvalidLayerPartException, + InvalidParameterException, + InvalidTagParameterException, + LayerAlreadyExistsException, LayerAvailability, LayerFailureCode, + LayerPartTooSmallException, + LayersNotFoundException, + LimitExceededException, ListTagsForResourceCommand, PutImageCommand, PutRegistryCatalogDataCommand, PutRepositoryCatalogDataCommand, + ReferencedImagesNotFoundException, RegistryAliasStatus, + RegistryNotFoundException, + RepositoryAlreadyExistsException, + RepositoryCatalogDataNotFoundException, + RepositoryNotEmptyException, + RepositoryNotFoundException, + RepositoryPolicyNotFoundException, + ServerException, SetRepositoryPolicyCommand, TagResourceCommand, + TooManyTagsException, + UnsupportedCommandException, UntagResourceCommand, UploadLayerPartCommand, + UploadNotFoundException, paginateDescribeImageTags, paginateDescribeImages, paginateDescribeRegistries, @@ -68,6 +92,30 @@ assert(typeof LayerAvailability === "object"); assert(typeof LayerFailureCode === "object"); assert(typeof RegistryAliasStatus === "object"); // errors +assert(EmptyUploadException.prototype instanceof ECRPUBLICServiceException); +assert(ImageAlreadyExistsException.prototype instanceof ECRPUBLICServiceException); +assert(ImageDigestDoesNotMatchException.prototype instanceof ECRPUBLICServiceException); +assert(ImageNotFoundException.prototype instanceof ECRPUBLICServiceException); +assert(ImageTagAlreadyExistsException.prototype instanceof ECRPUBLICServiceException); +assert(InvalidLayerException.prototype instanceof ECRPUBLICServiceException); +assert(InvalidLayerPartException.prototype instanceof ECRPUBLICServiceException); +assert(InvalidParameterException.prototype instanceof ECRPUBLICServiceException); +assert(InvalidTagParameterException.prototype instanceof ECRPUBLICServiceException); +assert(LayerAlreadyExistsException.prototype instanceof ECRPUBLICServiceException); +assert(LayerPartTooSmallException.prototype instanceof ECRPUBLICServiceException); +assert(LayersNotFoundException.prototype instanceof ECRPUBLICServiceException); +assert(LimitExceededException.prototype instanceof ECRPUBLICServiceException); +assert(ReferencedImagesNotFoundException.prototype instanceof ECRPUBLICServiceException); +assert(RegistryNotFoundException.prototype instanceof ECRPUBLICServiceException); +assert(RepositoryAlreadyExistsException.prototype instanceof ECRPUBLICServiceException); +assert(RepositoryCatalogDataNotFoundException.prototype instanceof ECRPUBLICServiceException); +assert(RepositoryNotEmptyException.prototype instanceof ECRPUBLICServiceException); +assert(RepositoryNotFoundException.prototype instanceof ECRPUBLICServiceException); +assert(RepositoryPolicyNotFoundException.prototype instanceof ECRPUBLICServiceException); +assert(ServerException.prototype instanceof ECRPUBLICServiceException); +assert(TooManyTagsException.prototype instanceof ECRPUBLICServiceException); +assert(UnsupportedCommandException.prototype instanceof ECRPUBLICServiceException); +assert(UploadNotFoundException.prototype instanceof ECRPUBLICServiceException); assert(ECRPUBLICServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeImageTags === "function"); diff --git a/clients/client-ecr-public/test/index-types.ts b/clients/client-ecr-public/test/index-types.ts index 3d35fd37f551..50df832cd288 100644 --- a/clients/client-ecr-public/test/index-types.ts +++ b/clients/client-ecr-public/test/index-types.ts @@ -137,6 +137,30 @@ export type { UntagResourceResponse, UploadLayerPartRequest, UploadLayerPartResponse, + EmptyUploadException, + ImageAlreadyExistsException, + ImageDigestDoesNotMatchException, + ImageNotFoundException, + ImageTagAlreadyExistsException, + InvalidLayerException, + InvalidLayerPartException, + InvalidParameterException, + InvalidTagParameterException, + LayerAlreadyExistsException, + LayerPartTooSmallException, + LayersNotFoundException, + LimitExceededException, + ReferencedImagesNotFoundException, + RegistryNotFoundException, + RepositoryAlreadyExistsException, + RepositoryCatalogDataNotFoundException, + RepositoryNotEmptyException, + RepositoryNotFoundException, + RepositoryPolicyNotFoundException, + ServerException, + TooManyTagsException, + UnsupportedCommandException, + UploadNotFoundException, ECRPUBLICServiceException, paginateDescribeImageTags, paginateDescribeImages, diff --git a/clients/client-ecr/src/schemas/schemas_0.ts b/clients/client-ecr/src/schemas/schemas_0.ts index 0ed3f82fa3b2..179196669d99 100644 --- a/clients/client-ecr/src/schemas/schemas_0.ts +++ b/clients/client-ecr/src/schemas/schemas_0.ts @@ -1520,7 +1520,6 @@ export var VulnerablePackage: StaticStructureSchema = [ [_ar, _ep, _fP, _n, _pM, _rel, _sLH, _ve, _fIV], [0, 1, 0, 0, 0, 0, 0, 0, 0], ]; -export var __Unit = "unit" as const; export var ECRServiceException: StaticErrorSchema = [-3, _sm, "ECRServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ECRServiceException, __ECRServiceException); export var ArtifactTypeList = 64 | 0; diff --git a/clients/client-ecr/test/index-objects.spec.mjs b/clients/client-ecr/test/index-objects.spec.mjs index b802e7337611..7faa3de4ee25 100644 --- a/clients/client-ecr/test/index-objects.spec.mjs +++ b/clients/client-ecr/test/index-objects.spec.mjs @@ -5,6 +5,7 @@ import { BatchDeleteImageCommand, BatchGetImageCommand, BatchGetRepositoryScanningConfigurationCommand, + BlockedByOrganizationPolicyException, CompleteLayerUploadCommand, CreatePullThroughCacheRuleCommand, CreateRepositoryCommand, @@ -28,7 +29,10 @@ import { ECR, ECRClient, ECRServiceException, + EmptyUploadException, EncryptionType, + ExclusionAlreadyExistsException, + ExclusionNotFoundException, FindingSeverity, GetAccountSettingCommand, GetAuthorizationTokenCommand, @@ -40,21 +44,42 @@ import { GetRepositoryPolicyCommand, GetSigningConfigurationCommand, ImageActionType, + ImageAlreadyExistsException, + ImageArchivedException, + ImageDigestDoesNotMatchException, ImageFailureCode, + ImageNotFoundException, ImageStatus, ImageStatusFilter, + ImageStorageClassUpdateNotSupportedException, + ImageTagAlreadyExistsException, ImageTagMutability, ImageTagMutabilityExclusionFilterType, InitiateLayerUploadCommand, + InvalidLayerException, + InvalidLayerPartException, + InvalidParameterException, + InvalidTagParameterException, + KmsException, + LayerAlreadyExistsException, LayerAvailability, LayerFailureCode, + LayerInaccessibleException, + LayerPartTooSmallException, + LayersNotFoundException, + LifecyclePolicyNotFoundException, + LifecyclePolicyPreviewInProgressException, + LifecyclePolicyPreviewNotFoundException, LifecyclePolicyPreviewStatus, LifecyclePolicyStorageClass, LifecyclePolicyTargetStorageClass, + LimitExceededException, ListImageReferrersCommand, ListImagesCommand, ListPullTimeUpdateExclusionsCommand, ListTagsForResourceCommand, + PullThroughCacheRuleAlreadyExistsException, + PullThroughCacheRuleNotFoundException, PutAccountSettingCommand, PutImageCommand, PutImageScanningConfigurationCommand, @@ -65,15 +90,25 @@ import { PutReplicationConfigurationCommand, PutSigningConfigurationCommand, RCTAppliedFor, + ReferencedImagesNotFoundException, RegisterPullTimeUpdateExclusionCommand, + RegistryPolicyNotFoundException, ReplicationStatus, + RepositoryAlreadyExistsException, RepositoryFilterType, + RepositoryNotEmptyException, + RepositoryNotFoundException, + RepositoryPolicyNotFoundException, ScanFrequency, + ScanNotFoundException, ScanStatus, ScanType, ScanningConfigurationFailureCode, ScanningRepositoryFilterType, + SecretNotFoundException, + ServerException, SetRepositoryPolicyCommand, + SigningConfigurationNotFoundException, SigningRepositoryFilterType, SigningStatus, StartImageScanCommand, @@ -81,13 +116,24 @@ import { TagResourceCommand, TagStatus, TargetStorageClass, + TemplateAlreadyExistsException, + TemplateNotFoundException, + TooManyTagsException, + UnableToAccessSecretException, + UnableToDecryptSecretValueException, + UnableToGetUpstreamImageException, + UnableToGetUpstreamLayerException, + UnsupportedImageTypeException, + UnsupportedUpstreamRegistryException, UntagResourceCommand, UpdateImageStorageClassCommand, UpdatePullThroughCacheRuleCommand, UpdateRepositoryCreationTemplateCommand, UploadLayerPartCommand, + UploadNotFoundException, UpstreamRegistry, ValidatePullThroughCacheRuleCommand, + ValidationException, paginateDescribeImageScanFindings, paginateDescribeImages, paginateDescribePullThroughCacheRules, @@ -193,6 +239,52 @@ assert(typeof TagStatus === "object"); assert(typeof TargetStorageClass === "object"); assert(typeof UpstreamRegistry === "object"); // errors +assert(BlockedByOrganizationPolicyException.prototype instanceof ECRServiceException); +assert(EmptyUploadException.prototype instanceof ECRServiceException); +assert(ExclusionAlreadyExistsException.prototype instanceof ECRServiceException); +assert(ExclusionNotFoundException.prototype instanceof ECRServiceException); +assert(ImageAlreadyExistsException.prototype instanceof ECRServiceException); +assert(ImageArchivedException.prototype instanceof ECRServiceException); +assert(ImageDigestDoesNotMatchException.prototype instanceof ECRServiceException); +assert(ImageNotFoundException.prototype instanceof ECRServiceException); +assert(ImageStorageClassUpdateNotSupportedException.prototype instanceof ECRServiceException); +assert(ImageTagAlreadyExistsException.prototype instanceof ECRServiceException); +assert(InvalidLayerException.prototype instanceof ECRServiceException); +assert(InvalidLayerPartException.prototype instanceof ECRServiceException); +assert(InvalidParameterException.prototype instanceof ECRServiceException); +assert(InvalidTagParameterException.prototype instanceof ECRServiceException); +assert(KmsException.prototype instanceof ECRServiceException); +assert(LayerAlreadyExistsException.prototype instanceof ECRServiceException); +assert(LayerInaccessibleException.prototype instanceof ECRServiceException); +assert(LayerPartTooSmallException.prototype instanceof ECRServiceException); +assert(LayersNotFoundException.prototype instanceof ECRServiceException); +assert(LifecyclePolicyNotFoundException.prototype instanceof ECRServiceException); +assert(LifecyclePolicyPreviewInProgressException.prototype instanceof ECRServiceException); +assert(LifecyclePolicyPreviewNotFoundException.prototype instanceof ECRServiceException); +assert(LimitExceededException.prototype instanceof ECRServiceException); +assert(PullThroughCacheRuleAlreadyExistsException.prototype instanceof ECRServiceException); +assert(PullThroughCacheRuleNotFoundException.prototype instanceof ECRServiceException); +assert(ReferencedImagesNotFoundException.prototype instanceof ECRServiceException); +assert(RegistryPolicyNotFoundException.prototype instanceof ECRServiceException); +assert(RepositoryAlreadyExistsException.prototype instanceof ECRServiceException); +assert(RepositoryNotEmptyException.prototype instanceof ECRServiceException); +assert(RepositoryNotFoundException.prototype instanceof ECRServiceException); +assert(RepositoryPolicyNotFoundException.prototype instanceof ECRServiceException); +assert(ScanNotFoundException.prototype instanceof ECRServiceException); +assert(SecretNotFoundException.prototype instanceof ECRServiceException); +assert(ServerException.prototype instanceof ECRServiceException); +assert(SigningConfigurationNotFoundException.prototype instanceof ECRServiceException); +assert(TemplateAlreadyExistsException.prototype instanceof ECRServiceException); +assert(TemplateNotFoundException.prototype instanceof ECRServiceException); +assert(TooManyTagsException.prototype instanceof ECRServiceException); +assert(UnableToAccessSecretException.prototype instanceof ECRServiceException); +assert(UnableToDecryptSecretValueException.prototype instanceof ECRServiceException); +assert(UnableToGetUpstreamImageException.prototype instanceof ECRServiceException); +assert(UnableToGetUpstreamLayerException.prototype instanceof ECRServiceException); +assert(UnsupportedImageTypeException.prototype instanceof ECRServiceException); +assert(UnsupportedUpstreamRegistryException.prototype instanceof ECRServiceException); +assert(UploadNotFoundException.prototype instanceof ECRServiceException); +assert(ValidationException.prototype instanceof ECRServiceException); assert(ECRServiceException.prototype instanceof Error); // waiters assert(typeof waitForImageScanComplete === "function"); diff --git a/clients/client-ecr/test/index-types.ts b/clients/client-ecr/test/index-types.ts index 283cb4460802..52567fce029a 100644 --- a/clients/client-ecr/test/index-types.ts +++ b/clients/client-ecr/test/index-types.ts @@ -376,6 +376,52 @@ export type { ValidatePullThroughCacheRuleRequest, ValidatePullThroughCacheRuleResponse, VulnerablePackage, + BlockedByOrganizationPolicyException, + EmptyUploadException, + ExclusionAlreadyExistsException, + ExclusionNotFoundException, + ImageAlreadyExistsException, + ImageArchivedException, + ImageDigestDoesNotMatchException, + ImageNotFoundException, + ImageStorageClassUpdateNotSupportedException, + ImageTagAlreadyExistsException, + InvalidLayerException, + InvalidLayerPartException, + InvalidParameterException, + InvalidTagParameterException, + KmsException, + LayerAlreadyExistsException, + LayerInaccessibleException, + LayerPartTooSmallException, + LayersNotFoundException, + LifecyclePolicyNotFoundException, + LifecyclePolicyPreviewInProgressException, + LifecyclePolicyPreviewNotFoundException, + LimitExceededException, + PullThroughCacheRuleAlreadyExistsException, + PullThroughCacheRuleNotFoundException, + ReferencedImagesNotFoundException, + RegistryPolicyNotFoundException, + RepositoryAlreadyExistsException, + RepositoryNotEmptyException, + RepositoryNotFoundException, + RepositoryPolicyNotFoundException, + ScanNotFoundException, + SecretNotFoundException, + ServerException, + SigningConfigurationNotFoundException, + TemplateAlreadyExistsException, + TemplateNotFoundException, + TooManyTagsException, + UnableToAccessSecretException, + UnableToDecryptSecretValueException, + UnableToGetUpstreamImageException, + UnableToGetUpstreamLayerException, + UnsupportedImageTypeException, + UnsupportedUpstreamRegistryException, + UploadNotFoundException, + ValidationException, ECRServiceException, waitForImageScanComplete, waitForLifecyclePolicyPreviewComplete, diff --git a/clients/client-ecs/src/schemas/schemas_0.ts b/clients/client-ecs/src/schemas/schemas_0.ts index 4b27a9284e11..416fa01da5f2 100644 --- a/clients/client-ecs/src/schemas/schemas_0.ts +++ b/clients/client-ecs/src/schemas/schemas_0.ts @@ -3004,7 +3004,6 @@ export var Volume: StaticStructureSchema = [ ]; export var VolumeFrom: StaticStructureSchema = [3, n0, _VF, 0, [_sCo, _rO], [0, 2]]; export var VpcLatticeConfiguration: StaticStructureSchema = [3, n0, _VLC, 0, [_rA, _tGA, _pN], [0, 0, 0]]; -export var __Unit = "unit" as const; export var ECSServiceException: StaticErrorSchema = [-3, _sm, "ECSServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ECSServiceException, __ECSServiceException); export var AcceleratorManufacturerSet: StaticListSchema = [1, n0, _AMS, 0, [0, { [_xN]: _it }]]; diff --git a/clients/client-ecs/test/index-objects.spec.mjs b/clients/client-ecs/test/index-objects.spec.mjs index cf6b96447964..b1dbd4c0a4df 100644 --- a/clients/client-ecs/test/index-objects.spec.mjs +++ b/clients/client-ecs/test/index-objects.spec.mjs @@ -2,21 +2,31 @@ import { AcceleratorManufacturer, AcceleratorName, AcceleratorType, + AccessDeniedException, AccessType, AgentUpdateStatus, ApplicationProtocol, AssignPublicIp, + AttributeLimitExceededException, AvailabilityZoneRebalancing, BareMetal, + BlockedException, BurstablePerformance, CPUArchitecture, CapacityProviderField, CapacityProviderStatus, CapacityProviderType, CapacityProviderUpdateStatus, + ClientException, + ClusterContainsCapacityProviderException, + ClusterContainsContainerInstancesException, + ClusterContainsServicesException, + ClusterContainsTasksException, ClusterField, + ClusterNotFoundException, ClusterSettingName, Compatibility, + ConflictException, Connectivity, ContainerCondition, ContainerInstanceField, @@ -72,8 +82,10 @@ import { InstanceGeneration, InstanceHealthCheckState, InstanceHealthCheckType, + InvalidParameterException, IpcMode, LaunchType, + LimitExceededException, ListAccountSettingsCommand, ListAttributesCommand, ListClustersCommand, @@ -94,12 +106,17 @@ import { ManagedResourceStatus, ManagedScalingStatus, ManagedTerminationProtection, + MissingVersionException, + NamespaceNotFoundException, NetworkMode, + NoUpdateAvailableException, OSFamily, PidMode, PlacementConstraintType, PlacementStrategyType, PlatformDeviceType, + PlatformTaskDefinitionIncompatibilityException, + PlatformUnknownException, PropagateMITags, PropagateTags, ProxyConfigurationType, @@ -109,18 +126,24 @@ import { PutClusterCapacityProvidersCommand, RegisterContainerInstanceCommand, RegisterTaskDefinitionCommand, + ResourceInUseException, ResourceManagementType, + ResourceNotFoundException, ResourceType, RunTaskCommand, ScaleUnit, SchedulingStrategy, Scope, + ServerException, ServiceConnectAccessLoggingFormat, ServiceConnectIncludeQueryParameters, ServiceDeploymentLifecycleStage, + ServiceDeploymentNotFoundException, ServiceDeploymentRollbackMonitorsStatus, ServiceDeploymentStatus, ServiceField, + ServiceNotActiveException, + ServiceNotFoundException, SettingName, SettingType, SortOrder, @@ -133,6 +156,8 @@ import { SubmitContainerStateChangeCommand, SubmitTaskStateChangeCommand, TagResourceCommand, + TargetNotConnectedException, + TargetNotFoundException, TargetType, TaskDefinitionFamilyStatus, TaskDefinitionField, @@ -141,9 +166,11 @@ import { TaskField, TaskFilesystemType, TaskSetField, + TaskSetNotFoundException, TaskStopCode, TransportProtocol, UlimitName, + UnsupportedFeatureException, UntagResourceCommand, UpdateCapacityProviderCommand, UpdateClusterCommand, @@ -151,6 +178,7 @@ import { UpdateContainerAgentCommand, UpdateContainerInstancesStateCommand, UpdateExpressGatewayServiceCommand, + UpdateInProgressException, UpdateServiceCommand, UpdateServicePrimaryTaskSetCommand, UpdateTaskProtectionCommand, @@ -335,6 +363,34 @@ assert(typeof TransportProtocol === "object"); assert(typeof UlimitName === "object"); assert(typeof VersionConsistency === "object"); // errors +assert(AccessDeniedException.prototype instanceof ECSServiceException); +assert(AttributeLimitExceededException.prototype instanceof ECSServiceException); +assert(BlockedException.prototype instanceof ECSServiceException); +assert(ClientException.prototype instanceof ECSServiceException); +assert(ClusterContainsCapacityProviderException.prototype instanceof ECSServiceException); +assert(ClusterContainsContainerInstancesException.prototype instanceof ECSServiceException); +assert(ClusterContainsServicesException.prototype instanceof ECSServiceException); +assert(ClusterContainsTasksException.prototype instanceof ECSServiceException); +assert(ClusterNotFoundException.prototype instanceof ECSServiceException); +assert(ConflictException.prototype instanceof ECSServiceException); +assert(InvalidParameterException.prototype instanceof ECSServiceException); +assert(LimitExceededException.prototype instanceof ECSServiceException); +assert(MissingVersionException.prototype instanceof ECSServiceException); +assert(NamespaceNotFoundException.prototype instanceof ECSServiceException); +assert(NoUpdateAvailableException.prototype instanceof ECSServiceException); +assert(PlatformTaskDefinitionIncompatibilityException.prototype instanceof ECSServiceException); +assert(PlatformUnknownException.prototype instanceof ECSServiceException); +assert(ResourceInUseException.prototype instanceof ECSServiceException); +assert(ResourceNotFoundException.prototype instanceof ECSServiceException); +assert(ServerException.prototype instanceof ECSServiceException); +assert(ServiceDeploymentNotFoundException.prototype instanceof ECSServiceException); +assert(ServiceNotActiveException.prototype instanceof ECSServiceException); +assert(ServiceNotFoundException.prototype instanceof ECSServiceException); +assert(TargetNotConnectedException.prototype instanceof ECSServiceException); +assert(TargetNotFoundException.prototype instanceof ECSServiceException); +assert(TaskSetNotFoundException.prototype instanceof ECSServiceException); +assert(UnsupportedFeatureException.prototype instanceof ECSServiceException); +assert(UpdateInProgressException.prototype instanceof ECSServiceException); assert(ECSServiceException.prototype instanceof Error); // waiters assert(typeof waitForServicesInactive === "function"); diff --git a/clients/client-ecs/test/index-types.ts b/clients/client-ecs/test/index-types.ts index 89a8b8afe813..18de5e141a6a 100644 --- a/clients/client-ecs/test/index-types.ts +++ b/clients/client-ecs/test/index-types.ts @@ -575,6 +575,34 @@ export type { Volume, VolumeFrom, VpcLatticeConfiguration, + AccessDeniedException, + AttributeLimitExceededException, + BlockedException, + ClientException, + ClusterContainsCapacityProviderException, + ClusterContainsContainerInstancesException, + ClusterContainsServicesException, + ClusterContainsTasksException, + ClusterNotFoundException, + ConflictException, + InvalidParameterException, + LimitExceededException, + MissingVersionException, + NamespaceNotFoundException, + NoUpdateAvailableException, + PlatformTaskDefinitionIncompatibilityException, + PlatformUnknownException, + ResourceInUseException, + ResourceNotFoundException, + ServerException, + ServiceDeploymentNotFoundException, + ServiceNotActiveException, + ServiceNotFoundException, + TargetNotConnectedException, + TargetNotFoundException, + TaskSetNotFoundException, + UnsupportedFeatureException, + UpdateInProgressException, ECSServiceException, waitForServicesInactive, waitForServicesStable, diff --git a/clients/client-efs/test/index-objects.spec.mjs b/clients/client-efs/test/index-objects.spec.mjs index f331ca081e21..133257bdbbb4 100644 --- a/clients/client-efs/test/index-objects.spec.mjs +++ b/clients/client-efs/test/index-objects.spec.mjs @@ -1,4 +1,10 @@ import { + AccessPointAlreadyExists, + AccessPointLimitExceeded, + AccessPointNotFound, + AvailabilityZonesMismatch, + BadRequest, + ConflictException, CreateAccessPointCommand, CreateFileSystemCommand, CreateMountTargetCommand, @@ -11,6 +17,7 @@ import { DeleteReplicationConfigurationCommand, DeleteTagsCommand, DeletionMode, + DependencyTimeout, DescribeAccessPointsCommand, DescribeAccountPreferencesCommand, DescribeBackupPolicyCommand, @@ -24,28 +31,53 @@ import { EFS, EFSClient, EFSServiceException, + FileSystemAlreadyExists, + FileSystemInUse, + FileSystemLimitExceeded, + FileSystemNotFound, + IncorrectFileSystemLifeCycleState, + IncorrectMountTargetState, + InsufficientThroughputCapacity, + InternalServerError, + InvalidPolicyException, + IpAddressInUse, IpAddressType, LifeCycleState, ListTagsForResourceCommand, ModifyMountTargetSecurityGroupsCommand, + MountTargetConflict, + MountTargetNotFound, + NetworkInterfaceLimitExceeded, + NoFreeAddressesInSubnet, PerformanceMode, + PolicyNotFound, PutAccountPreferencesCommand, PutBackupPolicyCommand, PutFileSystemPolicyCommand, PutLifecycleConfigurationCommand, + ReplicationAlreadyExists, + ReplicationNotFound, ReplicationOverwriteProtection, ReplicationStatus, Resource, ResourceIdType, + SecurityGroupLimitExceeded, + SecurityGroupNotFound, Status, + SubnetNotFound, TagResourceCommand, + ThrottlingException, + ThroughputLimitExceeded, ThroughputMode, + TooManyRequests, TransitionToArchiveRules, TransitionToIARules, TransitionToPrimaryStorageClassRules, + UnsupportedAvailabilityZone, UntagResourceCommand, UpdateFileSystemCommand, UpdateFileSystemProtectionCommand, + ValidationException, paginateDescribeAccessPoints, paginateDescribeFileSystems, paginateDescribeMountTargets, @@ -104,6 +136,38 @@ assert(typeof TransitionToArchiveRules === "object"); assert(typeof TransitionToIARules === "object"); assert(typeof TransitionToPrimaryStorageClassRules === "object"); // errors +assert(AccessPointAlreadyExists.prototype instanceof EFSServiceException); +assert(AccessPointLimitExceeded.prototype instanceof EFSServiceException); +assert(AccessPointNotFound.prototype instanceof EFSServiceException); +assert(AvailabilityZonesMismatch.prototype instanceof EFSServiceException); +assert(BadRequest.prototype instanceof EFSServiceException); +assert(ConflictException.prototype instanceof EFSServiceException); +assert(DependencyTimeout.prototype instanceof EFSServiceException); +assert(FileSystemAlreadyExists.prototype instanceof EFSServiceException); +assert(FileSystemInUse.prototype instanceof EFSServiceException); +assert(FileSystemLimitExceeded.prototype instanceof EFSServiceException); +assert(FileSystemNotFound.prototype instanceof EFSServiceException); +assert(IncorrectFileSystemLifeCycleState.prototype instanceof EFSServiceException); +assert(IncorrectMountTargetState.prototype instanceof EFSServiceException); +assert(InsufficientThroughputCapacity.prototype instanceof EFSServiceException); +assert(InternalServerError.prototype instanceof EFSServiceException); +assert(InvalidPolicyException.prototype instanceof EFSServiceException); +assert(IpAddressInUse.prototype instanceof EFSServiceException); +assert(MountTargetConflict.prototype instanceof EFSServiceException); +assert(MountTargetNotFound.prototype instanceof EFSServiceException); +assert(NetworkInterfaceLimitExceeded.prototype instanceof EFSServiceException); +assert(NoFreeAddressesInSubnet.prototype instanceof EFSServiceException); +assert(PolicyNotFound.prototype instanceof EFSServiceException); +assert(ReplicationAlreadyExists.prototype instanceof EFSServiceException); +assert(ReplicationNotFound.prototype instanceof EFSServiceException); +assert(SecurityGroupLimitExceeded.prototype instanceof EFSServiceException); +assert(SecurityGroupNotFound.prototype instanceof EFSServiceException); +assert(SubnetNotFound.prototype instanceof EFSServiceException); +assert(ThrottlingException.prototype instanceof EFSServiceException); +assert(ThroughputLimitExceeded.prototype instanceof EFSServiceException); +assert(TooManyRequests.prototype instanceof EFSServiceException); +assert(UnsupportedAvailabilityZone.prototype instanceof EFSServiceException); +assert(ValidationException.prototype instanceof EFSServiceException); assert(EFSServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeAccessPoints === "function"); diff --git a/clients/client-efs/test/index-types.ts b/clients/client-efs/test/index-types.ts index 30859a49ffaf..8881f9309c10 100644 --- a/clients/client-efs/test/index-types.ts +++ b/clients/client-efs/test/index-types.ts @@ -166,6 +166,38 @@ export type { UntagResourceRequest, UpdateFileSystemProtectionRequest, UpdateFileSystemRequest, + AccessPointAlreadyExists, + AccessPointLimitExceeded, + AccessPointNotFound, + AvailabilityZonesMismatch, + BadRequest, + ConflictException, + DependencyTimeout, + FileSystemAlreadyExists, + FileSystemInUse, + FileSystemLimitExceeded, + FileSystemNotFound, + IncorrectFileSystemLifeCycleState, + IncorrectMountTargetState, + InsufficientThroughputCapacity, + InternalServerError, + InvalidPolicyException, + IpAddressInUse, + MountTargetConflict, + MountTargetNotFound, + NetworkInterfaceLimitExceeded, + NoFreeAddressesInSubnet, + PolicyNotFound, + ReplicationAlreadyExists, + ReplicationNotFound, + SecurityGroupLimitExceeded, + SecurityGroupNotFound, + SubnetNotFound, + ThrottlingException, + ThroughputLimitExceeded, + TooManyRequests, + UnsupportedAvailabilityZone, + ValidationException, EFSServiceException, paginateDescribeAccessPoints, paginateDescribeFileSystems, diff --git a/clients/client-eks-auth/test/index-objects.spec.mjs b/clients/client-eks-auth/test/index-objects.spec.mjs index a602dc345aa1..adb1e5010664 100644 --- a/clients/client-eks-auth/test/index-objects.spec.mjs +++ b/clients/client-eks-auth/test/index-objects.spec.mjs @@ -1,4 +1,18 @@ -import { AssumeRoleForPodIdentityCommand, EKSAuth, EKSAuthClient, EKSAuthServiceException } from "../dist-cjs/index.js"; +import { + AccessDeniedException, + AssumeRoleForPodIdentityCommand, + EKSAuth, + EKSAuthClient, + EKSAuthServiceException, + ExpiredTokenException, + InternalServerException, + InvalidParameterException, + InvalidRequestException, + InvalidTokenException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, +} from "../dist-cjs/index.js"; import assert from "node:assert"; // clients assert(typeof EKSAuthClient === "function"); @@ -6,5 +20,14 @@ assert(typeof EKSAuth === "function"); // commands assert(typeof AssumeRoleForPodIdentityCommand === "function"); // errors +assert(AccessDeniedException.prototype instanceof EKSAuthServiceException); +assert(ExpiredTokenException.prototype instanceof EKSAuthServiceException); +assert(InternalServerException.prototype instanceof EKSAuthServiceException); +assert(InvalidParameterException.prototype instanceof EKSAuthServiceException); +assert(InvalidRequestException.prototype instanceof EKSAuthServiceException); +assert(InvalidTokenException.prototype instanceof EKSAuthServiceException); +assert(ResourceNotFoundException.prototype instanceof EKSAuthServiceException); +assert(ServiceUnavailableException.prototype instanceof EKSAuthServiceException); +assert(ThrottlingException.prototype instanceof EKSAuthServiceException); assert(EKSAuthServiceException.prototype instanceof Error); console.log(`EKSAuth index test passed.`); diff --git a/clients/client-eks-auth/test/index-types.ts b/clients/client-eks-auth/test/index-types.ts index 9c6e32089292..9e123d57936b 100644 --- a/clients/client-eks-auth/test/index-types.ts +++ b/clients/client-eks-auth/test/index-types.ts @@ -11,5 +11,14 @@ export type { Credentials, PodIdentityAssociation, Subject, + AccessDeniedException, + ExpiredTokenException, + InternalServerException, + InvalidParameterException, + InvalidRequestException, + InvalidTokenException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, EKSAuthServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-eks/src/schemas/schemas_0.ts b/clients/client-eks/src/schemas/schemas_0.ts index fc1c8b3f1d81..fd7a482aa916 100644 --- a/clients/client-eks/src/schemas/schemas_0.ts +++ b/clients/client-eks/src/schemas/schemas_0.ts @@ -2131,7 +2131,6 @@ export var VpcConfigResponse: StaticStructureSchema = [ ]; export var ZonalShiftConfigRequest: StaticStructureSchema = [3, n0, _ZSCR, 0, [_en], [2]]; export var ZonalShiftConfigResponse: StaticStructureSchema = [3, n0, _ZSCRo, 0, [_en], [2]]; -export var __Unit = "unit" as const; export var EKSServiceException: StaticErrorSchema = [-3, _sm, "EKSServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(EKSServiceException, __EKSServiceException); export var AccessPoliciesList: StaticListSchema = [1, n0, _APL, 0, () => AccessPolicy]; diff --git a/clients/client-eks/test/index-objects.spec.mjs b/clients/client-eks/test/index-objects.spec.mjs index be1e9a495839..5f81358fc5d5 100644 --- a/clients/client-eks/test/index-objects.spec.mjs +++ b/clients/client-eks/test/index-objects.spec.mjs @@ -1,5 +1,6 @@ import { AMITypes, + AccessDeniedException, AccessScopeType, AddonIssueCode, AddonStatus, @@ -8,12 +9,14 @@ import { AssociateEncryptionConfigCommand, AssociateIdentityProviderConfigCommand, AuthenticationMode, + BadRequestException, CapabilityDeletePropagationPolicy, CapabilityIssueCode, CapabilityStatus, CapabilityType, CapacityTypes, Category, + ClientException, ClusterIssueCode, ClusterStatus, ClusterVersionStatus, @@ -64,6 +67,9 @@ import { FargateProfileStatus, InsightStatusValue, InsightsRefreshStatus, + InvalidParameterException, + InvalidRequestException, + InvalidStateException, IpFamily, ListAccessEntriesCommand, ListAccessPoliciesCommand, @@ -83,15 +89,24 @@ import { NodegroupIssueCode, NodegroupStatus, NodegroupUpdateStrategies, + NotFoundException, ProvisionedControlPlaneTier, RegisterClusterCommand, RepairAction, ResolveConflicts, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourcePropagationDelayException, + ServerException, + ServiceUnavailableException, SsoIdentityType, StartInsightsRefreshCommand, SupportType, TagResourceCommand, TaintEffect, + ThrottlingException, + UnsupportedAvailabilityZoneException, UntagResourceCommand, UpdateAccessEntryCommand, UpdateAddonCommand, @@ -249,6 +264,21 @@ assert(typeof UpdateStatus === "object"); assert(typeof UpdateType === "object"); assert(typeof VersionStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof EKSServiceException); +assert(BadRequestException.prototype instanceof EKSServiceException); +assert(ClientException.prototype instanceof EKSServiceException); +assert(InvalidParameterException.prototype instanceof EKSServiceException); +assert(InvalidRequestException.prototype instanceof EKSServiceException); +assert(InvalidStateException.prototype instanceof EKSServiceException); +assert(NotFoundException.prototype instanceof EKSServiceException); +assert(ResourceInUseException.prototype instanceof EKSServiceException); +assert(ResourceLimitExceededException.prototype instanceof EKSServiceException); +assert(ResourceNotFoundException.prototype instanceof EKSServiceException); +assert(ResourcePropagationDelayException.prototype instanceof EKSServiceException); +assert(ServerException.prototype instanceof EKSServiceException); +assert(ServiceUnavailableException.prototype instanceof EKSServiceException); +assert(ThrottlingException.prototype instanceof EKSServiceException); +assert(UnsupportedAvailabilityZoneException.prototype instanceof EKSServiceException); assert(EKSServiceException.prototype instanceof Error); // waiters assert(typeof waitForAddonActive === "function"); diff --git a/clients/client-eks/test/index-types.ts b/clients/client-eks/test/index-types.ts index 4d4bded5686c..52f9fb90e7d3 100644 --- a/clients/client-eks/test/index-types.ts +++ b/clients/client-eks/test/index-types.ts @@ -472,6 +472,21 @@ export type { VpcConfigResponse, ZonalShiftConfigRequest, ZonalShiftConfigResponse, + AccessDeniedException, + BadRequestException, + ClientException, + InvalidParameterException, + InvalidRequestException, + InvalidStateException, + NotFoundException, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourcePropagationDelayException, + ServerException, + ServiceUnavailableException, + ThrottlingException, + UnsupportedAvailabilityZoneException, EKSServiceException, waitForAddonActive, waitForAddonDeleted, diff --git a/clients/client-elastic-beanstalk/test/index-objects.spec.mjs b/clients/client-elastic-beanstalk/test/index-objects.spec.mjs index d8a0513996f4..4449e745b605 100644 --- a/clients/client-elastic-beanstalk/test/index-objects.spec.mjs +++ b/clients/client-elastic-beanstalk/test/index-objects.spec.mjs @@ -7,6 +7,7 @@ import { ApplyEnvironmentManagedActionCommand, AssociateEnvironmentOperationsRoleCommand, CheckDNSAvailabilityCommand, + CodeBuildNotInServiceRegionException, ComposeEnvironmentsCommand, ComputeType, ConfigurationDeploymentStatus, @@ -39,6 +40,7 @@ import { ElasticBeanstalk, ElasticBeanstalkClient, ElasticBeanstalkServiceException, + ElasticBeanstalkSyntheticServiceException, EnvironmentHealth, EnvironmentHealthAttribute, EnvironmentHealthStatus, @@ -47,19 +49,36 @@ import { EventSeverity, FailureType, InstancesHealthAttribute, + InsufficientPrivilegesException, + InvalidRequestException, ListAvailableSolutionStacksCommand, ListPlatformBranchesCommand, ListPlatformVersionsCommand, ListTagsForResourceCommand, + ManagedActionInvalidStateException, + OperationInProgressException, PlatformStatus, + PlatformVersionStillReferencedException, RebuildEnvironmentCommand, RequestEnvironmentInfoCommand, + ResourceNotFoundException, + ResourceTypeNotSupportedException, RestartAppServerCommand, RetrieveEnvironmentInfoCommand, + S3LocationNotInServiceRegionException, + S3SubscriptionRequiredException, + SourceBundleDeletionException, SourceRepository, SourceType, SwapEnvironmentCNAMEsCommand, TerminateEnvironmentCommand, + TooManyApplicationVersionsException, + TooManyApplicationsException, + TooManyBucketsException, + TooManyConfigurationTemplatesException, + TooManyEnvironmentsException, + TooManyPlatformsException, + TooManyTagsException, UpdateApplicationCommand, UpdateApplicationResourceLifecycleCommand, UpdateApplicationVersionCommand, @@ -152,7 +171,26 @@ assert(typeof SourceRepository === "object"); assert(typeof SourceType === "object"); assert(typeof ValidationSeverity === "object"); // errors -assert(ElasticBeanstalkServiceException.prototype instanceof Error); +assert(CodeBuildNotInServiceRegionException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(ElasticBeanstalkServiceException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(InsufficientPrivilegesException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(InvalidRequestException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(ManagedActionInvalidStateException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(OperationInProgressException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(PlatformVersionStillReferencedException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(ResourceNotFoundException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(ResourceTypeNotSupportedException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(S3LocationNotInServiceRegionException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(S3SubscriptionRequiredException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(SourceBundleDeletionException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(TooManyApplicationsException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(TooManyApplicationVersionsException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(TooManyBucketsException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(TooManyConfigurationTemplatesException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(TooManyEnvironmentsException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(TooManyPlatformsException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(TooManyTagsException.prototype instanceof ElasticBeanstalkSyntheticServiceException); +assert(ElasticBeanstalkSyntheticServiceException.prototype instanceof Error); // waiters assert(typeof waitForEnvironmentExists === "function"); assert(typeof waitForEnvironmentTerminated === "function"); diff --git a/clients/client-elastic-beanstalk/test/index-types.ts b/clients/client-elastic-beanstalk/test/index-types.ts index e1ce22fd599a..0be2fa189604 100644 --- a/clients/client-elastic-beanstalk/test/index-types.ts +++ b/clients/client-elastic-beanstalk/test/index-types.ts @@ -288,7 +288,26 @@ export type { UpdateTagsForResourceMessage, ValidateConfigurationSettingsMessage, ValidationMessage, + CodeBuildNotInServiceRegionException, ElasticBeanstalkServiceException, + InsufficientPrivilegesException, + InvalidRequestException, + ManagedActionInvalidStateException, + OperationInProgressException, + PlatformVersionStillReferencedException, + ResourceNotFoundException, + ResourceTypeNotSupportedException, + S3LocationNotInServiceRegionException, + S3SubscriptionRequiredException, + SourceBundleDeletionException, + TooManyApplicationsException, + TooManyApplicationVersionsException, + TooManyBucketsException, + TooManyConfigurationTemplatesException, + TooManyEnvironmentsException, + TooManyPlatformsException, + TooManyTagsException, + ElasticBeanstalkSyntheticServiceException, waitForEnvironmentExists, waitForEnvironmentTerminated, waitForEnvironmentUpdated, diff --git a/clients/client-elastic-load-balancing-v2/src/schemas/schemas_0.ts b/clients/client-elastic-load-balancing-v2/src/schemas/schemas_0.ts index dd6d294a143b..647cbbfbed21 100644 --- a/clients/client-elastic-load-balancing-v2/src/schemas/schemas_0.ts +++ b/clients/client-elastic-load-balancing-v2/src/schemas/schemas_0.ts @@ -1650,7 +1650,6 @@ export var ZonalCapacityReservationState: StaticStructureSchema = [ [_S, _AZ, _ECU], [() => CapacityReservationStatus, 0, 1], ]; -export var __Unit = "unit" as const; export var ElasticLoadBalancingV2ServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-elastic-load-balancing-v2/test/index-objects.spec.mjs b/clients/client-elastic-load-balancing-v2/test/index-objects.spec.mjs index 24ff5ab7ddaa..8afc743ba190 100644 --- a/clients/client-elastic-load-balancing-v2/test/index-objects.spec.mjs +++ b/clients/client-elastic-load-balancing-v2/test/index-objects.spec.mjs @@ -1,18 +1,27 @@ import { + ALPNPolicyNotSupportedException, ActionTypeEnum, AddListenerCertificatesCommand, AddTagsCommand, AddTrustStoreRevocationsCommand, AdvertiseTrustStoreCaNamesEnum, + AllocationIdNotFoundException, AnomalyResultEnum, AuthenticateCognitoActionConditionalBehaviorEnum, AuthenticateOidcActionConditionalBehaviorEnum, + AvailabilityZoneNotSupportedException, + CaCertificatesBundleNotFoundException, + CapacityDecreaseRequestsLimitExceededException, + CapacityReservationPendingException, CapacityReservationStateEnum, + CapacityUnitsLimitExceededException, + CertificateNotFoundException, CreateListenerCommand, CreateLoadBalancerCommand, CreateRuleCommand, CreateTargetGroupCommand, CreateTrustStoreCommand, + DeleteAssociationSameAccountException, DeleteListenerCommand, DeleteLoadBalancerCommand, DeleteRuleCommand, @@ -37,6 +46,11 @@ import { DescribeTrustStoreAssociationsCommand, DescribeTrustStoreRevocationsCommand, DescribeTrustStoresCommand, + DuplicateListenerException, + DuplicateLoadBalancerNameException, + DuplicateTagKeysException, + DuplicateTargetGroupNameException, + DuplicateTrustStoreNameException, ElasticLoadBalancingV2, ElasticLoadBalancingV2Client, ElasticLoadBalancingV2ServiceException, @@ -45,8 +59,21 @@ import { GetResourcePolicyCommand, GetTrustStoreCaCertificatesBundleCommand, GetTrustStoreRevocationContentCommand, + HealthUnavailableException, + IncompatibleProtocolsException, + InsufficientCapacityException, + InvalidCaCertificatesBundleException, + InvalidConfigurationRequestException, + InvalidLoadBalancerActionException, + InvalidRevocationContentException, + InvalidSchemeException, + InvalidSecurityGroupException, + InvalidSubnetException, + InvalidTargetException, IpAddressType, JwtValidationActionAdditionalClaimFormatEnum, + ListenerNotFoundException, + LoadBalancerNotFoundException, LoadBalancerSchemeEnum, LoadBalancerStateEnum, LoadBalancerTypeEnum, @@ -60,6 +87,9 @@ import { ModifyTargetGroupAttributesCommand, ModifyTargetGroupCommand, ModifyTrustStoreCommand, + OperationNotPermittedException, + PriorRequestNotCompleteException, + PriorityInUseException, ProtocolEnum, RedirectActionStatusCodeEnum, RegisterTargetsCommand, @@ -67,20 +97,46 @@ import { RemoveListenerCertificatesCommand, RemoveTagsCommand, RemoveTrustStoreRevocationsCommand, + ResourceInUseException, + ResourceNotFoundException, + RevocationContentNotFoundException, + RevocationIdNotFoundException, RevocationType, + RuleNotFoundException, + SSLPolicyNotFoundException, SetIpAddressTypeCommand, SetRulePrioritiesCommand, SetSecurityGroupsCommand, SetSubnetsCommand, + SubnetNotFoundException, TargetAdministrativeOverrideReasonEnum, TargetAdministrativeOverrideStateEnum, + TargetGroupAssociationLimitException, TargetGroupIpAddressTypeEnum, + TargetGroupNotFoundException, TargetHealthReasonEnum, TargetHealthStateEnum, TargetTypeEnum, + TooManyActionsException, + TooManyCertificatesException, + TooManyListenersException, + TooManyLoadBalancersException, + TooManyRegistrationsForTargetIdException, + TooManyRulesException, + TooManyTagsException, + TooManyTargetGroupsException, + TooManyTargetsException, + TooManyTrustStoreRevocationEntriesException, + TooManyTrustStoresException, + TooManyUniqueTargetGroupsPerLoadBalancerException, TransformTypeEnum, + TrustStoreAssociationNotFoundException, TrustStoreAssociationStatusEnum, + TrustStoreInUseException, + TrustStoreNotFoundException, + TrustStoreNotReadyException, TrustStoreStatus, + UnsupportedProtocolException, paginateDescribeAccountLimits, paginateDescribeListenerCertificates, paginateDescribeListeners, @@ -187,6 +243,62 @@ assert(typeof TransformTypeEnum === "object"); assert(typeof TrustStoreAssociationStatusEnum === "object"); assert(typeof TrustStoreStatus === "object"); // errors +assert(AllocationIdNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(ALPNPolicyNotSupportedException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(AvailabilityZoneNotSupportedException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(CaCertificatesBundleNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(CapacityDecreaseRequestsLimitExceededException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(CapacityReservationPendingException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(CapacityUnitsLimitExceededException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(CertificateNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(DeleteAssociationSameAccountException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(DuplicateListenerException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(DuplicateLoadBalancerNameException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(DuplicateTagKeysException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(DuplicateTargetGroupNameException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(DuplicateTrustStoreNameException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(HealthUnavailableException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(IncompatibleProtocolsException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(InsufficientCapacityException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(InvalidCaCertificatesBundleException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(InvalidConfigurationRequestException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(InvalidLoadBalancerActionException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(InvalidRevocationContentException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(InvalidSchemeException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(InvalidSecurityGroupException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(InvalidSubnetException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(InvalidTargetException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(ListenerNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(LoadBalancerNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(OperationNotPermittedException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(PriorityInUseException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(PriorRequestNotCompleteException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(ResourceInUseException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(ResourceNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(RevocationContentNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(RevocationIdNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(RuleNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(SSLPolicyNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(SubnetNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TargetGroupAssociationLimitException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TargetGroupNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyActionsException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyCertificatesException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyListenersException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyLoadBalancersException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyRegistrationsForTargetIdException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyRulesException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyTagsException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyTargetGroupsException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyTargetsException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyTrustStoreRevocationEntriesException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyTrustStoresException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TooManyUniqueTargetGroupsPerLoadBalancerException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TrustStoreAssociationNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TrustStoreInUseException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TrustStoreNotFoundException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(TrustStoreNotReadyException.prototype instanceof ElasticLoadBalancingV2ServiceException); +assert(UnsupportedProtocolException.prototype instanceof ElasticLoadBalancingV2ServiceException); assert(ElasticLoadBalancingV2ServiceException.prototype instanceof Error); // waiters assert(typeof waitForLoadBalancerAvailable === "function"); diff --git a/clients/client-elastic-load-balancing-v2/test/index-types.ts b/clients/client-elastic-load-balancing-v2/test/index-types.ts index 74ad11eb1923..3a442cfd48a6 100644 --- a/clients/client-elastic-load-balancing-v2/test/index-types.ts +++ b/clients/client-elastic-load-balancing-v2/test/index-types.ts @@ -341,6 +341,62 @@ export type { TrustStoreRevocation, UrlRewriteConfig, ZonalCapacityReservationState, + AllocationIdNotFoundException, + ALPNPolicyNotSupportedException, + AvailabilityZoneNotSupportedException, + CaCertificatesBundleNotFoundException, + CapacityDecreaseRequestsLimitExceededException, + CapacityReservationPendingException, + CapacityUnitsLimitExceededException, + CertificateNotFoundException, + DeleteAssociationSameAccountException, + DuplicateListenerException, + DuplicateLoadBalancerNameException, + DuplicateTagKeysException, + DuplicateTargetGroupNameException, + DuplicateTrustStoreNameException, + HealthUnavailableException, + IncompatibleProtocolsException, + InsufficientCapacityException, + InvalidCaCertificatesBundleException, + InvalidConfigurationRequestException, + InvalidLoadBalancerActionException, + InvalidRevocationContentException, + InvalidSchemeException, + InvalidSecurityGroupException, + InvalidSubnetException, + InvalidTargetException, + ListenerNotFoundException, + LoadBalancerNotFoundException, + OperationNotPermittedException, + PriorityInUseException, + PriorRequestNotCompleteException, + ResourceInUseException, + ResourceNotFoundException, + RevocationContentNotFoundException, + RevocationIdNotFoundException, + RuleNotFoundException, + SSLPolicyNotFoundException, + SubnetNotFoundException, + TargetGroupAssociationLimitException, + TargetGroupNotFoundException, + TooManyActionsException, + TooManyCertificatesException, + TooManyListenersException, + TooManyLoadBalancersException, + TooManyRegistrationsForTargetIdException, + TooManyRulesException, + TooManyTagsException, + TooManyTargetGroupsException, + TooManyTargetsException, + TooManyTrustStoreRevocationEntriesException, + TooManyTrustStoresException, + TooManyUniqueTargetGroupsPerLoadBalancerException, + TrustStoreAssociationNotFoundException, + TrustStoreInUseException, + TrustStoreNotFoundException, + TrustStoreNotReadyException, + UnsupportedProtocolException, ElasticLoadBalancingV2ServiceException, waitForLoadBalancerAvailable, waitForLoadBalancerExists, diff --git a/clients/client-elastic-load-balancing/test/index-objects.spec.mjs b/clients/client-elastic-load-balancing/test/index-objects.spec.mjs index a24b37496708..d372e756e113 100644 --- a/clients/client-elastic-load-balancing/test/index-objects.spec.mjs +++ b/clients/client-elastic-load-balancing/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessPointNotFoundException, AddTagsCommand, ApplySecurityGroupsToLoadBalancerCommand, AttachLoadBalancerToSubnetsCommand, + CertificateNotFoundException, ConfigureHealthCheckCommand, CreateAppCookieStickinessPolicyCommand, CreateLBCookieStickinessPolicyCommand, @@ -11,6 +13,7 @@ import { DeleteLoadBalancerCommand, DeleteLoadBalancerListenersCommand, DeleteLoadBalancerPolicyCommand, + DependencyThrottleException, DeregisterInstancesFromLoadBalancerCommand, DescribeAccountLimitsCommand, DescribeInstanceHealthCommand, @@ -21,16 +24,35 @@ import { DescribeTagsCommand, DetachLoadBalancerFromSubnetsCommand, DisableAvailabilityZonesForLoadBalancerCommand, + DuplicateAccessPointNameException, + DuplicateListenerException, + DuplicatePolicyNameException, + DuplicateTagKeysException, ElasticLoadBalancing, ElasticLoadBalancingClient, ElasticLoadBalancingServiceException, EnableAvailabilityZonesForLoadBalancerCommand, + InvalidConfigurationRequestException, + InvalidEndPointException, + InvalidSchemeException, + InvalidSecurityGroupException, + InvalidSubnetException, + ListenerNotFoundException, + LoadBalancerAttributeNotFoundException, ModifyLoadBalancerAttributesCommand, + OperationNotPermittedException, + PolicyNotFoundException, + PolicyTypeNotFoundException, RegisterInstancesWithLoadBalancerCommand, RemoveTagsCommand, SetLoadBalancerListenerSSLCertificateCommand, SetLoadBalancerPoliciesForBackendServerCommand, SetLoadBalancerPoliciesOfListenerCommand, + SubnetNotFoundException, + TooManyAccessPointsException, + TooManyPoliciesException, + TooManyTagsException, + UnsupportedProtocolException, paginateDescribeLoadBalancers, waitForAnyInstanceInService, waitForInstanceDeregistered, @@ -74,6 +96,28 @@ assert(typeof SetLoadBalancerListenerSSLCertificateCommand === "function"); assert(typeof SetLoadBalancerPoliciesForBackendServerCommand === "function"); assert(typeof SetLoadBalancerPoliciesOfListenerCommand === "function"); // errors +assert(AccessPointNotFoundException.prototype instanceof ElasticLoadBalancingServiceException); +assert(CertificateNotFoundException.prototype instanceof ElasticLoadBalancingServiceException); +assert(DependencyThrottleException.prototype instanceof ElasticLoadBalancingServiceException); +assert(DuplicateAccessPointNameException.prototype instanceof ElasticLoadBalancingServiceException); +assert(DuplicateListenerException.prototype instanceof ElasticLoadBalancingServiceException); +assert(DuplicatePolicyNameException.prototype instanceof ElasticLoadBalancingServiceException); +assert(DuplicateTagKeysException.prototype instanceof ElasticLoadBalancingServiceException); +assert(InvalidConfigurationRequestException.prototype instanceof ElasticLoadBalancingServiceException); +assert(InvalidEndPointException.prototype instanceof ElasticLoadBalancingServiceException); +assert(InvalidSchemeException.prototype instanceof ElasticLoadBalancingServiceException); +assert(InvalidSecurityGroupException.prototype instanceof ElasticLoadBalancingServiceException); +assert(InvalidSubnetException.prototype instanceof ElasticLoadBalancingServiceException); +assert(ListenerNotFoundException.prototype instanceof ElasticLoadBalancingServiceException); +assert(LoadBalancerAttributeNotFoundException.prototype instanceof ElasticLoadBalancingServiceException); +assert(OperationNotPermittedException.prototype instanceof ElasticLoadBalancingServiceException); +assert(PolicyNotFoundException.prototype instanceof ElasticLoadBalancingServiceException); +assert(PolicyTypeNotFoundException.prototype instanceof ElasticLoadBalancingServiceException); +assert(SubnetNotFoundException.prototype instanceof ElasticLoadBalancingServiceException); +assert(TooManyAccessPointsException.prototype instanceof ElasticLoadBalancingServiceException); +assert(TooManyPoliciesException.prototype instanceof ElasticLoadBalancingServiceException); +assert(TooManyTagsException.prototype instanceof ElasticLoadBalancingServiceException); +assert(UnsupportedProtocolException.prototype instanceof ElasticLoadBalancingServiceException); assert(ElasticLoadBalancingServiceException.prototype instanceof Error); // waiters assert(typeof waitForAnyInstanceInService === "function"); diff --git a/clients/client-elastic-load-balancing/test/index-types.ts b/clients/client-elastic-load-balancing/test/index-types.ts index 3663bb8081ba..3dd7e9076c1b 100644 --- a/clients/client-elastic-load-balancing/test/index-types.ts +++ b/clients/client-elastic-load-balancing/test/index-types.ts @@ -173,6 +173,28 @@ export type { Tag, TagDescription, TagKeyOnly, + AccessPointNotFoundException, + CertificateNotFoundException, + DependencyThrottleException, + DuplicateAccessPointNameException, + DuplicateListenerException, + DuplicatePolicyNameException, + DuplicateTagKeysException, + InvalidConfigurationRequestException, + InvalidEndPointException, + InvalidSchemeException, + InvalidSecurityGroupException, + InvalidSubnetException, + ListenerNotFoundException, + LoadBalancerAttributeNotFoundException, + OperationNotPermittedException, + PolicyNotFoundException, + PolicyTypeNotFoundException, + SubnetNotFoundException, + TooManyAccessPointsException, + TooManyPoliciesException, + TooManyTagsException, + UnsupportedProtocolException, ElasticLoadBalancingServiceException, waitForAnyInstanceInService, waitForInstanceDeregistered, diff --git a/clients/client-elastic-transcoder/test/index-objects.spec.mjs b/clients/client-elastic-transcoder/test/index-objects.spec.mjs index 866e9df4d4b5..2bcbfb372450 100644 --- a/clients/client-elastic-transcoder/test/index-objects.spec.mjs +++ b/clients/client-elastic-transcoder/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, CancelJobCommand, CreateJobCommand, CreatePipelineCommand, @@ -8,6 +9,9 @@ import { ElasticTranscoder, ElasticTranscoderClient, ElasticTranscoderServiceException, + IncompatibleVersionException, + InternalServiceException, + LimitExceededException, ListJobsByPipelineCommand, ListJobsByStatusCommand, ListPipelinesCommand, @@ -15,10 +19,13 @@ import { ReadJobCommand, ReadPipelineCommand, ReadPresetCommand, + ResourceInUseException, + ResourceNotFoundException, TestRoleCommand, UpdatePipelineCommand, UpdatePipelineNotificationsCommand, UpdatePipelineStatusCommand, + ValidationException, paginateListJobsByPipeline, paginateListJobsByStatus, paginateListPipelines, @@ -49,6 +56,13 @@ assert(typeof UpdatePipelineCommand === "function"); assert(typeof UpdatePipelineNotificationsCommand === "function"); assert(typeof UpdatePipelineStatusCommand === "function"); // errors +assert(AccessDeniedException.prototype instanceof ElasticTranscoderServiceException); +assert(IncompatibleVersionException.prototype instanceof ElasticTranscoderServiceException); +assert(InternalServiceException.prototype instanceof ElasticTranscoderServiceException); +assert(LimitExceededException.prototype instanceof ElasticTranscoderServiceException); +assert(ResourceInUseException.prototype instanceof ElasticTranscoderServiceException); +assert(ResourceNotFoundException.prototype instanceof ElasticTranscoderServiceException); +assert(ValidationException.prototype instanceof ElasticTranscoderServiceException); assert(ElasticTranscoderServiceException.prototype instanceof Error); // waiters assert(typeof waitForJobComplete === "function"); diff --git a/clients/client-elastic-transcoder/test/index-types.ts b/clients/client-elastic-transcoder/test/index-types.ts index 96ba89b9d727..a0cd70fecda8 100644 --- a/clients/client-elastic-transcoder/test/index-types.ts +++ b/clients/client-elastic-transcoder/test/index-types.ts @@ -118,6 +118,13 @@ export type { UpdatePipelineStatusResponse, VideoParameters, Warning, + AccessDeniedException, + IncompatibleVersionException, + InternalServiceException, + LimitExceededException, + ResourceInUseException, + ResourceNotFoundException, + ValidationException, ElasticTranscoderServiceException, waitForJobComplete, waitUntilJobComplete, diff --git a/clients/client-elasticache/test/index-objects.spec.mjs b/clients/client-elasticache/test/index-objects.spec.mjs index d6e2a89d91e1..f31abd3df024 100644 --- a/clients/client-elasticache/test/index-objects.spec.mjs +++ b/clients/client-elasticache/test/index-objects.spec.mjs @@ -1,15 +1,32 @@ import { + APICallRateForCustomerExceededFault, AZMode, AddTagsToResourceCommand, AuthTokenUpdateStatus, AuthTokenUpdateStrategyType, AuthenticationType, + AuthorizationAlreadyExistsFault, + AuthorizationNotFoundFault, AuthorizeCacheSecurityGroupIngressCommand, AutomaticFailoverStatus, BatchApplyUpdateActionCommand, BatchStopUpdateActionCommand, + CacheClusterAlreadyExistsFault, + CacheClusterNotFoundFault, + CacheParameterGroupAlreadyExistsFault, + CacheParameterGroupNotFoundFault, + CacheParameterGroupQuotaExceededFault, + CacheSecurityGroupAlreadyExistsFault, + CacheSecurityGroupNotFoundFault, + CacheSecurityGroupQuotaExceededFault, + CacheSubnetGroupAlreadyExistsFault, + CacheSubnetGroupInUse, + CacheSubnetGroupNotFoundFault, + CacheSubnetGroupQuotaExceededFault, + CacheSubnetQuotaExceededFault, ChangeType, ClusterMode, + ClusterQuotaForCustomerExceededFault, CompleteMigrationCommand, CopyServerlessCacheSnapshotCommand, CopySnapshotCommand, @@ -28,6 +45,8 @@ import { DataTieringStatus, DecreaseNodeGroupsInGlobalReplicationGroupCommand, DecreaseReplicaCountCommand, + DefaultUserAssociatedToUserGroupFault, + DefaultUserRequired, DeleteCacheClusterCommand, DeleteCacheParameterGroupCommand, DeleteCacheSecurityGroupCommand, @@ -60,14 +79,35 @@ import { DescribeUsersCommand, DestinationType, DisassociateGlobalReplicationGroupCommand, + DuplicateUserNameFault, ElastiCache, ElastiCacheClient, ElastiCacheServiceException, ExportServerlessCacheSnapshotCommand, FailoverGlobalReplicationGroupCommand, + GlobalReplicationGroupAlreadyExistsFault, + GlobalReplicationGroupNotFoundFault, IncreaseNodeGroupsInGlobalReplicationGroupCommand, IncreaseReplicaCountCommand, InputAuthenticationType, + InsufficientCacheClusterCapacityFault, + InvalidARNFault, + InvalidCacheClusterStateFault, + InvalidCacheParameterGroupStateFault, + InvalidCacheSecurityGroupStateFault, + InvalidCredentialsException, + InvalidGlobalReplicationGroupStateFault, + InvalidKMSKeyFault, + InvalidParameterCombinationException, + InvalidParameterValueException, + InvalidReplicationGroupStateFault, + InvalidServerlessCacheSnapshotStateFault, + InvalidServerlessCacheStateFault, + InvalidSnapshotStateFault, + InvalidSubnet, + InvalidUserGroupStateFault, + InvalidUserStateFault, + InvalidVPCNetworkStateFault, IpDiscovery, ListAllowedNodeTypeModificationsCommand, ListTagsForResourceCommand, @@ -85,6 +125,11 @@ import { ModifyUserGroupCommand, MultiAZStatus, NetworkType, + NoOperationFault, + NodeGroupNotFoundFault, + NodeGroupsPerReplicationGroupQuotaExceededFault, + NodeQuotaForClusterExceededFault, + NodeQuotaForCustomerExceededFault, NodeUpdateInitiatedBy, NodeUpdateStatus, OutpostMode, @@ -93,18 +138,49 @@ import { RebalanceSlotsInGlobalReplicationGroupCommand, RebootCacheClusterCommand, RemoveTagsFromResourceCommand, + ReplicationGroupAlreadyExistsFault, + ReplicationGroupAlreadyUnderMigrationFault, + ReplicationGroupNotFoundFault, + ReplicationGroupNotUnderMigrationFault, + ReservedCacheNodeAlreadyExistsFault, + ReservedCacheNodeNotFoundFault, + ReservedCacheNodeQuotaExceededFault, + ReservedCacheNodesOfferingNotFoundFault, ResetCacheParameterGroupCommand, RevokeCacheSecurityGroupIngressCommand, + ServerlessCacheAlreadyExistsFault, + ServerlessCacheNotFoundFault, + ServerlessCacheQuotaForCustomerExceededFault, + ServerlessCacheSnapshotAlreadyExistsFault, + ServerlessCacheSnapshotNotFoundFault, + ServerlessCacheSnapshotQuotaExceededFault, + ServiceLinkedRoleNotFoundFault, + ServiceUpdateNotFoundFault, ServiceUpdateSeverity, ServiceUpdateStatus, ServiceUpdateType, SlaMet, + SnapshotAlreadyExistsFault, + SnapshotFeatureNotSupportedFault, + SnapshotNotFoundFault, + SnapshotQuotaExceededFault, SourceType, StartMigrationCommand, + SubnetInUse, + SubnetNotAllowedFault, + TagNotFoundFault, + TagQuotaPerResourceExceeded, TestFailoverCommand, + TestFailoverNotAvailableFault, TestMigrationCommand, TransitEncryptionMode, UpdateActionStatus, + UserAlreadyExistsFault, + UserGroupAlreadyExistsFault, + UserGroupNotFoundFault, + UserGroupQuotaExceededFault, + UserNotFoundFault, + UserQuotaExceededFault, paginateDescribeCacheClusters, paginateDescribeCacheEngineVersions, paginateDescribeCacheParameterGroups, @@ -243,6 +319,82 @@ assert(typeof SourceType === "object"); assert(typeof TransitEncryptionMode === "object"); assert(typeof UpdateActionStatus === "object"); // errors +assert(APICallRateForCustomerExceededFault.prototype instanceof ElastiCacheServiceException); +assert(AuthorizationAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(AuthorizationNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(CacheClusterAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(CacheClusterNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(CacheParameterGroupAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(CacheParameterGroupNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(CacheParameterGroupQuotaExceededFault.prototype instanceof ElastiCacheServiceException); +assert(CacheSecurityGroupAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(CacheSecurityGroupNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(CacheSecurityGroupQuotaExceededFault.prototype instanceof ElastiCacheServiceException); +assert(CacheSubnetGroupAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(CacheSubnetGroupInUse.prototype instanceof ElastiCacheServiceException); +assert(CacheSubnetGroupNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(CacheSubnetGroupQuotaExceededFault.prototype instanceof ElastiCacheServiceException); +assert(CacheSubnetQuotaExceededFault.prototype instanceof ElastiCacheServiceException); +assert(ClusterQuotaForCustomerExceededFault.prototype instanceof ElastiCacheServiceException); +assert(DefaultUserAssociatedToUserGroupFault.prototype instanceof ElastiCacheServiceException); +assert(DefaultUserRequired.prototype instanceof ElastiCacheServiceException); +assert(DuplicateUserNameFault.prototype instanceof ElastiCacheServiceException); +assert(GlobalReplicationGroupAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(GlobalReplicationGroupNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(InsufficientCacheClusterCapacityFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidARNFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidCacheClusterStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidCacheParameterGroupStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidCacheSecurityGroupStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidCredentialsException.prototype instanceof ElastiCacheServiceException); +assert(InvalidGlobalReplicationGroupStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidKMSKeyFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidParameterCombinationException.prototype instanceof ElastiCacheServiceException); +assert(InvalidParameterValueException.prototype instanceof ElastiCacheServiceException); +assert(InvalidReplicationGroupStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidServerlessCacheSnapshotStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidServerlessCacheStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidSnapshotStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidSubnet.prototype instanceof ElastiCacheServiceException); +assert(InvalidUserGroupStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidUserStateFault.prototype instanceof ElastiCacheServiceException); +assert(InvalidVPCNetworkStateFault.prototype instanceof ElastiCacheServiceException); +assert(NodeGroupNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(NodeGroupsPerReplicationGroupQuotaExceededFault.prototype instanceof ElastiCacheServiceException); +assert(NodeQuotaForClusterExceededFault.prototype instanceof ElastiCacheServiceException); +assert(NodeQuotaForCustomerExceededFault.prototype instanceof ElastiCacheServiceException); +assert(NoOperationFault.prototype instanceof ElastiCacheServiceException); +assert(ReplicationGroupAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(ReplicationGroupAlreadyUnderMigrationFault.prototype instanceof ElastiCacheServiceException); +assert(ReplicationGroupNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(ReplicationGroupNotUnderMigrationFault.prototype instanceof ElastiCacheServiceException); +assert(ReservedCacheNodeAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(ReservedCacheNodeNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(ReservedCacheNodeQuotaExceededFault.prototype instanceof ElastiCacheServiceException); +assert(ReservedCacheNodesOfferingNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(ServerlessCacheAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(ServerlessCacheNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(ServerlessCacheQuotaForCustomerExceededFault.prototype instanceof ElastiCacheServiceException); +assert(ServerlessCacheSnapshotAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(ServerlessCacheSnapshotNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(ServerlessCacheSnapshotQuotaExceededFault.prototype instanceof ElastiCacheServiceException); +assert(ServiceLinkedRoleNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(ServiceUpdateNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(SnapshotAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(SnapshotFeatureNotSupportedFault.prototype instanceof ElastiCacheServiceException); +assert(SnapshotNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(SnapshotQuotaExceededFault.prototype instanceof ElastiCacheServiceException); +assert(SubnetInUse.prototype instanceof ElastiCacheServiceException); +assert(SubnetNotAllowedFault.prototype instanceof ElastiCacheServiceException); +assert(TagNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(TagQuotaPerResourceExceeded.prototype instanceof ElastiCacheServiceException); +assert(TestFailoverNotAvailableFault.prototype instanceof ElastiCacheServiceException); +assert(UserAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(UserGroupAlreadyExistsFault.prototype instanceof ElastiCacheServiceException); +assert(UserGroupNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(UserGroupQuotaExceededFault.prototype instanceof ElastiCacheServiceException); +assert(UserNotFoundFault.prototype instanceof ElastiCacheServiceException); +assert(UserQuotaExceededFault.prototype instanceof ElastiCacheServiceException); assert(ElastiCacheServiceException.prototype instanceof Error); // waiters assert(typeof waitForCacheClusterAvailable === "function"); diff --git a/clients/client-elasticache/test/index-types.ts b/clients/client-elasticache/test/index-types.ts index 54ec5526b4de..410eb864a6bd 100644 --- a/clients/client-elasticache/test/index-types.ts +++ b/clients/client-elasticache/test/index-types.ts @@ -463,6 +463,82 @@ export type { UserGroup, UserGroupPendingChanges, UserGroupsUpdateStatus, + APICallRateForCustomerExceededFault, + AuthorizationAlreadyExistsFault, + AuthorizationNotFoundFault, + CacheClusterAlreadyExistsFault, + CacheClusterNotFoundFault, + CacheParameterGroupAlreadyExistsFault, + CacheParameterGroupNotFoundFault, + CacheParameterGroupQuotaExceededFault, + CacheSecurityGroupAlreadyExistsFault, + CacheSecurityGroupNotFoundFault, + CacheSecurityGroupQuotaExceededFault, + CacheSubnetGroupAlreadyExistsFault, + CacheSubnetGroupInUse, + CacheSubnetGroupNotFoundFault, + CacheSubnetGroupQuotaExceededFault, + CacheSubnetQuotaExceededFault, + ClusterQuotaForCustomerExceededFault, + DefaultUserAssociatedToUserGroupFault, + DefaultUserRequired, + DuplicateUserNameFault, + GlobalReplicationGroupAlreadyExistsFault, + GlobalReplicationGroupNotFoundFault, + InsufficientCacheClusterCapacityFault, + InvalidARNFault, + InvalidCacheClusterStateFault, + InvalidCacheParameterGroupStateFault, + InvalidCacheSecurityGroupStateFault, + InvalidCredentialsException, + InvalidGlobalReplicationGroupStateFault, + InvalidKMSKeyFault, + InvalidParameterCombinationException, + InvalidParameterValueException, + InvalidReplicationGroupStateFault, + InvalidServerlessCacheSnapshotStateFault, + InvalidServerlessCacheStateFault, + InvalidSnapshotStateFault, + InvalidSubnet, + InvalidUserGroupStateFault, + InvalidUserStateFault, + InvalidVPCNetworkStateFault, + NodeGroupNotFoundFault, + NodeGroupsPerReplicationGroupQuotaExceededFault, + NodeQuotaForClusterExceededFault, + NodeQuotaForCustomerExceededFault, + NoOperationFault, + ReplicationGroupAlreadyExistsFault, + ReplicationGroupAlreadyUnderMigrationFault, + ReplicationGroupNotFoundFault, + ReplicationGroupNotUnderMigrationFault, + ReservedCacheNodeAlreadyExistsFault, + ReservedCacheNodeNotFoundFault, + ReservedCacheNodeQuotaExceededFault, + ReservedCacheNodesOfferingNotFoundFault, + ServerlessCacheAlreadyExistsFault, + ServerlessCacheNotFoundFault, + ServerlessCacheQuotaForCustomerExceededFault, + ServerlessCacheSnapshotAlreadyExistsFault, + ServerlessCacheSnapshotNotFoundFault, + ServerlessCacheSnapshotQuotaExceededFault, + ServiceLinkedRoleNotFoundFault, + ServiceUpdateNotFoundFault, + SnapshotAlreadyExistsFault, + SnapshotFeatureNotSupportedFault, + SnapshotNotFoundFault, + SnapshotQuotaExceededFault, + SubnetInUse, + SubnetNotAllowedFault, + TagNotFoundFault, + TagQuotaPerResourceExceeded, + TestFailoverNotAvailableFault, + UserAlreadyExistsFault, + UserGroupAlreadyExistsFault, + UserGroupNotFoundFault, + UserGroupQuotaExceededFault, + UserNotFoundFault, + UserQuotaExceededFault, ElastiCacheServiceException, waitForCacheClusterAvailable, waitForCacheClusterDeleted, diff --git a/clients/client-elasticsearch-service/test/index-objects.spec.mjs b/clients/client-elasticsearch-service/test/index-objects.spec.mjs index c89c7590eec4..27307edfdf68 100644 --- a/clients/client-elasticsearch-service/test/index-objects.spec.mjs +++ b/clients/client-elasticsearch-service/test/index-objects.spec.mjs @@ -1,14 +1,17 @@ import { AcceptInboundCrossClusterSearchConnectionCommand, + AccessDeniedException, AddTagsCommand, AssociatePackageCommand, AuthorizeVpcEndpointAccessCommand, AutoTuneDesiredState, AutoTuneState, AutoTuneType, + BaseException, CancelDomainConfigChangeCommand, CancelElasticsearchServiceSoftwareUpdateCommand, ConfigChangeStatus, + ConflictException, CreateElasticsearchDomainCommand, CreateOutboundCrossClusterSearchConnectionCommand, CreatePackageCommand, @@ -33,6 +36,7 @@ import { DescribeReservedElasticsearchInstanceOfferingsCommand, DescribeReservedElasticsearchInstancesCommand, DescribeVpcEndpointsCommand, + DisabledOperationException, DissociatePackageCommand, DomainPackageStatus, DomainProcessingStatusType, @@ -48,6 +52,10 @@ import { GetUpgradeStatusCommand, InboundCrossClusterSearchConnectionStatusCode, InitiatedBy, + InternalException, + InvalidPaginationTokenException, + InvalidTypeException, + LimitExceededException, ListDomainNamesCommand, ListDomainsForPackageCommand, ListElasticsearchInstanceTypesCommand, @@ -69,6 +77,8 @@ import { RejectInboundCrossClusterSearchConnectionCommand, RemoveTagsCommand, ReservedElasticsearchInstancePaymentOption, + ResourceAlreadyExistsException, + ResourceNotFoundException, RevokeVpcEndpointAccessCommand, RollbackOnDisable, ScheduledAutoTuneActionType, @@ -82,6 +92,7 @@ import { UpgradeElasticsearchDomainCommand, UpgradeStatus, UpgradeStep, + ValidationException, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus, @@ -188,6 +199,17 @@ assert(typeof VolumeType === "object"); assert(typeof VpcEndpointErrorCode === "object"); assert(typeof VpcEndpointStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof ElasticsearchServiceServiceException); +assert(BaseException.prototype instanceof ElasticsearchServiceServiceException); +assert(ConflictException.prototype instanceof ElasticsearchServiceServiceException); +assert(DisabledOperationException.prototype instanceof ElasticsearchServiceServiceException); +assert(InternalException.prototype instanceof ElasticsearchServiceServiceException); +assert(InvalidPaginationTokenException.prototype instanceof ElasticsearchServiceServiceException); +assert(InvalidTypeException.prototype instanceof ElasticsearchServiceServiceException); +assert(LimitExceededException.prototype instanceof ElasticsearchServiceServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof ElasticsearchServiceServiceException); +assert(ResourceNotFoundException.prototype instanceof ElasticsearchServiceServiceException); +assert(ValidationException.prototype instanceof ElasticsearchServiceServiceException); assert(ElasticsearchServiceServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeDomainAutoTunes === "function"); diff --git a/clients/client-elasticsearch-service/test/index-types.ts b/clients/client-elasticsearch-service/test/index-types.ts index 298a29c79b3f..3edcb9cf5b6a 100644 --- a/clients/client-elasticsearch-service/test/index-types.ts +++ b/clients/client-elasticsearch-service/test/index-types.ts @@ -366,6 +366,17 @@ export type { VpcEndpointSummary, VPCOptions, ZoneAwarenessConfig, + AccessDeniedException, + BaseException, + ConflictException, + DisabledOperationException, + InternalException, + InvalidPaginationTokenException, + InvalidTypeException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ValidationException, ElasticsearchServiceServiceException, paginateDescribeDomainAutoTunes, paginateDescribeInboundCrossClusterSearchConnections, diff --git a/clients/client-emr-containers/src/schemas/schemas_0.ts b/clients/client-emr-containers/src/schemas/schemas_0.ts index d9af05f3a0e0..bf49fb3b40f0 100644 --- a/clients/client-emr-containers/src/schemas/schemas_0.ts +++ b/clients/client-emr-containers/src/schemas/schemas_0.ts @@ -750,7 +750,6 @@ export var VirtualCluster: StaticStructureSchema = [ [_i, _n, _a, _s, _cP, _cAr, _ta, _sCI], [0, 0, 0, 0, () => ContainerProvider, 5, 128 | 0, 0], ]; -export var __Unit = "unit" as const; export var EMRContainersServiceException: StaticErrorSchema = [-3, _sm, "EMRContainersServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(EMRContainersServiceException, __EMRContainersServiceException); export var ConfigurationList: StaticListSchema = [1, n0, _CL, 0, [() => Configuration, 0]]; diff --git a/clients/client-emr-containers/test/index-objects.spec.mjs b/clients/client-emr-containers/test/index-objects.spec.mjs index 792413dee78b..b4bedda227bb 100644 --- a/clients/client-emr-containers/test/index-objects.spec.mjs +++ b/clients/client-emr-containers/test/index-objects.spec.mjs @@ -15,12 +15,14 @@ import { DescribeManagedEndpointCommand, DescribeSecurityConfigurationCommand, DescribeVirtualClusterCommand, + EKSRequestThrottledException, EMRContainers, EMRContainersClient, EMRContainersServiceException, EndpointState, FailureReason, GetManagedEndpointSessionCredentialsCommand, + InternalServerException, JobRunState, ListJobRunsCommand, ListJobTemplatesCommand, @@ -29,10 +31,13 @@ import { ListTagsForResourceCommand, ListVirtualClustersCommand, PersistentAppUI, + RequestThrottledException, + ResourceNotFoundException, StartJobRunCommand, TagResourceCommand, TemplateParameterDataType, UntagResourceCommand, + ValidationException, VirtualClusterState, paginateListJobRuns, paginateListJobTemplates, @@ -79,6 +84,11 @@ assert(typeof PersistentAppUI === "object"); assert(typeof TemplateParameterDataType === "object"); assert(typeof VirtualClusterState === "object"); // errors +assert(EKSRequestThrottledException.prototype instanceof EMRContainersServiceException); +assert(InternalServerException.prototype instanceof EMRContainersServiceException); +assert(RequestThrottledException.prototype instanceof EMRContainersServiceException); +assert(ResourceNotFoundException.prototype instanceof EMRContainersServiceException); +assert(ValidationException.prototype instanceof EMRContainersServiceException); assert(EMRContainersServiceException.prototype instanceof Error); // paginators assert(typeof paginateListJobRuns === "function"); diff --git a/clients/client-emr-containers/test/index-types.ts b/clients/client-emr-containers/test/index-types.ts index 8b393270c5e6..14d05c70a77e 100644 --- a/clients/client-emr-containers/test/index-types.ts +++ b/clients/client-emr-containers/test/index-types.ts @@ -161,6 +161,11 @@ export type { UntagResourceRequest, UntagResourceResponse, VirtualCluster, + EKSRequestThrottledException, + InternalServerException, + RequestThrottledException, + ResourceNotFoundException, + ValidationException, EMRContainersServiceException, paginateListJobRuns, paginateListJobTemplates, diff --git a/clients/client-emr-serverless/test/index-objects.spec.mjs b/clients/client-emr-serverless/test/index-objects.spec.mjs index da210a1bbc5c..d33e168a5bbf 100644 --- a/clients/client-emr-serverless/test/index-objects.spec.mjs +++ b/clients/client-emr-serverless/test/index-objects.spec.mjs @@ -2,6 +2,7 @@ import { ApplicationState, Architecture, CancelJobRunCommand, + ConflictException, CreateApplicationCommand, DeleteApplicationCommand, EMRServerless, @@ -10,18 +11,22 @@ import { GetApplicationCommand, GetDashboardForJobRunCommand, GetJobRunCommand, + InternalServerException, JobRunMode, JobRunState, ListApplicationsCommand, ListJobRunAttemptsCommand, ListJobRunsCommand, ListTagsForResourceCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, StartApplicationCommand, StartJobRunCommand, StopApplicationCommand, TagResourceCommand, UntagResourceCommand, UpdateApplicationCommand, + ValidationException, paginateListApplications, paginateListJobRunAttempts, paginateListJobRuns, @@ -53,6 +58,11 @@ assert(typeof Architecture === "object"); assert(typeof JobRunMode === "object"); assert(typeof JobRunState === "object"); // errors +assert(ConflictException.prototype instanceof EMRServerlessServiceException); +assert(InternalServerException.prototype instanceof EMRServerlessServiceException); +assert(ResourceNotFoundException.prototype instanceof EMRServerlessServiceException); +assert(ServiceQuotaExceededException.prototype instanceof EMRServerlessServiceException); +assert(ValidationException.prototype instanceof EMRServerlessServiceException); assert(EMRServerlessServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplications === "function"); diff --git a/clients/client-emr-serverless/test/index-types.ts b/clients/client-emr-serverless/test/index-types.ts index 3e6c998d8c3b..82837ea22b42 100644 --- a/clients/client-emr-serverless/test/index-types.ts +++ b/clients/client-emr-serverless/test/index-types.ts @@ -119,6 +119,11 @@ export type { WorkerResourceConfig, WorkerTypeSpecification, WorkerTypeSpecificationInput, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, EMRServerlessServiceException, paginateListApplications, paginateListJobRunAttempts, diff --git a/clients/client-emr/test/index-objects.spec.mjs b/clients/client-emr/test/index-objects.spec.mjs index ac84aca74db8..e09b2aa1f279 100644 --- a/clients/client-emr/test/index-objects.spec.mjs +++ b/clients/client-emr/test/index-objects.spec.mjs @@ -52,6 +52,9 @@ import { InstanceRoleType, InstanceState, InstanceStateChangeReasonCode, + InternalServerError, + InternalServerException, + InvalidRequestException, JobFlowExecutionState, ListBootstrapActionsCommand, ListClustersCommand, @@ -240,6 +243,9 @@ assert(typeof StepState === "object"); assert(typeof StepStateChangeReasonCode === "object"); assert(typeof Unit === "object"); // errors +assert(InternalServerError.prototype instanceof EMRServiceException); +assert(InternalServerException.prototype instanceof EMRServiceException); +assert(InvalidRequestException.prototype instanceof EMRServiceException); assert(EMRServiceException.prototype instanceof Error); // waiters assert(typeof waitForClusterRunning === "function"); diff --git a/clients/client-emr/test/index-types.ts b/clients/client-emr/test/index-types.ts index 25c98049142c..fcedf9f7043c 100644 --- a/clients/client-emr/test/index-types.ts +++ b/clients/client-emr/test/index-types.ts @@ -444,6 +444,9 @@ export type { UpdateStudioSessionMappingInput, UsernamePassword, VolumeSpecification, + InternalServerError, + InternalServerException, + InvalidRequestException, EMRServiceException, waitForClusterRunning, waitForClusterTerminated, diff --git a/clients/client-entityresolution/src/schemas/schemas_0.ts b/clients/client-entityresolution/src/schemas/schemas_0.ts index 5e453dba6b71..007caf3d4904 100644 --- a/clients/client-entityresolution/src/schemas/schemas_0.ts +++ b/clients/client-entityresolution/src/schemas/schemas_0.ts @@ -1090,7 +1090,6 @@ export var UpdateSchemaMappingOutput: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var EntityResolutionServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-entityresolution/test/index-objects.spec.mjs b/clients/client-entityresolution/test/index-objects.spec.mjs index b7dab166660b..f097b5f484c7 100644 --- a/clients/client-entityresolution/test/index-objects.spec.mjs +++ b/clients/client-entityresolution/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AddPolicyStatementCommand, AttributeMatchingModel, BatchDeleteUniqueIdCommand, + ConflictException, CreateIdMappingWorkflowCommand, CreateIdNamespaceCommand, CreateMatchingWorkflowCommand, @@ -16,6 +18,7 @@ import { EntityResolution, EntityResolutionClient, EntityResolutionServiceException, + ExceedsLimitException, GenerateMatchIdCommand, GetIdMappingJobCommand, GetIdMappingWorkflowCommand, @@ -31,6 +34,7 @@ import { IdMappingWorkflowRuleDefinitionType, IdNamespaceType, IncrementalRunType, + InternalServerException, JobStatus, JobType, ListIdMappingJobsCommand, @@ -46,17 +50,20 @@ import { PutPolicyCommand, RecordMatchingModel, ResolutionType, + ResourceNotFoundException, SchemaAttributeType, ServiceType, StartIdMappingJobCommand, StartMatchingJobCommand, StatementEffect, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateIdMappingWorkflowCommand, UpdateIdNamespaceCommand, UpdateMatchingWorkflowCommand, UpdateSchemaMappingCommand, + ValidationException, paginateListIdMappingJobs, paginateListIdMappingWorkflows, paginateListIdNamespaces, @@ -127,6 +134,13 @@ assert(typeof SchemaAttributeType === "object"); assert(typeof ServiceType === "object"); assert(typeof StatementEffect === "object"); // errors +assert(AccessDeniedException.prototype instanceof EntityResolutionServiceException); +assert(ConflictException.prototype instanceof EntityResolutionServiceException); +assert(ExceedsLimitException.prototype instanceof EntityResolutionServiceException); +assert(InternalServerException.prototype instanceof EntityResolutionServiceException); +assert(ResourceNotFoundException.prototype instanceof EntityResolutionServiceException); +assert(ThrottlingException.prototype instanceof EntityResolutionServiceException); +assert(ValidationException.prototype instanceof EntityResolutionServiceException); assert(EntityResolutionServiceException.prototype instanceof Error); // paginators assert(typeof paginateListIdMappingJobs === "function"); diff --git a/clients/client-entityresolution/test/index-types.ts b/clients/client-entityresolution/test/index-types.ts index 90639ebf573f..ee6be4fdf64a 100644 --- a/clients/client-entityresolution/test/index-types.ts +++ b/clients/client-entityresolution/test/index-types.ts @@ -254,6 +254,13 @@ export type { UpdateMatchingWorkflowOutput, UpdateSchemaMappingInput, UpdateSchemaMappingOutput, + AccessDeniedException, + ConflictException, + ExceedsLimitException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, EntityResolutionServiceException, paginateListIdMappingJobs, paginateListIdMappingWorkflows, diff --git a/clients/client-eventbridge/test/index-objects.spec.mjs b/clients/client-eventbridge/test/index-objects.spec.mjs index 1dcd0ac1329f..935707abaaaa 100644 --- a/clients/client-eventbridge/test/index-objects.spec.mjs +++ b/clients/client-eventbridge/test/index-objects.spec.mjs @@ -1,10 +1,12 @@ import { + AccessDeniedException, ActivateEventSourceCommand, ApiDestinationHttpMethod, ApiDestinationState, ArchiveState, AssignPublicIp, CancelReplayCommand, + ConcurrentModificationException, ConnectionAuthorizationType, ConnectionOAuthHttpMethod, ConnectionState, @@ -39,9 +41,14 @@ import { EventBridgeClient, EventBridgeServiceException, EventSourceState, + IllegalStatusException, IncludeDetail, + InternalException, + InvalidEventPatternException, + InvalidStateException, LaunchType, Level, + LimitExceededException, ListApiDestinationsCommand, ListArchivesCommand, ListConnectionsCommand, @@ -55,8 +62,11 @@ import { ListRulesCommand, ListTagsForResourceCommand, ListTargetsByRuleCommand, + ManagedRuleException, + OperationDisabledException, PlacementConstraintType, PlacementStrategyType, + PolicyLengthExceededException, PropagateTags, PutEventsCommand, PutPartnerEventsCommand, @@ -67,10 +77,13 @@ import { RemoveTargetsCommand, ReplayState, ReplicationState, + ResourceAlreadyExistsException, + ResourceNotFoundException, RuleState, StartReplayCommand, TagResourceCommand, TestEventPatternCommand, + ThrottlingException, UntagResourceCommand, UpdateApiDestinationCommand, UpdateArchiveCommand, @@ -160,5 +173,18 @@ assert(typeof ReplayState === "object"); assert(typeof ReplicationState === "object"); assert(typeof RuleState === "object"); // errors +assert(AccessDeniedException.prototype instanceof EventBridgeServiceException); +assert(ConcurrentModificationException.prototype instanceof EventBridgeServiceException); +assert(IllegalStatusException.prototype instanceof EventBridgeServiceException); +assert(InternalException.prototype instanceof EventBridgeServiceException); +assert(InvalidEventPatternException.prototype instanceof EventBridgeServiceException); +assert(InvalidStateException.prototype instanceof EventBridgeServiceException); +assert(LimitExceededException.prototype instanceof EventBridgeServiceException); +assert(ManagedRuleException.prototype instanceof EventBridgeServiceException); +assert(OperationDisabledException.prototype instanceof EventBridgeServiceException); +assert(PolicyLengthExceededException.prototype instanceof EventBridgeServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof EventBridgeServiceException); +assert(ResourceNotFoundException.prototype instanceof EventBridgeServiceException); +assert(ThrottlingException.prototype instanceof EventBridgeServiceException); assert(EventBridgeServiceException.prototype instanceof Error); console.log(`EventBridge index test passed.`); diff --git a/clients/client-eventbridge/test/index-types.ts b/clients/client-eventbridge/test/index-types.ts index 2bd724b52672..16c387023514 100644 --- a/clients/client-eventbridge/test/index-types.ts +++ b/clients/client-eventbridge/test/index-types.ts @@ -367,5 +367,18 @@ export type { UpdateEndpointResponse, UpdateEventBusRequest, UpdateEventBusResponse, + AccessDeniedException, + ConcurrentModificationException, + IllegalStatusException, + InternalException, + InvalidEventPatternException, + InvalidStateException, + LimitExceededException, + ManagedRuleException, + OperationDisabledException, + PolicyLengthExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ThrottlingException, EventBridgeServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-evidently/test/index-objects.spec.mjs b/clients/client-evidently/test/index-objects.spec.mjs index c657ba60ddd3..872df0ad8cf3 100644 --- a/clients/client-evidently/test/index-objects.spec.mjs +++ b/clients/client-evidently/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, BatchEvaluateFeatureCommand, ChangeDirectionEnum, + ConflictException, CreateExperimentCommand, CreateFeatureCommand, CreateLaunchCommand, @@ -31,6 +33,7 @@ import { GetLaunchCommand, GetProjectCommand, GetSegmentCommand, + InternalServerException, LaunchStatus, LaunchStopDesiredState, LaunchType, @@ -43,19 +46,25 @@ import { ListTagsForResourceCommand, ProjectStatus, PutProjectEventsCommand, + ResourceNotFoundException, SegmentReferenceResourceType, + ServiceQuotaExceededException, + ServiceUnavailableException, StartExperimentCommand, StartLaunchCommand, StopExperimentCommand, StopLaunchCommand, TagResourceCommand, TestSegmentPatternCommand, + ThrottlingException, UntagResourceCommand, UpdateExperimentCommand, UpdateFeatureCommand, UpdateLaunchCommand, UpdateProjectCommand, UpdateProjectDataDeliveryCommand, + ValidationException, + ValidationExceptionReason, VariationValueType, paginateListExperiments, paginateListFeatures, @@ -124,8 +133,17 @@ assert(typeof LaunchStopDesiredState === "object"); assert(typeof LaunchType === "object"); assert(typeof ProjectStatus === "object"); assert(typeof SegmentReferenceResourceType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VariationValueType === "object"); // errors +assert(AccessDeniedException.prototype instanceof EvidentlyServiceException); +assert(ConflictException.prototype instanceof EvidentlyServiceException); +assert(InternalServerException.prototype instanceof EvidentlyServiceException); +assert(ResourceNotFoundException.prototype instanceof EvidentlyServiceException); +assert(ServiceQuotaExceededException.prototype instanceof EvidentlyServiceException); +assert(ServiceUnavailableException.prototype instanceof EvidentlyServiceException); +assert(ThrottlingException.prototype instanceof EvidentlyServiceException); +assert(ValidationException.prototype instanceof EvidentlyServiceException); assert(EvidentlyServiceException.prototype instanceof Error); // paginators assert(typeof paginateListExperiments === "function"); diff --git a/clients/client-evidently/test/index-types.ts b/clients/client-evidently/test/index-types.ts index 4832c62c5519..d6900adb4638 100644 --- a/clients/client-evidently/test/index-types.ts +++ b/clients/client-evidently/test/index-types.ts @@ -132,6 +132,7 @@ export type { LaunchType, ProjectStatus, SegmentReferenceResourceType, + ValidationExceptionReason, VariationValueType, BatchEvaluateFeatureRequest, BatchEvaluateFeatureResponse, @@ -252,9 +253,18 @@ export type { UpdateProjectDataDeliveryResponse, UpdateProjectRequest, UpdateProjectResponse, + ValidationExceptionField, VariableValue, Variation, VariationConfig, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, + ThrottlingException, + ValidationException, EvidentlyServiceException, paginateListExperiments, paginateListFeatures, diff --git a/clients/client-evs/src/schemas/schemas_0.ts b/clients/client-evs/src/schemas/schemas_0.ts index 83543893d683..86545ecdf8a6 100644 --- a/clients/client-evs/src/schemas/schemas_0.ts +++ b/clients/client-evs/src/schemas/schemas_0.ts @@ -452,7 +452,6 @@ export var Vlan: StaticStructureSchema = [ [_vIl, _ci, _aZ, _fN, _sIu, _cA, _mA, _vSl, _sD, _eAi, _iP, _nAI], [1, 0, 0, 0, 0, 4, 4, 0, 0, () => EipAssociationList, 2, 0], ]; -export var __Unit = "unit" as const; export var EvsServiceException: StaticErrorSchema = [-3, _sm, "EvsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(EvsServiceException, __EvsServiceException); export var ChecksList: StaticListSchema = [1, n0, _CL, 0, () => Check]; diff --git a/clients/client-evs/test/index-objects.spec.mjs b/clients/client-evs/test/index-objects.spec.mjs index 419e3bc72874..17f70e368415 100644 --- a/clients/client-evs/test/index-objects.spec.mjs +++ b/clients/client-evs/test/index-objects.spec.mjs @@ -17,8 +17,15 @@ import { ListEnvironmentVlansCommand, ListEnvironmentsCommand, ListTagsForResourceCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, + TagPolicyException, TagResourceCommand, + ThrottlingException, + TooManyTagsException, UntagResourceCommand, + ValidationException, + ValidationExceptionReason, VcfVersion, VlanState, _InstanceType, @@ -50,9 +57,16 @@ assert(typeof CheckType === "object"); assert(typeof EnvironmentState === "object"); assert(typeof HostState === "object"); assert(typeof _InstanceType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VcfVersion === "object"); assert(typeof VlanState === "object"); // errors +assert(ResourceNotFoundException.prototype instanceof EvsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof EvsServiceException); +assert(TagPolicyException.prototype instanceof EvsServiceException); +assert(ThrottlingException.prototype instanceof EvsServiceException); +assert(TooManyTagsException.prototype instanceof EvsServiceException); +assert(ValidationException.prototype instanceof EvsServiceException); assert(EvsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEnvironmentHosts === "function"); diff --git a/clients/client-evs/test/index-types.ts b/clients/client-evs/test/index-types.ts index 10f76a448c3a..068f36922788 100644 --- a/clients/client-evs/test/index-types.ts +++ b/clients/client-evs/test/index-types.ts @@ -46,6 +46,7 @@ export type { EnvironmentState, HostState, _InstanceType, + ValidationExceptionReason, VcfVersion, VlanState, AssociateEipToVlanRequest, @@ -87,8 +88,15 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + ValidationExceptionField, VcfHostnames, Vlan, + ResourceNotFoundException, + ServiceQuotaExceededException, + TagPolicyException, + ThrottlingException, + TooManyTagsException, + ValidationException, EvsServiceException, paginateListEnvironmentHosts, paginateListEnvironmentVlans, diff --git a/clients/client-finspace-data/src/schemas/schemas_0.ts b/clients/client-finspace-data/src/schemas/schemas_0.ts index c0d5b57fa7ec..a434739b38e9 100644 --- a/clients/client-finspace-data/src/schemas/schemas_0.ts +++ b/clients/client-finspace-data/src/schemas/schemas_0.ts @@ -739,7 +739,6 @@ export var UserByPermissionGroup: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m, _r], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var FinspaceDataServiceException: StaticErrorSchema = [-3, _sm, "FinspaceDataServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(FinspaceDataServiceException, __FinspaceDataServiceException); export var ApplicationPermissionList = 64 | 0; diff --git a/clients/client-finspace-data/test/index-objects.spec.mjs b/clients/client-finspace-data/test/index-objects.spec.mjs index 31b71680368b..c684797c7cda 100644 --- a/clients/client-finspace-data/test/index-objects.spec.mjs +++ b/clients/client-finspace-data/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, ApiAccess, ApplicationPermission, AssociateUserToPermissionGroupCommand, ChangeType, ColumnDataType, + ConflictException, CreateChangesetCommand, CreateDataViewCommand, CreateDatasetCommand, @@ -31,6 +33,8 @@ import { GetUserCommand, GetWorkingLocationCommand, IngestionStatus, + InternalServerException, + LimitExceededException, ListChangesetsCommand, ListDataViewsCommand, ListDatasetsCommand, @@ -41,12 +45,15 @@ import { LocationType, PermissionGroupMembershipStatus, ResetUserPasswordCommand, + ResourceNotFoundException, + ThrottlingException, UpdateChangesetCommand, UpdateDatasetCommand, UpdatePermissionGroupCommand, UpdateUserCommand, UserStatus, UserType, + ValidationException, paginateListChangesets, paginateListDataViews, paginateListDatasets, @@ -105,6 +112,13 @@ assert(typeof PermissionGroupMembershipStatus === "object"); assert(typeof UserStatus === "object"); assert(typeof UserType === "object"); // errors +assert(AccessDeniedException.prototype instanceof FinspaceDataServiceException); +assert(ConflictException.prototype instanceof FinspaceDataServiceException); +assert(InternalServerException.prototype instanceof FinspaceDataServiceException); +assert(LimitExceededException.prototype instanceof FinspaceDataServiceException); +assert(ResourceNotFoundException.prototype instanceof FinspaceDataServiceException); +assert(ThrottlingException.prototype instanceof FinspaceDataServiceException); +assert(ValidationException.prototype instanceof FinspaceDataServiceException); assert(FinspaceDataServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChangesets === "function"); diff --git a/clients/client-finspace-data/test/index-types.ts b/clients/client-finspace-data/test/index-types.ts index 2f00df5cbde9..6f422105182c 100644 --- a/clients/client-finspace-data/test/index-types.ts +++ b/clients/client-finspace-data/test/index-types.ts @@ -190,6 +190,13 @@ export type { UpdateUserResponse, User, UserByPermissionGroup, + AccessDeniedException, + ConflictException, + InternalServerException, + LimitExceededException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, FinspaceDataServiceException, paginateListChangesets, paginateListDataViews, diff --git a/clients/client-finspace/src/schemas/schemas_0.ts b/clients/client-finspace/src/schemas/schemas_0.ts index e0af5ca8a314..137bdec02692 100644 --- a/clients/client-finspace/src/schemas/schemas_0.ts +++ b/clients/client-finspace/src/schemas/schemas_0.ts @@ -1382,7 +1382,6 @@ export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var Volume: StaticStructureSchema = [3, n0, _V, 0, [_vN, _vT], [0, 0]]; export var VpcConfiguration: StaticStructureSchema = [3, n0, _VC, 0, [_vIp, _sGI, _sI, _iAT], [0, 64 | 0, 64 | 0, 0]]; -export var __Unit = "unit" as const; export var FinspaceServiceException: StaticErrorSchema = [-3, _sm, "FinspaceServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(FinspaceServiceException, __FinspaceServiceException); export var AttachedClusterList = 64 | 0; diff --git a/clients/client-finspace/test/index-objects.spec.mjs b/clients/client-finspace/test/index-objects.spec.mjs index c1b450f65b54..ea97ebbee3b7 100644 --- a/clients/client-finspace/test/index-objects.spec.mjs +++ b/clients/client-finspace/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AutoScalingMetric, ChangeType, ChangesetStatus, + ConflictException, CreateEnvironmentCommand, CreateKxChangesetCommand, CreateKxClusterCommand, @@ -38,6 +40,8 @@ import { GetKxUserCommand, GetKxVolumeCommand, IPAddressType, + InternalServerException, + InvalidRequestException, KxAzMode, KxClusterCodeDeploymentStrategy, KxClusterStatus, @@ -50,6 +54,7 @@ import { KxScalingGroupStatus, KxVolumeStatus, KxVolumeType, + LimitExceededException, ListEnvironmentsCommand, ListKxChangesetsCommand, ListKxClusterNodesCommand, @@ -61,9 +66,13 @@ import { ListKxUsersCommand, ListKxVolumesCommand, ListTagsForResourceCommand, + ResourceAlreadyExistsException, + ResourceNotFoundException, RuleAction, + ServiceQuotaExceededException, TagResourceCommand, TgwStatus, + ThrottlingException, UntagResourceCommand, UpdateEnvironmentCommand, UpdateKxClusterCodeConfigurationCommand, @@ -74,6 +83,7 @@ import { UpdateKxEnvironmentNetworkCommand, UpdateKxUserCommand, UpdateKxVolumeCommand, + ValidationException, VolumeType, paginateListKxChangesets, paginateListKxClusterNodes, @@ -162,6 +172,16 @@ assert(typeof RuleAction === "object"); assert(typeof TgwStatus === "object"); assert(typeof VolumeType === "object"); // errors +assert(AccessDeniedException.prototype instanceof FinspaceServiceException); +assert(ConflictException.prototype instanceof FinspaceServiceException); +assert(InternalServerException.prototype instanceof FinspaceServiceException); +assert(InvalidRequestException.prototype instanceof FinspaceServiceException); +assert(LimitExceededException.prototype instanceof FinspaceServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof FinspaceServiceException); +assert(ResourceNotFoundException.prototype instanceof FinspaceServiceException); +assert(ServiceQuotaExceededException.prototype instanceof FinspaceServiceException); +assert(ThrottlingException.prototype instanceof FinspaceServiceException); +assert(ValidationException.prototype instanceof FinspaceServiceException); assert(FinspaceServiceException.prototype instanceof Error); // paginators assert(typeof paginateListKxChangesets === "function"); diff --git a/clients/client-finspace/test/index-types.ts b/clients/client-finspace/test/index-types.ts index f51e408ca239..f3cd532a6d32 100644 --- a/clients/client-finspace/test/index-types.ts +++ b/clients/client-finspace/test/index-types.ts @@ -313,6 +313,16 @@ export type { UpdateKxVolumeResponse, Volume, VpcConfiguration, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidRequestException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, FinspaceServiceException, paginateListKxChangesets, paginateListKxClusterNodes, diff --git a/clients/client-firehose/src/schemas/schemas_0.ts b/clients/client-firehose/src/schemas/schemas_0.ts index f2d768f22139..e97e7cc5a274 100644 --- a/clients/client-firehose/src/schemas/schemas_0.ts +++ b/clients/client-firehose/src/schemas/schemas_0.ts @@ -1442,7 +1442,6 @@ export var VpcConfigurationDescription: StaticStructureSchema = [ [_SIu, _RARN, _SGI, _VIp], [64 | 0, 0, 64 | 0, 0], ]; -export var __Unit = "unit" as const; export var FirehoseServiceException: StaticErrorSchema = [-3, _sm, "FirehoseServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(FirehoseServiceException, __FirehoseServiceException); export var DatabaseColumnIncludeOrExcludeList = 64 | 0; diff --git a/clients/client-firehose/test/index-objects.spec.mjs b/clients/client-firehose/test/index-objects.spec.mjs index b9beb80d537c..4bd43d3e7d3f 100644 --- a/clients/client-firehose/test/index-objects.spec.mjs +++ b/clients/client-firehose/test/index-objects.spec.mjs @@ -3,6 +3,7 @@ import { AmazonopensearchserviceIndexRotationPeriod, AmazonopensearchserviceS3BackupMode, CompressionFormat, + ConcurrentModificationException, Connectivity, ContentEncoding, CreateDeliveryStreamCommand, @@ -22,7 +23,11 @@ import { HECEndpointType, HttpEndpointS3BackupMode, IcebergS3BackupMode, + InvalidArgumentException, + InvalidKMSResourceException, + InvalidSourceException, KeyType, + LimitExceededException, ListDeliveryStreamsCommand, ListTagsForDeliveryStreamCommand, NoEncryptionConfig, @@ -35,8 +40,11 @@ import { PutRecordBatchCommand, PutRecordCommand, RedshiftS3BackupMode, + ResourceInUseException, + ResourceNotFoundException, S3BackupMode, SSLMode, + ServiceUnavailableException, SnapshotRequestedBy, SnapshotStatus, SnowflakeDataLoadingOption, @@ -100,5 +108,13 @@ assert(typeof SnowflakeS3BackupMode === "object"); assert(typeof SplunkS3BackupMode === "object"); assert(typeof SSLMode === "object"); // errors +assert(ConcurrentModificationException.prototype instanceof FirehoseServiceException); +assert(InvalidArgumentException.prototype instanceof FirehoseServiceException); +assert(InvalidKMSResourceException.prototype instanceof FirehoseServiceException); +assert(InvalidSourceException.prototype instanceof FirehoseServiceException); +assert(LimitExceededException.prototype instanceof FirehoseServiceException); +assert(ResourceInUseException.prototype instanceof FirehoseServiceException); +assert(ResourceNotFoundException.prototype instanceof FirehoseServiceException); +assert(ServiceUnavailableException.prototype instanceof FirehoseServiceException); assert(FirehoseServiceException.prototype instanceof Error); console.log(`Firehose index test passed.`); diff --git a/clients/client-firehose/test/index-types.ts b/clients/client-firehose/test/index-types.ts index 402d737f2067..b91b8be45c80 100644 --- a/clients/client-firehose/test/index-types.ts +++ b/clients/client-firehose/test/index-types.ts @@ -198,5 +198,13 @@ export type { UpdateDestinationOutput, VpcConfiguration, VpcConfigurationDescription, + ConcurrentModificationException, + InvalidArgumentException, + InvalidKMSResourceException, + InvalidSourceException, + LimitExceededException, + ResourceInUseException, + ResourceNotFoundException, + ServiceUnavailableException, FirehoseServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-fis/src/schemas/schemas_0.ts b/clients/client-fis/src/schemas/schemas_0.ts index 4d7f4eaeb9e4..0c5b96b1be48 100644 --- a/clients/client-fis/src/schemas/schemas_0.ts +++ b/clients/client-fis/src/schemas/schemas_0.ts @@ -1020,7 +1020,6 @@ export var ValidationException: StaticErrorSchema = [ [0], ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var FisServiceException: StaticErrorSchema = [-3, _sm, "FisServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(FisServiceException, __FisServiceException); export var ActionSummaryList: StaticListSchema = [1, n0, _ASL, 0, () => ActionSummary]; diff --git a/clients/client-fis/test/index-objects.spec.mjs b/clients/client-fis/test/index-objects.spec.mjs index 955312f014e9..9d4419f80a37 100644 --- a/clients/client-fis/test/index-objects.spec.mjs +++ b/clients/client-fis/test/index-objects.spec.mjs @@ -1,6 +1,7 @@ import { AccountTargeting, ActionsMode, + ConflictException, CreateExperimentTemplateCommand, CreateTargetAccountConfigurationCommand, DeleteExperimentTemplateCommand, @@ -27,8 +28,10 @@ import { ListTagsForResourceCommand, ListTargetAccountConfigurationsCommand, ListTargetResourceTypesCommand, + ResourceNotFoundException, SafetyLeverStatus, SafetyLeverStatusInput, + ServiceQuotaExceededException, StartExperimentCommand, StopExperimentCommand, TagResourceCommand, @@ -36,6 +39,7 @@ import { UpdateExperimentTemplateCommand, UpdateSafetyLeverStateCommand, UpdateTargetAccountConfigurationCommand, + ValidationException, paginateListActions, paginateListExperimentResolvedTargets, paginateListExperimentTemplates, @@ -84,6 +88,10 @@ assert(typeof ExperimentStatus === "object"); assert(typeof SafetyLeverStatus === "object"); assert(typeof SafetyLeverStatusInput === "object"); // errors +assert(ConflictException.prototype instanceof FisServiceException); +assert(ResourceNotFoundException.prototype instanceof FisServiceException); +assert(ServiceQuotaExceededException.prototype instanceof FisServiceException); +assert(ValidationException.prototype instanceof FisServiceException); assert(FisServiceException.prototype instanceof Error); // paginators assert(typeof paginateListActions === "function"); diff --git a/clients/client-fis/test/index-types.ts b/clients/client-fis/test/index-types.ts index 0c03cfba6b90..7196ec813f15 100644 --- a/clients/client-fis/test/index-types.ts +++ b/clients/client-fis/test/index-types.ts @@ -212,6 +212,10 @@ export type { UpdateSafetyLeverStateResponse, UpdateTargetAccountConfigurationRequest, UpdateTargetAccountConfigurationResponse, + ConflictException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, FisServiceException, paginateListActions, paginateListExperimentResolvedTargets, diff --git a/clients/client-fms/test/index-objects.spec.mjs b/clients/client-fms/test/index-objects.spec.mjs index da2acf4af465..7b9c008fad97 100644 --- a/clients/client-fms/test/index-objects.spec.mjs +++ b/clients/client-fms/test/index-objects.spec.mjs @@ -33,6 +33,11 @@ import { GetResourceSetCommand, GetThirdPartyFirewallAssociationStatusCommand, GetViolationDetailsCommand, + InternalErrorException, + InvalidInputException, + InvalidOperationException, + InvalidTypeException, + LimitExceededException, ListAdminAccountsForOrganizationCommand, ListAdminsManagingAccountCommand, ListAppsListsCommand, @@ -57,6 +62,7 @@ import { PutProtocolsListCommand, PutResourceSetCommand, RemediationActionType, + ResourceNotFoundException, ResourceSetStatus, ResourceTagLogicalOperator, RuleOrder, @@ -150,6 +156,12 @@ assert(typeof ThirdPartyFirewall === "object"); assert(typeof ThirdPartyFirewallAssociationStatus === "object"); assert(typeof ViolationReason === "object"); // errors +assert(InternalErrorException.prototype instanceof FMSServiceException); +assert(InvalidInputException.prototype instanceof FMSServiceException); +assert(InvalidOperationException.prototype instanceof FMSServiceException); +assert(InvalidTypeException.prototype instanceof FMSServiceException); +assert(LimitExceededException.prototype instanceof FMSServiceException); +assert(ResourceNotFoundException.prototype instanceof FMSServiceException); assert(FMSServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAdminAccountsForOrganization === "function"); diff --git a/clients/client-fms/test/index-types.ts b/clients/client-fms/test/index-types.ts index 7f446aad0913..d0dd27ba8664 100644 --- a/clients/client-fms/test/index-types.ts +++ b/clients/client-fms/test/index-types.ts @@ -317,6 +317,12 @@ export type { ViolationDetail, WebACLHasIncompatibleConfigurationViolation, WebACLHasOutOfScopeResourcesViolation, + InternalErrorException, + InvalidInputException, + InvalidOperationException, + InvalidTypeException, + LimitExceededException, + ResourceNotFoundException, FMSServiceException, paginateListAdminAccountsForOrganization, paginateListAdminsManagingAccount, diff --git a/clients/client-forecast/test/index-objects.spec.mjs b/clients/client-forecast/test/index-objects.spec.mjs index 42ca698915d4..dff0a01f80fa 100644 --- a/clients/client-forecast/test/index-objects.spec.mjs +++ b/clients/client-forecast/test/index-objects.spec.mjs @@ -55,6 +55,9 @@ import { ForecastServiceException, GetAccuracyMetricsCommand, ImportMode, + InvalidInputException, + InvalidNextTokenException, + LimitExceededException, ListDatasetGroupsCommand, ListDatasetImportJobsCommand, ListDatasetsCommand, @@ -73,6 +76,9 @@ import { Month, Operation, OptimizationMetric, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, ResumeResourceCommand, ScalingType, State, @@ -184,6 +190,12 @@ assert(typeof State === "object"); assert(typeof TimePointGranularity === "object"); assert(typeof TimeSeriesGranularity === "object"); // errors +assert(InvalidInputException.prototype instanceof ForecastServiceException); +assert(InvalidNextTokenException.prototype instanceof ForecastServiceException); +assert(LimitExceededException.prototype instanceof ForecastServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof ForecastServiceException); +assert(ResourceInUseException.prototype instanceof ForecastServiceException); +assert(ResourceNotFoundException.prototype instanceof ForecastServiceException); assert(ForecastServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDatasetGroups === "function"); diff --git a/clients/client-forecast/test/index-types.ts b/clients/client-forecast/test/index-types.ts index dfed7efa9a57..82160c2ae344 100644 --- a/clients/client-forecast/test/index-types.ts +++ b/clients/client-forecast/test/index-types.ts @@ -381,6 +381,12 @@ export type { WhatIfForecastExportSummary, WhatIfForecastSummary, WindowSummary, + InvalidInputException, + InvalidNextTokenException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, ForecastServiceException, paginateListDatasetGroups, paginateListDatasetImportJobs, diff --git a/clients/client-forecastquery/test/index-objects.spec.mjs b/clients/client-forecastquery/test/index-objects.spec.mjs index 304b20343767..4186b46b63bf 100644 --- a/clients/client-forecastquery/test/index-objects.spec.mjs +++ b/clients/client-forecastquery/test/index-objects.spec.mjs @@ -2,8 +2,13 @@ import { Forecastquery, ForecastqueryClient, ForecastqueryServiceException, + InvalidInputException, + InvalidNextTokenException, + LimitExceededException, QueryForecastCommand, QueryWhatIfForecastCommand, + ResourceInUseException, + ResourceNotFoundException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -13,5 +18,10 @@ assert(typeof Forecastquery === "function"); assert(typeof QueryForecastCommand === "function"); assert(typeof QueryWhatIfForecastCommand === "function"); // errors +assert(InvalidInputException.prototype instanceof ForecastqueryServiceException); +assert(InvalidNextTokenException.prototype instanceof ForecastqueryServiceException); +assert(LimitExceededException.prototype instanceof ForecastqueryServiceException); +assert(ResourceInUseException.prototype instanceof ForecastqueryServiceException); +assert(ResourceNotFoundException.prototype instanceof ForecastqueryServiceException); assert(ForecastqueryServiceException.prototype instanceof Error); console.log(`Forecastquery index test passed.`); diff --git a/clients/client-forecastquery/test/index-types.ts b/clients/client-forecastquery/test/index-types.ts index 8606baf50ef9..21b888c1e7f2 100644 --- a/clients/client-forecastquery/test/index-types.ts +++ b/clients/client-forecastquery/test/index-types.ts @@ -14,5 +14,10 @@ export type { QueryForecastResponse, QueryWhatIfForecastRequest, QueryWhatIfForecastResponse, + InvalidInputException, + InvalidNextTokenException, + LimitExceededException, + ResourceInUseException, + ResourceNotFoundException, ForecastqueryServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-frauddetector/test/index-objects.spec.mjs b/clients/client-frauddetector/test/index-objects.spec.mjs index cc888e38040e..2eb91e239b77 100644 --- a/clients/client-frauddetector/test/index-objects.spec.mjs +++ b/clients/client-frauddetector/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, AsyncJobStatus, BatchCreateVariableCommand, BatchGetVariableCommand, CancelBatchImportJobCommand, CancelBatchPredictionJobCommand, + ConflictException, CreateBatchImportJobCommand, CreateBatchPredictionJobCommand, CreateDetectorVersionCommand, @@ -57,6 +59,7 @@ import { GetOutcomesCommand, GetRulesCommand, GetVariablesCommand, + InternalServerException, Language, ListEventPredictionsCommand, ListTagsForResourceCommand, @@ -74,9 +77,12 @@ import { PutKMSEncryptionKeyCommand, PutLabelCommand, PutOutcomeCommand, + ResourceNotFoundException, + ResourceUnavailableException, RuleExecutionMode, SendEventCommand, TagResourceCommand, + ThrottlingException, TrainingDataSourceEnum, UnlabeledEventsTreatment, UntagResourceCommand, @@ -91,6 +97,7 @@ import { UpdateRuleMetadataCommand, UpdateRuleVersionCommand, UpdateVariableCommand, + ValidationException, paginateDescribeModelVersions, paginateGetBatchImportJobs, paginateGetBatchPredictionJobs, @@ -204,6 +211,13 @@ assert(typeof RuleExecutionMode === "object"); assert(typeof TrainingDataSourceEnum === "object"); assert(typeof UnlabeledEventsTreatment === "object"); // errors +assert(AccessDeniedException.prototype instanceof FraudDetectorServiceException); +assert(ConflictException.prototype instanceof FraudDetectorServiceException); +assert(InternalServerException.prototype instanceof FraudDetectorServiceException); +assert(ResourceNotFoundException.prototype instanceof FraudDetectorServiceException); +assert(ResourceUnavailableException.prototype instanceof FraudDetectorServiceException); +assert(ThrottlingException.prototype instanceof FraudDetectorServiceException); +assert(ValidationException.prototype instanceof FraudDetectorServiceException); assert(FraudDetectorServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeModelVersions === "function"); diff --git a/clients/client-frauddetector/test/index-types.ts b/clients/client-frauddetector/test/index-types.ts index 3e350f90c2d6..cf81efbf25f1 100644 --- a/clients/client-frauddetector/test/index-types.ts +++ b/clients/client-frauddetector/test/index-types.ts @@ -452,6 +452,13 @@ export type { VariableEntry, VariableImpactExplanation, VariableImportanceMetrics, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ResourceUnavailableException, + ThrottlingException, + ValidationException, FraudDetectorServiceException, paginateDescribeModelVersions, paginateGetBatchImportJobs, diff --git a/clients/client-freetier/src/schemas/schemas_0.ts b/clients/client-freetier/src/schemas/schemas_0.ts index f4014cdb02af..35b5ef4ab1a8 100644 --- a/clients/client-freetier/src/schemas/schemas_0.ts +++ b/clients/client-freetier/src/schemas/schemas_0.ts @@ -163,7 +163,6 @@ export var UpgradeAccountPlanRequest: StaticStructureSchema = [3, n0, _UAPR, 0, export var UpgradeAccountPlanResponse: StaticStructureSchema = [3, n0, _UAPRp, 0, [_aIc, _aPT, _aPS], [0, 0, 0]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var FreeTierServiceException: StaticErrorSchema = [-3, _sm, "FreeTierServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(FreeTierServiceException, __FreeTierServiceException); export var Activities: StaticListSchema = [1, n0, _Ac, 0, () => ActivitySummary]; diff --git a/clients/client-freetier/test/index-objects.spec.mjs b/clients/client-freetier/test/index-objects.spec.mjs index 0afd74720a92..414b199412fb 100644 --- a/clients/client-freetier/test/index-objects.spec.mjs +++ b/clients/client-freetier/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AccountPlanStatus, AccountPlanType, ActivityStatus, @@ -10,10 +11,14 @@ import { GetAccountActivityCommand, GetAccountPlanStateCommand, GetFreeTierUsageCommand, + InternalServerException, LanguageCode, ListAccountActivitiesCommand, MatchOption, + ResourceNotFoundException, + ThrottlingException, UpgradeAccountPlanCommand, + ValidationException, paginateGetFreeTierUsage, paginateListAccountActivities, } from "../dist-cjs/index.js"; @@ -36,6 +41,11 @@ assert(typeof Dimension === "object"); assert(typeof LanguageCode === "object"); assert(typeof MatchOption === "object"); // errors +assert(AccessDeniedException.prototype instanceof FreeTierServiceException); +assert(InternalServerException.prototype instanceof FreeTierServiceException); +assert(ResourceNotFoundException.prototype instanceof FreeTierServiceException); +assert(ThrottlingException.prototype instanceof FreeTierServiceException); +assert(ValidationException.prototype instanceof FreeTierServiceException); assert(FreeTierServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetFreeTierUsage === "function"); diff --git a/clients/client-freetier/test/index-types.ts b/clients/client-freetier/test/index-types.ts index 241f1c8a0aae..5412f4cf932d 100644 --- a/clients/client-freetier/test/index-types.ts +++ b/clients/client-freetier/test/index-types.ts @@ -40,6 +40,11 @@ export type { MonetaryAmount, UpgradeAccountPlanRequest, UpgradeAccountPlanResponse, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, FreeTierServiceException, paginateGetFreeTierUsage, paginateListAccountActivities, diff --git a/clients/client-fsx/src/schemas/schemas_0.ts b/clients/client-fsx/src/schemas/schemas_0.ts index 0fc7594cd1c5..aa181ed55d94 100644 --- a/clients/client-fsx/src/schemas/schemas_0.ts +++ b/clients/client-fsx/src/schemas/schemas_0.ts @@ -2202,7 +2202,6 @@ export var WindowsFileSystemConfiguration: StaticStructureSchema = [ ], ]; export var WindowsFsrmConfiguration: StaticStructureSchema = [3, n0, _WFC, 0, [_FSEs, _ELD], [2, 0]]; -export var __Unit = "unit" as const; export var FSxServiceException: StaticErrorSchema = [-3, _sm, "FSxServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(FSxServiceException, __FSxServiceException); export var AdministrativeActions: StaticListSchema = [1, n0, _AAd, 0, [() => AdministrativeAction, 0]]; diff --git a/clients/client-fsx/test/index-objects.spec.mjs b/clients/client-fsx/test/index-objects.spec.mjs index bcebb6e52584..43c667556d1a 100644 --- a/clients/client-fsx/test/index-objects.spec.mjs +++ b/clients/client-fsx/test/index-objects.spec.mjs @@ -1,11 +1,19 @@ import { + AccessPointAlreadyOwnedByYou, + ActiveDirectoryError, + ActiveDirectoryErrorType, AdministrativeActionType, AliasLifecycle, AssociateFileSystemAliasesCommand, AutoImportPolicyType, AutocommitPeriodType, + BackupBeingCopied, + BackupInProgress, BackupLifecycle, + BackupNotFound, + BackupRestoring, BackupType, + BadRequest, CancelDataRepositoryTaskCommand, CopyBackupCommand, CopySnapshotAndUpdateVolumeCommand, @@ -21,9 +29,13 @@ import { CreateVolumeCommand, CreateVolumeFromBackupCommand, DataCompressionType, + DataRepositoryAssociationNotFound, DataRepositoryLifecycle, + DataRepositoryTaskEnded, + DataRepositoryTaskExecuting, DataRepositoryTaskFilterName, DataRepositoryTaskLifecycle, + DataRepositoryTaskNotFound, DataRepositoryTaskType, DeleteBackupCommand, DeleteDataRepositoryAssociationCommand, @@ -55,20 +67,39 @@ import { FSxServiceException, FileCacheLifecycle, FileCacheLustreDeploymentType, + FileCacheNotFound, FileCacheType, FileSystemLifecycle, FileSystemMaintenanceOperation, + FileSystemNotFound, FileSystemType, FilterName, FlexCacheEndpointType, + IncompatibleParameterError, + IncompatibleRegionForMultiAZ, InputOntapVolumeType, + InternalServerError, + InvalidAccessPoint, + InvalidDataRepositoryType, + InvalidDestinationKmsKey, + InvalidExportPath, + InvalidImportPath, + InvalidNetworkSettings, + InvalidPerUnitStorageThroughput, + InvalidRegion, + InvalidRequest, + InvalidSourceKmsKey, ListTagsForResourceCommand, LustreAccessAuditLogLevel, LustreDeploymentType, LustreReadCacheSizingMode, MetadataConfigurationMode, + MissingFileCacheConfiguration, + MissingFileSystemConfiguration, + MissingVolumeConfiguration, NetworkType, NfsVersion, + NotServiceResourceError, OntapDeploymentType, OntapFileSystemUserType, OntapVolumeType, @@ -82,27 +113,37 @@ import { ReleaseFileSystemNfsV3LocksCommand, ReportFormat, ReportScope, + ResourceDoesNotSupportTagging, + ResourceNotFound, ResourceType, RestoreOpenZFSVolumeOption, RestoreVolumeFromSnapshotCommand, RetentionPeriodType, S3AccessPointAttachmentLifecycle, + S3AccessPointAttachmentNotFound, S3AccessPointAttachmentType, S3AccessPointAttachmentsFilterName, SecurityStyle, + ServiceLimit, + ServiceLimitExceeded, SnaplockType, SnapshotFilterName, SnapshotLifecycle, + SnapshotNotFound, + SourceBackupUnavailable, StartMisconfiguredStateRecoveryCommand, Status, StorageType, StorageVirtualMachineFilterName, StorageVirtualMachineLifecycle, + StorageVirtualMachineNotFound, StorageVirtualMachineRootVolumeSecurityStyle, StorageVirtualMachineSubtype, TagResourceCommand, TieringPolicyName, + TooManyAccessPoints, Unit, + UnsupportedOperation, UntagResourceCommand, UpdateDataRepositoryAssociationCommand, UpdateFileCacheCommand, @@ -114,6 +155,7 @@ import { UpdateVolumeCommand, VolumeFilterName, VolumeLifecycle, + VolumeNotFound, VolumeStyle, VolumeType, WindowsAccessAuditLogLevel, @@ -184,6 +226,7 @@ assert(typeof UpdateSnapshotCommand === "function"); assert(typeof UpdateStorageVirtualMachineCommand === "function"); assert(typeof UpdateVolumeCommand === "function"); // enums +assert(typeof ActiveDirectoryErrorType === "object"); assert(typeof AdministrativeActionType === "object"); assert(typeof AliasLifecycle === "object"); assert(typeof AutocommitPeriodType === "object"); @@ -234,6 +277,7 @@ assert(typeof S3AccessPointAttachmentLifecycle === "object"); assert(typeof S3AccessPointAttachmentsFilterName === "object"); assert(typeof S3AccessPointAttachmentType === "object"); assert(typeof SecurityStyle === "object"); +assert(typeof ServiceLimit === "object"); assert(typeof SnaplockType === "object"); assert(typeof SnapshotFilterName === "object"); assert(typeof SnapshotLifecycle === "object"); @@ -253,6 +297,46 @@ assert(typeof VolumeType === "object"); assert(typeof WindowsAccessAuditLogLevel === "object"); assert(typeof WindowsDeploymentType === "object"); // errors +assert(AccessPointAlreadyOwnedByYou.prototype instanceof FSxServiceException); +assert(ActiveDirectoryError.prototype instanceof FSxServiceException); +assert(BackupBeingCopied.prototype instanceof FSxServiceException); +assert(BackupInProgress.prototype instanceof FSxServiceException); +assert(BackupNotFound.prototype instanceof FSxServiceException); +assert(BackupRestoring.prototype instanceof FSxServiceException); +assert(BadRequest.prototype instanceof FSxServiceException); +assert(DataRepositoryAssociationNotFound.prototype instanceof FSxServiceException); +assert(DataRepositoryTaskEnded.prototype instanceof FSxServiceException); +assert(DataRepositoryTaskExecuting.prototype instanceof FSxServiceException); +assert(DataRepositoryTaskNotFound.prototype instanceof FSxServiceException); +assert(FileCacheNotFound.prototype instanceof FSxServiceException); +assert(FileSystemNotFound.prototype instanceof FSxServiceException); +assert(IncompatibleParameterError.prototype instanceof FSxServiceException); +assert(IncompatibleRegionForMultiAZ.prototype instanceof FSxServiceException); +assert(InternalServerError.prototype instanceof FSxServiceException); +assert(InvalidAccessPoint.prototype instanceof FSxServiceException); +assert(InvalidDataRepositoryType.prototype instanceof FSxServiceException); +assert(InvalidDestinationKmsKey.prototype instanceof FSxServiceException); +assert(InvalidExportPath.prototype instanceof FSxServiceException); +assert(InvalidImportPath.prototype instanceof FSxServiceException); +assert(InvalidNetworkSettings.prototype instanceof FSxServiceException); +assert(InvalidPerUnitStorageThroughput.prototype instanceof FSxServiceException); +assert(InvalidRegion.prototype instanceof FSxServiceException); +assert(InvalidRequest.prototype instanceof FSxServiceException); +assert(InvalidSourceKmsKey.prototype instanceof FSxServiceException); +assert(MissingFileCacheConfiguration.prototype instanceof FSxServiceException); +assert(MissingFileSystemConfiguration.prototype instanceof FSxServiceException); +assert(MissingVolumeConfiguration.prototype instanceof FSxServiceException); +assert(NotServiceResourceError.prototype instanceof FSxServiceException); +assert(ResourceDoesNotSupportTagging.prototype instanceof FSxServiceException); +assert(ResourceNotFound.prototype instanceof FSxServiceException); +assert(S3AccessPointAttachmentNotFound.prototype instanceof FSxServiceException); +assert(ServiceLimitExceeded.prototype instanceof FSxServiceException); +assert(SnapshotNotFound.prototype instanceof FSxServiceException); +assert(SourceBackupUnavailable.prototype instanceof FSxServiceException); +assert(StorageVirtualMachineNotFound.prototype instanceof FSxServiceException); +assert(TooManyAccessPoints.prototype instanceof FSxServiceException); +assert(UnsupportedOperation.prototype instanceof FSxServiceException); +assert(VolumeNotFound.prototype instanceof FSxServiceException); assert(FSxServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeBackups === "function"); diff --git a/clients/client-fsx/test/index-types.ts b/clients/client-fsx/test/index-types.ts index 4b82540b6f7e..6543a0855860 100644 --- a/clients/client-fsx/test/index-types.ts +++ b/clients/client-fsx/test/index-types.ts @@ -146,6 +146,7 @@ export type { UpdateVolumeCommand, UpdateVolumeCommandInput, UpdateVolumeCommandOutput, + ActiveDirectoryErrorType, AdministrativeActionType, AliasLifecycle, AutocommitPeriodType, @@ -196,6 +197,7 @@ export type { S3AccessPointAttachmentsFilterName, S3AccessPointAttachmentType, SecurityStyle, + ServiceLimit, SnaplockType, SnapshotFilterName, SnapshotLifecycle, @@ -428,6 +430,46 @@ export type { WindowsAuditLogCreateConfiguration, WindowsFileSystemConfiguration, WindowsFsrmConfiguration, + AccessPointAlreadyOwnedByYou, + ActiveDirectoryError, + BackupBeingCopied, + BackupInProgress, + BackupNotFound, + BackupRestoring, + BadRequest, + DataRepositoryAssociationNotFound, + DataRepositoryTaskEnded, + DataRepositoryTaskExecuting, + DataRepositoryTaskNotFound, + FileCacheNotFound, + FileSystemNotFound, + IncompatibleParameterError, + IncompatibleRegionForMultiAZ, + InternalServerError, + InvalidAccessPoint, + InvalidDataRepositoryType, + InvalidDestinationKmsKey, + InvalidExportPath, + InvalidImportPath, + InvalidNetworkSettings, + InvalidPerUnitStorageThroughput, + InvalidRegion, + InvalidRequest, + InvalidSourceKmsKey, + MissingFileCacheConfiguration, + MissingFileSystemConfiguration, + MissingVolumeConfiguration, + NotServiceResourceError, + ResourceDoesNotSupportTagging, + ResourceNotFound, + S3AccessPointAttachmentNotFound, + ServiceLimitExceeded, + SnapshotNotFound, + SourceBackupUnavailable, + StorageVirtualMachineNotFound, + TooManyAccessPoints, + UnsupportedOperation, + VolumeNotFound, FSxServiceException, paginateDescribeBackups, paginateDescribeDataRepositoryAssociations, diff --git a/clients/client-gamelift/test/index-objects.spec.mjs b/clients/client-gamelift/test/index-objects.spec.mjs index 1017adbfd0b9..c6b322b0e86e 100644 --- a/clients/client-gamelift/test/index-objects.spec.mjs +++ b/clients/client-gamelift/test/index-objects.spec.mjs @@ -9,6 +9,7 @@ import { ComparisonOperatorType, ComputeStatus, ComputeType, + ConflictException, ContainerDependencyCondition, ContainerFleetBillingType, ContainerFleetLocationStatus, @@ -91,6 +92,7 @@ import { EventCode, FilterInstanceStatus, FleetAction, + FleetCapacityExceededException, FleetStatus, FleetType, FlexMatchMode, @@ -106,6 +108,7 @@ import { GameServerInstanceStatus, GameServerProtectionPolicy, GameServerUtilizationStatus, + GameSessionFullException, GameSessionPlacementState, GameSessionStatus, GameSessionStatusReason, @@ -113,9 +116,15 @@ import { GetComputeAuthTokenCommand, GetGameSessionLogUrlCommand, GetInstanceAccessCommand, + IdempotentParameterMismatchException, InstanceRoleCredentialsProvider, InstanceStatus, + InternalServiceException, + InvalidFleetStatusException, + InvalidGameSessionStatusException, + InvalidRequestException, IpProtocol, + LimitExceededException, ListAliasesCommand, ListBuildsCommand, ListComputeCommand, @@ -135,7 +144,10 @@ import { LogDestination, MatchmakingConfigurationStatus, MetricName, + NotFoundException, + NotReadyException, OperatingSystem, + OutOfCapacityException, PlacementFallbackStrategy, PlayerSessionCreationPolicy, PlayerSessionStatus, @@ -162,8 +174,12 @@ import { StopMatchmakingCommand, SuspendGameServerGroupCommand, TagResourceCommand, + TaggingFailedException, + TerminalRoutingStrategyException, TerminateGameSessionCommand, TerminationMode, + UnauthorizedException, + UnsupportedRegionException, UntagResourceCommand, UpdateAliasCommand, UpdateBuildCommand, @@ -393,6 +409,22 @@ assert(typeof ScalingStatusType === "object"); assert(typeof SortOrder === "object"); assert(typeof TerminationMode === "object"); // errors +assert(ConflictException.prototype instanceof GameLiftServiceException); +assert(FleetCapacityExceededException.prototype instanceof GameLiftServiceException); +assert(GameSessionFullException.prototype instanceof GameLiftServiceException); +assert(IdempotentParameterMismatchException.prototype instanceof GameLiftServiceException); +assert(InternalServiceException.prototype instanceof GameLiftServiceException); +assert(InvalidFleetStatusException.prototype instanceof GameLiftServiceException); +assert(InvalidGameSessionStatusException.prototype instanceof GameLiftServiceException); +assert(InvalidRequestException.prototype instanceof GameLiftServiceException); +assert(LimitExceededException.prototype instanceof GameLiftServiceException); +assert(NotFoundException.prototype instanceof GameLiftServiceException); +assert(NotReadyException.prototype instanceof GameLiftServiceException); +assert(OutOfCapacityException.prototype instanceof GameLiftServiceException); +assert(TaggingFailedException.prototype instanceof GameLiftServiceException); +assert(TerminalRoutingStrategyException.prototype instanceof GameLiftServiceException); +assert(UnauthorizedException.prototype instanceof GameLiftServiceException); +assert(UnsupportedRegionException.prototype instanceof GameLiftServiceException); assert(GameLiftServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeFleetAttributes === "function"); diff --git a/clients/client-gamelift/test/index-types.ts b/clients/client-gamelift/test/index-types.ts index cb68c690efd3..684978cfb669 100644 --- a/clients/client-gamelift/test/index-types.ts +++ b/clients/client-gamelift/test/index-types.ts @@ -732,6 +732,22 @@ export type { VpcPeeringAuthorization, VpcPeeringConnection, VpcPeeringConnectionStatus, + ConflictException, + FleetCapacityExceededException, + GameSessionFullException, + IdempotentParameterMismatchException, + InternalServiceException, + InvalidFleetStatusException, + InvalidGameSessionStatusException, + InvalidRequestException, + LimitExceededException, + NotFoundException, + NotReadyException, + OutOfCapacityException, + TaggingFailedException, + TerminalRoutingStrategyException, + UnauthorizedException, + UnsupportedRegionException, GameLiftServiceException, paginateDescribeFleetAttributes, paginateDescribeFleetCapacity, diff --git a/clients/client-gameliftstreams/test/index-objects.spec.mjs b/clients/client-gameliftstreams/test/index-objects.spec.mjs index 6c9dd8606eb0..20467f12f978 100644 --- a/clients/client-gameliftstreams/test/index-objects.spec.mjs +++ b/clients/client-gameliftstreams/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, AddStreamGroupLocationsCommand, ApplicationStatus, ApplicationStatusReason, AssociateApplicationsCommand, + ConflictException, CreateApplicationCommand, CreateStreamGroupCommand, CreateStreamSessionConnectionCommand, @@ -17,6 +19,7 @@ import { GetApplicationCommand, GetStreamGroupCommand, GetStreamSessionCommand, + InternalServerException, ListApplicationsCommand, ListStreamGroupsCommand, ListStreamSessionsByAccountCommand, @@ -25,7 +28,9 @@ import { Protocol, RemoveStreamGroupLocationsCommand, ReplicationStatusType, + ResourceNotFoundException, RuntimeEnvironmentType, + ServiceQuotaExceededException, StartStreamSessionCommand, StreamClass, StreamGroupLocationStatus, @@ -35,9 +40,11 @@ import { StreamSessionStatusReason, TagResourceCommand, TerminateStreamSessionCommand, + ThrottlingException, UntagResourceCommand, UpdateApplicationCommand, UpdateStreamGroupCommand, + ValidationException, paginateListApplications, paginateListStreamGroups, paginateListStreamSessions, @@ -96,6 +103,13 @@ assert(typeof StreamGroupStatusReason === "object"); assert(typeof StreamSessionStatus === "object"); assert(typeof StreamSessionStatusReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof GameLiftStreamsServiceException); +assert(ConflictException.prototype instanceof GameLiftStreamsServiceException); +assert(InternalServerException.prototype instanceof GameLiftStreamsServiceException); +assert(ResourceNotFoundException.prototype instanceof GameLiftStreamsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof GameLiftStreamsServiceException); +assert(ThrottlingException.prototype instanceof GameLiftStreamsServiceException); +assert(ValidationException.prototype instanceof GameLiftStreamsServiceException); assert(GameLiftStreamsServiceException.prototype instanceof Error); // waiters assert(typeof waitForApplicationDeleted === "function"); diff --git a/clients/client-gameliftstreams/test/index-types.ts b/clients/client-gameliftstreams/test/index-types.ts index c8c0c308f0f7..a109b831a0b7 100644 --- a/clients/client-gameliftstreams/test/index-types.ts +++ b/clients/client-gameliftstreams/test/index-types.ts @@ -139,6 +139,13 @@ export type { UpdateApplicationOutput, UpdateStreamGroupInput, UpdateStreamGroupOutput, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, GameLiftStreamsServiceException, waitForApplicationDeleted, waitForApplicationReady, diff --git a/clients/client-geo-maps/test/index-objects.spec.mjs b/clients/client-geo-maps/test/index-objects.spec.mjs index a48500aba872..74818c8c495c 100644 --- a/clients/client-geo-maps/test/index-objects.spec.mjs +++ b/clients/client-geo-maps/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ColorScheme, ContourDensity, GeoMaps, @@ -9,15 +10,20 @@ import { GetStaticMapCommand, GetStyleDescriptorCommand, GetTileCommand, + InternalServerException, LabelSize, MapFeatureMode, MapStyle, + ResourceNotFoundException, ScaleBarUnit, StaticMapStyle, Terrain, + ThrottlingException, TileAdditionalFeature, Traffic, TravelMode, + ValidationException, + ValidationExceptionReason, Variant, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -42,7 +48,13 @@ assert(typeof Terrain === "object"); assert(typeof TileAdditionalFeature === "object"); assert(typeof Traffic === "object"); assert(typeof TravelMode === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof Variant === "object"); // errors +assert(AccessDeniedException.prototype instanceof GeoMapsServiceException); +assert(InternalServerException.prototype instanceof GeoMapsServiceException); +assert(ResourceNotFoundException.prototype instanceof GeoMapsServiceException); +assert(ThrottlingException.prototype instanceof GeoMapsServiceException); +assert(ValidationException.prototype instanceof GeoMapsServiceException); assert(GeoMapsServiceException.prototype instanceof Error); console.log(`GeoMaps index test passed.`); diff --git a/clients/client-geo-maps/test/index-types.ts b/clients/client-geo-maps/test/index-types.ts index bd2e9c3c63c8..3f3896fcafcf 100644 --- a/clients/client-geo-maps/test/index-types.ts +++ b/clients/client-geo-maps/test/index-types.ts @@ -28,6 +28,7 @@ export type { TileAdditionalFeature, Traffic, TravelMode, + ValidationExceptionReason, Variant, GetGlyphsRequest, GetGlyphsResponse, @@ -39,5 +40,11 @@ export type { GetStyleDescriptorResponse, GetTileRequest, GetTileResponse, + ValidationExceptionField, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, GeoMapsServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-geo-places/test/index-objects.spec.mjs b/clients/client-geo-places/test/index-objects.spec.mjs index 36d68916a77b..aa705918c254 100644 --- a/clients/client-geo-places/test/index-objects.spec.mjs +++ b/clients/client-geo-places/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AutocompleteAdditionalFeature, AutocompleteCommand, AutocompleteFilterPlaceType, @@ -13,6 +14,7 @@ import { GetPlaceAdditionalFeature, GetPlaceCommand, GetPlaceIntendedUse, + InternalServerException, PlaceType, PostalAuthority, PostalCodeMode, @@ -33,7 +35,10 @@ import { SuggestCommand, SuggestIntendedUse, SuggestResultItemType, + ThrottlingException, TypePlacement, + ValidationException, + ValidationExceptionReason, ZipClassificationCode, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -74,7 +79,12 @@ assert(typeof SuggestAdditionalFeature === "object"); assert(typeof SuggestIntendedUse === "object"); assert(typeof SuggestResultItemType === "object"); assert(typeof TypePlacement === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof ZipClassificationCode === "object"); // errors +assert(AccessDeniedException.prototype instanceof GeoPlacesServiceException); +assert(InternalServerException.prototype instanceof GeoPlacesServiceException); +assert(ThrottlingException.prototype instanceof GeoPlacesServiceException); +assert(ValidationException.prototype instanceof GeoPlacesServiceException); assert(GeoPlacesServiceException.prototype instanceof Error); console.log(`GeoPlaces index test passed.`); diff --git a/clients/client-geo-places/test/index-types.ts b/clients/client-geo-places/test/index-types.ts index 22a498bd61ef..fbb038b0f5a2 100644 --- a/clients/client-geo-places/test/index-types.ts +++ b/clients/client-geo-places/test/index-types.ts @@ -48,6 +48,7 @@ export type { SuggestIntendedUse, SuggestResultItemType, TypePlacement, + ValidationExceptionReason, ZipClassificationCode, AccessPoint, AccessRestriction, @@ -120,5 +121,10 @@ export type { TimeZone, UspsZip, UspsZipPlus4, + ValidationExceptionField, + AccessDeniedException, + InternalServerException, + ThrottlingException, + ValidationException, GeoPlacesServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-geo-routes/test/index-objects.spec.mjs b/clients/client-geo-routes/test/index-objects.spec.mjs index 7b794bf42554..8164b1dcc824 100644 --- a/clients/client-geo-routes/test/index-objects.spec.mjs +++ b/clients/client-geo-routes/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, CalculateIsolinesCommand, CalculateRouteMatrixCommand, CalculateRoutesCommand, @@ -7,6 +8,7 @@ import { GeoRoutesClient, GeoRoutesServiceException, GeometryFormat, + InternalServerException, IsolineEngineType, IsolineHazardousCargoType, IsolineOptimizationObjective, @@ -65,7 +67,10 @@ import { RoutingObjective, SideOfStreetMatchingStrategy, SnapToRoadsCommand, + ThrottlingException, TrafficUsage, + ValidationException, + ValidationExceptionReason, WaypointOptimizationClusteringAlgorithm, WaypointOptimizationConstraint, WaypointOptimizationHazardousCargoType, @@ -144,6 +149,7 @@ assert(typeof RouteZoneCategory === "object"); assert(typeof RoutingObjective === "object"); assert(typeof SideOfStreetMatchingStrategy === "object"); assert(typeof TrafficUsage === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof WaypointOptimizationClusteringAlgorithm === "object"); assert(typeof WaypointOptimizationConstraint === "object"); assert(typeof WaypointOptimizationHazardousCargoType === "object"); @@ -152,5 +158,9 @@ assert(typeof WaypointOptimizationServiceTimeTreatment === "object"); assert(typeof WaypointOptimizationTravelMode === "object"); assert(typeof WaypointOptimizationTruckType === "object"); // errors +assert(AccessDeniedException.prototype instanceof GeoRoutesServiceException); +assert(InternalServerException.prototype instanceof GeoRoutesServiceException); +assert(ThrottlingException.prototype instanceof GeoRoutesServiceException); +assert(ValidationException.prototype instanceof GeoRoutesServiceException); assert(GeoRoutesServiceException.prototype instanceof Error); console.log(`GeoRoutes index test passed.`); diff --git a/clients/client-geo-routes/test/index-types.ts b/clients/client-geo-routes/test/index-types.ts index 9b80f7af4382..722261ef1e39 100644 --- a/clients/client-geo-routes/test/index-types.ts +++ b/clients/client-geo-routes/test/index-types.ts @@ -76,6 +76,7 @@ export type { RoutingObjective, SideOfStreetMatchingStrategy, TrafficUsage, + ValidationExceptionReason, WaypointOptimizationClusteringAlgorithm, WaypointOptimizationConstraint, WaypointOptimizationHazardousCargoType, @@ -246,6 +247,7 @@ export type { RouteZone, SnapToRoadsRequest, SnapToRoadsResponse, + ValidationExceptionField, WaypointOptimizationAccessHours, WaypointOptimizationAccessHoursEntry, WaypointOptimizationAvoidanceArea, @@ -273,5 +275,9 @@ export type { WaypointOptimizationTruckOptions, WaypointOptimizationWaypoint, WeightPerAxleGroup, + AccessDeniedException, + InternalServerException, + ThrottlingException, + ValidationException, GeoRoutesServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-glacier/test/index-objects.spec.mjs b/clients/client-glacier/test/index-objects.spec.mjs index ddcfbcca2c16..7c7cc6736efa 100644 --- a/clients/client-glacier/test/index-objects.spec.mjs +++ b/clients/client-glacier/test/index-objects.spec.mjs @@ -27,16 +27,24 @@ import { InitiateJobCommand, InitiateMultipartUploadCommand, InitiateVaultLockCommand, + InsufficientCapacityException, + InvalidParameterValueException, + LimitExceededException, ListJobsCommand, ListMultipartUploadsCommand, ListPartsCommand, ListProvisionedCapacityCommand, ListTagsForVaultCommand, ListVaultsCommand, + MissingParameterValueException, Permission, + PolicyEnforcedException, PurchaseProvisionedCapacityCommand, QuoteFields, RemoveTagsFromVaultCommand, + RequestTimeoutException, + ResourceNotFoundException, + ServiceUnavailableException, SetDataRetrievalPolicyCommand, SetVaultAccessPolicyCommand, SetVaultNotificationsCommand, @@ -104,6 +112,14 @@ assert(typeof StatusCode === "object"); assert(typeof StorageClass === "object"); assert(typeof Type === "object"); // errors +assert(InsufficientCapacityException.prototype instanceof GlacierServiceException); +assert(InvalidParameterValueException.prototype instanceof GlacierServiceException); +assert(LimitExceededException.prototype instanceof GlacierServiceException); +assert(MissingParameterValueException.prototype instanceof GlacierServiceException); +assert(PolicyEnforcedException.prototype instanceof GlacierServiceException); +assert(RequestTimeoutException.prototype instanceof GlacierServiceException); +assert(ResourceNotFoundException.prototype instanceof GlacierServiceException); +assert(ServiceUnavailableException.prototype instanceof GlacierServiceException); assert(GlacierServiceException.prototype instanceof Error); // waiters assert(typeof waitForVaultExists === "function"); diff --git a/clients/client-glacier/test/index-types.ts b/clients/client-glacier/test/index-types.ts index a2a40417d495..dec2e5345c92 100644 --- a/clients/client-glacier/test/index-types.ts +++ b/clients/client-glacier/test/index-types.ts @@ -185,6 +185,14 @@ export type { VaultAccessPolicy, VaultLockPolicy, VaultNotificationConfig, + InsufficientCapacityException, + InvalidParameterValueException, + LimitExceededException, + MissingParameterValueException, + PolicyEnforcedException, + RequestTimeoutException, + ResourceNotFoundException, + ServiceUnavailableException, GlacierServiceException, waitForVaultExists, waitForVaultNotExists, diff --git a/clients/client-global-accelerator/test/index-objects.spec.mjs b/clients/client-global-accelerator/test/index-objects.spec.mjs index 4249762078b4..fcde32c8d8a9 100644 --- a/clients/client-global-accelerator/test/index-objects.spec.mjs +++ b/clients/client-global-accelerator/test/index-objects.spec.mjs @@ -1,11 +1,19 @@ import { + AcceleratorNotDisabledException, + AcceleratorNotFoundException, AcceleratorStatus, + AccessDeniedException, AddCustomRoutingEndpointsCommand, AddEndpointsCommand, AdvertiseByoipCidrCommand, AllowCustomRoutingTrafficCommand, + AssociatedEndpointGroupFoundException, + AssociatedListenerFoundException, + AttachmentNotFoundException, + ByoipCidrNotFoundException, ByoipCidrState, ClientAffinity, + ConflictException, CreateAcceleratorCommand, CreateCrossAccountAttachmentCommand, CreateCustomRoutingAcceleratorCommand, @@ -34,13 +42,23 @@ import { DescribeCustomRoutingListenerCommand, DescribeEndpointGroupCommand, DescribeListenerCommand, + EndpointAlreadyExistsException, + EndpointGroupAlreadyExistsException, + EndpointGroupNotFoundException, + EndpointNotFoundException, GlobalAccelerator, GlobalAcceleratorClient, GlobalAcceleratorServiceException, HealthCheckProtocol, HealthState, + IncorrectCidrStateException, + InternalServiceErrorException, + InvalidArgumentException, + InvalidNextTokenException, + InvalidPortRangeException, IpAddressFamily, IpAddressType, + LimitExceededException, ListAcceleratorsCommand, ListByoipCidrsCommand, ListCrossAccountAttachmentsCommand, @@ -54,11 +72,13 @@ import { ListEndpointGroupsCommand, ListListenersCommand, ListTagsForResourceCommand, + ListenerNotFoundException, Protocol, ProvisionByoipCidrCommand, RemoveCustomRoutingEndpointsCommand, RemoveEndpointsCommand, TagResourceCommand, + TransactionInProgressException, UntagResourceCommand, UpdateAcceleratorAttributesCommand, UpdateAcceleratorCommand, @@ -155,6 +175,26 @@ assert(typeof IpAddressFamily === "object"); assert(typeof IpAddressType === "object"); assert(typeof Protocol === "object"); // errors +assert(AcceleratorNotDisabledException.prototype instanceof GlobalAcceleratorServiceException); +assert(AcceleratorNotFoundException.prototype instanceof GlobalAcceleratorServiceException); +assert(AccessDeniedException.prototype instanceof GlobalAcceleratorServiceException); +assert(AssociatedEndpointGroupFoundException.prototype instanceof GlobalAcceleratorServiceException); +assert(AssociatedListenerFoundException.prototype instanceof GlobalAcceleratorServiceException); +assert(AttachmentNotFoundException.prototype instanceof GlobalAcceleratorServiceException); +assert(ByoipCidrNotFoundException.prototype instanceof GlobalAcceleratorServiceException); +assert(ConflictException.prototype instanceof GlobalAcceleratorServiceException); +assert(EndpointAlreadyExistsException.prototype instanceof GlobalAcceleratorServiceException); +assert(EndpointGroupAlreadyExistsException.prototype instanceof GlobalAcceleratorServiceException); +assert(EndpointGroupNotFoundException.prototype instanceof GlobalAcceleratorServiceException); +assert(EndpointNotFoundException.prototype instanceof GlobalAcceleratorServiceException); +assert(IncorrectCidrStateException.prototype instanceof GlobalAcceleratorServiceException); +assert(InternalServiceErrorException.prototype instanceof GlobalAcceleratorServiceException); +assert(InvalidArgumentException.prototype instanceof GlobalAcceleratorServiceException); +assert(InvalidNextTokenException.prototype instanceof GlobalAcceleratorServiceException); +assert(InvalidPortRangeException.prototype instanceof GlobalAcceleratorServiceException); +assert(LimitExceededException.prototype instanceof GlobalAcceleratorServiceException); +assert(ListenerNotFoundException.prototype instanceof GlobalAcceleratorServiceException); +assert(TransactionInProgressException.prototype instanceof GlobalAcceleratorServiceException); assert(GlobalAcceleratorServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccelerators === "function"); diff --git a/clients/client-global-accelerator/test/index-types.ts b/clients/client-global-accelerator/test/index-types.ts index e63fc3ebc1d4..cc84f86ed2d1 100644 --- a/clients/client-global-accelerator/test/index-types.ts +++ b/clients/client-global-accelerator/test/index-types.ts @@ -311,6 +311,26 @@ export type { UpdateListenerResponse, WithdrawByoipCidrRequest, WithdrawByoipCidrResponse, + AcceleratorNotDisabledException, + AcceleratorNotFoundException, + AccessDeniedException, + AssociatedEndpointGroupFoundException, + AssociatedListenerFoundException, + AttachmentNotFoundException, + ByoipCidrNotFoundException, + ConflictException, + EndpointAlreadyExistsException, + EndpointGroupAlreadyExistsException, + EndpointGroupNotFoundException, + EndpointNotFoundException, + IncorrectCidrStateException, + InternalServiceErrorException, + InvalidArgumentException, + InvalidNextTokenException, + InvalidPortRangeException, + LimitExceededException, + ListenerNotFoundException, + TransactionInProgressException, GlobalAcceleratorServiceException, paginateListAccelerators, paginateListByoipCidrs, diff --git a/clients/client-glue/src/schemas/schemas_0.ts b/clients/client-glue/src/schemas/schemas_0.ts index 8fb7772dd8f1..7a45f012f8ed 100644 --- a/clients/client-glue/src/schemas/schemas_0.ts +++ b/clients/client-glue/src/schemas/schemas_0.ts @@ -7327,7 +7327,6 @@ export var XMLClassifier: StaticStructureSchema = [ [_N, _Clas, _CTre, _LU, _Ver, _RTo], [0, 0, 4, 4, 1, 0], ]; -export var __Unit = "unit" as const; export var GlueServiceException: StaticErrorSchema = [-3, _sm, "GlueServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(GlueServiceException, __GlueServiceException); export var ActionList: StaticListSchema = [1, n0, _ALc, 0, () => Action]; diff --git a/clients/client-glue/test/index-objects.spec.mjs b/clients/client-glue/test/index-objects.spec.mjs index 3840e6ed31e3..8d6420feca3e 100644 --- a/clients/client-glue/test/index-objects.spec.mjs +++ b/clients/client-glue/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AdditionalOptionKeys, AggFunction, AllowFullTableExternalDataAccessEnum, + AlreadyExistsException, AuthenticationType, BackfillErrorCode, BatchCreatePartitionCommand, @@ -32,6 +34,9 @@ import { CheckSchemaVersionValidityCommand, CloudWatchEncryptionMode, ColumnStatisticsState, + ColumnStatisticsTaskNotRunningException, + ColumnStatisticsTaskRunningException, + ColumnStatisticsTaskStoppingException, ColumnStatisticsType, CompactionStrategy, Comparator, @@ -39,14 +44,21 @@ import { CompressionType, ComputationType, ComputeEnvironment, + ConcurrentModificationException, + ConcurrentRunsExceededException, + ConditionCheckFailureException, ConfigurationSource, + ConflictException, ConnectionPropertyKey, ConnectionStatus, ConnectionType, CrawlState, CrawlerHistoryState, CrawlerLineageSettings, + CrawlerNotRunningException, + CrawlerRunningException, CrawlerState, + CrawlerStoppingException, CreateBlueprintCommand, CreateCatalogCommand, CreateClassifierCommand, @@ -128,9 +140,14 @@ import { DescribeInboundIntegrationsCommand, DescribeIntegrationsCommand, EnableHybridValues, + EntityNotFoundException, ExecutionClass, ExecutionStatus, ExistCondition, + FederatedResourceAlreadyExistsException, + FederationSourceErrorCode, + FederationSourceException, + FederationSourceRetryableException, FieldDataType, FieldFilterOperator, FieldName, @@ -219,6 +236,7 @@ import { GetWorkflowRunsCommand, Glue, GlueClient, + GlueEncryptionException, GlueRecordType, GlueServiceException, HudiTargetCompressionType, @@ -228,9 +246,21 @@ import { IcebergStructTypeEnum, IcebergTargetCompressionType, IcebergUpdateAction, + IdempotentParameterMismatchException, + IllegalBlueprintStateException, + IllegalSessionStateException, + IllegalWorkflowStateException, ImportCatalogToGlueCommand, InclusionAnnotationValue, + IntegrationConflictOperationFault, + IntegrationNotFoundFault, + IntegrationQuotaExceededFault, IntegrationStatus, + InternalServerException, + InternalServiceException, + InvalidInputException, + InvalidIntegrationStateFault, + InvalidStateException, JDBCConnectionType, JDBCDataType, JdbcMetadataEntry, @@ -238,6 +268,7 @@ import { JobMode, JobRunState, JoinType, + KMSKeyNotAccessibleFault, Language, LastCrawlStatus, LastRefreshType, @@ -269,16 +300,21 @@ import { ListWorkflowsCommand, Logical, LogicalOperator, + MLTransformNotReadyException, MLUserDataEncryptionModeString, MetadataOperation, ModifyIntegrationCommand, + NoScheduleException, NodeType, OAuth2GrantType, + OperationNotSupportedException, + OperationTimeoutException, ParamType, ParquetCompressionType, PartitionIndexStatus, Permission, PermissionType, + PermissionTypeMismatchException, PiiType, PrincipalType, PropertyType, @@ -295,6 +331,9 @@ import { RemoveSchemaVersionMetadataCommand, ResetJobBookmarkCommand, ResourceAction, + ResourceNotFoundException, + ResourceNotReadyException, + ResourceNumberLimitExceededException, ResourceShareType, ResourceState, ResourceType, @@ -303,6 +342,9 @@ import { S3EncryptionMode, ScheduleState, ScheduleType, + SchedulerNotRunningException, + SchedulerRunningException, + SchedulerTransitioningException, SchemaDiffType, SchemaStatus, SchemaVersionStatus, @@ -343,10 +385,12 @@ import { TableOptimizerType, TagResourceCommand, TargetFormat, + TargetResourceNotFound, TaskRunSortColumnType, TaskStatusType, TaskType, TestConnectionCommand, + ThrottlingException, TransformSortColumnType, TransformStatusType, TransformType, @@ -385,6 +429,8 @@ import { UpdateUsageProfileCommand, UpdateUserDefinedFunctionCommand, UpdateWorkflowCommand, + ValidationException, + VersionMismatchException, ViewDialect, ViewUpdateAction, WorkerType, @@ -743,6 +789,7 @@ assert(typeof EnableHybridValues === "object"); assert(typeof ExecutionClass === "object"); assert(typeof ExecutionStatus === "object"); assert(typeof ExistCondition === "object"); +assert(typeof FederationSourceErrorCode === "object"); assert(typeof FieldDataType === "object"); assert(typeof FieldFilterOperator === "object"); assert(typeof FieldName === "object"); @@ -829,6 +876,51 @@ assert(typeof ViewUpdateAction === "object"); assert(typeof WorkerType === "object"); assert(typeof WorkflowRunStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof GlueServiceException); +assert(AlreadyExistsException.prototype instanceof GlueServiceException); +assert(ColumnStatisticsTaskNotRunningException.prototype instanceof GlueServiceException); +assert(ColumnStatisticsTaskRunningException.prototype instanceof GlueServiceException); +assert(ColumnStatisticsTaskStoppingException.prototype instanceof GlueServiceException); +assert(ConcurrentModificationException.prototype instanceof GlueServiceException); +assert(ConcurrentRunsExceededException.prototype instanceof GlueServiceException); +assert(ConditionCheckFailureException.prototype instanceof GlueServiceException); +assert(ConflictException.prototype instanceof GlueServiceException); +assert(CrawlerNotRunningException.prototype instanceof GlueServiceException); +assert(CrawlerRunningException.prototype instanceof GlueServiceException); +assert(CrawlerStoppingException.prototype instanceof GlueServiceException); +assert(EntityNotFoundException.prototype instanceof GlueServiceException); +assert(FederatedResourceAlreadyExistsException.prototype instanceof GlueServiceException); +assert(FederationSourceException.prototype instanceof GlueServiceException); +assert(FederationSourceRetryableException.prototype instanceof GlueServiceException); +assert(GlueEncryptionException.prototype instanceof GlueServiceException); +assert(IdempotentParameterMismatchException.prototype instanceof GlueServiceException); +assert(IllegalBlueprintStateException.prototype instanceof GlueServiceException); +assert(IllegalSessionStateException.prototype instanceof GlueServiceException); +assert(IllegalWorkflowStateException.prototype instanceof GlueServiceException); +assert(IntegrationConflictOperationFault.prototype instanceof GlueServiceException); +assert(IntegrationNotFoundFault.prototype instanceof GlueServiceException); +assert(IntegrationQuotaExceededFault.prototype instanceof GlueServiceException); +assert(InternalServerException.prototype instanceof GlueServiceException); +assert(InternalServiceException.prototype instanceof GlueServiceException); +assert(InvalidInputException.prototype instanceof GlueServiceException); +assert(InvalidIntegrationStateFault.prototype instanceof GlueServiceException); +assert(InvalidStateException.prototype instanceof GlueServiceException); +assert(KMSKeyNotAccessibleFault.prototype instanceof GlueServiceException); +assert(MLTransformNotReadyException.prototype instanceof GlueServiceException); +assert(NoScheduleException.prototype instanceof GlueServiceException); +assert(OperationNotSupportedException.prototype instanceof GlueServiceException); +assert(OperationTimeoutException.prototype instanceof GlueServiceException); +assert(PermissionTypeMismatchException.prototype instanceof GlueServiceException); +assert(ResourceNotFoundException.prototype instanceof GlueServiceException); +assert(ResourceNotReadyException.prototype instanceof GlueServiceException); +assert(ResourceNumberLimitExceededException.prototype instanceof GlueServiceException); +assert(SchedulerNotRunningException.prototype instanceof GlueServiceException); +assert(SchedulerRunningException.prototype instanceof GlueServiceException); +assert(SchedulerTransitioningException.prototype instanceof GlueServiceException); +assert(TargetResourceNotFound.prototype instanceof GlueServiceException); +assert(ThrottlingException.prototype instanceof GlueServiceException); +assert(ValidationException.prototype instanceof GlueServiceException); +assert(VersionMismatchException.prototype instanceof GlueServiceException); assert(GlueServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeEntity === "function"); diff --git a/clients/client-glue/test/index-types.ts b/clients/client-glue/test/index-types.ts index 8987a6c487d1..d83529fa9fac 100644 --- a/clients/client-glue/test/index-types.ts +++ b/clients/client-glue/test/index-types.ts @@ -822,6 +822,7 @@ export type { ExecutionClass, ExecutionStatus, ExistCondition, + FederationSourceErrorCode, FieldDataType, FieldFilterOperator, FieldName, @@ -1834,6 +1835,51 @@ export type { WorkflowRun, WorkflowRunStatistics, XMLClassifier, + AccessDeniedException, + AlreadyExistsException, + ColumnStatisticsTaskNotRunningException, + ColumnStatisticsTaskRunningException, + ColumnStatisticsTaskStoppingException, + ConcurrentModificationException, + ConcurrentRunsExceededException, + ConditionCheckFailureException, + ConflictException, + CrawlerNotRunningException, + CrawlerRunningException, + CrawlerStoppingException, + EntityNotFoundException, + FederatedResourceAlreadyExistsException, + FederationSourceException, + FederationSourceRetryableException, + GlueEncryptionException, + IdempotentParameterMismatchException, + IllegalBlueprintStateException, + IllegalSessionStateException, + IllegalWorkflowStateException, + IntegrationConflictOperationFault, + IntegrationNotFoundFault, + IntegrationQuotaExceededFault, + InternalServerException, + InternalServiceException, + InvalidInputException, + InvalidIntegrationStateFault, + InvalidStateException, + KMSKeyNotAccessibleFault, + MLTransformNotReadyException, + NoScheduleException, + OperationNotSupportedException, + OperationTimeoutException, + PermissionTypeMismatchException, + ResourceNotFoundException, + ResourceNotReadyException, + ResourceNumberLimitExceededException, + SchedulerNotRunningException, + SchedulerRunningException, + SchedulerTransitioningException, + TargetResourceNotFound, + ThrottlingException, + ValidationException, + VersionMismatchException, GlueServiceException, paginateDescribeEntity, paginateGetBlueprintRuns, diff --git a/clients/client-grafana/test/index-objects.spec.mjs b/clients/client-grafana/test/index-objects.spec.mjs index 0888df0ec051..ca888cebd289 100644 --- a/clients/client-grafana/test/index-objects.spec.mjs +++ b/clients/client-grafana/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AccountAccessType, AssociateLicenseCommand, AuthenticationProviderTypes, + ConflictException, CreateWorkspaceApiKeyCommand, CreateWorkspaceCommand, CreateWorkspaceServiceAccountCommand, @@ -18,6 +20,7 @@ import { Grafana, GrafanaClient, GrafanaServiceException, + InternalServerException, LicenseType, ListPermissionsCommand, ListTagsForResourceCommand, @@ -27,9 +30,12 @@ import { ListWorkspacesCommand, NotificationDestinationType, PermissionType, + ResourceNotFoundException, Role, SamlConfigurationStatus, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateAction, UpdatePermissionsCommand, @@ -37,6 +43,8 @@ import { UpdateWorkspaceCommand, UpdateWorkspaceConfigurationCommand, UserType, + ValidationException, + ValidationExceptionReason, WorkspaceStatus, paginateListPermissions, paginateListVersions, @@ -85,8 +93,16 @@ assert(typeof Role === "object"); assert(typeof SamlConfigurationStatus === "object"); assert(typeof UpdateAction === "object"); assert(typeof UserType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof WorkspaceStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof GrafanaServiceException); +assert(ConflictException.prototype instanceof GrafanaServiceException); +assert(InternalServerException.prototype instanceof GrafanaServiceException); +assert(ResourceNotFoundException.prototype instanceof GrafanaServiceException); +assert(ServiceQuotaExceededException.prototype instanceof GrafanaServiceException); +assert(ThrottlingException.prototype instanceof GrafanaServiceException); +assert(ValidationException.prototype instanceof GrafanaServiceException); assert(GrafanaServiceException.prototype instanceof Error); // paginators assert(typeof paginateListPermissions === "function"); diff --git a/clients/client-grafana/test/index-types.ts b/clients/client-grafana/test/index-types.ts index e210e887ae3f..06a98e3129a5 100644 --- a/clients/client-grafana/test/index-types.ts +++ b/clients/client-grafana/test/index-types.ts @@ -87,6 +87,7 @@ export type { SamlConfigurationStatus, UpdateAction, UserType, + ValidationExceptionReason, WorkspaceStatus, AssertionAttributes, AssociateLicenseRequest, @@ -154,9 +155,17 @@ export type { UpdateWorkspaceRequest, UpdateWorkspaceResponse, User, + ValidationExceptionField, VpcConfiguration, WorkspaceDescription, WorkspaceSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, GrafanaServiceException, paginateListPermissions, paginateListVersions, diff --git a/clients/client-greengrass/test/index-objects.spec.mjs b/clients/client-greengrass/test/index-objects.spec.mjs index 21751153dd37..f2d8c308011f 100644 --- a/clients/client-greengrass/test/index-objects.spec.mjs +++ b/clients/client-greengrass/test/index-objects.spec.mjs @@ -1,6 +1,7 @@ import { AssociateRoleToGroupCommand, AssociateServiceRoleToAccountCommand, + BadRequestException, BulkDeploymentStatus, ConfigurationSyncStatus, CreateConnectorDefinitionCommand, @@ -62,6 +63,7 @@ import { Greengrass, GreengrassClient, GreengrassServiceException, + InternalServerErrorException, ListBulkDeploymentDetailedReportsCommand, ListBulkDeploymentsCommand, ListConnectorDefinitionVersionsCommand, @@ -222,5 +224,7 @@ assert(typeof UpdateAgentLogLevel === "object"); assert(typeof UpdateTargetsArchitecture === "object"); assert(typeof UpdateTargetsOperatingSystem === "object"); // errors +assert(BadRequestException.prototype instanceof GreengrassServiceException); +assert(InternalServerErrorException.prototype instanceof GreengrassServiceException); assert(GreengrassServiceException.prototype instanceof Error); console.log(`Greengrass index test passed.`); diff --git a/clients/client-greengrass/test/index-types.ts b/clients/client-greengrass/test/index-types.ts index f7178b19e582..5d8d3d9265bb 100644 --- a/clients/client-greengrass/test/index-types.ts +++ b/clients/client-greengrass/test/index-types.ts @@ -517,5 +517,7 @@ export type { UpdateThingRuntimeConfigurationRequest, UpdateThingRuntimeConfigurationResponse, VersionInformation, + BadRequestException, + InternalServerErrorException, GreengrassServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-greengrassv2/test/index-objects.spec.mjs b/clients/client-greengrassv2/test/index-objects.spec.mjs index b39a67bf60ef..3cb85a34bc6a 100644 --- a/clients/client-greengrassv2/test/index-objects.spec.mjs +++ b/clients/client-greengrassv2/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AssociateServiceRoleToAccountCommand, BatchAssociateClientDeviceWithCoreDeviceCommand, BatchDisassociateClientDeviceFromCoreDeviceCommand, @@ -6,6 +7,7 @@ import { CloudComponentState, ComponentDependencyType, ComponentVisibilityScope, + ConflictException, CoreDeviceStatus, CreateComponentVersionCommand, CreateDeploymentCommand, @@ -30,6 +32,7 @@ import { GreengrassV2ServiceException, InstalledComponentLifecycleState, InstalledComponentTopologyFilter, + InternalServerException, IoTJobAbortAction, IoTJobExecutionFailureType, IotEndpointType, @@ -46,11 +49,17 @@ import { ListInstalledComponentsCommand, ListTagsForResourceCommand, RecipeOutputFormat, + RequestAlreadyInProgressException, ResolveComponentCandidatesCommand, + ResourceNotFoundException, S3EndpointType, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateConnectivityInfoCommand, + ValidationException, + ValidationExceptionReason, VendorGuidance, paginateListClientDevicesAssociatedWithCoreDevice, paginateListComponentVersions, @@ -115,8 +124,17 @@ assert(typeof LambdaInputPayloadEncodingType === "object"); assert(typeof LambdaIsolationMode === "object"); assert(typeof RecipeOutputFormat === "object"); assert(typeof S3EndpointType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VendorGuidance === "object"); // errors +assert(AccessDeniedException.prototype instanceof GreengrassV2ServiceException); +assert(ConflictException.prototype instanceof GreengrassV2ServiceException); +assert(InternalServerException.prototype instanceof GreengrassV2ServiceException); +assert(RequestAlreadyInProgressException.prototype instanceof GreengrassV2ServiceException); +assert(ResourceNotFoundException.prototype instanceof GreengrassV2ServiceException); +assert(ServiceQuotaExceededException.prototype instanceof GreengrassV2ServiceException); +assert(ThrottlingException.prototype instanceof GreengrassV2ServiceException); +assert(ValidationException.prototype instanceof GreengrassV2ServiceException); assert(GreengrassV2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateListClientDevicesAssociatedWithCoreDevice === "function"); diff --git a/clients/client-greengrassv2/test/index-types.ts b/clients/client-greengrassv2/test/index-types.ts index ef9b26180f55..6524dff33d3c 100644 --- a/clients/client-greengrassv2/test/index-types.ts +++ b/clients/client-greengrassv2/test/index-types.ts @@ -109,6 +109,7 @@ export type { LambdaIsolationMode, RecipeOutputFormat, S3EndpointType, + ValidationExceptionReason, VendorGuidance, AssociateClientDeviceWithCoreDeviceEntry, AssociateClientDeviceWithCoreDeviceErrorEntry, @@ -205,6 +206,15 @@ export type { UntagResourceResponse, UpdateConnectivityInfoRequest, UpdateConnectivityInfoResponse, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + RequestAlreadyInProgressException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, GreengrassV2ServiceException, paginateListClientDevicesAssociatedWithCoreDevice, paginateListComponentVersions, diff --git a/clients/client-groundstation/src/schemas/schemas_0.ts b/clients/client-groundstation/src/schemas/schemas_0.ts index 52676dc06419..a353713ecc21 100644 --- a/clients/client-groundstation/src/schemas/schemas_0.ts +++ b/clients/client-groundstation/src/schemas/schemas_0.ts @@ -968,7 +968,6 @@ export var UplinkConnectionDetails: StaticStructureSchema = [ ]; export var UplinkEchoConfig: StaticStructureSchema = [3, n0, _UEC, 0, [_ena, _aUCA], [2, 0]]; export var UplinkSpectrumConfig: StaticStructureSchema = [3, n0, _USC, 0, [_cF, _pol], [() => Frequency, 0]]; -export var __Unit = "unit" as const; export var GroundStationServiceException: StaticErrorSchema = [-3, _sm, "GroundStationServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(GroundStationServiceException, __GroundStationServiceException); export var AgentCpuCoresList = 64 | 1; diff --git a/clients/client-groundstation/test/index-objects.spec.mjs b/clients/client-groundstation/test/index-objects.spec.mjs index a49019f7ce5d..a88c61d40264 100644 --- a/clients/client-groundstation/test/index-objects.spec.mjs +++ b/clients/client-groundstation/test/index-objects.spec.mjs @@ -18,6 +18,7 @@ import { DeleteDataflowEndpointGroupCommand, DeleteEphemerisCommand, DeleteMissionProfileCommand, + DependencyException, DescribeContactCommand, DescribeEphemerisCommand, EirpUnits, @@ -38,6 +39,7 @@ import { GroundStation, GroundStationClient, GroundStationServiceException, + InvalidParameterException, ListConfigsCommand, ListContactsCommand, ListDataflowEndpointGroupsCommand, @@ -49,6 +51,10 @@ import { Polarization, RegisterAgentCommand, ReserveContactCommand, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, UntagResourceCommand, UpdateAgentStatusCommand, @@ -125,6 +131,12 @@ assert(typeof EphemerisType === "object"); assert(typeof FrequencyUnits === "object"); assert(typeof Polarization === "object"); // errors +assert(DependencyException.prototype instanceof GroundStationServiceException); +assert(InvalidParameterException.prototype instanceof GroundStationServiceException); +assert(ResourceInUseException.prototype instanceof GroundStationServiceException); +assert(ResourceLimitExceededException.prototype instanceof GroundStationServiceException); +assert(ResourceNotFoundException.prototype instanceof GroundStationServiceException); +assert(ServiceQuotaExceededException.prototype instanceof GroundStationServiceException); assert(GroundStationServiceException.prototype instanceof Error); // waiters assert(typeof waitForContactScheduled === "function"); diff --git a/clients/client-groundstation/test/index-types.ts b/clients/client-groundstation/test/index-types.ts index 6f92923d3bef..552b3daf0994 100644 --- a/clients/client-groundstation/test/index-types.ts +++ b/clients/client-groundstation/test/index-types.ts @@ -262,6 +262,12 @@ export type { UplinkDataflowDetails, UplinkEchoConfig, UplinkSpectrumConfig, + DependencyException, + InvalidParameterException, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ServiceQuotaExceededException, GroundStationServiceException, waitForContactScheduled, waitUntilContactScheduled, diff --git a/clients/client-guardduty/test/index-objects.spec.mjs b/clients/client-guardduty/test/index-objects.spec.mjs index 6835b7aa7fa9..e84b2d57bcf3 100644 --- a/clients/client-guardduty/test/index-objects.spec.mjs +++ b/clients/client-guardduty/test/index-objects.spec.mjs @@ -1,10 +1,13 @@ import { AcceptAdministratorInvitationCommand, AcceptInvitationCommand, + AccessDeniedException, AdminStatus, ArchiveFindingsCommand, AutoEnableMembers, + BadRequestException, ClusterStatus, + ConflictException, CoverageFilterCriterionKey, CoverageSortKey, CoverageStatisticsType, @@ -82,6 +85,7 @@ import { GuardDutyClient, GuardDutyServiceException, IndicatorType, + InternalServerErrorException, InviteMembersCommand, IpSetFormat, IpSetStatus, @@ -120,6 +124,7 @@ import { PublicAclIgnoreBehavior, PublicBucketRestrictBehavior, PublishingStatus, + ResourceNotFoundException, ResourceType, ScanCategory, ScanCriterionKey, @@ -336,6 +341,11 @@ assert(typeof TrustedEntitySetStatus === "object"); assert(typeof UsageFeature === "object"); assert(typeof UsageStatisticType === "object"); // errors +assert(AccessDeniedException.prototype instanceof GuardDutyServiceException); +assert(BadRequestException.prototype instanceof GuardDutyServiceException); +assert(ConflictException.prototype instanceof GuardDutyServiceException); +assert(InternalServerErrorException.prototype instanceof GuardDutyServiceException); +assert(ResourceNotFoundException.prototype instanceof GuardDutyServiceException); assert(GuardDutyServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeMalwareScans === "function"); diff --git a/clients/client-guardduty/test/index-types.ts b/clients/client-guardduty/test/index-types.ts index 60c7227a027b..d6ae29a3c7e5 100644 --- a/clients/client-guardduty/test/index-types.ts +++ b/clients/client-guardduty/test/index-types.ts @@ -752,6 +752,11 @@ export type { VolumeDetail, VolumeMount, VpcConfig, + AccessDeniedException, + BadRequestException, + ConflictException, + InternalServerErrorException, + ResourceNotFoundException, GuardDutyServiceException, paginateDescribeMalwareScans, paginateDescribeOrganizationConfiguration, diff --git a/clients/client-health/test/index-objects.spec.mjs b/clients/client-health/test/index-objects.spec.mjs index 5bbedfa444a2..4ccb1a185754 100644 --- a/clients/client-health/test/index-objects.spec.mjs +++ b/clients/client-health/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + ConcurrentModificationException, DescribeAffectedAccountsForOrganizationCommand, DescribeAffectedEntitiesCommand, DescribeAffectedEntitiesForOrganizationCommand, @@ -25,6 +26,8 @@ import { Health, HealthClient, HealthServiceException, + InvalidPaginationToken, + UnsupportedLocale, paginateDescribeAffectedAccountsForOrganization, paginateDescribeAffectedEntities, paginateDescribeAffectedEntitiesForOrganization, @@ -63,6 +66,9 @@ assert(typeof EventTypeActionability === "object"); assert(typeof EventTypeCategory === "object"); assert(typeof EventTypePersona === "object"); // errors +assert(ConcurrentModificationException.prototype instanceof HealthServiceException); +assert(InvalidPaginationToken.prototype instanceof HealthServiceException); +assert(UnsupportedLocale.prototype instanceof HealthServiceException); assert(HealthServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeAffectedAccountsForOrganization === "function"); diff --git a/clients/client-health/test/index-types.ts b/clients/client-health/test/index-types.ts index 8373e58a4b56..b66e0f10b736 100644 --- a/clients/client-health/test/index-types.ts +++ b/clients/client-health/test/index-types.ts @@ -97,6 +97,9 @@ export type { OrganizationEventDetails, OrganizationEventDetailsErrorItem, OrganizationEventFilter, + ConcurrentModificationException, + InvalidPaginationToken, + UnsupportedLocale, HealthServiceException, paginateDescribeAffectedAccountsForOrganization, paginateDescribeAffectedEntities, diff --git a/clients/client-healthlake/src/schemas/schemas_0.ts b/clients/client-healthlake/src/schemas/schemas_0.ts index 79ed1680e30e..a954716a0ad0 100644 --- a/clients/client-healthlake/src/schemas/schemas_0.ts +++ b/clients/client-healthlake/src/schemas/schemas_0.ts @@ -325,7 +325,6 @@ export var UntagResourceRequest: StaticStructureSchema = [3, n0, _URR, 0, [_RARN export var UntagResourceResponse: StaticStructureSchema = [3, n0, _URRn, 0, [], []]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var HealthLakeServiceException: StaticErrorSchema = [-3, _sm, "HealthLakeServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(HealthLakeServiceException, __HealthLakeServiceException); export var DatastorePropertiesList: StaticListSchema = [1, n0, _DPL, 0, () => DatastoreProperties]; diff --git a/clients/client-healthlake/test/index-objects.spec.mjs b/clients/client-healthlake/test/index-objects.spec.mjs index 92508633ccbe..2414bde26595 100644 --- a/clients/client-healthlake/test/index-objects.spec.mjs +++ b/clients/client-healthlake/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, AuthorizationStrategy, CmkType, + ConflictException, CreateFHIRDatastoreCommand, DatastoreStatus, DeleteFHIRDatastoreCommand, @@ -12,16 +14,20 @@ import { HealthLake, HealthLakeClient, HealthLakeServiceException, + InternalServerException, JobStatus, ListFHIRDatastoresCommand, ListFHIRExportJobsCommand, ListFHIRImportJobsCommand, ListTagsForResourceCommand, PreloadDataType, + ResourceNotFoundException, StartFHIRExportJobCommand, StartFHIRImportJobCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, + ValidationException, ValidationLevel, paginateListFHIRDatastores, paginateListFHIRExportJobs, @@ -63,6 +69,12 @@ assert(typeof JobStatus === "object"); assert(typeof PreloadDataType === "object"); assert(typeof ValidationLevel === "object"); // errors +assert(AccessDeniedException.prototype instanceof HealthLakeServiceException); +assert(ConflictException.prototype instanceof HealthLakeServiceException); +assert(InternalServerException.prototype instanceof HealthLakeServiceException); +assert(ResourceNotFoundException.prototype instanceof HealthLakeServiceException); +assert(ThrottlingException.prototype instanceof HealthLakeServiceException); +assert(ValidationException.prototype instanceof HealthLakeServiceException); assert(HealthLakeServiceException.prototype instanceof Error); // waiters assert(typeof waitForFHIRDatastoreActive === "function"); diff --git a/clients/client-healthlake/test/index-types.ts b/clients/client-healthlake/test/index-types.ts index e9cb3f7872c2..e4a23b727995 100644 --- a/clients/client-healthlake/test/index-types.ts +++ b/clients/client-healthlake/test/index-types.ts @@ -89,6 +89,12 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, HealthLakeServiceException, waitForFHIRDatastoreActive, waitForFHIRDatastoreDeleted, diff --git a/clients/client-iam/test/index-objects.spec.mjs b/clients/client-iam/test/index-objects.spec.mjs index aa70e27a9368..ce4a48b5fe95 100644 --- a/clients/client-iam/test/index-objects.spec.mjs +++ b/clients/client-iam/test/index-objects.spec.mjs @@ -1,6 +1,7 @@ import { AcceptDelegationRequestCommand, AccessAdvisorUsageGranularityType, + AccountNotManagementOrDelegatedAdministratorException, AddClientIDToOpenIDConnectProviderCommand, AddRoleToInstanceProfileCommand, AddUserToGroupCommand, @@ -10,7 +11,9 @@ import { AttachGroupPolicyCommand, AttachRolePolicyCommand, AttachUserPolicyCommand, + CallerIsNotManagementAccountException, ChangePasswordCommand, + ConcurrentModificationException, ContextKeyTypeEnum, CreateAccessKeyCommand, CreateAccountAliasCommand, @@ -27,10 +30,14 @@ import { CreateServiceSpecificCredentialCommand, CreateUserCommand, CreateVirtualMFADeviceCommand, + CredentialReportExpiredException, + CredentialReportNotPresentException, + CredentialReportNotReadyException, DeactivateMFADeviceCommand, DeleteAccessKeyCommand, DeleteAccountAliasCommand, DeleteAccountPasswordPolicyCommand, + DeleteConflictException, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, @@ -58,12 +65,18 @@ import { DisableOrganizationsRootCredentialsManagementCommand, DisableOrganizationsRootSessionsCommand, DisableOutboundWebIdentityFederationCommand, + DuplicateCertificateException, + DuplicateSSHPublicKeyException, EnableMFADeviceCommand, EnableOrganizationsRootCredentialsManagementCommand, EnableOrganizationsRootSessionsCommand, EnableOutboundWebIdentityFederationCommand, EncodingType, + EntityAlreadyExistsException, + EntityTemporarilyUnmodifiableException, EntityType, + FeatureDisabledException, + FeatureEnabledException, FeatureType, GenerateCredentialReportCommand, GenerateOrganizationsAccessReportCommand, @@ -101,7 +114,14 @@ import { IAM, IAMClient, IAMServiceException, + InvalidAuthenticationCodeException, + InvalidCertificateException, + InvalidInputException, + InvalidPublicKeyException, + InvalidUserTypeException, JobStatusType, + KeyPairMismatchException, + LimitExceededException, ListAccessKeysCommand, ListAccountAliasesCommand, ListAttachedGroupPoliciesCommand, @@ -138,10 +158,19 @@ import { ListUserTagsCommand, ListUsersCommand, ListVirtualMFADevicesCommand, + MalformedCertificateException, + MalformedPolicyDocumentException, + NoSuchEntityException, + OpenIdIdpCommunicationErrorException, + OrganizationNotFoundException, + OrganizationNotInAllFeaturesModeException, + PasswordPolicyViolationException, PermissionCheckResultType, PermissionCheckStatusType, PermissionsBoundaryAttachmentType, PolicyEvaluationDecisionType, + PolicyEvaluationException, + PolicyNotAttachableException, PolicyOwnerEntityType, PolicyParameterTypeEnum, PolicyScopeType, @@ -158,10 +187,14 @@ import { RemoveRoleFromInstanceProfileCommand, RemoveUserFromGroupCommand, ReportFormatType, + ReportGenerationLimitExceededException, ReportStateType, ResetServiceSpecificCredentialCommand, ResyncMFADeviceCommand, SendDelegationTokenCommand, + ServiceAccessNotEnabledException, + ServiceFailureException, + ServiceNotSupportedException, SetDefaultPolicyVersionCommand, SetSecurityTokenServicePreferencesCommand, SimulateCustomPolicyCommand, @@ -179,6 +212,8 @@ import { TagSAMLProviderCommand, TagServerCertificateCommand, TagUserCommand, + UnmodifiableEntityException, + UnrecognizedPublicKeyEncodingException, UntagInstanceProfileCommand, UntagMFADeviceCommand, UntagOpenIDConnectProviderCommand, @@ -458,6 +493,41 @@ assert(typeof StatusType === "object"); assert(typeof SummaryKeyType === "object"); assert(typeof SummaryStateType === "object"); // errors +assert(AccountNotManagementOrDelegatedAdministratorException.prototype instanceof IAMServiceException); +assert(CallerIsNotManagementAccountException.prototype instanceof IAMServiceException); +assert(ConcurrentModificationException.prototype instanceof IAMServiceException); +assert(CredentialReportExpiredException.prototype instanceof IAMServiceException); +assert(CredentialReportNotPresentException.prototype instanceof IAMServiceException); +assert(CredentialReportNotReadyException.prototype instanceof IAMServiceException); +assert(DeleteConflictException.prototype instanceof IAMServiceException); +assert(DuplicateCertificateException.prototype instanceof IAMServiceException); +assert(DuplicateSSHPublicKeyException.prototype instanceof IAMServiceException); +assert(EntityAlreadyExistsException.prototype instanceof IAMServiceException); +assert(EntityTemporarilyUnmodifiableException.prototype instanceof IAMServiceException); +assert(FeatureDisabledException.prototype instanceof IAMServiceException); +assert(FeatureEnabledException.prototype instanceof IAMServiceException); +assert(InvalidAuthenticationCodeException.prototype instanceof IAMServiceException); +assert(InvalidCertificateException.prototype instanceof IAMServiceException); +assert(InvalidInputException.prototype instanceof IAMServiceException); +assert(InvalidPublicKeyException.prototype instanceof IAMServiceException); +assert(InvalidUserTypeException.prototype instanceof IAMServiceException); +assert(KeyPairMismatchException.prototype instanceof IAMServiceException); +assert(LimitExceededException.prototype instanceof IAMServiceException); +assert(MalformedCertificateException.prototype instanceof IAMServiceException); +assert(MalformedPolicyDocumentException.prototype instanceof IAMServiceException); +assert(NoSuchEntityException.prototype instanceof IAMServiceException); +assert(OpenIdIdpCommunicationErrorException.prototype instanceof IAMServiceException); +assert(OrganizationNotFoundException.prototype instanceof IAMServiceException); +assert(OrganizationNotInAllFeaturesModeException.prototype instanceof IAMServiceException); +assert(PasswordPolicyViolationException.prototype instanceof IAMServiceException); +assert(PolicyEvaluationException.prototype instanceof IAMServiceException); +assert(PolicyNotAttachableException.prototype instanceof IAMServiceException); +assert(ReportGenerationLimitExceededException.prototype instanceof IAMServiceException); +assert(ServiceAccessNotEnabledException.prototype instanceof IAMServiceException); +assert(ServiceFailureException.prototype instanceof IAMServiceException); +assert(ServiceNotSupportedException.prototype instanceof IAMServiceException); +assert(UnmodifiableEntityException.prototype instanceof IAMServiceException); +assert(UnrecognizedPublicKeyEncodingException.prototype instanceof IAMServiceException); assert(IAMServiceException.prototype instanceof Error); // waiters assert(typeof waitForInstanceProfileExists === "function"); diff --git a/clients/client-iam/test/index-types.ts b/clients/client-iam/test/index-types.ts index 8d89fd610cb0..72d97290bcb5 100644 --- a/clients/client-iam/test/index-types.ts +++ b/clients/client-iam/test/index-types.ts @@ -875,6 +875,41 @@ export type { User, UserDetail, VirtualMFADevice, + AccountNotManagementOrDelegatedAdministratorException, + CallerIsNotManagementAccountException, + ConcurrentModificationException, + CredentialReportExpiredException, + CredentialReportNotPresentException, + CredentialReportNotReadyException, + DeleteConflictException, + DuplicateCertificateException, + DuplicateSSHPublicKeyException, + EntityAlreadyExistsException, + EntityTemporarilyUnmodifiableException, + FeatureDisabledException, + FeatureEnabledException, + InvalidAuthenticationCodeException, + InvalidCertificateException, + InvalidInputException, + InvalidPublicKeyException, + InvalidUserTypeException, + KeyPairMismatchException, + LimitExceededException, + MalformedCertificateException, + MalformedPolicyDocumentException, + NoSuchEntityException, + OpenIdIdpCommunicationErrorException, + OrganizationNotFoundException, + OrganizationNotInAllFeaturesModeException, + PasswordPolicyViolationException, + PolicyEvaluationException, + PolicyNotAttachableException, + ReportGenerationLimitExceededException, + ServiceAccessNotEnabledException, + ServiceFailureException, + ServiceNotSupportedException, + UnmodifiableEntityException, + UnrecognizedPublicKeyEncodingException, IAMServiceException, waitForInstanceProfileExists, waitForPolicyExists, diff --git a/clients/client-identitystore/src/schemas/schemas_0.ts b/clients/client-identitystore/src/schemas/schemas_0.ts index 3035baed8b3d..f3486b1f4a4c 100644 --- a/clients/client-identitystore/src/schemas/schemas_0.ts +++ b/clients/client-identitystore/src/schemas/schemas_0.ts @@ -628,7 +628,6 @@ export var User: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _RI, _R], [0, 0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var IdentitystoreServiceException: StaticErrorSchema = [-3, _sm, "IdentitystoreServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(IdentitystoreServiceException, __IdentitystoreServiceException); export var Addresses: StaticListSchema = [1, n0, _Ad, 0, [() => Address, 0]]; diff --git a/clients/client-identitystore/test/index-objects.spec.mjs b/clients/client-identitystore/test/index-objects.spec.mjs index 6d3d9ae0adea..ab46985da987 100644 --- a/clients/client-identitystore/test/index-objects.spec.mjs +++ b/clients/client-identitystore/test/index-objects.spec.mjs @@ -1,4 +1,8 @@ import { + AccessDeniedException, + AccessDeniedExceptionReason, + ConflictException, + ConflictExceptionReason, CreateGroupCommand, CreateGroupMembershipCommand, CreateUserCommand, @@ -14,14 +18,23 @@ import { Identitystore, IdentitystoreClient, IdentitystoreServiceException, + InternalServerException, IsMemberInGroupsCommand, ListGroupMembershipsCommand, ListGroupMembershipsForMemberCommand, ListGroupsCommand, ListUsersCommand, + ResourceNotFoundException, + ResourceNotFoundExceptionReason, + ResourceType, + ServiceQuotaExceededException, + ThrottlingException, + ThrottlingExceptionReason, UpdateGroupCommand, UpdateUserCommand, UserStatus, + ValidationException, + ValidationExceptionReason, paginateListGroupMemberships, paginateListGroupMembershipsForMember, paginateListGroups, @@ -52,8 +65,21 @@ assert(typeof ListUsersCommand === "function"); assert(typeof UpdateGroupCommand === "function"); assert(typeof UpdateUserCommand === "function"); // enums +assert(typeof AccessDeniedExceptionReason === "object"); +assert(typeof ConflictExceptionReason === "object"); +assert(typeof ResourceNotFoundExceptionReason === "object"); +assert(typeof ResourceType === "object"); +assert(typeof ThrottlingExceptionReason === "object"); assert(typeof UserStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof IdentitystoreServiceException); +assert(ConflictException.prototype instanceof IdentitystoreServiceException); +assert(InternalServerException.prototype instanceof IdentitystoreServiceException); +assert(ResourceNotFoundException.prototype instanceof IdentitystoreServiceException); +assert(ServiceQuotaExceededException.prototype instanceof IdentitystoreServiceException); +assert(ThrottlingException.prototype instanceof IdentitystoreServiceException); +assert(ValidationException.prototype instanceof IdentitystoreServiceException); assert(IdentitystoreServiceException.prototype instanceof Error); // paginators assert(typeof paginateListGroupMemberships === "function"); diff --git a/clients/client-identitystore/test/index-types.ts b/clients/client-identitystore/test/index-types.ts index b71b598423f5..c72401eda52a 100644 --- a/clients/client-identitystore/test/index-types.ts +++ b/clients/client-identitystore/test/index-types.ts @@ -59,7 +59,13 @@ export type { UpdateUserCommand, UpdateUserCommandInput, UpdateUserCommandOutput, + AccessDeniedExceptionReason, + ConflictExceptionReason, + ResourceNotFoundExceptionReason, + ResourceType, + ThrottlingExceptionReason, UserStatus, + ValidationExceptionReason, Address, AlternateIdentifier, AttributeOperation, @@ -113,6 +119,13 @@ export type { UpdateUserRequest, UpdateUserResponse, User, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, IdentitystoreServiceException, paginateListGroupMemberships, paginateListGroupMembershipsForMember, diff --git a/clients/client-imagebuilder/src/schemas/schemas_0.ts b/clients/client-imagebuilder/src/schemas/schemas_0.ts index 3ef27eb5e133..944417c1bcce 100644 --- a/clients/client-imagebuilder/src/schemas/schemas_0.ts +++ b/clients/client-imagebuilder/src/schemas/schemas_0.ts @@ -2290,7 +2290,6 @@ export var WorkflowVersion: StaticStructureSchema = [ [_a, _n, _v, _d, _t, _o, _dC], [0, 0, 0, 0, 0, 0, 0], ]; -export var __Unit = "unit" as const; export var ImagebuilderServiceException: StaticErrorSchema = [-3, _sm, "ImagebuilderServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ImagebuilderServiceException, __ImagebuilderServiceException); export var AccountList = 64 | 0; diff --git a/clients/client-imagebuilder/test/index-objects.spec.mjs b/clients/client-imagebuilder/test/index-objects.spec.mjs index 3444d00292ea..a383c04e59bf 100644 --- a/clients/client-imagebuilder/test/index-objects.spec.mjs +++ b/clients/client-imagebuilder/test/index-objects.spec.mjs @@ -1,7 +1,10 @@ import { + AccessDeniedException, BuildType, + CallRateLimitExceededException, CancelImageCreationCommand, CancelLifecycleExecutionCommand, + ClientException, ComponentFormat, ComponentStatus, ComponentType, @@ -27,7 +30,9 @@ import { DeleteWorkflowCommand, DiskImageFormat, DistributeImageCommand, + DryRunOperationException, EbsVolumeType, + ForbiddenException, GetComponentCommand, GetComponentPolicyCommand, GetContainerRecipeCommand, @@ -45,6 +50,7 @@ import { GetWorkflowCommand, GetWorkflowExecutionCommand, GetWorkflowStepExecutionCommand, + IdempotentParameterMismatchException, ImageScanStatus, ImageSource, ImageStatus, @@ -55,6 +61,12 @@ import { ImportComponentCommand, ImportDiskImageCommand, ImportVmImageCommand, + InvalidPaginationTokenException, + InvalidParameterCombinationException, + InvalidParameterException, + InvalidParameterValueException, + InvalidRequestException, + InvalidVersionNumberException, LifecycleExecutionResourceActionName, LifecycleExecutionResourceStatus, LifecycleExecutionStatus, @@ -96,14 +108,22 @@ import { PutContainerRecipePolicyCommand, PutImagePolicyCommand, PutImageRecipePolicyCommand, + ResourceAlreadyExistsException, + ResourceDependencyException, + ResourceInUseException, + ResourceNotFoundException, ResourceStatus, RetryImageCommand, SendWorkflowStepActionCommand, + ServiceException, + ServiceQuotaExceededException, + ServiceUnavailableException, SsmParameterDataType, StartImagePipelineExecutionCommand, StartResourceStateUpdateCommand, TagResourceCommand, TenancyType, + TooManyRequestsException, UntagResourceCommand, UpdateDistributionConfigurationCommand, UpdateImagePipelineCommand, @@ -257,6 +277,26 @@ assert(typeof WorkflowStepExecutionRollbackStatus === "object"); assert(typeof WorkflowStepExecutionStatus === "object"); assert(typeof WorkflowType === "object"); // errors +assert(AccessDeniedException.prototype instanceof ImagebuilderServiceException); +assert(CallRateLimitExceededException.prototype instanceof ImagebuilderServiceException); +assert(ClientException.prototype instanceof ImagebuilderServiceException); +assert(DryRunOperationException.prototype instanceof ImagebuilderServiceException); +assert(ForbiddenException.prototype instanceof ImagebuilderServiceException); +assert(IdempotentParameterMismatchException.prototype instanceof ImagebuilderServiceException); +assert(InvalidPaginationTokenException.prototype instanceof ImagebuilderServiceException); +assert(InvalidParameterCombinationException.prototype instanceof ImagebuilderServiceException); +assert(InvalidParameterException.prototype instanceof ImagebuilderServiceException); +assert(InvalidParameterValueException.prototype instanceof ImagebuilderServiceException); +assert(InvalidRequestException.prototype instanceof ImagebuilderServiceException); +assert(InvalidVersionNumberException.prototype instanceof ImagebuilderServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof ImagebuilderServiceException); +assert(ResourceDependencyException.prototype instanceof ImagebuilderServiceException); +assert(ResourceInUseException.prototype instanceof ImagebuilderServiceException); +assert(ResourceNotFoundException.prototype instanceof ImagebuilderServiceException); +assert(ServiceException.prototype instanceof ImagebuilderServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ImagebuilderServiceException); +assert(ServiceUnavailableException.prototype instanceof ImagebuilderServiceException); +assert(TooManyRequestsException.prototype instanceof ImagebuilderServiceException); assert(ImagebuilderServiceException.prototype instanceof Error); // paginators assert(typeof paginateListComponentBuildVersions === "function"); diff --git a/clients/client-imagebuilder/test/index-types.ts b/clients/client-imagebuilder/test/index-types.ts index 58685a859f6e..655362b1d6a3 100644 --- a/clients/client-imagebuilder/test/index-types.ts +++ b/clients/client-imagebuilder/test/index-types.ts @@ -525,6 +525,26 @@ export type { WorkflowStepMetadata, WorkflowSummary, WorkflowVersion, + AccessDeniedException, + CallRateLimitExceededException, + ClientException, + DryRunOperationException, + ForbiddenException, + IdempotentParameterMismatchException, + InvalidPaginationTokenException, + InvalidParameterCombinationException, + InvalidParameterException, + InvalidParameterValueException, + InvalidRequestException, + InvalidVersionNumberException, + ResourceAlreadyExistsException, + ResourceDependencyException, + ResourceInUseException, + ResourceNotFoundException, + ServiceException, + ServiceQuotaExceededException, + ServiceUnavailableException, + TooManyRequestsException, ImagebuilderServiceException, paginateListComponentBuildVersions, paginateListComponents, diff --git a/clients/client-inspector-scan/src/schemas/schemas_0.ts b/clients/client-inspector-scan/src/schemas/schemas_0.ts index 55bc55e0c25a..030fe56c44c2 100644 --- a/clients/client-inspector-scan/src/schemas/schemas_0.ts +++ b/clients/client-inspector-scan/src/schemas/schemas_0.ts @@ -69,7 +69,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var InspectorScanServiceException: StaticErrorSchema = [-3, _sm, "InspectorScanServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(InspectorScanServiceException, __InspectorScanServiceException); export var ValidationExceptionFields: StaticListSchema = [1, n0, _VEFa, 0, () => ValidationExceptionField]; diff --git a/clients/client-inspector-scan/test/index-objects.spec.mjs b/clients/client-inspector-scan/test/index-objects.spec.mjs index 6a7cecbe7788..19b10ff60064 100644 --- a/clients/client-inspector-scan/test/index-objects.spec.mjs +++ b/clients/client-inspector-scan/test/index-objects.spec.mjs @@ -1,9 +1,15 @@ import { + AccessDeniedException, InspectorScan, InspectorScanClient, InspectorScanServiceException, + InternalServerException, + InternalServerExceptionReason, OutputFormat, ScanSbomCommand, + ThrottlingException, + ValidationException, + ValidationExceptionReason, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -12,7 +18,13 @@ assert(typeof InspectorScan === "function"); // commands assert(typeof ScanSbomCommand === "function"); // enums +assert(typeof InternalServerExceptionReason === "object"); assert(typeof OutputFormat === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof InspectorScanServiceException); +assert(InternalServerException.prototype instanceof InspectorScanServiceException); +assert(ThrottlingException.prototype instanceof InspectorScanServiceException); +assert(ValidationException.prototype instanceof InspectorScanServiceException); assert(InspectorScanServiceException.prototype instanceof Error); console.log(`InspectorScan index test passed.`); diff --git a/clients/client-inspector-scan/test/index-types.ts b/clients/client-inspector-scan/test/index-types.ts index ed0e94f58b91..fbe16125f010 100644 --- a/clients/client-inspector-scan/test/index-types.ts +++ b/clients/client-inspector-scan/test/index-types.ts @@ -5,8 +5,15 @@ export type { ScanSbomCommand, ScanSbomCommandInput, ScanSbomCommandOutput, + InternalServerExceptionReason, OutputFormat, + ValidationExceptionReason, ScanSbomRequest, ScanSbomResponse, + ValidationExceptionField, + AccessDeniedException, + InternalServerException, + ThrottlingException, + ValidationException, InspectorScanServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-inspector/test/index-objects.spec.mjs b/clients/client-inspector/test/index-objects.spec.mjs index ea44d83cce2c..173716af4449 100644 --- a/clients/client-inspector/test/index-objects.spec.mjs +++ b/clients/client-inspector/test/index-objects.spec.mjs @@ -1,7 +1,11 @@ import { + AccessDeniedErrorCode, + AccessDeniedException, AddAttributesToFindingsCommand, AgentHealth, AgentHealthCode, + AgentsAlreadyRunningAssessmentException, + AssessmentRunInProgressException, AssessmentRunNotificationSnsStatusCode, AssessmentRunState, AssetType, @@ -28,6 +32,13 @@ import { InspectorClient, InspectorEvent, InspectorServiceException, + InternalException, + InvalidCrossAccountRoleErrorCode, + InvalidCrossAccountRoleException, + InvalidInputErrorCode, + InvalidInputException, + LimitExceededErrorCode, + LimitExceededException, ListAssessmentRunAgentsCommand, ListAssessmentRunsCommand, ListAssessmentTargetsCommand, @@ -38,7 +49,10 @@ import { ListRulesPackagesCommand, ListTagsForResourceCommand, Locale, + NoSuchEntityErrorCode, + NoSuchEntityException, PreviewAgentsCommand, + PreviewGenerationInProgressException, PreviewStatus, RegisterCrossAccountAccessRoleCommand, RemoveAttributesFromFindingsCommand, @@ -46,6 +60,7 @@ import { ReportStatus, ReportType, ScopeType, + ServiceTemporarilyUnavailableException, SetTagsForResourceCommand, Severity, StartAssessmentRunCommand, @@ -53,6 +68,7 @@ import { StopAssessmentRunCommand, SubscribeToEventCommand, UnsubscribeFromEventCommand, + UnsupportedFeatureException, UpdateAssessmentTargetCommand, paginateGetExclusionsPreview, paginateListAssessmentRunAgents, @@ -108,6 +124,7 @@ assert(typeof SubscribeToEventCommand === "function"); assert(typeof UnsubscribeFromEventCommand === "function"); assert(typeof UpdateAssessmentTargetCommand === "function"); // enums +assert(typeof AccessDeniedErrorCode === "object"); assert(typeof AgentHealth === "object"); assert(typeof AgentHealthCode === "object"); assert(typeof AssessmentRunNotificationSnsStatusCode === "object"); @@ -115,7 +132,11 @@ assert(typeof AssessmentRunState === "object"); assert(typeof AssetType === "object"); assert(typeof FailedItemErrorCode === "object"); assert(typeof InspectorEvent === "object"); +assert(typeof InvalidCrossAccountRoleErrorCode === "object"); +assert(typeof InvalidInputErrorCode === "object"); +assert(typeof LimitExceededErrorCode === "object"); assert(typeof Locale === "object"); +assert(typeof NoSuchEntityErrorCode === "object"); assert(typeof PreviewStatus === "object"); assert(typeof ReportFileFormat === "object"); assert(typeof ReportStatus === "object"); @@ -124,6 +145,17 @@ assert(typeof ScopeType === "object"); assert(typeof Severity === "object"); assert(typeof StopAction === "object"); // errors +assert(AccessDeniedException.prototype instanceof InspectorServiceException); +assert(AgentsAlreadyRunningAssessmentException.prototype instanceof InspectorServiceException); +assert(AssessmentRunInProgressException.prototype instanceof InspectorServiceException); +assert(InternalException.prototype instanceof InspectorServiceException); +assert(InvalidCrossAccountRoleException.prototype instanceof InspectorServiceException); +assert(InvalidInputException.prototype instanceof InspectorServiceException); +assert(LimitExceededException.prototype instanceof InspectorServiceException); +assert(NoSuchEntityException.prototype instanceof InspectorServiceException); +assert(PreviewGenerationInProgressException.prototype instanceof InspectorServiceException); +assert(ServiceTemporarilyUnavailableException.prototype instanceof InspectorServiceException); +assert(UnsupportedFeatureException.prototype instanceof InspectorServiceException); assert(InspectorServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetExclusionsPreview === "function"); diff --git a/clients/client-inspector/test/index-types.ts b/clients/client-inspector/test/index-types.ts index 179de02feee5..17442d02ecc6 100644 --- a/clients/client-inspector/test/index-types.ts +++ b/clients/client-inspector/test/index-types.ts @@ -113,6 +113,7 @@ export type { UpdateAssessmentTargetCommand, UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput, + AccessDeniedErrorCode, AgentHealth, AgentHealthCode, AssessmentRunNotificationSnsStatusCode, @@ -120,7 +121,11 @@ export type { AssetType, FailedItemErrorCode, InspectorEvent, + InvalidCrossAccountRoleErrorCode, + InvalidInputErrorCode, + LimitExceededErrorCode, Locale, + NoSuchEntityErrorCode, PreviewStatus, ReportFileFormat, ReportStatus, @@ -130,6 +135,7 @@ export type { StopAction, AddAttributesToFindingsRequest, AddAttributesToFindingsResponse, + AgentAlreadyRunningAssessment, AgentFilter, AgentPreview, AssessmentRun, @@ -224,6 +230,17 @@ export type { TimestampRange, UnsubscribeFromEventRequest, UpdateAssessmentTargetRequest, + AccessDeniedException, + AgentsAlreadyRunningAssessmentException, + AssessmentRunInProgressException, + InternalException, + InvalidCrossAccountRoleException, + InvalidInputException, + LimitExceededException, + NoSuchEntityException, + PreviewGenerationInProgressException, + ServiceTemporarilyUnavailableException, + UnsupportedFeatureException, InspectorServiceException, paginateGetExclusionsPreview, paginateListAssessmentRunAgents, diff --git a/clients/client-inspector2/src/schemas/schemas_0.ts b/clients/client-inspector2/src/schemas/schemas_0.ts index 359719c6c312..8c637adb4407 100644 --- a/clients/client-inspector2/src/schemas/schemas_0.ts +++ b/clients/client-inspector2/src/schemas/schemas_0.ts @@ -2746,7 +2746,6 @@ export var VulnerablePackage: StaticStructureSchema = [ [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], ]; export var WeeklySchedule: StaticStructureSchema = [3, n0, _WS, 0, [_sTt, _day], [() => Time, 64 | 0]]; -export var __Unit = "unit" as const; export var Inspector2ServiceException: StaticErrorSchema = [-3, _sm, "Inspector2ServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(Inspector2ServiceException, __Inspector2ServiceException); export var AccountIdFilterList: StaticListSchema = [1, n0, _AIFL, 0, () => CisStringFilter]; diff --git a/clients/client-inspector2/test/index-objects.spec.mjs b/clients/client-inspector2/test/index-objects.spec.mjs index 297819b75305..6a3f930db620 100644 --- a/clients/client-inspector2/test/index-objects.spec.mjs +++ b/clients/client-inspector2/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AccountSortBy, AggregationFindingType, AggregationResourceType, @@ -8,6 +9,7 @@ import { AssociateMemberCommand, AssociationResultStatusCode, AwsEcrContainerSortBy, + BadRequestException, BatchAssociateCodeSecurityScanConfigurationCommand, BatchDisassociateCodeSecurityScanConfigurationCommand, BatchGetAccountStatusCommand, @@ -43,6 +45,7 @@ import { CodeScanStatus, CodeSnippetErrorCode, ConfigurationLevel, + ConflictException, ContinuousIntegrationScanEvent, CoverageMapComparison, CoverageResourceType, @@ -108,6 +111,7 @@ import { Inspector2ServiceException, IntegrationStatus, IntegrationType, + InternalServerException, LambdaFunctionSortBy, LambdaLayerSortBy, ListAccountPermissionsCommand, @@ -143,6 +147,7 @@ import { RepositorySortBy, ResetEncryptionKeyCommand, ResourceMapComparison, + ResourceNotFoundException, ResourceScanType, ResourceStringComparison, ResourceType, @@ -157,6 +162,7 @@ import { SendCisSessionHealthCommand, SendCisSessionTelemetryCommand, Service, + ServiceQuotaExceededException, Severity, SortField, SortOrder, @@ -168,6 +174,7 @@ import { StringComparison, TagComparison, TagResourceCommand, + ThrottlingException, TitleSortBy, UntagResourceCommand, UpdateCisScanConfigurationCommand, @@ -180,6 +187,8 @@ import { UpdateOrgEc2DeepInspectionConfigurationCommand, UpdateOrganizationConfigurationCommand, UsageType, + ValidationException, + ValidationExceptionReason, VulnerabilitySource, paginateGetCisScanResultDetails, paginateGetClustersForImage, @@ -382,8 +391,17 @@ assert(typeof StringComparison === "object"); assert(typeof TagComparison === "object"); assert(typeof TitleSortBy === "object"); assert(typeof UsageType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VulnerabilitySource === "object"); // errors +assert(AccessDeniedException.prototype instanceof Inspector2ServiceException); +assert(BadRequestException.prototype instanceof Inspector2ServiceException); +assert(ConflictException.prototype instanceof Inspector2ServiceException); +assert(InternalServerException.prototype instanceof Inspector2ServiceException); +assert(ResourceNotFoundException.prototype instanceof Inspector2ServiceException); +assert(ServiceQuotaExceededException.prototype instanceof Inspector2ServiceException); +assert(ThrottlingException.prototype instanceof Inspector2ServiceException); +assert(ValidationException.prototype instanceof Inspector2ServiceException); assert(Inspector2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetCisScanResultDetails === "function"); diff --git a/clients/client-inspector2/test/index-types.ts b/clients/client-inspector2/test/index-types.ts index 3578a6f6f788..3e709c755ab6 100644 --- a/clients/client-inspector2/test/index-types.ts +++ b/clients/client-inspector2/test/index-types.ts @@ -330,6 +330,7 @@ export type { TagComparison, TitleSortBy, UsageType, + ValidationExceptionReason, VulnerabilitySource, Account, AccountAggregation, @@ -660,9 +661,18 @@ export type { UpdateOrgEc2DeepInspectionConfigurationResponse, Usage, UsageTotal, + ValidationExceptionField, Vulnerability, VulnerablePackage, WeeklySchedule, + AccessDeniedException, + BadRequestException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, Inspector2ServiceException, paginateGetCisScanResultDetails, paginateGetClustersForImage, diff --git a/clients/client-internetmonitor/test/index-objects.spec.mjs b/clients/client-internetmonitor/test/index-objects.spec.mjs index 7cf8730778ac..fadce7dcd208 100644 --- a/clients/client-internetmonitor/test/index-objects.spec.mjs +++ b/clients/client-internetmonitor/test/index-objects.spec.mjs @@ -1,4 +1,7 @@ import { + AccessDeniedException, + BadRequestException, + ConflictException, CreateMonitorCommand, DeleteMonitorCommand, GetHealthEventCommand, @@ -8,11 +11,14 @@ import { GetQueryStatusCommand, HealthEventImpactType, HealthEventStatus, + InternalServerErrorException, + InternalServerException, InternetEventStatus, InternetEventType, InternetMonitor, InternetMonitorClient, InternetMonitorServiceException, + LimitExceededException, ListHealthEventsCommand, ListInternetEventsCommand, ListMonitorsCommand, @@ -21,15 +27,20 @@ import { LogDeliveryStatus, MonitorConfigState, MonitorProcessingStatusCode, + NotFoundException, Operator, QueryStatus, QueryType, + ResourceNotFoundException, StartQueryCommand, StopQueryCommand, TagResourceCommand, + ThrottlingException, + TooManyRequestsException, TriangulationEventType, UntagResourceCommand, UpdateMonitorCommand, + ValidationException, paginateGetQueryResults, paginateListHealthEvents, paginateListInternetEvents, @@ -70,6 +81,17 @@ assert(typeof QueryStatus === "object"); assert(typeof QueryType === "object"); assert(typeof TriangulationEventType === "object"); // errors +assert(AccessDeniedException.prototype instanceof InternetMonitorServiceException); +assert(BadRequestException.prototype instanceof InternetMonitorServiceException); +assert(ConflictException.prototype instanceof InternetMonitorServiceException); +assert(InternalServerErrorException.prototype instanceof InternetMonitorServiceException); +assert(InternalServerException.prototype instanceof InternetMonitorServiceException); +assert(LimitExceededException.prototype instanceof InternetMonitorServiceException); +assert(NotFoundException.prototype instanceof InternetMonitorServiceException); +assert(ResourceNotFoundException.prototype instanceof InternetMonitorServiceException); +assert(ThrottlingException.prototype instanceof InternetMonitorServiceException); +assert(TooManyRequestsException.prototype instanceof InternetMonitorServiceException); +assert(ValidationException.prototype instanceof InternetMonitorServiceException); assert(InternetMonitorServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetQueryResults === "function"); diff --git a/clients/client-internetmonitor/test/index-types.ts b/clients/client-internetmonitor/test/index-types.ts index c50a6a203972..c338d480ca95 100644 --- a/clients/client-internetmonitor/test/index-types.ts +++ b/clients/client-internetmonitor/test/index-types.ts @@ -111,6 +111,17 @@ export type { UntagResourceOutput, UpdateMonitorInput, UpdateMonitorOutput, + AccessDeniedException, + BadRequestException, + ConflictException, + InternalServerErrorException, + InternalServerException, + LimitExceededException, + NotFoundException, + ResourceNotFoundException, + ThrottlingException, + TooManyRequestsException, + ValidationException, InternetMonitorServiceException, paginateGetQueryResults, paginateListHealthEvents, diff --git a/clients/client-invoicing/src/schemas/schemas_0.ts b/clients/client-invoicing/src/schemas/schemas_0.ts index 21226d1a8e2d..362b3446c6cf 100644 --- a/clients/client-invoicing/src/schemas/schemas_0.ts +++ b/clients/client-invoicing/src/schemas/schemas_0.ts @@ -646,7 +646,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var InvoicingServiceException: StaticErrorSchema = [-3, _sm, "InvoicingServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(InvoicingServiceException, __InvoicingServiceException); export var AccountIdList = 64 | 0; diff --git a/clients/client-invoicing/test/index-objects.spec.mjs b/clients/client-invoicing/test/index-objects.spec.mjs index 1f78377f283a..2211bd354fa9 100644 --- a/clients/client-invoicing/test/index-objects.spec.mjs +++ b/clients/client-invoicing/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, BatchGetInvoiceProfileCommand, BuyerDomain, + ConflictException, ConnectionTestingMethod, CreateInvoiceUnitCommand, CreateProcurementPortalPreferenceCommand, @@ -11,6 +13,7 @@ import { GetInvoicePDFCommand, GetInvoiceUnitCommand, GetProcurementPortalPreferenceCommand, + InternalServerException, InvoiceType, Invoicing, InvoicingClient, @@ -25,11 +28,16 @@ import { Protocol, PurchaseOrderDataSourceType, PutProcurementPortalPreferenceCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, SupplierDomain, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateInvoiceUnitCommand, UpdateProcurementPortalPreferenceStatusCommand, + ValidationException, + ValidationExceptionReason, paginateListInvoiceSummaries, paginateListInvoiceUnits, paginateListProcurementPortalPreferences, @@ -68,7 +76,15 @@ assert(typeof ProcurementPortalPreferenceStatus === "object"); assert(typeof Protocol === "object"); assert(typeof PurchaseOrderDataSourceType === "object"); assert(typeof SupplierDomain === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof InvoicingServiceException); +assert(ConflictException.prototype instanceof InvoicingServiceException); +assert(InternalServerException.prototype instanceof InvoicingServiceException); +assert(ResourceNotFoundException.prototype instanceof InvoicingServiceException); +assert(ServiceQuotaExceededException.prototype instanceof InvoicingServiceException); +assert(ThrottlingException.prototype instanceof InvoicingServiceException); +assert(ValidationException.prototype instanceof InvoicingServiceException); assert(InvoicingServiceException.prototype instanceof Error); // paginators assert(typeof paginateListInvoiceSummaries === "function"); diff --git a/clients/client-invoicing/test/index-types.ts b/clients/client-invoicing/test/index-types.ts index cedceec27331..e7800d91b296 100644 --- a/clients/client-invoicing/test/index-types.ts +++ b/clients/client-invoicing/test/index-types.ts @@ -64,6 +64,7 @@ export type { Protocol, PurchaseOrderDataSourceType, SupplierDomain, + ValidationExceptionReason, AmountBreakdown, BatchGetInvoiceProfileRequest, BatchGetInvoiceProfileResponse, @@ -129,6 +130,14 @@ export type { UpdateInvoiceUnitResponse, UpdateProcurementPortalPreferenceStatusRequest, UpdateProcurementPortalPreferenceStatusResponse, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, InvoicingServiceException, paginateListInvoiceSummaries, paginateListInvoiceUnits, diff --git a/clients/client-iot-data-plane/test/index-objects.spec.mjs b/clients/client-iot-data-plane/test/index-objects.spec.mjs index 4d4d16a672b2..05e9674c4527 100644 --- a/clients/client-iot-data-plane/test/index-objects.spec.mjs +++ b/clients/client-iot-data-plane/test/index-objects.spec.mjs @@ -1,15 +1,26 @@ import { + ConflictException, DeleteConnectionCommand, DeleteThingShadowCommand, + ForbiddenException, GetRetainedMessageCommand, GetThingShadowCommand, + InternalFailureException, + InvalidRequestException, IoTDataPlane, IoTDataPlaneClient, IoTDataPlaneServiceException, ListNamedShadowsForThingCommand, ListRetainedMessagesCommand, + MethodNotAllowedException, PayloadFormatIndicator, PublishCommand, + RequestEntityTooLargeException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, + UnauthorizedException, + UnsupportedDocumentEncodingException, UpdateThingShadowCommand, paginateListRetainedMessages, } from "../dist-cjs/index.js"; @@ -29,6 +40,17 @@ assert(typeof UpdateThingShadowCommand === "function"); // enums assert(typeof PayloadFormatIndicator === "object"); // errors +assert(ConflictException.prototype instanceof IoTDataPlaneServiceException); +assert(ForbiddenException.prototype instanceof IoTDataPlaneServiceException); +assert(InternalFailureException.prototype instanceof IoTDataPlaneServiceException); +assert(InvalidRequestException.prototype instanceof IoTDataPlaneServiceException); +assert(MethodNotAllowedException.prototype instanceof IoTDataPlaneServiceException); +assert(RequestEntityTooLargeException.prototype instanceof IoTDataPlaneServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTDataPlaneServiceException); +assert(ServiceUnavailableException.prototype instanceof IoTDataPlaneServiceException); +assert(ThrottlingException.prototype instanceof IoTDataPlaneServiceException); +assert(UnauthorizedException.prototype instanceof IoTDataPlaneServiceException); +assert(UnsupportedDocumentEncodingException.prototype instanceof IoTDataPlaneServiceException); assert(IoTDataPlaneServiceException.prototype instanceof Error); // paginators assert(typeof paginateListRetainedMessages === "function"); diff --git a/clients/client-iot-data-plane/test/index-types.ts b/clients/client-iot-data-plane/test/index-types.ts index 3d9055855ba7..c8de60554dca 100644 --- a/clients/client-iot-data-plane/test/index-types.ts +++ b/clients/client-iot-data-plane/test/index-types.ts @@ -42,6 +42,17 @@ export type { RetainedMessageSummary, UpdateThingShadowRequest, UpdateThingShadowResponse, + ConflictException, + ForbiddenException, + InternalFailureException, + InvalidRequestException, + MethodNotAllowedException, + RequestEntityTooLargeException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, + UnauthorizedException, + UnsupportedDocumentEncodingException, IoTDataPlaneServiceException, paginateListRetainedMessages, } from "../dist-types/index.d"; diff --git a/clients/client-iot-events-data/src/schemas/schemas_0.ts b/clients/client-iot-events-data/src/schemas/schemas_0.ts index e087f34f93bb..44ee69b1faa9 100644 --- a/clients/client-iot-events-data/src/schemas/schemas_0.ts +++ b/clients/client-iot-events-data/src/schemas/schemas_0.ts @@ -440,7 +440,6 @@ export var UpdateDetectorRequest: StaticStructureSchema = [ ]; export var Variable: StaticStructureSchema = [3, n0, _V, 0, [_na, _va], [0, 0]]; export var VariableDefinition: StaticStructureSchema = [3, n0, _VD, 0, [_na, _va], [0, 0]]; -export var __Unit = "unit" as const; export var IoTEventsDataServiceException: StaticErrorSchema = [-3, _sm, "IoTEventsDataServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(IoTEventsDataServiceException, __IoTEventsDataServiceException); export var AcknowledgeAlarmActionRequests: StaticListSchema = [1, n0, _AAARc, 0, () => AcknowledgeAlarmActionRequest]; diff --git a/clients/client-iot-events-data/test/index-objects.spec.mjs b/clients/client-iot-events-data/test/index-objects.spec.mjs index 814fdaf00139..a230ff85e9eb 100644 --- a/clients/client-iot-events-data/test/index-objects.spec.mjs +++ b/clients/client-iot-events-data/test/index-objects.spec.mjs @@ -14,11 +14,16 @@ import { DescribeDetectorCommand, ErrorCode, EventType, + InternalFailureException, + InvalidRequestException, IoTEventsData, IoTEventsDataClient, IoTEventsDataServiceException, ListAlarmsCommand, ListDetectorsCommand, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, TriggerType, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -46,5 +51,10 @@ assert(typeof ErrorCode === "object"); assert(typeof EventType === "object"); assert(typeof TriggerType === "object"); // errors +assert(InternalFailureException.prototype instanceof IoTEventsDataServiceException); +assert(InvalidRequestException.prototype instanceof IoTEventsDataServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTEventsDataServiceException); +assert(ServiceUnavailableException.prototype instanceof IoTEventsDataServiceException); +assert(ThrottlingException.prototype instanceof IoTEventsDataServiceException); assert(IoTEventsDataServiceException.prototype instanceof Error); console.log(`IoTEventsData index test passed.`); diff --git a/clients/client-iot-events-data/test/index-types.ts b/clients/client-iot-events-data/test/index-types.ts index ce7eff1ed021..ad1c202f1146 100644 --- a/clients/client-iot-events-data/test/index-types.ts +++ b/clients/client-iot-events-data/test/index-types.ts @@ -103,5 +103,10 @@ export type { UpdateDetectorRequest, Variable, VariableDefinition, + InternalFailureException, + InvalidRequestException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, IoTEventsDataServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-iot-events/test/index-objects.spec.mjs b/clients/client-iot-events/test/index-objects.spec.mjs index 43f354140aee..68ef8c6cae08 100644 --- a/clients/client-iot-events/test/index-objects.spec.mjs +++ b/clients/client-iot-events/test/index-objects.spec.mjs @@ -18,9 +18,12 @@ import { EvaluationMethod, GetDetectorModelAnalysisResultsCommand, InputStatus, + InternalFailureException, + InvalidRequestException, IoTEvents, IoTEventsClient, IoTEventsServiceException, + LimitExceededException, ListAlarmModelVersionsCommand, ListAlarmModelsCommand, ListDetectorModelVersionsCommand, @@ -31,8 +34,14 @@ import { LoggingLevel, PayloadType, PutLoggingOptionsCommand, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, + ServiceUnavailableException, StartDetectorModelAnalysisCommand, TagResourceCommand, + ThrottlingException, + UnsupportedOperationException, UntagResourceCommand, UpdateAlarmModelCommand, UpdateDetectorModelCommand, @@ -80,5 +89,14 @@ assert(typeof InputStatus === "object"); assert(typeof LoggingLevel === "object"); assert(typeof PayloadType === "object"); // errors +assert(InternalFailureException.prototype instanceof IoTEventsServiceException); +assert(InvalidRequestException.prototype instanceof IoTEventsServiceException); +assert(LimitExceededException.prototype instanceof IoTEventsServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof IoTEventsServiceException); +assert(ResourceInUseException.prototype instanceof IoTEventsServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTEventsServiceException); +assert(ServiceUnavailableException.prototype instanceof IoTEventsServiceException); +assert(ThrottlingException.prototype instanceof IoTEventsServiceException); +assert(UnsupportedOperationException.prototype instanceof IoTEventsServiceException); assert(IoTEventsServiceException.prototype instanceof Error); console.log(`IoTEvents index test passed.`); diff --git a/clients/client-iot-events/test/index-types.ts b/clients/client-iot-events/test/index-types.ts index a99e09c8445f..b98f8b85e1fe 100644 --- a/clients/client-iot-events/test/index-types.ts +++ b/clients/client-iot-events/test/index-types.ts @@ -202,5 +202,14 @@ export type { UpdateDetectorModelResponse, UpdateInputRequest, UpdateInputResponse, + InternalFailureException, + InvalidRequestException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, + UnsupportedOperationException, IoTEventsServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-iot-jobs-data-plane/src/schemas/schemas_0.ts b/clients/client-iot-jobs-data-plane/src/schemas/schemas_0.ts index 2822bd5f1368..793793e0996b 100644 --- a/clients/client-iot-jobs-data-plane/src/schemas/schemas_0.ts +++ b/clients/client-iot-jobs-data-plane/src/schemas/schemas_0.ts @@ -211,7 +211,6 @@ export var UpdateJobExecutionResponse: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var IoTJobsDataPlaneServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-iot-jobs-data-plane/test/index-objects.spec.mjs b/clients/client-iot-jobs-data-plane/test/index-objects.spec.mjs index 631afd34b071..e488b15390b5 100644 --- a/clients/client-iot-jobs-data-plane/test/index-objects.spec.mjs +++ b/clients/client-iot-jobs-data-plane/test/index-objects.spec.mjs @@ -1,13 +1,24 @@ import { + CertificateValidationException, + ConflictException, DescribeJobExecutionCommand, GetPendingJobExecutionsCommand, + InternalServerException, + InvalidRequestException, + InvalidStateTransitionException, IoTJobsDataPlane, IoTJobsDataPlaneClient, IoTJobsDataPlaneServiceException, JobExecutionStatus, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, StartCommandExecutionCommand, StartNextPendingJobExecutionCommand, + TerminalStateException, + ThrottlingException, UpdateJobExecutionCommand, + ValidationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -22,5 +33,16 @@ assert(typeof UpdateJobExecutionCommand === "function"); // enums assert(typeof JobExecutionStatus === "object"); // errors +assert(CertificateValidationException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(ConflictException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(InternalServerException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(InvalidRequestException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(InvalidStateTransitionException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(ServiceQuotaExceededException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(ServiceUnavailableException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(TerminalStateException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(ThrottlingException.prototype instanceof IoTJobsDataPlaneServiceException); +assert(ValidationException.prototype instanceof IoTJobsDataPlaneServiceException); assert(IoTJobsDataPlaneServiceException.prototype instanceof Error); console.log(`IoTJobsDataPlane index test passed.`); diff --git a/clients/client-iot-jobs-data-plane/test/index-types.ts b/clients/client-iot-jobs-data-plane/test/index-types.ts index a85f89a34c29..253f36b60d86 100644 --- a/clients/client-iot-jobs-data-plane/test/index-types.ts +++ b/clients/client-iot-jobs-data-plane/test/index-types.ts @@ -32,5 +32,16 @@ export type { StartNextPendingJobExecutionResponse, UpdateJobExecutionRequest, UpdateJobExecutionResponse, + CertificateValidationException, + ConflictException, + InternalServerException, + InvalidRequestException, + InvalidStateTransitionException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, + TerminalStateException, + ThrottlingException, + ValidationException, IoTJobsDataPlaneServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-iot-managed-integrations/test/index-objects.spec.mjs b/clients/client-iot-managed-integrations/test/index-objects.spec.mjs index 8cd3ff85bfd1..63185037574b 100644 --- a/clients/client-iot-managed-integrations/test/index-objects.spec.mjs +++ b/clients/client-iot-managed-integrations/test/index-objects.spec.mjs @@ -1,11 +1,13 @@ import { AbortCriteriaAction, AbortCriteriaFailureType, + AccessDeniedException, AssociationState, AuthMaterialType, AuthType, CloudConnectorType, ConfigurationState, + ConflictException, ConnectorEventOperation, CreateAccountAssociationCommand, CreateCloudConnectorCommand, @@ -62,9 +64,13 @@ import { GetRuntimeLogConfigurationCommand, GetSchemaVersionCommand, HubNetworkMode, + InternalFailureException, + InternalServerException, + InvalidRequestException, IoTManagedIntegrations, IoTManagedIntegrationsClient, IoTManagedIntegrationsServiceException, + LimitExceededException, ListAccountAssociationsCommand, ListCloudConnectorsCommand, ListConnectorDestinationsCommand, @@ -97,6 +103,7 @@ import { RegisterAccountAssociationCommand, RegisterCustomEndpointCommand, ResetRuntimeLogConfigurationCommand, + ResourceNotFoundException, RetryCriteriaFailureType, Role, SchedulingConfigEndBehavior, @@ -105,10 +112,14 @@ import { SchemaVersionVisibility, SendConnectorEventCommand, SendManagedThingCommandCommand, + ServiceQuotaExceededException, + ServiceUnavailableException, StartAccountAssociationRefreshCommand, StartDeviceDiscoveryCommand, TagResourceCommand, + ThrottlingException, TokenEndpointAuthenticationScheme, + UnauthorizedException, UntagResourceCommand, UpdateAccountAssociationCommand, UpdateCloudConnectorCommand, @@ -118,6 +129,7 @@ import { UpdateManagedThingCommand, UpdateNotificationConfigurationCommand, UpdateOtaTaskCommand, + ValidationException, paginateListAccountAssociations, paginateListCloudConnectors, paginateListConnectorDestinations, @@ -259,6 +271,18 @@ assert(typeof SchemaVersionType === "object"); assert(typeof SchemaVersionVisibility === "object"); assert(typeof TokenEndpointAuthenticationScheme === "object"); // errors +assert(AccessDeniedException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(ConflictException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(InternalFailureException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(InternalServerException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(InvalidRequestException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(LimitExceededException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(ServiceUnavailableException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(ThrottlingException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(UnauthorizedException.prototype instanceof IoTManagedIntegrationsServiceException); +assert(ValidationException.prototype instanceof IoTManagedIntegrationsServiceException); assert(IoTManagedIntegrationsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccountAssociations === "function"); diff --git a/clients/client-iot-managed-integrations/test/index-types.ts b/clients/client-iot-managed-integrations/test/index-types.ts index a39ca9bded4f..9ce0a113d36a 100644 --- a/clients/client-iot-managed-integrations/test/index-types.ts +++ b/clients/client-iot-managed-integrations/test/index-types.ts @@ -485,6 +485,18 @@ export type { UpdateManagedThingRequest, UpdateNotificationConfigurationRequest, UpdateOtaTaskRequest, + AccessDeniedException, + ConflictException, + InternalFailureException, + InternalServerException, + InvalidRequestException, + LimitExceededException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, + ThrottlingException, + UnauthorizedException, + ValidationException, IoTManagedIntegrationsServiceException, paginateListAccountAssociations, paginateListCloudConnectors, diff --git a/clients/client-iot-wireless/src/schemas/schemas_0.ts b/clients/client-iot-wireless/src/schemas/schemas_0.ts index 7c9f46ee4090..5af3239beb56 100644 --- a/clients/client-iot-wireless/src/schemas/schemas_0.ts +++ b/clients/client-iot-wireless/src/schemas/schemas_0.ts @@ -2683,7 +2683,6 @@ export var WirelessMetadata: StaticStructureSchema = [ [_LRWAN, _S], [() => LoRaWANSendDataToDevice, () => SidewalkSendDataToDevice], ]; -export var __Unit = "unit" as const; export var IoTWirelessServiceException: StaticErrorSchema = [-3, _sm, "IoTWirelessServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(IoTWirelessServiceException, __IoTWirelessServiceException); export var Applications: StaticListSchema = [1, n0, _Ap, 0, () => ApplicationConfig]; diff --git a/clients/client-iot-wireless/test/index-objects.spec.mjs b/clients/client-iot-wireless/test/index-objects.spec.mjs index 2fc83af5ede2..b34cc4a8f508 100644 --- a/clients/client-iot-wireless/test/index-objects.spec.mjs +++ b/clients/client-iot-wireless/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AggregationPeriod, ApplicationConfigType, AssociateAwsAccountWithPartnerAccountCommand, @@ -10,6 +11,7 @@ import { AssociateWirelessGatewayWithThingCommand, BatteryLevel, CancelMulticastGroupSessionCommand, + ConflictException, ConnectionStatus, CreateDestinationCommand, CreateDeviceProfileCommand, @@ -85,6 +87,7 @@ import { GetWirelessGatewayTaskDefinitionCommand, IdentifierType, ImportTaskStatus, + InternalServerException, IoTWireless, IoTWirelessClient, IoTWirelessServiceException, @@ -122,6 +125,7 @@ import { PutResourceLogLevelCommand, ResetAllResourceLogLevelsCommand, ResetResourceLogLevelCommand, + ResourceNotFoundException, SendDataToMulticastGroupCommand, SendDataToWirelessDeviceCommand, SigningAlg, @@ -135,6 +139,8 @@ import { SupportedRfRegion, TagResourceCommand, TestWirelessDeviceCommand, + ThrottlingException, + TooManyTagsException, UntagResourceCommand, UpdateDestinationCommand, UpdateEventConfigurationByResourceTypesCommand, @@ -150,6 +156,7 @@ import { UpdateWirelessDeviceCommand, UpdateWirelessDeviceImportTaskCommand, UpdateWirelessGatewayCommand, + ValidationException, WirelessDeviceEvent, WirelessDeviceFrameInfo, WirelessDeviceIdType, @@ -339,6 +346,13 @@ assert(typeof WirelessGatewayTaskDefinitionType === "object"); assert(typeof WirelessGatewayTaskStatus === "object"); assert(typeof WirelessGatewayType === "object"); // errors +assert(AccessDeniedException.prototype instanceof IoTWirelessServiceException); +assert(ConflictException.prototype instanceof IoTWirelessServiceException); +assert(InternalServerException.prototype instanceof IoTWirelessServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTWirelessServiceException); +assert(ThrottlingException.prototype instanceof IoTWirelessServiceException); +assert(TooManyTagsException.prototype instanceof IoTWirelessServiceException); +assert(ValidationException.prototype instanceof IoTWirelessServiceException); assert(IoTWirelessServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDestinations === "function"); diff --git a/clients/client-iot-wireless/test/index-types.ts b/clients/client-iot-wireless/test/index-types.ts index 83cc509b82ff..67b0bcc1dc4f 100644 --- a/clients/client-iot-wireless/test/index-types.ts +++ b/clients/client-iot-wireless/test/index-types.ts @@ -740,6 +740,13 @@ export type { WirelessGatewayLogOption, WirelessGatewayStatistics, WirelessMetadata, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + TooManyTagsException, + ValidationException, IoTWirelessServiceException, paginateListDestinations, paginateListDeviceProfiles, diff --git a/clients/client-iot/test/index-objects.spec.mjs b/clients/client-iot/test/index-objects.spec.mjs index 7d1db4ad78ed..a52cc7c8e108 100644 --- a/clients/client-iot/test/index-objects.spec.mjs +++ b/clients/client-iot/test/index-objects.spec.mjs @@ -37,9 +37,12 @@ import { CancelJobCommand, CancelJobExecutionCommand, CannedAccessControlList, + CertificateConflictException, CertificateMode, CertificateProviderOperation, + CertificateStateException, CertificateStatus, + CertificateValidationException, ClearDefaultAuthorizerCommand, CommandExecutionStatus, CommandNamespace, @@ -48,6 +51,8 @@ import { ConfigName, ConfigurationStatus, ConfirmTopicRuleDestinationCommand, + ConflictException, + ConflictingResourceUpdateException, CreateAuditSuppressionCommand, CreateAuthorizerCommand, CreateBillingGroupCommand, @@ -91,6 +96,7 @@ import { DeleteCertificateProviderCommand, DeleteCommandCommand, DeleteCommandExecutionCommand, + DeleteConflictException, DeleteCustomMetricCommand, DeleteDimensionCommand, DeleteDomainConfigurationCommand, @@ -198,7 +204,16 @@ import { GetTopicRuleCommand, GetTopicRuleDestinationCommand, GetV2LoggingOptionsCommand, + IndexNotReadyException, IndexStatus, + InternalException, + InternalFailureException, + InternalServerException, + InvalidAggregationException, + InvalidQueryException, + InvalidRequestException, + InvalidResponseException, + InvalidStateTransitionException, IoT, IoTClient, IoTServiceException, @@ -206,6 +221,7 @@ import { JobExecutionFailureType, JobExecutionStatus, JobStatus, + LimitExceededException, ListActiveViolationsCommand, ListAttachedPoliciesCommand, ListAuditFindingsCommand, @@ -273,10 +289,12 @@ import { ListViolationEventsCommand, LogLevel, LogTargetType, + MalformedPolicyException, MessageFormat, MitigationActionType, ModelStatus, NamedShadowIndexingMode, + NotConfiguredException, OTAUpdateStatus, PackageVersionAction, PackageVersionStatus, @@ -287,11 +305,15 @@ import { RegisterCertificateCommand, RegisterCertificateWithoutCACommand, RegisterThingCommand, + RegistrationCodeValidationException, RejectCertificateTransferCommand, RemoveThingFromBillingGroupCommand, RemoveThingFromThingGroupCommand, ReplaceTopicRuleCommand, ReportType, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ResourceRegistrationFailureException, ResourceType, RetryableFailureType, SbomValidationErrorCode, @@ -299,13 +321,16 @@ import { SbomValidationStatus, SearchIndexCommand, ServerCertificateStatus, + ServiceQuotaExceededException, ServiceType, + ServiceUnavailableException, SetDefaultAuthorizerCommand, SetDefaultPolicyVersionCommand, SetLoggingOptionsCommand, SetV2LoggingLevelCommand, SetV2LoggingOptionsCommand, SortOrder, + SqlParseException, StartAuditMitigationActionsTaskCommand, StartDetectMitigationActionsTaskCommand, StartOnDemandAuditTaskCommand, @@ -315,6 +340,7 @@ import { TagResourceCommand, TargetFieldOrder, TargetSelection, + TaskAlreadyExistsException, TemplateType, TestAuthorizationCommand, TestInvokeAuthorizerCommand, @@ -322,8 +348,12 @@ import { ThingGroupIndexingMode, ThingIndexingMode, ThingPrincipalType, + ThrottlingException, TopicRuleDestinationStatus, + TransferAlreadyCompletedException, TransferCertificateCommand, + TransferConflictException, + UnauthorizedException, UntagResourceCommand, UpdateAccountAuditConfigurationCommand, UpdateAuditSuppressionCommand, @@ -357,7 +387,10 @@ import { UpdateThingTypeCommand, UpdateTopicRuleDestinationCommand, ValidateSecurityProfileBehaviorsCommand, + ValidationException, VerificationState, + VersionConflictException, + VersionsLimitExceededException, ViolationEventType, paginateGetBehaviorModelTrainingSummaries, paginateListActiveViolations, @@ -788,6 +821,39 @@ assert(typeof TopicRuleDestinationStatus === "object"); assert(typeof VerificationState === "object"); assert(typeof ViolationEventType === "object"); // errors +assert(CertificateConflictException.prototype instanceof IoTServiceException); +assert(CertificateStateException.prototype instanceof IoTServiceException); +assert(CertificateValidationException.prototype instanceof IoTServiceException); +assert(ConflictException.prototype instanceof IoTServiceException); +assert(ConflictingResourceUpdateException.prototype instanceof IoTServiceException); +assert(DeleteConflictException.prototype instanceof IoTServiceException); +assert(IndexNotReadyException.prototype instanceof IoTServiceException); +assert(InternalException.prototype instanceof IoTServiceException); +assert(InternalFailureException.prototype instanceof IoTServiceException); +assert(InternalServerException.prototype instanceof IoTServiceException); +assert(InvalidAggregationException.prototype instanceof IoTServiceException); +assert(InvalidQueryException.prototype instanceof IoTServiceException); +assert(InvalidRequestException.prototype instanceof IoTServiceException); +assert(InvalidResponseException.prototype instanceof IoTServiceException); +assert(InvalidStateTransitionException.prototype instanceof IoTServiceException); +assert(LimitExceededException.prototype instanceof IoTServiceException); +assert(MalformedPolicyException.prototype instanceof IoTServiceException); +assert(NotConfiguredException.prototype instanceof IoTServiceException); +assert(RegistrationCodeValidationException.prototype instanceof IoTServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof IoTServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTServiceException); +assert(ResourceRegistrationFailureException.prototype instanceof IoTServiceException); +assert(ServiceQuotaExceededException.prototype instanceof IoTServiceException); +assert(ServiceUnavailableException.prototype instanceof IoTServiceException); +assert(SqlParseException.prototype instanceof IoTServiceException); +assert(TaskAlreadyExistsException.prototype instanceof IoTServiceException); +assert(ThrottlingException.prototype instanceof IoTServiceException); +assert(TransferAlreadyCompletedException.prototype instanceof IoTServiceException); +assert(TransferConflictException.prototype instanceof IoTServiceException); +assert(UnauthorizedException.prototype instanceof IoTServiceException); +assert(ValidationException.prototype instanceof IoTServiceException); +assert(VersionConflictException.prototype instanceof IoTServiceException); +assert(VersionsLimitExceededException.prototype instanceof IoTServiceException); assert(IoTServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetBehaviorModelTrainingSummaries === "function"); diff --git a/clients/client-iot/test/index-types.ts b/clients/client-iot/test/index-types.ts index 06957aad45e0..8ab7a7801870 100644 --- a/clients/client-iot/test/index-types.ts +++ b/clients/client-iot/test/index-types.ts @@ -1648,6 +1648,39 @@ export type { VpcDestinationConfiguration, VpcDestinationProperties, VpcDestinationSummary, + CertificateConflictException, + CertificateStateException, + CertificateValidationException, + ConflictException, + ConflictingResourceUpdateException, + DeleteConflictException, + IndexNotReadyException, + InternalException, + InternalFailureException, + InternalServerException, + InvalidAggregationException, + InvalidQueryException, + InvalidRequestException, + InvalidResponseException, + InvalidStateTransitionException, + LimitExceededException, + MalformedPolicyException, + NotConfiguredException, + RegistrationCodeValidationException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ResourceRegistrationFailureException, + ServiceQuotaExceededException, + ServiceUnavailableException, + SqlParseException, + TaskAlreadyExistsException, + ThrottlingException, + TransferAlreadyCompletedException, + TransferConflictException, + UnauthorizedException, + ValidationException, + VersionConflictException, + VersionsLimitExceededException, IoTServiceException, paginateGetBehaviorModelTrainingSummaries, paginateListActiveViolations, diff --git a/clients/client-iotanalytics/test/index-objects.spec.mjs b/clients/client-iotanalytics/test/index-objects.spec.mjs index 6f8f90a222e0..727f16f521e2 100644 --- a/clients/client-iotanalytics/test/index-objects.spec.mjs +++ b/clients/client-iotanalytics/test/index-objects.spec.mjs @@ -24,9 +24,12 @@ import { DescribePipelineCommand, FileFormatType, GetDatasetContentCommand, + InternalFailureException, + InvalidRequestException, IoTAnalytics, IoTAnalyticsClient, IoTAnalyticsServiceException, + LimitExceededException, ListChannelsCommand, ListDatasetContentsCommand, ListDatasetsCommand, @@ -36,10 +39,14 @@ import { LoggingLevel, PutLoggingOptionsCommand, ReprocessingStatus, + ResourceAlreadyExistsException, + ResourceNotFoundException, RunPipelineActivityCommand, SampleChannelDataCommand, + ServiceUnavailableException, StartPipelineReprocessingCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateChannelCommand, UpdateDatasetCommand, @@ -101,6 +108,13 @@ assert(typeof FileFormatType === "object"); assert(typeof LoggingLevel === "object"); assert(typeof ReprocessingStatus === "object"); // errors +assert(InternalFailureException.prototype instanceof IoTAnalyticsServiceException); +assert(InvalidRequestException.prototype instanceof IoTAnalyticsServiceException); +assert(LimitExceededException.prototype instanceof IoTAnalyticsServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof IoTAnalyticsServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTAnalyticsServiceException); +assert(ServiceUnavailableException.prototype instanceof IoTAnalyticsServiceException); +assert(ThrottlingException.prototype instanceof IoTAnalyticsServiceException); assert(IoTAnalyticsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChannels === "function"); diff --git a/clients/client-iotanalytics/test/index-types.ts b/clients/client-iotanalytics/test/index-types.ts index 4240873e40f1..e57f5ebf1f8b 100644 --- a/clients/client-iotanalytics/test/index-types.ts +++ b/clients/client-iotanalytics/test/index-types.ts @@ -250,6 +250,13 @@ export type { UpdatePipelineRequest, Variable, VersioningConfiguration, + InternalFailureException, + InvalidRequestException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, IoTAnalyticsServiceException, paginateListChannels, paginateListDatasetContents, diff --git a/clients/client-iotdeviceadvisor/src/schemas/schemas_0.ts b/clients/client-iotdeviceadvisor/src/schemas/schemas_0.ts index 05560d33d5df..e0450863d65a 100644 --- a/clients/client-iotdeviceadvisor/src/schemas/schemas_0.ts +++ b/clients/client-iotdeviceadvisor/src/schemas/schemas_0.ts @@ -367,7 +367,6 @@ export var UpdateSuiteDefinitionResponse: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var IotDeviceAdvisorServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-iotdeviceadvisor/test/index-objects.spec.mjs b/clients/client-iotdeviceadvisor/test/index-objects.spec.mjs index b282058f443d..e58f32ecebf1 100644 --- a/clients/client-iotdeviceadvisor/test/index-objects.spec.mjs +++ b/clients/client-iotdeviceadvisor/test/index-objects.spec.mjs @@ -1,11 +1,13 @@ import { AuthenticationMethod, + ConflictException, CreateSuiteDefinitionCommand, DeleteSuiteDefinitionCommand, GetEndpointCommand, GetSuiteDefinitionCommand, GetSuiteRunCommand, GetSuiteRunReportCommand, + InternalServerException, IotDeviceAdvisor, IotDeviceAdvisorClient, IotDeviceAdvisorServiceException, @@ -13,6 +15,7 @@ import { ListSuiteRunsCommand, ListTagsForResourceCommand, Protocol, + ResourceNotFoundException, StartSuiteRunCommand, Status, StopSuiteRunCommand, @@ -22,6 +25,7 @@ import { TestCaseScenarioType, UntagResourceCommand, UpdateSuiteDefinitionCommand, + ValidationException, paginateListSuiteDefinitions, paginateListSuiteRuns, } from "../dist-cjs/index.js"; @@ -52,6 +56,10 @@ assert(typeof SuiteRunStatus === "object"); assert(typeof TestCaseScenarioStatus === "object"); assert(typeof TestCaseScenarioType === "object"); // errors +assert(ConflictException.prototype instanceof IotDeviceAdvisorServiceException); +assert(InternalServerException.prototype instanceof IotDeviceAdvisorServiceException); +assert(ResourceNotFoundException.prototype instanceof IotDeviceAdvisorServiceException); +assert(ValidationException.prototype instanceof IotDeviceAdvisorServiceException); assert(IotDeviceAdvisorServiceException.prototype instanceof Error); // paginators assert(typeof paginateListSuiteDefinitions === "function"); diff --git a/clients/client-iotdeviceadvisor/test/index-types.ts b/clients/client-iotdeviceadvisor/test/index-types.ts index f51c552bbe79..d1467c94323b 100644 --- a/clients/client-iotdeviceadvisor/test/index-types.ts +++ b/clients/client-iotdeviceadvisor/test/index-types.ts @@ -87,6 +87,10 @@ export type { UntagResourceResponse, UpdateSuiteDefinitionRequest, UpdateSuiteDefinitionResponse, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ValidationException, IotDeviceAdvisorServiceException, paginateListSuiteDefinitions, paginateListSuiteRuns, diff --git a/clients/client-iotfleetwise/src/schemas/schemas_0.ts b/clients/client-iotfleetwise/src/schemas/schemas_0.ts index deb1a49f4248..25ca9690c013 100644 --- a/clients/client-iotfleetwise/src/schemas/schemas_0.ts +++ b/clients/client-iotfleetwise/src/schemas/schemas_0.ts @@ -1499,7 +1499,6 @@ export var VehicleSummary: StaticStructureSchema = [ [_vN, _a, _mMA, _dMA, _cT, _lMT, _at], [0, 0, 0, 0, 4, 4, 128 | 0], ]; -export var __Unit = "unit" as const; export var IoTFleetWiseServiceException: StaticErrorSchema = [-3, _sm, "IoTFleetWiseServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(IoTFleetWiseServiceException, __IoTFleetWiseServiceException); export var attributeNamesList = 64 | 0; diff --git a/clients/client-iotfleetwise/test/index-objects.spec.mjs b/clients/client-iotfleetwise/test/index-objects.spec.mjs index ad1aac95ad76..3621684ccef6 100644 --- a/clients/client-iotfleetwise/test/index-objects.spec.mjs +++ b/clients/client-iotfleetwise/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, AssociateVehicleFleetCommand, BatchCreateVehicleCommand, BatchUpdateVehicleCommand, CampaignStatus, Compression, + ConflictException, CreateCampaignCommand, CreateDecoderManifestCommand, CreateFleetCommand, @@ -12,6 +14,7 @@ import { CreateStateTemplateCommand, CreateVehicleCommand, DataFormat, + DecoderManifestValidationException, DefaultForUnmappedSignalsType, DeleteCampaignCommand, DeleteDecoderManifestCommand, @@ -37,9 +40,13 @@ import { GetVehicleStatusCommand, ImportDecoderManifestCommand, ImportSignalCatalogCommand, + InternalServerException, + InvalidNodeException, + InvalidSignalsException, IoTFleetWise, IoTFleetWiseClient, IoTFleetWiseServiceException, + LimitExceededException, ListCampaignsCommand, ListDecoderManifestNetworkInterfacesCommand, ListDecoderManifestSignalsCommand, @@ -57,6 +64,7 @@ import { ListVehiclesInFleetCommand, LogType, ManifestStatus, + NetworkInterfaceFailureReason, NetworkInterfaceType, NodeDataEncoding, NodeDataType, @@ -65,6 +73,8 @@ import { ROS2PrimitiveType, RegisterAccountCommand, RegistrationStatus, + ResourceNotFoundException, + SignalDecoderFailureReason, SignalDecoderType, SignalNodeType, SignalValueType, @@ -74,6 +84,7 @@ import { StorageMinimumTimeToLiveUnit, StructuredMessageListType, TagResourceCommand, + ThrottlingException, TimeUnit, TriggerMode, UntagResourceCommand, @@ -86,6 +97,8 @@ import { UpdateSignalCatalogCommand, UpdateStateTemplateCommand, UpdateVehicleCommand, + ValidationException, + ValidationExceptionReason, VehicleAssociationBehavior, VehicleMiddlewareProtocol, VehicleState, @@ -177,11 +190,13 @@ assert(typeof EncryptionType === "object"); assert(typeof ListResponseScope === "object"); assert(typeof LogType === "object"); assert(typeof ManifestStatus === "object"); +assert(typeof NetworkInterfaceFailureReason === "object"); assert(typeof NetworkInterfaceType === "object"); assert(typeof NodeDataEncoding === "object"); assert(typeof NodeDataType === "object"); assert(typeof RegistrationStatus === "object"); assert(typeof ROS2PrimitiveType === "object"); +assert(typeof SignalDecoderFailureReason === "object"); assert(typeof SignalDecoderType === "object"); assert(typeof SignalNodeType === "object"); assert(typeof SignalValueType === "object"); @@ -194,10 +209,21 @@ assert(typeof TimeUnit === "object"); assert(typeof TriggerMode === "object"); assert(typeof UpdateCampaignAction === "object"); assert(typeof UpdateMode === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VehicleAssociationBehavior === "object"); assert(typeof VehicleMiddlewareProtocol === "object"); assert(typeof VehicleState === "object"); // errors +assert(AccessDeniedException.prototype instanceof IoTFleetWiseServiceException); +assert(ConflictException.prototype instanceof IoTFleetWiseServiceException); +assert(DecoderManifestValidationException.prototype instanceof IoTFleetWiseServiceException); +assert(InternalServerException.prototype instanceof IoTFleetWiseServiceException); +assert(InvalidNodeException.prototype instanceof IoTFleetWiseServiceException); +assert(InvalidSignalsException.prototype instanceof IoTFleetWiseServiceException); +assert(LimitExceededException.prototype instanceof IoTFleetWiseServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTFleetWiseServiceException); +assert(ThrottlingException.prototype instanceof IoTFleetWiseServiceException); +assert(ValidationException.prototype instanceof IoTFleetWiseServiceException); assert(IoTFleetWiseServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetVehicleStatus === "function"); diff --git a/clients/client-iotfleetwise/test/index-types.ts b/clients/client-iotfleetwise/test/index-types.ts index 447b8af91ab6..1119f339f20c 100644 --- a/clients/client-iotfleetwise/test/index-types.ts +++ b/clients/client-iotfleetwise/test/index-types.ts @@ -183,11 +183,13 @@ export type { ListResponseScope, LogType, ManifestStatus, + NetworkInterfaceFailureReason, NetworkInterfaceType, NodeDataEncoding, NodeDataType, RegistrationStatus, ROS2PrimitiveType, + SignalDecoderFailureReason, SignalDecoderType, SignalNodeType, SignalValueType, @@ -200,6 +202,7 @@ export type { TriggerMode, UpdateCampaignAction, UpdateMode, + ValidationExceptionReason, VehicleAssociationBehavior, VehicleMiddlewareProtocol, VehicleState, @@ -292,6 +295,9 @@ export type { ImportDecoderManifestResponse, ImportSignalCatalogRequest, ImportSignalCatalogResponse, + InvalidNetworkInterface, + InvalidSignal, + InvalidSignalDecoder, ListCampaignsRequest, ListCampaignsResponse, ListDecoderManifestNetworkInterfacesRequest, @@ -382,9 +388,20 @@ export type { UpdateVehicleRequestItem, UpdateVehicleResponse, UpdateVehicleResponseItem, + ValidationExceptionField, VehicleMiddleware, VehicleStatus, VehicleSummary, + AccessDeniedException, + ConflictException, + DecoderManifestValidationException, + InternalServerException, + InvalidNodeException, + InvalidSignalsException, + LimitExceededException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, IoTFleetWiseServiceException, paginateGetVehicleStatus, paginateListCampaigns, diff --git a/clients/client-iotsecuretunneling/src/schemas/schemas_0.ts b/clients/client-iotsecuretunneling/src/schemas/schemas_0.ts index b3cd5e44f19c..821f4d4b914c 100644 --- a/clients/client-iotsecuretunneling/src/schemas/schemas_0.ts +++ b/clients/client-iotsecuretunneling/src/schemas/schemas_0.ts @@ -195,7 +195,6 @@ export var Tunnel: StaticStructureSchema = [ export var TunnelSummary: StaticStructureSchema = [3, n0, _TS, 0, [_tI, _tA, _s, _de, _cA, _lUA], [0, 0, 0, 0, 4, 4]]; export var UntagResourceRequest: StaticStructureSchema = [3, n0, _URR, 0, [_rA, _tK], [0, 64 | 0]]; export var UntagResourceResponse: StaticStructureSchema = [3, n0, _URRn, 0, [], []]; -export var __Unit = "unit" as const; export var IoTSecureTunnelingServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-iotsecuretunneling/test/index-objects.spec.mjs b/clients/client-iotsecuretunneling/test/index-objects.spec.mjs index a8299aac659a..7d47483f703b 100644 --- a/clients/client-iotsecuretunneling/test/index-objects.spec.mjs +++ b/clients/client-iotsecuretunneling/test/index-objects.spec.mjs @@ -6,9 +6,11 @@ import { IoTSecureTunneling, IoTSecureTunnelingClient, IoTSecureTunnelingServiceException, + LimitExceededException, ListTagsForResourceCommand, ListTunnelsCommand, OpenTunnelCommand, + ResourceNotFoundException, RotateTunnelAccessTokenCommand, TagResourceCommand, TunnelStatus, @@ -33,6 +35,8 @@ assert(typeof ClientMode === "object"); assert(typeof ConnectionStatus === "object"); assert(typeof TunnelStatus === "object"); // errors +assert(LimitExceededException.prototype instanceof IoTSecureTunnelingServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTSecureTunnelingServiceException); assert(IoTSecureTunnelingServiceException.prototype instanceof Error); // paginators assert(typeof paginateListTunnels === "function"); diff --git a/clients/client-iotsecuretunneling/test/index-types.ts b/clients/client-iotsecuretunneling/test/index-types.ts index 6796613922e0..2c209e9f0ce1 100644 --- a/clients/client-iotsecuretunneling/test/index-types.ts +++ b/clients/client-iotsecuretunneling/test/index-types.ts @@ -51,6 +51,8 @@ export type { TunnelSummary, UntagResourceRequest, UntagResourceResponse, + LimitExceededException, + ResourceNotFoundException, IoTSecureTunnelingServiceException, paginateListTunnels, } from "../dist-types/index.d"; diff --git a/clients/client-iotsitewise/test/index-objects.spec.mjs b/clients/client-iotsitewise/test/index-objects.spec.mjs index e1209ba8d5c8..835b34d3d534 100644 --- a/clients/client-iotsitewise/test/index-objects.spec.mjs +++ b/clients/client-iotsitewise/test/index-objects.spec.mjs @@ -135,6 +135,7 @@ import { Permission, PortalState, PortalType, + PreconditionFailedException, PropertyDataType, PropertyNotificationState, PutAssetModelInterfaceRelationshipCommand, @@ -142,18 +143,23 @@ import { PutLoggingOptionsCommand, PutStorageConfigurationCommand, Quality, + QueryTimeoutException, RawValueType, ResolveToResourceType, + ResourceAlreadyExistsException, ResourceNotFoundException, ResourceType, ScalarType, + ServiceUnavailableException, StorageType, TagResourceCommand, TargetResourceType, ThrottlingException, TimeOrdering, + TooManyTagsException, TraversalDirection, TraversalType, + UnauthorizedException, UntagResourceCommand, UpdateAccessPolicyCommand, UpdateAssetCommand, @@ -167,6 +173,7 @@ import { UpdateGatewayCommand, UpdatePortalCommand, UpdateProjectCommand, + ValidationException, WarmTierState, paginateBatchGetAssetPropertyAggregates, paginateBatchGetAssetPropertyValue, @@ -381,8 +388,15 @@ assert(ConflictingOperationException.prototype instanceof IoTSiteWiseServiceExce assert(InternalFailureException.prototype instanceof IoTSiteWiseServiceException); assert(InvalidRequestException.prototype instanceof IoTSiteWiseServiceException); assert(LimitExceededException.prototype instanceof IoTSiteWiseServiceException); +assert(PreconditionFailedException.prototype instanceof IoTSiteWiseServiceException); +assert(QueryTimeoutException.prototype instanceof IoTSiteWiseServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof IoTSiteWiseServiceException); assert(ResourceNotFoundException.prototype instanceof IoTSiteWiseServiceException); +assert(ServiceUnavailableException.prototype instanceof IoTSiteWiseServiceException); assert(ThrottlingException.prototype instanceof IoTSiteWiseServiceException); +assert(TooManyTagsException.prototype instanceof IoTSiteWiseServiceException); +assert(UnauthorizedException.prototype instanceof IoTSiteWiseServiceException); +assert(ValidationException.prototype instanceof IoTSiteWiseServiceException); assert(IoTSiteWiseServiceException.prototype instanceof Error); // waiters assert(typeof waitForAssetActive === "function"); diff --git a/clients/client-iotsitewise/test/index-types.ts b/clients/client-iotsitewise/test/index-types.ts index f6494652cc15..f332789dcc08 100644 --- a/clients/client-iotsitewise/test/index-types.ts +++ b/clients/client-iotsitewise/test/index-types.ts @@ -732,8 +732,15 @@ export type { InternalFailureException, InvalidRequestException, LimitExceededException, + PreconditionFailedException, + QueryTimeoutException, + ResourceAlreadyExistsException, ResourceNotFoundException, + ServiceUnavailableException, ThrottlingException, + TooManyTagsException, + UnauthorizedException, + ValidationException, IoTSiteWiseServiceException, waitForAssetActive, waitForAssetModelActive, diff --git a/clients/client-iotthingsgraph/src/schemas/schemas_0.ts b/clients/client-iotthingsgraph/src/schemas/schemas_0.ts index 66c5eee40490..d7df9e96c42a 100644 --- a/clients/client-iotthingsgraph/src/schemas/schemas_0.ts +++ b/clients/client-iotthingsgraph/src/schemas/schemas_0.ts @@ -580,7 +580,6 @@ export var UploadEntityDefinitionsRequest: StaticStructureSchema = [ [() => DefinitionDocument, 2, 2], ]; export var UploadEntityDefinitionsResponse: StaticStructureSchema = [3, n0, _UEDRp, 0, [_uI], [0]]; -export var __Unit = "unit" as const; export var IoTThingsGraphServiceException: StaticErrorSchema = [-3, _sm, "IoTThingsGraphServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(IoTThingsGraphServiceException, __IoTThingsGraphServiceException); export var DependencyRevisions: StaticListSchema = [1, n0, _DRe, 0, () => DependencyRevision]; diff --git a/clients/client-iotthingsgraph/test/index-objects.spec.mjs b/clients/client-iotthingsgraph/test/index-objects.spec.mjs index 2506e74f086b..678bd21497c3 100644 --- a/clients/client-iotthingsgraph/test/index-objects.spec.mjs +++ b/clients/client-iotthingsgraph/test/index-objects.spec.mjs @@ -27,13 +27,19 @@ import { GetSystemTemplateCommand, GetSystemTemplateRevisionsCommand, GetUploadStatusCommand, + InternalFailureException, + InvalidRequestException, IoTThingsGraph, IoTThingsGraphClient, IoTThingsGraphServiceException, + LimitExceededException, ListFlowExecutionMessagesCommand, ListTagsForResourceCommand, NamespaceDeletionStatus, NamespaceDeletionStatusErrorCodes, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, SearchEntitiesCommand, SearchFlowExecutionsCommand, SearchFlowTemplatesCommand, @@ -44,6 +50,7 @@ import { SystemInstanceFilterName, SystemTemplateFilterName, TagResourceCommand, + ThrottlingException, UndeploySystemInstanceCommand, UntagResourceCommand, UpdateFlowTemplateCommand, @@ -116,6 +123,13 @@ assert(typeof SystemInstanceFilterName === "object"); assert(typeof SystemTemplateFilterName === "object"); assert(typeof UploadStatus === "object"); // errors +assert(InternalFailureException.prototype instanceof IoTThingsGraphServiceException); +assert(InvalidRequestException.prototype instanceof IoTThingsGraphServiceException); +assert(LimitExceededException.prototype instanceof IoTThingsGraphServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof IoTThingsGraphServiceException); +assert(ResourceInUseException.prototype instanceof IoTThingsGraphServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTThingsGraphServiceException); +assert(ThrottlingException.prototype instanceof IoTThingsGraphServiceException); assert(IoTThingsGraphServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetFlowTemplateRevisions === "function"); diff --git a/clients/client-iotthingsgraph/test/index-types.ts b/clients/client-iotthingsgraph/test/index-types.ts index 276360711567..5ff828980cc1 100644 --- a/clients/client-iotthingsgraph/test/index-types.ts +++ b/clients/client-iotthingsgraph/test/index-types.ts @@ -208,6 +208,13 @@ export type { UpdateSystemTemplateResponse, UploadEntityDefinitionsRequest, UploadEntityDefinitionsResponse, + InternalFailureException, + InvalidRequestException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, + ThrottlingException, IoTThingsGraphServiceException, paginateGetFlowTemplateRevisions, paginateGetSystemTemplateRevisions, diff --git a/clients/client-iottwinmaker/test/index-objects.spec.mjs b/clients/client-iottwinmaker/test/index-objects.spec.mjs index d52c032cb228..cfb4789c51d1 100644 --- a/clients/client-iottwinmaker/test/index-objects.spec.mjs +++ b/clients/client-iottwinmaker/test/index-objects.spec.mjs @@ -1,8 +1,12 @@ import { + AccessDeniedException, BatchPutPropertyValuesCommand, CancelMetadataTransferJobCommand, ColumnType, ComponentUpdateType, + ConflictException, + ConnectorFailureException, + ConnectorTimeoutException, CreateComponentTypeCommand, CreateEntityCommand, CreateMetadataTransferJobCommand, @@ -27,6 +31,7 @@ import { GetSyncJobCommand, GetWorkspaceCommand, GroupType, + InternalServerException, InterpolationType, IoTTwinMaker, IoTTwinMakerClient, @@ -49,14 +54,19 @@ import { PricingTier, PropertyGroupUpdateType, PropertyUpdateType, + QueryTimeoutException, + ResourceNotFoundException, SceneErrorCode, Scope, + ServiceQuotaExceededException, SourceType, State, SyncJobState, SyncResourceState, SyncResourceType, TagResourceCommand, + ThrottlingException, + TooManyTagsException, Type, UntagResourceCommand, UpdateComponentTypeCommand, @@ -65,6 +75,7 @@ import { UpdateReason, UpdateSceneCommand, UpdateWorkspaceCommand, + ValidationException, paginateExecuteQuery, paginateGetPropertyValue, paginateGetPropertyValueHistory, @@ -148,6 +159,17 @@ assert(typeof SyncResourceType === "object"); assert(typeof Type === "object"); assert(typeof UpdateReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof IoTTwinMakerServiceException); +assert(ConflictException.prototype instanceof IoTTwinMakerServiceException); +assert(ConnectorFailureException.prototype instanceof IoTTwinMakerServiceException); +assert(ConnectorTimeoutException.prototype instanceof IoTTwinMakerServiceException); +assert(InternalServerException.prototype instanceof IoTTwinMakerServiceException); +assert(QueryTimeoutException.prototype instanceof IoTTwinMakerServiceException); +assert(ResourceNotFoundException.prototype instanceof IoTTwinMakerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof IoTTwinMakerServiceException); +assert(ThrottlingException.prototype instanceof IoTTwinMakerServiceException); +assert(TooManyTagsException.prototype instanceof IoTTwinMakerServiceException); +assert(ValidationException.prototype instanceof IoTTwinMakerServiceException); assert(IoTTwinMakerServiceException.prototype instanceof Error); // paginators assert(typeof paginateExecuteQuery === "function"); diff --git a/clients/client-iottwinmaker/test/index-types.ts b/clients/client-iottwinmaker/test/index-types.ts index d1866b0a13f7..de31b6bbbc56 100644 --- a/clients/client-iottwinmaker/test/index-types.ts +++ b/clients/client-iottwinmaker/test/index-types.ts @@ -297,6 +297,17 @@ export type { UpdateWorkspaceRequest, UpdateWorkspaceResponse, WorkspaceSummary, + AccessDeniedException, + ConflictException, + ConnectorFailureException, + ConnectorTimeoutException, + InternalServerException, + QueryTimeoutException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + TooManyTagsException, + ValidationException, IoTTwinMakerServiceException, paginateExecuteQuery, paginateGetPropertyValue, diff --git a/clients/client-ivs-realtime/src/schemas/schemas_0.ts b/clients/client-ivs-realtime/src/schemas/schemas_0.ts index ec75c70dca47..ca36de22e32a 100644 --- a/clients/client-ivs-realtime/src/schemas/schemas_0.ts +++ b/clients/client-ivs-realtime/src/schemas/schemas_0.ts @@ -998,7 +998,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var Video: StaticStructureSchema = [3, n0, _V, 0, [_wi, _h, _fr, _b], [1, 1, 1, 1]]; -export var __Unit = "unit" as const; export var IVSRealTimeServiceException: StaticErrorSchema = [-3, _sm, "IVSRealTimeServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(IVSRealTimeServiceException, __IVSRealTimeServiceException); export var CompositionSummaryList: StaticListSchema = [1, n0, _CSL, 0, () => CompositionSummary]; diff --git a/clients/client-ivs-realtime/test/index-objects.spec.mjs b/clients/client-ivs-realtime/test/index-objects.spec.mjs index 2776a50775c5..0d681c116d5c 100644 --- a/clients/client-ivs-realtime/test/index-objects.spec.mjs +++ b/clients/client-ivs-realtime/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, CompositionState, + ConflictException, CreateEncoderConfigurationCommand, CreateIngestConfigurationCommand, CreateParticipantTokenCommand, @@ -28,6 +30,7 @@ import { ImportPublicKeyCommand, IngestConfigurationState, IngestProtocol, + InternalServerException, ListCompositionsCommand, ListEncoderConfigurationsCommand, ListIngestConfigurationsCommand, @@ -45,11 +48,14 @@ import { ParticipantRecordingState, ParticipantState, ParticipantTokenCapability, + PendingVerification, PipBehavior, PipPosition, RecordingConfigurationFormat, ReplicationState, ReplicationType, + ResourceNotFoundException, + ServiceQuotaExceededException, StartCompositionCommand, StartParticipantReplicationCommand, StopCompositionCommand, @@ -60,6 +66,7 @@ import { UntagResourceCommand, UpdateIngestConfigurationCommand, UpdateStageCommand, + ValidationException, VideoAspectRatio, VideoFillMode, paginateListCompositions, @@ -140,6 +147,13 @@ assert(typeof ThumbnailStorageType === "object"); assert(typeof VideoAspectRatio === "object"); assert(typeof VideoFillMode === "object"); // errors +assert(AccessDeniedException.prototype instanceof IVSRealTimeServiceException); +assert(ConflictException.prototype instanceof IVSRealTimeServiceException); +assert(InternalServerException.prototype instanceof IVSRealTimeServiceException); +assert(PendingVerification.prototype instanceof IVSRealTimeServiceException); +assert(ResourceNotFoundException.prototype instanceof IVSRealTimeServiceException); +assert(ServiceQuotaExceededException.prototype instanceof IVSRealTimeServiceException); +assert(ValidationException.prototype instanceof IVSRealTimeServiceException); assert(IVSRealTimeServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCompositions === "function"); diff --git a/clients/client-ivs-realtime/test/index-types.ts b/clients/client-ivs-realtime/test/index-types.ts index 2594177c27a4..720a15cd71e7 100644 --- a/clients/client-ivs-realtime/test/index-types.ts +++ b/clients/client-ivs-realtime/test/index-types.ts @@ -257,6 +257,13 @@ export type { UpdateStageRequest, UpdateStageResponse, Video, + AccessDeniedException, + ConflictException, + InternalServerException, + PendingVerification, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, IVSRealTimeServiceException, paginateListCompositions, paginateListEncoderConfigurations, diff --git a/clients/client-ivs/test/index-objects.spec.mjs b/clients/client-ivs/test/index-objects.spec.mjs index 2f8beb615705..283181fb5873 100644 --- a/clients/client-ivs/test/index-objects.spec.mjs +++ b/clients/client-ivs/test/index-objects.spec.mjs @@ -1,9 +1,12 @@ import { + AccessDeniedException, BatchGetChannelCommand, BatchGetStreamKeyCommand, BatchStartViewerSessionRevocationCommand, ChannelLatencyMode, + ChannelNotBroadcasting, ChannelType, + ConflictException, ContainerFormat, CreateChannelCommand, CreatePlaybackRestrictionPolicyCommand, @@ -22,6 +25,7 @@ import { GetStreamKeyCommand, GetStreamSessionCommand, ImportPlaybackKeyPairCommand, + InternalServerException, Ivs, IvsClient, IvsServiceException, @@ -35,22 +39,28 @@ import { ListTagsForResourceCommand, MultitrackMaximumResolution, MultitrackPolicy, + PendingVerification, PutMetadataCommand, RecordingConfigurationState, RecordingMode, RenditionConfigurationRendition, RenditionConfigurationRenditionSelection, + ResourceNotFoundException, + ServiceQuotaExceededException, StartViewerSessionRevocationCommand, StopStreamCommand, StreamHealth, StreamState, + StreamUnavailable, TagResourceCommand, + ThrottlingException, ThumbnailConfigurationResolution, ThumbnailConfigurationStorage, TranscodePreset, UntagResourceCommand, UpdateChannelCommand, UpdatePlaybackRestrictionPolicyCommand, + ValidationException, paginateListChannels, paginateListPlaybackKeyPairs, paginateListPlaybackRestrictionPolicies, @@ -115,6 +125,16 @@ assert(typeof ThumbnailConfigurationResolution === "object"); assert(typeof ThumbnailConfigurationStorage === "object"); assert(typeof TranscodePreset === "object"); // errors +assert(AccessDeniedException.prototype instanceof IvsServiceException); +assert(ChannelNotBroadcasting.prototype instanceof IvsServiceException); +assert(ConflictException.prototype instanceof IvsServiceException); +assert(InternalServerException.prototype instanceof IvsServiceException); +assert(PendingVerification.prototype instanceof IvsServiceException); +assert(ResourceNotFoundException.prototype instanceof IvsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof IvsServiceException); +assert(StreamUnavailable.prototype instanceof IvsServiceException); +assert(ThrottlingException.prototype instanceof IvsServiceException); +assert(ValidationException.prototype instanceof IvsServiceException); assert(IvsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChannels === "function"); diff --git a/clients/client-ivs/test/index-types.ts b/clients/client-ivs/test/index-types.ts index 2185731bf8f1..f0f218b4995d 100644 --- a/clients/client-ivs/test/index-types.ts +++ b/clients/client-ivs/test/index-types.ts @@ -215,6 +215,16 @@ export type { UpdatePlaybackRestrictionPolicyRequest, UpdatePlaybackRestrictionPolicyResponse, VideoConfiguration, + AccessDeniedException, + ChannelNotBroadcasting, + ConflictException, + InternalServerException, + PendingVerification, + ResourceNotFoundException, + ServiceQuotaExceededException, + StreamUnavailable, + ThrottlingException, + ValidationException, IvsServiceException, paginateListChannels, paginateListPlaybackKeyPairs, diff --git a/clients/client-ivschat/test/index-objects.spec.mjs b/clients/client-ivschat/test/index-objects.spec.mjs index 65917e2a2d4d..85c2fb72eba7 100644 --- a/clients/client-ivschat/test/index-objects.spec.mjs +++ b/clients/client-ivschat/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, ChatTokenCapability, + ConflictException, CreateChatTokenCommand, CreateLoggingConfigurationCommand, CreateLoggingConfigurationState, @@ -11,6 +13,7 @@ import { FallbackResult, GetLoggingConfigurationCommand, GetRoomCommand, + InternalServerException, Ivschat, IvschatClient, IvschatServiceException, @@ -18,12 +21,19 @@ import { ListRoomsCommand, ListTagsForResourceCommand, LoggingConfigurationState, + PendingVerification, + ResourceNotFoundException, + ResourceType, SendEventCommand, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateLoggingConfigurationCommand, UpdateLoggingConfigurationState, UpdateRoomCommand, + ValidationException, + ValidationExceptionReason, paginateListLoggingConfigurations, paginateListRooms, } from "../dist-cjs/index.js"; @@ -54,8 +64,18 @@ assert(typeof ChatTokenCapability === "object"); assert(typeof CreateLoggingConfigurationState === "object"); assert(typeof FallbackResult === "object"); assert(typeof LoggingConfigurationState === "object"); +assert(typeof ResourceType === "object"); assert(typeof UpdateLoggingConfigurationState === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof IvschatServiceException); +assert(ConflictException.prototype instanceof IvschatServiceException); +assert(InternalServerException.prototype instanceof IvschatServiceException); +assert(PendingVerification.prototype instanceof IvschatServiceException); +assert(ResourceNotFoundException.prototype instanceof IvschatServiceException); +assert(ServiceQuotaExceededException.prototype instanceof IvschatServiceException); +assert(ThrottlingException.prototype instanceof IvschatServiceException); +assert(ValidationException.prototype instanceof IvschatServiceException); assert(IvschatServiceException.prototype instanceof Error); // paginators assert(typeof paginateListLoggingConfigurations === "function"); diff --git a/clients/client-ivschat/test/index-types.ts b/clients/client-ivschat/test/index-types.ts index 722c1cd1bfa7..264f30bfb44e 100644 --- a/clients/client-ivschat/test/index-types.ts +++ b/clients/client-ivschat/test/index-types.ts @@ -57,7 +57,9 @@ export type { CreateLoggingConfigurationState, FallbackResult, LoggingConfigurationState, + ResourceType, UpdateLoggingConfigurationState, + ValidationExceptionReason, CloudWatchLogsDestinationConfiguration, CreateChatTokenRequest, CreateChatTokenResponse, @@ -97,6 +99,15 @@ export type { UpdateLoggingConfigurationResponse, UpdateRoomRequest, UpdateRoomResponse, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + PendingVerification, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, IvschatServiceException, paginateListLoggingConfigurations, paginateListRooms, diff --git a/clients/client-kafka/test/index-objects.spec.mjs b/clients/client-kafka/test/index-objects.spec.mjs index 909d159ebccd..e3933664760c 100644 --- a/clients/client-kafka/test/index-objects.spec.mjs +++ b/clients/client-kafka/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + BadRequestException, BatchAssociateScramSecretCommand, BatchDisassociateScramSecretCommand, BrokerAZDistribution, @@ -6,6 +7,7 @@ import { ClusterState, ClusterType, ConfigurationState, + ConflictException, CreateClusterCommand, CreateClusterV2Command, CreateConfigurationCommand, @@ -28,9 +30,11 @@ import { DescribeTopicPartitionsCommand, DescribeVpcConnectionCommand, EnhancedMonitoring, + ForbiddenException, GetBootstrapBrokersCommand, GetClusterPolicyCommand, GetCompatibleKafkaVersionsCommand, + InternalServerErrorException, Kafka, KafkaClient, KafkaServiceException, @@ -50,6 +54,7 @@ import { ListTopicsCommand, ListVpcConnectionsCommand, NodeType, + NotFoundException, PutClusterPolicyCommand, RebalancingStatus, RebootBrokerCommand, @@ -57,10 +62,13 @@ import { ReplicationStartingPositionType, ReplicationTopicNameConfigurationType, ReplicatorState, + ServiceUnavailableException, StorageMode, TagResourceCommand, TargetCompressionType, + TooManyRequestsException, TopicState, + UnauthorizedException, UntagResourceCommand, UpdateBrokerCountCommand, UpdateBrokerStorageCommand, @@ -172,6 +180,14 @@ assert(typeof TopicState === "object"); assert(typeof UserIdentityType === "object"); assert(typeof VpcConnectionState === "object"); // errors +assert(BadRequestException.prototype instanceof KafkaServiceException); +assert(ConflictException.prototype instanceof KafkaServiceException); +assert(ForbiddenException.prototype instanceof KafkaServiceException); +assert(InternalServerErrorException.prototype instanceof KafkaServiceException); +assert(NotFoundException.prototype instanceof KafkaServiceException); +assert(ServiceUnavailableException.prototype instanceof KafkaServiceException); +assert(TooManyRequestsException.prototype instanceof KafkaServiceException); +assert(UnauthorizedException.prototype instanceof KafkaServiceException); assert(KafkaServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeTopicPartitions === "function"); diff --git a/clients/client-kafka/test/index-types.ts b/clients/client-kafka/test/index-types.ts index d8a0c352f42f..40f085aa892f 100644 --- a/clients/client-kafka/test/index-types.ts +++ b/clients/client-kafka/test/index-types.ts @@ -388,6 +388,14 @@ export type { VpcConnectivityScram, VpcConnectivityTls, ZookeeperNodeInfo, + BadRequestException, + ConflictException, + ForbiddenException, + InternalServerErrorException, + NotFoundException, + ServiceUnavailableException, + TooManyRequestsException, + UnauthorizedException, KafkaServiceException, paginateDescribeTopicPartitions, paginateListClientVpcConnections, diff --git a/clients/client-kafkaconnect/test/index-objects.spec.mjs b/clients/client-kafkaconnect/test/index-objects.spec.mjs index 57daccdc2a86..4cb0f14c9541 100644 --- a/clients/client-kafkaconnect/test/index-objects.spec.mjs +++ b/clients/client-kafkaconnect/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + BadRequestException, + ConflictException, ConnectorOperationState, ConnectorOperationStepState, ConnectorOperationStepType, @@ -16,6 +18,8 @@ import { DescribeConnectorOperationCommand, DescribeCustomPluginCommand, DescribeWorkerConfigurationCommand, + ForbiddenException, + InternalServerErrorException, KafkaClusterClientAuthenticationType, KafkaClusterEncryptionInTransitType, KafkaConnect, @@ -26,7 +30,11 @@ import { ListCustomPluginsCommand, ListTagsForResourceCommand, ListWorkerConfigurationsCommand, + NotFoundException, + ServiceUnavailableException, TagResourceCommand, + TooManyRequestsException, + UnauthorizedException, UntagResourceCommand, UpdateConnectorCommand, WorkerConfigurationState, @@ -70,6 +78,14 @@ assert(typeof KafkaClusterClientAuthenticationType === "object"); assert(typeof KafkaClusterEncryptionInTransitType === "object"); assert(typeof WorkerConfigurationState === "object"); // errors +assert(BadRequestException.prototype instanceof KafkaConnectServiceException); +assert(ConflictException.prototype instanceof KafkaConnectServiceException); +assert(ForbiddenException.prototype instanceof KafkaConnectServiceException); +assert(InternalServerErrorException.prototype instanceof KafkaConnectServiceException); +assert(NotFoundException.prototype instanceof KafkaConnectServiceException); +assert(ServiceUnavailableException.prototype instanceof KafkaConnectServiceException); +assert(TooManyRequestsException.prototype instanceof KafkaConnectServiceException); +assert(UnauthorizedException.prototype instanceof KafkaConnectServiceException); assert(KafkaConnectServiceException.prototype instanceof Error); // paginators assert(typeof paginateListConnectorOperations === "function"); diff --git a/clients/client-kafkaconnect/test/index-types.ts b/clients/client-kafkaconnect/test/index-types.ts index 813e65b5ffba..d8290d4e4d5d 100644 --- a/clients/client-kafkaconnect/test/index-types.ts +++ b/clients/client-kafkaconnect/test/index-types.ts @@ -158,6 +158,14 @@ export type { WorkerLogDelivery, WorkerLogDeliveryDescription, WorkerSetting, + BadRequestException, + ConflictException, + ForbiddenException, + InternalServerErrorException, + NotFoundException, + ServiceUnavailableException, + TooManyRequestsException, + UnauthorizedException, KafkaConnectServiceException, paginateListConnectorOperations, paginateListConnectors, diff --git a/clients/client-kendra-ranking/test/index-objects.spec.mjs b/clients/client-kendra-ranking/test/index-objects.spec.mjs index b31e8f349e95..d99f40e9a55f 100644 --- a/clients/client-kendra-ranking/test/index-objects.spec.mjs +++ b/clients/client-kendra-ranking/test/index-objects.spec.mjs @@ -1,7 +1,10 @@ import { + AccessDeniedException, + ConflictException, CreateRescoreExecutionPlanCommand, DeleteRescoreExecutionPlanCommand, DescribeRescoreExecutionPlanCommand, + InternalServerException, KendraRanking, KendraRankingClient, KendraRankingServiceException, @@ -9,9 +12,14 @@ import { ListTagsForResourceCommand, RescoreCommand, RescoreExecutionPlanStatus, + ResourceNotFoundException, + ResourceUnavailableException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateRescoreExecutionPlanCommand, + ValidationException, paginateListRescoreExecutionPlans, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -31,6 +39,14 @@ assert(typeof UpdateRescoreExecutionPlanCommand === "function"); // enums assert(typeof RescoreExecutionPlanStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof KendraRankingServiceException); +assert(ConflictException.prototype instanceof KendraRankingServiceException); +assert(InternalServerException.prototype instanceof KendraRankingServiceException); +assert(ResourceNotFoundException.prototype instanceof KendraRankingServiceException); +assert(ResourceUnavailableException.prototype instanceof KendraRankingServiceException); +assert(ServiceQuotaExceededException.prototype instanceof KendraRankingServiceException); +assert(ThrottlingException.prototype instanceof KendraRankingServiceException); +assert(ValidationException.prototype instanceof KendraRankingServiceException); assert(KendraRankingServiceException.prototype instanceof Error); // paginators assert(typeof paginateListRescoreExecutionPlans === "function"); diff --git a/clients/client-kendra-ranking/test/index-types.ts b/clients/client-kendra-ranking/test/index-types.ts index d9e3969fda0e..637137fd56ca 100644 --- a/clients/client-kendra-ranking/test/index-types.ts +++ b/clients/client-kendra-ranking/test/index-types.ts @@ -51,6 +51,14 @@ export type { UntagResourceRequest, UntagResourceResponse, UpdateRescoreExecutionPlanRequest, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ResourceUnavailableException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, KendraRankingServiceException, paginateListRescoreExecutionPlans, } from "../dist-types/index.d"; diff --git a/clients/client-kendra/test/index-objects.spec.mjs b/clients/client-kendra/test/index-objects.spec.mjs index c4caba722689..7000f66e70b8 100644 --- a/clients/client-kendra/test/index-objects.spec.mjs +++ b/clients/client-kendra/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AdditionalResultAttributeValueType, AlfrescoEntity, AssociateEntitiesToExperienceCommand, @@ -10,6 +11,7 @@ import { BatchPutDocumentCommand, ClearQuerySuggestionsCommand, ConditionOperator, + ConflictException, ConfluenceAttachmentFieldName, ConfluenceAuthenticationType, ConfluenceBlogFieldName, @@ -57,6 +59,7 @@ import { ExperienceStatus, FaqFileFormat, FaqStatus, + FeaturedResultsConflictException, FeaturedResultsSetStatus, FsxFileSystemType, GetQuerySuggestionsCommand, @@ -64,7 +67,9 @@ import { HighlightType, IndexEdition, IndexStatus, + InternalServerException, Interval, + InvalidRequestException, IssueSubEntity, Kendra, KendraClient, @@ -99,6 +104,10 @@ import { QuerySuggestionsStatus, ReadAccessType, RelevanceType, + ResourceAlreadyExistException, + ResourceInUseException, + ResourceNotFoundException, + ResourceUnavailableException, RetrieveCommand, SalesforceChatterFeedIncludeFilterType, SalesforceKnowledgeArticleState, @@ -106,6 +115,7 @@ import { ScoreConfidence, ServiceNowAuthenticationType, ServiceNowBuildVersionType, + ServiceQuotaExceededException, SharePointOnlineAuthenticationType, SharePointVersion, SlackEntity, @@ -116,6 +126,7 @@ import { SuggestionType, TagResourceCommand, ThesaurusStatus, + ThrottlingException, Type, UntagResourceCommand, UpdateAccessControlConfigurationCommand, @@ -128,6 +139,7 @@ import { UpdateThesaurusCommand, UserContextPolicy, UserGroupResolutionMode, + ValidationException, WarningCode, WebCrawlerMode, paginateGetSnapshots, @@ -278,6 +290,18 @@ assert(typeof UserGroupResolutionMode === "object"); assert(typeof WarningCode === "object"); assert(typeof WebCrawlerMode === "object"); // errors +assert(AccessDeniedException.prototype instanceof KendraServiceException); +assert(ConflictException.prototype instanceof KendraServiceException); +assert(FeaturedResultsConflictException.prototype instanceof KendraServiceException); +assert(InternalServerException.prototype instanceof KendraServiceException); +assert(InvalidRequestException.prototype instanceof KendraServiceException); +assert(ResourceAlreadyExistException.prototype instanceof KendraServiceException); +assert(ResourceInUseException.prototype instanceof KendraServiceException); +assert(ResourceNotFoundException.prototype instanceof KendraServiceException); +assert(ResourceUnavailableException.prototype instanceof KendraServiceException); +assert(ServiceQuotaExceededException.prototype instanceof KendraServiceException); +assert(ThrottlingException.prototype instanceof KendraServiceException); +assert(ValidationException.prototype instanceof KendraServiceException); assert(KendraServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetSnapshots === "function"); diff --git a/clients/client-kendra/test/index-types.ts b/clients/client-kendra/test/index-types.ts index 1a66d8f884a5..ac3c64174ea1 100644 --- a/clients/client-kendra/test/index-types.ts +++ b/clients/client-kendra/test/index-types.ts @@ -297,6 +297,7 @@ export type { CollapseConfiguration, CollapsedResultDetail, ColumnConfiguration, + ConflictingItem, ConfluenceAttachmentConfiguration, ConfluenceAttachmentToIndexFieldMapping, ConfluenceBlogConfiguration, @@ -530,6 +531,18 @@ export type { Warning, WebCrawlerConfiguration, WorkDocsConfiguration, + AccessDeniedException, + ConflictException, + FeaturedResultsConflictException, + InternalServerException, + InvalidRequestException, + ResourceAlreadyExistException, + ResourceInUseException, + ResourceNotFoundException, + ResourceUnavailableException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, KendraServiceException, paginateGetSnapshots, paginateListAccessControlConfigurations, diff --git a/clients/client-keyspaces/test/index-objects.spec.mjs b/clients/client-keyspaces/test/index-objects.spec.mjs index b41c21926966..ed57b8beea8a 100644 --- a/clients/client-keyspaces/test/index-objects.spec.mjs +++ b/clients/client-keyspaces/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, CdcPropagateTags, CdcStatus, ClientSideTimestampsStatus, + ConflictException, CreateKeyspaceCommand, CreateTableCommand, CreateTypeCommand, @@ -13,6 +15,7 @@ import { GetTableAutoScalingSettingsCommand, GetTableCommand, GetTypeCommand, + InternalServerException, KeyspaceStatus, Keyspaces, KeyspacesClient, @@ -22,8 +25,10 @@ import { ListTagsForResourceCommand, ListTypesCommand, PointInTimeRecoveryStatus, + ResourceNotFoundException, RestoreTableCommand, Rs, + ServiceQuotaExceededException, SortOrder, TableStatus, TagResourceCommand, @@ -33,6 +38,7 @@ import { UntagResourceCommand, UpdateKeyspaceCommand, UpdateTableCommand, + ValidationException, ViewType, paginateListKeyspaces, paginateListTables, @@ -78,6 +84,12 @@ assert(typeof TimeToLiveStatus === "object"); assert(typeof TypeStatus === "object"); assert(typeof ViewType === "object"); // errors +assert(AccessDeniedException.prototype instanceof KeyspacesServiceException); +assert(ConflictException.prototype instanceof KeyspacesServiceException); +assert(InternalServerException.prototype instanceof KeyspacesServiceException); +assert(ResourceNotFoundException.prototype instanceof KeyspacesServiceException); +assert(ServiceQuotaExceededException.prototype instanceof KeyspacesServiceException); +assert(ValidationException.prototype instanceof KeyspacesServiceException); assert(KeyspacesServiceException.prototype instanceof Error); // paginators assert(typeof paginateListKeyspaces === "function"); diff --git a/clients/client-keyspaces/test/index-types.ts b/clients/client-keyspaces/test/index-types.ts index 69af58995d94..ce4f85aad2a5 100644 --- a/clients/client-keyspaces/test/index-types.ts +++ b/clients/client-keyspaces/test/index-types.ts @@ -138,6 +138,12 @@ export type { UpdateKeyspaceResponse, UpdateTableRequest, UpdateTableResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, KeyspacesServiceException, paginateListKeyspaces, paginateListTables, diff --git a/clients/client-keyspacesstreams/src/schemas/schemas_0.ts b/clients/client-keyspacesstreams/src/schemas/schemas_0.ts index 36c567639914..b6b0be0f6f0d 100644 --- a/clients/client-keyspacesstreams/src/schemas/schemas_0.ts +++ b/clients/client-keyspacesstreams/src/schemas/schemas_0.ts @@ -223,7 +223,6 @@ export var ValidationException: StaticErrorSchema = [ [0, 0], ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var KeyspacesStreamsServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-keyspacesstreams/test/index-objects.spec.mjs b/clients/client-keyspacesstreams/test/index-objects.spec.mjs index 81f2fa20907f..c7e5aa892604 100644 --- a/clients/client-keyspacesstreams/test/index-objects.spec.mjs +++ b/clients/client-keyspacesstreams/test/index-objects.spec.mjs @@ -1,16 +1,22 @@ import { + AccessDeniedException, GetRecordsCommand, GetShardIteratorCommand, GetStreamCommand, + InternalServerException, KeyspacesStreams, KeyspacesStreamsClient, KeyspacesStreamsServiceException, ListStreamsCommand, OriginType, + ResourceNotFoundException, ShardFilterType, ShardIteratorType, StreamStatus, StreamViewType, + ThrottlingException, + ValidationException, + ValidationExceptionType, paginateGetStream, paginateListStreams, } from "../dist-cjs/index.js"; @@ -29,7 +35,13 @@ assert(typeof ShardFilterType === "object"); assert(typeof ShardIteratorType === "object"); assert(typeof StreamStatus === "object"); assert(typeof StreamViewType === "object"); +assert(typeof ValidationExceptionType === "object"); // errors +assert(AccessDeniedException.prototype instanceof KeyspacesStreamsServiceException); +assert(InternalServerException.prototype instanceof KeyspacesStreamsServiceException); +assert(ResourceNotFoundException.prototype instanceof KeyspacesStreamsServiceException); +assert(ThrottlingException.prototype instanceof KeyspacesStreamsServiceException); +assert(ValidationException.prototype instanceof KeyspacesStreamsServiceException); assert(KeyspacesStreamsServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetStream === "function"); diff --git a/clients/client-keyspacesstreams/test/index-types.ts b/clients/client-keyspacesstreams/test/index-types.ts index 7e6946de2814..af95203cb643 100644 --- a/clients/client-keyspacesstreams/test/index-types.ts +++ b/clients/client-keyspacesstreams/test/index-types.ts @@ -19,6 +19,7 @@ export type { ShardIteratorType, StreamStatus, StreamViewType, + ValidationExceptionType, GetRecordsInput, GetRecordsOutput, GetShardIteratorInput, @@ -37,6 +38,11 @@ export type { Shard, ShardFilter, _Stream, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, KeyspacesStreamsServiceException, paginateGetStream, paginateListStreams, diff --git a/clients/client-kinesis-analytics-v2/src/schemas/schemas_0.ts b/clients/client-kinesis-analytics-v2/src/schemas/schemas_0.ts index a4bfeb313f32..742504022ce5 100644 --- a/clients/client-kinesis-analytics-v2/src/schemas/schemas_0.ts +++ b/clients/client-kinesis-analytics-v2/src/schemas/schemas_0.ts @@ -1454,7 +1454,6 @@ export var ZeppelinApplicationConfigurationUpdate: StaticStructureSchema = [ export var ZeppelinMonitoringConfiguration: StaticStructureSchema = [3, n0, _ZMC, 0, [_LL], [0]]; export var ZeppelinMonitoringConfigurationDescription: StaticStructureSchema = [3, n0, _ZMCD, 0, [_LL], [0]]; export var ZeppelinMonitoringConfigurationUpdate: StaticStructureSchema = [3, n0, _ZMCU, 0, [_LLU], [0]]; -export var __Unit = "unit" as const; export var KinesisAnalyticsV2ServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-kinesis-analytics-v2/test/index-objects.spec.mjs b/clients/client-kinesis-analytics-v2/test/index-objects.spec.mjs index 76d89da1ddbb..e760ab01938c 100644 --- a/clients/client-kinesis-analytics-v2/test/index-objects.spec.mjs +++ b/clients/client-kinesis-analytics-v2/test/index-objects.spec.mjs @@ -10,6 +10,8 @@ import { ApplicationStatus, ArtifactType, CodeContentType, + CodeValidationException, + ConcurrentModificationException, ConfigurationType, CreateApplicationCommand, CreateApplicationPresignedUrlCommand, @@ -27,10 +29,14 @@ import { DescribeApplicationVersionCommand, DiscoverInputSchemaCommand, InputStartingPosition, + InvalidApplicationConfigurationException, + InvalidArgumentException, + InvalidRequestException, KeyType, KinesisAnalyticsV2, KinesisAnalyticsV2Client, KinesisAnalyticsV2ServiceException, + LimitExceededException, ListApplicationOperationsCommand, ListApplicationSnapshotsCommand, ListApplicationVersionsCommand, @@ -40,12 +46,19 @@ import { MetricsLevel, OperationStatus, RecordFormatType, + ResourceInUseException, + ResourceNotFoundException, + ResourceProvisionedThroughputExceededException, RollbackApplicationCommand, RuntimeEnvironment, + ServiceUnavailableException, SnapshotStatus, StartApplicationCommand, StopApplicationCommand, TagResourceCommand, + TooManyTagsException, + UnableToDetectSchemaException, + UnsupportedOperationException, UntagResourceCommand, UpdateApplicationCommand, UpdateApplicationMaintenanceConfigurationCommand, @@ -110,6 +123,19 @@ assert(typeof RuntimeEnvironment === "object"); assert(typeof SnapshotStatus === "object"); assert(typeof UrlType === "object"); // errors +assert(CodeValidationException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(ConcurrentModificationException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(InvalidApplicationConfigurationException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(InvalidArgumentException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(InvalidRequestException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(LimitExceededException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(ResourceInUseException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(ResourceNotFoundException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(ResourceProvisionedThroughputExceededException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(ServiceUnavailableException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(TooManyTagsException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(UnableToDetectSchemaException.prototype instanceof KinesisAnalyticsV2ServiceException); +assert(UnsupportedOperationException.prototype instanceof KinesisAnalyticsV2ServiceException); assert(KinesisAnalyticsV2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplicationOperations === "function"); diff --git a/clients/client-kinesis-analytics-v2/test/index-types.ts b/clients/client-kinesis-analytics-v2/test/index-types.ts index 13357ef6857e..2fa43eb650ff 100644 --- a/clients/client-kinesis-analytics-v2/test/index-types.ts +++ b/clients/client-kinesis-analytics-v2/test/index-types.ts @@ -312,6 +312,19 @@ export type { ZeppelinMonitoringConfiguration, ZeppelinMonitoringConfigurationDescription, ZeppelinMonitoringConfigurationUpdate, + CodeValidationException, + ConcurrentModificationException, + InvalidApplicationConfigurationException, + InvalidArgumentException, + InvalidRequestException, + LimitExceededException, + ResourceInUseException, + ResourceNotFoundException, + ResourceProvisionedThroughputExceededException, + ServiceUnavailableException, + TooManyTagsException, + UnableToDetectSchemaException, + UnsupportedOperationException, KinesisAnalyticsV2ServiceException, paginateListApplicationOperations, paginateListApplicationSnapshots, diff --git a/clients/client-kinesis-analytics/src/schemas/schemas_0.ts b/clients/client-kinesis-analytics/src/schemas/schemas_0.ts index 569eace1b4f2..dcfb599b876c 100644 --- a/clients/client-kinesis-analytics/src/schemas/schemas_0.ts +++ b/clients/client-kinesis-analytics/src/schemas/schemas_0.ts @@ -647,7 +647,6 @@ export var UpdateApplicationRequest: StaticStructureSchema = [ [0, 1, () => ApplicationUpdate], ]; export var UpdateApplicationResponse: StaticStructureSchema = [3, n0, _UARp, 0, [], []]; -export var __Unit = "unit" as const; export var KinesisAnalyticsServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-kinesis-analytics/test/index-objects.spec.mjs b/clients/client-kinesis-analytics/test/index-objects.spec.mjs index 0a79f4d2da7f..61ab6a7f5419 100644 --- a/clients/client-kinesis-analytics/test/index-objects.spec.mjs +++ b/clients/client-kinesis-analytics/test/index-objects.spec.mjs @@ -5,6 +5,8 @@ import { AddApplicationOutputCommand, AddApplicationReferenceDataSourceCommand, ApplicationStatus, + CodeValidationException, + ConcurrentModificationException, CreateApplicationCommand, DeleteApplicationCloudWatchLoggingOptionCommand, DeleteApplicationCommand, @@ -14,15 +16,25 @@ import { DescribeApplicationCommand, DiscoverInputSchemaCommand, InputStartingPosition, + InvalidApplicationConfigurationException, + InvalidArgumentException, KinesisAnalytics, KinesisAnalyticsClient, KinesisAnalyticsServiceException, + LimitExceededException, ListApplicationsCommand, ListTagsForResourceCommand, RecordFormatType, + ResourceInUseException, + ResourceNotFoundException, + ResourceProvisionedThroughputExceededException, + ServiceUnavailableException, StartApplicationCommand, StopApplicationCommand, TagResourceCommand, + TooManyTagsException, + UnableToDetectSchemaException, + UnsupportedOperationException, UntagResourceCommand, UpdateApplicationCommand, } from "../dist-cjs/index.js"; @@ -56,5 +68,17 @@ assert(typeof ApplicationStatus === "object"); assert(typeof InputStartingPosition === "object"); assert(typeof RecordFormatType === "object"); // errors +assert(CodeValidationException.prototype instanceof KinesisAnalyticsServiceException); +assert(ConcurrentModificationException.prototype instanceof KinesisAnalyticsServiceException); +assert(InvalidApplicationConfigurationException.prototype instanceof KinesisAnalyticsServiceException); +assert(InvalidArgumentException.prototype instanceof KinesisAnalyticsServiceException); +assert(LimitExceededException.prototype instanceof KinesisAnalyticsServiceException); +assert(ResourceInUseException.prototype instanceof KinesisAnalyticsServiceException); +assert(ResourceNotFoundException.prototype instanceof KinesisAnalyticsServiceException); +assert(ResourceProvisionedThroughputExceededException.prototype instanceof KinesisAnalyticsServiceException); +assert(ServiceUnavailableException.prototype instanceof KinesisAnalyticsServiceException); +assert(TooManyTagsException.prototype instanceof KinesisAnalyticsServiceException); +assert(UnableToDetectSchemaException.prototype instanceof KinesisAnalyticsServiceException); +assert(UnsupportedOperationException.prototype instanceof KinesisAnalyticsServiceException); assert(KinesisAnalyticsServiceException.prototype instanceof Error); console.log(`KinesisAnalytics index test passed.`); diff --git a/clients/client-kinesis-analytics/test/index-types.ts b/clients/client-kinesis-analytics/test/index-types.ts index 00865a8ccc38..833c1a6518af 100644 --- a/clients/client-kinesis-analytics/test/index-types.ts +++ b/clients/client-kinesis-analytics/test/index-types.ts @@ -158,5 +158,17 @@ export type { UntagResourceResponse, UpdateApplicationRequest, UpdateApplicationResponse, + CodeValidationException, + ConcurrentModificationException, + InvalidApplicationConfigurationException, + InvalidArgumentException, + LimitExceededException, + ResourceInUseException, + ResourceNotFoundException, + ResourceProvisionedThroughputExceededException, + ServiceUnavailableException, + TooManyTagsException, + UnableToDetectSchemaException, + UnsupportedOperationException, KinesisAnalyticsServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-kinesis-video-archived-media/src/schemas/schemas_0.ts b/clients/client-kinesis-video-archived-media/src/schemas/schemas_0.ts index 7e2d09d9cbdc..92cc9b70b120 100644 --- a/clients/client-kinesis-video-archived-media/src/schemas/schemas_0.ts +++ b/clients/client-kinesis-video-archived-media/src/schemas/schemas_0.ts @@ -217,7 +217,6 @@ export var UnsupportedStreamMediaTypeException: StaticErrorSchema = [ [0], ]; TypeRegistry.for(n0).registerError(UnsupportedStreamMediaTypeException, __UnsupportedStreamMediaTypeException); -export var __Unit = "unit" as const; export var KinesisVideoArchivedMediaServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-kinesis-video-archived-media/test/index-objects.spec.mjs b/clients/client-kinesis-video-archived-media/test/index-objects.spec.mjs index 3e32fa61f101..4cbb3e7a8a53 100644 --- a/clients/client-kinesis-video-archived-media/test/index-objects.spec.mjs +++ b/clients/client-kinesis-video-archived-media/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + ClientLimitExceededException, ClipFragmentSelectorType, ContainerFormat, DASHDisplayFragmentNumber, @@ -19,10 +20,18 @@ import { HLSPlaybackMode, ImageError, ImageSelectorType, + InvalidArgumentException, + InvalidCodecPrivateDataException, + InvalidMediaFrameException, KinesisVideoArchivedMedia, KinesisVideoArchivedMediaClient, KinesisVideoArchivedMediaServiceException, ListFragmentsCommand, + MissingCodecPrivateDataException, + NoDataRetentionException, + NotAuthorizedException, + ResourceNotFoundException, + UnsupportedStreamMediaTypeException, paginateGetImages, paginateListFragments, } from "../dist-cjs/index.js"; @@ -54,6 +63,15 @@ assert(typeof HLSPlaybackMode === "object"); assert(typeof ImageError === "object"); assert(typeof ImageSelectorType === "object"); // errors +assert(ClientLimitExceededException.prototype instanceof KinesisVideoArchivedMediaServiceException); +assert(InvalidArgumentException.prototype instanceof KinesisVideoArchivedMediaServiceException); +assert(InvalidCodecPrivateDataException.prototype instanceof KinesisVideoArchivedMediaServiceException); +assert(InvalidMediaFrameException.prototype instanceof KinesisVideoArchivedMediaServiceException); +assert(MissingCodecPrivateDataException.prototype instanceof KinesisVideoArchivedMediaServiceException); +assert(NoDataRetentionException.prototype instanceof KinesisVideoArchivedMediaServiceException); +assert(NotAuthorizedException.prototype instanceof KinesisVideoArchivedMediaServiceException); +assert(ResourceNotFoundException.prototype instanceof KinesisVideoArchivedMediaServiceException); +assert(UnsupportedStreamMediaTypeException.prototype instanceof KinesisVideoArchivedMediaServiceException); assert(KinesisVideoArchivedMediaServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetImages === "function"); diff --git a/clients/client-kinesis-video-archived-media/test/index-types.ts b/clients/client-kinesis-video-archived-media/test/index-types.ts index 22dc11963294..c82bd73ae311 100644 --- a/clients/client-kinesis-video-archived-media/test/index-types.ts +++ b/clients/client-kinesis-video-archived-media/test/index-types.ts @@ -57,6 +57,15 @@ export type { ListFragmentsInput, ListFragmentsOutput, TimestampRange, + ClientLimitExceededException, + InvalidArgumentException, + InvalidCodecPrivateDataException, + InvalidMediaFrameException, + MissingCodecPrivateDataException, + NoDataRetentionException, + NotAuthorizedException, + ResourceNotFoundException, + UnsupportedStreamMediaTypeException, KinesisVideoArchivedMediaServiceException, paginateGetImages, paginateListFragments, diff --git a/clients/client-kinesis-video-media/src/schemas/schemas_0.ts b/clients/client-kinesis-video-media/src/schemas/schemas_0.ts index 703dd6deea4a..f40c1ce2dce9 100644 --- a/clients/client-kinesis-video-media/src/schemas/schemas_0.ts +++ b/clients/client-kinesis-video-media/src/schemas/schemas_0.ts @@ -73,7 +73,6 @@ TypeRegistry.for(n0).registerError(NotAuthorizedException, __NotAuthorizedExcept export var ResourceNotFoundException: StaticErrorSchema = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException); export var StartSelector: StaticStructureSchema = [3, n0, _SS, 0, [_SST, _AFN, _ST, _CTo], [0, 0, 4, 0]]; -export var __Unit = "unit" as const; export var KinesisVideoMediaServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-kinesis-video-media/test/index-objects.spec.mjs b/clients/client-kinesis-video-media/test/index-objects.spec.mjs index 6ccf9c1c18aa..23ca8a6500a2 100644 --- a/clients/client-kinesis-video-media/test/index-objects.spec.mjs +++ b/clients/client-kinesis-video-media/test/index-objects.spec.mjs @@ -1,8 +1,14 @@ import { + ClientLimitExceededException, + ConnectionLimitExceededException, GetMediaCommand, + InvalidArgumentException, + InvalidEndpointException, KinesisVideoMedia, KinesisVideoMediaClient, KinesisVideoMediaServiceException, + NotAuthorizedException, + ResourceNotFoundException, StartSelectorType, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -14,5 +20,11 @@ assert(typeof GetMediaCommand === "function"); // enums assert(typeof StartSelectorType === "object"); // errors +assert(ClientLimitExceededException.prototype instanceof KinesisVideoMediaServiceException); +assert(ConnectionLimitExceededException.prototype instanceof KinesisVideoMediaServiceException); +assert(InvalidArgumentException.prototype instanceof KinesisVideoMediaServiceException); +assert(InvalidEndpointException.prototype instanceof KinesisVideoMediaServiceException); +assert(NotAuthorizedException.prototype instanceof KinesisVideoMediaServiceException); +assert(ResourceNotFoundException.prototype instanceof KinesisVideoMediaServiceException); assert(KinesisVideoMediaServiceException.prototype instanceof Error); console.log(`KinesisVideoMedia index test passed.`); diff --git a/clients/client-kinesis-video-media/test/index-types.ts b/clients/client-kinesis-video-media/test/index-types.ts index 592ab2d99528..ede6aa8526b8 100644 --- a/clients/client-kinesis-video-media/test/index-types.ts +++ b/clients/client-kinesis-video-media/test/index-types.ts @@ -9,5 +9,11 @@ export type { GetMediaInput, GetMediaOutput, StartSelector, + ClientLimitExceededException, + ConnectionLimitExceededException, + InvalidArgumentException, + InvalidEndpointException, + NotAuthorizedException, + ResourceNotFoundException, KinesisVideoMediaServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-kinesis-video-signaling/src/schemas/schemas_0.ts b/clients/client-kinesis-video-signaling/src/schemas/schemas_0.ts index a8053f16cfcc..89e0f160050a 100644 --- a/clients/client-kinesis-video-signaling/src/schemas/schemas_0.ts +++ b/clients/client-kinesis-video-signaling/src/schemas/schemas_0.ts @@ -63,7 +63,6 @@ export var SendAlexaOfferToMasterRequest: StaticStructureSchema = [3, n0, _SAOTM export var SendAlexaOfferToMasterResponse: StaticStructureSchema = [3, n0, _SAOTMRe, 0, [_A], [0]]; export var SessionExpiredException: StaticErrorSchema = [-3, n0, _SEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(SessionExpiredException, __SessionExpiredException); -export var __Unit = "unit" as const; export var KinesisVideoSignalingServiceException: StaticErrorSchema = [ -3, _s, diff --git a/clients/client-kinesis-video-signaling/test/index-objects.spec.mjs b/clients/client-kinesis-video-signaling/test/index-objects.spec.mjs index 0662ac5c9251..30f4f4eb47bd 100644 --- a/clients/client-kinesis-video-signaling/test/index-objects.spec.mjs +++ b/clients/client-kinesis-video-signaling/test/index-objects.spec.mjs @@ -1,10 +1,16 @@ import { + ClientLimitExceededException, GetIceServerConfigCommand, + InvalidArgumentException, + InvalidClientException, KinesisVideoSignaling, KinesisVideoSignalingClient, KinesisVideoSignalingServiceException, + NotAuthorizedException, + ResourceNotFoundException, SendAlexaOfferToMasterCommand, Service, + SessionExpiredException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -16,5 +22,11 @@ assert(typeof SendAlexaOfferToMasterCommand === "function"); // enums assert(typeof Service === "object"); // errors +assert(ClientLimitExceededException.prototype instanceof KinesisVideoSignalingServiceException); +assert(InvalidArgumentException.prototype instanceof KinesisVideoSignalingServiceException); +assert(InvalidClientException.prototype instanceof KinesisVideoSignalingServiceException); +assert(NotAuthorizedException.prototype instanceof KinesisVideoSignalingServiceException); +assert(ResourceNotFoundException.prototype instanceof KinesisVideoSignalingServiceException); +assert(SessionExpiredException.prototype instanceof KinesisVideoSignalingServiceException); assert(KinesisVideoSignalingServiceException.prototype instanceof Error); console.log(`KinesisVideoSignaling index test passed.`); diff --git a/clients/client-kinesis-video-signaling/test/index-types.ts b/clients/client-kinesis-video-signaling/test/index-types.ts index 60d80ed441e6..3bd7215523fa 100644 --- a/clients/client-kinesis-video-signaling/test/index-types.ts +++ b/clients/client-kinesis-video-signaling/test/index-types.ts @@ -14,5 +14,11 @@ export type { IceServer, SendAlexaOfferToMasterRequest, SendAlexaOfferToMasterResponse, + ClientLimitExceededException, + InvalidArgumentException, + InvalidClientException, + NotAuthorizedException, + ResourceNotFoundException, + SessionExpiredException, KinesisVideoSignalingServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-kinesis-video-webrtc-storage/test/index-objects.spec.mjs b/clients/client-kinesis-video-webrtc-storage/test/index-objects.spec.mjs index 4817aedfd4ab..03866b06de10 100644 --- a/clients/client-kinesis-video-webrtc-storage/test/index-objects.spec.mjs +++ b/clients/client-kinesis-video-webrtc-storage/test/index-objects.spec.mjs @@ -1,9 +1,13 @@ import { + AccessDeniedException, + ClientLimitExceededException, + InvalidArgumentException, JoinStorageSessionAsViewerCommand, JoinStorageSessionCommand, KinesisVideoWebRTCStorage, KinesisVideoWebRTCStorageClient, KinesisVideoWebRTCStorageServiceException, + ResourceNotFoundException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -13,5 +17,9 @@ assert(typeof KinesisVideoWebRTCStorage === "function"); assert(typeof JoinStorageSessionCommand === "function"); assert(typeof JoinStorageSessionAsViewerCommand === "function"); // errors +assert(AccessDeniedException.prototype instanceof KinesisVideoWebRTCStorageServiceException); +assert(ClientLimitExceededException.prototype instanceof KinesisVideoWebRTCStorageServiceException); +assert(InvalidArgumentException.prototype instanceof KinesisVideoWebRTCStorageServiceException); +assert(ResourceNotFoundException.prototype instanceof KinesisVideoWebRTCStorageServiceException); assert(KinesisVideoWebRTCStorageServiceException.prototype instanceof Error); console.log(`KinesisVideoWebRTCStorage index test passed.`); diff --git a/clients/client-kinesis-video-webrtc-storage/test/index-types.ts b/clients/client-kinesis-video-webrtc-storage/test/index-types.ts index 67e2845cd5e5..e6f9148abedc 100644 --- a/clients/client-kinesis-video-webrtc-storage/test/index-types.ts +++ b/clients/client-kinesis-video-webrtc-storage/test/index-types.ts @@ -10,5 +10,9 @@ export type { JoinStorageSessionAsViewerCommandOutput, JoinStorageSessionAsViewerInput, JoinStorageSessionInput, + AccessDeniedException, + ClientLimitExceededException, + InvalidArgumentException, + ResourceNotFoundException, KinesisVideoWebRTCStorageServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-kinesis-video/src/schemas/schemas_0.ts b/clients/client-kinesis-video/src/schemas/schemas_0.ts index 08d936aa92aa..14bdf8590088 100644 --- a/clients/client-kinesis-video/src/schemas/schemas_0.ts +++ b/clients/client-kinesis-video/src/schemas/schemas_0.ts @@ -625,7 +625,6 @@ export var UpdateStreamStorageConfigurationOutput: StaticStructureSchema = [3, n export var UploaderConfig: StaticStructureSchema = [3, n0, _UC, 0, [_SC], [() => ScheduleConfig]]; export var VersionMismatchException: StaticErrorSchema = [-3, n0, _VME, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(VersionMismatchException, __VersionMismatchException); -export var __Unit = "unit" as const; export var KinesisVideoServiceException: StaticErrorSchema = [-3, _s, "KinesisVideoServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(KinesisVideoServiceException, __KinesisVideoServiceException); export var ChannelInfoList: StaticListSchema = [1, n0, _CIL, 0, () => ChannelInfo]; diff --git a/clients/client-kinesis-video/test/index-objects.spec.mjs b/clients/client-kinesis-video/test/index-objects.spec.mjs index d544033a29a5..618c8e463ca8 100644 --- a/clients/client-kinesis-video/test/index-objects.spec.mjs +++ b/clients/client-kinesis-video/test/index-objects.spec.mjs @@ -1,8 +1,12 @@ import { APIName, + AccessDeniedException, + AccountChannelLimitExceededException, + AccountStreamLimitExceededException, ChannelProtocol, ChannelRole, ChannelType, + ClientLimitExceededException, ComparisonOperator, ConfigurationStatus, CreateSignalingChannelCommand, @@ -19,11 +23,15 @@ import { DescribeSignalingChannelCommand, DescribeStreamCommand, DescribeStreamStorageConfigurationCommand, + DeviceStreamLimitExceededException, Format, FormatConfigKey, GetDataEndpointCommand, GetSignalingChannelEndpointCommand, ImageSelectorType, + InvalidArgumentException, + InvalidDeviceException, + InvalidResourceFormatException, KinesisVideo, KinesisVideoClient, KinesisVideoServiceException, @@ -34,13 +42,19 @@ import { ListTagsForStreamCommand, MediaStorageConfigurationStatus, MediaUriType, + NoDataRetentionException, + NotAuthorizedException, RecorderStatus, + ResourceInUseException, + ResourceNotFoundException, StartEdgeConfigurationUpdateCommand, Status, StrategyOnFullSize, + StreamEdgeConfigurationNotFoundException, SyncStatus, TagResourceCommand, TagStreamCommand, + TagsPerResourceExceededLimitException, UntagResourceCommand, UntagStreamCommand, UpdateDataRetentionCommand, @@ -52,6 +66,7 @@ import { UpdateStreamCommand, UpdateStreamStorageConfigurationCommand, UploaderStatus, + VersionMismatchException, paginateDescribeMappedResourceConfiguration, paginateListEdgeAgentConfigurations, paginateListSignalingChannels, @@ -114,6 +129,21 @@ assert(typeof SyncStatus === "object"); assert(typeof UpdateDataRetentionOperation === "object"); assert(typeof UploaderStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof KinesisVideoServiceException); +assert(AccountChannelLimitExceededException.prototype instanceof KinesisVideoServiceException); +assert(AccountStreamLimitExceededException.prototype instanceof KinesisVideoServiceException); +assert(ClientLimitExceededException.prototype instanceof KinesisVideoServiceException); +assert(DeviceStreamLimitExceededException.prototype instanceof KinesisVideoServiceException); +assert(InvalidArgumentException.prototype instanceof KinesisVideoServiceException); +assert(InvalidDeviceException.prototype instanceof KinesisVideoServiceException); +assert(InvalidResourceFormatException.prototype instanceof KinesisVideoServiceException); +assert(NoDataRetentionException.prototype instanceof KinesisVideoServiceException); +assert(NotAuthorizedException.prototype instanceof KinesisVideoServiceException); +assert(ResourceInUseException.prototype instanceof KinesisVideoServiceException); +assert(ResourceNotFoundException.prototype instanceof KinesisVideoServiceException); +assert(StreamEdgeConfigurationNotFoundException.prototype instanceof KinesisVideoServiceException); +assert(TagsPerResourceExceededLimitException.prototype instanceof KinesisVideoServiceException); +assert(VersionMismatchException.prototype instanceof KinesisVideoServiceException); assert(KinesisVideoServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeMappedResourceConfiguration === "function"); diff --git a/clients/client-kinesis-video/test/index-types.ts b/clients/client-kinesis-video/test/index-types.ts index e828f1e826d3..da016e040961 100644 --- a/clients/client-kinesis-video/test/index-types.ts +++ b/clients/client-kinesis-video/test/index-types.ts @@ -206,6 +206,21 @@ export type { UpdateStreamStorageConfigurationInput, UpdateStreamStorageConfigurationOutput, UploaderConfig, + AccessDeniedException, + AccountChannelLimitExceededException, + AccountStreamLimitExceededException, + ClientLimitExceededException, + DeviceStreamLimitExceededException, + InvalidArgumentException, + InvalidDeviceException, + InvalidResourceFormatException, + NoDataRetentionException, + NotAuthorizedException, + ResourceInUseException, + ResourceNotFoundException, + StreamEdgeConfigurationNotFoundException, + TagsPerResourceExceededLimitException, + VersionMismatchException, KinesisVideoServiceException, paginateDescribeMappedResourceConfiguration, paginateListEdgeAgentConfigurations, diff --git a/clients/client-kinesis/test/index-objects.spec.mjs b/clients/client-kinesis/test/index-objects.spec.mjs index a6bbb7b1ce38..295424af9399 100644 --- a/clients/client-kinesis/test/index-objects.spec.mjs +++ b/clients/client-kinesis/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AddTagsToStreamCommand, ConsumerStatus, CreateStreamCommand, @@ -14,11 +15,14 @@ import { DisableEnhancedMonitoringCommand, EnableEnhancedMonitoringCommand, EncryptionType, + ExpiredIteratorException, + ExpiredNextTokenException, GetRecordsCommand, GetResourcePolicyCommand, GetShardIteratorCommand, IncreaseStreamRetentionPeriodCommand, InternalFailureException, + InvalidArgumentException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, @@ -28,6 +32,7 @@ import { Kinesis, KinesisClient, KinesisServiceException, + LimitExceededException, ListShardsCommand, ListStreamConsumersCommand, ListStreamsCommand, @@ -37,6 +42,7 @@ import { MetricsName, MinimumThroughputBillingCommitmentInputStatus, MinimumThroughputBillingCommitmentOutputStatus, + ProvisionedThroughputExceededException, PutRecordCommand, PutRecordsCommand, PutResourcePolicyCommand, @@ -60,6 +66,7 @@ import { UpdateShardCountCommand, UpdateStreamModeCommand, UpdateStreamWarmThroughputCommand, + ValidationException, paginateListStreamConsumers, paginateListStreams, waitForStreamExists, @@ -123,15 +130,22 @@ assert(typeof ShardIteratorType === "object"); assert(typeof StreamMode === "object"); assert(typeof StreamStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof KinesisServiceException); +assert(ExpiredIteratorException.prototype instanceof KinesisServiceException); +assert(ExpiredNextTokenException.prototype instanceof KinesisServiceException); assert(InternalFailureException.prototype instanceof KinesisServiceException); +assert(InvalidArgumentException.prototype instanceof KinesisServiceException); assert(KMSAccessDeniedException.prototype instanceof KinesisServiceException); assert(KMSDisabledException.prototype instanceof KinesisServiceException); assert(KMSInvalidStateException.prototype instanceof KinesisServiceException); assert(KMSNotFoundException.prototype instanceof KinesisServiceException); assert(KMSOptInRequired.prototype instanceof KinesisServiceException); assert(KMSThrottlingException.prototype instanceof KinesisServiceException); +assert(LimitExceededException.prototype instanceof KinesisServiceException); +assert(ProvisionedThroughputExceededException.prototype instanceof KinesisServiceException); assert(ResourceInUseException.prototype instanceof KinesisServiceException); assert(ResourceNotFoundException.prototype instanceof KinesisServiceException); +assert(ValidationException.prototype instanceof KinesisServiceException); assert(KinesisServiceException.prototype instanceof Error); // waiters assert(typeof waitForStreamExists === "function"); diff --git a/clients/client-kinesis/test/index-types.ts b/clients/client-kinesis/test/index-types.ts index d140f68b95bd..bc0e063182c8 100644 --- a/clients/client-kinesis/test/index-types.ts +++ b/clients/client-kinesis/test/index-types.ts @@ -211,15 +211,22 @@ export type { UpdateStreamWarmThroughputInput, UpdateStreamWarmThroughputOutput, WarmThroughputObject, + AccessDeniedException, + ExpiredIteratorException, + ExpiredNextTokenException, InternalFailureException, + InvalidArgumentException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, + LimitExceededException, + ProvisionedThroughputExceededException, ResourceInUseException, ResourceNotFoundException, + ValidationException, KinesisServiceException, waitForStreamExists, waitForStreamNotExists, diff --git a/clients/client-kms/test/index-objects.spec.mjs b/clients/client-kms/test/index-objects.spec.mjs index 68ad8d31dd3a..67724327a033 100644 --- a/clients/client-kms/test/index-objects.spec.mjs +++ b/clients/client-kms/test/index-objects.spec.mjs @@ -1,6 +1,13 @@ import { AlgorithmSpec, + AlreadyExistsException, CancelKeyDeletionCommand, + CloudHsmClusterInUseException, + CloudHsmClusterInvalidConfigurationException, + CloudHsmClusterNotActiveException, + CloudHsmClusterNotFoundException, + CloudHsmClusterNotRelatedException, + ConflictException, ConnectCustomKeyStoreCommand, ConnectionErrorCodeType, ConnectionStateType, @@ -8,6 +15,10 @@ import { CreateCustomKeyStoreCommand, CreateGrantCommand, CreateKeyCommand, + CustomKeyStoreHasCMKsException, + CustomKeyStoreInvalidStateException, + CustomKeyStoreNameInUseException, + CustomKeyStoreNotFoundException, CustomKeyStoreType, CustomerMasterKeySpec, DataKeyPairSpec, @@ -16,17 +27,21 @@ import { DeleteAliasCommand, DeleteCustomKeyStoreCommand, DeleteImportedKeyMaterialCommand, + DependencyTimeoutException, DeriveSharedSecretCommand, DescribeCustomKeyStoresCommand, DescribeKeyCommand, DisableKeyCommand, DisableKeyRotationCommand, + DisabledException, DisconnectCustomKeyStoreCommand, + DryRunOperationException, EnableKeyCommand, EnableKeyRotationCommand, EncryptCommand, EncryptionAlgorithmSpec, ExpirationModelType, + ExpiredImportTokenException, GenerateDataKeyCommand, GenerateDataKeyPairCommand, GenerateDataKeyPairWithoutPlaintextCommand, @@ -42,8 +57,23 @@ import { ImportState, ImportType, IncludeKeyMaterial, + IncorrectKeyException, + IncorrectKeyMaterialException, + IncorrectTrustAnchorException, + InvalidAliasNameException, + InvalidArnException, + InvalidCiphertextException, + InvalidGrantIdException, + InvalidGrantTokenException, + InvalidImportTokenException, + InvalidKeyUsageException, + InvalidMarkerException, KMS, KMSClient, + KMSInternalException, + KMSInvalidMacException, + KMSInvalidSignatureException, + KMSInvalidStateException, KMSServiceException, KeyAgreementAlgorithmSpec, KeyEncryptionMechanism, @@ -51,7 +81,9 @@ import { KeyMaterialState, KeySpec, KeyState, + KeyUnavailableException, KeyUsageType, + LimitExceededException, ListAliasesCommand, ListGrantsCommand, ListKeyPoliciesCommand, @@ -60,8 +92,10 @@ import { ListResourceTagsCommand, ListRetirableGrantsCommand, MacAlgorithmSpec, + MalformedPolicyDocumentException, MessageType, MultiRegionKeyType, + NotFoundException, OriginType, PutKeyPolicyCommand, ReEncryptCommand, @@ -73,7 +107,9 @@ import { ScheduleKeyDeletionCommand, SignCommand, SigningAlgorithmSpec, + TagException, TagResourceCommand, + UnsupportedOperationException, UntagResourceCommand, UpdateAliasCommand, UpdateCustomKeyStoreCommand, @@ -82,7 +118,19 @@ import { VerifyCommand, VerifyMacCommand, WrappingKeySpec, + XksKeyAlreadyInUseException, + XksKeyInvalidConfigurationException, + XksKeyNotFoundException, XksProxyConnectivityType, + XksProxyIncorrectAuthenticationCredentialException, + XksProxyInvalidConfigurationException, + XksProxyInvalidResponseException, + XksProxyUriEndpointInUseException, + XksProxyUriInUseException, + XksProxyUriUnreachableException, + XksProxyVpcEndpointServiceInUseException, + XksProxyVpcEndpointServiceInvalidConfigurationException, + XksProxyVpcEndpointServiceNotFoundException, paginateDescribeCustomKeyStores, paginateListAliases, paginateListGrants, @@ -180,6 +228,54 @@ assert(typeof SigningAlgorithmSpec === "object"); assert(typeof WrappingKeySpec === "object"); assert(typeof XksProxyConnectivityType === "object"); // errors +assert(AlreadyExistsException.prototype instanceof KMSServiceException); +assert(CloudHsmClusterInUseException.prototype instanceof KMSServiceException); +assert(CloudHsmClusterInvalidConfigurationException.prototype instanceof KMSServiceException); +assert(CloudHsmClusterNotActiveException.prototype instanceof KMSServiceException); +assert(CloudHsmClusterNotFoundException.prototype instanceof KMSServiceException); +assert(CloudHsmClusterNotRelatedException.prototype instanceof KMSServiceException); +assert(ConflictException.prototype instanceof KMSServiceException); +assert(CustomKeyStoreHasCMKsException.prototype instanceof KMSServiceException); +assert(CustomKeyStoreInvalidStateException.prototype instanceof KMSServiceException); +assert(CustomKeyStoreNameInUseException.prototype instanceof KMSServiceException); +assert(CustomKeyStoreNotFoundException.prototype instanceof KMSServiceException); +assert(DependencyTimeoutException.prototype instanceof KMSServiceException); +assert(DisabledException.prototype instanceof KMSServiceException); +assert(DryRunOperationException.prototype instanceof KMSServiceException); +assert(ExpiredImportTokenException.prototype instanceof KMSServiceException); +assert(IncorrectKeyException.prototype instanceof KMSServiceException); +assert(IncorrectKeyMaterialException.prototype instanceof KMSServiceException); +assert(IncorrectTrustAnchorException.prototype instanceof KMSServiceException); +assert(InvalidAliasNameException.prototype instanceof KMSServiceException); +assert(InvalidArnException.prototype instanceof KMSServiceException); +assert(InvalidCiphertextException.prototype instanceof KMSServiceException); +assert(InvalidGrantIdException.prototype instanceof KMSServiceException); +assert(InvalidGrantTokenException.prototype instanceof KMSServiceException); +assert(InvalidImportTokenException.prototype instanceof KMSServiceException); +assert(InvalidKeyUsageException.prototype instanceof KMSServiceException); +assert(InvalidMarkerException.prototype instanceof KMSServiceException); +assert(KeyUnavailableException.prototype instanceof KMSServiceException); +assert(KMSInternalException.prototype instanceof KMSServiceException); +assert(KMSInvalidMacException.prototype instanceof KMSServiceException); +assert(KMSInvalidSignatureException.prototype instanceof KMSServiceException); +assert(KMSInvalidStateException.prototype instanceof KMSServiceException); +assert(LimitExceededException.prototype instanceof KMSServiceException); +assert(MalformedPolicyDocumentException.prototype instanceof KMSServiceException); +assert(NotFoundException.prototype instanceof KMSServiceException); +assert(TagException.prototype instanceof KMSServiceException); +assert(UnsupportedOperationException.prototype instanceof KMSServiceException); +assert(XksKeyAlreadyInUseException.prototype instanceof KMSServiceException); +assert(XksKeyInvalidConfigurationException.prototype instanceof KMSServiceException); +assert(XksKeyNotFoundException.prototype instanceof KMSServiceException); +assert(XksProxyIncorrectAuthenticationCredentialException.prototype instanceof KMSServiceException); +assert(XksProxyInvalidConfigurationException.prototype instanceof KMSServiceException); +assert(XksProxyInvalidResponseException.prototype instanceof KMSServiceException); +assert(XksProxyUriEndpointInUseException.prototype instanceof KMSServiceException); +assert(XksProxyUriInUseException.prototype instanceof KMSServiceException); +assert(XksProxyUriUnreachableException.prototype instanceof KMSServiceException); +assert(XksProxyVpcEndpointServiceInUseException.prototype instanceof KMSServiceException); +assert(XksProxyVpcEndpointServiceInvalidConfigurationException.prototype instanceof KMSServiceException); +assert(XksProxyVpcEndpointServiceNotFoundException.prototype instanceof KMSServiceException); assert(KMSServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeCustomKeyStores === "function"); diff --git a/clients/client-kms/test/index-types.ts b/clients/client-kms/test/index-types.ts index 83165754f163..aba58aa01c67 100644 --- a/clients/client-kms/test/index-types.ts +++ b/clients/client-kms/test/index-types.ts @@ -294,6 +294,54 @@ export type { XksKeyConfigurationType, XksProxyAuthenticationCredentialType, XksProxyConfigurationType, + AlreadyExistsException, + CloudHsmClusterInUseException, + CloudHsmClusterInvalidConfigurationException, + CloudHsmClusterNotActiveException, + CloudHsmClusterNotFoundException, + CloudHsmClusterNotRelatedException, + ConflictException, + CustomKeyStoreHasCMKsException, + CustomKeyStoreInvalidStateException, + CustomKeyStoreNameInUseException, + CustomKeyStoreNotFoundException, + DependencyTimeoutException, + DisabledException, + DryRunOperationException, + ExpiredImportTokenException, + IncorrectKeyException, + IncorrectKeyMaterialException, + IncorrectTrustAnchorException, + InvalidAliasNameException, + InvalidArnException, + InvalidCiphertextException, + InvalidGrantIdException, + InvalidGrantTokenException, + InvalidImportTokenException, + InvalidKeyUsageException, + InvalidMarkerException, + KeyUnavailableException, + KMSInternalException, + KMSInvalidMacException, + KMSInvalidSignatureException, + KMSInvalidStateException, + LimitExceededException, + MalformedPolicyDocumentException, + NotFoundException, + TagException, + UnsupportedOperationException, + XksKeyAlreadyInUseException, + XksKeyInvalidConfigurationException, + XksKeyNotFoundException, + XksProxyIncorrectAuthenticationCredentialException, + XksProxyInvalidConfigurationException, + XksProxyInvalidResponseException, + XksProxyUriEndpointInUseException, + XksProxyUriInUseException, + XksProxyUriUnreachableException, + XksProxyVpcEndpointServiceInUseException, + XksProxyVpcEndpointServiceInvalidConfigurationException, + XksProxyVpcEndpointServiceNotFoundException, KMSServiceException, paginateDescribeCustomKeyStores, paginateListAliases, diff --git a/clients/client-lakeformation/src/schemas/schemas_0.ts b/clients/client-lakeformation/src/schemas/schemas_0.ts index 4f7b16ea056b..f4adaa8edba4 100644 --- a/clients/client-lakeformation/src/schemas/schemas_0.ts +++ b/clients/client-lakeformation/src/schemas/schemas_0.ts @@ -1213,7 +1213,6 @@ export var WriteOperation: StaticStructureSchema = [ [_AO, _DO], [() => AddObjectInput, () => DeleteObjectInput], ]; -export var __Unit = "unit" as const; export var LakeFormationServiceException: StaticErrorSchema = [-3, _sm, "LakeFormationServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(LakeFormationServiceException, __LakeFormationServiceException); export var AuthorizedSessionTagValueList = 64 | 0; diff --git a/clients/client-lakeformation/test/index-objects.spec.mjs b/clients/client-lakeformation/test/index-objects.spec.mjs index a63fc0830c68..259dbfadcf2c 100644 --- a/clients/client-lakeformation/test/index-objects.spec.mjs +++ b/clients/client-lakeformation/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, AddLFTagsToResourceCommand, + AlreadyExistsException, ApplicationStatus, AssumeDecoratedRoleWithSAMLCommand, BatchGrantPermissionsCommand, @@ -7,6 +9,7 @@ import { CancelTransactionCommand, CommitTransactionCommand, ComparisonOperator, + ConcurrentModificationException, CreateDataCellsFilterCommand, CreateLFTagCommand, CreateLFTagExpressionCommand, @@ -24,6 +27,8 @@ import { DescribeResourceCommand, DescribeTransactionCommand, EnableStatus, + EntityNotFoundException, + ExpiredException, ExtendTransactionCommand, FieldNameString, GetDataCellsFilterCommand, @@ -40,7 +45,10 @@ import { GetTemporaryGlueTableCredentialsCommand, GetWorkUnitResultsCommand, GetWorkUnitsCommand, + GlueEncryptionException, GrantPermissionsCommand, + InternalServiceException, + InvalidInputException, LakeFormation, LakeFormationClient, LakeFormationServiceException, @@ -52,13 +60,17 @@ import { ListResourcesCommand, ListTableStorageOptimizersCommand, ListTransactionsCommand, + OperationTimeoutException, OptimizerType, Permission, PermissionType, + PermissionTypeMismatchException, PutDataLakeSettingsCommand, QueryStateString, RegisterResourceCommand, RemoveLFTagsFromResourceCommand, + ResourceNotReadyException, + ResourceNumberLimitExceededException, ResourceShareType, ResourceType, RevokePermissionsCommand, @@ -67,6 +79,11 @@ import { ServiceAuthorization, StartQueryPlanningCommand, StartTransactionCommand, + StatisticsNotReadyYetException, + ThrottledException, + TransactionCanceledException, + TransactionCommitInProgressException, + TransactionCommittedException, TransactionStatus, TransactionStatusFilter, TransactionType, @@ -77,6 +94,7 @@ import { UpdateResourceCommand, UpdateTableObjectsCommand, UpdateTableStorageOptimizerCommand, + WorkUnitsNotReadyYetException, paginateGetEffectivePermissionsForPath, paginateGetTableObjects, paginateGetWorkUnits, @@ -173,6 +191,24 @@ assert(typeof TransactionStatus === "object"); assert(typeof TransactionStatusFilter === "object"); assert(typeof TransactionType === "object"); // errors +assert(AccessDeniedException.prototype instanceof LakeFormationServiceException); +assert(AlreadyExistsException.prototype instanceof LakeFormationServiceException); +assert(ConcurrentModificationException.prototype instanceof LakeFormationServiceException); +assert(EntityNotFoundException.prototype instanceof LakeFormationServiceException); +assert(ExpiredException.prototype instanceof LakeFormationServiceException); +assert(GlueEncryptionException.prototype instanceof LakeFormationServiceException); +assert(InternalServiceException.prototype instanceof LakeFormationServiceException); +assert(InvalidInputException.prototype instanceof LakeFormationServiceException); +assert(OperationTimeoutException.prototype instanceof LakeFormationServiceException); +assert(PermissionTypeMismatchException.prototype instanceof LakeFormationServiceException); +assert(ResourceNotReadyException.prototype instanceof LakeFormationServiceException); +assert(ResourceNumberLimitExceededException.prototype instanceof LakeFormationServiceException); +assert(StatisticsNotReadyYetException.prototype instanceof LakeFormationServiceException); +assert(ThrottledException.prototype instanceof LakeFormationServiceException); +assert(TransactionCanceledException.prototype instanceof LakeFormationServiceException); +assert(TransactionCommitInProgressException.prototype instanceof LakeFormationServiceException); +assert(TransactionCommittedException.prototype instanceof LakeFormationServiceException); +assert(WorkUnitsNotReadyYetException.prototype instanceof LakeFormationServiceException); assert(LakeFormationServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetEffectivePermissionsForPath === "function"); diff --git a/clients/client-lakeformation/test/index-types.ts b/clients/client-lakeformation/test/index-types.ts index 6fa4467bea63..854c73c87606 100644 --- a/clients/client-lakeformation/test/index-types.ts +++ b/clients/client-lakeformation/test/index-types.ts @@ -370,6 +370,24 @@ export type { VirtualObject, WorkUnitRange, WriteOperation, + AccessDeniedException, + AlreadyExistsException, + ConcurrentModificationException, + EntityNotFoundException, + ExpiredException, + GlueEncryptionException, + InternalServiceException, + InvalidInputException, + OperationTimeoutException, + PermissionTypeMismatchException, + ResourceNotReadyException, + ResourceNumberLimitExceededException, + StatisticsNotReadyYetException, + ThrottledException, + TransactionCanceledException, + TransactionCommitInProgressException, + TransactionCommittedException, + WorkUnitsNotReadyYetException, LakeFormationServiceException, paginateGetEffectivePermissionsForPath, paginateGetTableObjects, diff --git a/clients/client-lambda/test/index-objects.spec.mjs b/clients/client-lambda/test/index-objects.spec.mjs index 9e01d01af849..d625314c3144 100644 --- a/clients/client-lambda/test/index-objects.spec.mjs +++ b/clients/client-lambda/test/index-objects.spec.mjs @@ -3,11 +3,16 @@ import { AddPermissionCommand, ApplicationLogLevel, Architecture, + CallbackTimeoutException, + CapacityProviderLimitExceededException, CapacityProviderPredefinedMetricType, CapacityProviderScalingMode, CapacityProviderState, CheckpointDurableExecutionCommand, + CodeSigningConfigNotFoundException, CodeSigningPolicy, + CodeStorageExceededException, + CodeVerificationFailedException, CreateAliasCommand, CreateCapacityProviderCommand, CreateCodeSigningConfigCommand, @@ -25,6 +30,15 @@ import { DeleteFunctionUrlConfigCommand, DeleteLayerVersionCommand, DeleteProvisionedConcurrencyConfigCommand, + DurableExecutionAlreadyStartedException, + EC2AccessDeniedException, + EC2ThrottledException, + EC2UnexpectedException, + EFSIOException, + EFSMountConnectivityException, + EFSMountFailureException, + EFSMountTimeoutException, + ENILimitReachedException, EndPointType, EventSourceMappingMetric, EventSourcePosition, @@ -35,6 +49,7 @@ import { FunctionUrlAuthType, FunctionVersion, FunctionVersionLatestPublished, + FunctionVersionsPerCapacityProviderLimitExceededException, GetAccountSettingsCommand, GetAliasCommand, GetCapacityProviderCommand, @@ -57,11 +72,22 @@ import { GetPolicyCommand, GetProvisionedConcurrencyConfigCommand, GetRuntimeManagementConfigCommand, + InvalidCodeSignatureException, + InvalidParameterValueException, + InvalidRequestContentException, + InvalidRuntimeException, + InvalidSecurityGroupIDException, + InvalidSubnetIDException, + InvalidZipFileException, InvocationType, InvokeAsyncCommand, InvokeCommand, InvokeMode, InvokeWithResponseStreamCommand, + KMSAccessDeniedException, + KMSDisabledException, + KMSInvalidStateException, + KMSNotFoundException, KafkaSchemaRegistryAuthType, KafkaSchemaValidationAttribute, Lambda, @@ -86,10 +112,14 @@ import { ListVersionsByFunctionCommand, LogFormat, LogType, + NoPublishedVersionException, OperationAction, OperationStatus, OperationType, PackageType, + PolicyLengthExceededException, + PreconditionFailedException, + ProvisionedConcurrencyConfigNotFoundException, ProvisionedConcurrencyStatusEnum, PublishLayerVersionCommand, PublishVersionCommand, @@ -100,25 +130,40 @@ import { PutFunctionScalingConfigCommand, PutProvisionedConcurrencyConfigCommand, PutRuntimeManagementConfigCommand, + RecursiveInvocationException, RecursiveLoop, RemoveLayerVersionPermissionCommand, RemovePermissionCommand, + RequestTooLargeException, + ResourceConflictException, + ResourceInUseException, + ResourceNotFoundException, + ResourceNotReadyException, ResponseStreamingInvocationType, Runtime, SchemaRegistryEventRecordFormat, SendDurableExecutionCallbackFailureCommand, SendDurableExecutionCallbackHeartbeatCommand, SendDurableExecutionCallbackSuccessCommand, + SerializedRequestEntityTooLargeException, + ServiceException, SnapStartApplyOn, + SnapStartException, + SnapStartNotReadyException, SnapStartOptimizationStatus, + SnapStartTimeoutException, SourceAccessType, State, StateReasonCode, StopDurableExecutionCommand, + SubnetIPAddressLimitReachedException, SystemLogLevel, TagResourceCommand, TenantIsolationMode, + ThrottleReason, + TooManyRequestsException, TracingMode, + UnsupportedMediaTypeException, UntagResourceCommand, UpdateAliasCommand, UpdateCapacityProviderCommand, @@ -289,9 +334,54 @@ assert(typeof State === "object"); assert(typeof StateReasonCode === "object"); assert(typeof SystemLogLevel === "object"); assert(typeof TenantIsolationMode === "object"); +assert(typeof ThrottleReason === "object"); assert(typeof TracingMode === "object"); assert(typeof UpdateRuntimeOn === "object"); // errors +assert(CallbackTimeoutException.prototype instanceof LambdaServiceException); +assert(CapacityProviderLimitExceededException.prototype instanceof LambdaServiceException); +assert(CodeSigningConfigNotFoundException.prototype instanceof LambdaServiceException); +assert(CodeStorageExceededException.prototype instanceof LambdaServiceException); +assert(CodeVerificationFailedException.prototype instanceof LambdaServiceException); +assert(DurableExecutionAlreadyStartedException.prototype instanceof LambdaServiceException); +assert(EC2AccessDeniedException.prototype instanceof LambdaServiceException); +assert(EC2ThrottledException.prototype instanceof LambdaServiceException); +assert(EC2UnexpectedException.prototype instanceof LambdaServiceException); +assert(EFSIOException.prototype instanceof LambdaServiceException); +assert(EFSMountConnectivityException.prototype instanceof LambdaServiceException); +assert(EFSMountFailureException.prototype instanceof LambdaServiceException); +assert(EFSMountTimeoutException.prototype instanceof LambdaServiceException); +assert(ENILimitReachedException.prototype instanceof LambdaServiceException); +assert(FunctionVersionsPerCapacityProviderLimitExceededException.prototype instanceof LambdaServiceException); +assert(InvalidCodeSignatureException.prototype instanceof LambdaServiceException); +assert(InvalidParameterValueException.prototype instanceof LambdaServiceException); +assert(InvalidRequestContentException.prototype instanceof LambdaServiceException); +assert(InvalidRuntimeException.prototype instanceof LambdaServiceException); +assert(InvalidSecurityGroupIDException.prototype instanceof LambdaServiceException); +assert(InvalidSubnetIDException.prototype instanceof LambdaServiceException); +assert(InvalidZipFileException.prototype instanceof LambdaServiceException); +assert(KMSAccessDeniedException.prototype instanceof LambdaServiceException); +assert(KMSDisabledException.prototype instanceof LambdaServiceException); +assert(KMSInvalidStateException.prototype instanceof LambdaServiceException); +assert(KMSNotFoundException.prototype instanceof LambdaServiceException); +assert(NoPublishedVersionException.prototype instanceof LambdaServiceException); +assert(PolicyLengthExceededException.prototype instanceof LambdaServiceException); +assert(PreconditionFailedException.prototype instanceof LambdaServiceException); +assert(ProvisionedConcurrencyConfigNotFoundException.prototype instanceof LambdaServiceException); +assert(RecursiveInvocationException.prototype instanceof LambdaServiceException); +assert(RequestTooLargeException.prototype instanceof LambdaServiceException); +assert(ResourceConflictException.prototype instanceof LambdaServiceException); +assert(ResourceInUseException.prototype instanceof LambdaServiceException); +assert(ResourceNotFoundException.prototype instanceof LambdaServiceException); +assert(ResourceNotReadyException.prototype instanceof LambdaServiceException); +assert(SerializedRequestEntityTooLargeException.prototype instanceof LambdaServiceException); +assert(ServiceException.prototype instanceof LambdaServiceException); +assert(SnapStartException.prototype instanceof LambdaServiceException); +assert(SnapStartNotReadyException.prototype instanceof LambdaServiceException); +assert(SnapStartTimeoutException.prototype instanceof LambdaServiceException); +assert(SubnetIPAddressLimitReachedException.prototype instanceof LambdaServiceException); +assert(TooManyRequestsException.prototype instanceof LambdaServiceException); +assert(UnsupportedMediaTypeException.prototype instanceof LambdaServiceException); assert(LambdaServiceException.prototype instanceof Error); // waiters assert(typeof waitForFunctionActive === "function"); diff --git a/clients/client-lambda/test/index-types.ts b/clients/client-lambda/test/index-types.ts index fa993ad803ce..52f6b3d80fa8 100644 --- a/clients/client-lambda/test/index-types.ts +++ b/clients/client-lambda/test/index-types.ts @@ -297,6 +297,7 @@ export type { StateReasonCode, SystemLogLevel, TenantIsolationMode, + ThrottleReason, TracingMode, UpdateRuntimeOn, AccountLimit, @@ -559,6 +560,50 @@ export type { WaitOptions, WaitStartedDetails, WaitSucceededDetails, + CallbackTimeoutException, + CapacityProviderLimitExceededException, + CodeSigningConfigNotFoundException, + CodeStorageExceededException, + CodeVerificationFailedException, + DurableExecutionAlreadyStartedException, + EC2AccessDeniedException, + EC2ThrottledException, + EC2UnexpectedException, + EFSIOException, + EFSMountConnectivityException, + EFSMountFailureException, + EFSMountTimeoutException, + ENILimitReachedException, + FunctionVersionsPerCapacityProviderLimitExceededException, + InvalidCodeSignatureException, + InvalidParameterValueException, + InvalidRequestContentException, + InvalidRuntimeException, + InvalidSecurityGroupIDException, + InvalidSubnetIDException, + InvalidZipFileException, + KMSAccessDeniedException, + KMSDisabledException, + KMSInvalidStateException, + KMSNotFoundException, + NoPublishedVersionException, + PolicyLengthExceededException, + PreconditionFailedException, + ProvisionedConcurrencyConfigNotFoundException, + RecursiveInvocationException, + RequestTooLargeException, + ResourceConflictException, + ResourceInUseException, + ResourceNotFoundException, + ResourceNotReadyException, + SerializedRequestEntityTooLargeException, + ServiceException, + SnapStartException, + SnapStartNotReadyException, + SnapStartTimeoutException, + SubnetIPAddressLimitReachedException, + TooManyRequestsException, + UnsupportedMediaTypeException, LambdaServiceException, waitForFunctionActive, waitForFunctionActiveV2, diff --git a/clients/client-launch-wizard/src/schemas/schemas_0.ts b/clients/client-launch-wizard/src/schemas/schemas_0.ts index 669a6eb30130..30addd63b075 100644 --- a/clients/client-launch-wizard/src/schemas/schemas_0.ts +++ b/clients/client-launch-wizard/src/schemas/schemas_0.ts @@ -275,7 +275,6 @@ export var WorkloadDeploymentPatternDataSummary: StaticStructureSchema = [ [_wN, _dPN, _wVN, _dN, _d, _st, _sM], [0, 0, 0, 0, 0, 0, 0], ]; -export var __Unit = "unit" as const; export var LaunchWizardServiceException: StaticErrorSchema = [-3, _sm, "LaunchWizardServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(LaunchWizardServiceException, __LaunchWizardServiceException); export var AllowedValues = 64 | 0; diff --git a/clients/client-launch-wizard/test/index-objects.spec.mjs b/clients/client-launch-wizard/test/index-objects.spec.mjs index 086e815329a7..05c126542ae9 100644 --- a/clients/client-launch-wizard/test/index-objects.spec.mjs +++ b/clients/client-launch-wizard/test/index-objects.spec.mjs @@ -7,6 +7,7 @@ import { GetDeploymentCommand, GetWorkloadCommand, GetWorkloadDeploymentPatternCommand, + InternalServerException, LaunchWizard, LaunchWizardClient, LaunchWizardServiceException, @@ -15,8 +16,11 @@ import { ListTagsForResourceCommand, ListWorkloadDeploymentPatternsCommand, ListWorkloadsCommand, + ResourceLimitException, + ResourceNotFoundException, TagResourceCommand, UntagResourceCommand, + ValidationException, WorkloadDeploymentPatternStatus, WorkloadStatus, paginateListDeploymentEvents, @@ -48,6 +52,10 @@ assert(typeof EventStatus === "object"); assert(typeof WorkloadDeploymentPatternStatus === "object"); assert(typeof WorkloadStatus === "object"); // errors +assert(InternalServerException.prototype instanceof LaunchWizardServiceException); +assert(ResourceLimitException.prototype instanceof LaunchWizardServiceException); +assert(ResourceNotFoundException.prototype instanceof LaunchWizardServiceException); +assert(ValidationException.prototype instanceof LaunchWizardServiceException); assert(LaunchWizardServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDeploymentEvents === "function"); diff --git a/clients/client-launch-wizard/test/index-types.ts b/clients/client-launch-wizard/test/index-types.ts index da1d6c5726f5..1bb631b05e40 100644 --- a/clients/client-launch-wizard/test/index-types.ts +++ b/clients/client-launch-wizard/test/index-types.ts @@ -77,6 +77,10 @@ export type { WorkloadDataSummary, WorkloadDeploymentPatternData, WorkloadDeploymentPatternDataSummary, + InternalServerException, + ResourceLimitException, + ResourceNotFoundException, + ValidationException, LaunchWizardServiceException, paginateListDeploymentEvents, paginateListDeployments, diff --git a/clients/client-lex-model-building-service/test/index-objects.spec.mjs b/clients/client-lex-model-building-service/test/index-objects.spec.mjs index d18e3bd0026d..c34694befe34 100644 --- a/clients/client-lex-model-building-service/test/index-objects.spec.mjs +++ b/clients/client-lex-model-building-service/test/index-objects.spec.mjs @@ -1,6 +1,9 @@ import { + AccessDeniedException, + BadRequestException, ChannelStatus, ChannelType, + ConflictException, ContentType, CreateBotVersionCommand, CreateIntentVersionCommand, @@ -40,9 +43,11 @@ import { GetSlotTypesCommand, GetUtterancesViewCommand, ImportStatus, + InternalFailureException, LexModelBuildingService, LexModelBuildingServiceClient, LexModelBuildingServiceServiceException, + LimitExceededException, ListTagsForResourceCommand, Locale, LogType, @@ -51,12 +56,16 @@ import { MigrationSortAttribute, MigrationStatus, MigrationStrategy, + NotFoundException, ObfuscationSetting, + PreconditionFailedException, ProcessBehavior, PutBotAliasCommand, PutBotCommand, PutIntentCommand, PutSlotTypeCommand, + ReferenceType, + ResourceInUseException, ResourceType, SlotConstraint, SlotValueSelectionStrategy, @@ -144,6 +153,7 @@ assert(typeof MigrationStatus === "object"); assert(typeof MigrationStrategy === "object"); assert(typeof ObfuscationSetting === "object"); assert(typeof ProcessBehavior === "object"); +assert(typeof ReferenceType === "object"); assert(typeof ResourceType === "object"); assert(typeof SlotConstraint === "object"); assert(typeof SlotValueSelectionStrategy === "object"); @@ -151,6 +161,14 @@ assert(typeof SortOrder === "object"); assert(typeof Status === "object"); assert(typeof StatusType === "object"); // errors +assert(AccessDeniedException.prototype instanceof LexModelBuildingServiceServiceException); +assert(BadRequestException.prototype instanceof LexModelBuildingServiceServiceException); +assert(ConflictException.prototype instanceof LexModelBuildingServiceServiceException); +assert(InternalFailureException.prototype instanceof LexModelBuildingServiceServiceException); +assert(LimitExceededException.prototype instanceof LexModelBuildingServiceServiceException); +assert(NotFoundException.prototype instanceof LexModelBuildingServiceServiceException); +assert(PreconditionFailedException.prototype instanceof LexModelBuildingServiceServiceException); +assert(ResourceInUseException.prototype instanceof LexModelBuildingServiceServiceException); assert(LexModelBuildingServiceServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetBotAliases === "function"); diff --git a/clients/client-lex-model-building-service/test/index-types.ts b/clients/client-lex-model-building-service/test/index-types.ts index f590bdf5acae..25bd9a55e18a 100644 --- a/clients/client-lex-model-building-service/test/index-types.ts +++ b/clients/client-lex-model-building-service/test/index-types.ts @@ -145,6 +145,7 @@ export type { MigrationStrategy, ObfuscationSetting, ProcessBehavior, + ReferenceType, ResourceType, SlotConstraint, SlotValueSelectionStrategy, @@ -241,6 +242,7 @@ export type { PutIntentResponse, PutSlotTypeRequest, PutSlotTypeResponse, + ResourceReference, Slot, SlotDefaultValue, SlotDefaultValueSpec, @@ -259,6 +261,14 @@ export type { UntagResourceResponse, UtteranceData, UtteranceList, + AccessDeniedException, + BadRequestException, + ConflictException, + InternalFailureException, + LimitExceededException, + NotFoundException, + PreconditionFailedException, + ResourceInUseException, LexModelBuildingServiceServiceException, paginateGetBotAliases, paginateGetBotChannelAssociations, diff --git a/clients/client-lex-models-v2/test/index-objects.spec.mjs b/clients/client-lex-models-v2/test/index-objects.spec.mjs index 64810db3ec09..569f8056685f 100644 --- a/clients/client-lex-models-v2/test/index-objects.spec.mjs +++ b/clients/client-lex-models-v2/test/index-objects.spec.mjs @@ -51,6 +51,7 @@ import { BuildBotLocaleCommand, BuiltInIntentSortAttribute, BuiltInSlotTypeSortAttribute, + ConflictException, ConversationEndState, ConversationLogsInputModeFilter, CreateBotAliasCommand, @@ -121,6 +122,7 @@ import { IntentFilterOperator, IntentSortAttribute, IntentState, + InternalServerException, LexModelsV2, LexModelsV2Client, LexModelsV2ServiceException, @@ -158,9 +160,12 @@ import { MergeStrategy, MessageSelectionStrategy, ObfuscationSettingType, + PreconditionFailedException, PromptAttempt, + ResourceNotFoundException, SearchAssociatedTranscriptsCommand, SearchOrder, + ServiceQuotaExceededException, SlotConstraint, SlotFilterName, SlotFilterOperator, @@ -193,6 +198,7 @@ import { TestSetModality, TestSetSortAttribute, TestSetStatus, + ThrottlingException, TimeDimension, TranscriptFormat, UntagResourceCommand, @@ -207,6 +213,7 @@ import { UpdateSlotTypeCommand, UpdateTestSetCommand, UtteranceContentType, + ValidationException, VoiceEngine, paginateListAggregatedUtterances, paginateListBotAliasReplicas, @@ -466,6 +473,13 @@ assert(typeof TranscriptFormat === "object"); assert(typeof UtteranceContentType === "object"); assert(typeof VoiceEngine === "object"); // errors +assert(ConflictException.prototype instanceof LexModelsV2ServiceException); +assert(InternalServerException.prototype instanceof LexModelsV2ServiceException); +assert(PreconditionFailedException.prototype instanceof LexModelsV2ServiceException); +assert(ResourceNotFoundException.prototype instanceof LexModelsV2ServiceException); +assert(ServiceQuotaExceededException.prototype instanceof LexModelsV2ServiceException); +assert(ThrottlingException.prototype instanceof LexModelsV2ServiceException); +assert(ValidationException.prototype instanceof LexModelsV2ServiceException); assert(LexModelsV2ServiceException.prototype instanceof Error); // waiters assert(typeof waitForBotAliasAvailable === "function"); diff --git a/clients/client-lex-models-v2/test/index-types.ts b/clients/client-lex-models-v2/test/index-types.ts index 52f7cef97706..27a8075fe7ee 100644 --- a/clients/client-lex-models-v2/test/index-types.ts +++ b/clients/client-lex-models-v2/test/index-types.ts @@ -877,6 +877,13 @@ export type { UtteranceSpecification, VoiceSettings, WaitAndContinueSpecification, + ConflictException, + InternalServerException, + PreconditionFailedException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, LexModelsV2ServiceException, waitForBotAliasAvailable, waitForBotAvailable, diff --git a/clients/client-lex-runtime-service/src/schemas/schemas_0.ts b/clients/client-lex-runtime-service/src/schemas/schemas_0.ts index 38fa991bc3b9..e14c38244422 100644 --- a/clients/client-lex-runtime-service/src/schemas/schemas_0.ts +++ b/clients/client-lex-runtime-service/src/schemas/schemas_0.ts @@ -399,7 +399,6 @@ export var ResponseCard: StaticStructureSchema = [3, n0, _RC, 0, [_ve, _cT, _gA] export var SentimentResponse: StaticStructureSchema = [3, n0, _SR, 0, [_sL, _sS], [0, 0]]; export var UnsupportedMediaTypeException: StaticErrorSchema = [-3, n0, _UMTE, { [_e]: _c, [_hE]: 415 }, [_m], [0]]; TypeRegistry.for(n0).registerError(UnsupportedMediaTypeException, __UnsupportedMediaTypeException); -export var __Unit = "unit" as const; export var LexRuntimeServiceServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-lex-runtime-service/test/index-objects.spec.mjs b/clients/client-lex-runtime-service/test/index-objects.spec.mjs index 91b73c0c8cd3..8a1ab5162c95 100644 --- a/clients/client-lex-runtime-service/test/index-objects.spec.mjs +++ b/clients/client-lex-runtime-service/test/index-objects.spec.mjs @@ -1,18 +1,29 @@ import { + BadGatewayException, + BadRequestException, ConfirmationStatus, + ConflictException, ContentType, DeleteSessionCommand, + DependencyFailedException, DialogActionType, DialogState, FulfillmentState, GetSessionCommand, + InternalFailureException, LexRuntimeService, LexRuntimeServiceClient, LexRuntimeServiceServiceException, + LimitExceededException, + LoopDetectedException, MessageFormatType, + NotAcceptableException, + NotFoundException, PostContentCommand, PostTextCommand, PutSessionCommand, + RequestTimeoutException, + UnsupportedMediaTypeException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -32,5 +43,16 @@ assert(typeof DialogState === "object"); assert(typeof FulfillmentState === "object"); assert(typeof MessageFormatType === "object"); // errors +assert(BadGatewayException.prototype instanceof LexRuntimeServiceServiceException); +assert(BadRequestException.prototype instanceof LexRuntimeServiceServiceException); +assert(ConflictException.prototype instanceof LexRuntimeServiceServiceException); +assert(DependencyFailedException.prototype instanceof LexRuntimeServiceServiceException); +assert(InternalFailureException.prototype instanceof LexRuntimeServiceServiceException); +assert(LimitExceededException.prototype instanceof LexRuntimeServiceServiceException); +assert(LoopDetectedException.prototype instanceof LexRuntimeServiceServiceException); +assert(NotAcceptableException.prototype instanceof LexRuntimeServiceServiceException); +assert(NotFoundException.prototype instanceof LexRuntimeServiceServiceException); +assert(RequestTimeoutException.prototype instanceof LexRuntimeServiceServiceException); +assert(UnsupportedMediaTypeException.prototype instanceof LexRuntimeServiceServiceException); assert(LexRuntimeServiceServiceException.prototype instanceof Error); console.log(`LexRuntimeService index test passed.`); diff --git a/clients/client-lex-runtime-service/test/index-types.ts b/clients/client-lex-runtime-service/test/index-types.ts index b6f872256d4d..fa71a962311f 100644 --- a/clients/client-lex-runtime-service/test/index-types.ts +++ b/clients/client-lex-runtime-service/test/index-types.ts @@ -43,5 +43,16 @@ export type { PutSessionResponse, ResponseCard, SentimentResponse, + BadGatewayException, + BadRequestException, + ConflictException, + DependencyFailedException, + InternalFailureException, + LimitExceededException, + LoopDetectedException, + NotAcceptableException, + NotFoundException, + RequestTimeoutException, + UnsupportedMediaTypeException, LexRuntimeServiceServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-lex-runtime-v2/src/schemas/schemas_0.ts b/clients/client-lex-runtime-v2/src/schemas/schemas_0.ts index 49d25a9a3475..a8de5c6023a3 100644 --- a/clients/client-lex-runtime-v2/src/schemas/schemas_0.ts +++ b/clients/client-lex-runtime-v2/src/schemas/schemas_0.ts @@ -448,7 +448,6 @@ export var TranscriptEvent: StaticStructureSchema = [3, n0, _TEr, 0, [_tr, _eI], export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var Value: StaticStructureSchema = [3, n0, _V, 0, [_oV, _iV, _rV], [0, 0, 64 | 0]]; -export var __Unit = "unit" as const; export var LexRuntimeV2ServiceException: StaticErrorSchema = [-3, _sm, "LexRuntimeV2ServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(LexRuntimeV2ServiceException, __LexRuntimeV2ServiceException); export var ActiveContextsList: StaticListSchema = [1, n0, _ACL, 0, [() => ActiveContext, 0]]; diff --git a/clients/client-license-manager-linux-subscriptions/test/index-objects.spec.mjs b/clients/client-license-manager-linux-subscriptions/test/index-objects.spec.mjs index c5610d3ead42..5be552df02ad 100644 --- a/clients/client-license-manager-linux-subscriptions/test/index-objects.spec.mjs +++ b/clients/client-license-manager-linux-subscriptions/test/index-objects.spec.mjs @@ -2,6 +2,7 @@ import { DeregisterSubscriptionProviderCommand, GetRegisteredSubscriptionProviderCommand, GetServiceSettingsCommand, + InternalServerException, LicenseManagerLinuxSubscriptions, LicenseManagerLinuxSubscriptionsClient, LicenseManagerLinuxSubscriptionsServiceException, @@ -13,12 +14,15 @@ import { Operator, OrganizationIntegration, RegisterSubscriptionProviderCommand, + ResourceNotFoundException, Status, SubscriptionProviderSource, SubscriptionProviderStatus, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateServiceSettingsCommand, + ValidationException, paginateListLinuxSubscriptionInstances, paginateListLinuxSubscriptions, paginateListRegisteredSubscriptionProviders, @@ -47,6 +51,10 @@ assert(typeof Status === "object"); assert(typeof SubscriptionProviderSource === "object"); assert(typeof SubscriptionProviderStatus === "object"); // errors +assert(InternalServerException.prototype instanceof LicenseManagerLinuxSubscriptionsServiceException); +assert(ResourceNotFoundException.prototype instanceof LicenseManagerLinuxSubscriptionsServiceException); +assert(ThrottlingException.prototype instanceof LicenseManagerLinuxSubscriptionsServiceException); +assert(ValidationException.prototype instanceof LicenseManagerLinuxSubscriptionsServiceException); assert(LicenseManagerLinuxSubscriptionsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListLinuxSubscriptionInstances === "function"); diff --git a/clients/client-license-manager-linux-subscriptions/test/index-types.ts b/clients/client-license-manager-linux-subscriptions/test/index-types.ts index 930dbfa16823..b7d366f692ba 100644 --- a/clients/client-license-manager-linux-subscriptions/test/index-types.ts +++ b/clients/client-license-manager-linux-subscriptions/test/index-types.ts @@ -68,6 +68,10 @@ export type { UntagResourceResponse, UpdateServiceSettingsRequest, UpdateServiceSettingsResponse, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, LicenseManagerLinuxSubscriptionsServiceException, paginateListLinuxSubscriptionInstances, paginateListLinuxSubscriptions, diff --git a/clients/client-license-manager-user-subscriptions/test/index-objects.spec.mjs b/clients/client-license-manager-user-subscriptions/test/index-objects.spec.mjs index 5f6ecf1017d7..9050d70b0637 100644 --- a/clients/client-license-manager-user-subscriptions/test/index-objects.spec.mjs +++ b/clients/client-license-manager-user-subscriptions/test/index-objects.spec.mjs @@ -1,10 +1,13 @@ import { + AccessDeniedException, ActiveDirectoryType, AssociateUserCommand, + ConflictException, CreateLicenseServerEndpointCommand, DeleteLicenseServerEndpointCommand, DeregisterIdentityProviderCommand, DisassociateUserCommand, + InternalServerException, LicenseManagerUserSubscriptions, LicenseManagerUserSubscriptionsClient, LicenseManagerUserSubscriptionsServiceException, @@ -17,12 +20,16 @@ import { ListTagsForResourceCommand, ListUserAssociationsCommand, RegisterIdentityProviderCommand, + ResourceNotFoundException, ServerType, + ServiceQuotaExceededException, StartProductSubscriptionCommand, StopProductSubscriptionCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateIdentityProviderSettingsCommand, + ValidationException, paginateListIdentityProviders, paginateListInstances, paginateListLicenseServerEndpoints, @@ -57,6 +64,13 @@ assert(typeof LicenseServerEndpointProvisioningStatus === "object"); assert(typeof LicenseServerHealthStatus === "object"); assert(typeof ServerType === "object"); // errors +assert(AccessDeniedException.prototype instanceof LicenseManagerUserSubscriptionsServiceException); +assert(ConflictException.prototype instanceof LicenseManagerUserSubscriptionsServiceException); +assert(InternalServerException.prototype instanceof LicenseManagerUserSubscriptionsServiceException); +assert(ResourceNotFoundException.prototype instanceof LicenseManagerUserSubscriptionsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof LicenseManagerUserSubscriptionsServiceException); +assert(ThrottlingException.prototype instanceof LicenseManagerUserSubscriptionsServiceException); +assert(ValidationException.prototype instanceof LicenseManagerUserSubscriptionsServiceException); assert(LicenseManagerUserSubscriptionsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListIdentityProviders === "function"); diff --git a/clients/client-license-manager-user-subscriptions/test/index-types.ts b/clients/client-license-manager-user-subscriptions/test/index-types.ts index e4ffea795981..cb5c2c4d3f13 100644 --- a/clients/client-license-manager-user-subscriptions/test/index-types.ts +++ b/clients/client-license-manager-user-subscriptions/test/index-types.ts @@ -110,6 +110,13 @@ export type { UpdateIdentityProviderSettingsRequest, UpdateIdentityProviderSettingsResponse, UpdateSettings, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, LicenseManagerUserSubscriptionsServiceException, paginateListIdentityProviders, paginateListInstances, diff --git a/clients/client-license-manager/src/schemas/schemas_0.ts b/clients/client-license-manager/src/schemas/schemas_0.ts index ec617c7aaf88..96170541c0da 100644 --- a/clients/client-license-manager/src/schemas/schemas_0.ts +++ b/clients/client-license-manager/src/schemas/schemas_0.ts @@ -1488,7 +1488,6 @@ export var UpdateServiceSettingsRequest: StaticStructureSchema = [ export var UpdateServiceSettingsResponse: StaticStructureSchema = [3, n0, _USSRp, 0, [], []]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var LicenseManagerServiceException: StaticErrorSchema = [-3, _sm, "LicenseManagerServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(LicenseManagerServiceException, __LicenseManagerServiceException); export var AllowedOperationList = 64 | 0; diff --git a/clients/client-license-manager/test/index-objects.spec.mjs b/clients/client-license-manager/test/index-objects.spec.mjs index 7fbac2372c33..a55e7d2da634 100644 --- a/clients/client-license-manager/test/index-objects.spec.mjs +++ b/clients/client-license-manager/test/index-objects.spec.mjs @@ -1,11 +1,14 @@ import { AcceptGrantCommand, + AccessDeniedException, ActivationOverrideBehavior, AllowedOperation, + AuthorizationException, CheckInLicenseCommand, CheckoutBorrowLicenseCommand, CheckoutLicenseCommand, CheckoutType, + ConflictException, CreateGrantCommand, CreateGrantVersionCommand, CreateLicenseAssetGroupCommand, @@ -25,8 +28,11 @@ import { DeleteTokenCommand, DigitalSignatureMethod, EntitlementDataUnit, + EntitlementNotAllowedException, EntitlementUnit, ExtendLicenseConsumptionCommand, + FailedDependencyException, + FilterLimitExceededException, GetAccessTokenCommand, GetGrantCommand, GetLicenseAssetGroupCommand, @@ -38,6 +44,8 @@ import { GetLicenseUsageCommand, GetServiceSettingsCommand, GrantStatus, + InvalidParameterValueException, + InvalidResourceStateException, InventoryFilterCondition, LicenseAssetGroupStatus, LicenseConfigurationStatus, @@ -48,6 +56,7 @@ import { LicenseManagerClient, LicenseManagerServiceException, LicenseStatus, + LicenseUsageException, ListAssetsForLicenseAssetGroupCommand, ListAssociationsForLicenseConfigurationCommand, ListDistributedGrantsCommand, @@ -69,15 +78,22 @@ import { ListTagsForResourceCommand, ListTokensCommand, ListUsageForLicenseConfigurationCommand, + NoEntitlementsAllowedException, ProductCodeType, + RateLimitExceededException, ReceivedStatus, + RedirectException, RejectGrantCommand, RenewType, ReportFrequencyType, ReportType, + ResourceLimitExceededException, + ResourceNotFoundException, ResourceType, + ServerInternalException, TagResourceCommand, TokenType, + UnsupportedDigitalSignatureMethodException, UntagResourceCommand, UpdateLicenseAssetGroupCommand, UpdateLicenseAssetRulesetCommand, @@ -85,6 +101,7 @@ import { UpdateLicenseManagerReportGeneratorCommand, UpdateLicenseSpecificationsForResourceCommand, UpdateServiceSettingsCommand, + ValidationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -176,5 +193,22 @@ assert(typeof ReportType === "object"); assert(typeof ResourceType === "object"); assert(typeof TokenType === "object"); // errors +assert(AccessDeniedException.prototype instanceof LicenseManagerServiceException); +assert(AuthorizationException.prototype instanceof LicenseManagerServiceException); +assert(ConflictException.prototype instanceof LicenseManagerServiceException); +assert(EntitlementNotAllowedException.prototype instanceof LicenseManagerServiceException); +assert(FailedDependencyException.prototype instanceof LicenseManagerServiceException); +assert(FilterLimitExceededException.prototype instanceof LicenseManagerServiceException); +assert(InvalidParameterValueException.prototype instanceof LicenseManagerServiceException); +assert(InvalidResourceStateException.prototype instanceof LicenseManagerServiceException); +assert(LicenseUsageException.prototype instanceof LicenseManagerServiceException); +assert(NoEntitlementsAllowedException.prototype instanceof LicenseManagerServiceException); +assert(RateLimitExceededException.prototype instanceof LicenseManagerServiceException); +assert(RedirectException.prototype instanceof LicenseManagerServiceException); +assert(ResourceLimitExceededException.prototype instanceof LicenseManagerServiceException); +assert(ResourceNotFoundException.prototype instanceof LicenseManagerServiceException); +assert(ServerInternalException.prototype instanceof LicenseManagerServiceException); +assert(UnsupportedDigitalSignatureMethodException.prototype instanceof LicenseManagerServiceException); +assert(ValidationException.prototype instanceof LicenseManagerServiceException); assert(LicenseManagerServiceException.prototype instanceof Error); console.log(`LicenseManager index test passed.`); diff --git a/clients/client-license-manager/test/index-types.ts b/clients/client-license-manager/test/index-types.ts index a43d3516159d..e708816343f4 100644 --- a/clients/client-license-manager/test/index-types.ts +++ b/clients/client-license-manager/test/index-types.ts @@ -390,5 +390,22 @@ export type { UpdateLicenseSpecificationsForResourceResponse, UpdateServiceSettingsRequest, UpdateServiceSettingsResponse, + AccessDeniedException, + AuthorizationException, + ConflictException, + EntitlementNotAllowedException, + FailedDependencyException, + FilterLimitExceededException, + InvalidParameterValueException, + InvalidResourceStateException, + LicenseUsageException, + NoEntitlementsAllowedException, + RateLimitExceededException, + RedirectException, + ResourceLimitExceededException, + ResourceNotFoundException, + ServerInternalException, + UnsupportedDigitalSignatureMethodException, + ValidationException, LicenseManagerServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-lightsail/src/schemas/schemas_0.ts b/clients/client-lightsail/src/schemas/schemas_0.ts index 9fa3e0d33c53..3fb702fe99ce 100644 --- a/clients/client-lightsail/src/schemas/schemas_0.ts +++ b/clients/client-lightsail/src/schemas/schemas_0.ts @@ -3164,7 +3164,6 @@ export var UpdateRelationalDatabaseRequest: StaticStructureSchema = [ [0, [() => SensitiveString, 0], 2, 0, 0, 2, 2, 2, 2, 0, 0], ]; export var UpdateRelationalDatabaseResult: StaticStructureSchema = [3, n0, _URDRp, 0, [_o], [() => OperationList]]; -export var __Unit = "unit" as const; export var LightsailServiceException: StaticErrorSchema = [-3, _sm, "LightsailServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(LightsailServiceException, __LightsailServiceException); export var AccessKeyList: StaticListSchema = [1, n0, _AKL, 0, [() => AccessKey, 0]]; diff --git a/clients/client-lightsail/test/index-objects.spec.mjs b/clients/client-lightsail/test/index-objects.spec.mjs index 9ef65e0da479..fb6ac86cbfbb 100644 --- a/clients/client-lightsail/test/index-objects.spec.mjs +++ b/clients/client-lightsail/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AccessDirection, AccessType, AccountLevelBpaSyncStatus, + AccountSetupInProgressException, AddOnType, AlarmState, AllocateStaticIpCommand, @@ -170,6 +172,7 @@ import { InstanceMetricName, InstancePlatform, InstanceSnapshotState, + InvalidInputException, IpAddressType, IsVpcPeeredCommand, Lightsail, @@ -190,7 +193,9 @@ import { MetricUnit, NameServersUpdateStateCode, NetworkProtocol, + NotFoundException, OpenInstancePublicPortsCommand, + OperationFailureException, OperationStatus, OperationType, OriginProtocolPolicyEnum, @@ -206,6 +211,7 @@ import { RebootRelationalDatabaseCommand, RecordState, RegionName, + RegionSetupInProgressException, RegisterContainerImageCommand, RelationalDatabaseEngine, RelationalDatabaseMetricName, @@ -216,6 +222,7 @@ import { ResourceBucketAccess, ResourceType, SendContactMethodVerificationCommand, + ServiceException, SetIpAddressTypeCommand, SetResourceAccessForBucketCommand, SetupInstanceHttpsCommand, @@ -231,6 +238,7 @@ import { TagResourceCommand, TestAlarmCommand, TreatMissingData, + UnauthenticatedException, UnpeerVpcCommand, UntagResourceCommand, UpdateBucketBundleCommand, @@ -494,5 +502,13 @@ assert(typeof StatusType === "object"); assert(typeof TreatMissingData === "object"); assert(typeof ViewerMinimumTlsProtocolVersionEnum === "object"); // errors +assert(AccessDeniedException.prototype instanceof LightsailServiceException); +assert(AccountSetupInProgressException.prototype instanceof LightsailServiceException); +assert(InvalidInputException.prototype instanceof LightsailServiceException); +assert(NotFoundException.prototype instanceof LightsailServiceException); +assert(OperationFailureException.prototype instanceof LightsailServiceException); +assert(RegionSetupInProgressException.prototype instanceof LightsailServiceException); +assert(ServiceException.prototype instanceof LightsailServiceException); +assert(UnauthenticatedException.prototype instanceof LightsailServiceException); assert(LightsailServiceException.prototype instanceof Error); console.log(`Lightsail index test passed.`); diff --git a/clients/client-lightsail/test/index-types.ts b/clients/client-lightsail/test/index-types.ts index b89fa29f4e63..e317acf589e7 100644 --- a/clients/client-lightsail/test/index-types.ts +++ b/clients/client-lightsail/test/index-types.ts @@ -1009,5 +1009,13 @@ export type { UpdateRelationalDatabaseParametersResult, UpdateRelationalDatabaseRequest, UpdateRelationalDatabaseResult, + AccessDeniedException, + AccountSetupInProgressException, + InvalidInputException, + NotFoundException, + OperationFailureException, + RegionSetupInProgressException, + ServiceException, + UnauthenticatedException, LightsailServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-location/test/index-objects.spec.mjs b/clients/client-location/test/index-objects.spec.mjs index a73c000e5957..f68f638185b3 100644 --- a/clients/client-location/test/index-objects.spec.mjs +++ b/clients/client-location/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AssociateTrackerConsumerCommand, BatchDeleteDevicePositionHistoryCommand, BatchDeleteGeofenceCommand, @@ -8,6 +9,7 @@ import { BatchUpdateDevicePositionCommand, CalculateRouteCommand, CalculateRouteMatrixCommand, + ConflictException, CreateGeofenceCollectionCommand, CreateKeyCommand, CreateMapCommand, @@ -36,6 +38,7 @@ import { GetMapStyleDescriptorCommand, GetMapTileCommand, GetPlaceCommand, + InternalServerException, ListDevicePositionsCommand, ListGeofenceCollectionsCommand, ListGeofencesCommand, @@ -50,10 +53,13 @@ import { LocationClient, LocationServiceException, PutGeofenceCommand, + ResourceNotFoundException, SearchPlaceIndexForPositionCommand, SearchPlaceIndexForSuggestionsCommand, SearchPlaceIndexForTextCommand, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateGeofenceCollectionCommand, UpdateKeyCommand, @@ -61,6 +67,7 @@ import { UpdatePlaceIndexCommand, UpdateRouteCalculatorCommand, UpdateTrackerCommand, + ValidationException, VerifyDevicePositionCommand, paginateForecastGeofenceEvents, paginateGetDevicePositionHistory, @@ -140,6 +147,13 @@ assert(typeof UpdateRouteCalculatorCommand === "function"); assert(typeof UpdateTrackerCommand === "function"); assert(typeof VerifyDevicePositionCommand === "function"); // errors +assert(AccessDeniedException.prototype instanceof LocationServiceException); +assert(ConflictException.prototype instanceof LocationServiceException); +assert(InternalServerException.prototype instanceof LocationServiceException); +assert(ResourceNotFoundException.prototype instanceof LocationServiceException); +assert(ServiceQuotaExceededException.prototype instanceof LocationServiceException); +assert(ThrottlingException.prototype instanceof LocationServiceException); +assert(ValidationException.prototype instanceof LocationServiceException); assert(LocationServiceException.prototype instanceof Error); // paginators assert(typeof paginateForecastGeofenceEvents === "function"); diff --git a/clients/client-location/test/index-types.ts b/clients/client-location/test/index-types.ts index f80a11974144..2856744bd989 100644 --- a/clients/client-location/test/index-types.ts +++ b/clients/client-location/test/index-types.ts @@ -194,6 +194,7 @@ export type { SpeedUnit, Status, TravelMode, + ValidationExceptionReason, VehicleWeightUnit, AndroidApp, ApiKeyFilter, @@ -371,9 +372,17 @@ export type { UpdateRouteCalculatorResponse, UpdateTrackerRequest, UpdateTrackerResponse, + ValidationExceptionField, VerifyDevicePositionRequest, VerifyDevicePositionResponse, WiFiAccessPoint, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, LocationServiceException, paginateForecastGeofenceEvents, paginateGetDevicePositionHistory, diff --git a/clients/client-lookoutequipment/test/index-objects.spec.mjs b/clients/client-lookoutequipment/test/index-objects.spec.mjs index 3083f7a45bb5..2499db070622 100644 --- a/clients/client-lookoutequipment/test/index-objects.spec.mjs +++ b/clients/client-lookoutequipment/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, AutoPromotionResult, + ConflictException, CreateDatasetCommand, CreateInferenceSchedulerCommand, CreateLabelCommand, @@ -30,6 +32,7 @@ import { InferenceExecutionStatus, InferenceSchedulerStatus, IngestionJobStatus, + InternalServerException, LabelRating, LatestInferenceResult, ListDataIngestionJobsCommand, @@ -54,7 +57,9 @@ import { ModelVersionStatus, Monotonicity, PutResourcePolicyCommand, + ResourceNotFoundException, RetrainingSchedulerStatus, + ServiceQuotaExceededException, StartDataIngestionJobCommand, StartInferenceSchedulerCommand, StartRetrainingSchedulerCommand, @@ -63,12 +68,14 @@ import { StopRetrainingSchedulerCommand, TagResourceCommand, TargetSamplingRate, + ThrottlingException, UntagResourceCommand, UpdateActiveModelVersionCommand, UpdateInferenceSchedulerCommand, UpdateLabelGroupCommand, UpdateModelCommand, UpdateRetrainingSchedulerCommand, + ValidationException, paginateListDataIngestionJobs, paginateListDatasets, paginateListInferenceEvents, @@ -155,6 +162,13 @@ assert(typeof RetrainingSchedulerStatus === "object"); assert(typeof StatisticalIssueStatus === "object"); assert(typeof TargetSamplingRate === "object"); // errors +assert(AccessDeniedException.prototype instanceof LookoutEquipmentServiceException); +assert(ConflictException.prototype instanceof LookoutEquipmentServiceException); +assert(InternalServerException.prototype instanceof LookoutEquipmentServiceException); +assert(ResourceNotFoundException.prototype instanceof LookoutEquipmentServiceException); +assert(ServiceQuotaExceededException.prototype instanceof LookoutEquipmentServiceException); +assert(ThrottlingException.prototype instanceof LookoutEquipmentServiceException); +assert(ValidationException.prototype instanceof LookoutEquipmentServiceException); assert(LookoutEquipmentServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDataIngestionJobs === "function"); diff --git a/clients/client-lookoutequipment/test/index-types.ts b/clients/client-lookoutequipment/test/index-types.ts index 173e354f8cdb..f8f3a3113fd1 100644 --- a/clients/client-lookoutequipment/test/index-types.ts +++ b/clients/client-lookoutequipment/test/index-types.ts @@ -294,6 +294,13 @@ export type { UpdateLabelGroupRequest, UpdateModelRequest, UpdateRetrainingSchedulerRequest, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, LookoutEquipmentServiceException, paginateListDataIngestionJobs, paginateListDatasets, diff --git a/clients/client-m2/test/index-objects.spec.mjs b/clients/client-m2/test/index-objects.spec.mjs index cb65d845490e..53580d857f26 100644 --- a/clients/client-m2/test/index-objects.spec.mjs +++ b/clients/client-m2/test/index-objects.spec.mjs @@ -1,10 +1,12 @@ import { + AccessDeniedException, ApplicationDeploymentLifecycle, ApplicationLifecycle, ApplicationVersionLifecycle, BatchJobExecutionStatus, BatchJobType, CancelBatchJobExecutionCommand, + ConflictException, CreateApplicationCommand, CreateDataSetExportTaskCommand, CreateDataSetImportTaskCommand, @@ -17,6 +19,7 @@ import { DeploymentLifecycle, EngineType, EnvironmentLifecycle, + ExecutionTimeoutException, GetApplicationCommand, GetApplicationVersionCommand, GetBatchJobExecutionCommand, @@ -26,6 +29,7 @@ import { GetDeploymentCommand, GetEnvironmentCommand, GetSignedBluinsightsUrlCommand, + InternalServerException, ListApplicationVersionsCommand, ListApplicationsCommand, ListBatchJobDefinitionsCommand, @@ -42,13 +46,19 @@ import { M2Client, M2ServiceException, NetworkType, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, StartApplicationCommand, StartBatchJobCommand, StopApplicationCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateApplicationCommand, UpdateEnvironmentCommand, + ValidationException, + ValidationExceptionReason, paginateListApplicationVersions, paginateListApplications, paginateListBatchJobDefinitions, @@ -113,7 +123,17 @@ assert(typeof DeploymentLifecycle === "object"); assert(typeof EngineType === "object"); assert(typeof EnvironmentLifecycle === "object"); assert(typeof NetworkType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof M2ServiceException); +assert(ConflictException.prototype instanceof M2ServiceException); +assert(ExecutionTimeoutException.prototype instanceof M2ServiceException); +assert(InternalServerException.prototype instanceof M2ServiceException); +assert(ResourceNotFoundException.prototype instanceof M2ServiceException); +assert(ServiceQuotaExceededException.prototype instanceof M2ServiceException); +assert(ServiceUnavailableException.prototype instanceof M2ServiceException); +assert(ThrottlingException.prototype instanceof M2ServiceException); +assert(ValidationException.prototype instanceof M2ServiceException); assert(M2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplicationVersions === "function"); diff --git a/clients/client-m2/test/index-types.ts b/clients/client-m2/test/index-types.ts index d0384869a1bf..bba27074c7e6 100644 --- a/clients/client-m2/test/index-types.ts +++ b/clients/client-m2/test/index-types.ts @@ -123,6 +123,7 @@ export type { EngineType, EnvironmentLifecycle, NetworkType, + ValidationExceptionReason, AlternateKey, ApplicationSummary, ApplicationVersionSummary, @@ -244,8 +245,18 @@ export type { UpdateApplicationResponse, UpdateEnvironmentRequest, UpdateEnvironmentResponse, + ValidationExceptionField, VsamAttributes, VsamDetailAttributes, + AccessDeniedException, + ConflictException, + ExecutionTimeoutException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, + ThrottlingException, + ValidationException, M2ServiceException, paginateListApplicationVersions, paginateListApplications, diff --git a/clients/client-machine-learning/src/schemas/schemas_0.ts b/clients/client-machine-learning/src/schemas/schemas_0.ts index 2ed7f618a93b..979b10de9a6c 100644 --- a/clients/client-machine-learning/src/schemas/schemas_0.ts +++ b/clients/client-machine-learning/src/schemas/schemas_0.ts @@ -513,7 +513,6 @@ export var UpdateEvaluationInput: StaticStructureSchema = [3, n0, _UEI, 0, [_EI, export var UpdateEvaluationOutput: StaticStructureSchema = [3, n0, _UEO, 0, [_EI], [0]]; export var UpdateMLModelInput: StaticStructureSchema = [3, n0, _UMLMI, 0, [_MLMI, _MLMN, _ST], [0, 0, 1]]; export var UpdateMLModelOutput: StaticStructureSchema = [3, n0, _UMLMO, 0, [_MLMI], [0]]; -export var __Unit = "unit" as const; export var MachineLearningServiceException: StaticErrorSchema = [-3, _sm, "MachineLearningServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MachineLearningServiceException, __MachineLearningServiceException); export var BatchPredictions: StaticListSchema = [1, n0, _BPa, 0, () => BatchPrediction]; diff --git a/clients/client-machine-learning/test/index-objects.spec.mjs b/clients/client-machine-learning/test/index-objects.spec.mjs index 9a232e1160df..b5f5a71bfeda 100644 --- a/clients/client-machine-learning/test/index-objects.spec.mjs +++ b/clients/client-machine-learning/test/index-objects.spec.mjs @@ -28,14 +28,22 @@ import { GetDataSourceCommand, GetEvaluationCommand, GetMLModelCommand, + IdempotentParameterMismatchException, + InternalServerException, + InvalidInputException, + InvalidTagException, + LimitExceededException, MLModelFilterVariable, MLModelType, MachineLearning, MachineLearningClient, MachineLearningServiceException, PredictCommand, + PredictorNotMountedException, RealtimeEndpointStatus, + ResourceNotFoundException, SortOrder, + TagLimitExceededException, TaggableResourceType, UpdateBatchPredictionCommand, UpdateDataSourceCommand, @@ -100,6 +108,14 @@ assert(typeof RealtimeEndpointStatus === "object"); assert(typeof SortOrder === "object"); assert(typeof TaggableResourceType === "object"); // errors +assert(IdempotentParameterMismatchException.prototype instanceof MachineLearningServiceException); +assert(InternalServerException.prototype instanceof MachineLearningServiceException); +assert(InvalidInputException.prototype instanceof MachineLearningServiceException); +assert(InvalidTagException.prototype instanceof MachineLearningServiceException); +assert(LimitExceededException.prototype instanceof MachineLearningServiceException); +assert(PredictorNotMountedException.prototype instanceof MachineLearningServiceException); +assert(ResourceNotFoundException.prototype instanceof MachineLearningServiceException); +assert(TagLimitExceededException.prototype instanceof MachineLearningServiceException); assert(MachineLearningServiceException.prototype instanceof Error); // waiters assert(typeof waitForBatchPredictionAvailable === "function"); diff --git a/clients/client-machine-learning/test/index-types.ts b/clients/client-machine-learning/test/index-types.ts index 3c8709e5bfda..ade0bdfb5fed 100644 --- a/clients/client-machine-learning/test/index-types.ts +++ b/clients/client-machine-learning/test/index-types.ts @@ -170,6 +170,14 @@ export type { UpdateEvaluationOutput, UpdateMLModelInput, UpdateMLModelOutput, + IdempotentParameterMismatchException, + InternalServerException, + InvalidInputException, + InvalidTagException, + LimitExceededException, + PredictorNotMountedException, + ResourceNotFoundException, + TagLimitExceededException, MachineLearningServiceException, waitForBatchPredictionAvailable, waitForDataSourceAvailable, diff --git a/clients/client-macie2/src/schemas/schemas_0.ts b/clients/client-macie2/src/schemas/schemas_0.ts index ce5a9027ff13..18961439011d 100644 --- a/clients/client-macie2/src/schemas/schemas_0.ts +++ b/clients/client-macie2/src/schemas/schemas_0.ts @@ -3791,7 +3791,6 @@ export var UserPausedDetails: StaticStructureSchema = [ export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [[0, { [_jN]: _m }]]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var WeeklySchedule: StaticStructureSchema = [3, n0, _WS, 0, [_dOW], [[0, { [_jN]: _dOW }]]]; -export var __Unit = "unit" as const; export var Macie2ServiceException: StaticErrorSchema = [-3, _sm, "Macie2ServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(Macie2ServiceException, __Macie2ServiceException); export var __listOf__string = 64 | 0; diff --git a/clients/client-macie2/test/index-objects.spec.mjs b/clients/client-macie2/test/index-objects.spec.mjs index 10ce1564da4f..c4bd71563d0b 100644 --- a/clients/client-macie2/test/index-objects.spec.mjs +++ b/clients/client-macie2/test/index-objects.spec.mjs @@ -1,5 +1,6 @@ import { AcceptInvitationCommand, + AccessDeniedException, AdminStatus, AllowListStatusCode, AllowsUnencryptedObjectUploads, @@ -13,6 +14,7 @@ import { BatchUpdateAutomatedDiscoveryAccountsCommand, BucketMetadataErrorCode, ClassificationScopeUpdateOperation, + ConflictException, CreateAllowListCommand, CreateClassificationJobCommand, CreateCustomDataIdentifierCommand, @@ -72,6 +74,7 @@ import { GetUsageStatisticsCommand, GetUsageTotalsCommand, GroupBy, + InternalServerException, IsDefinedInJob, IsMonitoredByJob, JobComparator, @@ -105,6 +108,7 @@ import { PutClassificationExportConfigurationCommand, PutFindingsPublicationConfigurationCommand, RelationshipStatus, + ResourceNotFoundException, RetrievalMode, RevealRequestStatus, RevealStatus, @@ -114,6 +118,7 @@ import { SearchResourcesSimpleCriterionKey, SearchResourcesSortAttributeName, SensitiveDataItemCategory, + ServiceQuotaExceededException, SeverityDescription, SharedAccess, SimpleCriterionKeyForJob, @@ -121,10 +126,12 @@ import { TagResourceCommand, TagTarget, TestCustomDataIdentifierCommand, + ThrottlingException, TimeRange, Type, UnavailabilityReasonCode, Unit, + UnprocessableEntityException, UntagResourceCommand, UpdateAllowListCommand, UpdateAutomatedDiscoveryConfigurationCommand, @@ -143,6 +150,7 @@ import { UsageStatisticsSortKey, UsageType, UserIdentityType, + ValidationException, paginateDescribeBuckets, paginateGetUsageStatistics, paginateListAllowLists, @@ -311,6 +319,14 @@ assert(typeof UsageStatisticsSortKey === "object"); assert(typeof UsageType === "object"); assert(typeof UserIdentityType === "object"); // errors +assert(AccessDeniedException.prototype instanceof Macie2ServiceException); +assert(ConflictException.prototype instanceof Macie2ServiceException); +assert(InternalServerException.prototype instanceof Macie2ServiceException); +assert(ResourceNotFoundException.prototype instanceof Macie2ServiceException); +assert(ServiceQuotaExceededException.prototype instanceof Macie2ServiceException); +assert(ThrottlingException.prototype instanceof Macie2ServiceException); +assert(UnprocessableEntityException.prototype instanceof Macie2ServiceException); +assert(ValidationException.prototype instanceof Macie2ServiceException); assert(Macie2ServiceException.prototype instanceof Error); // waiters assert(typeof waitForFindingRevealed === "function"); diff --git a/clients/client-macie2/test/index-types.ts b/clients/client-macie2/test/index-types.ts index 112faafd2016..f5927f5c27ef 100644 --- a/clients/client-macie2/test/index-types.ts +++ b/clients/client-macie2/test/index-types.ts @@ -609,6 +609,14 @@ export type { UserIdentityRoot, UserPausedDetails, WeeklySchedule, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UnprocessableEntityException, + ValidationException, Macie2ServiceException, waitForFindingRevealed, waitUntilFindingRevealed, diff --git a/clients/client-mailmanager/src/schemas/schemas_0.ts b/clients/client-mailmanager/src/schemas/schemas_0.ts index f2e86b782b2e..f962738daae1 100644 --- a/clients/client-mailmanager/src/schemas/schemas_0.ts +++ b/clients/client-mailmanager/src/schemas/schemas_0.ts @@ -1070,7 +1070,6 @@ export var UpdateTrafficPolicyRequest: StaticStructureSchema = [ export var UpdateTrafficPolicyResponse: StaticStructureSchema = [3, n0, _UTPRp, 0, [], []]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var MailManagerServiceException: StaticErrorSchema = [-3, _s, "MailManagerServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(MailManagerServiceException, __MailManagerServiceException); export var AddonInstances: StaticListSchema = [1, n0, _AId, 0, () => AddonInstance]; diff --git a/clients/client-mailmanager/test/index-objects.spec.mjs b/clients/client-mailmanager/test/index-objects.spec.mjs index df063509679c..a622b71dc174 100644 --- a/clients/client-mailmanager/test/index-objects.spec.mjs +++ b/clients/client-mailmanager/test/index-objects.spec.mjs @@ -1,11 +1,13 @@ import { AcceptAction, + AccessDeniedException, ActionFailurePolicy, ArchiveBooleanEmailAttribute, ArchiveBooleanOperator, ArchiveState, ArchiveStringEmailAttribute, ArchiveStringOperator, + ConflictException, CreateAddonInstanceCommand, CreateAddonSubscriptionCommand, CreateAddressListCommand, @@ -74,6 +76,7 @@ import { MailManagerClient, MailManagerServiceException, RegisterMemberToAddressListCommand, + ResourceNotFoundException, RetentionPeriod, RuleAddressListEmailAttribute, RuleBooleanEmailAttribute, @@ -90,6 +93,7 @@ import { RuleVerdictAttribute, RuleVerdictOperator, SearchState, + ServiceQuotaExceededException, SnsNotificationEncoding, SnsNotificationPayloadType, StartAddressListImportJobCommand, @@ -99,12 +103,14 @@ import { StopArchiveExportCommand, StopArchiveSearchCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateArchiveCommand, UpdateIngressPointCommand, UpdateRelayCommand, UpdateRuleSetCommand, UpdateTrafficPolicyCommand, + ValidationException, paginateListAddonInstances, paginateListAddonSubscriptions, paginateListAddressListImportJobs, @@ -228,6 +234,12 @@ assert(typeof SearchState === "object"); assert(typeof SnsNotificationEncoding === "object"); assert(typeof SnsNotificationPayloadType === "object"); // errors +assert(AccessDeniedException.prototype instanceof MailManagerServiceException); +assert(ConflictException.prototype instanceof MailManagerServiceException); +assert(ResourceNotFoundException.prototype instanceof MailManagerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MailManagerServiceException); +assert(ThrottlingException.prototype instanceof MailManagerServiceException); +assert(ValidationException.prototype instanceof MailManagerServiceException); assert(MailManagerServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAddonInstances === "function"); diff --git a/clients/client-mailmanager/test/index-types.ts b/clients/client-mailmanager/test/index-types.ts index e1a331498ea6..6352fb86d4e7 100644 --- a/clients/client-mailmanager/test/index-types.ts +++ b/clients/client-mailmanager/test/index-types.ts @@ -423,6 +423,12 @@ export type { UpdateRuleSetResponse, UpdateTrafficPolicyRequest, UpdateTrafficPolicyResponse, + AccessDeniedException, + ConflictException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, MailManagerServiceException, paginateListAddonInstances, paginateListAddonSubscriptions, diff --git a/clients/client-managedblockchain-query/test/index-objects.spec.mjs b/clients/client-managedblockchain-query/test/index-objects.spec.mjs index 3c62ec0c380d..c7f66ccc2622 100644 --- a/clients/client-managedblockchain-query/test/index-objects.spec.mjs +++ b/clients/client-managedblockchain-query/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, BatchGetTokenBalanceCommand, ConfirmationStatus, ErrorType, @@ -6,6 +7,7 @@ import { GetAssetContractCommand, GetTokenBalanceCommand, GetTransactionCommand, + InternalServerException, ListAssetContractsCommand, ListFilteredTransactionEventsCommand, ListFilteredTransactionEventsSortBy, @@ -19,7 +21,13 @@ import { QueryNetwork, QueryTokenStandard, QueryTransactionEventType, + ResourceNotFoundException, + ResourceType, + ServiceQuotaExceededException, SortOrder, + ThrottlingException, + ValidationException, + ValidationExceptionReason, paginateListAssetContracts, paginateListFilteredTransactionEvents, paginateListTokenBalances, @@ -49,8 +57,16 @@ assert(typeof ListTransactionsSortBy === "object"); assert(typeof QueryNetwork === "object"); assert(typeof QueryTokenStandard === "object"); assert(typeof QueryTransactionEventType === "object"); +assert(typeof ResourceType === "object"); assert(typeof SortOrder === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof ManagedBlockchainQueryServiceException); +assert(InternalServerException.prototype instanceof ManagedBlockchainQueryServiceException); +assert(ResourceNotFoundException.prototype instanceof ManagedBlockchainQueryServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ManagedBlockchainQueryServiceException); +assert(ThrottlingException.prototype instanceof ManagedBlockchainQueryServiceException); +assert(ValidationException.prototype instanceof ManagedBlockchainQueryServiceException); assert(ManagedBlockchainQueryServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAssetContracts === "function"); diff --git a/clients/client-managedblockchain-query/test/index-types.ts b/clients/client-managedblockchain-query/test/index-types.ts index 9454ed77e641..61bdbdb1a940 100644 --- a/clients/client-managedblockchain-query/test/index-types.ts +++ b/clients/client-managedblockchain-query/test/index-types.ts @@ -37,7 +37,9 @@ export type { QueryNetwork, QueryTokenStandard, QueryTransactionEventType, + ResourceType, SortOrder, + ValidationExceptionReason, AddressIdentifierFilter, AssetContract, BatchGetTokenBalanceErrorItem, @@ -77,7 +79,14 @@ export type { Transaction, TransactionEvent, TransactionOutputItem, + ValidationExceptionField, VoutFilter, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ManagedBlockchainQueryServiceException, paginateListAssetContracts, paginateListFilteredTransactionEvents, diff --git a/clients/client-managedblockchain/src/schemas/schemas_0.ts b/clients/client-managedblockchain/src/schemas/schemas_0.ts index 806bf5f29f25..258b416df0ce 100644 --- a/clients/client-managedblockchain/src/schemas/schemas_0.ts +++ b/clients/client-managedblockchain/src/schemas/schemas_0.ts @@ -718,7 +718,6 @@ export var VoteOnProposalInput: StaticStructureSchema = [3, n0, _VOPI, 0, [_NI, export var VoteOnProposalOutput: StaticStructureSchema = [3, n0, _VOPO, 0, [], []]; export var VoteSummary: StaticStructureSchema = [3, n0, _VS, 0, [_V, _MN, _MI], [0, 0, 0]]; export var VotingPolicy: StaticStructureSchema = [3, n0, _VP, 0, [_ATP], [() => ApprovalThresholdPolicy]]; -export var __Unit = "unit" as const; export var ManagedBlockchainServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-managedblockchain/test/index-objects.spec.mjs b/clients/client-managedblockchain/test/index-objects.spec.mjs index 398c36093d39..e395c0ca4f7a 100644 --- a/clients/client-managedblockchain/test/index-objects.spec.mjs +++ b/clients/client-managedblockchain/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AccessorNetworkType, AccessorStatus, AccessorType, @@ -17,6 +18,9 @@ import { GetNetworkCommand, GetNodeCommand, GetProposalCommand, + IllegalActionException, + InternalServiceErrorException, + InvalidRequestException, InvitationStatus, ListAccessorsCommand, ListInvitationsCommand, @@ -34,9 +38,15 @@ import { NodeStatus, ProposalStatus, RejectInvitationCommand, + ResourceAlreadyExistsException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourceNotReadyException, StateDBType, TagResourceCommand, ThresholdComparator, + ThrottlingException, + TooManyTagsException, UntagResourceCommand, UpdateMemberCommand, UpdateNodeCommand, @@ -97,6 +107,16 @@ assert(typeof StateDBType === "object"); assert(typeof ThresholdComparator === "object"); assert(typeof VoteValue === "object"); // errors +assert(AccessDeniedException.prototype instanceof ManagedBlockchainServiceException); +assert(IllegalActionException.prototype instanceof ManagedBlockchainServiceException); +assert(InternalServiceErrorException.prototype instanceof ManagedBlockchainServiceException); +assert(InvalidRequestException.prototype instanceof ManagedBlockchainServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof ManagedBlockchainServiceException); +assert(ResourceLimitExceededException.prototype instanceof ManagedBlockchainServiceException); +assert(ResourceNotFoundException.prototype instanceof ManagedBlockchainServiceException); +assert(ResourceNotReadyException.prototype instanceof ManagedBlockchainServiceException); +assert(ThrottlingException.prototype instanceof ManagedBlockchainServiceException); +assert(TooManyTagsException.prototype instanceof ManagedBlockchainServiceException); assert(ManagedBlockchainServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccessors === "function"); diff --git a/clients/client-managedblockchain/test/index-types.ts b/clients/client-managedblockchain/test/index-types.ts index e029948ee52c..7ecaf7f690e9 100644 --- a/clients/client-managedblockchain/test/index-types.ts +++ b/clients/client-managedblockchain/test/index-types.ts @@ -187,6 +187,16 @@ export type { VoteOnProposalOutput, VoteSummary, VotingPolicy, + AccessDeniedException, + IllegalActionException, + InternalServiceErrorException, + InvalidRequestException, + ResourceAlreadyExistsException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourceNotReadyException, + ThrottlingException, + TooManyTagsException, ManagedBlockchainServiceException, paginateListAccessors, paginateListInvitations, diff --git a/clients/client-marketplace-agreement/src/schemas/schemas_0.ts b/clients/client-marketplace-agreement/src/schemas/schemas_0.ts index 8464f4489af3..35dd0faaa6af 100644 --- a/clients/client-marketplace-agreement/src/schemas/schemas_0.ts +++ b/clients/client-marketplace-agreement/src/schemas/schemas_0.ts @@ -290,7 +290,6 @@ export var VariablePaymentTerm: StaticStructureSchema = [ [0, 0, 0, () => VariablePaymentTermConfiguration], ]; export var VariablePaymentTermConfiguration: StaticStructureSchema = [3, n0, _VPTC, 0, [_pRAS, _eD], [0, 0]]; -export var __Unit = "unit" as const; export var MarketplaceAgreementServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-marketplace-agreement/test/index-objects.spec.mjs b/clients/client-marketplace-agreement/test/index-objects.spec.mjs index 0b90a0147184..081c10fdad3e 100644 --- a/clients/client-marketplace-agreement/test/index-objects.spec.mjs +++ b/clients/client-marketplace-agreement/test/index-objects.spec.mjs @@ -1,13 +1,20 @@ import { + AccessDeniedException, AgreementStatus, DescribeAgreementCommand, GetAgreementTermsCommand, + InternalServerException, MarketplaceAgreement, MarketplaceAgreementClient, MarketplaceAgreementServiceException, PaymentRequestApprovalStrategy, + ResourceNotFoundException, + ResourceType, SearchAgreementsCommand, SortOrder, + ThrottlingException, + ValidationException, + ValidationExceptionReason, paginateGetAgreementTerms, paginateSearchAgreements, } from "../dist-cjs/index.js"; @@ -22,8 +29,15 @@ assert(typeof SearchAgreementsCommand === "function"); // enums assert(typeof AgreementStatus === "object"); assert(typeof PaymentRequestApprovalStrategy === "object"); +assert(typeof ResourceType === "object"); assert(typeof SortOrder === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof MarketplaceAgreementServiceException); +assert(InternalServerException.prototype instanceof MarketplaceAgreementServiceException); +assert(ResourceNotFoundException.prototype instanceof MarketplaceAgreementServiceException); +assert(ThrottlingException.prototype instanceof MarketplaceAgreementServiceException); +assert(ValidationException.prototype instanceof MarketplaceAgreementServiceException); assert(MarketplaceAgreementServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetAgreementTerms === "function"); diff --git a/clients/client-marketplace-agreement/test/index-types.ts b/clients/client-marketplace-agreement/test/index-types.ts index c2c22bea158b..c02bb71ae121 100644 --- a/clients/client-marketplace-agreement/test/index-types.ts +++ b/clients/client-marketplace-agreement/test/index-types.ts @@ -13,7 +13,9 @@ export type { SearchAgreementsCommandOutput, AgreementStatus, PaymentRequestApprovalStrategy, + ResourceType, SortOrder, + ValidationExceptionReason, AcceptedTerm, Acceptor, AgreementViewSummary, @@ -50,9 +52,15 @@ export type { SupportTerm, UsageBasedPricingTerm, UsageBasedRateCardItem, + ValidationExceptionField, ValidityTerm, VariablePaymentTerm, VariablePaymentTermConfiguration, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, MarketplaceAgreementServiceException, paginateGetAgreementTerms, paginateSearchAgreements, diff --git a/clients/client-marketplace-catalog/src/schemas/schemas_0.ts b/clients/client-marketplace-catalog/src/schemas/schemas_0.ts index 16e76c42f402..f763fa97a4a6 100644 --- a/clients/client-marketplace-catalog/src/schemas/schemas_0.ts +++ b/clients/client-marketplace-catalog/src/schemas/schemas_0.ts @@ -819,7 +819,6 @@ export var UntagResourceRequest: StaticStructureSchema = [3, n0, _URR, 0, [_RA, export var UntagResourceResponse: StaticStructureSchema = [3, n0, _URRn, 0, [], []]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 422 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var MarketplaceCatalogServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-marketplace-catalog/test/index-objects.spec.mjs b/clients/client-marketplace-catalog/test/index-objects.spec.mjs index b044a4abc8ef..4eecbcedb5c4 100644 --- a/clients/client-marketplace-catalog/test/index-objects.spec.mjs +++ b/clients/client-marketplace-catalog/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AmiProductSortBy, AmiProductVisibilityString, BatchDescribeEntitiesCommand, @@ -14,6 +15,7 @@ import { FailureCode, GetResourcePolicyCommand, Intent, + InternalServiceException, ListChangeSetsCommand, ListEntitiesCommand, ListTagsForResourceCommand, @@ -31,12 +33,18 @@ import { PutResourcePolicyCommand, ResaleAuthorizationSortBy, ResaleAuthorizationStatusString, + ResourceInUseException, + ResourceNotFoundException, + ResourceNotSupportedException, SaaSProductSortBy, SaaSProductVisibilityString, + ServiceQuotaExceededException, SortOrder, StartChangeSetCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, + ValidationException, paginateListChangeSets, paginateListEntities, } from "../dist-cjs/index.js"; @@ -82,6 +90,14 @@ assert(typeof SaaSProductSortBy === "object"); assert(typeof SaaSProductVisibilityString === "object"); assert(typeof SortOrder === "object"); // errors +assert(AccessDeniedException.prototype instanceof MarketplaceCatalogServiceException); +assert(InternalServiceException.prototype instanceof MarketplaceCatalogServiceException); +assert(ResourceInUseException.prototype instanceof MarketplaceCatalogServiceException); +assert(ResourceNotFoundException.prototype instanceof MarketplaceCatalogServiceException); +assert(ResourceNotSupportedException.prototype instanceof MarketplaceCatalogServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MarketplaceCatalogServiceException); +assert(ThrottlingException.prototype instanceof MarketplaceCatalogServiceException); +assert(ValidationException.prototype instanceof MarketplaceCatalogServiceException); assert(MarketplaceCatalogServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChangeSets === "function"); diff --git a/clients/client-marketplace-catalog/test/index-types.ts b/clients/client-marketplace-catalog/test/index-types.ts index 53916651079c..6dab6c8e74bc 100644 --- a/clients/client-marketplace-catalog/test/index-types.ts +++ b/clients/client-marketplace-catalog/test/index-types.ts @@ -191,6 +191,14 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + AccessDeniedException, + InternalServiceException, + ResourceInUseException, + ResourceNotFoundException, + ResourceNotSupportedException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, MarketplaceCatalogServiceException, paginateListChangeSets, paginateListEntities, diff --git a/clients/client-marketplace-commerce-analytics/src/schemas/schemas_0.ts b/clients/client-marketplace-commerce-analytics/src/schemas/schemas_0.ts index 2cf51ec9ccf7..c4d1fc309c66 100644 --- a/clients/client-marketplace-commerce-analytics/src/schemas/schemas_0.ts +++ b/clients/client-marketplace-commerce-analytics/src/schemas/schemas_0.ts @@ -48,7 +48,6 @@ export var StartSupportDataExportRequest: StaticStructureSchema = [ [0, 4, 0, 0, 0, 0, 128 | 0], ]; export var StartSupportDataExportResult: StaticStructureSchema = [3, n0, _SSDERt, 0, [_dSRI], [0]]; -export var __Unit = "unit" as const; export var MarketplaceCommerceAnalyticsServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-marketplace-commerce-analytics/test/index-objects.spec.mjs b/clients/client-marketplace-commerce-analytics/test/index-objects.spec.mjs index c0003a29a098..9a4eb5eaffad 100644 --- a/clients/client-marketplace-commerce-analytics/test/index-objects.spec.mjs +++ b/clients/client-marketplace-commerce-analytics/test/index-objects.spec.mjs @@ -3,6 +3,7 @@ import { GenerateDataSetCommand, MarketplaceCommerceAnalytics, MarketplaceCommerceAnalyticsClient, + MarketplaceCommerceAnalyticsException, MarketplaceCommerceAnalyticsServiceException, StartSupportDataExportCommand, SupportDataSetType, @@ -18,5 +19,6 @@ assert(typeof StartSupportDataExportCommand === "function"); assert(typeof DataSetType === "object"); assert(typeof SupportDataSetType === "object"); // errors +assert(MarketplaceCommerceAnalyticsException.prototype instanceof MarketplaceCommerceAnalyticsServiceException); assert(MarketplaceCommerceAnalyticsServiceException.prototype instanceof Error); console.log(`MarketplaceCommerceAnalytics index test passed.`); diff --git a/clients/client-marketplace-commerce-analytics/test/index-types.ts b/clients/client-marketplace-commerce-analytics/test/index-types.ts index def3764258e0..931b6e01a5f5 100644 --- a/clients/client-marketplace-commerce-analytics/test/index-types.ts +++ b/clients/client-marketplace-commerce-analytics/test/index-types.ts @@ -14,5 +14,6 @@ export type { GenerateDataSetResult, StartSupportDataExportRequest, StartSupportDataExportResult, + MarketplaceCommerceAnalyticsException, MarketplaceCommerceAnalyticsServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-marketplace-deployment/test/index-objects.spec.mjs b/clients/client-marketplace-deployment/test/index-objects.spec.mjs index c9b917034612..743910b2fbca 100644 --- a/clients/client-marketplace-deployment/test/index-objects.spec.mjs +++ b/clients/client-marketplace-deployment/test/index-objects.spec.mjs @@ -1,11 +1,18 @@ import { + AccessDeniedException, + ConflictException, + InternalServerException, ListTagsForResourceCommand, MarketplaceDeployment, MarketplaceDeploymentClient, MarketplaceDeploymentServiceException, PutDeploymentParameterCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, + ValidationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -17,5 +24,12 @@ assert(typeof PutDeploymentParameterCommand === "function"); assert(typeof TagResourceCommand === "function"); assert(typeof UntagResourceCommand === "function"); // errors +assert(AccessDeniedException.prototype instanceof MarketplaceDeploymentServiceException); +assert(ConflictException.prototype instanceof MarketplaceDeploymentServiceException); +assert(InternalServerException.prototype instanceof MarketplaceDeploymentServiceException); +assert(ResourceNotFoundException.prototype instanceof MarketplaceDeploymentServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MarketplaceDeploymentServiceException); +assert(ThrottlingException.prototype instanceof MarketplaceDeploymentServiceException); +assert(ValidationException.prototype instanceof MarketplaceDeploymentServiceException); assert(MarketplaceDeploymentServiceException.prototype instanceof Error); console.log(`MarketplaceDeployment index test passed.`); diff --git a/clients/client-marketplace-deployment/test/index-types.ts b/clients/client-marketplace-deployment/test/index-types.ts index f85625f66792..2b769d49948d 100644 --- a/clients/client-marketplace-deployment/test/index-types.ts +++ b/clients/client-marketplace-deployment/test/index-types.ts @@ -23,5 +23,12 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, MarketplaceDeploymentServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-marketplace-entitlement-service/src/schemas/schemas_0.ts b/clients/client-marketplace-entitlement-service/src/schemas/schemas_0.ts index 4d9719d82eb0..3c452ba5c33d 100644 --- a/clients/client-marketplace-entitlement-service/src/schemas/schemas_0.ts +++ b/clients/client-marketplace-entitlement-service/src/schemas/schemas_0.ts @@ -71,7 +71,6 @@ export var InvalidParameterException: StaticErrorSchema = [-3, n0, _IPE, { [_e]: TypeRegistry.for(n0).registerError(InvalidParameterException, __InvalidParameterException); export var ThrottlingException: StaticErrorSchema = [-3, n0, _TE, { [_e]: _c }, [_m], [0]]; TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException); -export var __Unit = "unit" as const; export var MarketplaceEntitlementServiceServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-marketplace-entitlement-service/test/index-objects.spec.mjs b/clients/client-marketplace-entitlement-service/test/index-objects.spec.mjs index 81163c2e2952..f5df2771b57b 100644 --- a/clients/client-marketplace-entitlement-service/test/index-objects.spec.mjs +++ b/clients/client-marketplace-entitlement-service/test/index-objects.spec.mjs @@ -1,9 +1,12 @@ import { GetEntitlementFilterName, GetEntitlementsCommand, + InternalServiceErrorException, + InvalidParameterException, MarketplaceEntitlementService, MarketplaceEntitlementServiceClient, MarketplaceEntitlementServiceServiceException, + ThrottlingException, paginateGetEntitlements, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -15,6 +18,9 @@ assert(typeof GetEntitlementsCommand === "function"); // enums assert(typeof GetEntitlementFilterName === "object"); // errors +assert(InternalServiceErrorException.prototype instanceof MarketplaceEntitlementServiceServiceException); +assert(InvalidParameterException.prototype instanceof MarketplaceEntitlementServiceServiceException); +assert(ThrottlingException.prototype instanceof MarketplaceEntitlementServiceServiceException); assert(MarketplaceEntitlementServiceServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetEntitlements === "function"); diff --git a/clients/client-marketplace-entitlement-service/test/index-types.ts b/clients/client-marketplace-entitlement-service/test/index-types.ts index dc5df643c4d0..7d287d7b8938 100644 --- a/clients/client-marketplace-entitlement-service/test/index-types.ts +++ b/clients/client-marketplace-entitlement-service/test/index-types.ts @@ -10,6 +10,9 @@ export type { EntitlementValue, GetEntitlementsRequest, GetEntitlementsResult, + InternalServiceErrorException, + InvalidParameterException, + ThrottlingException, MarketplaceEntitlementServiceServiceException, paginateGetEntitlements, } from "../dist-types/index.d"; diff --git a/clients/client-marketplace-metering/src/schemas/schemas_0.ts b/clients/client-marketplace-metering/src/schemas/schemas_0.ts index 1f46e960b759..b16c87dff5de 100644 --- a/clients/client-marketplace-metering/src/schemas/schemas_0.ts +++ b/clients/client-marketplace-metering/src/schemas/schemas_0.ts @@ -164,7 +164,6 @@ export var UsageRecord: StaticStructureSchema = [ [4, 0, 0, 1, () => UsageAllocations, 0], ]; export var UsageRecordResult: StaticStructureSchema = [3, n0, _URR, 0, [_URs, _MRI, _St], [() => UsageRecord, 0, 0]]; -export var __Unit = "unit" as const; export var MarketplaceMeteringServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-marketplace-metering/test/index-objects.spec.mjs b/clients/client-marketplace-metering/test/index-objects.spec.mjs index 9cf4daa24149..a7cd310ff0fe 100644 --- a/clients/client-marketplace-metering/test/index-objects.spec.mjs +++ b/clients/client-marketplace-metering/test/index-objects.spec.mjs @@ -1,11 +1,29 @@ import { BatchMeterUsageCommand, + CustomerNotEntitledException, + DisabledApiException, + DuplicateRequestException, + ExpiredTokenException, + IdempotencyConflictException, + InternalServiceErrorException, + InvalidCustomerIdentifierException, + InvalidEndpointRegionException, + InvalidProductCodeException, + InvalidPublicKeyVersionException, + InvalidRegionException, + InvalidTagException, + InvalidTokenException, + InvalidUsageAllocationsException, + InvalidUsageDimensionException, MarketplaceMetering, MarketplaceMeteringClient, MarketplaceMeteringServiceException, MeterUsageCommand, + PlatformNotSupportedException, RegisterUsageCommand, ResolveCustomerCommand, + ThrottlingException, + TimestampOutOfBoundsException, UsageRecordResultStatus, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -20,5 +38,23 @@ assert(typeof ResolveCustomerCommand === "function"); // enums assert(typeof UsageRecordResultStatus === "object"); // errors +assert(CustomerNotEntitledException.prototype instanceof MarketplaceMeteringServiceException); +assert(DisabledApiException.prototype instanceof MarketplaceMeteringServiceException); +assert(DuplicateRequestException.prototype instanceof MarketplaceMeteringServiceException); +assert(ExpiredTokenException.prototype instanceof MarketplaceMeteringServiceException); +assert(IdempotencyConflictException.prototype instanceof MarketplaceMeteringServiceException); +assert(InternalServiceErrorException.prototype instanceof MarketplaceMeteringServiceException); +assert(InvalidCustomerIdentifierException.prototype instanceof MarketplaceMeteringServiceException); +assert(InvalidEndpointRegionException.prototype instanceof MarketplaceMeteringServiceException); +assert(InvalidProductCodeException.prototype instanceof MarketplaceMeteringServiceException); +assert(InvalidPublicKeyVersionException.prototype instanceof MarketplaceMeteringServiceException); +assert(InvalidRegionException.prototype instanceof MarketplaceMeteringServiceException); +assert(InvalidTagException.prototype instanceof MarketplaceMeteringServiceException); +assert(InvalidTokenException.prototype instanceof MarketplaceMeteringServiceException); +assert(InvalidUsageAllocationsException.prototype instanceof MarketplaceMeteringServiceException); +assert(InvalidUsageDimensionException.prototype instanceof MarketplaceMeteringServiceException); +assert(PlatformNotSupportedException.prototype instanceof MarketplaceMeteringServiceException); +assert(ThrottlingException.prototype instanceof MarketplaceMeteringServiceException); +assert(TimestampOutOfBoundsException.prototype instanceof MarketplaceMeteringServiceException); assert(MarketplaceMeteringServiceException.prototype instanceof Error); console.log(`MarketplaceMetering index test passed.`); diff --git a/clients/client-marketplace-metering/test/index-types.ts b/clients/client-marketplace-metering/test/index-types.ts index f501a7b59741..eed7c70fac4a 100644 --- a/clients/client-marketplace-metering/test/index-types.ts +++ b/clients/client-marketplace-metering/test/index-types.ts @@ -27,5 +27,23 @@ export type { UsageAllocation, UsageRecord, UsageRecordResult, + CustomerNotEntitledException, + DisabledApiException, + DuplicateRequestException, + ExpiredTokenException, + IdempotencyConflictException, + InternalServiceErrorException, + InvalidCustomerIdentifierException, + InvalidEndpointRegionException, + InvalidProductCodeException, + InvalidPublicKeyVersionException, + InvalidRegionException, + InvalidTagException, + InvalidTokenException, + InvalidUsageAllocationsException, + InvalidUsageDimensionException, + PlatformNotSupportedException, + ThrottlingException, + TimestampOutOfBoundsException, MarketplaceMeteringServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-marketplace-reporting/test/index-objects.spec.mjs b/clients/client-marketplace-reporting/test/index-objects.spec.mjs index cfe893d3ba89..a41b0a54b2ad 100644 --- a/clients/client-marketplace-reporting/test/index-objects.spec.mjs +++ b/clients/client-marketplace-reporting/test/index-objects.spec.mjs @@ -1,8 +1,12 @@ import { + AccessDeniedException, + BadRequestException, GetBuyerDashboardCommand, + InternalServerException, MarketplaceReporting, MarketplaceReportingClient, MarketplaceReportingServiceException, + UnauthorizedException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -11,5 +15,9 @@ assert(typeof MarketplaceReporting === "function"); // commands assert(typeof GetBuyerDashboardCommand === "function"); // errors +assert(AccessDeniedException.prototype instanceof MarketplaceReportingServiceException); +assert(BadRequestException.prototype instanceof MarketplaceReportingServiceException); +assert(InternalServerException.prototype instanceof MarketplaceReportingServiceException); +assert(UnauthorizedException.prototype instanceof MarketplaceReportingServiceException); assert(MarketplaceReportingServiceException.prototype instanceof Error); console.log(`MarketplaceReporting index test passed.`); diff --git a/clients/client-marketplace-reporting/test/index-types.ts b/clients/client-marketplace-reporting/test/index-types.ts index 2fa64a85d990..b7936d8b5e9d 100644 --- a/clients/client-marketplace-reporting/test/index-types.ts +++ b/clients/client-marketplace-reporting/test/index-types.ts @@ -7,5 +7,9 @@ export type { GetBuyerDashboardCommandOutput, GetBuyerDashboardInput, GetBuyerDashboardOutput, + AccessDeniedException, + BadRequestException, + InternalServerException, + UnauthorizedException, MarketplaceReportingServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-mediaconnect/test/index-objects.spec.mjs b/clients/client-mediaconnect/test/index-objects.spec.mjs index be129da054d2..e6fd83793eb7 100644 --- a/clients/client-mediaconnect/test/index-objects.spec.mjs +++ b/clients/client-mediaconnect/test/index-objects.spec.mjs @@ -2,20 +2,26 @@ import { AddBridgeOutputsCommand, AddBridgeSourcesCommand, AddFlowMediaStreamsCommand, + AddFlowOutputs420Exception, AddFlowOutputsCommand, AddFlowSourcesCommand, AddFlowVpcInterfacesCommand, Algorithm, + BadRequestException, BatchGetRouterInputCommand, BatchGetRouterNetworkInterfaceCommand, BatchGetRouterOutputCommand, BridgePlacement, BridgeState, Colorimetry, + ConflictException, ConnectionStatus, ContentQualityAnalysisState, + CreateBridge420Exception, CreateBridgeCommand, + CreateFlow420Exception, CreateFlowCommand, + CreateGateway420Exception, CreateGatewayCommand, CreateRouterInputCommand, CreateRouterNetworkInterfaceCommand, @@ -45,6 +51,7 @@ import { FailoverMode, FlowSize, FlowTransitEncryptionKeyType, + ForbiddenException, ForwardErrorCorrectionState, GatewayState, GetRouterInputCommand, @@ -52,8 +59,10 @@ import { GetRouterInputThumbnailCommand, GetRouterNetworkInterfaceCommand, GetRouterOutputCommand, + GrantFlowEntitlements420Exception, GrantFlowEntitlementsCommand, InstanceState, + InternalServerErrorException, KeyType, ListBridgesCommand, ListEntitlementsCommand, @@ -78,6 +87,7 @@ import { MediaStreamType, NdiState, NetworkInterfaceType, + NotFoundException, OutputStatus, PriceUnits, Protocol, @@ -95,19 +105,23 @@ import { RestartRouterOutputCommand, RevokeFlowEntitlementCommand, RouterInputProtocol, + RouterInputServiceQuotaExceededException, RouterInputState, RouterInputTier, RouterInputTransitEncryptionKeyType, RouterInputType, + RouterNetworkInterfaceServiceQuotaExceededException, RouterNetworkInterfaceState, RouterNetworkInterfaceType, RouterOutputProtocol, RouterOutputRoutedState, + RouterOutputServiceQuotaExceededException, RouterOutputState, RouterOutputTier, RouterOutputType, RoutingScope, ScanMode, + ServiceUnavailableException, SourceType, StartFlowCommand, StartRouterInputCommand, @@ -122,6 +136,7 @@ import { TakeRouterInputCommand, Tcs, ThumbnailState, + TooManyRequestsException, UntagGlobalResourceCommand, UntagResourceCommand, UpdateBridgeCommand, @@ -310,6 +325,21 @@ assert(typeof Status === "object"); assert(typeof Tcs === "object"); assert(typeof ThumbnailState === "object"); // errors +assert(AddFlowOutputs420Exception.prototype instanceof MediaConnectServiceException); +assert(BadRequestException.prototype instanceof MediaConnectServiceException); +assert(ConflictException.prototype instanceof MediaConnectServiceException); +assert(CreateBridge420Exception.prototype instanceof MediaConnectServiceException); +assert(CreateFlow420Exception.prototype instanceof MediaConnectServiceException); +assert(CreateGateway420Exception.prototype instanceof MediaConnectServiceException); +assert(ForbiddenException.prototype instanceof MediaConnectServiceException); +assert(GrantFlowEntitlements420Exception.prototype instanceof MediaConnectServiceException); +assert(InternalServerErrorException.prototype instanceof MediaConnectServiceException); +assert(NotFoundException.prototype instanceof MediaConnectServiceException); +assert(RouterInputServiceQuotaExceededException.prototype instanceof MediaConnectServiceException); +assert(RouterNetworkInterfaceServiceQuotaExceededException.prototype instanceof MediaConnectServiceException); +assert(RouterOutputServiceQuotaExceededException.prototype instanceof MediaConnectServiceException); +assert(ServiceUnavailableException.prototype instanceof MediaConnectServiceException); +assert(TooManyRequestsException.prototype instanceof MediaConnectServiceException); assert(MediaConnectServiceException.prototype instanceof Error); // waiters assert(typeof waitForFlowActive === "function"); diff --git a/clients/client-mediaconnect/test/index-types.ts b/clients/client-mediaconnect/test/index-types.ts index 11efc44a245e..ad9b617edb8f 100644 --- a/clients/client-mediaconnect/test/index-types.ts +++ b/clients/client-mediaconnect/test/index-types.ts @@ -617,6 +617,21 @@ export type { VpcInterfaceRequest, VpcRouterNetworkInterfaceConfiguration, WindowMaintenanceSchedule, + AddFlowOutputs420Exception, + BadRequestException, + ConflictException, + CreateBridge420Exception, + CreateFlow420Exception, + CreateGateway420Exception, + ForbiddenException, + GrantFlowEntitlements420Exception, + InternalServerErrorException, + NotFoundException, + RouterInputServiceQuotaExceededException, + RouterNetworkInterfaceServiceQuotaExceededException, + RouterOutputServiceQuotaExceededException, + ServiceUnavailableException, + TooManyRequestsException, MediaConnectServiceException, waitForFlowActive, waitForFlowDeleted, diff --git a/clients/client-mediaconvert/src/schemas/schemas_0.ts b/clients/client-mediaconvert/src/schemas/schemas_0.ts index 1a56f7f949fd..c845daa48443 100644 --- a/clients/client-mediaconvert/src/schemas/schemas_0.ts +++ b/clients/client-mediaconvert/src/schemas/schemas_0.ts @@ -5708,7 +5708,6 @@ export var XavcSettings: StaticStructureSchema = [ [() => XavcHdProfileSettings, { [_jN]: _xHPS }], ], ]; -export var __Unit = "unit" as const; export var MediaConvertServiceException: StaticErrorSchema = [-3, _sm, "MediaConvertServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MediaConvertServiceException, __MediaConvertServiceException); export var __listOf__doubleMinNegative60Max6 = 64 | 1; diff --git a/clients/client-mediaconvert/test/index-objects.spec.mjs b/clients/client-mediaconvert/test/index-objects.spec.mjs index d3e2d5307205..a5b651217e6c 100644 --- a/clients/client-mediaconvert/test/index-objects.spec.mjs +++ b/clients/client-mediaconvert/test/index-objects.spec.mjs @@ -51,6 +51,7 @@ import { AvcIntraSlowPal, AvcIntraTelecine, AvcIntraUhdQualityTuningLevel, + BadRequestException, BandwidthReductionFilterSharpening, BandwidthReductionFilterStrength, BillingTagsSource, @@ -108,6 +109,7 @@ import { ColorSpaceConversion, ColorSpaceUsage, Commitment, + ConflictException, ContainerType, CopyProtectionAction, CreateJobCommand, @@ -186,6 +188,7 @@ import { FileSourceConvert608To708, FileSourceTimeDeltaUnits, FontScript, + ForbiddenException, Format, FrameControl, FrameMetricType, @@ -290,6 +293,7 @@ import { InputSampleRange, InputScanType, InputTimecodeSource, + InternalServerErrorException, JobPhase, JobStatus, JobTemplateListBy, @@ -381,6 +385,7 @@ import { NoiseFilterPostTemporalSharpening, NoiseFilterPostTemporalSharpeningStrength, NoiseReducerFilter, + NotFoundException, Order, OutputGroupType, OutputSdt, @@ -415,6 +420,7 @@ import { ScalingBehavior, SccDestinationFramerate, SearchJobsCommand, + ServiceQuotaExceededException, ShareStatus, SimulateReservedQueue, SlowPalPitchCorrection, @@ -428,6 +434,7 @@ import { TimecodeSource, TimecodeTrack, TimedMetadata, + TooManyRequestsException, TrackType, TransferCharacteristics, TsPtsOffset, @@ -997,6 +1004,13 @@ assert(typeof XavcSlowPal === "object"); assert(typeof XavcSpatialAdaptiveQuantization === "object"); assert(typeof XavcTemporalAdaptiveQuantization === "object"); // errors +assert(BadRequestException.prototype instanceof MediaConvertServiceException); +assert(ConflictException.prototype instanceof MediaConvertServiceException); +assert(ForbiddenException.prototype instanceof MediaConvertServiceException); +assert(InternalServerErrorException.prototype instanceof MediaConvertServiceException); +assert(NotFoundException.prototype instanceof MediaConvertServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MediaConvertServiceException); +assert(TooManyRequestsException.prototype instanceof MediaConvertServiceException); assert(MediaConvertServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeEndpoints === "function"); diff --git a/clients/client-mediaconvert/test/index-types.ts b/clients/client-mediaconvert/test/index-types.ts index 46c32f2c1166..a0d27298712c 100644 --- a/clients/client-mediaconvert/test/index-types.ts +++ b/clients/client-mediaconvert/test/index-types.ts @@ -832,6 +832,13 @@ export type { XavcHdIntraCbgProfileSettings, XavcHdProfileSettings, XavcSettings, + BadRequestException, + ConflictException, + ForbiddenException, + InternalServerErrorException, + NotFoundException, + ServiceQuotaExceededException, + TooManyRequestsException, MediaConvertServiceException, paginateDescribeEndpoints, paginateListJobTemplates, diff --git a/clients/client-medialive/test/index-objects.spec.mjs b/clients/client-medialive/test/index-objects.spec.mjs index f6eba7af0255..2e0a3941bc56 100644 --- a/clients/client-medialive/test/index-objects.spec.mjs +++ b/clients/client-medialive/test/index-objects.spec.mjs @@ -34,6 +34,8 @@ import { Av1SpatialAq, Av1TemporalAq, AvailBlankingState, + BadGatewayException, + BadRequestException, BandwidthReductionFilterStrength, BandwidthReductionPostFilterSharpening, BatchDeleteCommand, @@ -71,6 +73,7 @@ import { CmafTimedMetadataId3Frame, CmafTimedMetadataPassthrough, ColorSpace, + ConflictException, ContentType, CreateChannelCommand, CreateChannelPlacementGroupCommand, @@ -169,7 +172,9 @@ import { Fmp4NielsenId3Behavior, Fmp4TimedMetadataBehavior, FollowPoint, + ForbiddenException, FrameCaptureIntervalUnit, + GatewayTimeoutException, GetCloudWatchAlarmTemplateCommand, GetCloudWatchAlarmTemplateGroupCommand, GetEventBridgeRuleTemplateCommand, @@ -283,6 +288,7 @@ import { InputState, InputTimecodeSource, InputType, + InternalServerErrorException, LastFrameClippingBehavior, ListAlertsCommand, ListChannelPlacementGroupsCommand, @@ -360,6 +366,7 @@ import { NodeConnectionState, NodeRole, NodeState, + NotFoundException, OfferingDurationUnits, OfferingType, PipelineId, @@ -430,9 +437,11 @@ import { TimecodeBurninFontSize, TimecodeBurninPosition, TimecodeConfigSource, + TooManyRequestsException, TransferInputDeviceCommand, TtmlDestinationStyleControl, UdpTimedMetadataId3Frame, + UnprocessableEntityException, UpdateAccountConfigurationCommand, UpdateChannelClassCommand, UpdateChannelCommand, @@ -991,6 +1000,15 @@ assert(typeof VideoSelectorColorSpaceUsage === "object"); assert(typeof WavCodingMode === "object"); assert(typeof WebvttDestinationStyleControl === "object"); // errors +assert(BadGatewayException.prototype instanceof MediaLiveServiceException); +assert(BadRequestException.prototype instanceof MediaLiveServiceException); +assert(ConflictException.prototype instanceof MediaLiveServiceException); +assert(ForbiddenException.prototype instanceof MediaLiveServiceException); +assert(GatewayTimeoutException.prototype instanceof MediaLiveServiceException); +assert(InternalServerErrorException.prototype instanceof MediaLiveServiceException); +assert(NotFoundException.prototype instanceof MediaLiveServiceException); +assert(TooManyRequestsException.prototype instanceof MediaLiveServiceException); +assert(UnprocessableEntityException.prototype instanceof MediaLiveServiceException); assert(MediaLiveServiceException.prototype instanceof Error); // waiters assert(typeof waitForChannelCreated === "function"); diff --git a/clients/client-medialive/test/index-types.ts b/clients/client-medialive/test/index-types.ts index 0ba607a8f253..130f90cbc56e 100644 --- a/clients/client-medialive/test/index-types.ts +++ b/clients/client-medialive/test/index-types.ts @@ -1261,6 +1261,7 @@ export type { UpdateReservationResponse, UpdateSdiSourceRequest, UpdateSdiSourceResponse, + ValidationError, VideoBlackFailoverSettings, VideoCodecSettings, VideoDescription, @@ -1273,6 +1274,15 @@ export type { VpcOutputSettingsDescription, WavSettings, WebvttDestinationSettings, + BadGatewayException, + BadRequestException, + ConflictException, + ForbiddenException, + GatewayTimeoutException, + InternalServerErrorException, + NotFoundException, + TooManyRequestsException, + UnprocessableEntityException, MediaLiveServiceException, waitForChannelCreated, waitForChannelDeleted, diff --git a/clients/client-mediapackage-vod/test/index-objects.spec.mjs b/clients/client-mediapackage-vod/test/index-objects.spec.mjs index f84e7da49285..75ff43f2634f 100644 --- a/clients/client-mediapackage-vod/test/index-objects.spec.mjs +++ b/clients/client-mediapackage-vod/test/index-objects.spec.mjs @@ -11,6 +11,8 @@ import { DescribePackagingConfigurationCommand, DescribePackagingGroupCommand, EncryptionMethod, + ForbiddenException, + InternalServerErrorException, ListAssetsCommand, ListPackagingConfigurationsCommand, ListPackagingGroupsCommand, @@ -19,13 +21,17 @@ import { MediaPackageVod, MediaPackageVodClient, MediaPackageVodServiceException, + NotFoundException, PresetSpeke20Audio, PresetSpeke20Video, Profile, ScteMarkersSource, SegmentTemplateFormat, + ServiceUnavailableException, StreamOrder, TagResourceCommand, + TooManyRequestsException, + UnprocessableEntityException, UntagResourceCommand, UpdatePackagingGroupCommand, __PeriodTriggersElement, @@ -67,6 +73,12 @@ assert(typeof ScteMarkersSource === "object"); assert(typeof SegmentTemplateFormat === "object"); assert(typeof StreamOrder === "object"); // errors +assert(ForbiddenException.prototype instanceof MediaPackageVodServiceException); +assert(InternalServerErrorException.prototype instanceof MediaPackageVodServiceException); +assert(NotFoundException.prototype instanceof MediaPackageVodServiceException); +assert(ServiceUnavailableException.prototype instanceof MediaPackageVodServiceException); +assert(TooManyRequestsException.prototype instanceof MediaPackageVodServiceException); +assert(UnprocessableEntityException.prototype instanceof MediaPackageVodServiceException); assert(MediaPackageVodServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAssets === "function"); diff --git a/clients/client-mediapackage-vod/test/index-types.ts b/clients/client-mediapackage-vod/test/index-types.ts index ca766e17de48..3b1987bc1a8f 100644 --- a/clients/client-mediapackage-vod/test/index-types.ts +++ b/clients/client-mediapackage-vod/test/index-types.ts @@ -115,6 +115,12 @@ export type { UntagResourceRequest, UpdatePackagingGroupRequest, UpdatePackagingGroupResponse, + ForbiddenException, + InternalServerErrorException, + NotFoundException, + ServiceUnavailableException, + TooManyRequestsException, + UnprocessableEntityException, MediaPackageVodServiceException, paginateListAssets, paginateListPackagingConfigurations, diff --git a/clients/client-mediapackage/test/index-objects.spec.mjs b/clients/client-mediapackage/test/index-objects.spec.mjs index a917fc3a8fad..11b7139f8a06 100644 --- a/clients/client-mediapackage/test/index-objects.spec.mjs +++ b/clients/client-mediapackage/test/index-objects.spec.mjs @@ -12,6 +12,8 @@ import { DescribeHarvestJobCommand, DescribeOriginEndpointCommand, EncryptionMethod, + ForbiddenException, + InternalServerErrorException, ListChannelsCommand, ListHarvestJobsCommand, ListOriginEndpointsCommand, @@ -20,6 +22,7 @@ import { MediaPackage, MediaPackageClient, MediaPackageServiceException, + NotFoundException, Origination, PlaylistType, PresetSpeke20Audio, @@ -28,9 +31,12 @@ import { RotateChannelCredentialsCommand, RotateIngestEndpointCredentialsCommand, SegmentTemplateFormat, + ServiceUnavailableException, Status, StreamOrder, TagResourceCommand, + TooManyRequestsException, + UnprocessableEntityException, UntagResourceCommand, UpdateChannelCommand, UpdateOriginEndpointCommand, @@ -83,6 +89,12 @@ assert(typeof Status === "object"); assert(typeof StreamOrder === "object"); assert(typeof UtcTiming === "object"); // errors +assert(ForbiddenException.prototype instanceof MediaPackageServiceException); +assert(InternalServerErrorException.prototype instanceof MediaPackageServiceException); +assert(NotFoundException.prototype instanceof MediaPackageServiceException); +assert(ServiceUnavailableException.prototype instanceof MediaPackageServiceException); +assert(TooManyRequestsException.prototype instanceof MediaPackageServiceException); +assert(UnprocessableEntityException.prototype instanceof MediaPackageServiceException); assert(MediaPackageServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChannels === "function"); diff --git a/clients/client-mediapackage/test/index-types.ts b/clients/client-mediapackage/test/index-types.ts index cabb3dfc42dc..bd8806d8055b 100644 --- a/clients/client-mediapackage/test/index-types.ts +++ b/clients/client-mediapackage/test/index-types.ts @@ -134,6 +134,12 @@ export type { UpdateChannelResponse, UpdateOriginEndpointRequest, UpdateOriginEndpointResponse, + ForbiddenException, + InternalServerErrorException, + NotFoundException, + ServiceUnavailableException, + TooManyRequestsException, + UnprocessableEntityException, MediaPackageServiceException, paginateListChannels, paginateListHarvestJobs, diff --git a/clients/client-mediapackagev2/test/index-objects.spec.mjs b/clients/client-mediapackagev2/test/index-objects.spec.mjs index 6c8c8b16d7e7..2455fa09004f 100644 --- a/clients/client-mediapackagev2/test/index-objects.spec.mjs +++ b/clients/client-mediapackagev2/test/index-objects.spec.mjs @@ -1,8 +1,11 @@ import { + AccessDeniedException, AdMarkerDash, AdMarkerHls, CancelHarvestJobCommand, CmafEncryptionMethod, + ConflictException, + ConflictExceptionType, ContainerType, CreateChannelCommand, CreateChannelGroupCommand, @@ -30,6 +33,7 @@ import { GetOriginEndpointPolicyCommand, HarvestJobStatus, InputType, + InternalServerException, IsmEncryptionMethod, ListChannelGroupsCommand, ListChannelsCommand, @@ -46,14 +50,20 @@ import { PutOriginEndpointPolicyCommand, ResetChannelStateCommand, ResetOriginEndpointStateCommand, + ResourceNotFoundException, + ResourceTypeNotFound, ScteFilter, ScteInSegments, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, TsEncryptionMethod, UntagResourceCommand, UpdateChannelCommand, UpdateChannelGroupCommand, UpdateOriginEndpointCommand, + ValidationException, + ValidationExceptionType, paginateListChannelGroups, paginateListChannels, paginateListHarvestJobs, @@ -100,6 +110,7 @@ assert(typeof UpdateOriginEndpointCommand === "function"); assert(typeof AdMarkerDash === "object"); assert(typeof AdMarkerHls === "object"); assert(typeof CmafEncryptionMethod === "object"); +assert(typeof ConflictExceptionType === "object"); assert(typeof ContainerType === "object"); assert(typeof DashCompactness === "object"); assert(typeof DashDrmSignaling === "object"); @@ -116,10 +127,19 @@ assert(typeof IsmEncryptionMethod === "object"); assert(typeof MssManifestLayout === "object"); assert(typeof PresetSpeke20Audio === "object"); assert(typeof PresetSpeke20Video === "object"); +assert(typeof ResourceTypeNotFound === "object"); assert(typeof ScteFilter === "object"); assert(typeof ScteInSegments === "object"); assert(typeof TsEncryptionMethod === "object"); +assert(typeof ValidationExceptionType === "object"); // errors +assert(AccessDeniedException.prototype instanceof MediaPackageV2ServiceException); +assert(ConflictException.prototype instanceof MediaPackageV2ServiceException); +assert(InternalServerException.prototype instanceof MediaPackageV2ServiceException); +assert(ResourceNotFoundException.prototype instanceof MediaPackageV2ServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MediaPackageV2ServiceException); +assert(ThrottlingException.prototype instanceof MediaPackageV2ServiceException); +assert(ValidationException.prototype instanceof MediaPackageV2ServiceException); assert(MediaPackageV2ServiceException.prototype instanceof Error); // waiters assert(typeof waitForHarvestJobFinished === "function"); diff --git a/clients/client-mediapackagev2/test/index-types.ts b/clients/client-mediapackagev2/test/index-types.ts index 3c10ba9f52ea..bd4dad06815d 100644 --- a/clients/client-mediapackagev2/test/index-types.ts +++ b/clients/client-mediapackagev2/test/index-types.ts @@ -95,6 +95,7 @@ export type { AdMarkerDash, AdMarkerHls, CmafEncryptionMethod, + ConflictExceptionType, ContainerType, DashCompactness, DashDrmSignaling, @@ -111,9 +112,11 @@ export type { MssManifestLayout, PresetSpeke20Audio, PresetSpeke20Video, + ResourceTypeNotFound, ScteFilter, ScteInSegments, TsEncryptionMethod, + ValidationExceptionType, CancelHarvestJobRequest, CancelHarvestJobResponse, CdnAuthConfiguration, @@ -218,6 +221,13 @@ export type { UpdateChannelResponse, UpdateOriginEndpointRequest, UpdateOriginEndpointResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, MediaPackageV2ServiceException, waitForHarvestJobFinished, waitUntilHarvestJobFinished, diff --git a/clients/client-mediastore-data/src/schemas/schemas_0.ts b/clients/client-mediastore-data/src/schemas/schemas_0.ts index 41828c27b8db..c864189f43f5 100644 --- a/clients/client-mediastore-data/src/schemas/schemas_0.ts +++ b/clients/client-mediastore-data/src/schemas/schemas_0.ts @@ -167,7 +167,6 @@ export var RequestedRangeNotSatisfiableException: StaticErrorSchema = [ [0], ]; TypeRegistry.for(n0).registerError(RequestedRangeNotSatisfiableException, __RequestedRangeNotSatisfiableException); -export var __Unit = "unit" as const; export var MediaStoreDataServiceException: StaticErrorSchema = [-3, _sm, "MediaStoreDataServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MediaStoreDataServiceException, __MediaStoreDataServiceException); export var ItemList: StaticListSchema = [1, n0, _IL, 0, () => Item]; diff --git a/clients/client-mediastore-data/test/index-objects.spec.mjs b/clients/client-mediastore-data/test/index-objects.spec.mjs index 11ae0c1bcbc1..c3416d64b8a4 100644 --- a/clients/client-mediastore-data/test/index-objects.spec.mjs +++ b/clients/client-mediastore-data/test/index-objects.spec.mjs @@ -1,13 +1,17 @@ import { + ContainerNotFoundException, DeleteObjectCommand, DescribeObjectCommand, GetObjectCommand, + InternalServerError, ItemType, ListItemsCommand, MediaStoreData, MediaStoreDataClient, MediaStoreDataServiceException, + ObjectNotFoundException, PutObjectCommand, + RequestedRangeNotSatisfiableException, StorageClass, UploadAvailability, paginateListItems, @@ -27,6 +31,10 @@ assert(typeof ItemType === "object"); assert(typeof StorageClass === "object"); assert(typeof UploadAvailability === "object"); // errors +assert(ContainerNotFoundException.prototype instanceof MediaStoreDataServiceException); +assert(InternalServerError.prototype instanceof MediaStoreDataServiceException); +assert(ObjectNotFoundException.prototype instanceof MediaStoreDataServiceException); +assert(RequestedRangeNotSatisfiableException.prototype instanceof MediaStoreDataServiceException); assert(MediaStoreDataServiceException.prototype instanceof Error); // paginators assert(typeof paginateListItems === "function"); diff --git a/clients/client-mediastore-data/test/index-types.ts b/clients/client-mediastore-data/test/index-types.ts index 5c4963a5e08a..54e5ac5f7647 100644 --- a/clients/client-mediastore-data/test/index-types.ts +++ b/clients/client-mediastore-data/test/index-types.ts @@ -31,6 +31,10 @@ export type { ListItemsResponse, PutObjectRequest, PutObjectResponse, + ContainerNotFoundException, + InternalServerError, + ObjectNotFoundException, + RequestedRangeNotSatisfiableException, MediaStoreDataServiceException, paginateListItems, } from "../dist-types/index.d"; diff --git a/clients/client-mediastore/src/schemas/schemas_0.ts b/clients/client-mediastore/src/schemas/schemas_0.ts index 3eb57fbc1603..54a4075e04da 100644 --- a/clients/client-mediastore/src/schemas/schemas_0.ts +++ b/clients/client-mediastore/src/schemas/schemas_0.ts @@ -189,7 +189,6 @@ export var TagResourceInput: StaticStructureSchema = [3, n0, _TRI, 0, [_R, _T], export var TagResourceOutput: StaticStructureSchema = [3, n0, _TRO, 0, [], []]; export var UntagResourceInput: StaticStructureSchema = [3, n0, _URI, 0, [_R, _TK], [0, 64 | 0]]; export var UntagResourceOutput: StaticStructureSchema = [3, n0, _URO, 0, [], []]; -export var __Unit = "unit" as const; export var MediaStoreServiceException: StaticErrorSchema = [-3, _sm, "MediaStoreServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MediaStoreServiceException, __MediaStoreServiceException); export var AllowedHeaders = 64 | 0; diff --git a/clients/client-mediastore/test/index-objects.spec.mjs b/clients/client-mediastore/test/index-objects.spec.mjs index dd9bad86d6f3..7d6f90a8baa6 100644 --- a/clients/client-mediastore/test/index-objects.spec.mjs +++ b/clients/client-mediastore/test/index-objects.spec.mjs @@ -1,6 +1,9 @@ import { + ContainerInUseException, ContainerLevelMetrics, + ContainerNotFoundException, ContainerStatus, + CorsPolicyNotFoundException, CreateContainerCommand, DeleteContainerCommand, DeleteContainerPolicyCommand, @@ -12,12 +15,15 @@ import { GetCorsPolicyCommand, GetLifecyclePolicyCommand, GetMetricPolicyCommand, + InternalServerError, + LimitExceededException, ListContainersCommand, ListTagsForResourceCommand, MediaStore, MediaStoreClient, MediaStoreServiceException, MethodName, + PolicyNotFoundException, PutContainerPolicyCommand, PutCorsPolicyCommand, PutLifecyclePolicyCommand, @@ -59,6 +65,12 @@ assert(typeof ContainerLevelMetrics === "object"); assert(typeof ContainerStatus === "object"); assert(typeof MethodName === "object"); // errors +assert(ContainerInUseException.prototype instanceof MediaStoreServiceException); +assert(ContainerNotFoundException.prototype instanceof MediaStoreServiceException); +assert(CorsPolicyNotFoundException.prototype instanceof MediaStoreServiceException); +assert(InternalServerError.prototype instanceof MediaStoreServiceException); +assert(LimitExceededException.prototype instanceof MediaStoreServiceException); +assert(PolicyNotFoundException.prototype instanceof MediaStoreServiceException); assert(MediaStoreServiceException.prototype instanceof Error); // paginators assert(typeof paginateListContainers === "function"); diff --git a/clients/client-mediastore/test/index-types.ts b/clients/client-mediastore/test/index-types.ts index a031c4b3fea2..f20dd66d21b6 100644 --- a/clients/client-mediastore/test/index-types.ts +++ b/clients/client-mediastore/test/index-types.ts @@ -115,6 +115,12 @@ export type { TagResourceOutput, UntagResourceInput, UntagResourceOutput, + ContainerInUseException, + ContainerNotFoundException, + CorsPolicyNotFoundException, + InternalServerError, + LimitExceededException, + PolicyNotFoundException, MediaStoreServiceException, paginateListContainers, } from "../dist-types/index.d"; diff --git a/clients/client-mediatailor/test/index-objects.spec.mjs b/clients/client-mediatailor/test/index-objects.spec.mjs index 3d800ecb4a7a..eef6420cab6a 100644 --- a/clients/client-mediatailor/test/index-objects.spec.mjs +++ b/clients/client-mediatailor/test/index-objects.spec.mjs @@ -4,6 +4,7 @@ import { AdsInteractionExcludeEventType, AdsInteractionPublishOptInEventType, AlertCategory, + BadRequestException, ChannelState, ConfigureLogsForChannelCommand, ConfigureLogsForPlaybackConfigurationCommand, @@ -154,6 +155,7 @@ assert(typeof Tier === "object"); assert(typeof TrafficShapingType === "object"); assert(typeof Type === "object"); // errors +assert(BadRequestException.prototype instanceof MediaTailorServiceException); assert(MediaTailorServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetChannelSchedule === "function"); diff --git a/clients/client-mediatailor/test/index-types.ts b/clients/client-mediatailor/test/index-types.ts index 122aaf5ac193..6017218f9a52 100644 --- a/clients/client-mediatailor/test/index-types.ts +++ b/clients/client-mediatailor/test/index-types.ts @@ -300,6 +300,7 @@ export type { UpdateVodSourceRequest, UpdateVodSourceResponse, VodSource, + BadRequestException, MediaTailorServiceException, paginateGetChannelSchedule, paginateListAlerts, diff --git a/clients/client-medical-imaging/src/schemas/schemas_0.ts b/clients/client-medical-imaging/src/schemas/schemas_0.ts index 3d70099cfa60..f8b5ba07bc5e 100644 --- a/clients/client-medical-imaging/src/schemas/schemas_0.ts +++ b/clients/client-medical-imaging/src/schemas/schemas_0.ts @@ -670,7 +670,6 @@ export var UpdateImageSetMetadataResponse: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var MedicalImagingServiceException: StaticErrorSchema = [-3, _sm, "MedicalImagingServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MedicalImagingServiceException, __MedicalImagingServiceException); export var DatastoreSummaries: StaticListSchema = [1, n0, _DSa, 0, () => DatastoreSummary]; diff --git a/clients/client-medical-imaging/test/index-objects.spec.mjs b/clients/client-medical-imaging/test/index-objects.spec.mjs index 962f8ec6e5b9..03267c4b94ac 100644 --- a/clients/client-medical-imaging/test/index-objects.spec.mjs +++ b/clients/client-medical-imaging/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + ConflictException, CopyImageSetCommand, CreateDatastoreCommand, DatastoreStatus, @@ -11,6 +13,7 @@ import { GetImageSetMetadataCommand, ImageSetState, ImageSetWorkflowStatus, + InternalServerException, JobStatus, ListDICOMImportJobsCommand, ListDatastoresCommand, @@ -21,14 +24,18 @@ import { MedicalImagingClient, MedicalImagingServiceException, Operator, + ResourceNotFoundException, SearchImageSetsCommand, + ServiceQuotaExceededException, SortField, SortOrder, StartDICOMImportJobCommand, StorageTier, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateImageSetMetadataCommand, + ValidationException, paginateListDICOMImportJobs, paginateListDatastores, paginateListImageSetVersions, @@ -68,6 +75,13 @@ assert(typeof SortField === "object"); assert(typeof SortOrder === "object"); assert(typeof StorageTier === "object"); // errors +assert(AccessDeniedException.prototype instanceof MedicalImagingServiceException); +assert(ConflictException.prototype instanceof MedicalImagingServiceException); +assert(InternalServerException.prototype instanceof MedicalImagingServiceException); +assert(ResourceNotFoundException.prototype instanceof MedicalImagingServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MedicalImagingServiceException); +assert(ThrottlingException.prototype instanceof MedicalImagingServiceException); +assert(ValidationException.prototype instanceof MedicalImagingServiceException); assert(MedicalImagingServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDICOMImportJobs === "function"); diff --git a/clients/client-medical-imaging/test/index-types.ts b/clients/client-medical-imaging/test/index-types.ts index 63e9482b31a0..df115403466b 100644 --- a/clients/client-medical-imaging/test/index-types.ts +++ b/clients/client-medical-imaging/test/index-types.ts @@ -123,6 +123,13 @@ export type { UntagResourceResponse, UpdateImageSetMetadataRequest, UpdateImageSetMetadataResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, MedicalImagingServiceException, paginateListDICOMImportJobs, paginateListDatastores, diff --git a/clients/client-memorydb/src/schemas/schemas_0.ts b/clients/client-memorydb/src/schemas/schemas_0.ts index c42fa7fcf1fc..9e54cd4cc4d9 100644 --- a/clients/client-memorydb/src/schemas/schemas_0.ts +++ b/clients/client-memorydb/src/schemas/schemas_0.ts @@ -1668,7 +1668,6 @@ export var UserQuotaExceededFault: StaticErrorSchema = [ [0], ]; TypeRegistry.for(n0).registerError(UserQuotaExceededFault, __UserQuotaExceededFault); -export var __Unit = "unit" as const; export var MemoryDBServiceException: StaticErrorSchema = [-3, _s, "MemoryDBServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(MemoryDBServiceException, __MemoryDBServiceException); export var ACLClusterNameList = 64 | 0; diff --git a/clients/client-memorydb/test/index-objects.spec.mjs b/clients/client-memorydb/test/index-objects.spec.mjs index 16313dc3b066..110e4cc7c18a 100644 --- a/clients/client-memorydb/test/index-objects.spec.mjs +++ b/clients/client-memorydb/test/index-objects.spec.mjs @@ -1,7 +1,14 @@ import { + ACLAlreadyExistsFault, + ACLNotFoundFault, + ACLQuotaExceededFault, + APICallRateForCustomerExceededFault, AZStatus, AuthenticationType, BatchUpdateClusterCommand, + ClusterAlreadyExistsFault, + ClusterNotFoundFault, + ClusterQuotaForCustomerExceededFault, CopySnapshotCommand, CreateACLCommand, CreateClusterCommand, @@ -11,6 +18,7 @@ import { CreateSubnetGroupCommand, CreateUserCommand, DataTieringStatus, + DefaultUserRequired, DeleteACLCommand, DeleteClusterCommand, DeleteMultiRegionClusterCommand, @@ -33,8 +41,24 @@ import { DescribeSnapshotsCommand, DescribeSubnetGroupsCommand, DescribeUsersCommand, + DuplicateUserNameFault, FailoverShardCommand, InputAuthenticationType, + InsufficientClusterCapacityFault, + InvalidACLStateFault, + InvalidARNFault, + InvalidClusterStateFault, + InvalidCredentialsException, + InvalidKMSKeyFault, + InvalidMultiRegionClusterStateFault, + InvalidNodeStateFault, + InvalidParameterCombinationException, + InvalidParameterGroupStateFault, + InvalidParameterValueException, + InvalidSnapshotStateFault, + InvalidSubnet, + InvalidUserStateFault, + InvalidVPCNetworkStateFault, IpDiscovery, ListAllowedMultiRegionClusterUpdatesCommand, ListAllowedNodeTypeUpdatesCommand, @@ -42,13 +66,43 @@ import { MemoryDB, MemoryDBClient, MemoryDBServiceException, + MultiRegionClusterAlreadyExistsFault, + MultiRegionClusterNotFoundFault, + MultiRegionParameterGroupNotFoundFault, NetworkType, + NoOperationFault, + NodeQuotaForClusterExceededFault, + NodeQuotaForCustomerExceededFault, + ParameterGroupAlreadyExistsFault, + ParameterGroupNotFoundFault, + ParameterGroupQuotaExceededFault, PurchaseReservedNodesOfferingCommand, + ReservedNodeAlreadyExistsFault, + ReservedNodeNotFoundFault, + ReservedNodeQuotaExceededFault, + ReservedNodesOfferingNotFoundFault, ResetParameterGroupCommand, + ServiceLinkedRoleNotFoundFault, + ServiceUpdateNotFoundFault, ServiceUpdateStatus, ServiceUpdateType, + ShardNotFoundFault, + ShardsPerClusterQuotaExceededFault, + SnapshotAlreadyExistsFault, + SnapshotNotFoundFault, + SnapshotQuotaExceededFault, SourceType, + SubnetGroupAlreadyExistsFault, + SubnetGroupInUseFault, + SubnetGroupNotFoundFault, + SubnetGroupQuotaExceededFault, + SubnetInUse, + SubnetNotAllowedFault, + SubnetQuotaExceededFault, + TagNotFoundFault, + TagQuotaPerResourceExceeded, TagResourceCommand, + TestFailoverNotAvailableFault, UntagResourceCommand, UpdateACLCommand, UpdateClusterCommand, @@ -57,6 +111,9 @@ import { UpdateStrategy, UpdateSubnetGroupCommand, UpdateUserCommand, + UserAlreadyExistsFault, + UserNotFoundFault, + UserQuotaExceededFault, paginateDescribeACLs, paginateDescribeClusters, paginateDescribeEngineVersions, @@ -133,6 +190,63 @@ assert(typeof ServiceUpdateType === "object"); assert(typeof SourceType === "object"); assert(typeof UpdateStrategy === "object"); // errors +assert(ACLAlreadyExistsFault.prototype instanceof MemoryDBServiceException); +assert(ACLNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(ACLQuotaExceededFault.prototype instanceof MemoryDBServiceException); +assert(APICallRateForCustomerExceededFault.prototype instanceof MemoryDBServiceException); +assert(ClusterAlreadyExistsFault.prototype instanceof MemoryDBServiceException); +assert(ClusterNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(ClusterQuotaForCustomerExceededFault.prototype instanceof MemoryDBServiceException); +assert(DefaultUserRequired.prototype instanceof MemoryDBServiceException); +assert(DuplicateUserNameFault.prototype instanceof MemoryDBServiceException); +assert(InsufficientClusterCapacityFault.prototype instanceof MemoryDBServiceException); +assert(InvalidACLStateFault.prototype instanceof MemoryDBServiceException); +assert(InvalidARNFault.prototype instanceof MemoryDBServiceException); +assert(InvalidClusterStateFault.prototype instanceof MemoryDBServiceException); +assert(InvalidCredentialsException.prototype instanceof MemoryDBServiceException); +assert(InvalidKMSKeyFault.prototype instanceof MemoryDBServiceException); +assert(InvalidMultiRegionClusterStateFault.prototype instanceof MemoryDBServiceException); +assert(InvalidNodeStateFault.prototype instanceof MemoryDBServiceException); +assert(InvalidParameterCombinationException.prototype instanceof MemoryDBServiceException); +assert(InvalidParameterGroupStateFault.prototype instanceof MemoryDBServiceException); +assert(InvalidParameterValueException.prototype instanceof MemoryDBServiceException); +assert(InvalidSnapshotStateFault.prototype instanceof MemoryDBServiceException); +assert(InvalidSubnet.prototype instanceof MemoryDBServiceException); +assert(InvalidUserStateFault.prototype instanceof MemoryDBServiceException); +assert(InvalidVPCNetworkStateFault.prototype instanceof MemoryDBServiceException); +assert(MultiRegionClusterAlreadyExistsFault.prototype instanceof MemoryDBServiceException); +assert(MultiRegionClusterNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(MultiRegionParameterGroupNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(NodeQuotaForClusterExceededFault.prototype instanceof MemoryDBServiceException); +assert(NodeQuotaForCustomerExceededFault.prototype instanceof MemoryDBServiceException); +assert(NoOperationFault.prototype instanceof MemoryDBServiceException); +assert(ParameterGroupAlreadyExistsFault.prototype instanceof MemoryDBServiceException); +assert(ParameterGroupNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(ParameterGroupQuotaExceededFault.prototype instanceof MemoryDBServiceException); +assert(ReservedNodeAlreadyExistsFault.prototype instanceof MemoryDBServiceException); +assert(ReservedNodeNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(ReservedNodeQuotaExceededFault.prototype instanceof MemoryDBServiceException); +assert(ReservedNodesOfferingNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(ServiceLinkedRoleNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(ServiceUpdateNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(ShardNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(ShardsPerClusterQuotaExceededFault.prototype instanceof MemoryDBServiceException); +assert(SnapshotAlreadyExistsFault.prototype instanceof MemoryDBServiceException); +assert(SnapshotNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(SnapshotQuotaExceededFault.prototype instanceof MemoryDBServiceException); +assert(SubnetGroupAlreadyExistsFault.prototype instanceof MemoryDBServiceException); +assert(SubnetGroupInUseFault.prototype instanceof MemoryDBServiceException); +assert(SubnetGroupNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(SubnetGroupQuotaExceededFault.prototype instanceof MemoryDBServiceException); +assert(SubnetInUse.prototype instanceof MemoryDBServiceException); +assert(SubnetNotAllowedFault.prototype instanceof MemoryDBServiceException); +assert(SubnetQuotaExceededFault.prototype instanceof MemoryDBServiceException); +assert(TagNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(TagQuotaPerResourceExceeded.prototype instanceof MemoryDBServiceException); +assert(TestFailoverNotAvailableFault.prototype instanceof MemoryDBServiceException); +assert(UserAlreadyExistsFault.prototype instanceof MemoryDBServiceException); +assert(UserNotFoundFault.prototype instanceof MemoryDBServiceException); +assert(UserQuotaExceededFault.prototype instanceof MemoryDBServiceException); assert(MemoryDBServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeACLs === "function"); diff --git a/clients/client-memorydb/test/index-types.ts b/clients/client-memorydb/test/index-types.ts index 533d8fa90c95..f24d1f813cfc 100644 --- a/clients/client-memorydb/test/index-types.ts +++ b/clients/client-memorydb/test/index-types.ts @@ -278,6 +278,63 @@ export type { UpdateUserRequest, UpdateUserResponse, User, + ACLAlreadyExistsFault, + ACLNotFoundFault, + ACLQuotaExceededFault, + APICallRateForCustomerExceededFault, + ClusterAlreadyExistsFault, + ClusterNotFoundFault, + ClusterQuotaForCustomerExceededFault, + DefaultUserRequired, + DuplicateUserNameFault, + InsufficientClusterCapacityFault, + InvalidACLStateFault, + InvalidARNFault, + InvalidClusterStateFault, + InvalidCredentialsException, + InvalidKMSKeyFault, + InvalidMultiRegionClusterStateFault, + InvalidNodeStateFault, + InvalidParameterCombinationException, + InvalidParameterGroupStateFault, + InvalidParameterValueException, + InvalidSnapshotStateFault, + InvalidSubnet, + InvalidUserStateFault, + InvalidVPCNetworkStateFault, + MultiRegionClusterAlreadyExistsFault, + MultiRegionClusterNotFoundFault, + MultiRegionParameterGroupNotFoundFault, + NodeQuotaForClusterExceededFault, + NodeQuotaForCustomerExceededFault, + NoOperationFault, + ParameterGroupAlreadyExistsFault, + ParameterGroupNotFoundFault, + ParameterGroupQuotaExceededFault, + ReservedNodeAlreadyExistsFault, + ReservedNodeNotFoundFault, + ReservedNodeQuotaExceededFault, + ReservedNodesOfferingNotFoundFault, + ServiceLinkedRoleNotFoundFault, + ServiceUpdateNotFoundFault, + ShardNotFoundFault, + ShardsPerClusterQuotaExceededFault, + SnapshotAlreadyExistsFault, + SnapshotNotFoundFault, + SnapshotQuotaExceededFault, + SubnetGroupAlreadyExistsFault, + SubnetGroupInUseFault, + SubnetGroupNotFoundFault, + SubnetGroupQuotaExceededFault, + SubnetInUse, + SubnetNotAllowedFault, + SubnetQuotaExceededFault, + TagNotFoundFault, + TagQuotaPerResourceExceeded, + TestFailoverNotAvailableFault, + UserAlreadyExistsFault, + UserNotFoundFault, + UserQuotaExceededFault, MemoryDBServiceException, paginateDescribeACLs, paginateDescribeClusters, diff --git a/clients/client-mgn/test/index-objects.spec.mjs b/clients/client-mgn/test/index-objects.spec.mjs index d4712eef374f..0ba3138c9abd 100644 --- a/clients/client-mgn/test/index-objects.spec.mjs +++ b/clients/client-mgn/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ActionCategory, ApplicationHealthStatus, ApplicationProgressStatus, @@ -9,6 +10,7 @@ import { BootMode, ChangeServerLifeCycleStateCommand, ChangeServerLifeCycleStateSourceServerLifecycleState, + ConflictException, CreateApplicationCommand, CreateConnectorCommand, CreateLaunchConfigurationTemplateCommand, @@ -44,6 +46,7 @@ import { ImportStatus, InitializeServiceCommand, InitiatedBy, + InternalServerException, JobLogEvent, JobStatus, JobType, @@ -77,8 +80,10 @@ import { ReplicationConfigurationEbsEncryption, ReplicationConfigurationReplicatedDiskStagingDiskType, ReplicationType, + ResourceNotFoundException, ResumeReplicationCommand, RetryDataReplicationCommand, + ServiceQuotaExceededException, SsmDocumentType, SsmParameterStoreParameterType, StartCutoverCommand, @@ -90,8 +95,10 @@ import { TagResourceCommand, TargetInstanceTypeRightSizingMethod, TerminateTargetInstancesCommand, + ThrottlingException, UnarchiveApplicationCommand, UnarchiveWaveCommand, + UninitializedAccountException, UntagResourceCommand, UpdateApplicationCommand, UpdateConnectorCommand, @@ -102,6 +109,8 @@ import { UpdateSourceServerCommand, UpdateSourceServerReplicationTypeCommand, UpdateWaveCommand, + ValidationException, + ValidationExceptionReason, VolumeType, WaveHealthStatus, WaveProgressStatus, @@ -228,10 +237,19 @@ assert(typeof ReplicationType === "object"); assert(typeof SsmDocumentType === "object"); assert(typeof SsmParameterStoreParameterType === "object"); assert(typeof TargetInstanceTypeRightSizingMethod === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VolumeType === "object"); assert(typeof WaveHealthStatus === "object"); assert(typeof WaveProgressStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof MgnServiceException); +assert(ConflictException.prototype instanceof MgnServiceException); +assert(InternalServerException.prototype instanceof MgnServiceException); +assert(ResourceNotFoundException.prototype instanceof MgnServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MgnServiceException); +assert(ThrottlingException.prototype instanceof MgnServiceException); +assert(UninitializedAccountException.prototype instanceof MgnServiceException); +assert(ValidationException.prototype instanceof MgnServiceException); assert(MgnServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeJobLogItems === "function"); diff --git a/clients/client-mgn/test/index-types.ts b/clients/client-mgn/test/index-types.ts index 5412d76c5d32..f9f6256dbb97 100644 --- a/clients/client-mgn/test/index-types.ts +++ b/clients/client-mgn/test/index-types.ts @@ -242,6 +242,7 @@ export type { SsmDocumentType, SsmParameterStoreParameterType, TargetInstanceTypeRightSizingMethod, + ValidationExceptionReason, VolumeType, WaveHealthStatus, WaveProgressStatus, @@ -302,6 +303,7 @@ export type { DisassociateSourceServersResponse, DisconnectFromServiceRequest, Disk, + ErrorDetails, ExportErrorData, ExportTask, ExportTaskError, @@ -419,9 +421,18 @@ export type { UpdateSourceServerReplicationTypeRequest, UpdateSourceServerRequest, UpdateWaveRequest, + ValidationExceptionField, VcenterClient, Wave, WaveAggregatedStatus, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UninitializedAccountException, + ValidationException, MgnServiceException, paginateDescribeJobLogItems, paginateDescribeJobs, diff --git a/clients/client-migration-hub-refactor-spaces/test/index-objects.spec.mjs b/clients/client-migration-hub-refactor-spaces/test/index-objects.spec.mjs index 97340ef1ab4b..d7218c04abdb 100644 --- a/clients/client-migration-hub-refactor-spaces/test/index-objects.spec.mjs +++ b/clients/client-migration-hub-refactor-spaces/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, ApiGatewayEndpointType, ApplicationState, + ConflictException, CreateApplicationCommand, CreateEnvironmentCommand, CreateRouteCommand, @@ -19,6 +21,8 @@ import { GetRouteCommand, GetServiceCommand, HttpMethod, + InternalServerException, + InvalidResourcePolicyException, ListApplicationsCommand, ListEnvironmentVpcsCommand, ListEnvironmentsCommand, @@ -31,14 +35,18 @@ import { NetworkFabricType, ProxyType, PutResourcePolicyCommand, + ResourceNotFoundException, RouteActivationState, RouteState, RouteType, ServiceEndpointType, + ServiceQuotaExceededException, ServiceState, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateRouteCommand, + ValidationException, paginateListApplications, paginateListEnvironmentVpcs, paginateListEnvironments, @@ -89,6 +97,14 @@ assert(typeof RouteType === "object"); assert(typeof ServiceEndpointType === "object"); assert(typeof ServiceState === "object"); // errors +assert(AccessDeniedException.prototype instanceof MigrationHubRefactorSpacesServiceException); +assert(ConflictException.prototype instanceof MigrationHubRefactorSpacesServiceException); +assert(InternalServerException.prototype instanceof MigrationHubRefactorSpacesServiceException); +assert(InvalidResourcePolicyException.prototype instanceof MigrationHubRefactorSpacesServiceException); +assert(ResourceNotFoundException.prototype instanceof MigrationHubRefactorSpacesServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MigrationHubRefactorSpacesServiceException); +assert(ThrottlingException.prototype instanceof MigrationHubRefactorSpacesServiceException); +assert(ValidationException.prototype instanceof MigrationHubRefactorSpacesServiceException); assert(MigrationHubRefactorSpacesServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplications === "function"); diff --git a/clients/client-migration-hub-refactor-spaces/test/index-types.ts b/clients/client-migration-hub-refactor-spaces/test/index-types.ts index b07f5113fbe2..4754b3679a50 100644 --- a/clients/client-migration-hub-refactor-spaces/test/index-types.ts +++ b/clients/client-migration-hub-refactor-spaces/test/index-types.ts @@ -152,6 +152,14 @@ export type { UrlEndpointConfig, UrlEndpointInput, UrlEndpointSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidResourcePolicyException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, MigrationHubRefactorSpacesServiceException, paginateListApplications, paginateListEnvironmentVpcs, diff --git a/clients/client-migration-hub/src/schemas/schemas_0.ts b/clients/client-migration-hub/src/schemas/schemas_0.ts index 7bc2ef894113..14cae249c434 100644 --- a/clients/client-migration-hub/src/schemas/schemas_0.ts +++ b/clients/client-migration-hub/src/schemas/schemas_0.ts @@ -357,7 +357,6 @@ export var ThrottlingException: StaticErrorSchema = [ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException); export var UnauthorizedOperation: StaticErrorSchema = [-3, n0, _UO, { [_e]: _c }, [_M], [0]]; TypeRegistry.for(n0).registerError(UnauthorizedOperation, __UnauthorizedOperation); -export var __Unit = "unit" as const; export var MigrationHubServiceException: StaticErrorSchema = [-3, _sm, "MigrationHubServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MigrationHubServiceException, __MigrationHubServiceException); export var ApplicationIds = 64 | 0; diff --git a/clients/client-migration-hub/test/index-objects.spec.mjs b/clients/client-migration-hub/test/index-objects.spec.mjs index 7dc58f41766c..b2c06d660f1b 100644 --- a/clients/client-migration-hub/test/index-objects.spec.mjs +++ b/clients/client-migration-hub/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ApplicationStatus, AssociateCreatedArtifactCommand, AssociateDiscoveredResourceCommand, @@ -10,7 +11,11 @@ import { DisassociateCreatedArtifactCommand, DisassociateDiscoveredResourceCommand, DisassociateSourceResourceCommand, + DryRunOperation, + HomeRegionNotSetException, ImportMigrationTaskCommand, + InternalServerError, + InvalidInputException, ListApplicationStatesCommand, ListCreatedArtifactsCommand, ListDiscoveredResourcesCommand, @@ -23,9 +28,14 @@ import { MigrationHubServiceException, NotifyApplicationStateCommand, NotifyMigrationTaskStateCommand, + PolicyErrorException, PutResourceAttributesCommand, ResourceAttributeType, + ResourceNotFoundException, + ServiceUnavailableException, Status, + ThrottlingException, + UnauthorizedOperation, UpdateType, paginateListApplicationStates, paginateListCreatedArtifacts, @@ -67,6 +77,16 @@ assert(typeof ResourceAttributeType === "object"); assert(typeof Status === "object"); assert(typeof UpdateType === "object"); // errors +assert(AccessDeniedException.prototype instanceof MigrationHubServiceException); +assert(DryRunOperation.prototype instanceof MigrationHubServiceException); +assert(HomeRegionNotSetException.prototype instanceof MigrationHubServiceException); +assert(InternalServerError.prototype instanceof MigrationHubServiceException); +assert(InvalidInputException.prototype instanceof MigrationHubServiceException); +assert(PolicyErrorException.prototype instanceof MigrationHubServiceException); +assert(ResourceNotFoundException.prototype instanceof MigrationHubServiceException); +assert(ServiceUnavailableException.prototype instanceof MigrationHubServiceException); +assert(ThrottlingException.prototype instanceof MigrationHubServiceException); +assert(UnauthorizedOperation.prototype instanceof MigrationHubServiceException); assert(MigrationHubServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplicationStates === "function"); diff --git a/clients/client-migration-hub/test/index-types.ts b/clients/client-migration-hub/test/index-types.ts index 2231cd2b43f7..d90f074b5093 100644 --- a/clients/client-migration-hub/test/index-types.ts +++ b/clients/client-migration-hub/test/index-types.ts @@ -121,6 +121,16 @@ export type { ResourceAttribute, SourceResource, Task, + AccessDeniedException, + DryRunOperation, + HomeRegionNotSetException, + InternalServerError, + InvalidInputException, + PolicyErrorException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, + UnauthorizedOperation, MigrationHubServiceException, paginateListApplicationStates, paginateListCreatedArtifacts, diff --git a/clients/client-migrationhub-config/src/schemas/schemas_0.ts b/clients/client-migrationhub-config/src/schemas/schemas_0.ts index 92a9fad71425..300518655f53 100644 --- a/clients/client-migrationhub-config/src/schemas/schemas_0.ts +++ b/clients/client-migrationhub-config/src/schemas/schemas_0.ts @@ -110,7 +110,6 @@ export var ThrottlingException: StaticErrorSchema = [ [0, [1, { [_hH]: _RA }]], ]; TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException); -export var __Unit = "unit" as const; export var MigrationHubConfigServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-migrationhub-config/test/index-objects.spec.mjs b/clients/client-migrationhub-config/test/index-objects.spec.mjs index 9503088aec86..21b795f7ac0f 100644 --- a/clients/client-migrationhub-config/test/index-objects.spec.mjs +++ b/clients/client-migrationhub-config/test/index-objects.spec.mjs @@ -1,12 +1,18 @@ import { + AccessDeniedException, CreateHomeRegionControlCommand, DeleteHomeRegionControlCommand, DescribeHomeRegionControlsCommand, + DryRunOperation, GetHomeRegionCommand, + InternalServerError, + InvalidInputException, MigrationHubConfig, MigrationHubConfigClient, MigrationHubConfigServiceException, + ServiceUnavailableException, TargetType, + ThrottlingException, paginateDescribeHomeRegionControls, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -21,6 +27,12 @@ assert(typeof GetHomeRegionCommand === "function"); // enums assert(typeof TargetType === "object"); // errors +assert(AccessDeniedException.prototype instanceof MigrationHubConfigServiceException); +assert(DryRunOperation.prototype instanceof MigrationHubConfigServiceException); +assert(InternalServerError.prototype instanceof MigrationHubConfigServiceException); +assert(InvalidInputException.prototype instanceof MigrationHubConfigServiceException); +assert(ServiceUnavailableException.prototype instanceof MigrationHubConfigServiceException); +assert(ThrottlingException.prototype instanceof MigrationHubConfigServiceException); assert(MigrationHubConfigServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeHomeRegionControls === "function"); diff --git a/clients/client-migrationhub-config/test/index-types.ts b/clients/client-migrationhub-config/test/index-types.ts index 1e00b899ccda..c057d4065983 100644 --- a/clients/client-migrationhub-config/test/index-types.ts +++ b/clients/client-migrationhub-config/test/index-types.ts @@ -25,6 +25,12 @@ export type { GetHomeRegionResult, HomeRegionControl, Target, + AccessDeniedException, + DryRunOperation, + InternalServerError, + InvalidInputException, + ServiceUnavailableException, + ThrottlingException, MigrationHubConfigServiceException, paginateDescribeHomeRegionControls, } from "../dist-types/index.d"; diff --git a/clients/client-migrationhuborchestrator/test/index-objects.spec.mjs b/clients/client-migrationhuborchestrator/test/index-objects.spec.mjs index 6dd984677420..07d64042a1f3 100644 --- a/clients/client-migrationhuborchestrator/test/index-objects.spec.mjs +++ b/clients/client-migrationhuborchestrator/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + ConflictException, CreateTemplateCommand, CreateWorkflowCommand, CreateWorkflowStepCommand, @@ -14,6 +16,7 @@ import { GetWorkflowCommand, GetWorkflowStepCommand, GetWorkflowStepGroupCommand, + InternalServerException, ListPluginsCommand, ListTagsForResourceCommand, ListTemplateStepGroupsCommand, @@ -28,6 +31,7 @@ import { MigrationWorkflowStatusEnum, Owner, PluginHealth, + ResourceNotFoundException, RetryWorkflowStepCommand, RunEnvironment, StartWorkflowCommand, @@ -38,11 +42,13 @@ import { TagResourceCommand, TargetType, TemplateStatus, + ThrottlingException, UntagResourceCommand, UpdateTemplateCommand, UpdateWorkflowCommand, UpdateWorkflowStepCommand, UpdateWorkflowStepGroupCommand, + ValidationException, paginateListPlugins, paginateListTemplateStepGroups, paginateListTemplateSteps, @@ -99,6 +105,12 @@ assert(typeof StepStatus === "object"); assert(typeof TargetType === "object"); assert(typeof TemplateStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof MigrationHubOrchestratorServiceException); +assert(ConflictException.prototype instanceof MigrationHubOrchestratorServiceException); +assert(InternalServerException.prototype instanceof MigrationHubOrchestratorServiceException); +assert(ResourceNotFoundException.prototype instanceof MigrationHubOrchestratorServiceException); +assert(ThrottlingException.prototype instanceof MigrationHubOrchestratorServiceException); +assert(ValidationException.prototype instanceof MigrationHubOrchestratorServiceException); assert(MigrationHubOrchestratorServiceException.prototype instanceof Error); // paginators assert(typeof paginateListPlugins === "function"); diff --git a/clients/client-migrationhuborchestrator/test/index-types.ts b/clients/client-migrationhuborchestrator/test/index-types.ts index 76312dba5c6e..b81973a195c1 100644 --- a/clients/client-migrationhuborchestrator/test/index-types.ts +++ b/clients/client-migrationhuborchestrator/test/index-types.ts @@ -185,6 +185,12 @@ export type { WorkflowStepOutput, WorkflowStepOutputUnion, WorkflowStepSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, MigrationHubOrchestratorServiceException, paginateListPlugins, paginateListTemplateStepGroups, diff --git a/clients/client-migrationhubstrategy/test/index-objects.spec.mjs b/clients/client-migrationhubstrategy/test/index-objects.spec.mjs index 0b879891209c..6856502d8a6f 100644 --- a/clients/client-migrationhubstrategy/test/index-objects.spec.mjs +++ b/clients/client-migrationhubstrategy/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AnalysisType, AntipatternReportStatus, AppType, @@ -12,8 +13,10 @@ import { BinaryAnalyzerName, CollectorHealth, Condition, + ConflictException, DataSourceType, DatabaseManagementPreference, + DependencyException, GetApplicationComponentDetailsCommand, GetApplicationComponentStrategiesCommand, GetAssessmentCommand, @@ -29,6 +32,7 @@ import { HomogeneousTargetDatabaseEngine, ImportFileTaskStatus, InclusionStatus, + InternalServerException, ListAnalyzableServersCommand, ListApplicationComponentsCommand, ListCollectorsCommand, @@ -43,6 +47,7 @@ import { PipelineType, PutPortfolioPreferencesCommand, RecommendationReportStatus, + ResourceNotFoundException, ResourceSubType, RunTimeAnalyzerName, RunTimeAssessmentStatus, @@ -51,6 +56,8 @@ import { ServerCriteria, ServerErrorCategory, ServerOsType, + ServiceLinkedRoleLockClientException, + ServiceQuotaExceededException, Severity, SortOrder, SourceCodeAnalyzerName, @@ -63,9 +70,11 @@ import { StrategyRecommendation, TargetDatabaseEngine, TargetDestination, + ThrottlingException, TransformationToolName, UpdateApplicationComponentConfigCommand, UpdateServerConfigCommand, + ValidationException, VersionControl, VersionControlType, paginateGetServerDetails, @@ -148,6 +157,15 @@ assert(typeof TransformationToolName === "object"); assert(typeof VersionControl === "object"); assert(typeof VersionControlType === "object"); // errors +assert(AccessDeniedException.prototype instanceof MigrationHubStrategyServiceException); +assert(ConflictException.prototype instanceof MigrationHubStrategyServiceException); +assert(DependencyException.prototype instanceof MigrationHubStrategyServiceException); +assert(InternalServerException.prototype instanceof MigrationHubStrategyServiceException); +assert(ResourceNotFoundException.prototype instanceof MigrationHubStrategyServiceException); +assert(ServiceLinkedRoleLockClientException.prototype instanceof MigrationHubStrategyServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MigrationHubStrategyServiceException); +assert(ThrottlingException.prototype instanceof MigrationHubStrategyServiceException); +assert(ValidationException.prototype instanceof MigrationHubStrategyServiceException); assert(MigrationHubStrategyServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetServerDetails === "function"); diff --git a/clients/client-migrationhubstrategy/test/index-types.ts b/clients/client-migrationhubstrategy/test/index-types.ts index 7e8f8c8f3b79..c1d377d581fd 100644 --- a/clients/client-migrationhubstrategy/test/index-types.ts +++ b/clients/client-migrationhubstrategy/test/index-types.ts @@ -209,6 +209,15 @@ export type { UpdateServerConfigResponse, VcenterBasedRemoteInfo, VersionControlInfo, + AccessDeniedException, + ConflictException, + DependencyException, + InternalServerException, + ResourceNotFoundException, + ServiceLinkedRoleLockClientException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, MigrationHubStrategyServiceException, paginateGetServerDetails, paginateListAnalyzableServers, diff --git a/clients/client-mpa/test/index-objects.spec.mjs b/clients/client-mpa/test/index-objects.spec.mjs index 22b591292122..66141e872f33 100644 --- a/clients/client-mpa/test/index-objects.spec.mjs +++ b/clients/client-mpa/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, ActionCompletionStrategy, ApprovalTeamStatus, ApprovalTeamStatusCode, CancelSessionCommand, + ConflictException, CreateApprovalTeamCommand, CreateIdentitySourceCommand, DeleteIdentitySourceCommand, @@ -17,6 +19,8 @@ import { IdentitySourceStatusCode, IdentitySourceType, IdentityStatus, + InternalServerException, + InvalidParameterException, ListApprovalTeamsCommand, ListIdentitySourcesCommand, ListPoliciesCommand, @@ -30,14 +34,19 @@ import { Operator, PolicyStatus, PolicyType, + ResourceNotFoundException, + ServiceQuotaExceededException, SessionExecutionStatus, SessionResponse, SessionStatus, SessionStatusCode, StartActiveApprovalTeamDeletionCommand, TagResourceCommand, + ThrottlingException, + TooManyTagsException, UntagResourceCommand, UpdateApprovalTeamCommand, + ValidationException, paginateListApprovalTeams, paginateListIdentitySources, paginateListPolicies, @@ -88,6 +97,15 @@ assert(typeof SessionResponse === "object"); assert(typeof SessionStatus === "object"); assert(typeof SessionStatusCode === "object"); // errors +assert(AccessDeniedException.prototype instanceof MPAServiceException); +assert(ConflictException.prototype instanceof MPAServiceException); +assert(InternalServerException.prototype instanceof MPAServiceException); +assert(InvalidParameterException.prototype instanceof MPAServiceException); +assert(ResourceNotFoundException.prototype instanceof MPAServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MPAServiceException); +assert(ThrottlingException.prototype instanceof MPAServiceException); +assert(TooManyTagsException.prototype instanceof MPAServiceException); +assert(ValidationException.prototype instanceof MPAServiceException); assert(MPAServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApprovalTeams === "function"); diff --git a/clients/client-mpa/test/index-types.ts b/clients/client-mpa/test/index-types.ts index fbe9429c14a8..cb07bbef719d 100644 --- a/clients/client-mpa/test/index-types.ts +++ b/clients/client-mpa/test/index-types.ts @@ -143,6 +143,15 @@ export type { UntagResourceResponse, UpdateApprovalTeamRequest, UpdateApprovalTeamResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidParameterException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + TooManyTagsException, + ValidationException, MPAServiceException, paginateListApprovalTeams, paginateListIdentitySources, diff --git a/clients/client-mq/test/index-objects.spec.mjs b/clients/client-mq/test/index-objects.spec.mjs index 2015f2343df2..d3d13985555d 100644 --- a/clients/client-mq/test/index-objects.spec.mjs +++ b/clients/client-mq/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { AuthenticationStrategy, + BadRequestException, BrokerState, BrokerStorageType, ChangeType, + ConflictException, CreateBrokerCommand, CreateConfigurationCommand, CreateTagsCommand, @@ -21,6 +23,8 @@ import { DescribeConfigurationRevisionCommand, DescribeUserCommand, EngineType, + ForbiddenException, + InternalServerErrorException, ListBrokersCommand, ListConfigurationRevisionsCommand, ListConfigurationsCommand, @@ -29,10 +33,12 @@ import { Mq, MqClient, MqServiceException, + NotFoundException, PromoteCommand, PromoteMode, RebootBrokerCommand, SanitizationWarningReason, + UnauthorizedException, UpdateBrokerCommand, UpdateConfigurationCommand, UpdateUserCommand, @@ -79,6 +85,12 @@ assert(typeof EngineType === "object"); assert(typeof PromoteMode === "object"); assert(typeof SanitizationWarningReason === "object"); // errors +assert(BadRequestException.prototype instanceof MqServiceException); +assert(ConflictException.prototype instanceof MqServiceException); +assert(ForbiddenException.prototype instanceof MqServiceException); +assert(InternalServerErrorException.prototype instanceof MqServiceException); +assert(NotFoundException.prototype instanceof MqServiceException); +assert(UnauthorizedException.prototype instanceof MqServiceException); assert(MqServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBrokers === "function"); diff --git a/clients/client-mq/test/index-types.ts b/clients/client-mq/test/index-types.ts index f967e9844288..ef7a2bee65da 100644 --- a/clients/client-mq/test/index-types.ts +++ b/clients/client-mq/test/index-types.ts @@ -154,6 +154,12 @@ export type { UserPendingChanges, UserSummary, WeeklyStartTime, + BadRequestException, + ConflictException, + ForbiddenException, + InternalServerErrorException, + NotFoundException, + UnauthorizedException, MqServiceException, paginateListBrokers, } from "../dist-types/index.d"; diff --git a/clients/client-mturk/src/schemas/schemas_0.ts b/clients/client-mturk/src/schemas/schemas_0.ts index c69b0bc57a64..ee104ae78c93 100644 --- a/clients/client-mturk/src/schemas/schemas_0.ts +++ b/clients/client-mturk/src/schemas/schemas_0.ts @@ -700,7 +700,6 @@ export var UpdateQualificationTypeResponse: StaticStructureSchema = [ [() => QualificationType], ]; export var WorkerBlock: StaticStructureSchema = [3, n0, _WBo, 0, [_WI, _R], [0, 0]]; -export var __Unit = "unit" as const; export var MTurkServiceException: StaticErrorSchema = [-3, _sm, "MTurkServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MTurkServiceException, __MTurkServiceException); export var AssignmentList: StaticListSchema = [1, n0, _AL, 0, () => Assignment]; diff --git a/clients/client-mturk/test/index-objects.spec.mjs b/clients/client-mturk/test/index-objects.spec.mjs index 384b957a40cf..50a38265e784 100644 --- a/clients/client-mturk/test/index-objects.spec.mjs +++ b/clients/client-mturk/test/index-objects.spec.mjs @@ -44,11 +44,13 @@ import { QualificationTypeStatus, RejectAssignmentCommand, RejectQualificationRequestCommand, + RequestError, ReviewActionStatus, ReviewPolicyLevel, ReviewableHITStatus, SendBonusCommand, SendTestEventNotificationCommand, + ServiceFault, UpdateExpirationForHITCommand, UpdateHITReviewStatusCommand, UpdateHITTypeOfHITCommand, @@ -124,6 +126,8 @@ assert(typeof ReviewableHITStatus === "object"); assert(typeof ReviewActionStatus === "object"); assert(typeof ReviewPolicyLevel === "object"); // errors +assert(RequestError.prototype instanceof MTurkServiceException); +assert(ServiceFault.prototype instanceof MTurkServiceException); assert(MTurkServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAssignmentsForHIT === "function"); diff --git a/clients/client-mturk/test/index-types.ts b/clients/client-mturk/test/index-types.ts index 5ee96224d1bd..8ba980bbfad0 100644 --- a/clients/client-mturk/test/index-types.ts +++ b/clients/client-mturk/test/index-types.ts @@ -228,6 +228,8 @@ export type { UpdateQualificationTypeRequest, UpdateQualificationTypeResponse, WorkerBlock, + RequestError, + ServiceFault, MTurkServiceException, paginateListAssignmentsForHIT, paginateListBonusPayments, diff --git a/clients/client-mwaa-serverless/src/schemas/schemas_0.ts b/clients/client-mwaa-serverless/src/schemas/schemas_0.ts index 2cde23ccc3b9..39bd927a1013 100644 --- a/clients/client-mwaa-serverless/src/schemas/schemas_0.ts +++ b/clients/client-mwaa-serverless/src/schemas/schemas_0.ts @@ -501,7 +501,6 @@ export var WorkflowVersionSummary: StaticStructureSchema = [ [_WV, _WA, _ILV, _CA, _MA, _DSL, _SC, _TM], [0, 0, 2, 5, 5, () => DefinitionS3Location, () => ScheduleConfiguration, 0], ]; -export var __Unit = "unit" as const; export var MWAAServerlessServiceException: StaticErrorSchema = [-3, _sm, "MWAAServerlessServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MWAAServerlessServiceException, __MWAAServerlessServiceException); export var SecurityGroupIds = 64 | 0; diff --git a/clients/client-mwaa-serverless/test/index-objects.spec.mjs b/clients/client-mwaa-serverless/test/index-objects.spec.mjs index ed533729579d..577f23d1ae37 100644 --- a/clients/client-mwaa-serverless/test/index-objects.spec.mjs +++ b/clients/client-mwaa-serverless/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + ConflictException, CreateWorkflowCommand, DeleteWorkflowCommand, EncryptionType, @@ -6,6 +8,7 @@ import { GetTaskInstanceCommand, GetWorkflowCommand, GetWorkflowRunCommand, + InternalServerException, ListTagsForResourceCommand, ListTaskInstancesCommand, ListWorkflowRunsCommand, @@ -14,13 +17,19 @@ import { MWAAServerless, MWAAServerlessClient, MWAAServerlessServiceException, + OperationTimeoutException, + ResourceNotFoundException, RunType, + ServiceQuotaExceededException, StartWorkflowRunCommand, StopWorkflowRunCommand, TagResourceCommand, TaskInstanceStatus, + ThrottlingException, UntagResourceCommand, UpdateWorkflowCommand, + ValidationException, + ValidationExceptionReason, WorkflowRunStatus, WorkflowStatus, paginateListTaskInstances, @@ -53,9 +62,18 @@ assert(typeof EncryptionType === "object"); assert(typeof EngineVersion === "object"); assert(typeof RunType === "object"); assert(typeof TaskInstanceStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof WorkflowRunStatus === "object"); assert(typeof WorkflowStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof MWAAServerlessServiceException); +assert(ConflictException.prototype instanceof MWAAServerlessServiceException); +assert(InternalServerException.prototype instanceof MWAAServerlessServiceException); +assert(OperationTimeoutException.prototype instanceof MWAAServerlessServiceException); +assert(ResourceNotFoundException.prototype instanceof MWAAServerlessServiceException); +assert(ServiceQuotaExceededException.prototype instanceof MWAAServerlessServiceException); +assert(ThrottlingException.prototype instanceof MWAAServerlessServiceException); +assert(ValidationException.prototype instanceof MWAAServerlessServiceException); assert(MWAAServerlessServiceException.prototype instanceof Error); // paginators assert(typeof paginateListTaskInstances === "function"); diff --git a/clients/client-mwaa-serverless/test/index-types.ts b/clients/client-mwaa-serverless/test/index-types.ts index caedc7d3ba1e..50d2f3223ba0 100644 --- a/clients/client-mwaa-serverless/test/index-types.ts +++ b/clients/client-mwaa-serverless/test/index-types.ts @@ -51,6 +51,7 @@ export type { EngineVersion, RunType, TaskInstanceStatus, + ValidationExceptionReason, WorkflowRunStatus, WorkflowStatus, CreateWorkflowRequest, @@ -90,10 +91,19 @@ export type { UntagResourceResponse, UpdateWorkflowRequest, UpdateWorkflowResponse, + ValidationExceptionField, WorkflowRunDetail, WorkflowRunSummary, WorkflowSummary, WorkflowVersionSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + OperationTimeoutException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, MWAAServerlessServiceException, paginateListTaskInstances, paginateListWorkflowRuns, diff --git a/clients/client-mwaa/test/index-objects.spec.mjs b/clients/client-mwaa/test/index-objects.spec.mjs index ee39868daf4e..f9739776ad40 100644 --- a/clients/client-mwaa/test/index-objects.spec.mjs +++ b/clients/client-mwaa/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, CreateCliTokenCommand, CreateEnvironmentCommand, CreateWebLoginTokenCommand, @@ -6,6 +7,7 @@ import { EndpointManagement, EnvironmentStatus, GetEnvironmentCommand, + InternalServerException, InvokeRestApiCommand, ListEnvironmentsCommand, ListTagsForResourceCommand, @@ -14,12 +16,16 @@ import { MWAAClient, MWAAServiceException, PublishMetricsCommand, + ResourceNotFoundException, + RestApiClientException, RestApiMethod, + RestApiServerException, TagResourceCommand, Unit, UntagResourceCommand, UpdateEnvironmentCommand, UpdateStatus, + ValidationException, WebserverAccessMode, WorkerReplacementStrategy, paginateListEnvironments, @@ -51,6 +57,12 @@ assert(typeof UpdateStatus === "object"); assert(typeof WebserverAccessMode === "object"); assert(typeof WorkerReplacementStrategy === "object"); // errors +assert(AccessDeniedException.prototype instanceof MWAAServiceException); +assert(InternalServerException.prototype instanceof MWAAServiceException); +assert(ResourceNotFoundException.prototype instanceof MWAAServiceException); +assert(RestApiClientException.prototype instanceof MWAAServiceException); +assert(RestApiServerException.prototype instanceof MWAAServiceException); +assert(ValidationException.prototype instanceof MWAAServiceException); assert(MWAAServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEnvironments === "function"); diff --git a/clients/client-mwaa/test/index-types.ts b/clients/client-mwaa/test/index-types.ts index 70ce68675d25..beb38ba29bea 100644 --- a/clients/client-mwaa/test/index-types.ts +++ b/clients/client-mwaa/test/index-types.ts @@ -82,6 +82,12 @@ export type { UpdateEnvironmentOutput, UpdateError, UpdateNetworkConfigurationInput, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + RestApiClientException, + RestApiServerException, + ValidationException, MWAAServiceException, paginateListEnvironments, } from "../dist-types/index.d"; diff --git a/clients/client-neptune-graph/test/index-objects.spec.mjs b/clients/client-neptune-graph/test/index-objects.spec.mjs index 578529d88681..ff72f8198da6 100644 --- a/clients/client-neptune-graph/test/index-objects.spec.mjs +++ b/clients/client-neptune-graph/test/index-objects.spec.mjs @@ -1,8 +1,11 @@ import { + AccessDeniedException, BlankNodeHandling, CancelExportTaskCommand, CancelImportTaskCommand, CancelQueryCommand, + ConflictException, + ConflictExceptionReason, CreateGraphCommand, CreateGraphSnapshotCommand, CreateGraphUsingImportTaskCommand, @@ -25,6 +28,7 @@ import { GraphStatus, GraphSummaryMode, ImportTaskStatus, + InternalServerException, ListExportTasksCommand, ListGraphSnapshotsCommand, ListGraphsCommand, @@ -43,15 +47,22 @@ import { QueryState, QueryStateInput, ResetGraphCommand, + ResourceNotFoundException, RestoreGraphFromSnapshotCommand, + ServiceQuotaExceededException, SnapshotStatus, StartExportTaskCommand, StartGraphCommand, StartImportTaskCommand, StopGraphCommand, TagResourceCommand, + ThrottlingException, + UnprocessableException, + UnprocessableExceptionReason, UntagResourceCommand, UpdateGraphCommand, + ValidationException, + ValidationExceptionReason, paginateListExportTasks, paginateListGraphSnapshots, paginateListGraphs, @@ -121,6 +132,7 @@ assert(typeof UntagResourceCommand === "function"); assert(typeof UpdateGraphCommand === "function"); // enums assert(typeof BlankNodeHandling === "object"); +assert(typeof ConflictExceptionReason === "object"); assert(typeof ExplainMode === "object"); assert(typeof ExportFormat === "object"); assert(typeof ExportTaskStatus === "object"); @@ -136,7 +148,17 @@ assert(typeof QueryLanguage === "object"); assert(typeof QueryState === "object"); assert(typeof QueryStateInput === "object"); assert(typeof SnapshotStatus === "object"); +assert(typeof UnprocessableExceptionReason === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof NeptuneGraphServiceException); +assert(ConflictException.prototype instanceof NeptuneGraphServiceException); +assert(InternalServerException.prototype instanceof NeptuneGraphServiceException); +assert(ResourceNotFoundException.prototype instanceof NeptuneGraphServiceException); +assert(ServiceQuotaExceededException.prototype instanceof NeptuneGraphServiceException); +assert(ThrottlingException.prototype instanceof NeptuneGraphServiceException); +assert(UnprocessableException.prototype instanceof NeptuneGraphServiceException); +assert(ValidationException.prototype instanceof NeptuneGraphServiceException); assert(NeptuneGraphServiceException.prototype instanceof Error); // waiters assert(typeof waitForExportTaskCancelled === "function"); diff --git a/clients/client-neptune-graph/test/index-types.ts b/clients/client-neptune-graph/test/index-types.ts index 6cc29e3fd702..93fc8b7aaf3b 100644 --- a/clients/client-neptune-graph/test/index-types.ts +++ b/clients/client-neptune-graph/test/index-types.ts @@ -105,6 +105,7 @@ export type { UpdateGraphCommandInput, UpdateGraphCommandOutput, BlankNodeHandling, + ConflictExceptionReason, ExplainMode, ExportFormat, ExportTaskStatus, @@ -120,6 +121,8 @@ export type { QueryState, QueryStateInput, SnapshotStatus, + UnprocessableExceptionReason, + ValidationExceptionReason, CancelExportTaskInput, CancelExportTaskOutput, CancelImportTaskInput, @@ -204,6 +207,14 @@ export type { UpdateGraphInput, UpdateGraphOutput, VectorSearchConfiguration, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UnprocessableException, + ValidationException, NeptuneGraphServiceException, waitForExportTaskCancelled, waitForExportTaskSuccessful, diff --git a/clients/client-neptune/test/index-objects.spec.mjs b/clients/client-neptune/test/index-objects.spec.mjs index 24a64404ca06..121efe4a8ff0 100644 --- a/clients/client-neptune/test/index-objects.spec.mjs +++ b/clients/client-neptune/test/index-objects.spec.mjs @@ -4,6 +4,8 @@ import { AddTagsToResourceCommand, ApplyMethod, ApplyPendingMaintenanceActionCommand, + AuthorizationNotFoundFault, + CertificateNotFoundFault, CopyDBClusterParameterGroupCommand, CopyDBClusterSnapshotCommand, CopyDBParameterGroupCommand, @@ -16,6 +18,32 @@ import { CreateDBSubnetGroupCommand, CreateEventSubscriptionCommand, CreateGlobalClusterCommand, + DBClusterAlreadyExistsFault, + DBClusterEndpointAlreadyExistsFault, + DBClusterEndpointNotFoundFault, + DBClusterEndpointQuotaExceededFault, + DBClusterNotFoundFault, + DBClusterParameterGroupNotFoundFault, + DBClusterQuotaExceededFault, + DBClusterRoleAlreadyExistsFault, + DBClusterRoleNotFoundFault, + DBClusterRoleQuotaExceededFault, + DBClusterSnapshotAlreadyExistsFault, + DBClusterSnapshotNotFoundFault, + DBInstanceAlreadyExistsFault, + DBInstanceNotFoundFault, + DBParameterGroupAlreadyExistsFault, + DBParameterGroupNotFoundFault, + DBParameterGroupQuotaExceededFault, + DBSecurityGroupNotFoundFault, + DBSnapshotAlreadyExistsFault, + DBSnapshotNotFoundFault, + DBSubnetGroupAlreadyExistsFault, + DBSubnetGroupDoesNotCoverEnoughAZs, + DBSubnetGroupNotFoundFault, + DBSubnetGroupQuotaExceededFault, + DBSubnetQuotaExceededFault, + DBUpgradeDependencyFailureFault, DeleteDBClusterCommand, DeleteDBClusterEndpointCommand, DeleteDBClusterParameterGroupCommand, @@ -45,9 +73,33 @@ import { DescribeOrderableDBInstanceOptionsCommand, DescribePendingMaintenanceActionsCommand, DescribeValidDBInstanceModificationsCommand, + DomainNotFoundFault, + EventSubscriptionQuotaExceededFault, FailoverDBClusterCommand, FailoverGlobalClusterCommand, FailoverStatus, + GlobalClusterAlreadyExistsFault, + GlobalClusterNotFoundFault, + GlobalClusterQuotaExceededFault, + InstanceQuotaExceededFault, + InsufficientDBClusterCapacityFault, + InsufficientDBInstanceCapacityFault, + InsufficientStorageClusterCapacityFault, + InvalidDBClusterEndpointStateFault, + InvalidDBClusterSnapshotStateFault, + InvalidDBClusterStateFault, + InvalidDBInstanceStateFault, + InvalidDBParameterGroupStateFault, + InvalidDBSecurityGroupStateFault, + InvalidDBSnapshotStateFault, + InvalidDBSubnetGroupStateFault, + InvalidDBSubnetStateFault, + InvalidEventSubscriptionStateFault, + InvalidGlobalClusterStateFault, + InvalidRestoreFault, + InvalidSubnet, + InvalidVPCNetworkStateFault, + KMSKeyNotAccessibleFault, ListTagsForResourceCommand, ModifyDBClusterCommand, ModifyDBClusterEndpointCommand, @@ -61,7 +113,9 @@ import { Neptune, NeptuneClient, NeptuneServiceException, + OptionGroupNotFoundFault, PromoteReadReplicaDBClusterCommand, + ProvisionedIopsNotAvailableInAZFault, RebootDBInstanceCommand, RemoveFromGlobalClusterCommand, RemoveRoleFromDBClusterCommand, @@ -69,11 +123,24 @@ import { RemoveTagsFromResourceCommand, ResetDBClusterParameterGroupCommand, ResetDBParameterGroupCommand, + ResourceNotFoundFault, RestoreDBClusterFromSnapshotCommand, RestoreDBClusterToPointInTimeCommand, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, + SNSTopicArnNotFoundFault, + SharedSnapshotQuotaExceededFault, + SnapshotQuotaExceededFault, + SourceNotFoundFault, SourceType, StartDBClusterCommand, StopDBClusterCommand, + StorageQuotaExceededFault, + StorageTypeNotSupportedFault, + SubnetAlreadyInUse, + SubscriptionAlreadyExistFault, + SubscriptionCategoryNotFoundFault, + SubscriptionNotFoundFault, SwitchoverGlobalClusterCommand, paginateDescribeDBClusterEndpoints, paginateDescribeDBClusterParameterGroups, @@ -176,6 +243,73 @@ assert(typeof ApplyMethod === "object"); assert(typeof FailoverStatus === "object"); assert(typeof SourceType === "object"); // errors +assert(AuthorizationNotFoundFault.prototype instanceof NeptuneServiceException); +assert(CertificateNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBClusterAlreadyExistsFault.prototype instanceof NeptuneServiceException); +assert(DBClusterEndpointAlreadyExistsFault.prototype instanceof NeptuneServiceException); +assert(DBClusterEndpointNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBClusterEndpointQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(DBClusterNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBClusterParameterGroupNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBClusterQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(DBClusterRoleAlreadyExistsFault.prototype instanceof NeptuneServiceException); +assert(DBClusterRoleNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBClusterRoleQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(DBClusterSnapshotAlreadyExistsFault.prototype instanceof NeptuneServiceException); +assert(DBClusterSnapshotNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBInstanceAlreadyExistsFault.prototype instanceof NeptuneServiceException); +assert(DBInstanceNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBParameterGroupAlreadyExistsFault.prototype instanceof NeptuneServiceException); +assert(DBParameterGroupNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBParameterGroupQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(DBSecurityGroupNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBSnapshotAlreadyExistsFault.prototype instanceof NeptuneServiceException); +assert(DBSnapshotNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBSubnetGroupAlreadyExistsFault.prototype instanceof NeptuneServiceException); +assert(DBSubnetGroupDoesNotCoverEnoughAZs.prototype instanceof NeptuneServiceException); +assert(DBSubnetGroupNotFoundFault.prototype instanceof NeptuneServiceException); +assert(DBSubnetGroupQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(DBSubnetQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(DBUpgradeDependencyFailureFault.prototype instanceof NeptuneServiceException); +assert(DomainNotFoundFault.prototype instanceof NeptuneServiceException); +assert(EventSubscriptionQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(GlobalClusterAlreadyExistsFault.prototype instanceof NeptuneServiceException); +assert(GlobalClusterNotFoundFault.prototype instanceof NeptuneServiceException); +assert(GlobalClusterQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(InstanceQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(InsufficientDBClusterCapacityFault.prototype instanceof NeptuneServiceException); +assert(InsufficientDBInstanceCapacityFault.prototype instanceof NeptuneServiceException); +assert(InsufficientStorageClusterCapacityFault.prototype instanceof NeptuneServiceException); +assert(InvalidDBClusterEndpointStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidDBClusterSnapshotStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidDBClusterStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidDBInstanceStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidDBParameterGroupStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidDBSecurityGroupStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidDBSnapshotStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidDBSubnetGroupStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidDBSubnetStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidEventSubscriptionStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidGlobalClusterStateFault.prototype instanceof NeptuneServiceException); +assert(InvalidRestoreFault.prototype instanceof NeptuneServiceException); +assert(InvalidSubnet.prototype instanceof NeptuneServiceException); +assert(InvalidVPCNetworkStateFault.prototype instanceof NeptuneServiceException); +assert(KMSKeyNotAccessibleFault.prototype instanceof NeptuneServiceException); +assert(OptionGroupNotFoundFault.prototype instanceof NeptuneServiceException); +assert(ProvisionedIopsNotAvailableInAZFault.prototype instanceof NeptuneServiceException); +assert(ResourceNotFoundFault.prototype instanceof NeptuneServiceException); +assert(SharedSnapshotQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(SnapshotQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(SNSInvalidTopicFault.prototype instanceof NeptuneServiceException); +assert(SNSNoAuthorizationFault.prototype instanceof NeptuneServiceException); +assert(SNSTopicArnNotFoundFault.prototype instanceof NeptuneServiceException); +assert(SourceNotFoundFault.prototype instanceof NeptuneServiceException); +assert(StorageQuotaExceededFault.prototype instanceof NeptuneServiceException); +assert(StorageTypeNotSupportedFault.prototype instanceof NeptuneServiceException); +assert(SubnetAlreadyInUse.prototype instanceof NeptuneServiceException); +assert(SubscriptionAlreadyExistFault.prototype instanceof NeptuneServiceException); +assert(SubscriptionCategoryNotFoundFault.prototype instanceof NeptuneServiceException); +assert(SubscriptionNotFoundFault.prototype instanceof NeptuneServiceException); assert(NeptuneServiceException.prototype instanceof Error); // waiters assert(typeof waitForDBInstanceAvailable === "function"); diff --git a/clients/client-neptune/test/index-types.ts b/clients/client-neptune/test/index-types.ts index 0c5accca1f87..da6dc7ba27f1 100644 --- a/clients/client-neptune/test/index-types.ts +++ b/clients/client-neptune/test/index-types.ts @@ -394,6 +394,73 @@ export type { ValidDBInstanceModificationsMessage, ValidStorageOptions, VpcSecurityGroupMembership, + AuthorizationNotFoundFault, + CertificateNotFoundFault, + DBClusterAlreadyExistsFault, + DBClusterEndpointAlreadyExistsFault, + DBClusterEndpointNotFoundFault, + DBClusterEndpointQuotaExceededFault, + DBClusterNotFoundFault, + DBClusterParameterGroupNotFoundFault, + DBClusterQuotaExceededFault, + DBClusterRoleAlreadyExistsFault, + DBClusterRoleNotFoundFault, + DBClusterRoleQuotaExceededFault, + DBClusterSnapshotAlreadyExistsFault, + DBClusterSnapshotNotFoundFault, + DBInstanceAlreadyExistsFault, + DBInstanceNotFoundFault, + DBParameterGroupAlreadyExistsFault, + DBParameterGroupNotFoundFault, + DBParameterGroupQuotaExceededFault, + DBSecurityGroupNotFoundFault, + DBSnapshotAlreadyExistsFault, + DBSnapshotNotFoundFault, + DBSubnetGroupAlreadyExistsFault, + DBSubnetGroupDoesNotCoverEnoughAZs, + DBSubnetGroupNotFoundFault, + DBSubnetGroupQuotaExceededFault, + DBSubnetQuotaExceededFault, + DBUpgradeDependencyFailureFault, + DomainNotFoundFault, + EventSubscriptionQuotaExceededFault, + GlobalClusterAlreadyExistsFault, + GlobalClusterNotFoundFault, + GlobalClusterQuotaExceededFault, + InstanceQuotaExceededFault, + InsufficientDBClusterCapacityFault, + InsufficientDBInstanceCapacityFault, + InsufficientStorageClusterCapacityFault, + InvalidDBClusterEndpointStateFault, + InvalidDBClusterSnapshotStateFault, + InvalidDBClusterStateFault, + InvalidDBInstanceStateFault, + InvalidDBParameterGroupStateFault, + InvalidDBSecurityGroupStateFault, + InvalidDBSnapshotStateFault, + InvalidDBSubnetGroupStateFault, + InvalidDBSubnetStateFault, + InvalidEventSubscriptionStateFault, + InvalidGlobalClusterStateFault, + InvalidRestoreFault, + InvalidSubnet, + InvalidVPCNetworkStateFault, + KMSKeyNotAccessibleFault, + OptionGroupNotFoundFault, + ProvisionedIopsNotAvailableInAZFault, + ResourceNotFoundFault, + SharedSnapshotQuotaExceededFault, + SnapshotQuotaExceededFault, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, + SNSTopicArnNotFoundFault, + SourceNotFoundFault, + StorageQuotaExceededFault, + StorageTypeNotSupportedFault, + SubnetAlreadyInUse, + SubscriptionAlreadyExistFault, + SubscriptionCategoryNotFoundFault, + SubscriptionNotFoundFault, NeptuneServiceException, waitForDBInstanceAvailable, waitForDBInstanceDeleted, diff --git a/clients/client-neptunedata/test/index-objects.spec.mjs b/clients/client-neptunedata/test/index-objects.spec.mjs index 734acc5128dd..640b50813da2 100644 --- a/clients/client-neptunedata/test/index-objects.spec.mjs +++ b/clients/client-neptunedata/test/index-objects.spec.mjs @@ -1,11 +1,18 @@ import { + AccessDeniedException, Action, + BadRequestException, + BulkLoadIdNotFoundException, CancelGremlinQueryCommand, CancelLoaderJobCommand, CancelMLDataProcessingJobCommand, CancelMLModelTrainingJobCommand, CancelMLModelTransformJobCommand, CancelOpenCypherQueryCommand, + CancelledByUserException, + ClientTimeoutException, + ConcurrentModificationException, + ConstraintViolationException, CreateMLEndpointCommand, DeleteMLEndpointCommand, DeletePropertygraphStatisticsCommand, @@ -17,6 +24,8 @@ import { ExecuteGremlinQueryCommand, ExecuteOpenCypherExplainQueryCommand, ExecuteOpenCypherQueryCommand, + ExpiredStreamException, + FailureByQueryException, Format, GetEngineStatusCommand, GetGremlinQueryStatusCommand, @@ -33,6 +42,11 @@ import { GetSparqlStatisticsCommand, GetSparqlStreamCommand, GraphSummaryType, + IllegalArgumentException, + InternalFailureException, + InvalidArgumentException, + InvalidNumericDataException, + InvalidParameterException, IteratorType, ListGremlinQueriesCommand, ListLoaderJobsCommand, @@ -41,20 +55,40 @@ import { ListMLModelTrainingJobsCommand, ListMLModelTransformJobsCommand, ListOpenCypherQueriesCommand, + LoadUrlAccessDeniedException, + MLResourceNotFoundException, + MalformedQueryException, ManagePropertygraphStatisticsCommand, ManageSparqlStatisticsCommand, + MemoryLimitExceededException, + MethodNotAllowedException, + MissingParameterException, Mode, Neptunedata, NeptunedataClient, NeptunedataServiceException, OpenCypherExplainMode, Parallelism, + ParsingException, + PreconditionsFailedException, + QueryLimitExceededException, + QueryLimitException, + QueryTooLargeException, + ReadOnlyViolationException, S3BucketRegion, + S3Exception, + ServerShutdownException, StartLoaderJobCommand, StartMLDataProcessingJobCommand, StartMLModelTrainingJobCommand, StartMLModelTransformJobCommand, StatisticsAutoGenerationMode, + StatisticsNotAvailableException, + StreamRecordsNotFoundException, + ThrottlingException, + TimeLimitExceededException, + TooManyRequestsException, + UnsupportedOperationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -116,5 +150,39 @@ assert(typeof Parallelism === "object"); assert(typeof S3BucketRegion === "object"); assert(typeof StatisticsAutoGenerationMode === "object"); // errors +assert(AccessDeniedException.prototype instanceof NeptunedataServiceException); +assert(BadRequestException.prototype instanceof NeptunedataServiceException); +assert(BulkLoadIdNotFoundException.prototype instanceof NeptunedataServiceException); +assert(CancelledByUserException.prototype instanceof NeptunedataServiceException); +assert(ClientTimeoutException.prototype instanceof NeptunedataServiceException); +assert(ConcurrentModificationException.prototype instanceof NeptunedataServiceException); +assert(ConstraintViolationException.prototype instanceof NeptunedataServiceException); +assert(ExpiredStreamException.prototype instanceof NeptunedataServiceException); +assert(FailureByQueryException.prototype instanceof NeptunedataServiceException); +assert(IllegalArgumentException.prototype instanceof NeptunedataServiceException); +assert(InternalFailureException.prototype instanceof NeptunedataServiceException); +assert(InvalidArgumentException.prototype instanceof NeptunedataServiceException); +assert(InvalidNumericDataException.prototype instanceof NeptunedataServiceException); +assert(InvalidParameterException.prototype instanceof NeptunedataServiceException); +assert(LoadUrlAccessDeniedException.prototype instanceof NeptunedataServiceException); +assert(MalformedQueryException.prototype instanceof NeptunedataServiceException); +assert(MemoryLimitExceededException.prototype instanceof NeptunedataServiceException); +assert(MethodNotAllowedException.prototype instanceof NeptunedataServiceException); +assert(MissingParameterException.prototype instanceof NeptunedataServiceException); +assert(MLResourceNotFoundException.prototype instanceof NeptunedataServiceException); +assert(ParsingException.prototype instanceof NeptunedataServiceException); +assert(PreconditionsFailedException.prototype instanceof NeptunedataServiceException); +assert(QueryLimitExceededException.prototype instanceof NeptunedataServiceException); +assert(QueryLimitException.prototype instanceof NeptunedataServiceException); +assert(QueryTooLargeException.prototype instanceof NeptunedataServiceException); +assert(ReadOnlyViolationException.prototype instanceof NeptunedataServiceException); +assert(S3Exception.prototype instanceof NeptunedataServiceException); +assert(ServerShutdownException.prototype instanceof NeptunedataServiceException); +assert(StatisticsNotAvailableException.prototype instanceof NeptunedataServiceException); +assert(StreamRecordsNotFoundException.prototype instanceof NeptunedataServiceException); +assert(ThrottlingException.prototype instanceof NeptunedataServiceException); +assert(TimeLimitExceededException.prototype instanceof NeptunedataServiceException); +assert(TooManyRequestsException.prototype instanceof NeptunedataServiceException); +assert(UnsupportedOperationException.prototype instanceof NeptunedataServiceException); assert(NeptunedataServiceException.prototype instanceof Error); console.log(`Neptunedata index test passed.`); diff --git a/clients/client-neptunedata/test/index-types.ts b/clients/client-neptunedata/test/index-types.ts index ede355053076..05cd876b5af4 100644 --- a/clients/client-neptunedata/test/index-types.ts +++ b/clients/client-neptunedata/test/index-types.ts @@ -247,5 +247,39 @@ export type { Statistics, StatisticsSummary, SubjectStructure, + AccessDeniedException, + BadRequestException, + BulkLoadIdNotFoundException, + CancelledByUserException, + ClientTimeoutException, + ConcurrentModificationException, + ConstraintViolationException, + ExpiredStreamException, + FailureByQueryException, + IllegalArgumentException, + InternalFailureException, + InvalidArgumentException, + InvalidNumericDataException, + InvalidParameterException, + LoadUrlAccessDeniedException, + MalformedQueryException, + MemoryLimitExceededException, + MethodNotAllowedException, + MissingParameterException, + MLResourceNotFoundException, + ParsingException, + PreconditionsFailedException, + QueryLimitExceededException, + QueryLimitException, + QueryTooLargeException, + ReadOnlyViolationException, + S3Exception, + ServerShutdownException, + StatisticsNotAvailableException, + StreamRecordsNotFoundException, + ThrottlingException, + TimeLimitExceededException, + TooManyRequestsException, + UnsupportedOperationException, NeptunedataServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-network-firewall/src/schemas/schemas_0.ts b/clients/client-network-firewall/src/schemas/schemas_0.ts index 52b3c099da81..dfb5e18d4120 100644 --- a/clients/client-network-firewall/src/schemas/schemas_0.ts +++ b/clients/client-network-firewall/src/schemas/schemas_0.ts @@ -1927,7 +1927,6 @@ export var VpcEndpointAssociationStatus: StaticStructureSchema = [ [_S, _ASS], [0, () => AssociationSyncState], ]; -export var __Unit = "unit" as const; export var NetworkFirewallServiceException: StaticErrorSchema = [-3, _sm, "NetworkFirewallServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(NetworkFirewallServiceException, __NetworkFirewallServiceException); export var Addresses: StaticListSchema = [1, n0, _Ad, 0, () => Address]; diff --git a/clients/client-network-firewall/test/index-objects.spec.mjs b/clients/client-network-firewall/test/index-objects.spec.mjs index 530bdc2228e7..d5e5ecc918b1 100644 --- a/clients/client-network-firewall/test/index-objects.spec.mjs +++ b/clients/client-network-firewall/test/index-objects.spec.mjs @@ -53,6 +53,13 @@ import { GetAnalysisReportResultsCommand, IPAddressType, IdentifiedType, + InsufficientCapacityException, + InternalServerError, + InvalidOperationException, + InvalidRequestException, + InvalidResourcePolicyException, + InvalidTokenException, + LimitExceededException, ListAnalysisReportsCommand, ListFirewallPoliciesCommand, ListFirewallsCommand, @@ -66,6 +73,7 @@ import { ListTagsForResourceCommand, ListVpcEndpointAssociationsCommand, ListenerPropertyType, + LogDestinationPermissionException, LogDestinationType, LogType, NetworkFirewall, @@ -80,6 +88,8 @@ import { RejectNetworkFirewallTransitGatewayAttachmentCommand, ResourceManagedStatus, ResourceManagedType, + ResourceNotFoundException, + ResourceOwnerCheckException, ResourceStatus, RevocationCheckAction, RuleGroupRequestPhase, @@ -97,8 +107,10 @@ import { TCPFlag, TagResourceCommand, TargetType, + ThrottlingException, TlsInterceptMode, TransitGatewayAttachmentStatus, + UnsupportedOperationException, UntagResourceCommand, UpdateAvailabilityZoneChangeProtectionCommand, UpdateFirewallAnalysisSettingsCommand, @@ -251,6 +263,18 @@ assert(typeof TCPFlag === "object"); assert(typeof TlsInterceptMode === "object"); assert(typeof TransitGatewayAttachmentStatus === "object"); // errors +assert(InsufficientCapacityException.prototype instanceof NetworkFirewallServiceException); +assert(InternalServerError.prototype instanceof NetworkFirewallServiceException); +assert(InvalidOperationException.prototype instanceof NetworkFirewallServiceException); +assert(InvalidRequestException.prototype instanceof NetworkFirewallServiceException); +assert(InvalidResourcePolicyException.prototype instanceof NetworkFirewallServiceException); +assert(InvalidTokenException.prototype instanceof NetworkFirewallServiceException); +assert(LimitExceededException.prototype instanceof NetworkFirewallServiceException); +assert(LogDestinationPermissionException.prototype instanceof NetworkFirewallServiceException); +assert(ResourceNotFoundException.prototype instanceof NetworkFirewallServiceException); +assert(ResourceOwnerCheckException.prototype instanceof NetworkFirewallServiceException); +assert(ThrottlingException.prototype instanceof NetworkFirewallServiceException); +assert(UnsupportedOperationException.prototype instanceof NetworkFirewallServiceException); assert(NetworkFirewallServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetAnalysisReportResults === "function"); diff --git a/clients/client-network-firewall/test/index-types.ts b/clients/client-network-firewall/test/index-types.ts index d7987412bbbe..6f63f48b664e 100644 --- a/clients/client-network-firewall/test/index-types.ts +++ b/clients/client-network-firewall/test/index-types.ts @@ -530,6 +530,18 @@ export type { VpcEndpointAssociation, VpcEndpointAssociationMetadata, VpcEndpointAssociationStatus, + InsufficientCapacityException, + InternalServerError, + InvalidOperationException, + InvalidRequestException, + InvalidResourcePolicyException, + InvalidTokenException, + LimitExceededException, + LogDestinationPermissionException, + ResourceNotFoundException, + ResourceOwnerCheckException, + ThrottlingException, + UnsupportedOperationException, NetworkFirewallServiceException, paginateGetAnalysisReportResults, paginateListAnalysisReports, diff --git a/clients/client-networkflowmonitor/src/schemas/schemas_0.ts b/clients/client-networkflowmonitor/src/schemas/schemas_0.ts index 02e9e528c01e..0873a0a2f74e 100644 --- a/clients/client-networkflowmonitor/src/schemas/schemas_0.ts +++ b/clients/client-networkflowmonitor/src/schemas/schemas_0.ts @@ -620,7 +620,6 @@ export var WorkloadInsightsTopContributorsRow: StaticStructureSchema = [ [_aI, _lSI, _lA, _lVI, _lRo, _rIe, _v, _lSA, _lVA], [0, 0, 0, 0, 0, 0, 1, 0, 0], ]; -export var __Unit = "unit" as const; export var NetworkFlowMonitorServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-networkflowmonitor/test/index-objects.spec.mjs b/clients/client-networkflowmonitor/test/index-objects.spec.mjs index df7254d4004d..21567d6d507b 100644 --- a/clients/client-networkflowmonitor/test/index-objects.spec.mjs +++ b/clients/client-networkflowmonitor/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + ConflictException, CreateMonitorCommand, CreateScopeCommand, DeleteMonitorCommand, @@ -12,6 +14,7 @@ import { GetQueryStatusWorkloadInsightsTopContributorsCommand, GetQueryStatusWorkloadInsightsTopContributorsDataCommand, GetScopeCommand, + InternalServerException, ListMonitorsCommand, ListScopesCommand, ListTagsForResourceCommand, @@ -24,7 +27,9 @@ import { NetworkFlowMonitorClient, NetworkFlowMonitorServiceException, QueryStatus, + ResourceNotFoundException, ScopeStatus, + ServiceQuotaExceededException, StartQueryMonitorTopContributorsCommand, StartQueryWorkloadInsightsTopContributorsCommand, StartQueryWorkloadInsightsTopContributorsDataCommand, @@ -33,9 +38,11 @@ import { StopQueryWorkloadInsightsTopContributorsDataCommand, TagResourceCommand, TargetType, + ThrottlingException, UntagResourceCommand, UpdateMonitorCommand, UpdateScopeCommand, + ValidationException, WorkloadInsightsMetric, paginateGetQueryResultsMonitorTopContributors, paginateGetQueryResultsWorkloadInsightsTopContributors, @@ -85,6 +92,13 @@ assert(typeof ScopeStatus === "object"); assert(typeof TargetType === "object"); assert(typeof WorkloadInsightsMetric === "object"); // errors +assert(AccessDeniedException.prototype instanceof NetworkFlowMonitorServiceException); +assert(ConflictException.prototype instanceof NetworkFlowMonitorServiceException); +assert(InternalServerException.prototype instanceof NetworkFlowMonitorServiceException); +assert(ResourceNotFoundException.prototype instanceof NetworkFlowMonitorServiceException); +assert(ServiceQuotaExceededException.prototype instanceof NetworkFlowMonitorServiceException); +assert(ThrottlingException.prototype instanceof NetworkFlowMonitorServiceException); +assert(ValidationException.prototype instanceof NetworkFlowMonitorServiceException); assert(NetworkFlowMonitorServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetQueryResultsMonitorTopContributors === "function"); diff --git a/clients/client-networkflowmonitor/test/index-types.ts b/clients/client-networkflowmonitor/test/index-types.ts index 3c9c77d0c0d3..70e69c834584 100644 --- a/clients/client-networkflowmonitor/test/index-types.ts +++ b/clients/client-networkflowmonitor/test/index-types.ts @@ -149,6 +149,13 @@ export type { UpdateScopeOutput, WorkloadInsightsTopContributorsDataPoint, WorkloadInsightsTopContributorsRow, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, NetworkFlowMonitorServiceException, paginateGetQueryResultsMonitorTopContributors, paginateGetQueryResultsWorkloadInsightsTopContributors, diff --git a/clients/client-networkmanager/src/schemas/schemas_0.ts b/clients/client-networkmanager/src/schemas/schemas_0.ts index 29a9aef24139..aa89c822b21c 100644 --- a/clients/client-networkmanager/src/schemas/schemas_0.ts +++ b/clients/client-networkmanager/src/schemas/schemas_0.ts @@ -2464,7 +2464,6 @@ export var VpcAttachment: StaticStructureSchema = [ ]; export var VpcOptions: StaticStructureSchema = [3, n0, _VO, 0, [_IS, _AMS, _DSn, _SGRS], [2, 2, 2, 2]]; export var WhenSentTo: StaticStructureSchema = [3, n0, _WST, 0, [_WSTSL], [64 | 0]]; -export var __Unit = "unit" as const; export var NetworkManagerServiceException: StaticErrorSchema = [-3, _sm, "NetworkManagerServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(NetworkManagerServiceException, __NetworkManagerServiceException); export var AccountStatusList: StaticListSchema = [1, n0, _ASL, 0, () => AccountStatus]; diff --git a/clients/client-networkmanager/test/index-objects.spec.mjs b/clients/client-networkmanager/test/index-objects.spec.mjs index 2ba15545fc3c..5b3bdddff777 100644 --- a/clients/client-networkmanager/test/index-objects.spec.mjs +++ b/clients/client-networkmanager/test/index-objects.spec.mjs @@ -1,5 +1,6 @@ import { AcceptAttachmentCommand, + AccessDeniedException, AssociateConnectPeerCommand, AssociateCustomerGatewayCommand, AssociateLinkCommand, @@ -11,6 +12,7 @@ import { ChangeSetState, ChangeStatus, ChangeType, + ConflictException, ConnectPeerAssociationState, ConnectPeerErrorCode, ConnectPeerState, @@ -18,6 +20,7 @@ import { ConnectionStatus, ConnectionType, CoreNetworkPolicyAlias, + CoreNetworkPolicyException, CoreNetworkState, CreateConnectAttachmentCommand, CreateConnectPeerCommand, @@ -82,6 +85,7 @@ import { GetTransitGatewayRouteTableAttachmentCommand, GetVpcAttachmentCommand, GlobalNetworkState, + InternalServerException, LinkAssociationState, LinkState, ListAttachmentRoutingPolicyAssociationsCommand, @@ -106,6 +110,7 @@ import { RegisterTransitGatewayCommand, RejectAttachmentCommand, RemoveAttachmentRoutingPolicyLabelCommand, + ResourceNotFoundException, RestoreCoreNetworkPolicyVersionCommand, RouteAnalysisCompletionReasonCode, RouteAnalysisCompletionResultCode, @@ -116,10 +121,12 @@ import { RoutingPolicyDirection, SegmentActionServiceInsertion, SendViaMode, + ServiceQuotaExceededException, SiteState, StartOrganizationServiceAccessUpdateCommand, StartRouteAnalysisCommand, TagResourceCommand, + ThrottlingException, TransitGatewayConnectPeerAssociationState, TransitGatewayRegistrationState, TunnelProtocol, @@ -133,6 +140,8 @@ import { UpdateNetworkResourceMetadataCommand, UpdateSiteCommand, UpdateVpcAttachmentCommand, + ValidationException, + ValidationExceptionReason, paginateDescribeGlobalNetworks, paginateGetConnectPeerAssociations, paginateGetConnections, @@ -295,7 +304,16 @@ assert(typeof SiteState === "object"); assert(typeof TransitGatewayConnectPeerAssociationState === "object"); assert(typeof TransitGatewayRegistrationState === "object"); assert(typeof TunnelProtocol === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof NetworkManagerServiceException); +assert(ConflictException.prototype instanceof NetworkManagerServiceException); +assert(CoreNetworkPolicyException.prototype instanceof NetworkManagerServiceException); +assert(InternalServerException.prototype instanceof NetworkManagerServiceException); +assert(ResourceNotFoundException.prototype instanceof NetworkManagerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof NetworkManagerServiceException); +assert(ThrottlingException.prototype instanceof NetworkManagerServiceException); +assert(ValidationException.prototype instanceof NetworkManagerServiceException); assert(NetworkManagerServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeGlobalNetworks === "function"); diff --git a/clients/client-networkmanager/test/index-types.ts b/clients/client-networkmanager/test/index-types.ts index eda1ca313d43..c711340e6e2e 100644 --- a/clients/client-networkmanager/test/index-types.ts +++ b/clients/client-networkmanager/test/index-types.ts @@ -323,6 +323,7 @@ export type { TransitGatewayConnectPeerAssociationState, TransitGatewayRegistrationState, TunnelProtocol, + ValidationExceptionReason, AcceptAttachmentRequest, AcceptAttachmentResponse, AccountStatus, @@ -587,10 +588,19 @@ export type { UpdateSiteResponse, UpdateVpcAttachmentRequest, UpdateVpcAttachmentResponse, + ValidationExceptionField, Via, VpcAttachment, VpcOptions, WhenSentTo, + AccessDeniedException, + ConflictException, + CoreNetworkPolicyException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, NetworkManagerServiceException, paginateDescribeGlobalNetworks, paginateGetConnectPeerAssociations, diff --git a/clients/client-networkmonitor/src/schemas/schemas_0.ts b/clients/client-networkmonitor/src/schemas/schemas_0.ts index fb3269e74878..5f256220d1e7 100644 --- a/clients/client-networkmonitor/src/schemas/schemas_0.ts +++ b/clients/client-networkmonitor/src/schemas/schemas_0.ts @@ -265,7 +265,6 @@ export var UpdateProbeOutput: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var NetworkMonitorServiceException: StaticErrorSchema = [-3, _sm, "NetworkMonitorServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(NetworkMonitorServiceException, __NetworkMonitorServiceException); export var CreateMonitorProbeInputList: StaticListSchema = [1, n0, _CMPIL, 0, () => CreateMonitorProbeInput]; diff --git a/clients/client-networkmonitor/test/index-objects.spec.mjs b/clients/client-networkmonitor/test/index-objects.spec.mjs index 65657e329464..75b518270b57 100644 --- a/clients/client-networkmonitor/test/index-objects.spec.mjs +++ b/clients/client-networkmonitor/test/index-objects.spec.mjs @@ -1,11 +1,14 @@ import { + AccessDeniedException, AddressFamily, + ConflictException, CreateMonitorCommand, CreateProbeCommand, DeleteMonitorCommand, DeleteProbeCommand, GetMonitorCommand, GetProbeCommand, + InternalServerException, ListMonitorsCommand, ListTagsForResourceCommand, MonitorState, @@ -14,10 +17,14 @@ import { NetworkMonitorServiceException, ProbeState, Protocol, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateMonitorCommand, UpdateProbeCommand, + ValidationException, paginateListMonitors, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -43,6 +50,13 @@ assert(typeof MonitorState === "object"); assert(typeof ProbeState === "object"); assert(typeof Protocol === "object"); // errors +assert(AccessDeniedException.prototype instanceof NetworkMonitorServiceException); +assert(ConflictException.prototype instanceof NetworkMonitorServiceException); +assert(InternalServerException.prototype instanceof NetworkMonitorServiceException); +assert(ResourceNotFoundException.prototype instanceof NetworkMonitorServiceException); +assert(ServiceQuotaExceededException.prototype instanceof NetworkMonitorServiceException); +assert(ThrottlingException.prototype instanceof NetworkMonitorServiceException); +assert(ValidationException.prototype instanceof NetworkMonitorServiceException); assert(NetworkMonitorServiceException.prototype instanceof Error); // paginators assert(typeof paginateListMonitors === "function"); diff --git a/clients/client-networkmonitor/test/index-types.ts b/clients/client-networkmonitor/test/index-types.ts index c884ed10331b..9bfa44ebc6c9 100644 --- a/clients/client-networkmonitor/test/index-types.ts +++ b/clients/client-networkmonitor/test/index-types.ts @@ -70,6 +70,13 @@ export type { UpdateMonitorOutput, UpdateProbeInput, UpdateProbeOutput, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, NetworkMonitorServiceException, paginateListMonitors, } from "../dist-types/index.d"; diff --git a/clients/client-notifications/src/schemas/schemas_0.ts b/clients/client-notifications/src/schemas/schemas_0.ts index 1612006ffd24..565ef974b296 100644 --- a/clients/client-notifications/src/schemas/schemas_0.ts +++ b/clients/client-notifications/src/schemas/schemas_0.ts @@ -971,7 +971,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var NotificationsServiceException: StaticErrorSchema = [-3, _sm, "NotificationsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(NotificationsServiceException, __NotificationsServiceException); export var AggregatedNotificationRegions = 64 | 0; diff --git a/clients/client-notifications/test/index-objects.spec.mjs b/clients/client-notifications/test/index-objects.spec.mjs index fab4895868f7..eba7b37c00b2 100644 --- a/clients/client-notifications/test/index-objects.spec.mjs +++ b/clients/client-notifications/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AccessStatus, AccountContactType, AggregationDuration, @@ -9,6 +10,7 @@ import { AssociateOrganizationalUnitCommand, ChannelAssociationOverrideOption, ChannelType, + ConflictException, CreateEventRuleCommand, CreateNotificationConfigurationCommand, DeleteEventRuleCommand, @@ -29,6 +31,7 @@ import { GetNotificationConfigurationCommand, GetNotificationEventCommand, GetNotificationsAccessForOrganizationCommand, + InternalServerException, ListChannelsCommand, ListEventRulesCommand, ListManagedNotificationChannelAssociationsCommand, @@ -52,12 +55,17 @@ import { NotificationsClient, NotificationsServiceException, RegisterNotificationHubCommand, + ResourceNotFoundException, SchemaVersion, + ServiceQuotaExceededException, TagResourceCommand, TextPartType, + ThrottlingException, UntagResourceCommand, UpdateEventRuleCommand, UpdateNotificationConfigurationCommand, + ValidationException, + ValidationExceptionReason, paginateListChannels, paginateListEventRules, paginateListManagedNotificationChannelAssociations, @@ -132,7 +140,15 @@ assert(typeof NotificationHubStatus === "object"); assert(typeof NotificationType === "object"); assert(typeof SchemaVersion === "object"); assert(typeof TextPartType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof NotificationsServiceException); +assert(ConflictException.prototype instanceof NotificationsServiceException); +assert(InternalServerException.prototype instanceof NotificationsServiceException); +assert(ResourceNotFoundException.prototype instanceof NotificationsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof NotificationsServiceException); +assert(ThrottlingException.prototype instanceof NotificationsServiceException); +assert(ValidationException.prototype instanceof NotificationsServiceException); assert(NotificationsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChannels === "function"); diff --git a/clients/client-notifications/test/index-types.ts b/clients/client-notifications/test/index-types.ts index d7ad245826bb..9a681b6c98b3 100644 --- a/clients/client-notifications/test/index-types.ts +++ b/clients/client-notifications/test/index-types.ts @@ -136,6 +136,7 @@ export type { NotificationType, SchemaVersion, TextPartType, + ValidationExceptionReason, AggregationDetail, AggregationKey, AggregationSummary, @@ -246,6 +247,14 @@ export type { UpdateEventRuleResponse, UpdateNotificationConfigurationRequest, UpdateNotificationConfigurationResponse, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, NotificationsServiceException, paginateListChannels, paginateListEventRules, diff --git a/clients/client-notificationscontacts/src/schemas/schemas_0.ts b/clients/client-notificationscontacts/src/schemas/schemas_0.ts index 6f065eb1ef64..ef35822f9a6f 100644 --- a/clients/client-notificationscontacts/src/schemas/schemas_0.ts +++ b/clients/client-notificationscontacts/src/schemas/schemas_0.ts @@ -211,7 +211,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var NotificationsContactsServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-notificationscontacts/test/index-objects.spec.mjs b/clients/client-notificationscontacts/test/index-objects.spec.mjs index 6f873b776a3c..b43f4c0d39bf 100644 --- a/clients/client-notificationscontacts/test/index-objects.spec.mjs +++ b/clients/client-notificationscontacts/test/index-objects.spec.mjs @@ -1,17 +1,25 @@ import { + AccessDeniedException, ActivateEmailContactCommand, + ConflictException, CreateEmailContactCommand, DeleteEmailContactCommand, EmailContactStatus, GetEmailContactCommand, + InternalServerException, ListEmailContactsCommand, ListTagsForResourceCommand, NotificationsContacts, NotificationsContactsClient, NotificationsContactsServiceException, + ResourceNotFoundException, SendActivationCodeCommand, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, + ValidationException, + ValidationExceptionReason, paginateListEmailContacts, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -30,7 +38,15 @@ assert(typeof TagResourceCommand === "function"); assert(typeof UntagResourceCommand === "function"); // enums assert(typeof EmailContactStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof NotificationsContactsServiceException); +assert(ConflictException.prototype instanceof NotificationsContactsServiceException); +assert(InternalServerException.prototype instanceof NotificationsContactsServiceException); +assert(ResourceNotFoundException.prototype instanceof NotificationsContactsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof NotificationsContactsServiceException); +assert(ThrottlingException.prototype instanceof NotificationsContactsServiceException); +assert(ValidationException.prototype instanceof NotificationsContactsServiceException); assert(NotificationsContactsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEmailContacts === "function"); diff --git a/clients/client-notificationscontacts/test/index-types.ts b/clients/client-notificationscontacts/test/index-types.ts index eacc79ef29ba..009e009b1fce 100644 --- a/clients/client-notificationscontacts/test/index-types.ts +++ b/clients/client-notificationscontacts/test/index-types.ts @@ -30,6 +30,7 @@ export type { UntagResourceCommandInput, UntagResourceCommandOutput, EmailContactStatus, + ValidationExceptionReason, ActivateEmailContactRequest, ActivateEmailContactResponse, CreateEmailContactRequest, @@ -49,6 +50,14 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, NotificationsContactsServiceException, paginateListEmailContacts, } from "../dist-types/index.d"; diff --git a/clients/client-nova-act/src/schemas/schemas_0.ts b/clients/client-nova-act/src/schemas/schemas_0.ts index 40fb04cf3583..97781d25a48f 100644 --- a/clients/client-nova-act/src/schemas/schemas_0.ts +++ b/clients/client-nova-act/src/schemas/schemas_0.ts @@ -442,7 +442,6 @@ export var WorkflowRunSummary: StaticStructureSchema = [ [_wRA, _wRI, _s, _sA, _eA, _tL], [0, 0, 0, 5, 5, () => TraceLocation], ]; -export var __Unit = "unit" as const; export var NovaActServiceException: StaticErrorSchema = [-3, _sm, "NovaActServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(NovaActServiceException, __NovaActServiceException); export var ActSummaries: StaticListSchema = [1, n0, _ASc, 0, () => ActSummary]; diff --git a/clients/client-nova-act/test/index-objects.spec.mjs b/clients/client-nova-act/test/index-objects.spec.mjs index f3aa6bbe6e85..ef5f07829b27 100644 --- a/clients/client-nova-act/test/index-objects.spec.mjs +++ b/clients/client-nova-act/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, ActStatus, + ConflictException, CreateActCommand, CreateSessionCommand, CreateWorkflowDefinitionCommand, @@ -8,6 +10,8 @@ import { DeleteWorkflowRunCommand, GetWorkflowDefinitionCommand, GetWorkflowRunCommand, + InternalServerException, + InternalServerExceptionReason, InvokeActStepCommand, ListActsCommand, ListModelsCommand, @@ -18,10 +22,15 @@ import { NovaAct, NovaActClient, NovaActServiceException, + ResourceNotFoundException, + ServiceQuotaExceededException, SortOrder, + ThrottlingException, TraceLocationType, UpdateActCommand, UpdateWorkflowRunCommand, + ValidationException, + ValidationExceptionReason, WorkflowDefinitionStatus, WorkflowRunStatus, paginateListActs, @@ -52,12 +61,21 @@ assert(typeof UpdateActCommand === "function"); assert(typeof UpdateWorkflowRunCommand === "function"); // enums assert(typeof ActStatus === "object"); +assert(typeof InternalServerExceptionReason === "object"); assert(typeof ModelStatus === "object"); assert(typeof SortOrder === "object"); assert(typeof TraceLocationType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof WorkflowDefinitionStatus === "object"); assert(typeof WorkflowRunStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof NovaActServiceException); +assert(ConflictException.prototype instanceof NovaActServiceException); +assert(InternalServerException.prototype instanceof NovaActServiceException); +assert(ResourceNotFoundException.prototype instanceof NovaActServiceException); +assert(ServiceQuotaExceededException.prototype instanceof NovaActServiceException); +assert(ThrottlingException.prototype instanceof NovaActServiceException); +assert(ValidationException.prototype instanceof NovaActServiceException); assert(NovaActServiceException.prototype instanceof Error); // paginators assert(typeof paginateListActs === "function"); diff --git a/clients/client-nova-act/test/index-types.ts b/clients/client-nova-act/test/index-types.ts index 6075e6276b85..a92d371821cd 100644 --- a/clients/client-nova-act/test/index-types.ts +++ b/clients/client-nova-act/test/index-types.ts @@ -51,9 +51,11 @@ export type { UpdateWorkflowRunCommandInput, UpdateWorkflowRunCommandOutput, ActStatus, + InternalServerExceptionReason, ModelStatus, SortOrder, TraceLocationType, + ValidationExceptionReason, WorkflowDefinitionStatus, WorkflowRunStatus, ActError, @@ -102,9 +104,17 @@ export type { UpdateActResponse, UpdateWorkflowRunRequest, UpdateWorkflowRunResponse, + ValidationExceptionField, WorkflowDefinitionSummary, WorkflowExportConfig, WorkflowRunSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, NovaActServiceException, paginateListActs, paginateListSessions, diff --git a/clients/client-oam/src/schemas/schemas_0.ts b/clients/client-oam/src/schemas/schemas_0.ts index a6f761c3c220..0f9a41f61def 100644 --- a/clients/client-oam/src/schemas/schemas_0.ts +++ b/clients/client-oam/src/schemas/schemas_0.ts @@ -271,7 +271,6 @@ export var UpdateLinkOutput: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var OAMServiceException: StaticErrorSchema = [-3, _sm, "OAMServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(OAMServiceException, __OAMServiceException); export var ListAttachedLinksItems: StaticListSchema = [1, n0, _LALIis, 0, () => ListAttachedLinksItem]; diff --git a/clients/client-oam/test/index-objects.spec.mjs b/clients/client-oam/test/index-objects.spec.mjs index bba266a33b00..8d280effb3a6 100644 --- a/clients/client-oam/test/index-objects.spec.mjs +++ b/clients/client-oam/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + ConflictException, CreateLinkCommand, CreateSinkCommand, DeleteLinkCommand, @@ -6,18 +7,25 @@ import { GetLinkCommand, GetSinkCommand, GetSinkPolicyCommand, + InternalServiceFault, + InvalidParameterException, ListAttachedLinksCommand, ListLinksCommand, ListSinksCommand, ListTagsForResourceCommand, + MissingRequiredParameterException, OAM, OAMClient, OAMServiceException, PutSinkPolicyCommand, + ResourceNotFoundException, ResourceType, + ServiceQuotaExceededException, TagResourceCommand, + TooManyTagsException, UntagResourceCommand, UpdateLinkCommand, + ValidationException, paginateListAttachedLinks, paginateListLinks, paginateListSinks, @@ -45,6 +53,14 @@ assert(typeof UpdateLinkCommand === "function"); // enums assert(typeof ResourceType === "object"); // errors +assert(ConflictException.prototype instanceof OAMServiceException); +assert(InternalServiceFault.prototype instanceof OAMServiceException); +assert(InvalidParameterException.prototype instanceof OAMServiceException); +assert(MissingRequiredParameterException.prototype instanceof OAMServiceException); +assert(ResourceNotFoundException.prototype instanceof OAMServiceException); +assert(ServiceQuotaExceededException.prototype instanceof OAMServiceException); +assert(TooManyTagsException.prototype instanceof OAMServiceException); +assert(ValidationException.prototype instanceof OAMServiceException); assert(OAMServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAttachedLinks === "function"); diff --git a/clients/client-oam/test/index-types.ts b/clients/client-oam/test/index-types.ts index 6293a5566eb3..55bdbc60ed15 100644 --- a/clients/client-oam/test/index-types.ts +++ b/clients/client-oam/test/index-types.ts @@ -84,6 +84,14 @@ export type { UntagResourceOutput, UpdateLinkInput, UpdateLinkOutput, + ConflictException, + InternalServiceFault, + InvalidParameterException, + MissingRequiredParameterException, + ResourceNotFoundException, + ServiceQuotaExceededException, + TooManyTagsException, + ValidationException, OAMServiceException, paginateListAttachedLinks, paginateListLinks, diff --git a/clients/client-observabilityadmin/test/index-objects.spec.mjs b/clients/client-observabilityadmin/test/index-objects.spec.mjs index bed9747c7fdd..da48b86b3052 100644 --- a/clients/client-observabilityadmin/test/index-objects.spec.mjs +++ b/clients/client-observabilityadmin/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, Action, CentralizationFailureReason, + ConflictException, CreateCentralizationRuleForOrganizationCommand, CreateS3TableIntegrationCommand, CreateTelemetryPipelineCommand, @@ -26,6 +28,8 @@ import { GetTelemetryRuleCommand, GetTelemetryRuleForOrganizationCommand, IntegrationStatus, + InternalServerException, + InvalidStateException, ListCentralizationRulesForOrganizationCommand, ListResourceTelemetryCommand, ListResourceTelemetryForOrganizationCommand, @@ -40,9 +44,11 @@ import { ObservabilityAdminServiceException, OutputFormat, RecordFormat, + ResourceNotFoundException, ResourceType, RuleHealth, SSEAlgorithm, + ServiceQuotaExceededException, StartTelemetryEnrichmentCommand, StartTelemetryEvaluationCommand, StartTelemetryEvaluationForOrganizationCommand, @@ -57,12 +63,14 @@ import { TelemetryState, TelemetryType, TestTelemetryPipelineCommand, + TooManyRequestsException, UntagResourceCommand, UpdateCentralizationRuleForOrganizationCommand, UpdateTelemetryPipelineCommand, UpdateTelemetryRuleCommand, UpdateTelemetryRuleForOrganizationCommand, ValidateTelemetryPipelineConfigurationCommand, + ValidationException, WAFLogType, paginateListCentralizationRulesForOrganization, paginateListResourceTelemetry, @@ -141,6 +149,14 @@ assert(typeof TelemetryState === "object"); assert(typeof TelemetryType === "object"); assert(typeof WAFLogType === "object"); // errors +assert(AccessDeniedException.prototype instanceof ObservabilityAdminServiceException); +assert(ConflictException.prototype instanceof ObservabilityAdminServiceException); +assert(InternalServerException.prototype instanceof ObservabilityAdminServiceException); +assert(InvalidStateException.prototype instanceof ObservabilityAdminServiceException); +assert(ResourceNotFoundException.prototype instanceof ObservabilityAdminServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ObservabilityAdminServiceException); +assert(TooManyRequestsException.prototype instanceof ObservabilityAdminServiceException); +assert(ValidationException.prototype instanceof ObservabilityAdminServiceException); assert(ObservabilityAdminServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCentralizationRulesForOrganization === "function"); diff --git a/clients/client-observabilityadmin/test/index-types.ts b/clients/client-observabilityadmin/test/index-types.ts index 45025c177817..628fddbacb83 100644 --- a/clients/client-observabilityadmin/test/index-types.ts +++ b/clients/client-observabilityadmin/test/index-types.ts @@ -244,6 +244,14 @@ export type { ValidationError, VPCFlowLogParameters, WAFLoggingParameters, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidStateException, + ResourceNotFoundException, + ServiceQuotaExceededException, + TooManyRequestsException, + ValidationException, ObservabilityAdminServiceException, paginateListCentralizationRulesForOrganization, paginateListResourceTelemetry, diff --git a/clients/client-odb/src/schemas/schemas_0.ts b/clients/client-odb/src/schemas/schemas_0.ts index a1055c544a5d..1206e0d13c3b 100644 --- a/clients/client-odb/src/schemas/schemas_0.ts +++ b/clients/client-odb/src/schemas/schemas_0.ts @@ -1930,7 +1930,6 @@ export var ValidationException: StaticErrorSchema = [ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; export var ZeroEtlAccess: StaticStructureSchema = [3, n0, _ZEA, 0, [_s, _ci], [0, 0]]; -export var __Unit = "unit" as const; export var OdbServiceException: StaticErrorSchema = [-3, _sm, "OdbServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(OdbServiceException, __OdbServiceException); export var AutonomousVirtualMachineList: StaticListSchema = [1, n0, _AVML, 0, () => AutonomousVirtualMachineSummary]; diff --git a/clients/client-odb/test/index-objects.spec.mjs b/clients/client-odb/test/index-objects.spec.mjs index 34e536ebcba2..56b6751ee4d2 100644 --- a/clients/client-odb/test/index-objects.spec.mjs +++ b/clients/client-odb/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { AcceptMarketplaceRegistrationCommand, Access, + AccessDeniedException, AssociateIamRoleToResourceCommand, ComputeModel, + ConflictException, CreateCloudAutonomousVmClusterCommand, CreateCloudExadataInfrastructureCommand, CreateCloudVmClusterCommand, @@ -30,6 +32,7 @@ import { GetOdbPeeringConnectionCommand, IamRoleStatus, InitializeServiceCommand, + InternalServerException, IormLifecycleState, LicenseModel, ListAutonomousVirtualMachinesCommand, @@ -54,16 +57,21 @@ import { PatchingModeType, PreferenceType, RebootDbNodeCommand, + ResourceNotFoundException, ResourceStatus, + ServiceQuotaExceededException, ShapeType, StartDbNodeCommand, StopDbNodeCommand, SupportedAwsIntegration, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateCloudExadataInfrastructureCommand, UpdateOdbNetworkCommand, UpdateOdbPeeringConnectionCommand, + ValidationException, + ValidationExceptionReason, VpcEndpointType, paginateListAutonomousVirtualMachines, paginateListCloudAutonomousVmClusters, @@ -145,8 +153,16 @@ assert(typeof PreferenceType === "object"); assert(typeof ResourceStatus === "object"); assert(typeof ShapeType === "object"); assert(typeof SupportedAwsIntegration === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VpcEndpointType === "object"); // errors +assert(AccessDeniedException.prototype instanceof OdbServiceException); +assert(ConflictException.prototype instanceof OdbServiceException); +assert(InternalServerException.prototype instanceof OdbServiceException); +assert(ResourceNotFoundException.prototype instanceof OdbServiceException); +assert(ServiceQuotaExceededException.prototype instanceof OdbServiceException); +assert(ThrottlingException.prototype instanceof OdbServiceException); +assert(ValidationException.prototype instanceof OdbServiceException); assert(OdbServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAutonomousVirtualMachines === "function"); diff --git a/clients/client-odb/test/index-types.ts b/clients/client-odb/test/index-types.ts index 9968123e69ee..429880a38b2d 100644 --- a/clients/client-odb/test/index-types.ts +++ b/clients/client-odb/test/index-types.ts @@ -150,6 +150,7 @@ export type { ResourceStatus, ShapeType, SupportedAwsIntegration, + ValidationExceptionReason, VpcEndpointType, AcceptMarketplaceRegistrationInput, AcceptMarketplaceRegistrationOutput, @@ -275,7 +276,15 @@ export type { UpdateOdbNetworkOutput, UpdateOdbPeeringConnectionInput, UpdateOdbPeeringConnectionOutput, + ValidationExceptionField, ZeroEtlAccess, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, OdbServiceException, paginateListAutonomousVirtualMachines, paginateListCloudAutonomousVmClusters, diff --git a/clients/client-omics/test/index-objects.spec.mjs b/clients/client-omics/test/index-objects.spec.mjs index cdbb7571985a..5d6c2c45ee38 100644 --- a/clients/client-omics/test/index-objects.spec.mjs +++ b/clients/client-omics/test/index-objects.spec.mjs @@ -2,6 +2,7 @@ import { AbortMultipartReadSetUploadCommand, Accelerators, AcceptShareCommand, + AccessDeniedException, AnnotationType, BatchDeleteReadSetCommand, CacheBehavior, @@ -9,6 +10,7 @@ import { CancelRunCommand, CancelVariantImportJobCommand, CompleteMultipartReadSetUploadCommand, + ConflictException, CreateAnnotationStoreCommand, CreateAnnotationStoreVersionCommand, CreateMultipartReadSetUploadCommand, @@ -62,6 +64,7 @@ import { GetVariantStoreCommand, GetWorkflowCommand, GetWorkflowVersionCommand, + InternalServerException, JobStatus, ListAnnotationImportJobsCommand, ListAnnotationStoreVersionsCommand, @@ -86,10 +89,12 @@ import { ListVariantStoresCommand, ListWorkflowVersionsCommand, ListWorkflowsCommand, + NotSupportedOperationException, Omics, OmicsClient, OmicsServiceException, PutS3AccessPolicyCommand, + RangeNotSatisfiableException, ReadSetActivationJobItemStatus, ReadSetActivationJobStatus, ReadSetExportJobItemStatus, @@ -104,6 +109,8 @@ import { ReferenceImportJobItemStatus, ReferenceImportJobStatus, ReferenceStatus, + RequestTimeoutException, + ResourceNotFoundException, ResourceOwner, RunCacheStatus, RunExport, @@ -112,6 +119,7 @@ import { RunStatus, SchemaValueType, SequenceStoreStatus, + ServiceQuotaExceededException, ShareResourceType, ShareStatus, SourceReferenceType, @@ -128,6 +136,7 @@ import { StoreType, TagResourceCommand, TaskStatus, + ThrottlingException, UntagResourceCommand, UpdateAnnotationStoreCommand, UpdateAnnotationStoreVersionCommand, @@ -138,6 +147,7 @@ import { UpdateWorkflowCommand, UpdateWorkflowVersionCommand, UploadReadSetPartCommand, + ValidationException, VersionStatus, WorkflowEngine, WorkflowExport, @@ -350,6 +360,16 @@ assert(typeof WorkflowExport === "object"); assert(typeof WorkflowStatus === "object"); assert(typeof WorkflowType === "object"); // errors +assert(AccessDeniedException.prototype instanceof OmicsServiceException); +assert(ConflictException.prototype instanceof OmicsServiceException); +assert(InternalServerException.prototype instanceof OmicsServiceException); +assert(NotSupportedOperationException.prototype instanceof OmicsServiceException); +assert(RangeNotSatisfiableException.prototype instanceof OmicsServiceException); +assert(RequestTimeoutException.prototype instanceof OmicsServiceException); +assert(ResourceNotFoundException.prototype instanceof OmicsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof OmicsServiceException); +assert(ThrottlingException.prototype instanceof OmicsServiceException); +assert(ValidationException.prototype instanceof OmicsServiceException); assert(OmicsServiceException.prototype instanceof Error); // waiters assert(typeof waitForAnnotationImportJobCreated === "function"); diff --git a/clients/client-omics/test/index-types.ts b/clients/client-omics/test/index-types.ts index 733db109a608..dbf617069850 100644 --- a/clients/client-omics/test/index-types.ts +++ b/clients/client-omics/test/index-types.ts @@ -597,6 +597,16 @@ export type { WorkflowListItem, WorkflowParameter, WorkflowVersionListItem, + AccessDeniedException, + ConflictException, + InternalServerException, + NotSupportedOperationException, + RangeNotSatisfiableException, + RequestTimeoutException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, OmicsServiceException, waitForAnnotationImportJobCreated, waitForAnnotationStoreCreated, diff --git a/clients/client-opensearch/test/index-objects.spec.mjs b/clients/client-opensearch/test/index-objects.spec.mjs index 8529f2bda3e8..f1699616ff15 100644 --- a/clients/client-opensearch/test/index-objects.spec.mjs +++ b/clients/client-opensearch/test/index-objects.spec.mjs @@ -1,6 +1,7 @@ import { AWSServicePrincipal, AcceptInboundConnectionCommand, + AccessDeniedException, ActionSeverity, ActionStatus, ActionType, @@ -15,9 +16,11 @@ import { AutoTuneDesiredState, AutoTuneState, AutoTuneType, + BaseException, CancelDomainConfigChangeCommand, CancelServiceSoftwareUpdateCommand, ConfigChangeStatus, + ConflictException, ConnectionMode, CreateApplicationCommand, CreateDomainCommand, @@ -35,6 +38,7 @@ import { DeleteOutboundConnectionCommand, DeletePackageCommand, DeleteVpcEndpointCommand, + DependencyFailureException, DeploymentStatus, DescribeDomainAutoTunesCommand, DescribeDomainChangeProgressCommand, @@ -52,6 +56,7 @@ import { DescribeReservedInstanceOfferingsCommand, DescribeReservedInstancesCommand, DescribeVpcEndpointsCommand, + DisabledOperationException, DissociatePackageCommand, DissociatePackagesCommand, DomainHealth, @@ -74,6 +79,10 @@ import { InboundConnectionStatusCode, IndexStatus, InitiatedBy, + InternalException, + InvalidPaginationTokenException, + InvalidTypeException, + LimitExceededException, ListApplicationsCommand, ListDataSourcesCommand, ListDirectQueryDataSourcesCommand, @@ -116,6 +125,8 @@ import { RemoveTagsCommand, RequirementLevel, ReservedInstancePaymentOption, + ResourceAlreadyExistsException, + ResourceNotFoundException, RevokeVpcEndpointAccessCommand, RolesKeyIdCOption, RollbackOnDisable, @@ -124,10 +135,12 @@ import { ScheduledAutoTuneSeverityType, ScheduledBy, SkipUnavailableStatus, + SlotNotAvailableException, StartDomainMaintenanceCommand, StartServiceSoftwareUpdateCommand, SubjectKeyIdCOption, TLSSecurityPolicy, + ThrottlingException, TimeUnit, UpdateApplicationCommand, UpdateDataSourceCommand, @@ -141,6 +154,7 @@ import { UpgradeDomainCommand, UpgradeStatus, UpgradeStep, + ValidationException, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus, @@ -311,6 +325,20 @@ assert(typeof VpcEndpointErrorCode === "object"); assert(typeof VpcEndpointStatus === "object"); assert(typeof ZoneStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof OpenSearchServiceException); +assert(BaseException.prototype instanceof OpenSearchServiceException); +assert(ConflictException.prototype instanceof OpenSearchServiceException); +assert(DependencyFailureException.prototype instanceof OpenSearchServiceException); +assert(DisabledOperationException.prototype instanceof OpenSearchServiceException); +assert(InternalException.prototype instanceof OpenSearchServiceException); +assert(InvalidPaginationTokenException.prototype instanceof OpenSearchServiceException); +assert(InvalidTypeException.prototype instanceof OpenSearchServiceException); +assert(LimitExceededException.prototype instanceof OpenSearchServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof OpenSearchServiceException); +assert(ResourceNotFoundException.prototype instanceof OpenSearchServiceException); +assert(SlotNotAvailableException.prototype instanceof OpenSearchServiceException); +assert(ThrottlingException.prototype instanceof OpenSearchServiceException); +assert(ValidationException.prototype instanceof OpenSearchServiceException); assert(OpenSearchServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeDomainAutoTunes === "function"); diff --git a/clients/client-opensearch/test/index-types.ts b/clients/client-opensearch/test/index-types.ts index bb022a6e1811..ab3d9eff5f6b 100644 --- a/clients/client-opensearch/test/index-types.ts +++ b/clients/client-opensearch/test/index-types.ts @@ -604,6 +604,20 @@ export type { VPCOptions, WindowStartTime, ZoneAwarenessConfig, + AccessDeniedException, + BaseException, + ConflictException, + DependencyFailureException, + DisabledOperationException, + InternalException, + InvalidPaginationTokenException, + InvalidTypeException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + SlotNotAvailableException, + ThrottlingException, + ValidationException, OpenSearchServiceException, paginateDescribeDomainAutoTunes, paginateDescribeInboundConnections, diff --git a/clients/client-opensearchserverless/test/index-objects.spec.mjs b/clients/client-opensearchserverless/test/index-objects.spec.mjs index 8665fb95edbb..54f29590aa65 100644 --- a/clients/client-opensearchserverless/test/index-objects.spec.mjs +++ b/clients/client-opensearchserverless/test/index-objects.spec.mjs @@ -6,6 +6,7 @@ import { BatchGetVpcEndpointCommand, CollectionStatus, CollectionType, + ConflictException, CreateAccessPolicyCommand, CreateCollectionCommand, CreateIndexCommand, @@ -28,6 +29,7 @@ import { GetSecurityPolicyCommand, IamIdentityCenterGroupAttribute, IamIdentityCenterUserAttribute, + InternalServerException, LifecyclePolicyType, ListAccessPoliciesCommand, ListCollectionsCommand, @@ -36,13 +38,16 @@ import { ListSecurityPoliciesCommand, ListTagsForResourceCommand, ListVpcEndpointsCommand, + OcuLimitExceededException, OpenSearchServerless, OpenSearchServerlessClient, OpenSearchServerlessServiceException, + ResourceNotFoundException, ResourceType, SecurityConfigType, SecurityPolicyType, ServerlessVectorAccelerationStatus, + ServiceQuotaExceededException, StandbyReplicas, TagResourceCommand, UntagResourceCommand, @@ -54,6 +59,7 @@ import { UpdateSecurityConfigCommand, UpdateSecurityPolicyCommand, UpdateVpcEndpointCommand, + ValidationException, VpcEndpointStatus, paginateListAccessPolicies, paginateListCollections, @@ -122,6 +128,12 @@ assert(typeof ServerlessVectorAccelerationStatus === "object"); assert(typeof StandbyReplicas === "object"); assert(typeof VpcEndpointStatus === "object"); // errors +assert(ConflictException.prototype instanceof OpenSearchServerlessServiceException); +assert(InternalServerException.prototype instanceof OpenSearchServerlessServiceException); +assert(OcuLimitExceededException.prototype instanceof OpenSearchServerlessServiceException); +assert(ResourceNotFoundException.prototype instanceof OpenSearchServerlessServiceException); +assert(ServiceQuotaExceededException.prototype instanceof OpenSearchServerlessServiceException); +assert(ValidationException.prototype instanceof OpenSearchServerlessServiceException); assert(OpenSearchServerlessServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccessPolicies === "function"); diff --git a/clients/client-opensearchserverless/test/index-types.ts b/clients/client-opensearchserverless/test/index-types.ts index 414af66a50e6..6d2f17b37cce 100644 --- a/clients/client-opensearchserverless/test/index-types.ts +++ b/clients/client-opensearchserverless/test/index-types.ts @@ -260,6 +260,12 @@ export type { VpcEndpointErrorDetail, VpcEndpointFilters, VpcEndpointSummary, + ConflictException, + InternalServerException, + OcuLimitExceededException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, OpenSearchServerlessServiceException, paginateListAccessPolicies, paginateListCollections, diff --git a/clients/client-organizations/test/index-objects.spec.mjs b/clients/client-organizations/test/index-objects.spec.mjs index de5e3bb582b4..645b150663f8 100644 --- a/clients/client-organizations/test/index-objects.spec.mjs +++ b/clients/client-organizations/test/index-objects.spec.mjs @@ -1,16 +1,32 @@ import { + AWSOrganizationsNotInUseException, AcceptHandshakeCommand, + AccessDeniedException, + AccessDeniedForDependencyException, + AccessDeniedForDependencyExceptionReason, + AccountAlreadyClosedException, + AccountAlreadyRegisteredException, AccountJoinedMethod, + AccountNotFoundException, + AccountNotRegisteredException, + AccountOwnerNotVerifiedException, AccountState, AccountStatus, ActionType, + AlreadyInOrganizationException, AttachPolicyCommand, CancelHandshakeCommand, + ChildNotFoundException, ChildType, CloseAccountCommand, + ConcurrentModificationException, + ConflictException, + ConstraintViolationException, + ConstraintViolationExceptionReason, CreateAccountCommand, CreateAccountFailureReason, CreateAccountState, + CreateAccountStatusNotFoundException, CreateGovCloudAccountCommand, CreateOrganizationCommand, CreateOrganizationalUnitCommand, @@ -30,17 +46,33 @@ import { DescribePolicyCommand, DescribeResourcePolicyCommand, DescribeResponsibilityTransferCommand, + DestinationParentNotFoundException, DetachPolicyCommand, DisableAWSServiceAccessCommand, DisablePolicyTypeCommand, + DuplicateAccountException, + DuplicateHandshakeException, + DuplicateOrganizationalUnitException, + DuplicatePolicyAttachmentException, + DuplicatePolicyException, + EffectivePolicyNotFoundException, EffectivePolicyType, EnableAWSServiceAccessCommand, EnableAllFeaturesCommand, EnablePolicyTypeCommand, + FinalizingOrganizationException, + HandshakeAlreadyInStateException, + HandshakeConstraintViolationException, + HandshakeConstraintViolationExceptionReason, + HandshakeNotFoundException, HandshakePartyType, HandshakeResourceType, HandshakeState, IAMUserAccessToBilling, + InvalidHandshakeTransitionException, + InvalidInputException, + InvalidInputExceptionReason, + InvalidResponsibilityTransferTransitionException, InviteAccountToOrganizationCommand, InviteOrganizationToTransferResponsibilityCommand, LeaveOrganizationCommand, @@ -64,22 +96,44 @@ import { ListRootsCommand, ListTagsForResourceCommand, ListTargetsForPolicyCommand, + MalformedPolicyDocumentException, + MasterCannotLeaveOrganizationException, MoveAccountCommand, OrganizationFeatureSet, + OrganizationNotEmptyException, + OrganizationalUnitNotEmptyException, + OrganizationalUnitNotFoundException, Organizations, OrganizationsClient, OrganizationsServiceException, + ParentNotFoundException, ParentType, + PolicyChangesInProgressException, + PolicyInUseException, + PolicyNotAttachedException, + PolicyNotFoundException, PolicyType, + PolicyTypeAlreadyEnabledException, + PolicyTypeNotAvailableForOrganizationException, + PolicyTypeNotEnabledException, PolicyTypeStatus, PutResourcePolicyCommand, RegisterDelegatedAdministratorCommand, RemoveAccountFromOrganizationCommand, + ResourcePolicyNotFoundException, + ResponsibilityTransferAlreadyInStatusException, + ResponsibilityTransferNotFoundException, ResponsibilityTransferStatus, ResponsibilityTransferType, + RootNotFoundException, + ServiceException, + SourceParentNotFoundException, TagResourceCommand, + TargetNotFoundException, TargetType, TerminateResponsibilityTransferCommand, + TooManyRequestsException, + UnsupportedAPIEndpointException, UntagResourceCommand, UpdateOrganizationalUnitCommand, UpdatePolicyCommand, @@ -172,18 +226,22 @@ assert(typeof UpdateOrganizationalUnitCommand === "function"); assert(typeof UpdatePolicyCommand === "function"); assert(typeof UpdateResponsibilityTransferCommand === "function"); // enums +assert(typeof AccessDeniedForDependencyExceptionReason === "object"); assert(typeof AccountJoinedMethod === "object"); assert(typeof AccountState === "object"); assert(typeof AccountStatus === "object"); assert(typeof ActionType === "object"); assert(typeof ChildType === "object"); +assert(typeof ConstraintViolationExceptionReason === "object"); assert(typeof CreateAccountFailureReason === "object"); assert(typeof CreateAccountState === "object"); assert(typeof EffectivePolicyType === "object"); +assert(typeof HandshakeConstraintViolationExceptionReason === "object"); assert(typeof HandshakePartyType === "object"); assert(typeof HandshakeResourceType === "object"); assert(typeof HandshakeState === "object"); assert(typeof IAMUserAccessToBilling === "object"); +assert(typeof InvalidInputExceptionReason === "object"); assert(typeof OrganizationFeatureSet === "object"); assert(typeof ParentType === "object"); assert(typeof PolicyType === "object"); @@ -192,6 +250,56 @@ assert(typeof ResponsibilityTransferStatus === "object"); assert(typeof ResponsibilityTransferType === "object"); assert(typeof TargetType === "object"); // errors +assert(AccessDeniedException.prototype instanceof OrganizationsServiceException); +assert(AccessDeniedForDependencyException.prototype instanceof OrganizationsServiceException); +assert(AccountAlreadyClosedException.prototype instanceof OrganizationsServiceException); +assert(AccountAlreadyRegisteredException.prototype instanceof OrganizationsServiceException); +assert(AccountNotFoundException.prototype instanceof OrganizationsServiceException); +assert(AccountNotRegisteredException.prototype instanceof OrganizationsServiceException); +assert(AccountOwnerNotVerifiedException.prototype instanceof OrganizationsServiceException); +assert(AlreadyInOrganizationException.prototype instanceof OrganizationsServiceException); +assert(AWSOrganizationsNotInUseException.prototype instanceof OrganizationsServiceException); +assert(ChildNotFoundException.prototype instanceof OrganizationsServiceException); +assert(ConcurrentModificationException.prototype instanceof OrganizationsServiceException); +assert(ConflictException.prototype instanceof OrganizationsServiceException); +assert(ConstraintViolationException.prototype instanceof OrganizationsServiceException); +assert(CreateAccountStatusNotFoundException.prototype instanceof OrganizationsServiceException); +assert(DestinationParentNotFoundException.prototype instanceof OrganizationsServiceException); +assert(DuplicateAccountException.prototype instanceof OrganizationsServiceException); +assert(DuplicateHandshakeException.prototype instanceof OrganizationsServiceException); +assert(DuplicateOrganizationalUnitException.prototype instanceof OrganizationsServiceException); +assert(DuplicatePolicyAttachmentException.prototype instanceof OrganizationsServiceException); +assert(DuplicatePolicyException.prototype instanceof OrganizationsServiceException); +assert(EffectivePolicyNotFoundException.prototype instanceof OrganizationsServiceException); +assert(FinalizingOrganizationException.prototype instanceof OrganizationsServiceException); +assert(HandshakeAlreadyInStateException.prototype instanceof OrganizationsServiceException); +assert(HandshakeConstraintViolationException.prototype instanceof OrganizationsServiceException); +assert(HandshakeNotFoundException.prototype instanceof OrganizationsServiceException); +assert(InvalidHandshakeTransitionException.prototype instanceof OrganizationsServiceException); +assert(InvalidInputException.prototype instanceof OrganizationsServiceException); +assert(InvalidResponsibilityTransferTransitionException.prototype instanceof OrganizationsServiceException); +assert(MalformedPolicyDocumentException.prototype instanceof OrganizationsServiceException); +assert(MasterCannotLeaveOrganizationException.prototype instanceof OrganizationsServiceException); +assert(OrganizationalUnitNotEmptyException.prototype instanceof OrganizationsServiceException); +assert(OrganizationalUnitNotFoundException.prototype instanceof OrganizationsServiceException); +assert(OrganizationNotEmptyException.prototype instanceof OrganizationsServiceException); +assert(ParentNotFoundException.prototype instanceof OrganizationsServiceException); +assert(PolicyChangesInProgressException.prototype instanceof OrganizationsServiceException); +assert(PolicyInUseException.prototype instanceof OrganizationsServiceException); +assert(PolicyNotAttachedException.prototype instanceof OrganizationsServiceException); +assert(PolicyNotFoundException.prototype instanceof OrganizationsServiceException); +assert(PolicyTypeAlreadyEnabledException.prototype instanceof OrganizationsServiceException); +assert(PolicyTypeNotAvailableForOrganizationException.prototype instanceof OrganizationsServiceException); +assert(PolicyTypeNotEnabledException.prototype instanceof OrganizationsServiceException); +assert(ResourcePolicyNotFoundException.prototype instanceof OrganizationsServiceException); +assert(ResponsibilityTransferAlreadyInStatusException.prototype instanceof OrganizationsServiceException); +assert(ResponsibilityTransferNotFoundException.prototype instanceof OrganizationsServiceException); +assert(RootNotFoundException.prototype instanceof OrganizationsServiceException); +assert(ServiceException.prototype instanceof OrganizationsServiceException); +assert(SourceParentNotFoundException.prototype instanceof OrganizationsServiceException); +assert(TargetNotFoundException.prototype instanceof OrganizationsServiceException); +assert(TooManyRequestsException.prototype instanceof OrganizationsServiceException); +assert(UnsupportedAPIEndpointException.prototype instanceof OrganizationsServiceException); assert(OrganizationsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAWSServiceAccessForOrganization === "function"); diff --git a/clients/client-organizations/test/index-types.ts b/clients/client-organizations/test/index-types.ts index 98c46c0fcce7..63b3e7f2bd54 100644 --- a/clients/client-organizations/test/index-types.ts +++ b/clients/client-organizations/test/index-types.ts @@ -191,18 +191,22 @@ export type { UpdateResponsibilityTransferCommand, UpdateResponsibilityTransferCommandInput, UpdateResponsibilityTransferCommandOutput, + AccessDeniedForDependencyExceptionReason, AccountJoinedMethod, AccountState, AccountStatus, ActionType, ChildType, + ConstraintViolationExceptionReason, CreateAccountFailureReason, CreateAccountState, EffectivePolicyType, + HandshakeConstraintViolationExceptionReason, HandshakePartyType, HandshakeResourceType, HandshakeState, IAMUserAccessToBilling, + InvalidInputExceptionReason, OrganizationFeatureSet, ParentType, PolicyType, @@ -340,6 +344,56 @@ export type { UpdatePolicyResponse, UpdateResponsibilityTransferRequest, UpdateResponsibilityTransferResponse, + AccessDeniedException, + AccessDeniedForDependencyException, + AccountAlreadyClosedException, + AccountAlreadyRegisteredException, + AccountNotFoundException, + AccountNotRegisteredException, + AccountOwnerNotVerifiedException, + AlreadyInOrganizationException, + AWSOrganizationsNotInUseException, + ChildNotFoundException, + ConcurrentModificationException, + ConflictException, + ConstraintViolationException, + CreateAccountStatusNotFoundException, + DestinationParentNotFoundException, + DuplicateAccountException, + DuplicateHandshakeException, + DuplicateOrganizationalUnitException, + DuplicatePolicyAttachmentException, + DuplicatePolicyException, + EffectivePolicyNotFoundException, + FinalizingOrganizationException, + HandshakeAlreadyInStateException, + HandshakeConstraintViolationException, + HandshakeNotFoundException, + InvalidHandshakeTransitionException, + InvalidInputException, + InvalidResponsibilityTransferTransitionException, + MalformedPolicyDocumentException, + MasterCannotLeaveOrganizationException, + OrganizationalUnitNotEmptyException, + OrganizationalUnitNotFoundException, + OrganizationNotEmptyException, + ParentNotFoundException, + PolicyChangesInProgressException, + PolicyInUseException, + PolicyNotAttachedException, + PolicyNotFoundException, + PolicyTypeAlreadyEnabledException, + PolicyTypeNotAvailableForOrganizationException, + PolicyTypeNotEnabledException, + ResourcePolicyNotFoundException, + ResponsibilityTransferAlreadyInStatusException, + ResponsibilityTransferNotFoundException, + RootNotFoundException, + ServiceException, + SourceParentNotFoundException, + TargetNotFoundException, + TooManyRequestsException, + UnsupportedAPIEndpointException, OrganizationsServiceException, paginateListAWSServiceAccessForOrganization, paginateListAccounts, diff --git a/clients/client-osis/src/schemas/schemas_0.ts b/clients/client-osis/src/schemas/schemas_0.ts index 973b9a23b946..c7a46dfade83 100644 --- a/clients/client-osis/src/schemas/schemas_0.ts +++ b/clients/client-osis/src/schemas/schemas_0.ts @@ -485,7 +485,6 @@ export var VpcOptions: StaticStructureSchema = [ [_SI, _SGI, _VAO, _VEM], [64 | 0, 64 | 0, () => VpcAttachmentOptions, 0], ]; -export var __Unit = "unit" as const; export var OSISServiceException: StaticErrorSchema = [-3, _sm, "OSISServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(OSISServiceException, __OSISServiceException); export var ChangeProgressStageList: StaticListSchema = [1, n0, _CPSL, 0, () => ChangeProgressStage]; diff --git a/clients/client-osis/test/index-objects.spec.mjs b/clients/client-osis/test/index-objects.spec.mjs index 41eabbfe70de..15262491a004 100644 --- a/clients/client-osis/test/index-objects.spec.mjs +++ b/clients/client-osis/test/index-objects.spec.mjs @@ -1,15 +1,21 @@ import { + AccessDeniedException, ChangeProgressStageStatuses, ChangeProgressStatuses, + ConflictException, CreatePipelineCommand, CreatePipelineEndpointCommand, DeletePipelineCommand, DeletePipelineEndpointCommand, DeleteResourcePolicyCommand, + DisabledOperationException, GetPipelineBlueprintCommand, GetPipelineChangeProgressCommand, GetPipelineCommand, GetResourcePolicyCommand, + InternalException, + InvalidPaginationTokenException, + LimitExceededException, ListPipelineBlueprintsCommand, ListPipelineEndpointConnectionsCommand, ListPipelineEndpointsCommand, @@ -21,6 +27,8 @@ import { PipelineEndpointStatus, PipelineStatus, PutResourcePolicyCommand, + ResourceAlreadyExistsException, + ResourceNotFoundException, RevokePipelineEndpointConnectionsCommand, StartPipelineCommand, StopPipelineCommand, @@ -28,6 +36,7 @@ import { UntagResourceCommand, UpdatePipelineCommand, ValidatePipelineCommand, + ValidationException, VpcEndpointManagement, VpcEndpointServiceName, paginateListPipelineEndpointConnections, @@ -69,6 +78,15 @@ assert(typeof PipelineStatus === "object"); assert(typeof VpcEndpointManagement === "object"); assert(typeof VpcEndpointServiceName === "object"); // errors +assert(AccessDeniedException.prototype instanceof OSISServiceException); +assert(ConflictException.prototype instanceof OSISServiceException); +assert(DisabledOperationException.prototype instanceof OSISServiceException); +assert(InternalException.prototype instanceof OSISServiceException); +assert(InvalidPaginationTokenException.prototype instanceof OSISServiceException); +assert(LimitExceededException.prototype instanceof OSISServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof OSISServiceException); +assert(ResourceNotFoundException.prototype instanceof OSISServiceException); +assert(ValidationException.prototype instanceof OSISServiceException); assert(OSISServiceException.prototype instanceof Error); // paginators assert(typeof paginateListPipelineEndpointConnections === "function"); diff --git a/clients/client-osis/test/index-types.ts b/clients/client-osis/test/index-types.ts index 669721889676..2134ce3fd864 100644 --- a/clients/client-osis/test/index-types.ts +++ b/clients/client-osis/test/index-types.ts @@ -139,6 +139,15 @@ export type { VpcAttachmentOptions, VpcEndpoint, VpcOptions, + AccessDeniedException, + ConflictException, + DisabledOperationException, + InternalException, + InvalidPaginationTokenException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceNotFoundException, + ValidationException, OSISServiceException, paginateListPipelineEndpointConnections, paginateListPipelineEndpoints, diff --git a/clients/client-outposts/src/schemas/schemas_0.ts b/clients/client-outposts/src/schemas/schemas_0.ts index ba3473ea0271..384432202400 100644 --- a/clients/client-outposts/src/schemas/schemas_0.ts +++ b/clients/client-outposts/src/schemas/schemas_0.ts @@ -818,7 +818,6 @@ export var UpdateSiteRackPhysicalPropertiesInput: StaticStructureSchema = [ export var UpdateSiteRackPhysicalPropertiesOutput: StaticStructureSchema = [3, n0, _USRPPO, 0, [_Si], [() => Site]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var OutpostsServiceException: StaticErrorSchema = [-3, _sm, "OutpostsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(OutpostsServiceException, __OutpostsServiceException); export var AccountIdList = 64 | 0; diff --git a/clients/client-outposts/test/index-objects.spec.mjs b/clients/client-outposts/test/index-objects.spec.mjs index 3518c08643e6..9429d55870f5 100644 --- a/clients/client-outposts/test/index-objects.spec.mjs +++ b/clients/client-outposts/test/index-objects.spec.mjs @@ -1,5 +1,6 @@ import { AWSServiceName, + AccessDeniedException, AddressType, AssetState, AssetType, @@ -11,6 +12,7 @@ import { CatalogItemClass, CatalogItemStatus, ComputeAssetState, + ConflictException, CreateOrderCommand, CreateOutpostCommand, CreateSiteCommand, @@ -28,6 +30,7 @@ import { GetOutpostSupportedInstanceTypesCommand, GetSiteAddressCommand, GetSiteCommand, + InternalServerException, LineItemStatus, ListAssetInstancesCommand, ListAssetsCommand, @@ -39,6 +42,7 @@ import { ListSitesCommand, ListTagsForResourceCommand, MaximumSupportedWeightLbs, + NotFoundException, OpticalStandard, OrderStatus, OrderType, @@ -51,6 +55,8 @@ import { PowerDrawKva, PowerFeedDrop, PowerPhase, + ResourceType, + ServiceQuotaExceededException, ShipmentCarrier, StartCapacityTaskCommand, StartConnectionCommand, @@ -68,6 +74,7 @@ import { UpdateSiteRackPhysicalPropertiesCommand, UplinkCount, UplinkGbps, + ValidationException, paginateGetOutpostBillingInformation, paginateGetOutpostInstanceTypes, paginateGetOutpostSupportedInstanceTypes, @@ -144,6 +151,7 @@ assert(typeof PowerConnector === "object"); assert(typeof PowerDrawKva === "object"); assert(typeof PowerFeedDrop === "object"); assert(typeof PowerPhase === "object"); +assert(typeof ResourceType === "object"); assert(typeof ShipmentCarrier === "object"); assert(typeof SubscriptionStatus === "object"); assert(typeof SubscriptionType === "object"); @@ -153,6 +161,12 @@ assert(typeof TaskActionOnBlockingInstances === "object"); assert(typeof UplinkCount === "object"); assert(typeof UplinkGbps === "object"); // errors +assert(AccessDeniedException.prototype instanceof OutpostsServiceException); +assert(ConflictException.prototype instanceof OutpostsServiceException); +assert(InternalServerException.prototype instanceof OutpostsServiceException); +assert(NotFoundException.prototype instanceof OutpostsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof OutpostsServiceException); +assert(ValidationException.prototype instanceof OutpostsServiceException); assert(OutpostsServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetOutpostBillingInformation === "function"); diff --git a/clients/client-outposts/test/index-types.ts b/clients/client-outposts/test/index-types.ts index 3dc180dc26e9..bdb3482ef379 100644 --- a/clients/client-outposts/test/index-types.ts +++ b/clients/client-outposts/test/index-types.ts @@ -130,6 +130,7 @@ export type { PowerDrawKva, PowerFeedDrop, PowerPhase, + ResourceType, ShipmentCarrier, SubscriptionStatus, SubscriptionType, @@ -233,6 +234,12 @@ export type { UpdateSiteOutput, UpdateSiteRackPhysicalPropertiesInput, UpdateSiteRackPhysicalPropertiesOutput, + AccessDeniedException, + ConflictException, + InternalServerException, + NotFoundException, + ServiceQuotaExceededException, + ValidationException, OutpostsServiceException, paginateGetOutpostBillingInformation, paginateGetOutpostInstanceTypes, diff --git a/clients/client-panorama/test/index-objects.spec.mjs b/clients/client-panorama/test/index-objects.spec.mjs index 8b06590cbadc..99324db57162 100644 --- a/clients/client-panorama/test/index-objects.spec.mjs +++ b/clients/client-panorama/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, ApplicationInstanceHealthStatus, ApplicationInstanceStatus, + ConflictException, ConnectionType, CreateApplicationInstanceCommand, CreateJobForDevicesCommand, @@ -26,6 +28,7 @@ import { DeviceReportedStatus, DeviceStatus, DeviceType, + InternalServerException, JobResourceType, JobType, ListApplicationInstanceDependenciesCommand, @@ -54,6 +57,8 @@ import { ProvisionDeviceCommand, RegisterPackageVersionCommand, RemoveApplicationInstanceCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, SignalApplicationInstanceNodeInstancesCommand, SortOrder, StatusFilter, @@ -62,6 +67,8 @@ import { UntagResourceCommand, UpdateDeviceMetadataCommand, UpdateProgress, + ValidationException, + ValidationExceptionReason, paginateListApplicationInstanceDependencies, paginateListApplicationInstanceNodeInstances, paginateListApplicationInstances, @@ -138,7 +145,14 @@ assert(typeof SortOrder === "object"); assert(typeof StatusFilter === "object"); assert(typeof TemplateType === "object"); assert(typeof UpdateProgress === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof PanoramaServiceException); +assert(ConflictException.prototype instanceof PanoramaServiceException); +assert(InternalServerException.prototype instanceof PanoramaServiceException); +assert(ResourceNotFoundException.prototype instanceof PanoramaServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PanoramaServiceException); +assert(ValidationException.prototype instanceof PanoramaServiceException); assert(PanoramaServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplicationInstanceDependencies === "function"); diff --git a/clients/client-panorama/test/index-types.ts b/clients/client-panorama/test/index-types.ts index 595a51c25965..cc7670295587 100644 --- a/clients/client-panorama/test/index-types.ts +++ b/clients/client-panorama/test/index-types.ts @@ -130,8 +130,10 @@ export type { StatusFilter, TemplateType, UpdateProgress, + ValidationExceptionReason, AlternateSoftwareMetadata, ApplicationInstance, + ConflictExceptionErrorArgument, CreateApplicationInstanceRequest, CreateApplicationInstanceResponse, CreateJobForDevicesRequest, @@ -235,6 +237,14 @@ export type { UntagResourceResponse, UpdateDeviceMetadataRequest, UpdateDeviceMetadataResponse, + ValidationExceptionErrorArgument, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, PanoramaServiceException, paginateListApplicationInstanceDependencies, paginateListApplicationInstanceNodeInstances, diff --git a/clients/client-partnercentral-account/src/schemas/schemas_0.ts b/clients/client-partnercentral-account/src/schemas/schemas_0.ts index b63dfb656428..f8813d92da12 100644 --- a/clients/client-partnercentral-account/src/schemas/schemas_0.ts +++ b/clients/client-partnercentral-account/src/schemas/schemas_0.ts @@ -698,7 +698,6 @@ export var ValidationException: StaticErrorSchema = [ [0, 0, () => ValidationErrorList], ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var PartnerCentralAccountServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-partnercentral-account/test/index-objects.spec.mjs b/clients/client-partnercentral-account/test/index-objects.spec.mjs index e62bf4cdef1f..7a9b4d54152c 100644 --- a/clients/client-partnercentral-account/test/index-objects.spec.mjs +++ b/clients/client-partnercentral-account/test/index-objects.spec.mjs @@ -1,15 +1,21 @@ import { AcceptConnectionInvitationCommand, + AccessDeniedException, + AccessDeniedExceptionReason, AccessType, AssociateAwsTrainingCertificationEmailDomainCommand, + BusinessValidationCode, CancelConnectionCommand, CancelConnectionInvitationCommand, CancelProfileUpdateTaskCommand, + ConflictException, + ConflictExceptionReason, ConnectionType, ConnectionTypeStatus, CreateConnectionInvitationCommand, CreatePartnerCommand, DisassociateAwsTrainingCertificationEmailDomainCommand, + FieldValidationCode, GetAllianceLeadContactCommand, GetConnectionCommand, GetConnectionInvitationCommand, @@ -19,6 +25,7 @@ import { GetProfileVisibilityCommand, GetVerificationCommand, IndustrySegment, + InternalServerException, InvitationStatus, ListConnectionInvitationsCommand, ListConnectionsCommand, @@ -35,12 +42,19 @@ import { PutAllianceLeadContactCommand, PutProfileVisibilityCommand, RejectConnectionInvitationCommand, + ResourceNotFoundException, + ResourceNotFoundExceptionReason, SendEmailVerificationCodeCommand, + ServiceQuotaExceededException, + ServiceQuotaExceededExceptionReason, StartProfileUpdateTaskCommand, StartVerificationCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateConnectionPreferencesCommand, + ValidationException, + ValidationExceptionReason, VerificationStatus, VerificationType, paginateListConnectionInvitations, @@ -82,9 +96,13 @@ assert(typeof TagResourceCommand === "function"); assert(typeof UntagResourceCommand === "function"); assert(typeof UpdateConnectionPreferencesCommand === "function"); // enums +assert(typeof AccessDeniedExceptionReason === "object"); assert(typeof AccessType === "object"); +assert(typeof BusinessValidationCode === "object"); +assert(typeof ConflictExceptionReason === "object"); assert(typeof ConnectionType === "object"); assert(typeof ConnectionTypeStatus === "object"); +assert(typeof FieldValidationCode === "object"); assert(typeof IndustrySegment === "object"); assert(typeof InvitationStatus === "object"); assert(typeof ParticipantType === "object"); @@ -92,9 +110,19 @@ assert(typeof PrimarySolutionType === "object"); assert(typeof ProfileTaskStatus === "object"); assert(typeof ProfileValidationErrorReason === "object"); assert(typeof ProfileVisibility === "object"); +assert(typeof ResourceNotFoundExceptionReason === "object"); +assert(typeof ServiceQuotaExceededExceptionReason === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VerificationStatus === "object"); assert(typeof VerificationType === "object"); // errors +assert(AccessDeniedException.prototype instanceof PartnerCentralAccountServiceException); +assert(ConflictException.prototype instanceof PartnerCentralAccountServiceException); +assert(InternalServerException.prototype instanceof PartnerCentralAccountServiceException); +assert(ResourceNotFoundException.prototype instanceof PartnerCentralAccountServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PartnerCentralAccountServiceException); +assert(ThrottlingException.prototype instanceof PartnerCentralAccountServiceException); +assert(ValidationException.prototype instanceof PartnerCentralAccountServiceException); assert(PartnerCentralAccountServiceException.prototype instanceof Error); // paginators assert(typeof paginateListConnectionInvitations === "function"); diff --git a/clients/client-partnercentral-account/test/index-types.ts b/clients/client-partnercentral-account/test/index-types.ts index e5b28cfae041..022342c989fe 100644 --- a/clients/client-partnercentral-account/test/index-types.ts +++ b/clients/client-partnercentral-account/test/index-types.ts @@ -89,9 +89,13 @@ export type { UpdateConnectionPreferencesCommand, UpdateConnectionPreferencesCommandInput, UpdateConnectionPreferencesCommandOutput, + AccessDeniedExceptionReason, AccessType, + BusinessValidationCode, + ConflictExceptionReason, ConnectionType, ConnectionTypeStatus, + FieldValidationCode, IndustrySegment, InvitationStatus, ParticipantType, @@ -99,6 +103,9 @@ export type { ProfileTaskStatus, ProfileValidationErrorReason, ProfileVisibility, + ResourceNotFoundExceptionReason, + ServiceQuotaExceededExceptionReason, + ValidationExceptionReason, VerificationStatus, VerificationType, AcceptConnectionInvitationRequest, @@ -107,6 +114,7 @@ export type { AllianceLeadContact, AssociateAwsTrainingCertificationEmailDomainRequest, AssociateAwsTrainingCertificationEmailDomainResponse, + BusinessValidationError, BusinessVerificationDetails, BusinessVerificationResponse, CancelConnectionInvitationRequest, @@ -127,6 +135,7 @@ export type { DisassociateAwsTrainingCertificationEmailDomainRequest, DisassociateAwsTrainingCertificationEmailDomainResponse, ErrorDetail, + FieldValidationError, GetAllianceLeadContactRequest, GetAllianceLeadContactResponse, GetConnectionInvitationRequest, @@ -180,8 +189,16 @@ export type { UntagResourceResponse, UpdateConnectionPreferencesRequest, UpdateConnectionPreferencesResponse, + ValidationError, VerificationDetails, VerificationResponseDetails, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, PartnerCentralAccountServiceException, paginateListConnectionInvitations, paginateListConnections, diff --git a/clients/client-partnercentral-benefits/src/schemas/schemas_0.ts b/clients/client-partnercentral-benefits/src/schemas/schemas_0.ts index 71016836be14..dc059da0cf84 100644 --- a/clients/client-partnercentral-benefits/src/schemas/schemas_0.ts +++ b/clients/client-partnercentral-benefits/src/schemas/schemas_0.ts @@ -450,7 +450,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_N, _M, _Code], [0, 0, 0]]; -export var __Unit = "unit" as const; export var PartnerCentralBenefitsServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-partnercentral-benefits/test/index-objects.spec.mjs b/clients/client-partnercentral-benefits/test/index-objects.spec.mjs index 9216367ec8d7..f23e7e78562a 100644 --- a/clients/client-partnercentral-benefits/test/index-objects.spec.mjs +++ b/clients/client-partnercentral-benefits/test/index-objects.spec.mjs @@ -1,10 +1,12 @@ import { + AccessDeniedException, AmendBenefitApplicationCommand, AssociateBenefitApplicationResourceCommand, BenefitAllocationStatus, BenefitApplicationStatus, BenefitStatus, CancelBenefitApplicationCommand, + ConflictException, CreateBenefitApplicationCommand, CurrencyCode, DisassociateBenefitApplicationResourceCommand, @@ -13,6 +15,7 @@ import { GetBenefitAllocationCommand, GetBenefitApplicationCommand, GetBenefitCommand, + InternalServerException, ListBenefitAllocationsCommand, ListBenefitApplicationsCommand, ListBenefitsCommand, @@ -21,11 +24,17 @@ import { PartnerCentralBenefitsClient, PartnerCentralBenefitsServiceException, RecallBenefitApplicationCommand, + ResourceNotFoundException, ResourceType, + ServiceQuotaExceededException, SubmitBenefitApplicationCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateBenefitApplicationCommand, + ValidationException, + ValidationExceptionErrorCode, + ValidationExceptionReason, paginateListBenefitAllocations, paginateListBenefitApplications, paginateListBenefits, @@ -60,7 +69,16 @@ assert(typeof CurrencyCode === "object"); assert(typeof FileType === "object"); assert(typeof FulfillmentType === "object"); assert(typeof ResourceType === "object"); +assert(typeof ValidationExceptionErrorCode === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof PartnerCentralBenefitsServiceException); +assert(ConflictException.prototype instanceof PartnerCentralBenefitsServiceException); +assert(InternalServerException.prototype instanceof PartnerCentralBenefitsServiceException); +assert(ResourceNotFoundException.prototype instanceof PartnerCentralBenefitsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PartnerCentralBenefitsServiceException); +assert(ThrottlingException.prototype instanceof PartnerCentralBenefitsServiceException); +assert(ValidationException.prototype instanceof PartnerCentralBenefitsServiceException); assert(PartnerCentralBenefitsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBenefitAllocations === "function"); diff --git a/clients/client-partnercentral-benefits/test/index-types.ts b/clients/client-partnercentral-benefits/test/index-types.ts index 5393a5e4b1e5..786fc8f3a1f9 100644 --- a/clients/client-partnercentral-benefits/test/index-types.ts +++ b/clients/client-partnercentral-benefits/test/index-types.ts @@ -60,6 +60,8 @@ export type { FileType, FulfillmentType, ResourceType, + ValidationExceptionErrorCode, + ValidationExceptionReason, AccessDetails, AmendBenefitApplicationInput, AmendBenefitApplicationOutput, @@ -111,6 +113,14 @@ export type { UntagResourceResponse, UpdateBenefitApplicationInput, UpdateBenefitApplicationOutput, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, PartnerCentralBenefitsServiceException, paginateListBenefitAllocations, paginateListBenefitApplications, diff --git a/clients/client-partnercentral-channel/src/schemas/schemas_0.ts b/clients/client-partnercentral-channel/src/schemas/schemas_0.ts index a6280fea0e31..3dd7bde1b6cf 100644 --- a/clients/client-partnercentral-channel/src/schemas/schemas_0.ts +++ b/clients/client-partnercentral-channel/src/schemas/schemas_0.ts @@ -508,7 +508,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_na, _cod, _m], [0, 0, 0]]; -export var __Unit = "unit" as const; export var PartnerCentralChannelServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-partnercentral-channel/test/index-objects.spec.mjs b/clients/client-partnercentral-channel/test/index-objects.spec.mjs index aa815b237c80..8bb82ee0098b 100644 --- a/clients/client-partnercentral-channel/test/index-objects.spec.mjs +++ b/clients/client-partnercentral-channel/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { AcceptChannelHandshakeCommand, + AccessDeniedException, AssociationType, CancelChannelHandshakeCommand, + ConflictException, Coverage, CreateChannelHandshakeCommand, CreateProgramManagementAccountCommand, @@ -11,6 +13,7 @@ import { GetRelationshipCommand, HandshakeStatus, HandshakeType, + InternalServerException, ListChannelHandshakesCommand, ListProgramManagementAccountsCommand, ListProgramManagementAccountsSortName, @@ -27,15 +30,20 @@ import { Provider, RejectChannelHandshakeCommand, ResaleAccountModel, + ResourceNotFoundException, RevokeServicePeriodTypeSortName, Sector, ServicePeriodType, + ServiceQuotaExceededException, SortOrder, StartServicePeriodTypeSortName, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateProgramManagementAccountCommand, UpdateRelationshipCommand, + ValidationException, + ValidationExceptionReason, paginateListChannelHandshakes, paginateListProgramManagementAccounts, paginateListRelationships, @@ -80,7 +88,15 @@ assert(typeof Sector === "object"); assert(typeof ServicePeriodType === "object"); assert(typeof SortOrder === "object"); assert(typeof StartServicePeriodTypeSortName === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof PartnerCentralChannelServiceException); +assert(ConflictException.prototype instanceof PartnerCentralChannelServiceException); +assert(InternalServerException.prototype instanceof PartnerCentralChannelServiceException); +assert(ResourceNotFoundException.prototype instanceof PartnerCentralChannelServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PartnerCentralChannelServiceException); +assert(ThrottlingException.prototype instanceof PartnerCentralChannelServiceException); +assert(ValidationException.prototype instanceof PartnerCentralChannelServiceException); assert(PartnerCentralChannelServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChannelHandshakes === "function"); diff --git a/clients/client-partnercentral-channel/test/index-types.ts b/clients/client-partnercentral-channel/test/index-types.ts index a670b513fd17..4ad2c88b7faa 100644 --- a/clients/client-partnercentral-channel/test/index-types.ts +++ b/clients/client-partnercentral-channel/test/index-types.ts @@ -70,6 +70,7 @@ export type { ServicePeriodType, SortOrder, StartServicePeriodTypeSortName, + ValidationExceptionReason, AcceptChannelHandshakeDetail, AcceptChannelHandshakeRequest, AcceptChannelHandshakeResponse, @@ -138,6 +139,14 @@ export type { UpdateRelationshipDetail, UpdateRelationshipRequest, UpdateRelationshipResponse, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, PartnerCentralChannelServiceException, paginateListChannelHandshakes, paginateListProgramManagementAccounts, diff --git a/clients/client-partnercentral-selling/test/index-objects.spec.mjs b/clients/client-partnercentral-selling/test/index-objects.spec.mjs index 81fea9c3d11e..626dd4a7bf4a 100644 --- a/clients/client-partnercentral-selling/test/index-objects.spec.mjs +++ b/clients/client-partnercentral-selling/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { AcceptEngagementInvitationCommand, + AccessDeniedException, + AccessDeniedExceptionErrorCode, AssignOpportunityCommand, AssociateOpportunityCommand, AwsClosedLostReason, @@ -9,6 +11,7 @@ import { Channel, ClosedLostReason, CompetitorName, + ConflictException, CountryCode, CreateEngagementCommand, CreateEngagementContextCommand, @@ -32,6 +35,7 @@ import { GetResourceSnapshotJobCommand, GetSellingSystemSettingsCommand, Industry, + InternalServerException, InvitationStatus, InvolvementTypeChangeReason, ListEngagementByAcceptingInvitationTasksCommand, @@ -65,12 +69,14 @@ import { ReceiverResponsibility, RejectEngagementInvitationCommand, RelatedEntityType, + ResourceNotFoundException, ResourceSnapshotJobStatus, ResourceType, RevenueModel, ReviewStatus, SalesActivity, SalesInvolvementType, + ServiceQuotaExceededException, SolutionSortName, SolutionStatus, SortBy, @@ -84,9 +90,13 @@ import { SubmitOpportunityCommand, TagResourceCommand, TaskStatus, + ThrottlingException, UntagResourceCommand, UpdateEngagementContextCommand, UpdateOpportunityCommand, + ValidationException, + ValidationExceptionErrorCode, + ValidationExceptionReason, Visibility, paginateListEngagementByAcceptingInvitationTasks, paginateListEngagementFromOpportunityTasks, @@ -148,6 +158,7 @@ assert(typeof UntagResourceCommand === "function"); assert(typeof UpdateEngagementContextCommand === "function"); assert(typeof UpdateOpportunityCommand === "function"); // enums +assert(typeof AccessDeniedExceptionErrorCode === "object"); assert(typeof AwsClosedLostReason === "object"); assert(typeof AwsFundingUsed === "object"); assert(typeof AwsMemberBusinessTitle === "object"); @@ -191,8 +202,17 @@ assert(typeof SortBy === "object"); assert(typeof SortOrder === "object"); assert(typeof Stage === "object"); assert(typeof TaskStatus === "object"); +assert(typeof ValidationExceptionErrorCode === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof Visibility === "object"); // errors +assert(AccessDeniedException.prototype instanceof PartnerCentralSellingServiceException); +assert(ConflictException.prototype instanceof PartnerCentralSellingServiceException); +assert(InternalServerException.prototype instanceof PartnerCentralSellingServiceException); +assert(ResourceNotFoundException.prototype instanceof PartnerCentralSellingServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PartnerCentralSellingServiceException); +assert(ThrottlingException.prototype instanceof PartnerCentralSellingServiceException); +assert(ValidationException.prototype instanceof PartnerCentralSellingServiceException); assert(PartnerCentralSellingServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEngagementByAcceptingInvitationTasks === "function"); diff --git a/clients/client-partnercentral-selling/test/index-types.ts b/clients/client-partnercentral-selling/test/index-types.ts index 40251feb0cc4..229f84756cb9 100644 --- a/clients/client-partnercentral-selling/test/index-types.ts +++ b/clients/client-partnercentral-selling/test/index-types.ts @@ -128,6 +128,7 @@ export type { UpdateOpportunityCommand, UpdateOpportunityCommandInput, UpdateOpportunityCommandOutput, + AccessDeniedExceptionErrorCode, AwsClosedLostReason, AwsFundingUsed, AwsMemberBusinessTitle, @@ -171,6 +172,8 @@ export type { SortOrder, Stage, TaskStatus, + ValidationExceptionErrorCode, + ValidationExceptionReason, Visibility, AcceptEngagementInvitationRequest, Account, @@ -318,6 +321,14 @@ export type { UpdateLeadContext, UpdateOpportunityRequest, UpdateOpportunityResponse, + ValidationExceptionError, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, PartnerCentralSellingServiceException, paginateListEngagementByAcceptingInvitationTasks, paginateListEngagementFromOpportunityTasks, diff --git a/clients/client-payment-cryptography-data/src/schemas/schemas_0.ts b/clients/client-payment-cryptography-data/src/schemas/schemas_0.ts index 2c931d85c709..c0e54c573d91 100644 --- a/clients/client-payment-cryptography-data/src/schemas/schemas_0.ts +++ b/clients/client-payment-cryptography-data/src/schemas/schemas_0.ts @@ -885,7 +885,6 @@ export var WrappedWorkingKey: StaticStructureSchema = [ [_WKM, _KCV, _WKMF], [[() => KeyMaterial, 0], 0, 0], ]; -export var __Unit = "unit" as const; export var PaymentCryptographyDataServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-payment-cryptography-data/test/index-objects.spec.mjs b/clients/client-payment-cryptography-data/test/index-objects.spec.mjs index a827b6c4c5cc..96d708df242a 100644 --- a/clients/client-payment-cryptography-data/test/index-objects.spec.mjs +++ b/clients/client-payment-cryptography-data/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, DecryptDataCommand, DukptDerivationType, DukptEncryptionMode, @@ -11,6 +12,7 @@ import { GenerateMacCommand, GenerateMacEmvPinChangeCommand, GeneratePinDataCommand, + InternalServerException, KeyCheckValueAlgorithm, KeyDerivationFunction, KeyDerivationHashAlgorithm, @@ -25,10 +27,15 @@ import { PinBlockLengthPosition, PinBlockPaddingType, ReEncryptDataCommand, + ResourceNotFoundException, SessionKeyDerivationMode, SymmetricKeyAlgorithm, + ThrottlingException, TranslateKeyMaterialCommand, TranslatePinDataCommand, + ValidationException, + VerificationFailedException, + VerificationFailedReason, VerifyAuthRequestCryptogramCommand, VerifyCardValidationDataCommand, VerifyMacCommand, @@ -72,7 +79,14 @@ assert(typeof PinBlockLengthPosition === "object"); assert(typeof PinBlockPaddingType === "object"); assert(typeof SessionKeyDerivationMode === "object"); assert(typeof SymmetricKeyAlgorithm === "object"); +assert(typeof VerificationFailedReason === "object"); assert(typeof WrappedKeyMaterialFormat === "object"); // errors +assert(AccessDeniedException.prototype instanceof PaymentCryptographyDataServiceException); +assert(InternalServerException.prototype instanceof PaymentCryptographyDataServiceException); +assert(ResourceNotFoundException.prototype instanceof PaymentCryptographyDataServiceException); +assert(ThrottlingException.prototype instanceof PaymentCryptographyDataServiceException); +assert(ValidationException.prototype instanceof PaymentCryptographyDataServiceException); +assert(VerificationFailedException.prototype instanceof PaymentCryptographyDataServiceException); assert(PaymentCryptographyDataServiceException.prototype instanceof Error); console.log(`PaymentCryptographyData index test passed.`); diff --git a/clients/client-payment-cryptography-data/test/index-types.ts b/clients/client-payment-cryptography-data/test/index-types.ts index 9f07ebb49d6f..8bb01b8bdb03 100644 --- a/clients/client-payment-cryptography-data/test/index-types.ts +++ b/clients/client-payment-cryptography-data/test/index-types.ts @@ -59,6 +59,7 @@ export type { PinBlockPaddingType, SessionKeyDerivationMode, SymmetricKeyAlgorithm, + VerificationFailedReason, WrappedKeyMaterialFormat, AmexAttributes, AmexCardSecurityCodeVersion1, @@ -132,6 +133,7 @@ export type { TranslationIsoFormats, TranslationPinDataIsoFormat034, TranslationPinDataIsoFormat1, + ValidationExceptionField, VerifyAuthRequestCryptogramInput, VerifyAuthRequestCryptogramOutput, VerifyCardValidationDataInput, @@ -148,5 +150,11 @@ export type { WrappedKey, WrappedKeyMaterial, WrappedWorkingKey, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, + VerificationFailedException, PaymentCryptographyDataServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-payment-cryptography/src/schemas/schemas_0.ts b/clients/client-payment-cryptography/src/schemas/schemas_0.ts index 92512e18f19e..0080490de5e1 100644 --- a/clients/client-payment-cryptography/src/schemas/schemas_0.ts +++ b/clients/client-payment-cryptography/src/schemas/schemas_0.ts @@ -485,7 +485,6 @@ export var WrappedKey: StaticStructureSchema = [ [_WKAr, _WKMF, _KM, _KCV, _KCVA], [0, 0, [() => KeyMaterial, 0], 0, 0], ]; -export var __Unit = "unit" as const; export var PaymentCryptographyServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-payment-cryptography/test/index-objects.spec.mjs b/clients/client-payment-cryptography/test/index-objects.spec.mjs index 20e52b285aa7..1bce9a1c6935 100644 --- a/clients/client-payment-cryptography/test/index-objects.spec.mjs +++ b/clients/client-payment-cryptography/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, AddKeyReplicationRegionsCommand, + ConflictException, CreateAliasCommand, CreateKeyCommand, DeleteAliasCommand, @@ -16,6 +18,7 @@ import { GetParametersForImportCommand, GetPublicKeyCertificateCommand, ImportKeyCommand, + InternalServerException, KeyAlgorithm, KeyCheckValueAlgorithm, KeyClass, @@ -35,15 +38,20 @@ import { PaymentCryptographyClient, PaymentCryptographyServiceException, RemoveKeyReplicationRegionsCommand, + ResourceNotFoundException, RestoreKeyCommand, + ServiceQuotaExceededException, + ServiceUnavailableException, SigningAlgorithmType, StartKeyUsageCommand, StopKeyUsageCommand, SymmetricKeyAlgorithm, TagResourceCommand, + ThrottlingException, Tr34KeyBlockFormat, UntagResourceCommand, UpdateAliasCommand, + ValidationException, WrappedKeyMaterialFormat, WrappingKeySpec, paginateListAliases, @@ -101,6 +109,14 @@ assert(typeof Tr34KeyBlockFormat === "object"); assert(typeof WrappedKeyMaterialFormat === "object"); assert(typeof WrappingKeySpec === "object"); // errors +assert(AccessDeniedException.prototype instanceof PaymentCryptographyServiceException); +assert(ConflictException.prototype instanceof PaymentCryptographyServiceException); +assert(InternalServerException.prototype instanceof PaymentCryptographyServiceException); +assert(ResourceNotFoundException.prototype instanceof PaymentCryptographyServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PaymentCryptographyServiceException); +assert(ServiceUnavailableException.prototype instanceof PaymentCryptographyServiceException); +assert(ThrottlingException.prototype instanceof PaymentCryptographyServiceException); +assert(ValidationException.prototype instanceof PaymentCryptographyServiceException); assert(PaymentCryptographyServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAliases === "function"); diff --git a/clients/client-payment-cryptography/test/index-types.ts b/clients/client-payment-cryptography/test/index-types.ts index 26c7cd069e22..bb14a02901d0 100644 --- a/clients/client-payment-cryptography/test/index-types.ts +++ b/clients/client-payment-cryptography/test/index-types.ts @@ -175,6 +175,14 @@ export type { UpdateAliasInput, UpdateAliasOutput, WrappedKey, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ServiceUnavailableException, + ThrottlingException, + ValidationException, PaymentCryptographyServiceException, paginateListAliases, paginateListKeys, diff --git a/clients/client-pca-connector-ad/test/index-objects.spec.mjs b/clients/client-pca-connector-ad/test/index-objects.spec.mjs index 9de5ac4ec701..c3a2043c45b7 100644 --- a/clients/client-pca-connector-ad/test/index-objects.spec.mjs +++ b/clients/client-pca-connector-ad/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, AccessRight, ApplicationPolicyType, ClientCompatibilityV2, ClientCompatibilityV3, ClientCompatibilityV4, + ConflictException, ConnectorStatus, ConnectorStatusReason, CreateConnectorCommand, @@ -24,6 +26,7 @@ import { GetTemplateCommand, GetTemplateGroupAccessControlEntryCommand, HashAlgorithm, + InternalServerException, IpAddressType, KeySpec, KeyUsagePropertyType, @@ -37,13 +40,18 @@ import { PcaConnectorAdClient, PcaConnectorAdServiceException, PrivateKeyAlgorithm, + ResourceNotFoundException, ServicePrincipalNameStatus, ServicePrincipalNameStatusReason, + ServiceQuotaExceededException, TagResourceCommand, TemplateStatus, + ThrottlingException, UntagResourceCommand, UpdateTemplateCommand, UpdateTemplateGroupAccessControlEntryCommand, + ValidationException, + ValidationExceptionReason, ValidityPeriodType, paginateListConnectors, paginateListDirectoryRegistrations, @@ -99,8 +107,16 @@ assert(typeof PrivateKeyAlgorithm === "object"); assert(typeof ServicePrincipalNameStatus === "object"); assert(typeof ServicePrincipalNameStatusReason === "object"); assert(typeof TemplateStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof ValidityPeriodType === "object"); // errors +assert(AccessDeniedException.prototype instanceof PcaConnectorAdServiceException); +assert(ConflictException.prototype instanceof PcaConnectorAdServiceException); +assert(InternalServerException.prototype instanceof PcaConnectorAdServiceException); +assert(ResourceNotFoundException.prototype instanceof PcaConnectorAdServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PcaConnectorAdServiceException); +assert(ThrottlingException.prototype instanceof PcaConnectorAdServiceException); +assert(ValidationException.prototype instanceof PcaConnectorAdServiceException); assert(PcaConnectorAdServiceException.prototype instanceof Error); // paginators assert(typeof paginateListConnectors === "function"); diff --git a/clients/client-pca-connector-ad/test/index-types.ts b/clients/client-pca-connector-ad/test/index-types.ts index b569ee7f0657..016e99a593ca 100644 --- a/clients/client-pca-connector-ad/test/index-types.ts +++ b/clients/client-pca-connector-ad/test/index-types.ts @@ -94,6 +94,7 @@ export type { ServicePrincipalNameStatus, ServicePrincipalNameStatusReason, TemplateStatus, + ValidationExceptionReason, ValidityPeriodType, AccessControlEntry, AccessControlEntrySummary, @@ -177,6 +178,13 @@ export type { UpdateTemplateRequest, ValidityPeriod, VpcInformation, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, PcaConnectorAdServiceException, paginateListConnectors, paginateListDirectoryRegistrations, diff --git a/clients/client-pca-connector-scep/test/index-objects.spec.mjs b/clients/client-pca-connector-scep/test/index-objects.spec.mjs index 3390f1907717..a3d6d15875f1 100644 --- a/clients/client-pca-connector-scep/test/index-objects.spec.mjs +++ b/clients/client-pca-connector-scep/test/index-objects.spec.mjs @@ -1,4 +1,7 @@ import { + AccessDeniedException, + BadRequestException, + ConflictException, ConnectorStatus, ConnectorStatusReason, ConnectorType, @@ -9,14 +12,20 @@ import { GetChallengeMetadataCommand, GetChallengePasswordCommand, GetConnectorCommand, + InternalServerException, ListChallengeMetadataCommand, ListConnectorsCommand, ListTagsForResourceCommand, PcaConnectorScep, PcaConnectorScepClient, PcaConnectorScepServiceException, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, + ValidationException, + ValidationExceptionReason, paginateListChallengeMetadata, paginateListConnectors, } from "../dist-cjs/index.js"; @@ -41,7 +50,16 @@ assert(typeof UntagResourceCommand === "function"); assert(typeof ConnectorStatus === "object"); assert(typeof ConnectorStatusReason === "object"); assert(typeof ConnectorType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof PcaConnectorScepServiceException); +assert(BadRequestException.prototype instanceof PcaConnectorScepServiceException); +assert(ConflictException.prototype instanceof PcaConnectorScepServiceException); +assert(InternalServerException.prototype instanceof PcaConnectorScepServiceException); +assert(ResourceNotFoundException.prototype instanceof PcaConnectorScepServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PcaConnectorScepServiceException); +assert(ThrottlingException.prototype instanceof PcaConnectorScepServiceException); +assert(ValidationException.prototype instanceof PcaConnectorScepServiceException); assert(PcaConnectorScepServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChallengeMetadata === "function"); diff --git a/clients/client-pca-connector-scep/test/index-types.ts b/clients/client-pca-connector-scep/test/index-types.ts index ff6408eb8cc3..7d7b7d2a133a 100644 --- a/clients/client-pca-connector-scep/test/index-types.ts +++ b/clients/client-pca-connector-scep/test/index-types.ts @@ -41,6 +41,7 @@ export type { ConnectorStatus, ConnectorStatusReason, ConnectorType, + ValidationExceptionReason, Challenge, ChallengeMetadata, ChallengeMetadataSummary, @@ -69,6 +70,14 @@ export type { OpenIdConfiguration, TagResourceRequest, UntagResourceRequest, + AccessDeniedException, + BadRequestException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, PcaConnectorScepServiceException, paginateListChallengeMetadata, paginateListConnectors, diff --git a/clients/client-pcs/src/schemas/schemas_0.ts b/clients/client-pcs/src/schemas/schemas_0.ts index 61d512869839..4c92ae80ae72 100644 --- a/clients/client-pcs/src/schemas/schemas_0.ts +++ b/clients/client-pcs/src/schemas/schemas_0.ts @@ -575,7 +575,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var PCSServiceException: StaticErrorSchema = [-3, _sm, "PCSServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(PCSServiceException, __PCSServiceException); export var ClusterList: StaticListSchema = [1, n0, _CL, 0, () => ClusterSummary]; diff --git a/clients/client-pcs/test/index-objects.spec.mjs b/clients/client-pcs/test/index-objects.spec.mjs index eccc222767af..ff239fa1aad2 100644 --- a/clients/client-pcs/test/index-objects.spec.mjs +++ b/clients/client-pcs/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AccountingMode, ClusterStatus, ComputeNodeGroupStatus, + ConflictException, CreateClusterCommand, CreateComputeNodeGroupCommand, CreateQueueCommand, @@ -12,6 +14,7 @@ import { GetClusterCommand, GetComputeNodeGroupCommand, GetQueueCommand, + InternalServerException, ListClustersCommand, ListComputeNodeGroupsCommand, ListQueuesCommand, @@ -23,15 +26,20 @@ import { PurchaseOption, QueueStatus, RegisterComputeNodeGroupInstanceCommand, + ResourceNotFoundException, SchedulerType, + ServiceQuotaExceededException, Size, SlurmRestMode, SpotAllocationStrategy, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateClusterCommand, UpdateComputeNodeGroupCommand, UpdateQueueCommand, + ValidationException, + ValidationExceptionReason, paginateListClusters, paginateListComputeNodeGroups, paginateListQueues, @@ -72,7 +80,15 @@ assert(typeof SchedulerType === "object"); assert(typeof Size === "object"); assert(typeof SlurmRestMode === "object"); assert(typeof SpotAllocationStrategy === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof PCSServiceException); +assert(ConflictException.prototype instanceof PCSServiceException); +assert(InternalServerException.prototype instanceof PCSServiceException); +assert(ResourceNotFoundException.prototype instanceof PCSServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PCSServiceException); +assert(ThrottlingException.prototype instanceof PCSServiceException); +assert(ValidationException.prototype instanceof PCSServiceException); assert(PCSServiceException.prototype instanceof Error); // paginators assert(typeof paginateListClusters === "function"); diff --git a/clients/client-pcs/test/index-types.ts b/clients/client-pcs/test/index-types.ts index e6340be9c4f3..9b85952a3911 100644 --- a/clients/client-pcs/test/index-types.ts +++ b/clients/client-pcs/test/index-types.ts @@ -70,6 +70,7 @@ export type { Size, SlurmRestMode, SpotAllocationStrategy, + ValidationExceptionReason, Accounting, AccountingRequest, Cluster, @@ -145,6 +146,14 @@ export type { UpdateQueueResponse, UpdateQueueSlurmConfigurationRequest, UpdateSlurmRestRequest, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, PCSServiceException, paginateListClusters, paginateListComputeNodeGroups, diff --git a/clients/client-personalize-events/test/index-objects.spec.mjs b/clients/client-personalize-events/test/index-objects.spec.mjs index c67c493523de..80008f292c1c 100644 --- a/clients/client-personalize-events/test/index-objects.spec.mjs +++ b/clients/client-personalize-events/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + InvalidInputException, PersonalizeEvents, PersonalizeEventsClient, PersonalizeEventsServiceException, @@ -7,6 +8,8 @@ import { PutEventsCommand, PutItemsCommand, PutUsersCommand, + ResourceInUseException, + ResourceNotFoundException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -19,5 +22,8 @@ assert(typeof PutEventsCommand === "function"); assert(typeof PutItemsCommand === "function"); assert(typeof PutUsersCommand === "function"); // errors +assert(InvalidInputException.prototype instanceof PersonalizeEventsServiceException); +assert(ResourceInUseException.prototype instanceof PersonalizeEventsServiceException); +assert(ResourceNotFoundException.prototype instanceof PersonalizeEventsServiceException); assert(PersonalizeEventsServiceException.prototype instanceof Error); console.log(`PersonalizeEvents index test passed.`); diff --git a/clients/client-personalize-events/test/index-types.ts b/clients/client-personalize-events/test/index-types.ts index 4453bc5197a6..72dfc85a9d8f 100644 --- a/clients/client-personalize-events/test/index-types.ts +++ b/clients/client-personalize-events/test/index-types.ts @@ -28,5 +28,8 @@ export type { PutItemsRequest, PutUsersRequest, User, + InvalidInputException, + ResourceInUseException, + ResourceNotFoundException, PersonalizeEventsServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-personalize-runtime/test/index-objects.spec.mjs b/clients/client-personalize-runtime/test/index-objects.spec.mjs index 89578d921e1c..aabbbdb9b1ad 100644 --- a/clients/client-personalize-runtime/test/index-objects.spec.mjs +++ b/clients/client-personalize-runtime/test/index-objects.spec.mjs @@ -2,9 +2,11 @@ import { GetActionRecommendationsCommand, GetPersonalizedRankingCommand, GetRecommendationsCommand, + InvalidInputException, PersonalizeRuntime, PersonalizeRuntimeClient, PersonalizeRuntimeServiceException, + ResourceNotFoundException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -15,5 +17,7 @@ assert(typeof GetActionRecommendationsCommand === "function"); assert(typeof GetPersonalizedRankingCommand === "function"); assert(typeof GetRecommendationsCommand === "function"); // errors +assert(InvalidInputException.prototype instanceof PersonalizeRuntimeServiceException); +assert(ResourceNotFoundException.prototype instanceof PersonalizeRuntimeServiceException); assert(PersonalizeRuntimeServiceException.prototype instanceof Error); console.log(`PersonalizeRuntime index test passed.`); diff --git a/clients/client-personalize-runtime/test/index-types.ts b/clients/client-personalize-runtime/test/index-types.ts index b5c139e1122a..4d3f6a67553c 100644 --- a/clients/client-personalize-runtime/test/index-types.ts +++ b/clients/client-personalize-runtime/test/index-types.ts @@ -20,5 +20,7 @@ export type { PredictedAction, PredictedItem, Promotion, + InvalidInputException, + ResourceNotFoundException, PersonalizeRuntimeServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-personalize/test/index-objects.spec.mjs b/clients/client-personalize/test/index-objects.spec.mjs index f576a6f20a82..ec9d92a6a165 100644 --- a/clients/client-personalize/test/index-objects.spec.mjs +++ b/clients/client-personalize/test/index-objects.spec.mjs @@ -46,6 +46,9 @@ import { GetSolutionMetricsCommand, ImportMode, IngestionMode, + InvalidInputException, + InvalidNextTokenException, + LimitExceededException, ListBatchInferenceJobsCommand, ListBatchSegmentJobsCommand, ListCampaignsCommand, @@ -70,10 +73,15 @@ import { PersonalizeServiceException, RankingInfluenceType, RecipeProvider, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, StartRecommenderCommand, StopRecommenderCommand, StopSolutionVersionCreationCommand, TagResourceCommand, + TooManyTagKeysException, + TooManyTagsException, TrainingMode, TrainingType, UntagResourceCommand, @@ -186,6 +194,14 @@ assert(typeof RecipeProvider === "object"); assert(typeof TrainingMode === "object"); assert(typeof TrainingType === "object"); // errors +assert(InvalidInputException.prototype instanceof PersonalizeServiceException); +assert(InvalidNextTokenException.prototype instanceof PersonalizeServiceException); +assert(LimitExceededException.prototype instanceof PersonalizeServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof PersonalizeServiceException); +assert(ResourceInUseException.prototype instanceof PersonalizeServiceException); +assert(ResourceNotFoundException.prototype instanceof PersonalizeServiceException); +assert(TooManyTagKeysException.prototype instanceof PersonalizeServiceException); +assert(TooManyTagsException.prototype instanceof PersonalizeServiceException); assert(PersonalizeServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBatchInferenceJobs === "function"); diff --git a/clients/client-personalize/test/index-types.ts b/clients/client-personalize/test/index-types.ts index aae7ccca912a..5e4ff65fbf95 100644 --- a/clients/client-personalize/test/index-types.ts +++ b/clients/client-personalize/test/index-types.ts @@ -431,6 +431,14 @@ export type { UpdateRecommenderResponse, UpdateSolutionRequest, UpdateSolutionResponse, + InvalidInputException, + InvalidNextTokenException, + LimitExceededException, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, + TooManyTagKeysException, + TooManyTagsException, PersonalizeServiceException, paginateListBatchInferenceJobs, paginateListBatchSegmentJobs, diff --git a/clients/client-pi/src/schemas/schemas_0.ts b/clients/client-pi/src/schemas/schemas_0.ts index ce5bdc746ccb..b00b6c423cf8 100644 --- a/clients/client-pi/src/schemas/schemas_0.ts +++ b/clients/client-pi/src/schemas/schemas_0.ts @@ -397,7 +397,6 @@ export var TagResourceRequest: StaticStructureSchema = [3, n0, _TRR, 0, [_ST, _R export var TagResourceResponse: StaticStructureSchema = [3, n0, _TRRa, 0, [], []]; export var UntagResourceRequest: StaticStructureSchema = [3, n0, _URR, 0, [_ST, _RARN, _TK], [0, 0, 64 | 0]]; export var UntagResourceResponse: StaticStructureSchema = [3, n0, _URRn, 0, [], []]; -export var __Unit = "unit" as const; export var PIServiceException: StaticErrorSchema = [-3, _sm, "PIServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(PIServiceException, __PIServiceException); export var AdditionalMetricsList = 64 | 0; diff --git a/clients/client-pi/test/index-objects.spec.mjs b/clients/client-pi/test/index-objects.spec.mjs index 842de978d8ee..1843c9c1c084 100644 --- a/clients/client-pi/test/index-objects.spec.mjs +++ b/clients/client-pi/test/index-objects.spec.mjs @@ -12,10 +12,13 @@ import { GetPerformanceAnalysisReportCommand, GetResourceMetadataCommand, GetResourceMetricsCommand, + InternalServiceError, + InvalidArgumentException, ListAvailableResourceDimensionsCommand, ListAvailableResourceMetricsCommand, ListPerformanceAnalysisReportsCommand, ListTagsForResourceCommand, + NotAuthorizedException, PI, PIClient, PIServiceException, @@ -61,6 +64,9 @@ assert(typeof ServiceType === "object"); assert(typeof Severity === "object"); assert(typeof TextFormat === "object"); // errors +assert(InternalServiceError.prototype instanceof PIServiceException); +assert(InvalidArgumentException.prototype instanceof PIServiceException); +assert(NotAuthorizedException.prototype instanceof PIServiceException); assert(PIServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeDimensionKeys === "function"); diff --git a/clients/client-pi/test/index-types.ts b/clients/client-pi/test/index-types.ts index 3a3045b20f91..2c7a7918fccf 100644 --- a/clients/client-pi/test/index-types.ts +++ b/clients/client-pi/test/index-types.ts @@ -97,6 +97,9 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + InternalServiceError, + InvalidArgumentException, + NotAuthorizedException, PIServiceException, paginateDescribeDimensionKeys, paginateGetResourceMetrics, diff --git a/clients/client-pinpoint-email/src/schemas/schemas_0.ts b/clients/client-pinpoint-email/src/schemas/schemas_0.ts index 5dc757613d70..52f19d98d780 100644 --- a/clients/client-pinpoint-email/src/schemas/schemas_0.ts +++ b/clients/client-pinpoint-email/src/schemas/schemas_0.ts @@ -832,7 +832,6 @@ export var UpdateConfigurationSetEventDestinationRequest: StaticStructureSchema ]; export var UpdateConfigurationSetEventDestinationResponse: StaticStructureSchema = [3, n0, _UCSEDRp, 0, [], []]; export var VolumeStatistics: StaticStructureSchema = [3, n0, _VS, 0, [_IRC, _SRC, _PI, _PSr], [1, 1, 1, 1]]; -export var __Unit = "unit" as const; export var PinpointEmailServiceException: StaticErrorSchema = [-3, _sm, "PinpointEmailServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(PinpointEmailServiceException, __PinpointEmailServiceException); export var BlacklistEntries: StaticListSchema = [1, n0, _BEl, 0, () => BlacklistEntry]; diff --git a/clients/client-pinpoint-email/test/index-objects.spec.mjs b/clients/client-pinpoint-email/test/index-objects.spec.mjs index 367e9b634d76..340dda89a221 100644 --- a/clients/client-pinpoint-email/test/index-objects.spec.mjs +++ b/clients/client-pinpoint-email/test/index-objects.spec.mjs @@ -1,5 +1,9 @@ import { + AccountSuspendedException, + AlreadyExistsException, + BadRequestException, BehaviorOnMxFailure, + ConcurrentModificationException, CreateConfigurationSetCommand, CreateConfigurationSetEventDestinationCommand, CreateDedicatedIpPoolCommand, @@ -26,13 +30,17 @@ import { GetDomainStatisticsReportCommand, GetEmailIdentityCommand, IdentityType, + LimitExceededException, ListConfigurationSetsCommand, ListDedicatedIpPoolsCommand, ListDeliverabilityTestReportsCommand, ListDomainDeliverabilityCampaignsCommand, ListEmailIdentitiesCommand, ListTagsForResourceCommand, + MailFromDomainNotVerifiedException, MailFromDomainStatus, + MessageRejected, + NotFoundException, PinpointEmail, PinpointEmailClient, PinpointEmailServiceException, @@ -49,8 +57,10 @@ import { PutEmailIdentityFeedbackAttributesCommand, PutEmailIdentityMailFromAttributesCommand, SendEmailCommand, + SendingPausedException, TagResourceCommand, TlsPolicy, + TooManyRequestsException, UntagResourceCommand, UpdateConfigurationSetEventDestinationCommand, WarmupStatus, @@ -120,6 +130,16 @@ assert(typeof MailFromDomainStatus === "object"); assert(typeof TlsPolicy === "object"); assert(typeof WarmupStatus === "object"); // errors +assert(AccountSuspendedException.prototype instanceof PinpointEmailServiceException); +assert(AlreadyExistsException.prototype instanceof PinpointEmailServiceException); +assert(BadRequestException.prototype instanceof PinpointEmailServiceException); +assert(ConcurrentModificationException.prototype instanceof PinpointEmailServiceException); +assert(LimitExceededException.prototype instanceof PinpointEmailServiceException); +assert(MailFromDomainNotVerifiedException.prototype instanceof PinpointEmailServiceException); +assert(MessageRejected.prototype instanceof PinpointEmailServiceException); +assert(NotFoundException.prototype instanceof PinpointEmailServiceException); +assert(SendingPausedException.prototype instanceof PinpointEmailServiceException); +assert(TooManyRequestsException.prototype instanceof PinpointEmailServiceException); assert(PinpointEmailServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetDedicatedIps === "function"); diff --git a/clients/client-pinpoint-email/test/index-types.ts b/clients/client-pinpoint-email/test/index-types.ts index bb626ebdbf7a..c79b59b1eade 100644 --- a/clients/client-pinpoint-email/test/index-types.ts +++ b/clients/client-pinpoint-email/test/index-types.ts @@ -258,6 +258,16 @@ export type { UpdateConfigurationSetEventDestinationRequest, UpdateConfigurationSetEventDestinationResponse, VolumeStatistics, + AccountSuspendedException, + AlreadyExistsException, + BadRequestException, + ConcurrentModificationException, + LimitExceededException, + MailFromDomainNotVerifiedException, + MessageRejected, + NotFoundException, + SendingPausedException, + TooManyRequestsException, PinpointEmailServiceException, paginateGetDedicatedIps, paginateListConfigurationSets, diff --git a/clients/client-pinpoint-sms-voice-v2/test/index-objects.spec.mjs b/clients/client-pinpoint-sms-voice-v2/test/index-objects.spec.mjs index d47029dca50d..9fc03cdff737 100644 --- a/clients/client-pinpoint-sms-voice-v2/test/index-objects.spec.mjs +++ b/clients/client-pinpoint-sms-voice-v2/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + AccessDeniedExceptionReason, AccountAttributeName, AccountLimitName, AssociateOriginationIdentityCommand, @@ -7,6 +9,8 @@ import { AttachmentUploadErrorReason, CarrierLookupCommand, ConfigurationSetFilterName, + ConflictException, + ConflictExceptionReason, CreateConfigurationSetCommand, CreateEventDestinationCommand, CreateOptOutListCommand, @@ -64,6 +68,7 @@ import { FieldType, GetProtectConfigurationCountryRuleSetCommand, GetResourcePolicyCommand, + InternalServerException, KeywordAction, KeywordFilterName, LanguageCode, @@ -110,11 +115,15 @@ import { RequestPhoneNumberCommand, RequestSenderIdCommand, RequestableNumberType, + ResourceNotFoundException, + ResourceType, SendDestinationNumberVerificationCodeCommand, SendMediaMessageCommand, SendTextMessageCommand, SendVoiceMessageCommand, SenderIdFilterName, + ServiceQuotaExceededException, + ServiceQuotaExceededExceptionReason, SetAccountDefaultProtectConfigurationCommand, SetDefaultMessageFeedbackEnabledCommand, SetDefaultMessageTypeCommand, @@ -125,6 +134,7 @@ import { SpendLimitName, SubmitRegistrationVersionCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateEventDestinationCommand, UpdatePhoneNumberCommand, @@ -132,6 +142,8 @@ import { UpdateProtectConfigurationCommand, UpdateProtectConfigurationCountryRuleSetCommand, UpdateSenderIdCommand, + ValidationException, + ValidationExceptionReason, VerificationChannel, VerificationStatus, VerifiedDestinationNumberFilterName, @@ -258,11 +270,13 @@ assert(typeof UpdateProtectConfigurationCountryRuleSetCommand === "function"); assert(typeof UpdateSenderIdCommand === "function"); assert(typeof VerifyDestinationNumberCommand === "function"); // enums +assert(typeof AccessDeniedExceptionReason === "object"); assert(typeof AccountAttributeName === "object"); assert(typeof AccountLimitName === "object"); assert(typeof AttachmentStatus === "object"); assert(typeof AttachmentUploadErrorReason === "object"); assert(typeof ConfigurationSetFilterName === "object"); +assert(typeof ConflictExceptionReason === "object"); assert(typeof DestinationCountryParameterKey === "object"); assert(typeof EventType === "object"); assert(typeof FieldRequirement === "object"); @@ -296,14 +310,24 @@ assert(typeof RegistrationTypeFilterName === "object"); assert(typeof RegistrationVersionFilterName === "object"); assert(typeof RegistrationVersionStatus === "object"); assert(typeof RequestableNumberType === "object"); +assert(typeof ResourceType === "object"); assert(typeof SenderIdFilterName === "object"); +assert(typeof ServiceQuotaExceededExceptionReason === "object"); assert(typeof SpendLimitName === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VerificationChannel === "object"); assert(typeof VerificationStatus === "object"); assert(typeof VerifiedDestinationNumberFilterName === "object"); assert(typeof VoiceId === "object"); assert(typeof VoiceMessageBodyTextType === "object"); // errors +assert(AccessDeniedException.prototype instanceof PinpointSMSVoiceV2ServiceException); +assert(ConflictException.prototype instanceof PinpointSMSVoiceV2ServiceException); +assert(InternalServerException.prototype instanceof PinpointSMSVoiceV2ServiceException); +assert(ResourceNotFoundException.prototype instanceof PinpointSMSVoiceV2ServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PinpointSMSVoiceV2ServiceException); +assert(ThrottlingException.prototype instanceof PinpointSMSVoiceV2ServiceException); +assert(ValidationException.prototype instanceof PinpointSMSVoiceV2ServiceException); assert(PinpointSMSVoiceV2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeAccountAttributes === "function"); diff --git a/clients/client-pinpoint-sms-voice-v2/test/index-types.ts b/clients/client-pinpoint-sms-voice-v2/test/index-types.ts index 4d16c096f745..c41b60ccbbff 100644 --- a/clients/client-pinpoint-sms-voice-v2/test/index-types.ts +++ b/clients/client-pinpoint-sms-voice-v2/test/index-types.ts @@ -275,11 +275,13 @@ export type { VerifyDestinationNumberCommand, VerifyDestinationNumberCommandInput, VerifyDestinationNumberCommandOutput, + AccessDeniedExceptionReason, AccountAttributeName, AccountLimitName, AttachmentStatus, AttachmentUploadErrorReason, ConfigurationSetFilterName, + ConflictExceptionReason, DestinationCountryParameterKey, EventType, FieldRequirement, @@ -313,8 +315,11 @@ export type { RegistrationVersionFilterName, RegistrationVersionStatus, RequestableNumberType, + ResourceType, SenderIdFilterName, + ServiceQuotaExceededExceptionReason, SpendLimitName, + ValidationExceptionReason, VerificationChannel, VerificationStatus, VerifiedDestinationNumberFilterName, @@ -551,10 +556,18 @@ export type { UpdateProtectConfigurationResult, UpdateSenderIdRequest, UpdateSenderIdResult, + ValidationExceptionField, VerifiedDestinationNumberFilter, VerifiedDestinationNumberInformation, VerifyDestinationNumberRequest, VerifyDestinationNumberResult, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, PinpointSMSVoiceV2ServiceException, paginateDescribeAccountAttributes, paginateDescribeAccountLimits, diff --git a/clients/client-pinpoint-sms-voice/src/schemas/schemas_0.ts b/clients/client-pinpoint-sms-voice/src/schemas/schemas_0.ts index d61ff6b197b5..4a47a5ed8467 100644 --- a/clients/client-pinpoint-sms-voice/src/schemas/schemas_0.ts +++ b/clients/client-pinpoint-sms-voice/src/schemas/schemas_0.ts @@ -192,7 +192,6 @@ export var VoiceMessageContent: StaticStructureSchema = [ [_CIM, _PTM, _SSMLM], [() => CallInstructionsMessageType, () => PlainTextMessageType, () => SSMLMessageType], ]; -export var __Unit = "unit" as const; export var PinpointSMSVoiceServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-pinpoint-sms-voice/test/index-objects.spec.mjs b/clients/client-pinpoint-sms-voice/test/index-objects.spec.mjs index 89d6879a9d44..13c0d9105baf 100644 --- a/clients/client-pinpoint-sms-voice/test/index-objects.spec.mjs +++ b/clients/client-pinpoint-sms-voice/test/index-objects.spec.mjs @@ -1,15 +1,21 @@ import { + AlreadyExistsException, + BadRequestException, CreateConfigurationSetCommand, CreateConfigurationSetEventDestinationCommand, DeleteConfigurationSetCommand, DeleteConfigurationSetEventDestinationCommand, EventType, GetConfigurationSetEventDestinationsCommand, + InternalServiceErrorException, + LimitExceededException, ListConfigurationSetsCommand, + NotFoundException, PinpointSMSVoice, PinpointSMSVoiceClient, PinpointSMSVoiceServiceException, SendVoiceMessageCommand, + TooManyRequestsException, UpdateConfigurationSetEventDestinationCommand, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -28,5 +34,11 @@ assert(typeof UpdateConfigurationSetEventDestinationCommand === "function"); // enums assert(typeof EventType === "object"); // errors +assert(AlreadyExistsException.prototype instanceof PinpointSMSVoiceServiceException); +assert(BadRequestException.prototype instanceof PinpointSMSVoiceServiceException); +assert(InternalServiceErrorException.prototype instanceof PinpointSMSVoiceServiceException); +assert(LimitExceededException.prototype instanceof PinpointSMSVoiceServiceException); +assert(NotFoundException.prototype instanceof PinpointSMSVoiceServiceException); +assert(TooManyRequestsException.prototype instanceof PinpointSMSVoiceServiceException); assert(PinpointSMSVoiceServiceException.prototype instanceof Error); console.log(`PinpointSMSVoice index test passed.`); diff --git a/clients/client-pinpoint-sms-voice/test/index-types.ts b/clients/client-pinpoint-sms-voice/test/index-types.ts index a4255c6670bf..ad924b0a6ab7 100644 --- a/clients/client-pinpoint-sms-voice/test/index-types.ts +++ b/clients/client-pinpoint-sms-voice/test/index-types.ts @@ -52,5 +52,11 @@ export type { UpdateConfigurationSetEventDestinationRequest, UpdateConfigurationSetEventDestinationResponse, VoiceMessageContent, + AlreadyExistsException, + BadRequestException, + InternalServiceErrorException, + LimitExceededException, + NotFoundException, + TooManyRequestsException, PinpointSMSVoiceServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-pinpoint/test/index-objects.spec.mjs b/clients/client-pinpoint/test/index-objects.spec.mjs index 5a0c012ee108..ac82c9987934 100644 --- a/clients/client-pinpoint/test/index-objects.spec.mjs +++ b/clients/client-pinpoint/test/index-objects.spec.mjs @@ -2,9 +2,11 @@ import { Action, Alignment, AttributeType, + BadRequestException, ButtonAction, CampaignStatus, ChannelType, + ConflictException, CreateAppCommand, CreateCampaignCommand, CreateEmailTemplateCommand, @@ -45,6 +47,7 @@ import { DimensionType, Duration, FilterType, + ForbiddenException, Format, Frequency, GetAdmChannelCommand, @@ -97,6 +100,7 @@ import { GetVoiceChannelCommand, GetVoiceTemplateCommand, Include, + InternalServerErrorException, JobStatus, JourneyRunStatus, Layout, @@ -105,8 +109,11 @@ import { ListTemplateVersionsCommand, ListTemplatesCommand, MessageType, + MethodNotAllowedException, Mode, + NotFoundException, Operator, + PayloadTooLargeException, PhoneNumberValidateCommand, Pinpoint, PinpointClient, @@ -123,6 +130,7 @@ import { State, TagResourceCommand, TemplateType, + TooManyRequestsException, Type, UntagResourceCommand, UpdateAdmChannelCommand, @@ -310,5 +318,13 @@ assert(typeof State === "object"); assert(typeof TemplateType === "object"); assert(typeof Type === "object"); // errors +assert(BadRequestException.prototype instanceof PinpointServiceException); +assert(ConflictException.prototype instanceof PinpointServiceException); +assert(ForbiddenException.prototype instanceof PinpointServiceException); +assert(InternalServerErrorException.prototype instanceof PinpointServiceException); +assert(MethodNotAllowedException.prototype instanceof PinpointServiceException); +assert(NotFoundException.prototype instanceof PinpointServiceException); +assert(PayloadTooLargeException.prototype instanceof PinpointServiceException); +assert(TooManyRequestsException.prototype instanceof PinpointServiceException); assert(PinpointServiceException.prototype instanceof Error); console.log(`Pinpoint index test passed.`); diff --git a/clients/client-pinpoint/test/index-types.ts b/clients/client-pinpoint/test/index-types.ts index 5db559e932f8..565c388fb776 100644 --- a/clients/client-pinpoint/test/index-types.ts +++ b/clients/client-pinpoint/test/index-types.ts @@ -847,5 +847,13 @@ export type { WriteJourneyRequest, WriteSegmentRequest, WriteTreatmentResource, + BadRequestException, + ConflictException, + ForbiddenException, + InternalServerErrorException, + MethodNotAllowedException, + NotFoundException, + PayloadTooLargeException, + TooManyRequestsException, PinpointServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-pipes/test/index-objects.spec.mjs b/clients/client-pipes/test/index-objects.spec.mjs index 05f990415b72..b85ada1aaf7f 100644 --- a/clients/client-pipes/test/index-objects.spec.mjs +++ b/clients/client-pipes/test/index-objects.spec.mjs @@ -2,6 +2,7 @@ import { AssignPublicIp, BatchJobDependencyType, BatchResourceRequirementType, + ConflictException, CreatePipeCommand, DeletePipeCommand, DescribePipeCommand, @@ -11,6 +12,7 @@ import { EcsResourceRequirementType, EpochTimeUnit, IncludeExecutionDataOption, + InternalException, KinesisStreamStartPosition, LaunchType, ListPipesCommand, @@ -18,6 +20,7 @@ import { LogLevel, MSKStartPosition, MeasureValueType, + NotFoundException, OnPartialBatchItemFailureStreams, PipeState, PipeTargetInvocationType, @@ -31,12 +34,15 @@ import { RequestedPipeStateDescribeResponse, S3OutputFormat, SelfManagedKafkaStartPosition, + ServiceQuotaExceededException, StartPipeCommand, StopPipeCommand, TagResourceCommand, + ThrottlingException, TimeFieldType, UntagResourceCommand, UpdatePipeCommand, + ValidationException, paginateListPipes, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -81,6 +87,12 @@ assert(typeof S3OutputFormat === "object"); assert(typeof SelfManagedKafkaStartPosition === "object"); assert(typeof TimeFieldType === "object"); // errors +assert(ConflictException.prototype instanceof PipesServiceException); +assert(InternalException.prototype instanceof PipesServiceException); +assert(NotFoundException.prototype instanceof PipesServiceException); +assert(ServiceQuotaExceededException.prototype instanceof PipesServiceException); +assert(ThrottlingException.prototype instanceof PipesServiceException); +assert(ValidationException.prototype instanceof PipesServiceException); assert(PipesServiceException.prototype instanceof Error); // paginators assert(typeof paginateListPipes === "function"); diff --git a/clients/client-pipes/test/index-types.ts b/clients/client-pipes/test/index-types.ts index 6d1491b70257..8df701b84ea8 100644 --- a/clients/client-pipes/test/index-types.ts +++ b/clients/client-pipes/test/index-types.ts @@ -148,6 +148,13 @@ export type { UpdatePipeSourceRabbitMQBrokerParameters, UpdatePipeSourceSelfManagedKafkaParameters, UpdatePipeSourceSqsQueueParameters, + ValidationExceptionField, + ConflictException, + InternalException, + NotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, PipesServiceException, paginateListPipes, } from "../dist-types/index.d"; diff --git a/clients/client-polly/src/schemas/schemas_0.ts b/clients/client-polly/src/schemas/schemas_0.ts index 2562cfff3830..9952b06225c1 100644 --- a/clients/client-polly/src/schemas/schemas_0.ts +++ b/clients/client-polly/src/schemas/schemas_0.ts @@ -328,7 +328,6 @@ export var Voice: StaticStructureSchema = [ [_G, _I, _LCa, _LNa, _N, _ALC, _SE], [0, 0, 0, 0, 0, 64 | 0, 64 | 0], ]; -export var __Unit = "unit" as const; export var PollyServiceException: StaticErrorSchema = [-3, _sm, "PollyServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(PollyServiceException, __PollyServiceException); export var EngineList = 64 | 0; diff --git a/clients/client-polly/test/index-objects.spec.mjs b/clients/client-polly/test/index-objects.spec.mjs index 781dadd59064..e1ab7c75704f 100644 --- a/clients/client-polly/test/index-objects.spec.mjs +++ b/clients/client-polly/test/index-objects.spec.mjs @@ -2,22 +2,43 @@ import { DeleteLexiconCommand, DescribeVoicesCommand, Engine, + EngineNotSupportedException, Gender, GetLexiconCommand, GetSpeechSynthesisTaskCommand, + InvalidLexiconException, + InvalidNextTokenException, + InvalidS3BucketException, + InvalidS3KeyException, + InvalidSampleRateException, + InvalidSnsTopicArnException, + InvalidSsmlException, + InvalidTaskIdException, LanguageCode, + LanguageNotSupportedException, + LexiconNotFoundException, + LexiconSizeExceededException, ListLexiconsCommand, ListSpeechSynthesisTasksCommand, + MarksNotSupportedForFormatException, + MaxLexemeLengthExceededException, + MaxLexiconsNumberExceededException, OutputFormat, Polly, PollyClient, PollyServiceException, PutLexiconCommand, + ServiceFailureException, SpeechMarkType, + SsmlMarksNotSupportedForTextTypeException, StartSpeechSynthesisTaskCommand, + SynthesisTaskNotFoundException, SynthesizeSpeechCommand, TaskStatus, + TextLengthExceededException, TextType, + UnsupportedPlsAlphabetException, + UnsupportedPlsLanguageException, VoiceId, paginateListSpeechSynthesisTasks, } from "../dist-cjs/index.js"; @@ -45,6 +66,27 @@ assert(typeof TaskStatus === "object"); assert(typeof TextType === "object"); assert(typeof VoiceId === "object"); // errors +assert(EngineNotSupportedException.prototype instanceof PollyServiceException); +assert(InvalidLexiconException.prototype instanceof PollyServiceException); +assert(InvalidNextTokenException.prototype instanceof PollyServiceException); +assert(InvalidS3BucketException.prototype instanceof PollyServiceException); +assert(InvalidS3KeyException.prototype instanceof PollyServiceException); +assert(InvalidSampleRateException.prototype instanceof PollyServiceException); +assert(InvalidSnsTopicArnException.prototype instanceof PollyServiceException); +assert(InvalidSsmlException.prototype instanceof PollyServiceException); +assert(InvalidTaskIdException.prototype instanceof PollyServiceException); +assert(LanguageNotSupportedException.prototype instanceof PollyServiceException); +assert(LexiconNotFoundException.prototype instanceof PollyServiceException); +assert(LexiconSizeExceededException.prototype instanceof PollyServiceException); +assert(MarksNotSupportedForFormatException.prototype instanceof PollyServiceException); +assert(MaxLexemeLengthExceededException.prototype instanceof PollyServiceException); +assert(MaxLexiconsNumberExceededException.prototype instanceof PollyServiceException); +assert(ServiceFailureException.prototype instanceof PollyServiceException); +assert(SsmlMarksNotSupportedForTextTypeException.prototype instanceof PollyServiceException); +assert(SynthesisTaskNotFoundException.prototype instanceof PollyServiceException); +assert(TextLengthExceededException.prototype instanceof PollyServiceException); +assert(UnsupportedPlsAlphabetException.prototype instanceof PollyServiceException); +assert(UnsupportedPlsLanguageException.prototype instanceof PollyServiceException); assert(PollyServiceException.prototype instanceof Error); // paginators assert(typeof paginateListSpeechSynthesisTasks === "function"); diff --git a/clients/client-polly/test/index-types.ts b/clients/client-polly/test/index-types.ts index 3ea5da8050d0..38c330944234 100644 --- a/clients/client-polly/test/index-types.ts +++ b/clients/client-polly/test/index-types.ts @@ -60,6 +60,27 @@ export type { SynthesizeSpeechInput, SynthesizeSpeechOutput, Voice, + EngineNotSupportedException, + InvalidLexiconException, + InvalidNextTokenException, + InvalidS3BucketException, + InvalidS3KeyException, + InvalidSampleRateException, + InvalidSnsTopicArnException, + InvalidSsmlException, + InvalidTaskIdException, + LanguageNotSupportedException, + LexiconNotFoundException, + LexiconSizeExceededException, + MarksNotSupportedForFormatException, + MaxLexemeLengthExceededException, + MaxLexiconsNumberExceededException, + ServiceFailureException, + SsmlMarksNotSupportedForTextTypeException, + SynthesisTaskNotFoundException, + TextLengthExceededException, + UnsupportedPlsAlphabetException, + UnsupportedPlsLanguageException, PollyServiceException, paginateListSpeechSynthesisTasks, } from "../dist-types/index.d"; diff --git a/clients/client-pricing/src/schemas/schemas_0.ts b/clients/client-pricing/src/schemas/schemas_0.ts index 1a02ced848fa..432cac69c855 100644 --- a/clients/client-pricing/src/schemas/schemas_0.ts +++ b/clients/client-pricing/src/schemas/schemas_0.ts @@ -148,7 +148,6 @@ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFound export var Service: StaticStructureSchema = [3, n0, _Se, 0, [_SC, _ANt], [0, 64 | 0]]; export var ThrottlingException: StaticErrorSchema = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException); -export var __Unit = "unit" as const; export var PricingServiceException: StaticErrorSchema = [-3, _sm, "PricingServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(PricingServiceException, __PricingServiceException); export var AttributeNameList = 64 | 0; diff --git a/clients/client-pricing/test/index-objects.spec.mjs b/clients/client-pricing/test/index-objects.spec.mjs index 1416075df10f..456983d9b2bb 100644 --- a/clients/client-pricing/test/index-objects.spec.mjs +++ b/clients/client-pricing/test/index-objects.spec.mjs @@ -1,13 +1,21 @@ import { + AccessDeniedException, DescribeServicesCommand, + ExpiredNextTokenException, FilterType, GetAttributeValuesCommand, GetPriceListFileUrlCommand, GetProductsCommand, + InternalErrorException, + InvalidNextTokenException, + InvalidParameterException, ListPriceListsCommand, + NotFoundException, Pricing, PricingClient, PricingServiceException, + ResourceNotFoundException, + ThrottlingException, paginateDescribeServices, paginateGetAttributeValues, paginateGetProducts, @@ -26,6 +34,14 @@ assert(typeof ListPriceListsCommand === "function"); // enums assert(typeof FilterType === "object"); // errors +assert(AccessDeniedException.prototype instanceof PricingServiceException); +assert(ExpiredNextTokenException.prototype instanceof PricingServiceException); +assert(InternalErrorException.prototype instanceof PricingServiceException); +assert(InvalidNextTokenException.prototype instanceof PricingServiceException); +assert(InvalidParameterException.prototype instanceof PricingServiceException); +assert(NotFoundException.prototype instanceof PricingServiceException); +assert(ResourceNotFoundException.prototype instanceof PricingServiceException); +assert(ThrottlingException.prototype instanceof PricingServiceException); assert(PricingServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeServices === "function"); diff --git a/clients/client-pricing/test/index-types.ts b/clients/client-pricing/test/index-types.ts index 0d188d7a031f..26dfe17440bb 100644 --- a/clients/client-pricing/test/index-types.ts +++ b/clients/client-pricing/test/index-types.ts @@ -32,6 +32,14 @@ export type { ListPriceListsResponse, PriceList, Service, + AccessDeniedException, + ExpiredNextTokenException, + InternalErrorException, + InvalidNextTokenException, + InvalidParameterException, + NotFoundException, + ResourceNotFoundException, + ThrottlingException, PricingServiceException, paginateDescribeServices, paginateGetAttributeValues, diff --git a/clients/client-proton/test/index-objects.spec.mjs b/clients/client-proton/test/index-objects.spec.mjs index 122f9791a164..aa545563b952 100644 --- a/clients/client-proton/test/index-objects.spec.mjs +++ b/clients/client-proton/test/index-objects.spec.mjs @@ -1,5 +1,6 @@ import { AcceptEnvironmentAccountConnectionCommand, + AccessDeniedException, BlockerStatus, BlockerType, CancelComponentDeploymentCommand, @@ -7,6 +8,7 @@ import { CancelServiceInstanceDeploymentCommand, CancelServicePipelineDeploymentCommand, ComponentDeploymentUpdateType, + ConflictException, CreateComponentCommand, CreateEnvironmentAccountConnectionCommand, CreateEnvironmentCommand, @@ -55,6 +57,7 @@ import { GetServiceTemplateVersionCommand, GetTemplateSyncConfigCommand, GetTemplateSyncStatusCommand, + InternalServerException, ListComponentOutputsCommand, ListComponentProvisionedResourcesCommand, ListComponentsCommand, @@ -88,7 +91,9 @@ import { RepositoryProvider, RepositorySyncStatus, ResourceDeploymentStatus, + ResourceNotFoundException, ResourceSyncStatus, + ServiceQuotaExceededException, ServiceStatus, ServiceTemplateSupportedComponentSourceType, SortOrder, @@ -96,6 +101,7 @@ import { TagResourceCommand, TemplateType, TemplateVersionStatus, + ThrottlingException, UntagResourceCommand, UpdateAccountSettingsCommand, UpdateComponentCommand, @@ -111,6 +117,7 @@ import { UpdateServiceTemplateCommand, UpdateServiceTemplateVersionCommand, UpdateTemplateSyncConfigCommand, + ValidationException, paginateListComponentOutputs, paginateListComponentProvisionedResources, paginateListComponents, @@ -269,6 +276,13 @@ assert(typeof SyncType === "object"); assert(typeof TemplateType === "object"); assert(typeof TemplateVersionStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof ProtonServiceException); +assert(ConflictException.prototype instanceof ProtonServiceException); +assert(InternalServerException.prototype instanceof ProtonServiceException); +assert(ResourceNotFoundException.prototype instanceof ProtonServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ProtonServiceException); +assert(ThrottlingException.prototype instanceof ProtonServiceException); +assert(ValidationException.prototype instanceof ProtonServiceException); assert(ProtonServiceException.prototype instanceof Error); // waiters assert(typeof waitForComponentDeleted === "function"); diff --git a/clients/client-proton/test/index-types.ts b/clients/client-proton/test/index-types.ts index 9f2b7cb6bb0c..673b4a4d8bc2 100644 --- a/clients/client-proton/test/index-types.ts +++ b/clients/client-proton/test/index-types.ts @@ -512,6 +512,13 @@ export type { UpdateServiceTemplateVersionOutput, UpdateTemplateSyncConfigInput, UpdateTemplateSyncConfigOutput, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ProtonServiceException, waitForComponentDeleted, waitForComponentDeployed, diff --git a/clients/client-qapps/test/index-objects.spec.mjs b/clients/client-qapps/test/index-objects.spec.mjs index 0e4c4c71a01f..217f06753786 100644 --- a/clients/client-qapps/test/index-objects.spec.mjs +++ b/clients/client-qapps/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, Action, AppRequiredCapability, AppStatus, @@ -9,6 +10,8 @@ import { BatchUpdateCategoryCommand, CardOutputSource, CardType, + ConflictException, + ContentTooLargeException, CreateLibraryItemCommand, CreatePresignedUrlCommand, CreateQAppCommand, @@ -26,6 +29,7 @@ import { GetQAppSessionMetadataCommand, ImportDocumentCommand, InputCardComputeMode, + InternalServerException, LibraryItemStatus, ListCategoriesCommand, ListLibraryItemsCommand, @@ -37,11 +41,15 @@ import { QApps, QAppsClient, QAppsServiceException, + ResourceNotFoundException, Sender, + ServiceQuotaExceededException, StartQAppSessionCommand, StopQAppSessionCommand, SubmissionMutationKind, TagResourceCommand, + ThrottlingException, + UnauthorizedException, UntagResourceCommand, UpdateLibraryItemCommand, UpdateLibraryItemMetadataCommand, @@ -50,6 +58,7 @@ import { UpdateQAppSessionCommand, UpdateQAppSessionMetadataCommand, UserType, + ValidationException, paginateListLibraryItems, paginateListQApps, } from "../dist-cjs/index.js"; @@ -108,6 +117,15 @@ assert(typeof Sender === "object"); assert(typeof SubmissionMutationKind === "object"); assert(typeof UserType === "object"); // errors +assert(AccessDeniedException.prototype instanceof QAppsServiceException); +assert(ConflictException.prototype instanceof QAppsServiceException); +assert(ContentTooLargeException.prototype instanceof QAppsServiceException); +assert(InternalServerException.prototype instanceof QAppsServiceException); +assert(ResourceNotFoundException.prototype instanceof QAppsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof QAppsServiceException); +assert(ThrottlingException.prototype instanceof QAppsServiceException); +assert(UnauthorizedException.prototype instanceof QAppsServiceException); +assert(ValidationException.prototype instanceof QAppsServiceException); assert(QAppsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListLibraryItems === "function"); diff --git a/clients/client-qapps/test/index-types.ts b/clients/client-qapps/test/index-types.ts index 2b6968a0aa67..ab9666f9ca96 100644 --- a/clients/client-qapps/test/index-types.ts +++ b/clients/client-qapps/test/index-types.ts @@ -215,6 +215,15 @@ export type { UpdateQAppSessionOutput, User, UserAppItem, + AccessDeniedException, + ConflictException, + ContentTooLargeException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UnauthorizedException, + ValidationException, QAppsServiceException, paginateListLibraryItems, paginateListQApps, diff --git a/clients/client-qbusiness/test/index-objects.spec.mjs b/clients/client-qbusiness/test/index-objects.spec.mjs index b88dfed9edf8..500071eda63b 100644 --- a/clients/client-qbusiness/test/index-objects.spec.mjs +++ b/clients/client-qbusiness/test/index-objects.spec.mjs @@ -1,5 +1,6 @@ import { APISchemaType, + AccessDeniedException, ActionPayloadFieldType, ApplicationStatus, AssociatePermissionCommand, @@ -19,6 +20,7 @@ import { ChatResponseConfigurationStatus, ChatSyncCommand, CheckDocumentAccessCommand, + ConflictException, ContentType, CreateAnonymousWebExperienceUrlCommand, CreateApplicationCommand, @@ -54,6 +56,7 @@ import { DocumentEnrichmentConditionOperator, DocumentStatus, ErrorCode, + ExternalResourceException, GetApplicationCommand, GetChatControlsConfigurationCommand, GetChatResponseConfigurationCommand, @@ -74,6 +77,8 @@ import { ImageExtractionStatus, IndexStatus, IndexType, + InternalServerException, + LicenseNotFoundException, ListApplicationsCommand, ListAttachmentsCommand, ListChatResponseConfigurationsCommand, @@ -93,6 +98,7 @@ import { ListSubscriptionsCommand, ListTagsForResourceCommand, ListWebExperiencesCommand, + MediaTooLargeException, MemberRelation, MembershipType, MessageType, @@ -114,6 +120,7 @@ import { QBusinessClient, QBusinessServiceException, ReadAccessType, + ResourceNotFoundException, ResponseConfigurationType, ResponseScope, RetrieverStatus, @@ -121,6 +128,7 @@ import { RuleType, ScoreConfidence, SearchRelevantContentCommand, + ServiceQuotaExceededException, StartDataSourceSyncJobCommand, Status, StopDataSourceSyncJobCommand, @@ -128,6 +136,7 @@ import { SubscriptionType, SystemMessageType, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateApplicationCommand, UpdateChatControlsConfigurationCommand, @@ -140,6 +149,8 @@ import { UpdateSubscriptionCommand, UpdateUserCommand, UpdateWebExperienceCommand, + ValidationException, + ValidationExceptionReason, VideoExtractionStatus, VideoExtractionType, WebExperienceSamplePromptsControlMode, @@ -309,11 +320,22 @@ assert(typeof Status === "object"); assert(typeof StringAttributeValueBoostingLevel === "object"); assert(typeof SubscriptionType === "object"); assert(typeof SystemMessageType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VideoExtractionStatus === "object"); assert(typeof VideoExtractionType === "object"); assert(typeof WebExperienceSamplePromptsControlMode === "object"); assert(typeof WebExperienceStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof QBusinessServiceException); +assert(ConflictException.prototype instanceof QBusinessServiceException); +assert(ExternalResourceException.prototype instanceof QBusinessServiceException); +assert(InternalServerException.prototype instanceof QBusinessServiceException); +assert(LicenseNotFoundException.prototype instanceof QBusinessServiceException); +assert(MediaTooLargeException.prototype instanceof QBusinessServiceException); +assert(ResourceNotFoundException.prototype instanceof QBusinessServiceException); +assert(ServiceQuotaExceededException.prototype instanceof QBusinessServiceException); +assert(ThrottlingException.prototype instanceof QBusinessServiceException); +assert(ValidationException.prototype instanceof QBusinessServiceException); assert(QBusinessServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetChatControlsConfiguration === "function"); diff --git a/clients/client-qbusiness/test/index-types.ts b/clients/client-qbusiness/test/index-types.ts index 96880754e36d..14484f1fa527 100644 --- a/clients/client-qbusiness/test/index-types.ts +++ b/clients/client-qbusiness/test/index-types.ts @@ -306,6 +306,7 @@ export type { StringAttributeValueBoostingLevel, SubscriptionType, SystemMessageType, + ValidationExceptionReason, VideoExtractionStatus, VideoExtractionType, WebExperienceSamplePromptsControlMode, @@ -622,10 +623,21 @@ export type { UpdateWebExperienceResponse, UserAlias, UsersAndGroups, + ValidationExceptionField, VideoExtractionConfiguration, VideoSourceDetails, WebExperience, WebExperienceAuthConfiguration, + AccessDeniedException, + ConflictException, + ExternalResourceException, + InternalServerException, + LicenseNotFoundException, + MediaTooLargeException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, QBusinessServiceException, paginateGetChatControlsConfiguration, paginateListApplications, diff --git a/clients/client-qconnect/test/index-objects.spec.mjs b/clients/client-qconnect/test/index-objects.spec.mjs index a75d3ee13ed1..6005b503b50b 100644 --- a/clients/client-qconnect/test/index-objects.spec.mjs +++ b/clients/client-qconnect/test/index-objects.spec.mjs @@ -4,6 +4,7 @@ import { AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, + AccessDeniedException, ActivateMessageTemplateCommand, AssistantCapabilityType, AssistantStatus, @@ -11,6 +12,7 @@ import { AssociationType, ChannelSubtype, ChunkingStrategy, + ConflictException, ContentAssociationType, ContentDisposition, ContentStatus, @@ -48,6 +50,7 @@ import { DeleteMessageTemplateAttachmentCommand, DeleteMessageTemplateCommand, DeleteQuickResponseCommand, + DependencyFailedException, ExternalSource, FilterField, FilterOperator, @@ -106,6 +109,7 @@ import { Origin, ParsingStrategy, Participant, + PreconditionFailedException, Priority, PushMessageAction, PutFeedbackCommand, @@ -128,12 +132,15 @@ import { RemoveAssistantAIAgentCommand, RemoveKnowledgeBaseTemplateUriCommand, RenderMessageTemplateCommand, + RequestTimeoutException, + ResourceNotFoundException, RetrieveCommand, SearchContentCommand, SearchMessageTemplatesCommand, SearchQuickResponsesCommand, SearchSessionsCommand, SendMessageCommand, + ServiceQuotaExceededException, SessionDataNamespace, SourceContentType, SpanStatus, @@ -144,8 +151,12 @@ import { SyncStatus, TagResourceCommand, TargetType, + ThrottlingException, + TooManyTagsException, ToolOverrideInputValueType, ToolType, + UnauthorizedException, + UnprocessableContentException, UntagResourceCommand, UpdateAIAgentCommand, UpdateAIGuardrailCommand, @@ -158,6 +169,7 @@ import { UpdateQuickResponseCommand, UpdateSessionCommand, UpdateSessionDataCommand, + ValidationException, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus, @@ -350,6 +362,18 @@ assert(typeof VisibilityStatus === "object"); assert(typeof WebScopeType === "object"); assert(typeof WhatsAppSourceConfigurationStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof QConnectServiceException); +assert(ConflictException.prototype instanceof QConnectServiceException); +assert(DependencyFailedException.prototype instanceof QConnectServiceException); +assert(PreconditionFailedException.prototype instanceof QConnectServiceException); +assert(RequestTimeoutException.prototype instanceof QConnectServiceException); +assert(ResourceNotFoundException.prototype instanceof QConnectServiceException); +assert(ServiceQuotaExceededException.prototype instanceof QConnectServiceException); +assert(ThrottlingException.prototype instanceof QConnectServiceException); +assert(TooManyTagsException.prototype instanceof QConnectServiceException); +assert(UnauthorizedException.prototype instanceof QConnectServiceException); +assert(UnprocessableContentException.prototype instanceof QConnectServiceException); +assert(ValidationException.prototype instanceof QConnectServiceException); assert(QConnectServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAIAgentVersions === "function"); diff --git a/clients/client-qconnect/test/index-types.ts b/clients/client-qconnect/test/index-types.ts index ed69886e13c3..6726f3959e91 100644 --- a/clients/client-qconnect/test/index-types.ts +++ b/clients/client-qconnect/test/index-types.ts @@ -738,6 +738,18 @@ export type { WhatsAppMessageTemplateContent, WhatsAppMessageTemplateSourceConfiguration, WhatsAppMessageTemplateSourceConfigurationSummary, + AccessDeniedException, + ConflictException, + DependencyFailedException, + PreconditionFailedException, + RequestTimeoutException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + TooManyTagsException, + UnauthorizedException, + UnprocessableContentException, + ValidationException, QConnectServiceException, paginateListAIAgentVersions, paginateListAIAgents, diff --git a/clients/client-quicksight/src/schemas/schemas_0.ts b/clients/client-quicksight/src/schemas/schemas_0.ts index d45ff4b54d24..8e34ced8f90e 100644 --- a/clients/client-quicksight/src/schemas/schemas_0.ts +++ b/clients/client-quicksight/src/schemas/schemas_0.ts @@ -14092,7 +14092,6 @@ export var WordCloudVisual: StaticStructureSchema = [ ], ]; export var YAxisOptions: StaticStructureSchema = [3, n0, _YAO, 0, [_YA], [0]]; -export var __Unit = "unit" as const; export var QuickSightServiceException: StaticErrorSchema = [-3, _sm, "QuickSightServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(QuickSightServiceException, __QuickSightServiceException); export var ActionConnectorSearchFilterList: StaticListSchema = [1, n0, _ACSFL, 0, () => ActionConnectorSearchFilter]; diff --git a/clients/client-quicksight/test/index-objects.spec.mjs b/clients/client-quicksight/test/index-objects.spec.mjs index dab2130fc749..4ed7535639a1 100644 --- a/clients/client-quicksight/test/index-objects.spec.mjs +++ b/clients/client-quicksight/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ActionConnectorErrorType, ActionConnectorSearchFilterNameEnum, ActionConnectorType, @@ -55,8 +56,10 @@ import { CommitMode, ComparisonMethod, ComparisonMethodType, + ConcurrentUpdatingException, ConditionalFormattingIconDisplayOption, ConditionalFormattingIconSetType, + ConflictException, ConnectionAuthType, ConstantType, ContributionAnalysisDirection, @@ -89,6 +92,7 @@ import { CrossDatasetTypes, CustomContentImageScalingConfiguration, CustomContentType, + CustomerManagedKeyUnavailableException, DashboardBehavior, DashboardErrorType, DashboardFilterAttribute, @@ -202,8 +206,10 @@ import { DescribeVPCConnectionCommand, DigitGroupingStyle, DisplayFormat, + DomainNotWhitelistedException, Edition, EmbeddingIdentityType, + ExceptionResourceType, FieldName, FileFormat, FilterClass, @@ -239,6 +245,7 @@ import { Icon, IdentityStore, IdentityType, + IdentityTypeNotSupportedException, ImageCustomActionTrigger, IncludeFolderMembers, IncludeGeneratedAnswer, @@ -249,6 +256,12 @@ import { IngestionStatus, IngestionType, InputColumnDataType, + InternalFailureException, + InternalServerException, + InvalidDataSetParameterValueException, + InvalidNextTokenException, + InvalidParameterValueException, + InvalidRequestException, JoinOperationType, JoinType, KPISparklineType, @@ -256,6 +269,7 @@ import { LayerCustomActionTrigger, LayoutElementType, LegendPosition, + LimitExceededException, LineChartLineStyle, LineChartMarkerShape, LineChartType, @@ -327,6 +341,7 @@ import { PivotTableRowsLayout, PivotTableSubtotalLevel, PluginVisualAxisName, + PreconditionNotMetException, PredictQAResultsCommand, PrimaryValueDisplayType, PropertyRole, @@ -341,6 +356,7 @@ import { QuickSight, QuickSightClient, QuickSightServiceException, + QuickSightUserNotFoundException, RadarChartAxesRangeScale, RadarChartShape, ReferenceLineLabelHorizontalPosition, @@ -354,7 +370,10 @@ import { RelativeDateType, RelativeFontSize, ResizeOption, + ResourceExistsException, + ResourceNotFoundException, ResourceStatus, + ResourceUnavailableException, RestoreAnalysisCommand, ReviewedAnswerErrorCode, Role, @@ -375,6 +394,7 @@ import { SelectedFieldOptions, SelectedTooltipType, ServiceType, + SessionLifetimeInMinutesInvalidException, SharingModel, SheetContentType, SheetControlDateTimePickerType, @@ -413,6 +433,7 @@ import { TextWrap, ThemeErrorType, ThemeType, + ThrottlingException, TimeGranularity, TooltipTarget, TooltipTitleType, @@ -432,6 +453,8 @@ import { TransposedColumnType, URLTargetConfiguration, UndefinedSpecifiedValueType, + UnsupportedPricingPlanException, + UnsupportedUserEditionException, UntagResourceCommand, UpdateAccountCustomPermissionCommand, UpdateAccountCustomizationCommand, @@ -861,6 +884,7 @@ assert(typeof DigitGroupingStyle === "object"); assert(typeof DisplayFormat === "object"); assert(typeof Edition === "object"); assert(typeof EmbeddingIdentityType === "object"); +assert(typeof ExceptionResourceType === "object"); assert(typeof FieldName === "object"); assert(typeof FileFormat === "object"); assert(typeof FilterClass === "object"); @@ -1043,6 +1067,28 @@ assert(typeof WordCloudWordOrientation === "object"); assert(typeof WordCloudWordPadding === "object"); assert(typeof WordCloudWordScaling === "object"); // errors +assert(AccessDeniedException.prototype instanceof QuickSightServiceException); +assert(ConcurrentUpdatingException.prototype instanceof QuickSightServiceException); +assert(ConflictException.prototype instanceof QuickSightServiceException); +assert(CustomerManagedKeyUnavailableException.prototype instanceof QuickSightServiceException); +assert(DomainNotWhitelistedException.prototype instanceof QuickSightServiceException); +assert(IdentityTypeNotSupportedException.prototype instanceof QuickSightServiceException); +assert(InternalFailureException.prototype instanceof QuickSightServiceException); +assert(InternalServerException.prototype instanceof QuickSightServiceException); +assert(InvalidDataSetParameterValueException.prototype instanceof QuickSightServiceException); +assert(InvalidNextTokenException.prototype instanceof QuickSightServiceException); +assert(InvalidParameterValueException.prototype instanceof QuickSightServiceException); +assert(InvalidRequestException.prototype instanceof QuickSightServiceException); +assert(LimitExceededException.prototype instanceof QuickSightServiceException); +assert(PreconditionNotMetException.prototype instanceof QuickSightServiceException); +assert(QuickSightUserNotFoundException.prototype instanceof QuickSightServiceException); +assert(ResourceExistsException.prototype instanceof QuickSightServiceException); +assert(ResourceNotFoundException.prototype instanceof QuickSightServiceException); +assert(ResourceUnavailableException.prototype instanceof QuickSightServiceException); +assert(SessionLifetimeInMinutesInvalidException.prototype instanceof QuickSightServiceException); +assert(ThrottlingException.prototype instanceof QuickSightServiceException); +assert(UnsupportedPricingPlanException.prototype instanceof QuickSightServiceException); +assert(UnsupportedUserEditionException.prototype instanceof QuickSightServiceException); assert(QuickSightServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeFolderPermissions === "function"); diff --git a/clients/client-quicksight/test/index-types.ts b/clients/client-quicksight/test/index-types.ts index b86900ff3c77..cb7b018e7c1f 100644 --- a/clients/client-quicksight/test/index-types.ts +++ b/clients/client-quicksight/test/index-types.ts @@ -767,6 +767,7 @@ export type { DisplayFormat, Edition, EmbeddingIdentityType, + ExceptionResourceType, FieldName, FileFormat, FilterClass, @@ -2412,6 +2413,28 @@ export type { WordCloudSortConfiguration, WordCloudVisual, YAxisOptions, + AccessDeniedException, + ConcurrentUpdatingException, + ConflictException, + CustomerManagedKeyUnavailableException, + DomainNotWhitelistedException, + IdentityTypeNotSupportedException, + InternalFailureException, + InternalServerException, + InvalidDataSetParameterValueException, + InvalidNextTokenException, + InvalidParameterValueException, + InvalidRequestException, + LimitExceededException, + PreconditionNotMetException, + QuickSightUserNotFoundException, + ResourceExistsException, + ResourceNotFoundException, + ResourceUnavailableException, + SessionLifetimeInMinutesInvalidException, + ThrottlingException, + UnsupportedPricingPlanException, + UnsupportedUserEditionException, QuickSightServiceException, paginateDescribeFolderPermissions, paginateDescribeFolderResolvedPermissions, diff --git a/clients/client-ram/src/schemas/schemas_0.ts b/clients/client-ram/src/schemas/schemas_0.ts index 03e45d729d25..aa3b4ff5d312 100644 --- a/clients/client-ram/src/schemas/schemas_0.ts +++ b/clients/client-ram/src/schemas/schemas_0.ts @@ -1052,7 +1052,6 @@ export var UpdateResourceShareResponse: StaticStructureSchema = [ [_rS, _cT], [() => ResourceShare, 0], ]; -export var __Unit = "unit" as const; export var RAMServiceException: StaticErrorSchema = [-3, _sm, "RAMServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(RAMServiceException, __RAMServiceException); export var AssociatedPermissionList: StaticListSchema = [1, n0, _APL, 0, [() => AssociatedPermission, { [_xN]: _it }]]; diff --git a/clients/client-ram/test/index-objects.spec.mjs b/clients/client-ram/test/index-objects.spec.mjs index 5612cb1c29bc..77787b8a8dd0 100644 --- a/clients/client-ram/test/index-objects.spec.mjs +++ b/clients/client-ram/test/index-objects.spec.mjs @@ -16,6 +16,14 @@ import { GetResourceShareAssociationsCommand, GetResourceShareInvitationsCommand, GetResourceSharesCommand, + IdempotentParameterMismatchException, + InvalidClientTokenException, + InvalidMaxResultsException, + InvalidNextTokenException, + InvalidParameterException, + InvalidPolicyException, + InvalidResourceTypeException, + InvalidStateTransitionException, ListPendingInvitationResourcesCommand, ListPermissionAssociationsCommand, ListPermissionVersionsCommand, @@ -25,10 +33,17 @@ import { ListResourceSharePermissionsCommand, ListResourceTypesCommand, ListResourcesCommand, + MalformedArnException, + MalformedPolicyTemplateException, + MissingRequiredParameterException, + OperationNotPermittedException, + PermissionAlreadyExistsException, PermissionFeatureSet, + PermissionLimitExceededException, PermissionStatus, PermissionType, PermissionTypeFilter, + PermissionVersionsLimitExceededException, PromotePermissionCreatedFromPolicyCommand, PromoteResourceShareCreatedFromPolicyCommand, RAM, @@ -37,17 +52,30 @@ import { RejectResourceShareInvitationCommand, ReplacePermissionAssociationsCommand, ReplacePermissionAssociationsWorkStatus, + ResourceArnNotFoundException, ResourceOwner, ResourceRegionScope, ResourceRegionScopeFilter, ResourceShareAssociationStatus, ResourceShareAssociationType, ResourceShareFeatureSet, + ResourceShareInvitationAlreadyAcceptedException, + ResourceShareInvitationAlreadyRejectedException, + ResourceShareInvitationArnNotFoundException, + ResourceShareInvitationExpiredException, ResourceShareInvitationStatus, + ResourceShareLimitExceededException, ResourceShareStatus, ResourceStatus, + ServerInternalException, + ServiceUnavailableException, SetDefaultPermissionVersionCommand, + TagLimitExceededException, + TagPolicyViolationException, TagResourceCommand, + ThrottlingException, + UnknownResourceException, + UnmatchedPolicyPermissionException, UntagResourceCommand, UpdateResourceShareCommand, paginateGetResourcePolicies, @@ -119,6 +147,34 @@ assert(typeof ResourceShareInvitationStatus === "object"); assert(typeof ResourceShareStatus === "object"); assert(typeof ResourceStatus === "object"); // errors +assert(IdempotentParameterMismatchException.prototype instanceof RAMServiceException); +assert(InvalidClientTokenException.prototype instanceof RAMServiceException); +assert(InvalidMaxResultsException.prototype instanceof RAMServiceException); +assert(InvalidNextTokenException.prototype instanceof RAMServiceException); +assert(InvalidParameterException.prototype instanceof RAMServiceException); +assert(InvalidPolicyException.prototype instanceof RAMServiceException); +assert(InvalidResourceTypeException.prototype instanceof RAMServiceException); +assert(InvalidStateTransitionException.prototype instanceof RAMServiceException); +assert(MalformedArnException.prototype instanceof RAMServiceException); +assert(MalformedPolicyTemplateException.prototype instanceof RAMServiceException); +assert(MissingRequiredParameterException.prototype instanceof RAMServiceException); +assert(OperationNotPermittedException.prototype instanceof RAMServiceException); +assert(PermissionAlreadyExistsException.prototype instanceof RAMServiceException); +assert(PermissionLimitExceededException.prototype instanceof RAMServiceException); +assert(PermissionVersionsLimitExceededException.prototype instanceof RAMServiceException); +assert(ResourceArnNotFoundException.prototype instanceof RAMServiceException); +assert(ResourceShareInvitationAlreadyAcceptedException.prototype instanceof RAMServiceException); +assert(ResourceShareInvitationAlreadyRejectedException.prototype instanceof RAMServiceException); +assert(ResourceShareInvitationArnNotFoundException.prototype instanceof RAMServiceException); +assert(ResourceShareInvitationExpiredException.prototype instanceof RAMServiceException); +assert(ResourceShareLimitExceededException.prototype instanceof RAMServiceException); +assert(ServerInternalException.prototype instanceof RAMServiceException); +assert(ServiceUnavailableException.prototype instanceof RAMServiceException); +assert(TagLimitExceededException.prototype instanceof RAMServiceException); +assert(TagPolicyViolationException.prototype instanceof RAMServiceException); +assert(ThrottlingException.prototype instanceof RAMServiceException); +assert(UnknownResourceException.prototype instanceof RAMServiceException); +assert(UnmatchedPolicyPermissionException.prototype instanceof RAMServiceException); assert(RAMServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetResourcePolicies === "function"); diff --git a/clients/client-ram/test/index-types.ts b/clients/client-ram/test/index-types.ts index 8fba44611aab..ddef52b3993b 100644 --- a/clients/client-ram/test/index-types.ts +++ b/clients/client-ram/test/index-types.ts @@ -198,6 +198,34 @@ export type { UntagResourceResponse, UpdateResourceShareRequest, UpdateResourceShareResponse, + IdempotentParameterMismatchException, + InvalidClientTokenException, + InvalidMaxResultsException, + InvalidNextTokenException, + InvalidParameterException, + InvalidPolicyException, + InvalidResourceTypeException, + InvalidStateTransitionException, + MalformedArnException, + MalformedPolicyTemplateException, + MissingRequiredParameterException, + OperationNotPermittedException, + PermissionAlreadyExistsException, + PermissionLimitExceededException, + PermissionVersionsLimitExceededException, + ResourceArnNotFoundException, + ResourceShareInvitationAlreadyAcceptedException, + ResourceShareInvitationAlreadyRejectedException, + ResourceShareInvitationArnNotFoundException, + ResourceShareInvitationExpiredException, + ResourceShareLimitExceededException, + ServerInternalException, + ServiceUnavailableException, + TagLimitExceededException, + TagPolicyViolationException, + ThrottlingException, + UnknownResourceException, + UnmatchedPolicyPermissionException, RAMServiceException, paginateGetResourcePolicies, paginateGetResourceShareAssociations, diff --git a/clients/client-rbin/src/schemas/schemas_0.ts b/clients/client-rbin/src/schemas/schemas_0.ts index 7ee6ed0eeaab..521c1f7c6d59 100644 --- a/clients/client-rbin/src/schemas/schemas_0.ts +++ b/clients/client-rbin/src/schemas/schemas_0.ts @@ -218,7 +218,6 @@ export var UpdateRuleResponse: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var RbinServiceException: StaticErrorSchema = [-3, _sm, "RbinServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(RbinServiceException, __RbinServiceException); export var ExcludeResourceTags: StaticListSchema = [1, n0, _ERT, 0, () => ResourceTag]; diff --git a/clients/client-rbin/test/index-objects.spec.mjs b/clients/client-rbin/test/index-objects.spec.mjs index 824a77b620ab..f51f3f031e25 100644 --- a/clients/client-rbin/test/index-objects.spec.mjs +++ b/clients/client-rbin/test/index-objects.spec.mjs @@ -1,7 +1,10 @@ import { + ConflictException, + ConflictExceptionReason, CreateRuleCommand, DeleteRuleCommand, GetRuleCommand, + InternalServerException, ListRulesCommand, ListTagsForResourceCommand, LockRuleCommand, @@ -9,14 +12,20 @@ import { Rbin, RbinClient, RbinServiceException, + ResourceNotFoundException, + ResourceNotFoundExceptionReason, ResourceType, RetentionPeriodUnit, RuleStatus, + ServiceQuotaExceededException, + ServiceQuotaExceededExceptionReason, TagResourceCommand, UnlockDelayUnit, UnlockRuleCommand, UntagResourceCommand, UpdateRuleCommand, + ValidationException, + ValidationExceptionReason, paginateListRules, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -35,12 +44,21 @@ assert(typeof UnlockRuleCommand === "function"); assert(typeof UntagResourceCommand === "function"); assert(typeof UpdateRuleCommand === "function"); // enums +assert(typeof ConflictExceptionReason === "object"); assert(typeof LockState === "object"); +assert(typeof ResourceNotFoundExceptionReason === "object"); assert(typeof ResourceType === "object"); assert(typeof RetentionPeriodUnit === "object"); assert(typeof RuleStatus === "object"); +assert(typeof ServiceQuotaExceededExceptionReason === "object"); assert(typeof UnlockDelayUnit === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(ConflictException.prototype instanceof RbinServiceException); +assert(InternalServerException.prototype instanceof RbinServiceException); +assert(ResourceNotFoundException.prototype instanceof RbinServiceException); +assert(ServiceQuotaExceededException.prototype instanceof RbinServiceException); +assert(ValidationException.prototype instanceof RbinServiceException); assert(RbinServiceException.prototype instanceof Error); // paginators assert(typeof paginateListRules === "function"); diff --git a/clients/client-rbin/test/index-types.ts b/clients/client-rbin/test/index-types.ts index c19959aff674..f00d231c8856 100644 --- a/clients/client-rbin/test/index-types.ts +++ b/clients/client-rbin/test/index-types.ts @@ -32,11 +32,15 @@ export type { UpdateRuleCommand, UpdateRuleCommandInput, UpdateRuleCommandOutput, + ConflictExceptionReason, LockState, + ResourceNotFoundExceptionReason, ResourceType, RetentionPeriodUnit, RuleStatus, + ServiceQuotaExceededExceptionReason, UnlockDelayUnit, + ValidationExceptionReason, CreateRuleRequest, CreateRuleResponse, DeleteRuleRequest, @@ -63,6 +67,11 @@ export type { UntagResourceResponse, UpdateRuleRequest, UpdateRuleResponse, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, RbinServiceException, paginateListRules, } from "../dist-types/index.d"; diff --git a/clients/client-rds-data/test/index-objects.spec.mjs b/clients/client-rds-data/test/index-objects.spec.mjs index 73b7e303d452..8e45155ab405 100644 --- a/clients/client-rds-data/test/index-objects.spec.mjs +++ b/clients/client-rds-data/test/index-objects.spec.mjs @@ -1,17 +1,34 @@ import { + AccessDeniedException, + BadRequestException, BatchExecuteStatementCommand, BeginTransactionCommand, CommitTransactionCommand, + DatabaseErrorException, + DatabaseNotFoundException, + DatabaseResumingException, + DatabaseUnavailableException, DecimalReturnType, ExecuteSqlCommand, ExecuteStatementCommand, + ForbiddenException, + HttpEndpointNotEnabledException, + InternalServerErrorException, + InvalidResourceStateException, + InvalidSecretException, LongReturnType, + NotFoundException, RDSData, RDSDataClient, RDSDataServiceException, RecordsFormatType, RollbackTransactionCommand, + SecretsErrorException, + ServiceUnavailableError, + StatementTimeoutException, + TransactionNotFoundException, TypeHint, + UnsupportedResultException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -30,5 +47,22 @@ assert(typeof LongReturnType === "object"); assert(typeof RecordsFormatType === "object"); assert(typeof TypeHint === "object"); // errors +assert(AccessDeniedException.prototype instanceof RDSDataServiceException); +assert(BadRequestException.prototype instanceof RDSDataServiceException); +assert(DatabaseErrorException.prototype instanceof RDSDataServiceException); +assert(DatabaseNotFoundException.prototype instanceof RDSDataServiceException); +assert(DatabaseResumingException.prototype instanceof RDSDataServiceException); +assert(DatabaseUnavailableException.prototype instanceof RDSDataServiceException); +assert(ForbiddenException.prototype instanceof RDSDataServiceException); +assert(HttpEndpointNotEnabledException.prototype instanceof RDSDataServiceException); +assert(InternalServerErrorException.prototype instanceof RDSDataServiceException); +assert(InvalidResourceStateException.prototype instanceof RDSDataServiceException); +assert(InvalidSecretException.prototype instanceof RDSDataServiceException); +assert(NotFoundException.prototype instanceof RDSDataServiceException); +assert(SecretsErrorException.prototype instanceof RDSDataServiceException); +assert(ServiceUnavailableError.prototype instanceof RDSDataServiceException); +assert(StatementTimeoutException.prototype instanceof RDSDataServiceException); +assert(TransactionNotFoundException.prototype instanceof RDSDataServiceException); +assert(UnsupportedResultException.prototype instanceof RDSDataServiceException); assert(RDSDataServiceException.prototype instanceof Error); console.log(`RDSData index test passed.`); diff --git a/clients/client-rds-data/test/index-types.ts b/clients/client-rds-data/test/index-types.ts index 2c670ccc8e22..e729fe63c076 100644 --- a/clients/client-rds-data/test/index-types.ts +++ b/clients/client-rds-data/test/index-types.ts @@ -48,5 +48,22 @@ export type { StructValue, UpdateResult, Value, + AccessDeniedException, + BadRequestException, + DatabaseErrorException, + DatabaseNotFoundException, + DatabaseResumingException, + DatabaseUnavailableException, + ForbiddenException, + HttpEndpointNotEnabledException, + InternalServerErrorException, + InvalidResourceStateException, + InvalidSecretException, + NotFoundException, + SecretsErrorException, + ServiceUnavailableError, + StatementTimeoutException, + TransactionNotFoundException, + UnsupportedResultException, RDSDataServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-rds/test/index-objects.spec.mjs b/clients/client-rds/test/index-objects.spec.mjs index 0bf31459fe32..96be4e44c14e 100644 --- a/clients/client-rds/test/index-objects.spec.mjs +++ b/clients/client-rds/test/index-objects.spec.mjs @@ -10,10 +10,17 @@ import { ApplyPendingMaintenanceActionCommand, AuditPolicyState, AuthScheme, + AuthorizationAlreadyExistsFault, + AuthorizationNotFoundFault, + AuthorizationQuotaExceededFault, AuthorizeDBSecurityGroupIngressCommand, AutomationMode, BacktrackDBClusterCommand, + BackupPolicyNotFoundFault, + BlueGreenDeploymentAlreadyExistsFault, + BlueGreenDeploymentNotFoundFault, CancelExportTaskCommand, + CertificateNotFoundFault, ClientPasswordAuthType, ClusterScalabilityType, CopyDBClusterParameterGroupCommand, @@ -23,6 +30,7 @@ import { CopyOptionGroupCommand, CreateBlueGreenDeploymentCommand, CreateCustomDBEngineVersionCommand, + CreateCustomDBEngineVersionFault, CreateDBClusterCommand, CreateDBClusterEndpointCommand, CreateDBClusterParameterGroupCommand, @@ -41,10 +49,66 @@ import { CreateIntegrationCommand, CreateOptionGroupCommand, CreateTenantDatabaseCommand, + CustomAvailabilityZoneNotFoundFault, + CustomDBEngineVersionAlreadyExistsFault, + CustomDBEngineVersionNotFoundFault, + CustomDBEngineVersionQuotaExceededFault, CustomEngineVersionStatus, + DBClusterAlreadyExistsFault, + DBClusterAutomatedBackupNotFoundFault, + DBClusterAutomatedBackupQuotaExceededFault, + DBClusterBacktrackNotFoundFault, + DBClusterEndpointAlreadyExistsFault, + DBClusterEndpointNotFoundFault, + DBClusterEndpointQuotaExceededFault, + DBClusterNotFoundFault, + DBClusterParameterGroupNotFoundFault, + DBClusterQuotaExceededFault, + DBClusterRoleAlreadyExistsFault, + DBClusterRoleNotFoundFault, + DBClusterRoleQuotaExceededFault, + DBClusterSnapshotAlreadyExistsFault, + DBClusterSnapshotNotFoundFault, + DBInstanceAlreadyExistsFault, + DBInstanceAutomatedBackupNotFoundFault, + DBInstanceAutomatedBackupQuotaExceededFault, + DBInstanceNotFoundFault, + DBInstanceNotReadyFault, + DBInstanceRoleAlreadyExistsFault, + DBInstanceRoleNotFoundFault, + DBInstanceRoleQuotaExceededFault, + DBLogFileNotFoundFault, + DBParameterGroupAlreadyExistsFault, + DBParameterGroupNotFoundFault, + DBParameterGroupQuotaExceededFault, + DBProxyAlreadyExistsFault, + DBProxyEndpointAlreadyExistsFault, + DBProxyEndpointNotFoundFault, + DBProxyEndpointQuotaExceededFault, DBProxyEndpointStatus, DBProxyEndpointTargetRole, + DBProxyNotFoundFault, + DBProxyQuotaExceededFault, DBProxyStatus, + DBProxyTargetAlreadyRegisteredFault, + DBProxyTargetGroupNotFoundFault, + DBProxyTargetNotFoundFault, + DBSecurityGroupAlreadyExistsFault, + DBSecurityGroupNotFoundFault, + DBSecurityGroupNotSupportedFault, + DBSecurityGroupQuotaExceededFault, + DBShardGroupAlreadyExistsFault, + DBShardGroupNotFoundFault, + DBSnapshotAlreadyExistsFault, + DBSnapshotNotFoundFault, + DBSnapshotTenantDatabaseNotFoundFault, + DBSubnetGroupAlreadyExistsFault, + DBSubnetGroupDoesNotCoverEnoughAZs, + DBSubnetGroupNotAllowedFault, + DBSubnetGroupNotFoundFault, + DBSubnetGroupQuotaExceededFault, + DBSubnetQuotaExceededFault, + DBUpgradeDependencyFailureFault, DatabaseInsightsMode, DefaultAuthScheme, DeleteBlueGreenDeploymentCommand, @@ -116,22 +180,73 @@ import { DescribeTenantDatabasesCommand, DescribeValidDBInstanceModificationsCommand, DisableHttpEndpointCommand, + DomainNotFoundFault, DownloadDBLogFilePortionCommand, + Ec2ImagePropertiesNotSupportedFault, EnableHttpEndpointCommand, EndpointNetworkType, EngineFamily, + EventSubscriptionQuotaExceededFault, ExportSourceType, + ExportTaskAlreadyExistsFault, + ExportTaskNotFoundFault, FailoverDBClusterCommand, FailoverGlobalClusterCommand, FailoverStatus, + GlobalClusterAlreadyExistsFault, GlobalClusterMemberSynchronizationStatus, + GlobalClusterNotFoundFault, + GlobalClusterQuotaExceededFault, IAMAuthMode, + IamRoleMissingPermissionsFault, + IamRoleNotFoundFault, + InstanceQuotaExceededFault, + InsufficientAvailableIPsInSubnetFault, + InsufficientDBClusterCapacityFault, + InsufficientDBInstanceCapacityFault, + InsufficientStorageClusterCapacityFault, + IntegrationAlreadyExistsFault, + IntegrationConflictOperationFault, + IntegrationNotFoundFault, + IntegrationQuotaExceededFault, IntegrationStatus, + InvalidBlueGreenDeploymentStateFault, + InvalidCustomDBEngineVersionStateFault, + InvalidDBClusterAutomatedBackupStateFault, + InvalidDBClusterCapacityFault, + InvalidDBClusterEndpointStateFault, + InvalidDBClusterSnapshotStateFault, + InvalidDBClusterStateFault, + InvalidDBInstanceAutomatedBackupStateFault, + InvalidDBInstanceStateFault, + InvalidDBParameterGroupStateFault, + InvalidDBProxyEndpointStateFault, + InvalidDBProxyStateFault, + InvalidDBSecurityGroupStateFault, + InvalidDBShardGroupStateFault, + InvalidDBSnapshotStateFault, + InvalidDBSubnetGroupFault, + InvalidDBSubnetGroupStateFault, + InvalidDBSubnetStateFault, + InvalidEventSubscriptionStateFault, + InvalidExportOnlyFault, + InvalidExportSourceStateFault, + InvalidExportTaskStateFault, + InvalidGlobalClusterStateFault, + InvalidIntegrationStateFault, + InvalidOptionGroupStateFault, + InvalidResourceStateFault, + InvalidRestoreFault, + InvalidS3BucketFault, + InvalidSubnet, + InvalidVPCNetworkStateFault, + KMSKeyNotAccessibleFault, LifecycleSupportName, LimitlessDatabaseStatus, ListTagsForResourceCommand, LocalWriteForwardingStatus, MasterUserAuthenticationType, + MaxDBShardGroupLimitReached, ModifyActivityStreamCommand, ModifyCertificatesCommand, ModifyCurrentDBClusterCapacityCommand, @@ -155,8 +270,14 @@ import { ModifyIntegrationCommand, ModifyOptionGroupCommand, ModifyTenantDatabaseCommand, + NetworkTypeNotSupported, + OptionGroupAlreadyExistsFault, + OptionGroupNotFoundFault, + OptionGroupQuotaExceededFault, + PointInTimeRestoreNotEnabledFault, PromoteReadReplicaCommand, PromoteReadReplicaDBClusterCommand, + ProvisionedIopsNotAvailableInAZFault, PurchaseReservedDBInstancesOfferingCommand, RDS, RDSClient, @@ -171,8 +292,13 @@ import { RemoveSourceIdentifierFromSubscriptionCommand, RemoveTagsFromResourceCommand, ReplicaMode, + ReservedDBInstanceAlreadyExistsFault, + ReservedDBInstanceNotFoundFault, + ReservedDBInstanceQuotaExceededFault, + ReservedDBInstancesOfferingNotFoundFault, ResetDBClusterParameterGroupCommand, ResetDBParameterGroupCommand, + ResourceNotFoundFault, RestoreDBClusterFromS3Command, RestoreDBClusterFromSnapshotCommand, RestoreDBClusterToPointInTimeCommand, @@ -180,6 +306,14 @@ import { RestoreDBInstanceFromS3Command, RestoreDBInstanceToPointInTimeCommand, RevokeDBSecurityGroupIngressCommand, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, + SNSTopicArnNotFoundFault, + SharedSnapshotQuotaExceededFault, + SnapshotQuotaExceededFault, + SourceClusterNotSupportedFault, + SourceDatabaseNotSupportedFault, + SourceNotFoundFault, SourceType, StartActivityStreamCommand, StartDBClusterCommand, @@ -190,6 +324,13 @@ import { StopDBClusterCommand, StopDBInstanceAutomatedBackupsReplicationCommand, StopDBInstanceCommand, + StorageQuotaExceededFault, + StorageTypeNotAvailableFault, + StorageTypeNotSupportedFault, + SubnetAlreadyInUse, + SubscriptionAlreadyExistFault, + SubscriptionCategoryNotFoundFault, + SubscriptionNotFoundFault, SwitchoverBlueGreenDeploymentCommand, SwitchoverGlobalClusterCommand, SwitchoverReadReplicaCommand, @@ -198,7 +339,12 @@ import { TargetRole, TargetState, TargetType, + TenantDatabaseAlreadyExistsFault, + TenantDatabaseNotFoundFault, + TenantDatabaseQuotaExceededFault, + UnsupportedDBEngineVersionFault, UpgradeRolloutOrder, + VpcEncryptionControlViolationException, WriteForwardingStatus, paginateDescribeBlueGreenDeployments, paginateDescribeCertificates, @@ -466,6 +612,152 @@ assert(typeof TargetType === "object"); assert(typeof UpgradeRolloutOrder === "object"); assert(typeof WriteForwardingStatus === "object"); // errors +assert(AuthorizationAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(AuthorizationNotFoundFault.prototype instanceof RDSServiceException); +assert(AuthorizationQuotaExceededFault.prototype instanceof RDSServiceException); +assert(BackupPolicyNotFoundFault.prototype instanceof RDSServiceException); +assert(BlueGreenDeploymentAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(BlueGreenDeploymentNotFoundFault.prototype instanceof RDSServiceException); +assert(CertificateNotFoundFault.prototype instanceof RDSServiceException); +assert(CreateCustomDBEngineVersionFault.prototype instanceof RDSServiceException); +assert(CustomAvailabilityZoneNotFoundFault.prototype instanceof RDSServiceException); +assert(CustomDBEngineVersionAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(CustomDBEngineVersionNotFoundFault.prototype instanceof RDSServiceException); +assert(CustomDBEngineVersionQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBClusterAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBClusterAutomatedBackupNotFoundFault.prototype instanceof RDSServiceException); +assert(DBClusterAutomatedBackupQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBClusterBacktrackNotFoundFault.prototype instanceof RDSServiceException); +assert(DBClusterEndpointAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBClusterEndpointNotFoundFault.prototype instanceof RDSServiceException); +assert(DBClusterEndpointQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBClusterNotFoundFault.prototype instanceof RDSServiceException); +assert(DBClusterParameterGroupNotFoundFault.prototype instanceof RDSServiceException); +assert(DBClusterQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBClusterRoleAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBClusterRoleNotFoundFault.prototype instanceof RDSServiceException); +assert(DBClusterRoleQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBClusterSnapshotAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBClusterSnapshotNotFoundFault.prototype instanceof RDSServiceException); +assert(DBInstanceAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBInstanceAutomatedBackupNotFoundFault.prototype instanceof RDSServiceException); +assert(DBInstanceAutomatedBackupQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBInstanceNotFoundFault.prototype instanceof RDSServiceException); +assert(DBInstanceNotReadyFault.prototype instanceof RDSServiceException); +assert(DBInstanceRoleAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBInstanceRoleNotFoundFault.prototype instanceof RDSServiceException); +assert(DBInstanceRoleQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBLogFileNotFoundFault.prototype instanceof RDSServiceException); +assert(DBParameterGroupAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBParameterGroupNotFoundFault.prototype instanceof RDSServiceException); +assert(DBParameterGroupQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBProxyAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBProxyEndpointAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBProxyEndpointNotFoundFault.prototype instanceof RDSServiceException); +assert(DBProxyEndpointQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBProxyNotFoundFault.prototype instanceof RDSServiceException); +assert(DBProxyQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBProxyTargetAlreadyRegisteredFault.prototype instanceof RDSServiceException); +assert(DBProxyTargetGroupNotFoundFault.prototype instanceof RDSServiceException); +assert(DBProxyTargetNotFoundFault.prototype instanceof RDSServiceException); +assert(DBSecurityGroupAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBSecurityGroupNotFoundFault.prototype instanceof RDSServiceException); +assert(DBSecurityGroupNotSupportedFault.prototype instanceof RDSServiceException); +assert(DBSecurityGroupQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBShardGroupAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBShardGroupNotFoundFault.prototype instanceof RDSServiceException); +assert(DBSnapshotAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBSnapshotNotFoundFault.prototype instanceof RDSServiceException); +assert(DBSnapshotTenantDatabaseNotFoundFault.prototype instanceof RDSServiceException); +assert(DBSubnetGroupAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(DBSubnetGroupDoesNotCoverEnoughAZs.prototype instanceof RDSServiceException); +assert(DBSubnetGroupNotAllowedFault.prototype instanceof RDSServiceException); +assert(DBSubnetGroupNotFoundFault.prototype instanceof RDSServiceException); +assert(DBSubnetGroupQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBSubnetQuotaExceededFault.prototype instanceof RDSServiceException); +assert(DBUpgradeDependencyFailureFault.prototype instanceof RDSServiceException); +assert(DomainNotFoundFault.prototype instanceof RDSServiceException); +assert(Ec2ImagePropertiesNotSupportedFault.prototype instanceof RDSServiceException); +assert(EventSubscriptionQuotaExceededFault.prototype instanceof RDSServiceException); +assert(ExportTaskAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(ExportTaskNotFoundFault.prototype instanceof RDSServiceException); +assert(GlobalClusterAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(GlobalClusterNotFoundFault.prototype instanceof RDSServiceException); +assert(GlobalClusterQuotaExceededFault.prototype instanceof RDSServiceException); +assert(IamRoleMissingPermissionsFault.prototype instanceof RDSServiceException); +assert(IamRoleNotFoundFault.prototype instanceof RDSServiceException); +assert(InstanceQuotaExceededFault.prototype instanceof RDSServiceException); +assert(InsufficientAvailableIPsInSubnetFault.prototype instanceof RDSServiceException); +assert(InsufficientDBClusterCapacityFault.prototype instanceof RDSServiceException); +assert(InsufficientDBInstanceCapacityFault.prototype instanceof RDSServiceException); +assert(InsufficientStorageClusterCapacityFault.prototype instanceof RDSServiceException); +assert(IntegrationAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(IntegrationConflictOperationFault.prototype instanceof RDSServiceException); +assert(IntegrationNotFoundFault.prototype instanceof RDSServiceException); +assert(IntegrationQuotaExceededFault.prototype instanceof RDSServiceException); +assert(InvalidBlueGreenDeploymentStateFault.prototype instanceof RDSServiceException); +assert(InvalidCustomDBEngineVersionStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBClusterAutomatedBackupStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBClusterCapacityFault.prototype instanceof RDSServiceException); +assert(InvalidDBClusterEndpointStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBClusterSnapshotStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBClusterStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBInstanceAutomatedBackupStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBInstanceStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBParameterGroupStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBProxyEndpointStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBProxyStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBSecurityGroupStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBShardGroupStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBSnapshotStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBSubnetGroupFault.prototype instanceof RDSServiceException); +assert(InvalidDBSubnetGroupStateFault.prototype instanceof RDSServiceException); +assert(InvalidDBSubnetStateFault.prototype instanceof RDSServiceException); +assert(InvalidEventSubscriptionStateFault.prototype instanceof RDSServiceException); +assert(InvalidExportOnlyFault.prototype instanceof RDSServiceException); +assert(InvalidExportSourceStateFault.prototype instanceof RDSServiceException); +assert(InvalidExportTaskStateFault.prototype instanceof RDSServiceException); +assert(InvalidGlobalClusterStateFault.prototype instanceof RDSServiceException); +assert(InvalidIntegrationStateFault.prototype instanceof RDSServiceException); +assert(InvalidOptionGroupStateFault.prototype instanceof RDSServiceException); +assert(InvalidResourceStateFault.prototype instanceof RDSServiceException); +assert(InvalidRestoreFault.prototype instanceof RDSServiceException); +assert(InvalidS3BucketFault.prototype instanceof RDSServiceException); +assert(InvalidSubnet.prototype instanceof RDSServiceException); +assert(InvalidVPCNetworkStateFault.prototype instanceof RDSServiceException); +assert(KMSKeyNotAccessibleFault.prototype instanceof RDSServiceException); +assert(MaxDBShardGroupLimitReached.prototype instanceof RDSServiceException); +assert(NetworkTypeNotSupported.prototype instanceof RDSServiceException); +assert(OptionGroupAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(OptionGroupNotFoundFault.prototype instanceof RDSServiceException); +assert(OptionGroupQuotaExceededFault.prototype instanceof RDSServiceException); +assert(PointInTimeRestoreNotEnabledFault.prototype instanceof RDSServiceException); +assert(ProvisionedIopsNotAvailableInAZFault.prototype instanceof RDSServiceException); +assert(ReservedDBInstanceAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(ReservedDBInstanceNotFoundFault.prototype instanceof RDSServiceException); +assert(ReservedDBInstanceQuotaExceededFault.prototype instanceof RDSServiceException); +assert(ReservedDBInstancesOfferingNotFoundFault.prototype instanceof RDSServiceException); +assert(ResourceNotFoundFault.prototype instanceof RDSServiceException); +assert(SharedSnapshotQuotaExceededFault.prototype instanceof RDSServiceException); +assert(SnapshotQuotaExceededFault.prototype instanceof RDSServiceException); +assert(SNSInvalidTopicFault.prototype instanceof RDSServiceException); +assert(SNSNoAuthorizationFault.prototype instanceof RDSServiceException); +assert(SNSTopicArnNotFoundFault.prototype instanceof RDSServiceException); +assert(SourceClusterNotSupportedFault.prototype instanceof RDSServiceException); +assert(SourceDatabaseNotSupportedFault.prototype instanceof RDSServiceException); +assert(SourceNotFoundFault.prototype instanceof RDSServiceException); +assert(StorageQuotaExceededFault.prototype instanceof RDSServiceException); +assert(StorageTypeNotAvailableFault.prototype instanceof RDSServiceException); +assert(StorageTypeNotSupportedFault.prototype instanceof RDSServiceException); +assert(SubnetAlreadyInUse.prototype instanceof RDSServiceException); +assert(SubscriptionAlreadyExistFault.prototype instanceof RDSServiceException); +assert(SubscriptionCategoryNotFoundFault.prototype instanceof RDSServiceException); +assert(SubscriptionNotFoundFault.prototype instanceof RDSServiceException); +assert(TenantDatabaseAlreadyExistsFault.prototype instanceof RDSServiceException); +assert(TenantDatabaseNotFoundFault.prototype instanceof RDSServiceException); +assert(TenantDatabaseQuotaExceededFault.prototype instanceof RDSServiceException); +assert(UnsupportedDBEngineVersionFault.prototype instanceof RDSServiceException); +assert(VpcEncryptionControlViolationException.prototype instanceof RDSServiceException); assert(RDSServiceException.prototype instanceof Error); // waiters assert(typeof waitForDBClusterAvailable === "function"); diff --git a/clients/client-rds/test/index-types.ts b/clients/client-rds/test/index-types.ts index b905a58ebe00..217624368f8f 100644 --- a/clients/client-rds/test/index-types.ts +++ b/clients/client-rds/test/index-types.ts @@ -952,6 +952,152 @@ export type { ValidStorageOptions, ValidVolumeOptions, VpcSecurityGroupMembership, + AuthorizationAlreadyExistsFault, + AuthorizationNotFoundFault, + AuthorizationQuotaExceededFault, + BackupPolicyNotFoundFault, + BlueGreenDeploymentAlreadyExistsFault, + BlueGreenDeploymentNotFoundFault, + CertificateNotFoundFault, + CreateCustomDBEngineVersionFault, + CustomAvailabilityZoneNotFoundFault, + CustomDBEngineVersionAlreadyExistsFault, + CustomDBEngineVersionNotFoundFault, + CustomDBEngineVersionQuotaExceededFault, + DBClusterAlreadyExistsFault, + DBClusterAutomatedBackupNotFoundFault, + DBClusterAutomatedBackupQuotaExceededFault, + DBClusterBacktrackNotFoundFault, + DBClusterEndpointAlreadyExistsFault, + DBClusterEndpointNotFoundFault, + DBClusterEndpointQuotaExceededFault, + DBClusterNotFoundFault, + DBClusterParameterGroupNotFoundFault, + DBClusterQuotaExceededFault, + DBClusterRoleAlreadyExistsFault, + DBClusterRoleNotFoundFault, + DBClusterRoleQuotaExceededFault, + DBClusterSnapshotAlreadyExistsFault, + DBClusterSnapshotNotFoundFault, + DBInstanceAlreadyExistsFault, + DBInstanceAutomatedBackupNotFoundFault, + DBInstanceAutomatedBackupQuotaExceededFault, + DBInstanceNotFoundFault, + DBInstanceNotReadyFault, + DBInstanceRoleAlreadyExistsFault, + DBInstanceRoleNotFoundFault, + DBInstanceRoleQuotaExceededFault, + DBLogFileNotFoundFault, + DBParameterGroupAlreadyExistsFault, + DBParameterGroupNotFoundFault, + DBParameterGroupQuotaExceededFault, + DBProxyAlreadyExistsFault, + DBProxyEndpointAlreadyExistsFault, + DBProxyEndpointNotFoundFault, + DBProxyEndpointQuotaExceededFault, + DBProxyNotFoundFault, + DBProxyQuotaExceededFault, + DBProxyTargetAlreadyRegisteredFault, + DBProxyTargetGroupNotFoundFault, + DBProxyTargetNotFoundFault, + DBSecurityGroupAlreadyExistsFault, + DBSecurityGroupNotFoundFault, + DBSecurityGroupNotSupportedFault, + DBSecurityGroupQuotaExceededFault, + DBShardGroupAlreadyExistsFault, + DBShardGroupNotFoundFault, + DBSnapshotAlreadyExistsFault, + DBSnapshotNotFoundFault, + DBSnapshotTenantDatabaseNotFoundFault, + DBSubnetGroupAlreadyExistsFault, + DBSubnetGroupDoesNotCoverEnoughAZs, + DBSubnetGroupNotAllowedFault, + DBSubnetGroupNotFoundFault, + DBSubnetGroupQuotaExceededFault, + DBSubnetQuotaExceededFault, + DBUpgradeDependencyFailureFault, + DomainNotFoundFault, + Ec2ImagePropertiesNotSupportedFault, + EventSubscriptionQuotaExceededFault, + ExportTaskAlreadyExistsFault, + ExportTaskNotFoundFault, + GlobalClusterAlreadyExistsFault, + GlobalClusterNotFoundFault, + GlobalClusterQuotaExceededFault, + IamRoleMissingPermissionsFault, + IamRoleNotFoundFault, + InstanceQuotaExceededFault, + InsufficientAvailableIPsInSubnetFault, + InsufficientDBClusterCapacityFault, + InsufficientDBInstanceCapacityFault, + InsufficientStorageClusterCapacityFault, + IntegrationAlreadyExistsFault, + IntegrationConflictOperationFault, + IntegrationNotFoundFault, + IntegrationQuotaExceededFault, + InvalidBlueGreenDeploymentStateFault, + InvalidCustomDBEngineVersionStateFault, + InvalidDBClusterAutomatedBackupStateFault, + InvalidDBClusterCapacityFault, + InvalidDBClusterEndpointStateFault, + InvalidDBClusterSnapshotStateFault, + InvalidDBClusterStateFault, + InvalidDBInstanceAutomatedBackupStateFault, + InvalidDBInstanceStateFault, + InvalidDBParameterGroupStateFault, + InvalidDBProxyEndpointStateFault, + InvalidDBProxyStateFault, + InvalidDBSecurityGroupStateFault, + InvalidDBShardGroupStateFault, + InvalidDBSnapshotStateFault, + InvalidDBSubnetGroupFault, + InvalidDBSubnetGroupStateFault, + InvalidDBSubnetStateFault, + InvalidEventSubscriptionStateFault, + InvalidExportOnlyFault, + InvalidExportSourceStateFault, + InvalidExportTaskStateFault, + InvalidGlobalClusterStateFault, + InvalidIntegrationStateFault, + InvalidOptionGroupStateFault, + InvalidResourceStateFault, + InvalidRestoreFault, + InvalidS3BucketFault, + InvalidSubnet, + InvalidVPCNetworkStateFault, + KMSKeyNotAccessibleFault, + MaxDBShardGroupLimitReached, + NetworkTypeNotSupported, + OptionGroupAlreadyExistsFault, + OptionGroupNotFoundFault, + OptionGroupQuotaExceededFault, + PointInTimeRestoreNotEnabledFault, + ProvisionedIopsNotAvailableInAZFault, + ReservedDBInstanceAlreadyExistsFault, + ReservedDBInstanceNotFoundFault, + ReservedDBInstanceQuotaExceededFault, + ReservedDBInstancesOfferingNotFoundFault, + ResourceNotFoundFault, + SharedSnapshotQuotaExceededFault, + SnapshotQuotaExceededFault, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, + SNSTopicArnNotFoundFault, + SourceClusterNotSupportedFault, + SourceDatabaseNotSupportedFault, + SourceNotFoundFault, + StorageQuotaExceededFault, + StorageTypeNotAvailableFault, + StorageTypeNotSupportedFault, + SubnetAlreadyInUse, + SubscriptionAlreadyExistFault, + SubscriptionCategoryNotFoundFault, + SubscriptionNotFoundFault, + TenantDatabaseAlreadyExistsFault, + TenantDatabaseNotFoundFault, + TenantDatabaseQuotaExceededFault, + UnsupportedDBEngineVersionFault, + VpcEncryptionControlViolationException, RDSServiceException, waitForDBClusterAvailable, waitForDBClusterDeleted, diff --git a/clients/client-redshift-data/test/index-objects.spec.mjs b/clients/client-redshift-data/test/index-objects.spec.mjs index 9350da8b9df2..14ae5804e77d 100644 --- a/clients/client-redshift-data/test/index-objects.spec.mjs +++ b/clients/client-redshift-data/test/index-objects.spec.mjs @@ -1,21 +1,30 @@ import { + ActiveSessionsExceededException, + ActiveStatementsExceededException, BatchExecuteStatementCommand, + BatchExecuteStatementException, CancelStatementCommand, + DatabaseConnectionException, DescribeStatementCommand, DescribeTableCommand, ExecuteStatementCommand, + ExecuteStatementException, GetStatementResultCommand, GetStatementResultV2Command, + InternalServerException, ListDatabasesCommand, ListSchemasCommand, ListStatementsCommand, ListTablesCommand, + QueryTimeoutException, RedshiftData, RedshiftDataClient, RedshiftDataServiceException, + ResourceNotFoundException, ResultFormatString, StatementStatusString, StatusString, + ValidationException, paginateDescribeTable, paginateGetStatementResult, paginateGetStatementResultV2, @@ -45,6 +54,15 @@ assert(typeof ResultFormatString === "object"); assert(typeof StatementStatusString === "object"); assert(typeof StatusString === "object"); // errors +assert(ActiveSessionsExceededException.prototype instanceof RedshiftDataServiceException); +assert(ActiveStatementsExceededException.prototype instanceof RedshiftDataServiceException); +assert(BatchExecuteStatementException.prototype instanceof RedshiftDataServiceException); +assert(DatabaseConnectionException.prototype instanceof RedshiftDataServiceException); +assert(ExecuteStatementException.prototype instanceof RedshiftDataServiceException); +assert(InternalServerException.prototype instanceof RedshiftDataServiceException); +assert(QueryTimeoutException.prototype instanceof RedshiftDataServiceException); +assert(ResourceNotFoundException.prototype instanceof RedshiftDataServiceException); +assert(ValidationException.prototype instanceof RedshiftDataServiceException); assert(RedshiftDataServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeTable === "function"); diff --git a/clients/client-redshift-data/test/index-types.ts b/clients/client-redshift-data/test/index-types.ts index 634065757515..0821d96916a3 100644 --- a/clients/client-redshift-data/test/index-types.ts +++ b/clients/client-redshift-data/test/index-types.ts @@ -67,6 +67,15 @@ export type { StatementData, SubStatementData, TableMember, + ActiveSessionsExceededException, + ActiveStatementsExceededException, + BatchExecuteStatementException, + DatabaseConnectionException, + ExecuteStatementException, + InternalServerException, + QueryTimeoutException, + ResourceNotFoundException, + ValidationException, RedshiftDataServiceException, paginateDescribeTable, paginateGetStatementResult, diff --git a/clients/client-redshift-serverless/src/schemas/schemas_0.ts b/clients/client-redshift-serverless/src/schemas/schemas_0.ts index 69c787f53461..0bc14be04430 100644 --- a/clients/client-redshift-serverless/src/schemas/schemas_0.ts +++ b/clients/client-redshift-serverless/src/schemas/schemas_0.ts @@ -1231,7 +1231,6 @@ export var Workgroup: StaticStructureSchema = [ 0, ], ]; -export var __Unit = "unit" as const; export var RedshiftServerlessServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-redshift-serverless/test/index-objects.spec.mjs b/clients/client-redshift-serverless/test/index-objects.spec.mjs index c8cb91aa4c85..b99ff7bb1807 100644 --- a/clients/client-redshift-serverless/test/index-objects.spec.mjs +++ b/clients/client-redshift-serverless/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + ConflictException, ConvertRecoveryPointToSnapshotCommand, CreateCustomDomainAssociationCommand, CreateEndpointAccessCommand, @@ -18,6 +20,7 @@ import { DeleteSnapshotCopyConfigurationCommand, DeleteUsageLimitCommand, DeleteWorkgroupCommand, + DryRunException, GetCredentialsCommand, GetCustomDomainAssociationCommand, GetEndpointAccessCommand, @@ -32,6 +35,10 @@ import { GetTrackCommand, GetUsageLimitCommand, GetWorkgroupCommand, + InsufficientCapacityException, + InternalServerException, + InvalidPaginationException, + Ipv6CidrBlockNotFoundException, LakehouseIdcRegistration, LakehouseRegistration, ListCustomDomainAssociationsCommand, @@ -58,13 +65,17 @@ import { RedshiftServerless, RedshiftServerlessClient, RedshiftServerlessServiceException, + ResourceNotFoundException, RestoreFromRecoveryPointCommand, RestoreFromSnapshotCommand, RestoreTableFromRecoveryPointCommand, RestoreTableFromSnapshotCommand, + ServiceQuotaExceededException, SnapshotStatus, State, TagResourceCommand, + ThrottlingException, + TooManyTagsException, UntagResourceCommand, UpdateCustomDomainAssociationCommand, UpdateEndpointAccessCommand, @@ -78,6 +89,7 @@ import { UsageLimitBreachAction, UsageLimitPeriod, UsageLimitUsageType, + ValidationException, WorkgroupStatus, paginateListCustomDomainAssociations, paginateListEndpointAccess, @@ -178,6 +190,18 @@ assert(typeof UsageLimitPeriod === "object"); assert(typeof UsageLimitUsageType === "object"); assert(typeof WorkgroupStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof RedshiftServerlessServiceException); +assert(ConflictException.prototype instanceof RedshiftServerlessServiceException); +assert(DryRunException.prototype instanceof RedshiftServerlessServiceException); +assert(InsufficientCapacityException.prototype instanceof RedshiftServerlessServiceException); +assert(InternalServerException.prototype instanceof RedshiftServerlessServiceException); +assert(InvalidPaginationException.prototype instanceof RedshiftServerlessServiceException); +assert(Ipv6CidrBlockNotFoundException.prototype instanceof RedshiftServerlessServiceException); +assert(ResourceNotFoundException.prototype instanceof RedshiftServerlessServiceException); +assert(ServiceQuotaExceededException.prototype instanceof RedshiftServerlessServiceException); +assert(ThrottlingException.prototype instanceof RedshiftServerlessServiceException); +assert(TooManyTagsException.prototype instanceof RedshiftServerlessServiceException); +assert(ValidationException.prototype instanceof RedshiftServerlessServiceException); assert(RedshiftServerlessServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCustomDomainAssociations === "function"); diff --git a/clients/client-redshift-serverless/test/index-types.ts b/clients/client-redshift-serverless/test/index-types.ts index 9521cab2fd55..3848a4ec8f2b 100644 --- a/clients/client-redshift-serverless/test/index-types.ts +++ b/clients/client-redshift-serverless/test/index-types.ts @@ -362,6 +362,18 @@ export type { VpcEndpoint, VpcSecurityGroupMembership, Workgroup, + AccessDeniedException, + ConflictException, + DryRunException, + InsufficientCapacityException, + InternalServerException, + InvalidPaginationException, + Ipv6CidrBlockNotFoundException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + TooManyTagsException, + ValidationException, RedshiftServerlessServiceException, paginateListCustomDomainAssociations, paginateListEndpointAccess, diff --git a/clients/client-redshift/test/index-objects.spec.mjs b/clients/client-redshift/test/index-objects.spec.mjs index 0158dff1f76a..48d6843421f9 100644 --- a/clients/client-redshift/test/index-objects.spec.mjs +++ b/clients/client-redshift/test/index-objects.spec.mjs @@ -1,20 +1,50 @@ import { AcceptReservedNodeExchangeCommand, + AccessToClusterDeniedFault, + AccessToSnapshotDeniedFault, ActionType, AddPartnerCommand, ApplicationType, AquaConfigurationStatus, AquaStatus, AssociateDataShareConsumerCommand, + AuthenticationProfileAlreadyExistsFault, + AuthenticationProfileNotFoundFault, + AuthenticationProfileQuotaExceededFault, + AuthorizationAlreadyExistsFault, + AuthorizationNotFoundFault, + AuthorizationQuotaExceededFault, AuthorizationStatus, AuthorizeClusterSecurityGroupIngressCommand, AuthorizeDataShareCommand, AuthorizeEndpointAccessCommand, AuthorizeSnapshotAccessCommand, BatchDeleteClusterSnapshotsCommand, + BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsCommand, + BatchModifyClusterSnapshotsLimitExceededFault, + BucketNotFoundFault, CancelResizeCommand, + ClusterAlreadyExistsFault, + ClusterNotFoundFault, + ClusterOnLatestRevisionFault, + ClusterParameterGroupAlreadyExistsFault, + ClusterParameterGroupNotFoundFault, + ClusterParameterGroupQuotaExceededFault, + ClusterQuotaExceededFault, + ClusterSecurityGroupAlreadyExistsFault, + ClusterSecurityGroupNotFoundFault, + ClusterSecurityGroupQuotaExceededFault, + ClusterSnapshotAlreadyExistsFault, + ClusterSnapshotNotFoundFault, + ClusterSnapshotQuotaExceededFault, + ClusterSubnetGroupAlreadyExistsFault, + ClusterSubnetGroupNotFoundFault, + ClusterSubnetGroupQuotaExceededFault, + ClusterSubnetQuotaExceededFault, + ConflictPolicyUpdateFault, CopyClusterSnapshotCommand, + CopyToRegionDisabledFault, CreateAuthenticationProfileCommand, CreateClusterCommand, CreateClusterParameterGroupCommand, @@ -33,6 +63,8 @@ import { CreateSnapshotScheduleCommand, CreateTagsCommand, CreateUsageLimitCommand, + CustomCnameAssociationFault, + CustomDomainAssociationNotFoundFault, DataShareStatus, DataShareStatusForConsumer, DataShareStatusForProducer, @@ -58,6 +90,9 @@ import { DeleteSnapshotScheduleCommand, DeleteTagsCommand, DeleteUsageLimitCommand, + DependentServiceAccessDeniedFault, + DependentServiceRequestThrottlingFault, + DependentServiceUnavailableFault, DeregisterNamespaceCommand, DescribeAccountAttributesCommand, DescribeAuthenticationProfilesCommand, @@ -106,6 +141,14 @@ import { DisassociateDataShareConsumerCommand, EnableLoggingCommand, EnableSnapshotCopyCommand, + EndpointAlreadyExistsFault, + EndpointAuthorizationAlreadyExistsFault, + EndpointAuthorizationNotFoundFault, + EndpointAuthorizationsPerClusterLimitExceededFault, + EndpointNotFoundFault, + EndpointsPerAuthorizationLimitExceededFault, + EndpointsPerClusterLimitExceededFault, + EventSubscriptionQuotaExceededFault, FailoverPrimaryComputeCommand, GetClusterCredentialsCommand, GetClusterCredentialsWithIAMCommand, @@ -113,9 +156,59 @@ import { GetReservedNodeExchangeConfigurationOptionsCommand, GetReservedNodeExchangeOfferingsCommand, GetResourcePolicyCommand, + HsmClientCertificateAlreadyExistsFault, + HsmClientCertificateNotFoundFault, + HsmClientCertificateQuotaExceededFault, + HsmConfigurationAlreadyExistsFault, + HsmConfigurationNotFoundFault, + HsmConfigurationQuotaExceededFault, ImpactRankingType, + InProgressTableRestoreQuotaExceededFault, + IncompatibleOrderableOptions, + InsufficientClusterCapacityFault, + InsufficientS3BucketPolicyFault, + IntegrationAlreadyExistsFault, + IntegrationConflictOperationFault, + IntegrationConflictStateFault, + IntegrationNotFoundFault, + IntegrationQuotaExceededFault, + IntegrationSourceNotFoundFault, + IntegrationTargetNotFoundFault, + InvalidAuthenticationProfileRequestFault, + InvalidAuthorizationStateFault, + InvalidClusterParameterGroupStateFault, + InvalidClusterSecurityGroupStateFault, + InvalidClusterSnapshotScheduleStateFault, + InvalidClusterSnapshotStateFault, + InvalidClusterStateFault, + InvalidClusterSubnetGroupStateFault, + InvalidClusterSubnetStateFault, + InvalidClusterTrackFault, + InvalidDataShareFault, + InvalidElasticIpFault, + InvalidEndpointStateFault, + InvalidHsmClientCertificateStateFault, + InvalidHsmConfigurationStateFault, + InvalidNamespaceFault, + InvalidPolicyFault, + InvalidReservedNodeStateFault, + InvalidRestoreFault, + InvalidRetentionPeriodFault, + InvalidS3BucketNameFault, + InvalidS3KeyPrefixFault, + InvalidScheduleFault, + InvalidScheduledActionFault, + InvalidSnapshotCopyGrantStateFault, + InvalidSubnet, + InvalidSubscriptionStateFault, + InvalidTableRestoreArgumentFault, + InvalidTagFault, + InvalidUsageLimitFault, + InvalidVPCNetworkStateFault, + Ipv6CidrBlockNotFoundFault, LakehouseIdcRegistration, LakehouseRegistration, + LimitExceededFault, ListRecommendationsCommand, LogDestinationType, Mode, @@ -141,9 +234,12 @@ import { ModifyUsageLimitCommand, NamespaceRegistrationStatus, NodeConfigurationOptionsFilterName, + NumberOfNodesPerClusterLimitExceededFault, + NumberOfNodesQuotaExceededFault, OperatorType, ParameterApplyType, PartnerIntegrationStatus, + PartnerNotFoundFault, PauseClusterCommand, PurchaseReservedNodeOfferingCommand, PutResourcePolicyCommand, @@ -151,14 +247,26 @@ import { RecommendedActionType, Redshift, RedshiftClient, + RedshiftIdcApplicationAlreadyExistsFault, + RedshiftIdcApplicationNotExistsFault, + RedshiftIdcApplicationQuotaExceededFault, + RedshiftInvalidParameterFault, RedshiftServiceException, RegisterNamespaceCommand, RejectDataShareCommand, + ReservedNodeAlreadyExistsFault, + ReservedNodeAlreadyMigratedFault, ReservedNodeExchangeActionType, + ReservedNodeExchangeNotFoundFault, ReservedNodeExchangeStatusType, + ReservedNodeNotFoundFault, + ReservedNodeOfferingNotFoundFault, ReservedNodeOfferingType, + ReservedNodeQuotaExceededFault, ResetClusterParameterGroupCommand, ResizeClusterCommand, + ResizeNotFoundFault, + ResourceNotFoundFault, RestoreFromClusterSnapshotCommand, RestoreTableFromClusterSnapshotCommand, ResumeClusterCommand, @@ -166,19 +274,54 @@ import { RevokeEndpointAccessCommand, RevokeSnapshotAccessCommand, RotateEncryptionKeyCommand, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, + SNSTopicArnNotFoundFault, + ScheduleDefinitionTypeUnsupportedFault, ScheduleState, + ScheduledActionAlreadyExistsFault, ScheduledActionFilterName, + ScheduledActionNotFoundFault, + ScheduledActionQuotaExceededFault, ScheduledActionState, + ScheduledActionTypeUnsupportedFault, ScheduledActionTypeValues, ServiceAuthorization, SnapshotAttributeToSortBy, + SnapshotCopyAlreadyDisabledFault, + SnapshotCopyAlreadyEnabledFault, + SnapshotCopyDisabledFault, + SnapshotCopyGrantAlreadyExistsFault, + SnapshotCopyGrantNotFoundFault, + SnapshotCopyGrantQuotaExceededFault, + SnapshotScheduleAlreadyExistsFault, + SnapshotScheduleNotFoundFault, + SnapshotScheduleQuotaExceededFault, + SnapshotScheduleUpdateInProgressFault, SortByOrder, + SourceNotFoundFault, SourceType, + SubnetAlreadyInUse, + SubscriptionAlreadyExistFault, + SubscriptionCategoryNotFoundFault, + SubscriptionEventIdNotFoundFault, + SubscriptionNotFoundFault, + SubscriptionSeverityNotFoundFault, + TableLimitExceededFault, + TableRestoreNotFoundFault, TableRestoreStatusType, + TagLimitExceededFault, + UnauthorizedOperation, + UnauthorizedPartnerIntegrationFault, + UnknownSnapshotCopyRegionFault, + UnsupportedOperationFault, + UnsupportedOptionFault, UpdatePartnerStatusCommand, + UsageLimitAlreadyExistsFault, UsageLimitBreachAction, UsageLimitFeatureType, UsageLimitLimitType, + UsageLimitNotFoundFault, UsageLimitPeriod, ZeroETLIntegrationStatus, paginateDescribeClusterDbRevisions, @@ -413,6 +556,149 @@ assert(typeof UsageLimitLimitType === "object"); assert(typeof UsageLimitPeriod === "object"); assert(typeof ZeroETLIntegrationStatus === "object"); // errors +assert(AccessToClusterDeniedFault.prototype instanceof RedshiftServiceException); +assert(AccessToSnapshotDeniedFault.prototype instanceof RedshiftServiceException); +assert(AuthenticationProfileAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(AuthenticationProfileNotFoundFault.prototype instanceof RedshiftServiceException); +assert(AuthenticationProfileQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(AuthorizationAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(AuthorizationNotFoundFault.prototype instanceof RedshiftServiceException); +assert(AuthorizationQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(BatchDeleteRequestSizeExceededFault.prototype instanceof RedshiftServiceException); +assert(BatchModifyClusterSnapshotsLimitExceededFault.prototype instanceof RedshiftServiceException); +assert(BucketNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ClusterAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(ClusterNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ClusterOnLatestRevisionFault.prototype instanceof RedshiftServiceException); +assert(ClusterParameterGroupAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(ClusterParameterGroupNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ClusterParameterGroupQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(ClusterQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(ClusterSecurityGroupAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(ClusterSecurityGroupNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ClusterSecurityGroupQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(ClusterSnapshotAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(ClusterSnapshotNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ClusterSnapshotQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(ClusterSubnetGroupAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(ClusterSubnetGroupNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ClusterSubnetGroupQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(ClusterSubnetQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(ConflictPolicyUpdateFault.prototype instanceof RedshiftServiceException); +assert(CopyToRegionDisabledFault.prototype instanceof RedshiftServiceException); +assert(CustomCnameAssociationFault.prototype instanceof RedshiftServiceException); +assert(CustomDomainAssociationNotFoundFault.prototype instanceof RedshiftServiceException); +assert(DependentServiceAccessDeniedFault.prototype instanceof RedshiftServiceException); +assert(DependentServiceRequestThrottlingFault.prototype instanceof RedshiftServiceException); +assert(DependentServiceUnavailableFault.prototype instanceof RedshiftServiceException); +assert(EndpointAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(EndpointAuthorizationAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(EndpointAuthorizationNotFoundFault.prototype instanceof RedshiftServiceException); +assert(EndpointAuthorizationsPerClusterLimitExceededFault.prototype instanceof RedshiftServiceException); +assert(EndpointNotFoundFault.prototype instanceof RedshiftServiceException); +assert(EndpointsPerAuthorizationLimitExceededFault.prototype instanceof RedshiftServiceException); +assert(EndpointsPerClusterLimitExceededFault.prototype instanceof RedshiftServiceException); +assert(EventSubscriptionQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(HsmClientCertificateAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(HsmClientCertificateNotFoundFault.prototype instanceof RedshiftServiceException); +assert(HsmClientCertificateQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(HsmConfigurationAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(HsmConfigurationNotFoundFault.prototype instanceof RedshiftServiceException); +assert(HsmConfigurationQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(IncompatibleOrderableOptions.prototype instanceof RedshiftServiceException); +assert(InProgressTableRestoreQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(InsufficientClusterCapacityFault.prototype instanceof RedshiftServiceException); +assert(InsufficientS3BucketPolicyFault.prototype instanceof RedshiftServiceException); +assert(IntegrationAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(IntegrationConflictOperationFault.prototype instanceof RedshiftServiceException); +assert(IntegrationConflictStateFault.prototype instanceof RedshiftServiceException); +assert(IntegrationNotFoundFault.prototype instanceof RedshiftServiceException); +assert(IntegrationQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(IntegrationSourceNotFoundFault.prototype instanceof RedshiftServiceException); +assert(IntegrationTargetNotFoundFault.prototype instanceof RedshiftServiceException); +assert(InvalidAuthenticationProfileRequestFault.prototype instanceof RedshiftServiceException); +assert(InvalidAuthorizationStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidClusterParameterGroupStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidClusterSecurityGroupStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidClusterSnapshotScheduleStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidClusterSnapshotStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidClusterStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidClusterSubnetGroupStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidClusterSubnetStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidClusterTrackFault.prototype instanceof RedshiftServiceException); +assert(InvalidDataShareFault.prototype instanceof RedshiftServiceException); +assert(InvalidElasticIpFault.prototype instanceof RedshiftServiceException); +assert(InvalidEndpointStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidHsmClientCertificateStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidHsmConfigurationStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidNamespaceFault.prototype instanceof RedshiftServiceException); +assert(InvalidPolicyFault.prototype instanceof RedshiftServiceException); +assert(InvalidReservedNodeStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidRestoreFault.prototype instanceof RedshiftServiceException); +assert(InvalidRetentionPeriodFault.prototype instanceof RedshiftServiceException); +assert(InvalidS3BucketNameFault.prototype instanceof RedshiftServiceException); +assert(InvalidS3KeyPrefixFault.prototype instanceof RedshiftServiceException); +assert(InvalidScheduledActionFault.prototype instanceof RedshiftServiceException); +assert(InvalidScheduleFault.prototype instanceof RedshiftServiceException); +assert(InvalidSnapshotCopyGrantStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidSubnet.prototype instanceof RedshiftServiceException); +assert(InvalidSubscriptionStateFault.prototype instanceof RedshiftServiceException); +assert(InvalidTableRestoreArgumentFault.prototype instanceof RedshiftServiceException); +assert(InvalidTagFault.prototype instanceof RedshiftServiceException); +assert(InvalidUsageLimitFault.prototype instanceof RedshiftServiceException); +assert(InvalidVPCNetworkStateFault.prototype instanceof RedshiftServiceException); +assert(Ipv6CidrBlockNotFoundFault.prototype instanceof RedshiftServiceException); +assert(LimitExceededFault.prototype instanceof RedshiftServiceException); +assert(NumberOfNodesPerClusterLimitExceededFault.prototype instanceof RedshiftServiceException); +assert(NumberOfNodesQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(PartnerNotFoundFault.prototype instanceof RedshiftServiceException); +assert(RedshiftIdcApplicationAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(RedshiftIdcApplicationNotExistsFault.prototype instanceof RedshiftServiceException); +assert(RedshiftIdcApplicationQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(RedshiftInvalidParameterFault.prototype instanceof RedshiftServiceException); +assert(ReservedNodeAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(ReservedNodeAlreadyMigratedFault.prototype instanceof RedshiftServiceException); +assert(ReservedNodeExchangeNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ReservedNodeNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ReservedNodeOfferingNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ReservedNodeQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(ResizeNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ResourceNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ScheduledActionAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(ScheduledActionNotFoundFault.prototype instanceof RedshiftServiceException); +assert(ScheduledActionQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(ScheduledActionTypeUnsupportedFault.prototype instanceof RedshiftServiceException); +assert(ScheduleDefinitionTypeUnsupportedFault.prototype instanceof RedshiftServiceException); +assert(SnapshotCopyAlreadyDisabledFault.prototype instanceof RedshiftServiceException); +assert(SnapshotCopyAlreadyEnabledFault.prototype instanceof RedshiftServiceException); +assert(SnapshotCopyDisabledFault.prototype instanceof RedshiftServiceException); +assert(SnapshotCopyGrantAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(SnapshotCopyGrantNotFoundFault.prototype instanceof RedshiftServiceException); +assert(SnapshotCopyGrantQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(SnapshotScheduleAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(SnapshotScheduleNotFoundFault.prototype instanceof RedshiftServiceException); +assert(SnapshotScheduleQuotaExceededFault.prototype instanceof RedshiftServiceException); +assert(SnapshotScheduleUpdateInProgressFault.prototype instanceof RedshiftServiceException); +assert(SNSInvalidTopicFault.prototype instanceof RedshiftServiceException); +assert(SNSNoAuthorizationFault.prototype instanceof RedshiftServiceException); +assert(SNSTopicArnNotFoundFault.prototype instanceof RedshiftServiceException); +assert(SourceNotFoundFault.prototype instanceof RedshiftServiceException); +assert(SubnetAlreadyInUse.prototype instanceof RedshiftServiceException); +assert(SubscriptionAlreadyExistFault.prototype instanceof RedshiftServiceException); +assert(SubscriptionCategoryNotFoundFault.prototype instanceof RedshiftServiceException); +assert(SubscriptionEventIdNotFoundFault.prototype instanceof RedshiftServiceException); +assert(SubscriptionNotFoundFault.prototype instanceof RedshiftServiceException); +assert(SubscriptionSeverityNotFoundFault.prototype instanceof RedshiftServiceException); +assert(TableLimitExceededFault.prototype instanceof RedshiftServiceException); +assert(TableRestoreNotFoundFault.prototype instanceof RedshiftServiceException); +assert(TagLimitExceededFault.prototype instanceof RedshiftServiceException); +assert(UnauthorizedOperation.prototype instanceof RedshiftServiceException); +assert(UnauthorizedPartnerIntegrationFault.prototype instanceof RedshiftServiceException); +assert(UnknownSnapshotCopyRegionFault.prototype instanceof RedshiftServiceException); +assert(UnsupportedOperationFault.prototype instanceof RedshiftServiceException); +assert(UnsupportedOptionFault.prototype instanceof RedshiftServiceException); +assert(UsageLimitAlreadyExistsFault.prototype instanceof RedshiftServiceException); +assert(UsageLimitNotFoundFault.prototype instanceof RedshiftServiceException); assert(RedshiftServiceException.prototype instanceof Error); // waiters assert(typeof waitForClusterAvailable === "function"); diff --git a/clients/client-redshift/test/index-types.ts b/clients/client-redshift/test/index-types.ts index e0f082df5fe9..253d3cd10762 100644 --- a/clients/client-redshift/test/index-types.ts +++ b/clients/client-redshift/test/index-types.ts @@ -796,6 +796,149 @@ export type { UsageLimitList, VpcEndpoint, VpcSecurityGroupMembership, + AccessToClusterDeniedFault, + AccessToSnapshotDeniedFault, + AuthenticationProfileAlreadyExistsFault, + AuthenticationProfileNotFoundFault, + AuthenticationProfileQuotaExceededFault, + AuthorizationAlreadyExistsFault, + AuthorizationNotFoundFault, + AuthorizationQuotaExceededFault, + BatchDeleteRequestSizeExceededFault, + BatchModifyClusterSnapshotsLimitExceededFault, + BucketNotFoundFault, + ClusterAlreadyExistsFault, + ClusterNotFoundFault, + ClusterOnLatestRevisionFault, + ClusterParameterGroupAlreadyExistsFault, + ClusterParameterGroupNotFoundFault, + ClusterParameterGroupQuotaExceededFault, + ClusterQuotaExceededFault, + ClusterSecurityGroupAlreadyExistsFault, + ClusterSecurityGroupNotFoundFault, + ClusterSecurityGroupQuotaExceededFault, + ClusterSnapshotAlreadyExistsFault, + ClusterSnapshotNotFoundFault, + ClusterSnapshotQuotaExceededFault, + ClusterSubnetGroupAlreadyExistsFault, + ClusterSubnetGroupNotFoundFault, + ClusterSubnetGroupQuotaExceededFault, + ClusterSubnetQuotaExceededFault, + ConflictPolicyUpdateFault, + CopyToRegionDisabledFault, + CustomCnameAssociationFault, + CustomDomainAssociationNotFoundFault, + DependentServiceAccessDeniedFault, + DependentServiceRequestThrottlingFault, + DependentServiceUnavailableFault, + EndpointAlreadyExistsFault, + EndpointAuthorizationAlreadyExistsFault, + EndpointAuthorizationNotFoundFault, + EndpointAuthorizationsPerClusterLimitExceededFault, + EndpointNotFoundFault, + EndpointsPerAuthorizationLimitExceededFault, + EndpointsPerClusterLimitExceededFault, + EventSubscriptionQuotaExceededFault, + HsmClientCertificateAlreadyExistsFault, + HsmClientCertificateNotFoundFault, + HsmClientCertificateQuotaExceededFault, + HsmConfigurationAlreadyExistsFault, + HsmConfigurationNotFoundFault, + HsmConfigurationQuotaExceededFault, + IncompatibleOrderableOptions, + InProgressTableRestoreQuotaExceededFault, + InsufficientClusterCapacityFault, + InsufficientS3BucketPolicyFault, + IntegrationAlreadyExistsFault, + IntegrationConflictOperationFault, + IntegrationConflictStateFault, + IntegrationNotFoundFault, + IntegrationQuotaExceededFault, + IntegrationSourceNotFoundFault, + IntegrationTargetNotFoundFault, + InvalidAuthenticationProfileRequestFault, + InvalidAuthorizationStateFault, + InvalidClusterParameterGroupStateFault, + InvalidClusterSecurityGroupStateFault, + InvalidClusterSnapshotScheduleStateFault, + InvalidClusterSnapshotStateFault, + InvalidClusterStateFault, + InvalidClusterSubnetGroupStateFault, + InvalidClusterSubnetStateFault, + InvalidClusterTrackFault, + InvalidDataShareFault, + InvalidElasticIpFault, + InvalidEndpointStateFault, + InvalidHsmClientCertificateStateFault, + InvalidHsmConfigurationStateFault, + InvalidNamespaceFault, + InvalidPolicyFault, + InvalidReservedNodeStateFault, + InvalidRestoreFault, + InvalidRetentionPeriodFault, + InvalidS3BucketNameFault, + InvalidS3KeyPrefixFault, + InvalidScheduledActionFault, + InvalidScheduleFault, + InvalidSnapshotCopyGrantStateFault, + InvalidSubnet, + InvalidSubscriptionStateFault, + InvalidTableRestoreArgumentFault, + InvalidTagFault, + InvalidUsageLimitFault, + InvalidVPCNetworkStateFault, + Ipv6CidrBlockNotFoundFault, + LimitExceededFault, + NumberOfNodesPerClusterLimitExceededFault, + NumberOfNodesQuotaExceededFault, + PartnerNotFoundFault, + RedshiftIdcApplicationAlreadyExistsFault, + RedshiftIdcApplicationNotExistsFault, + RedshiftIdcApplicationQuotaExceededFault, + RedshiftInvalidParameterFault, + ReservedNodeAlreadyExistsFault, + ReservedNodeAlreadyMigratedFault, + ReservedNodeExchangeNotFoundFault, + ReservedNodeNotFoundFault, + ReservedNodeOfferingNotFoundFault, + ReservedNodeQuotaExceededFault, + ResizeNotFoundFault, + ResourceNotFoundFault, + ScheduledActionAlreadyExistsFault, + ScheduledActionNotFoundFault, + ScheduledActionQuotaExceededFault, + ScheduledActionTypeUnsupportedFault, + ScheduleDefinitionTypeUnsupportedFault, + SnapshotCopyAlreadyDisabledFault, + SnapshotCopyAlreadyEnabledFault, + SnapshotCopyDisabledFault, + SnapshotCopyGrantAlreadyExistsFault, + SnapshotCopyGrantNotFoundFault, + SnapshotCopyGrantQuotaExceededFault, + SnapshotScheduleAlreadyExistsFault, + SnapshotScheduleNotFoundFault, + SnapshotScheduleQuotaExceededFault, + SnapshotScheduleUpdateInProgressFault, + SNSInvalidTopicFault, + SNSNoAuthorizationFault, + SNSTopicArnNotFoundFault, + SourceNotFoundFault, + SubnetAlreadyInUse, + SubscriptionAlreadyExistFault, + SubscriptionCategoryNotFoundFault, + SubscriptionEventIdNotFoundFault, + SubscriptionNotFoundFault, + SubscriptionSeverityNotFoundFault, + TableLimitExceededFault, + TableRestoreNotFoundFault, + TagLimitExceededFault, + UnauthorizedOperation, + UnauthorizedPartnerIntegrationFault, + UnknownSnapshotCopyRegionFault, + UnsupportedOperationFault, + UnsupportedOptionFault, + UsageLimitAlreadyExistsFault, + UsageLimitNotFoundFault, RedshiftServiceException, waitForClusterAvailable, waitForClusterDeleted, diff --git a/clients/client-rekognition/src/schemas/schemas_0.ts b/clients/client-rekognition/src/schemas/schemas_0.ts index a50972a3ec11..38ea3807e0bc 100644 --- a/clients/client-rekognition/src/schemas/schemas_0.ts +++ b/clients/client-rekognition/src/schemas/schemas_0.ts @@ -2091,7 +2091,6 @@ export var VideoMetadata: StaticStructureSchema = [ ]; export var VideoTooLargeException: StaticErrorSchema = [-3, n0, _VTLE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]]; TypeRegistry.for(n0).registerError(VideoTooLargeException, __VideoTooLargeException); -export var __Unit = "unit" as const; export var RekognitionServiceException: StaticErrorSchema = [-3, _sm, "RekognitionServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(RekognitionServiceException, __RekognitionServiceException); export var Assets: StaticListSchema = [1, n0, _As, 0, () => Asset]; diff --git a/clients/client-rekognition/test/index-objects.spec.mjs b/clients/client-rekognition/test/index-objects.spec.mjs index 7a9ff0daca3a..5f6546403565 100644 --- a/clients/client-rekognition/test/index-objects.spec.mjs +++ b/clients/client-rekognition/test/index-objects.spec.mjs @@ -1,10 +1,12 @@ import { + AccessDeniedException, AssociateFacesCommand, Attribute, BodyPart, CelebrityRecognitionSortBy, ChallengeType, CompareFacesCommand, + ConflictException, ContentClassifier, ContentModerationAggregateBy, ContentModerationSortBy, @@ -57,12 +59,23 @@ import { GetPersonTrackingCommand, GetSegmentDetectionCommand, GetTextDetectionCommand, + HumanLoopQuotaExceededException, + IdempotentParameterMismatchException, + ImageTooLargeException, IndexFacesCommand, + InternalServerError, + InvalidImageFormatException, + InvalidManifestException, + InvalidPaginationTokenException, + InvalidParameterException, + InvalidPolicyRevisionIdException, + InvalidS3ObjectException, KnownGenderType, LabelDetectionAggregateBy, LabelDetectionFeatureName, LabelDetectionSortBy, LandmarkType, + LimitExceededException, ListCollectionsCommand, ListDatasetEntriesCommand, ListDatasetLabelsCommand, @@ -73,6 +86,7 @@ import { ListTagsForResourceCommand, ListUsersCommand, LivenessSessionStatus, + MalformedPolicyDocumentException, MediaAnalysisJobFailureCode, MediaAnalysisJobStatus, OrientationCorrection, @@ -81,6 +95,7 @@ import { ProjectStatus, ProjectVersionStatus, ProtectiveEquipmentType, + ProvisionedThroughputExceededException, PutProjectPolicyCommand, QualityFilter, Reason, @@ -88,11 +103,17 @@ import { Rekognition, RekognitionClient, RekognitionServiceException, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, + ResourceNotReadyException, SearchFacesByImageCommand, SearchFacesCommand, SearchUsersByImageCommand, SearchUsersCommand, SegmentType, + ServiceQuotaExceededException, + SessionNotFoundException, StartCelebrityRecognitionCommand, StartContentModerationCommand, StartFaceDetectionCommand, @@ -111,6 +132,7 @@ import { TagResourceCommand, TechnicalCueType, TextTypes, + ThrottlingException, UnsearchedFaceReason, UnsuccessfulFaceAssociationReason, UnsuccessfulFaceDeletionReason, @@ -121,6 +143,7 @@ import { UserStatus, VideoColorRange, VideoJobStatus, + VideoTooLargeException, paginateDescribeProjectVersions, paginateDescribeProjects, paginateGetCelebrityRecognition, @@ -270,6 +293,29 @@ assert(typeof UserStatus === "object"); assert(typeof VideoColorRange === "object"); assert(typeof VideoJobStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof RekognitionServiceException); +assert(ConflictException.prototype instanceof RekognitionServiceException); +assert(HumanLoopQuotaExceededException.prototype instanceof RekognitionServiceException); +assert(IdempotentParameterMismatchException.prototype instanceof RekognitionServiceException); +assert(ImageTooLargeException.prototype instanceof RekognitionServiceException); +assert(InternalServerError.prototype instanceof RekognitionServiceException); +assert(InvalidImageFormatException.prototype instanceof RekognitionServiceException); +assert(InvalidManifestException.prototype instanceof RekognitionServiceException); +assert(InvalidPaginationTokenException.prototype instanceof RekognitionServiceException); +assert(InvalidParameterException.prototype instanceof RekognitionServiceException); +assert(InvalidPolicyRevisionIdException.prototype instanceof RekognitionServiceException); +assert(InvalidS3ObjectException.prototype instanceof RekognitionServiceException); +assert(LimitExceededException.prototype instanceof RekognitionServiceException); +assert(MalformedPolicyDocumentException.prototype instanceof RekognitionServiceException); +assert(ProvisionedThroughputExceededException.prototype instanceof RekognitionServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof RekognitionServiceException); +assert(ResourceInUseException.prototype instanceof RekognitionServiceException); +assert(ResourceNotFoundException.prototype instanceof RekognitionServiceException); +assert(ResourceNotReadyException.prototype instanceof RekognitionServiceException); +assert(ServiceQuotaExceededException.prototype instanceof RekognitionServiceException); +assert(SessionNotFoundException.prototype instanceof RekognitionServiceException); +assert(ThrottlingException.prototype instanceof RekognitionServiceException); +assert(VideoTooLargeException.prototype instanceof RekognitionServiceException); assert(RekognitionServiceException.prototype instanceof Error); // waiters assert(typeof waitForProjectVersionRunning === "function"); diff --git a/clients/client-rekognition/test/index-types.ts b/clients/client-rekognition/test/index-types.ts index b9fcd614bbfa..35a00de39dac 100644 --- a/clients/client-rekognition/test/index-types.ts +++ b/clients/client-rekognition/test/index-types.ts @@ -571,6 +571,29 @@ export type { Versions, Video, VideoMetadata, + AccessDeniedException, + ConflictException, + HumanLoopQuotaExceededException, + IdempotentParameterMismatchException, + ImageTooLargeException, + InternalServerError, + InvalidImageFormatException, + InvalidManifestException, + InvalidPaginationTokenException, + InvalidParameterException, + InvalidPolicyRevisionIdException, + InvalidS3ObjectException, + LimitExceededException, + MalformedPolicyDocumentException, + ProvisionedThroughputExceededException, + ResourceAlreadyExistsException, + ResourceInUseException, + ResourceNotFoundException, + ResourceNotReadyException, + ServiceQuotaExceededException, + SessionNotFoundException, + ThrottlingException, + VideoTooLargeException, RekognitionServiceException, waitForProjectVersionRunning, waitForProjectVersionTrainingCompleted, diff --git a/clients/client-rekognitionstreaming/src/schemas/schemas_0.ts b/clients/client-rekognitionstreaming/src/schemas/schemas_0.ts index 281cf801c2ff..0e5f331ccbb1 100644 --- a/clients/client-rekognitionstreaming/src/schemas/schemas_0.ts +++ b/clients/client-rekognitionstreaming/src/schemas/schemas_0.ts @@ -211,7 +211,6 @@ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException); export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _C], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var VideoEvent: StaticStructureSchema = [3, n0, _VEi, 0, [_VC, _TM], [21, 1]]; -export var __Unit = "unit" as const; export var RekognitionStreamingServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-rekognitionstreaming/test/index-objects.spec.mjs b/clients/client-rekognitionstreaming/test/index-objects.spec.mjs index ec5e3eed50fd..a71f8e0a6b51 100644 --- a/clients/client-rekognitionstreaming/test/index-objects.spec.mjs +++ b/clients/client-rekognitionstreaming/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ChallengeType, InternalServerException, LightChallengeType, @@ -7,6 +8,7 @@ import { RekognitionStreamingServiceException, ServiceQuotaExceededException, ServiceUnavailableException, + SessionNotFoundException, StartFaceLivenessSessionCommand, ThrottlingException, ValidationException, @@ -21,9 +23,11 @@ assert(typeof StartFaceLivenessSessionCommand === "function"); assert(typeof ChallengeType === "object"); assert(typeof LightChallengeType === "object"); // errors +assert(AccessDeniedException.prototype instanceof RekognitionStreamingServiceException); assert(InternalServerException.prototype instanceof RekognitionStreamingServiceException); assert(ServiceQuotaExceededException.prototype instanceof RekognitionStreamingServiceException); assert(ServiceUnavailableException.prototype instanceof RekognitionStreamingServiceException); +assert(SessionNotFoundException.prototype instanceof RekognitionStreamingServiceException); assert(ThrottlingException.prototype instanceof RekognitionStreamingServiceException); assert(ValidationException.prototype instanceof RekognitionStreamingServiceException); assert(RekognitionStreamingServiceException.prototype instanceof Error); diff --git a/clients/client-rekognitionstreaming/test/index-types.ts b/clients/client-rekognitionstreaming/test/index-types.ts index ec9420794f93..e3d0f4133a31 100644 --- a/clients/client-rekognitionstreaming/test/index-types.ts +++ b/clients/client-rekognitionstreaming/test/index-types.ts @@ -31,9 +31,11 @@ export type { StartFaceLivenessSessionResponse, TargetFace, VideoEvent, + AccessDeniedException, InternalServerException, ServiceQuotaExceededException, ServiceUnavailableException, + SessionNotFoundException, ThrottlingException, ValidationException, RekognitionStreamingServiceException, diff --git a/clients/client-repostspace/test/index-objects.spec.mjs b/clients/client-repostspace/test/index-objects.spec.mjs index e98e6fd30135..b975e318b0c6 100644 --- a/clients/client-repostspace/test/index-objects.spec.mjs +++ b/clients/client-repostspace/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, BatchAddChannelRoleToAccessorsCommand, BatchAddRoleCommand, BatchRemoveChannelRoleFromAccessorsCommand, @@ -6,6 +7,7 @@ import { ChannelRole, ChannelStatus, ConfigurationStatus, + ConflictException, CreateChannelCommand, CreateSpaceCommand, DeleteSpaceCommand, @@ -14,6 +16,7 @@ import { FeatureEnableStatus, GetChannelCommand, GetSpaceCommand, + InternalServerException, ListChannelsCommand, ListSpacesCommand, ListTagsForResourceCommand, @@ -21,13 +24,18 @@ import { Repostspace, RepostspaceClient, RepostspaceServiceException, + ResourceNotFoundException, Role, SendInvitesCommand, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, TierLevel, UntagResourceCommand, UpdateChannelCommand, UpdateSpaceCommand, + ValidationException, + ValidationExceptionReason, VanityDomainStatus, paginateListChannels, paginateListSpaces, @@ -72,8 +80,16 @@ assert(typeof FeatureEnableParameter === "object"); assert(typeof FeatureEnableStatus === "object"); assert(typeof Role === "object"); assert(typeof TierLevel === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VanityDomainStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof RepostspaceServiceException); +assert(ConflictException.prototype instanceof RepostspaceServiceException); +assert(InternalServerException.prototype instanceof RepostspaceServiceException); +assert(ResourceNotFoundException.prototype instanceof RepostspaceServiceException); +assert(ServiceQuotaExceededException.prototype instanceof RepostspaceServiceException); +assert(ThrottlingException.prototype instanceof RepostspaceServiceException); +assert(ValidationException.prototype instanceof RepostspaceServiceException); assert(RepostspaceServiceException.prototype instanceof Error); // waiters assert(typeof waitForChannelCreated === "function"); diff --git a/clients/client-repostspace/test/index-types.ts b/clients/client-repostspace/test/index-types.ts index c448de72d581..d07dca2ca903 100644 --- a/clients/client-repostspace/test/index-types.ts +++ b/clients/client-repostspace/test/index-types.ts @@ -66,6 +66,7 @@ export type { FeatureEnableStatus, Role, TierLevel, + ValidationExceptionReason, VanityDomainStatus, BatchAddChannelRoleToAccessorsInput, BatchAddChannelRoleToAccessorsOutput, @@ -105,6 +106,14 @@ export type { UpdateChannelInput, UpdateChannelOutput, UpdateSpaceInput, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, RepostspaceServiceException, waitForChannelCreated, waitForChannelDeleted, diff --git a/clients/client-resiliencehub/src/schemas/schemas_0.ts b/clients/client-resiliencehub/src/schemas/schemas_0.ts index 4ba5c5982dc6..cb50c47f9b5b 100644 --- a/clients/client-resiliencehub/src/schemas/schemas_0.ts +++ b/clients/client-resiliencehub/src/schemas/schemas_0.ts @@ -1656,7 +1656,6 @@ export var UpdateResiliencyPolicyResponse: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_er]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var ResiliencehubServiceException: StaticErrorSchema = [-3, _sm, "ResiliencehubServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ResiliencehubServiceException, __ResiliencehubServiceException); export var AcceptGroupingRecommendationEntries: StaticListSchema = [ diff --git a/clients/client-resiliencehub/test/index-objects.spec.mjs b/clients/client-resiliencehub/test/index-objects.spec.mjs index 428c1ac0b0db..4c3e500ca658 100644 --- a/clients/client-resiliencehub/test/index-objects.spec.mjs +++ b/clients/client-resiliencehub/test/index-objects.spec.mjs @@ -1,5 +1,6 @@ import { AcceptResourceGroupingRecommendationsCommand, + AccessDeniedException, AddDraftAppVersionResourceMappingsCommand, AlarmType, AppAssessmentScheduleType, @@ -12,6 +13,7 @@ import { ComplianceStatus, ConditionOperatorType, ConfigRecommendationOptimizationType, + ConflictException, CostFrequency, CreateAppCommand, CreateAppVersionAppComponentCommand, @@ -50,6 +52,7 @@ import { GroupingRecommendationStatusType, HaArchitecture, ImportResourcesToDraftAppVersionCommand, + InternalServerException, ListAlarmRecommendationsCommand, ListAppAssessmentComplianceDriftsCommand, ListAppAssessmentResourceDriftsCommand, @@ -91,9 +94,11 @@ import { ResourceImportStatusType, ResourceImportStrategyType, ResourceMappingType, + ResourceNotFoundException, ResourceResolutionStatusType, ResourceSourceType, ResourcesGroupingRecGenStatusType, + ServiceQuotaExceededException, SopServiceType, StartAppAssessmentCommand, StartMetricsExportCommand, @@ -102,12 +107,14 @@ import { TemplateFormat, TestRisk, TestType, + ThrottlingException, UntagResourceCommand, UpdateAppCommand, UpdateAppVersionAppComponentCommand, UpdateAppVersionCommand, UpdateAppVersionResourceCommand, UpdateResiliencyPolicyCommand, + ValidationException, paginateListAlarmRecommendations, paginateListAppAssessmentComplianceDrifts, paginateListAppAssessmentResourceDrifts, @@ -242,6 +249,13 @@ assert(typeof TemplateFormat === "object"); assert(typeof TestRisk === "object"); assert(typeof TestType === "object"); // errors +assert(AccessDeniedException.prototype instanceof ResiliencehubServiceException); +assert(ConflictException.prototype instanceof ResiliencehubServiceException); +assert(InternalServerException.prototype instanceof ResiliencehubServiceException); +assert(ResourceNotFoundException.prototype instanceof ResiliencehubServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ResiliencehubServiceException); +assert(ThrottlingException.prototype instanceof ResiliencehubServiceException); +assert(ValidationException.prototype instanceof ResiliencehubServiceException); assert(ResiliencehubServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAlarmRecommendations === "function"); diff --git a/clients/client-resiliencehub/test/index-types.ts b/clients/client-resiliencehub/test/index-types.ts index 9cddb585fd89..f289c9903ea1 100644 --- a/clients/client-resiliencehub/test/index-types.ts +++ b/clients/client-resiliencehub/test/index-types.ts @@ -416,6 +416,13 @@ export type { UpdateRecommendationStatusRequestEntry, UpdateResiliencyPolicyRequest, UpdateResiliencyPolicyResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ResiliencehubServiceException, paginateListAlarmRecommendations, paginateListAppAssessmentComplianceDrifts, diff --git a/clients/client-resource-explorer-2/test/index-objects.spec.mjs b/clients/client-resource-explorer-2/test/index-objects.spec.mjs index 4f3f9decee74..0df15559bb03 100644 --- a/clients/client-resource-explorer-2/test/index-objects.spec.mjs +++ b/clients/client-resource-explorer-2/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { AWSServiceAccessStatus, + AccessDeniedException, AssociateDefaultViewCommand, BatchGetViewCommand, + ConflictException, CreateIndexCommand, CreateResourceExplorerSetupCommand, CreateViewCommand, @@ -19,6 +21,7 @@ import { GetViewCommand, IndexState, IndexType, + InternalServerException, ListIndexesCommand, ListIndexesForMembersCommand, ListManagedViewsCommand, @@ -33,11 +36,16 @@ import { ResourceExplorer2, ResourceExplorer2Client, ResourceExplorer2ServiceException, + ResourceNotFoundException, SearchCommand, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, + UnauthorizedException, UntagResourceCommand, UpdateIndexTypeCommand, UpdateViewCommand, + ValidationException, paginateGetResourceExplorerSetup, paginateListIndexes, paginateListIndexesForMembers, @@ -93,6 +101,14 @@ assert(typeof IndexState === "object"); assert(typeof IndexType === "object"); assert(typeof OperationStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof ResourceExplorer2ServiceException); +assert(ConflictException.prototype instanceof ResourceExplorer2ServiceException); +assert(InternalServerException.prototype instanceof ResourceExplorer2ServiceException); +assert(ResourceNotFoundException.prototype instanceof ResourceExplorer2ServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ResourceExplorer2ServiceException); +assert(ThrottlingException.prototype instanceof ResourceExplorer2ServiceException); +assert(UnauthorizedException.prototype instanceof ResourceExplorer2ServiceException); +assert(ValidationException.prototype instanceof ResourceExplorer2ServiceException); assert(ResourceExplorer2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetResourceExplorerSetup === "function"); diff --git a/clients/client-resource-explorer-2/test/index-types.ts b/clients/client-resource-explorer-2/test/index-types.ts index faf5d51ae6bc..a8e55b5b53b8 100644 --- a/clients/client-resource-explorer-2/test/index-types.ts +++ b/clients/client-resource-explorer-2/test/index-types.ts @@ -176,8 +176,17 @@ export type { UpdateIndexTypeOutput, UpdateViewInput, UpdateViewOutput, + ValidationExceptionField, View, ViewStatus, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UnauthorizedException, + ValidationException, ResourceExplorer2ServiceException, paginateGetResourceExplorerSetup, paginateListIndexes, diff --git a/clients/client-resource-groups-tagging-api/src/schemas/schemas_0.ts b/clients/client-resource-groups-tagging-api/src/schemas/schemas_0.ts index a4968d2b6dd4..d45c90928dc5 100644 --- a/clients/client-resource-groups-tagging-api/src/schemas/schemas_0.ts +++ b/clients/client-resource-groups-tagging-api/src/schemas/schemas_0.ts @@ -185,7 +185,6 @@ export var ThrottledException: StaticErrorSchema = [-3, n0, _TE, { [_e]: _c }, [ TypeRegistry.for(n0).registerError(ThrottledException, __ThrottledException); export var UntagResourcesInput: StaticStructureSchema = [3, n0, _URI, 0, [_RARNL, _TK], [64 | 0, 64 | 0]]; export var UntagResourcesOutput: StaticStructureSchema = [3, n0, _URO, 0, [_FRM], [() => FailedResourcesMap]]; -export var __Unit = "unit" as const; export var ResourceGroupsTaggingAPIServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-resource-groups-tagging-api/test/index-objects.spec.mjs b/clients/client-resource-groups-tagging-api/test/index-objects.spec.mjs index 48be7499b658..e520f4a98f82 100644 --- a/clients/client-resource-groups-tagging-api/test/index-objects.spec.mjs +++ b/clients/client-resource-groups-tagging-api/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + ConcurrentModificationException, + ConstraintViolationException, DescribeReportCreationCommand, ErrorCode, GetComplianceSummaryCommand, @@ -6,13 +8,17 @@ import { GetTagKeysCommand, GetTagValuesCommand, GroupByAttribute, + InternalServiceException, + InvalidParameterException, ListRequiredTagsCommand, + PaginationTokenExpiredException, ResourceGroupsTaggingAPI, ResourceGroupsTaggingAPIClient, ResourceGroupsTaggingAPIServiceException, StartReportCreationCommand, TagResourcesCommand, TargetIdType, + ThrottledException, UntagResourcesCommand, paginateGetComplianceSummary, paginateGetResources, @@ -39,6 +45,12 @@ assert(typeof ErrorCode === "object"); assert(typeof GroupByAttribute === "object"); assert(typeof TargetIdType === "object"); // errors +assert(ConcurrentModificationException.prototype instanceof ResourceGroupsTaggingAPIServiceException); +assert(ConstraintViolationException.prototype instanceof ResourceGroupsTaggingAPIServiceException); +assert(InternalServiceException.prototype instanceof ResourceGroupsTaggingAPIServiceException); +assert(InvalidParameterException.prototype instanceof ResourceGroupsTaggingAPIServiceException); +assert(PaginationTokenExpiredException.prototype instanceof ResourceGroupsTaggingAPIServiceException); +assert(ThrottledException.prototype instanceof ResourceGroupsTaggingAPIServiceException); assert(ResourceGroupsTaggingAPIServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetComplianceSummary === "function"); diff --git a/clients/client-resource-groups-tagging-api/test/index-types.ts b/clients/client-resource-groups-tagging-api/test/index-types.ts index 8a4e3c50ecc3..617c3a1d8b20 100644 --- a/clients/client-resource-groups-tagging-api/test/index-types.ts +++ b/clients/client-resource-groups-tagging-api/test/index-types.ts @@ -57,6 +57,12 @@ export type { TagResourcesOutput, UntagResourcesInput, UntagResourcesOutput, + ConcurrentModificationException, + ConstraintViolationException, + InternalServiceException, + InvalidParameterException, + PaginationTokenExpiredException, + ThrottledException, ResourceGroupsTaggingAPIServiceException, paginateGetComplianceSummary, paginateGetResources, diff --git a/clients/client-resource-groups/test/index-objects.spec.mjs b/clients/client-resource-groups/test/index-objects.spec.mjs index 76548383fe9d..473ba5651857 100644 --- a/clients/client-resource-groups/test/index-objects.spec.mjs +++ b/clients/client-resource-groups/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + BadRequestException, CancelTagSyncTaskCommand, CreateGroupCommand, DeleteGroupCommand, + ForbiddenException, GetAccountSettingsCommand, GetGroupCommand, GetGroupConfigurationCommand, @@ -15,11 +17,14 @@ import { GroupResourcesCommand, GroupingStatus, GroupingType, + InternalServerErrorException, ListGroupResourcesCommand, ListGroupingStatusesCommand, ListGroupingStatusesFilterName, ListGroupsCommand, ListTagSyncTasksCommand, + MethodNotAllowedException, + NotFoundException, PutGroupConfigurationCommand, QueryErrorCode, QueryType, @@ -32,6 +37,8 @@ import { StartTagSyncTaskCommand, TagCommand, TagSyncTaskStatus, + TooManyRequestsException, + UnauthorizedException, UngroupResourcesCommand, UntagCommand, UpdateAccountSettingsCommand, @@ -85,6 +92,13 @@ assert(typeof ResourceFilterName === "object"); assert(typeof ResourceStatusValue === "object"); assert(typeof TagSyncTaskStatus === "object"); // errors +assert(BadRequestException.prototype instanceof ResourceGroupsServiceException); +assert(ForbiddenException.prototype instanceof ResourceGroupsServiceException); +assert(InternalServerErrorException.prototype instanceof ResourceGroupsServiceException); +assert(MethodNotAllowedException.prototype instanceof ResourceGroupsServiceException); +assert(NotFoundException.prototype instanceof ResourceGroupsServiceException); +assert(TooManyRequestsException.prototype instanceof ResourceGroupsServiceException); +assert(UnauthorizedException.prototype instanceof ResourceGroupsServiceException); assert(ResourceGroupsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListGroupResources === "function"); diff --git a/clients/client-resource-groups/test/index-types.ts b/clients/client-resource-groups/test/index-types.ts index c217b0e1b456..438a1b34e9ee 100644 --- a/clients/client-resource-groups/test/index-types.ts +++ b/clients/client-resource-groups/test/index-types.ts @@ -147,6 +147,13 @@ export type { UpdateGroupOutput, UpdateGroupQueryInput, UpdateGroupQueryOutput, + BadRequestException, + ForbiddenException, + InternalServerErrorException, + MethodNotAllowedException, + NotFoundException, + TooManyRequestsException, + UnauthorizedException, ResourceGroupsServiceException, paginateListGroupResources, paginateListGroupingStatuses, diff --git a/clients/client-rolesanywhere/test/index-objects.spec.mjs b/clients/client-rolesanywhere/test/index-objects.spec.mjs index 3233c6f3d377..9d731d26911d 100644 --- a/clients/client-rolesanywhere/test/index-objects.spec.mjs +++ b/clients/client-rolesanywhere/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, CertificateField, CreateProfileCommand, CreateTrustAnchorCommand, @@ -27,15 +28,18 @@ import { PutAttributeMappingCommand, PutNotificationSettingsCommand, ResetNotificationSettingsCommand, + ResourceNotFoundException, RolesAnywhere, RolesAnywhereClient, RolesAnywhereServiceException, TagResourceCommand, + TooManyTagsException, TrustAnchorType, UntagResourceCommand, UpdateCrlCommand, UpdateProfileCommand, UpdateTrustAnchorCommand, + ValidationException, paginateListCrls, paginateListProfiles, paginateListSubjects, @@ -82,6 +86,10 @@ assert(typeof NotificationChannel === "object"); assert(typeof NotificationEvent === "object"); assert(typeof TrustAnchorType === "object"); // errors +assert(AccessDeniedException.prototype instanceof RolesAnywhereServiceException); +assert(ResourceNotFoundException.prototype instanceof RolesAnywhereServiceException); +assert(TooManyTagsException.prototype instanceof RolesAnywhereServiceException); +assert(ValidationException.prototype instanceof RolesAnywhereServiceException); assert(RolesAnywhereServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCrls === "function"); diff --git a/clients/client-rolesanywhere/test/index-types.ts b/clients/client-rolesanywhere/test/index-types.ts index 0967e9e7b67d..3f0b7b1367b6 100644 --- a/clients/client-rolesanywhere/test/index-types.ts +++ b/clients/client-rolesanywhere/test/index-types.ts @@ -144,6 +144,10 @@ export type { UpdateCrlRequest, UpdateProfileRequest, UpdateTrustAnchorRequest, + AccessDeniedException, + ResourceNotFoundException, + TooManyTagsException, + ValidationException, RolesAnywhereServiceException, paginateListCrls, paginateListProfiles, diff --git a/clients/client-route-53-domains/test/index-objects.spec.mjs b/clients/client-route-53-domains/test/index-objects.spec.mjs index f6f0781418ab..220d7845e086 100644 --- a/clients/client-route-53-domains/test/index-objects.spec.mjs +++ b/clients/client-route-53-domains/test/index-objects.spec.mjs @@ -11,7 +11,10 @@ import { DisableDomainAutoRenewCommand, DisableDomainTransferLockCommand, DisassociateDelegationSignerFromDomainCommand, + DnssecLimitExceeded, DomainAvailability, + DomainLimitExceeded, + DuplicateRequest, EnableDomainAutoRenewCommand, EnableDomainTransferLockCommand, ExtraParamName, @@ -19,12 +22,14 @@ import { GetDomainDetailCommand, GetDomainSuggestionsCommand, GetOperationDetailCommand, + InvalidInput, ListDomainsAttributeName, ListDomainsCommand, ListOperationsCommand, ListOperationsSortAttributeName, ListPricesCommand, ListTagsForDomainCommand, + OperationLimitExceeded, OperationStatus, OperationType, Operator, @@ -41,9 +46,11 @@ import { Route53DomainsServiceException, SortOrder, StatusFlag, + TLDRulesViolation, TransferDomainCommand, TransferDomainToAnotherAwsAccountCommand, Transferable, + UnsupportedTLD, UpdateDomainContactCommand, UpdateDomainContactPrivacyCommand, UpdateDomainNameserversCommand, @@ -108,6 +115,13 @@ assert(typeof SortOrder === "object"); assert(typeof StatusFlag === "object"); assert(typeof Transferable === "object"); // errors +assert(DnssecLimitExceeded.prototype instanceof Route53DomainsServiceException); +assert(DomainLimitExceeded.prototype instanceof Route53DomainsServiceException); +assert(DuplicateRequest.prototype instanceof Route53DomainsServiceException); +assert(InvalidInput.prototype instanceof Route53DomainsServiceException); +assert(OperationLimitExceeded.prototype instanceof Route53DomainsServiceException); +assert(TLDRulesViolation.prototype instanceof Route53DomainsServiceException); +assert(UnsupportedTLD.prototype instanceof Route53DomainsServiceException); assert(Route53DomainsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDomains === "function"); diff --git a/clients/client-route-53-domains/test/index-types.ts b/clients/client-route-53-domains/test/index-types.ts index e5d914789f76..9b031eecff38 100644 --- a/clients/client-route-53-domains/test/index-types.ts +++ b/clients/client-route-53-domains/test/index-types.ts @@ -199,6 +199,13 @@ export type { UpdateTagsForDomainResponse, ViewBillingRequest, ViewBillingResponse, + DnssecLimitExceeded, + DomainLimitExceeded, + DuplicateRequest, + InvalidInput, + OperationLimitExceeded, + TLDRulesViolation, + UnsupportedTLD, Route53DomainsServiceException, paginateListDomains, paginateListOperations, diff --git a/clients/client-route-53/src/schemas/schemas_0.ts b/clients/client-route-53/src/schemas/schemas_0.ts index 7bae5a154393..75bbe1c439cd 100644 --- a/clients/client-route-53/src/schemas/schemas_0.ts +++ b/clients/client-route-53/src/schemas/schemas_0.ts @@ -1876,7 +1876,6 @@ export var VPCAssociationAuthorizationNotFound: StaticErrorSchema = [ TypeRegistry.for(n0).registerError(VPCAssociationAuthorizationNotFound, __VPCAssociationAuthorizationNotFound); export var VPCAssociationNotFound: StaticErrorSchema = [-3, n0, _VPCANF, { [_e]: _c, [_hE]: 404 }, [_m], [0]]; TypeRegistry.for(n0).registerError(VPCAssociationNotFound, __VPCAssociationNotFound); -export var __Unit = "unit" as const; export var Route53ServiceException: StaticErrorSchema = [-3, _sm, "Route53ServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(Route53ServiceException, __Route53ServiceException); export var Changes: StaticListSchema = [1, n0, _Cha, 0, [() => Change, { [_xN]: _Ch }]]; diff --git a/clients/client-route-53/test/index-objects.spec.mjs b/clients/client-route-53/test/index-objects.spec.mjs index 12ee3395bef2..46dfb353043a 100644 --- a/clients/client-route-53/test/index-objects.spec.mjs +++ b/clients/client-route-53/test/index-objects.spec.mjs @@ -8,9 +8,16 @@ import { ChangeResourceRecordSetsCommand, ChangeStatus, ChangeTagsForResourceCommand, + CidrBlockInUseException, + CidrCollectionAlreadyExistsException, CidrCollectionChangeAction, + CidrCollectionInUseException, + CidrCollectionVersionMismatchException, CloudWatchRegion, ComparisonOperator, + ConcurrentModification, + ConflictingDomainExists, + ConflictingTypes, CreateCidrCollectionCommand, CreateHealthCheckCommand, CreateHostedZoneCommand, @@ -21,7 +28,13 @@ import { CreateTrafficPolicyInstanceCommand, CreateTrafficPolicyVersionCommand, CreateVPCAssociationAuthorizationCommand, + DNSSECNotFound, DeactivateKeySigningKeyCommand, + DelegationSetAlreadyCreated, + DelegationSetAlreadyReusable, + DelegationSetInUse, + DelegationSetNotAvailable, + DelegationSetNotReusable, DeleteCidrCollectionCommand, DeleteHealthCheckCommand, DeleteHostedZoneCommand, @@ -52,11 +65,38 @@ import { GetTrafficPolicyCommand, GetTrafficPolicyInstanceCommand, GetTrafficPolicyInstanceCountCommand, + HealthCheckAlreadyExists, + HealthCheckInUse, HealthCheckRegion, HealthCheckType, + HealthCheckVersionMismatch, + HostedZoneAlreadyExists, HostedZoneLimitType, + HostedZoneNotEmpty, + HostedZoneNotFound, + HostedZoneNotPrivate, + HostedZonePartiallyDelegated, HostedZoneType, + IncompatibleVersion, + InsufficientCloudWatchLogsResourcePolicy, InsufficientDataHealthStatus, + InvalidArgument, + InvalidChangeBatch, + InvalidDomainName, + InvalidInput, + InvalidKMSArn, + InvalidKeySigningKeyName, + InvalidKeySigningKeyStatus, + InvalidPaginationToken, + InvalidSigningStatus, + InvalidTrafficPolicyDocument, + InvalidVPCId, + KeySigningKeyAlreadyExists, + KeySigningKeyInParentDSRecord, + KeySigningKeyInUse, + KeySigningKeyWithActiveStatusNotFound, + LastVPCAssociation, + LimitsExceeded, ListCidrBlocksCommand, ListCidrCollectionsCommand, ListCidrLocationsCommand, @@ -76,6 +116,22 @@ import { ListTrafficPolicyInstancesCommand, ListTrafficPolicyVersionsCommand, ListVPCAssociationAuthorizationsCommand, + NoSuchChange, + NoSuchCidrCollectionException, + NoSuchCidrLocationException, + NoSuchCloudWatchLogsLogGroup, + NoSuchDelegationSet, + NoSuchGeoLocation, + NoSuchHealthCheck, + NoSuchHostedZone, + NoSuchKeySigningKey, + NoSuchQueryLoggingConfig, + NoSuchTrafficPolicy, + NoSuchTrafficPolicyInstance, + NotAuthorizedException, + PriorRequestNotComplete, + PublicZoneVPCAssociation, + QueryLoggingConfigAlreadyExists, RRType, ResettableElementName, ResourceRecordSetFailover, @@ -87,11 +143,24 @@ import { Statistic, TagResourceType, TestDNSAnswerCommand, + ThrottlingException, + TooManyHealthChecks, + TooManyHostedZones, + TooManyKeySigningKeys, + TooManyTrafficPolicies, + TooManyTrafficPolicyInstances, + TooManyTrafficPolicyVersionsForCurrentPolicy, + TooManyVPCAssociationAuthorizations, + TrafficPolicyAlreadyExists, + TrafficPolicyInUse, + TrafficPolicyInstanceAlreadyExists, UpdateHealthCheckCommand, UpdateHostedZoneCommentCommand, UpdateHostedZoneFeaturesCommand, UpdateTrafficPolicyCommentCommand, UpdateTrafficPolicyInstanceCommand, + VPCAssociationAuthorizationNotFound, + VPCAssociationNotFound, VPCRegion, paginateListCidrBlocks, paginateListCidrCollections, @@ -200,6 +269,75 @@ assert(typeof Statistic === "object"); assert(typeof TagResourceType === "object"); assert(typeof VPCRegion === "object"); // errors +assert(CidrBlockInUseException.prototype instanceof Route53ServiceException); +assert(CidrCollectionAlreadyExistsException.prototype instanceof Route53ServiceException); +assert(CidrCollectionInUseException.prototype instanceof Route53ServiceException); +assert(CidrCollectionVersionMismatchException.prototype instanceof Route53ServiceException); +assert(ConcurrentModification.prototype instanceof Route53ServiceException); +assert(ConflictingDomainExists.prototype instanceof Route53ServiceException); +assert(ConflictingTypes.prototype instanceof Route53ServiceException); +assert(DelegationSetAlreadyCreated.prototype instanceof Route53ServiceException); +assert(DelegationSetAlreadyReusable.prototype instanceof Route53ServiceException); +assert(DelegationSetInUse.prototype instanceof Route53ServiceException); +assert(DelegationSetNotAvailable.prototype instanceof Route53ServiceException); +assert(DelegationSetNotReusable.prototype instanceof Route53ServiceException); +assert(DNSSECNotFound.prototype instanceof Route53ServiceException); +assert(HealthCheckAlreadyExists.prototype instanceof Route53ServiceException); +assert(HealthCheckInUse.prototype instanceof Route53ServiceException); +assert(HealthCheckVersionMismatch.prototype instanceof Route53ServiceException); +assert(HostedZoneAlreadyExists.prototype instanceof Route53ServiceException); +assert(HostedZoneNotEmpty.prototype instanceof Route53ServiceException); +assert(HostedZoneNotFound.prototype instanceof Route53ServiceException); +assert(HostedZoneNotPrivate.prototype instanceof Route53ServiceException); +assert(HostedZonePartiallyDelegated.prototype instanceof Route53ServiceException); +assert(IncompatibleVersion.prototype instanceof Route53ServiceException); +assert(InsufficientCloudWatchLogsResourcePolicy.prototype instanceof Route53ServiceException); +assert(InvalidArgument.prototype instanceof Route53ServiceException); +assert(InvalidChangeBatch.prototype instanceof Route53ServiceException); +assert(InvalidDomainName.prototype instanceof Route53ServiceException); +assert(InvalidInput.prototype instanceof Route53ServiceException); +assert(InvalidKeySigningKeyName.prototype instanceof Route53ServiceException); +assert(InvalidKeySigningKeyStatus.prototype instanceof Route53ServiceException); +assert(InvalidKMSArn.prototype instanceof Route53ServiceException); +assert(InvalidPaginationToken.prototype instanceof Route53ServiceException); +assert(InvalidSigningStatus.prototype instanceof Route53ServiceException); +assert(InvalidTrafficPolicyDocument.prototype instanceof Route53ServiceException); +assert(InvalidVPCId.prototype instanceof Route53ServiceException); +assert(KeySigningKeyAlreadyExists.prototype instanceof Route53ServiceException); +assert(KeySigningKeyInParentDSRecord.prototype instanceof Route53ServiceException); +assert(KeySigningKeyInUse.prototype instanceof Route53ServiceException); +assert(KeySigningKeyWithActiveStatusNotFound.prototype instanceof Route53ServiceException); +assert(LastVPCAssociation.prototype instanceof Route53ServiceException); +assert(LimitsExceeded.prototype instanceof Route53ServiceException); +assert(NoSuchChange.prototype instanceof Route53ServiceException); +assert(NoSuchCidrCollectionException.prototype instanceof Route53ServiceException); +assert(NoSuchCidrLocationException.prototype instanceof Route53ServiceException); +assert(NoSuchCloudWatchLogsLogGroup.prototype instanceof Route53ServiceException); +assert(NoSuchDelegationSet.prototype instanceof Route53ServiceException); +assert(NoSuchGeoLocation.prototype instanceof Route53ServiceException); +assert(NoSuchHealthCheck.prototype instanceof Route53ServiceException); +assert(NoSuchHostedZone.prototype instanceof Route53ServiceException); +assert(NoSuchKeySigningKey.prototype instanceof Route53ServiceException); +assert(NoSuchQueryLoggingConfig.prototype instanceof Route53ServiceException); +assert(NoSuchTrafficPolicy.prototype instanceof Route53ServiceException); +assert(NoSuchTrafficPolicyInstance.prototype instanceof Route53ServiceException); +assert(NotAuthorizedException.prototype instanceof Route53ServiceException); +assert(PriorRequestNotComplete.prototype instanceof Route53ServiceException); +assert(PublicZoneVPCAssociation.prototype instanceof Route53ServiceException); +assert(QueryLoggingConfigAlreadyExists.prototype instanceof Route53ServiceException); +assert(ThrottlingException.prototype instanceof Route53ServiceException); +assert(TooManyHealthChecks.prototype instanceof Route53ServiceException); +assert(TooManyHostedZones.prototype instanceof Route53ServiceException); +assert(TooManyKeySigningKeys.prototype instanceof Route53ServiceException); +assert(TooManyTrafficPolicies.prototype instanceof Route53ServiceException); +assert(TooManyTrafficPolicyInstances.prototype instanceof Route53ServiceException); +assert(TooManyTrafficPolicyVersionsForCurrentPolicy.prototype instanceof Route53ServiceException); +assert(TooManyVPCAssociationAuthorizations.prototype instanceof Route53ServiceException); +assert(TrafficPolicyAlreadyExists.prototype instanceof Route53ServiceException); +assert(TrafficPolicyInstanceAlreadyExists.prototype instanceof Route53ServiceException); +assert(TrafficPolicyInUse.prototype instanceof Route53ServiceException); +assert(VPCAssociationAuthorizationNotFound.prototype instanceof Route53ServiceException); +assert(VPCAssociationNotFound.prototype instanceof Route53ServiceException); assert(Route53ServiceException.prototype instanceof Error); // waiters assert(typeof waitForResourceRecordSetsChanged === "function"); diff --git a/clients/client-route-53/test/index-types.ts b/clients/client-route-53/test/index-types.ts index 4f8b5db85997..673f74fcacb8 100644 --- a/clients/client-route-53/test/index-types.ts +++ b/clients/client-route-53/test/index-types.ts @@ -420,6 +420,75 @@ export type { UpdateTrafficPolicyInstanceRequest, UpdateTrafficPolicyInstanceResponse, VPC, + CidrBlockInUseException, + CidrCollectionAlreadyExistsException, + CidrCollectionInUseException, + CidrCollectionVersionMismatchException, + ConcurrentModification, + ConflictingDomainExists, + ConflictingTypes, + DelegationSetAlreadyCreated, + DelegationSetAlreadyReusable, + DelegationSetInUse, + DelegationSetNotAvailable, + DelegationSetNotReusable, + DNSSECNotFound, + HealthCheckAlreadyExists, + HealthCheckInUse, + HealthCheckVersionMismatch, + HostedZoneAlreadyExists, + HostedZoneNotEmpty, + HostedZoneNotFound, + HostedZoneNotPrivate, + HostedZonePartiallyDelegated, + IncompatibleVersion, + InsufficientCloudWatchLogsResourcePolicy, + InvalidArgument, + InvalidChangeBatch, + InvalidDomainName, + InvalidInput, + InvalidKeySigningKeyName, + InvalidKeySigningKeyStatus, + InvalidKMSArn, + InvalidPaginationToken, + InvalidSigningStatus, + InvalidTrafficPolicyDocument, + InvalidVPCId, + KeySigningKeyAlreadyExists, + KeySigningKeyInParentDSRecord, + KeySigningKeyInUse, + KeySigningKeyWithActiveStatusNotFound, + LastVPCAssociation, + LimitsExceeded, + NoSuchChange, + NoSuchCidrCollectionException, + NoSuchCidrLocationException, + NoSuchCloudWatchLogsLogGroup, + NoSuchDelegationSet, + NoSuchGeoLocation, + NoSuchHealthCheck, + NoSuchHostedZone, + NoSuchKeySigningKey, + NoSuchQueryLoggingConfig, + NoSuchTrafficPolicy, + NoSuchTrafficPolicyInstance, + NotAuthorizedException, + PriorRequestNotComplete, + PublicZoneVPCAssociation, + QueryLoggingConfigAlreadyExists, + ThrottlingException, + TooManyHealthChecks, + TooManyHostedZones, + TooManyKeySigningKeys, + TooManyTrafficPolicies, + TooManyTrafficPolicyInstances, + TooManyTrafficPolicyVersionsForCurrentPolicy, + TooManyVPCAssociationAuthorizations, + TrafficPolicyAlreadyExists, + TrafficPolicyInstanceAlreadyExists, + TrafficPolicyInUse, + VPCAssociationAuthorizationNotFound, + VPCAssociationNotFound, Route53ServiceException, waitForResourceRecordSetsChanged, waitUntilResourceRecordSetsChanged, diff --git a/clients/client-route53-recovery-cluster/src/schemas/schemas_0.ts b/clients/client-route53-recovery-cluster/src/schemas/schemas_0.ts index b3336d11ed9a..b17429591c7d 100644 --- a/clients/client-route53-recovery-cluster/src/schemas/schemas_0.ts +++ b/clients/client-route53-recovery-cluster/src/schemas/schemas_0.ts @@ -165,7 +165,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var Route53RecoveryClusterServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-route53-recovery-cluster/test/index-objects.spec.mjs b/clients/client-route53-recovery-cluster/test/index-objects.spec.mjs index 1c0a668398f1..c15ad83ad60c 100644 --- a/clients/client-route53-recovery-cluster/test/index-objects.spec.mjs +++ b/clients/client-route53-recovery-cluster/test/index-objects.spec.mjs @@ -1,12 +1,21 @@ import { + AccessDeniedException, + ConflictException, + EndpointTemporarilyUnavailableException, GetRoutingControlStateCommand, + InternalServerException, ListRoutingControlsCommand, + ResourceNotFoundException, Route53RecoveryCluster, Route53RecoveryClusterClient, Route53RecoveryClusterServiceException, RoutingControlState, + ServiceLimitExceededException, + ThrottlingException, UpdateRoutingControlStateCommand, UpdateRoutingControlStatesCommand, + ValidationException, + ValidationExceptionReason, paginateListRoutingControls, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -20,7 +29,16 @@ assert(typeof UpdateRoutingControlStateCommand === "function"); assert(typeof UpdateRoutingControlStatesCommand === "function"); // enums assert(typeof RoutingControlState === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof Route53RecoveryClusterServiceException); +assert(ConflictException.prototype instanceof Route53RecoveryClusterServiceException); +assert(EndpointTemporarilyUnavailableException.prototype instanceof Route53RecoveryClusterServiceException); +assert(InternalServerException.prototype instanceof Route53RecoveryClusterServiceException); +assert(ResourceNotFoundException.prototype instanceof Route53RecoveryClusterServiceException); +assert(ServiceLimitExceededException.prototype instanceof Route53RecoveryClusterServiceException); +assert(ThrottlingException.prototype instanceof Route53RecoveryClusterServiceException); +assert(ValidationException.prototype instanceof Route53RecoveryClusterServiceException); assert(Route53RecoveryClusterServiceException.prototype instanceof Error); // paginators assert(typeof paginateListRoutingControls === "function"); diff --git a/clients/client-route53-recovery-cluster/test/index-types.ts b/clients/client-route53-recovery-cluster/test/index-types.ts index 4ed5b6596225..7d4e161b4725 100644 --- a/clients/client-route53-recovery-cluster/test/index-types.ts +++ b/clients/client-route53-recovery-cluster/test/index-types.ts @@ -15,6 +15,7 @@ export type { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput, RoutingControlState, + ValidationExceptionReason, GetRoutingControlStateRequest, GetRoutingControlStateResponse, ListRoutingControlsRequest, @@ -25,6 +26,15 @@ export type { UpdateRoutingControlStateResponse, UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + EndpointTemporarilyUnavailableException, + InternalServerException, + ResourceNotFoundException, + ServiceLimitExceededException, + ThrottlingException, + ValidationException, Route53RecoveryClusterServiceException, paginateListRoutingControls, } from "../dist-types/index.d"; diff --git a/clients/client-route53-recovery-control-config/src/schemas/schemas_0.ts b/clients/client-route53-recovery-control-config/src/schemas/schemas_0.ts index d24b843e01a4..3f81dbafbf9b 100644 --- a/clients/client-route53-recovery-control-config/src/schemas/schemas_0.ts +++ b/clients/client-route53-recovery-control-config/src/schemas/schemas_0.ts @@ -455,7 +455,6 @@ export var UpdateSafetyRuleResponse: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [[0, { [_jN]: _m }]]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var Route53RecoveryControlConfigServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-route53-recovery-control-config/test/index-objects.spec.mjs b/clients/client-route53-recovery-control-config/test/index-objects.spec.mjs index 4dc205621dae..5193bcf1c153 100644 --- a/clients/client-route53-recovery-control-config/test/index-objects.spec.mjs +++ b/clients/client-route53-recovery-control-config/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + ConflictException, CreateClusterCommand, CreateControlPanelCommand, CreateRoutingControlCommand, @@ -12,6 +14,7 @@ import { DescribeRoutingControlCommand, DescribeSafetyRuleCommand, GetResourcePolicyCommand, + InternalServerException, ListAssociatedRoute53HealthChecksCommand, ListClustersCommand, ListControlPanelsCommand, @@ -19,17 +22,21 @@ import { ListSafetyRulesCommand, ListTagsForResourceCommand, NetworkType, + ResourceNotFoundException, Route53RecoveryControlConfig, Route53RecoveryControlConfigClient, Route53RecoveryControlConfigServiceException, RuleType, + ServiceQuotaExceededException, Status, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateClusterCommand, UpdateControlPanelCommand, UpdateRoutingControlCommand, UpdateSafetyRuleCommand, + ValidationException, paginateListAssociatedRoute53HealthChecks, paginateListClusters, paginateListControlPanels, @@ -83,6 +90,13 @@ assert(typeof NetworkType === "object"); assert(typeof RuleType === "object"); assert(typeof Status === "object"); // errors +assert(AccessDeniedException.prototype instanceof Route53RecoveryControlConfigServiceException); +assert(ConflictException.prototype instanceof Route53RecoveryControlConfigServiceException); +assert(InternalServerException.prototype instanceof Route53RecoveryControlConfigServiceException); +assert(ResourceNotFoundException.prototype instanceof Route53RecoveryControlConfigServiceException); +assert(ServiceQuotaExceededException.prototype instanceof Route53RecoveryControlConfigServiceException); +assert(ThrottlingException.prototype instanceof Route53RecoveryControlConfigServiceException); +assert(ValidationException.prototype instanceof Route53RecoveryControlConfigServiceException); assert(Route53RecoveryControlConfigServiceException.prototype instanceof Error); // waiters assert(typeof waitForClusterCreated === "function"); diff --git a/clients/client-route53-recovery-control-config/test/index-types.ts b/clients/client-route53-recovery-control-config/test/index-types.ts index bbe3b98835d7..57b005a3275c 100644 --- a/clients/client-route53-recovery-control-config/test/index-types.ts +++ b/clients/client-route53-recovery-control-config/test/index-types.ts @@ -142,6 +142,13 @@ export type { UpdateRoutingControlResponse, UpdateSafetyRuleRequest, UpdateSafetyRuleResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, Route53RecoveryControlConfigServiceException, waitForClusterCreated, waitForClusterDeleted, diff --git a/clients/client-route53-recovery-readiness/test/index-objects.spec.mjs b/clients/client-route53-recovery-readiness/test/index-objects.spec.mjs index c55f2356919f..5ed7988aa803 100644 --- a/clients/client-route53-recovery-readiness/test/index-objects.spec.mjs +++ b/clients/client-route53-recovery-readiness/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + ConflictException, CreateCellCommand, CreateCrossAccountAuthorizationCommand, CreateReadinessCheckCommand, @@ -18,6 +20,7 @@ import { GetRecoveryGroupCommand, GetRecoveryGroupReadinessSummaryCommand, GetResourceSetCommand, + InternalServerException, ListCellsCommand, ListCrossAccountAuthorizationsCommand, ListReadinessChecksCommand, @@ -26,15 +29,18 @@ import { ListRulesCommand, ListTagsForResourcesCommand, Readiness, + ResourceNotFoundException, Route53RecoveryReadiness, Route53RecoveryReadinessClient, Route53RecoveryReadinessServiceException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateCellCommand, UpdateReadinessCheckCommand, UpdateRecoveryGroupCommand, UpdateResourceSetCommand, + ValidationException, paginateGetCellReadinessSummary, paginateGetReadinessCheckResourceStatus, paginateGetReadinessCheckStatus, @@ -86,6 +92,12 @@ assert(typeof UpdateResourceSetCommand === "function"); // enums assert(typeof Readiness === "object"); // errors +assert(AccessDeniedException.prototype instanceof Route53RecoveryReadinessServiceException); +assert(ConflictException.prototype instanceof Route53RecoveryReadinessServiceException); +assert(InternalServerException.prototype instanceof Route53RecoveryReadinessServiceException); +assert(ResourceNotFoundException.prototype instanceof Route53RecoveryReadinessServiceException); +assert(ThrottlingException.prototype instanceof Route53RecoveryReadinessServiceException); +assert(ValidationException.prototype instanceof Route53RecoveryReadinessServiceException); assert(Route53RecoveryReadinessServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetCellReadinessSummary === "function"); diff --git a/clients/client-route53-recovery-readiness/test/index-types.ts b/clients/client-route53-recovery-readiness/test/index-types.ts index 6c79aff008ad..8298cc8ea422 100644 --- a/clients/client-route53-recovery-readiness/test/index-types.ts +++ b/clients/client-route53-recovery-readiness/test/index-types.ts @@ -173,6 +173,12 @@ export type { UpdateRecoveryGroupResponse, UpdateResourceSetRequest, UpdateResourceSetResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, Route53RecoveryReadinessServiceException, paginateGetCellReadinessSummary, paginateGetReadinessCheckResourceStatus, diff --git a/clients/client-route53globalresolver/src/schemas/schemas_0.ts b/clients/client-route53globalresolver/src/schemas/schemas_0.ts index 2b27a922bf54..bbecc6c4f754 100644 --- a/clients/client-route53globalresolver/src/schemas/schemas_0.ts +++ b/clients/client-route53globalresolver/src/schemas/schemas_0.ts @@ -979,7 +979,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var Route53GlobalResolverServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-route53globalresolver/test/index-objects.spec.mjs b/clients/client-route53globalresolver/test/index-objects.spec.mjs index e0e57ba674e7..ed8b6375976a 100644 --- a/clients/client-route53globalresolver/test/index-objects.spec.mjs +++ b/clients/client-route53globalresolver/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AssociateHostedZoneCommand, BatchCreateFirewallRuleCommand, BatchDeleteFirewallRuleCommand, @@ -6,6 +7,7 @@ import { BlockOverrideDnsQueryType, CRResourceStatus, ConfidenceThreshold, + ConflictException, CreateAccessSourceCommand, CreateAccessTokenCommand, CreateDNSViewCommand, @@ -38,6 +40,7 @@ import { GetManagedFirewallDomainListCommand, HostedZoneAssociationStatus, ImportFirewallDomainsCommand, + InternalServerException, IpAddressType, ListAccessSourcesCommand, ListAccessTokensCommand, @@ -50,10 +53,13 @@ import { ListManagedFirewallDomainListsCommand, ListTagsForResourceCommand, ProfileResourceStatus, + ResourceNotFoundException, Route53GlobalResolver, Route53GlobalResolverClient, Route53GlobalResolverServiceException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, TokenStatus, UntagResourceCommand, UpdateAccessSourceCommand, @@ -63,6 +69,8 @@ import { UpdateFirewallRuleCommand, UpdateGlobalResolverCommand, UpdateHostedZoneAssociationCommand, + ValidationException, + ValidationExceptionReason, paginateListAccessSources, paginateListAccessTokens, paginateListDNSViews, @@ -140,7 +148,15 @@ assert(typeof HostedZoneAssociationStatus === "object"); assert(typeof IpAddressType === "object"); assert(typeof ProfileResourceStatus === "object"); assert(typeof TokenStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof Route53GlobalResolverServiceException); +assert(ConflictException.prototype instanceof Route53GlobalResolverServiceException); +assert(InternalServerException.prototype instanceof Route53GlobalResolverServiceException); +assert(ResourceNotFoundException.prototype instanceof Route53GlobalResolverServiceException); +assert(ServiceQuotaExceededException.prototype instanceof Route53GlobalResolverServiceException); +assert(ThrottlingException.prototype instanceof Route53GlobalResolverServiceException); +assert(ValidationException.prototype instanceof Route53GlobalResolverServiceException); assert(Route53GlobalResolverServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccessSources === "function"); diff --git a/clients/client-route53globalresolver/test/index-types.ts b/clients/client-route53globalresolver/test/index-types.ts index 08cce088e525..93891b56a8b5 100644 --- a/clients/client-route53globalresolver/test/index-types.ts +++ b/clients/client-route53globalresolver/test/index-types.ts @@ -157,6 +157,7 @@ export type { IpAddressType, ProfileResourceStatus, TokenStatus, + ValidationExceptionReason, AccessSourcesItem, AccessTokenItem, AssociateHostedZoneInput, @@ -268,6 +269,14 @@ export type { UpdateGlobalResolverOutput, UpdateHostedZoneAssociationInput, UpdateHostedZoneAssociationOutput, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, Route53GlobalResolverServiceException, paginateListAccessSources, paginateListAccessTokens, diff --git a/clients/client-route53profiles/src/schemas/schemas_0.ts b/clients/client-route53profiles/src/schemas/schemas_0.ts index b4800b514e43..75066121e1d4 100644 --- a/clients/client-route53profiles/src/schemas/schemas_0.ts +++ b/clients/client-route53profiles/src/schemas/schemas_0.ts @@ -334,7 +334,6 @@ export var UpdateProfileResourceAssociationResponse: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var Route53ProfilesServiceException: StaticErrorSchema = [-3, _s, "Route53ProfilesServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(Route53ProfilesServiceException, __Route53ProfilesServiceException); export var ProfileAssociations: StaticListSchema = [1, n0, _PAr, 0, () => ProfileAssociation]; diff --git a/clients/client-route53profiles/test/index-objects.spec.mjs b/clients/client-route53profiles/test/index-objects.spec.mjs index 536940e9b208..04c838f999d0 100644 --- a/clients/client-route53profiles/test/index-objects.spec.mjs +++ b/clients/client-route53profiles/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, AssociateProfileCommand, AssociateResourceToProfileCommand, + ConflictException, CreateProfileCommand, DeleteProfileCommand, DisassociateProfileCommand, @@ -8,18 +10,26 @@ import { GetProfileAssociationCommand, GetProfileCommand, GetProfileResourceAssociationCommand, + InternalServiceErrorException, + InvalidNextTokenException, + InvalidParameterException, + LimitExceededException, ListProfileAssociationsCommand, ListProfileResourceAssociationsCommand, ListProfilesCommand, ListTagsForResourceCommand, ProfileStatus, + ResourceExistsException, + ResourceNotFoundException, Route53Profiles, Route53ProfilesClient, Route53ProfilesServiceException, ShareStatus, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateProfileResourceAssociationCommand, + ValidationException, paginateListProfileAssociations, paginateListProfileResourceAssociations, paginateListProfiles, @@ -49,6 +59,16 @@ assert(typeof UpdateProfileResourceAssociationCommand === "function"); assert(typeof ProfileStatus === "object"); assert(typeof ShareStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof Route53ProfilesServiceException); +assert(ConflictException.prototype instanceof Route53ProfilesServiceException); +assert(InternalServiceErrorException.prototype instanceof Route53ProfilesServiceException); +assert(InvalidNextTokenException.prototype instanceof Route53ProfilesServiceException); +assert(InvalidParameterException.prototype instanceof Route53ProfilesServiceException); +assert(LimitExceededException.prototype instanceof Route53ProfilesServiceException); +assert(ResourceExistsException.prototype instanceof Route53ProfilesServiceException); +assert(ResourceNotFoundException.prototype instanceof Route53ProfilesServiceException); +assert(ThrottlingException.prototype instanceof Route53ProfilesServiceException); +assert(ValidationException.prototype instanceof Route53ProfilesServiceException); assert(Route53ProfilesServiceException.prototype instanceof Error); // paginators assert(typeof paginateListProfileAssociations === "function"); diff --git a/clients/client-route53profiles/test/index-types.ts b/clients/client-route53profiles/test/index-types.ts index 5e1d3c0ed124..5c0c0e07527f 100644 --- a/clients/client-route53profiles/test/index-types.ts +++ b/clients/client-route53profiles/test/index-types.ts @@ -89,6 +89,16 @@ export type { UntagResourceResponse, UpdateProfileResourceAssociationRequest, UpdateProfileResourceAssociationResponse, + AccessDeniedException, + ConflictException, + InternalServiceErrorException, + InvalidNextTokenException, + InvalidParameterException, + LimitExceededException, + ResourceExistsException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, Route53ProfilesServiceException, paginateListProfileAssociations, paginateListProfileResourceAssociations, diff --git a/clients/client-route53resolver/src/schemas/schemas_0.ts b/clients/client-route53resolver/src/schemas/schemas_0.ts index 4f4778e610e3..b8df44ef4374 100644 --- a/clients/client-route53resolver/src/schemas/schemas_0.ts +++ b/clients/client-route53resolver/src/schemas/schemas_0.ts @@ -1088,7 +1088,6 @@ export var UpdateResolverRuleRequest: StaticStructureSchema = [ export var UpdateResolverRuleResponse: StaticStructureSchema = [3, n0, _URRRp, 0, [_RR], [() => ResolverRule]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var Route53ResolverServiceException: StaticErrorSchema = [-3, _s, "Route53ResolverServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(Route53ResolverServiceException, __Route53ResolverServiceException); export var Filters: StaticListSchema = [1, n0, _Fi, 0, () => Filter]; diff --git a/clients/client-route53resolver/test/index-objects.spec.mjs b/clients/client-route53resolver/test/index-objects.spec.mjs index eeacd6e93eaf..c0ec99fda357 100644 --- a/clients/client-route53resolver/test/index-objects.spec.mjs +++ b/clients/client-route53resolver/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, Action, AssociateFirewallRuleGroupCommand, AssociateResolverEndpointIpAddressCommand, @@ -8,6 +9,7 @@ import { BlockOverrideDnsType, BlockResponse, ConfidenceThreshold, + ConflictException, CreateFirewallDomainListCommand, CreateFirewallRuleCommand, CreateFirewallRuleGroupCommand, @@ -50,7 +52,14 @@ import { GetResolverRuleCommand, GetResolverRulePolicyCommand, ImportFirewallDomainsCommand, + InternalServiceErrorException, + InvalidNextTokenException, + InvalidParameterException, + InvalidPolicyDocument, + InvalidRequestException, + InvalidTagException, IpAddressStatus, + LimitExceededException, ListFirewallConfigsCommand, ListFirewallDomainListsCommand, ListFirewallDomainsCommand, @@ -83,13 +92,20 @@ import { ResolverQueryLogConfigStatus, ResolverRuleAssociationStatus, ResolverRuleStatus, + ResourceExistsException, + ResourceInUseException, + ResourceNotFoundException, + ResourceUnavailableException, Route53Resolver, Route53ResolverClient, Route53ResolverServiceException, RuleTypeOption, + ServiceQuotaExceededException, ShareStatus, SortOrder, TagResourceCommand, + ThrottlingException, + UnknownResourceException, UntagResourceCommand, UpdateFirewallConfigCommand, UpdateFirewallDomainsCommand, @@ -101,6 +117,7 @@ import { UpdateResolverEndpointCommand, UpdateResolverRuleCommand, Validation, + ValidationException, paginateListFirewallConfigs, paginateListFirewallDomainLists, paginateListFirewallDomains, @@ -224,6 +241,23 @@ assert(typeof ShareStatus === "object"); assert(typeof SortOrder === "object"); assert(typeof Validation === "object"); // errors +assert(AccessDeniedException.prototype instanceof Route53ResolverServiceException); +assert(ConflictException.prototype instanceof Route53ResolverServiceException); +assert(InternalServiceErrorException.prototype instanceof Route53ResolverServiceException); +assert(InvalidNextTokenException.prototype instanceof Route53ResolverServiceException); +assert(InvalidParameterException.prototype instanceof Route53ResolverServiceException); +assert(InvalidPolicyDocument.prototype instanceof Route53ResolverServiceException); +assert(InvalidRequestException.prototype instanceof Route53ResolverServiceException); +assert(InvalidTagException.prototype instanceof Route53ResolverServiceException); +assert(LimitExceededException.prototype instanceof Route53ResolverServiceException); +assert(ResourceExistsException.prototype instanceof Route53ResolverServiceException); +assert(ResourceInUseException.prototype instanceof Route53ResolverServiceException); +assert(ResourceNotFoundException.prototype instanceof Route53ResolverServiceException); +assert(ResourceUnavailableException.prototype instanceof Route53ResolverServiceException); +assert(ServiceQuotaExceededException.prototype instanceof Route53ResolverServiceException); +assert(ThrottlingException.prototype instanceof Route53ResolverServiceException); +assert(UnknownResourceException.prototype instanceof Route53ResolverServiceException); +assert(ValidationException.prototype instanceof Route53ResolverServiceException); assert(Route53ResolverServiceException.prototype instanceof Error); // paginators assert(typeof paginateListFirewallConfigs === "function"); diff --git a/clients/client-route53resolver/test/index-types.ts b/clients/client-route53resolver/test/index-types.ts index 54fed72f8319..b16de2a490da 100644 --- a/clients/client-route53resolver/test/index-types.ts +++ b/clients/client-route53resolver/test/index-types.ts @@ -396,6 +396,23 @@ export type { UpdateResolverEndpointResponse, UpdateResolverRuleRequest, UpdateResolverRuleResponse, + AccessDeniedException, + ConflictException, + InternalServiceErrorException, + InvalidNextTokenException, + InvalidParameterException, + InvalidPolicyDocument, + InvalidRequestException, + InvalidTagException, + LimitExceededException, + ResourceExistsException, + ResourceInUseException, + ResourceNotFoundException, + ResourceUnavailableException, + ServiceQuotaExceededException, + ThrottlingException, + UnknownResourceException, + ValidationException, Route53ResolverServiceException, paginateListFirewallConfigs, paginateListFirewallDomainLists, diff --git a/clients/client-rtbfabric/src/schemas/schemas_0.ts b/clients/client-rtbfabric/src/schemas/schemas_0.ts index c387473a420d..2208adfce3ce 100644 --- a/clients/client-rtbfabric/src/schemas/schemas_0.ts +++ b/clients/client-rtbfabric/src/schemas/schemas_0.ts @@ -654,7 +654,6 @@ export var UpdateResponderGatewayRequest: StaticStructureSchema = [ export var UpdateResponderGatewayResponse: StaticStructureSchema = [3, n0, _URGRpda, 0, [_gI, _s], [0, 0]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var RTBFabricServiceException: StaticErrorSchema = [-3, _sm, "RTBFabricServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(RTBFabricServiceException, __RTBFabricServiceException); export var AutoScalingGroupNameList = 64 | 0; diff --git a/clients/client-rtbfabric/test/index-objects.spec.mjs b/clients/client-rtbfabric/test/index-objects.spec.mjs index a80146ccb6ca..95e87ef4048d 100644 --- a/clients/client-rtbfabric/test/index-objects.spec.mjs +++ b/clients/client-rtbfabric/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { AcceptLinkCommand, + AccessDeniedException, + ConflictException, CreateInboundExternalLinkCommand, CreateLinkCommand, CreateOutboundExternalLinkCommand, @@ -16,6 +18,7 @@ import { GetOutboundExternalLinkCommand, GetRequesterGatewayCommand, GetResponderGatewayCommand, + InternalServerException, LinkDirection, LinkStatus, ListLinksCommand, @@ -28,15 +31,19 @@ import { RTBFabricServiceException, RejectLinkCommand, RequesterGatewayStatus, + ResourceNotFoundException, ResponderErrorMaskingAction, ResponderErrorMaskingLoggingType, ResponderGatewayStatus, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateLinkCommand, UpdateLinkModuleFlowCommand, UpdateRequesterGatewayCommand, UpdateResponderGatewayCommand, + ValidationException, paginateListLinks, paginateListRequesterGateways, paginateListResponderGateways, @@ -99,6 +106,13 @@ assert(typeof ResponderErrorMaskingAction === "object"); assert(typeof ResponderErrorMaskingLoggingType === "object"); assert(typeof ResponderGatewayStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof RTBFabricServiceException); +assert(ConflictException.prototype instanceof RTBFabricServiceException); +assert(InternalServerException.prototype instanceof RTBFabricServiceException); +assert(ResourceNotFoundException.prototype instanceof RTBFabricServiceException); +assert(ServiceQuotaExceededException.prototype instanceof RTBFabricServiceException); +assert(ThrottlingException.prototype instanceof RTBFabricServiceException); +assert(ValidationException.prototype instanceof RTBFabricServiceException); assert(RTBFabricServiceException.prototype instanceof Error); // waiters assert(typeof waitForInboundExternalLinkActive === "function"); diff --git a/clients/client-rtbfabric/test/index-types.ts b/clients/client-rtbfabric/test/index-types.ts index f72b6c064694..32598dffa2ea 100644 --- a/clients/client-rtbfabric/test/index-types.ts +++ b/clients/client-rtbfabric/test/index-types.ts @@ -165,6 +165,13 @@ export type { UpdateRequesterGatewayResponse, UpdateResponderGatewayRequest, UpdateResponderGatewayResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, RTBFabricServiceException, waitForInboundExternalLinkActive, waitForLinkAccepted, diff --git a/clients/client-rum/test/index-objects.spec.mjs b/clients/client-rum/test/index-objects.spec.mjs index 83a2a05900de..6faa2e6010f4 100644 --- a/clients/client-rum/test/index-objects.spec.mjs +++ b/clients/client-rum/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, AppMonitorPlatform, BatchCreateRumMetricDefinitionsCommand, BatchDeleteRumMetricDefinitionsCommand, BatchGetRumMetricDefinitionsCommand, + ConflictException, CreateAppMonitorCommand, CustomEventsStatus, DeleteAppMonitorCommand, @@ -12,22 +14,31 @@ import { GetAppMonitorCommand, GetAppMonitorDataCommand, GetResourcePolicyCommand, + InternalServerException, + InvalidPolicyRevisionIdException, ListAppMonitorsCommand, ListRumMetricsDestinationsCommand, ListTagsForResourceCommand, + MalformedPolicyDocumentException, MetricDestination, + PolicyNotFoundException, + PolicySizeLimitExceededException, PutResourcePolicyCommand, PutRumEventsCommand, PutRumMetricsDestinationCommand, RUM, RUMClient, RUMServiceException, + ResourceNotFoundException, + ServiceQuotaExceededException, StateEnum, TagResourceCommand, Telemetry, + ThrottlingException, UntagResourceCommand, UpdateAppMonitorCommand, UpdateRumMetricDefinitionCommand, + ValidationException, paginateBatchGetRumMetricDefinitions, paginateGetAppMonitorData, paginateListAppMonitors, @@ -66,6 +77,17 @@ assert(typeof MetricDestination === "object"); assert(typeof StateEnum === "object"); assert(typeof Telemetry === "object"); // errors +assert(AccessDeniedException.prototype instanceof RUMServiceException); +assert(ConflictException.prototype instanceof RUMServiceException); +assert(InternalServerException.prototype instanceof RUMServiceException); +assert(InvalidPolicyRevisionIdException.prototype instanceof RUMServiceException); +assert(MalformedPolicyDocumentException.prototype instanceof RUMServiceException); +assert(PolicyNotFoundException.prototype instanceof RUMServiceException); +assert(PolicySizeLimitExceededException.prototype instanceof RUMServiceException); +assert(ResourceNotFoundException.prototype instanceof RUMServiceException); +assert(ServiceQuotaExceededException.prototype instanceof RUMServiceException); +assert(ThrottlingException.prototype instanceof RUMServiceException); +assert(ValidationException.prototype instanceof RUMServiceException); assert(RUMServiceException.prototype instanceof Error); // paginators assert(typeof paginateBatchGetRumMetricDefinitions === "function"); diff --git a/clients/client-rum/test/index-types.ts b/clients/client-rum/test/index-types.ts index ab6f51745ebb..49d97ffebe4b 100644 --- a/clients/client-rum/test/index-types.ts +++ b/clients/client-rum/test/index-types.ts @@ -126,6 +126,17 @@ export type { UpdateRumMetricDefinitionRequest, UpdateRumMetricDefinitionResponse, UserDetails, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidPolicyRevisionIdException, + MalformedPolicyDocumentException, + PolicyNotFoundException, + PolicySizeLimitExceededException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, RUMServiceException, paginateBatchGetRumMetricDefinitions, paginateGetAppMonitorData, diff --git a/clients/client-s3-control/test/index-objects.spec.mjs b/clients/client-s3-control/test/index-objects.spec.mjs index 48920e67c10f..273c8a71993f 100644 --- a/clients/client-s3-control/test/index-objects.spec.mjs +++ b/clients/client-s3-control/test/index-objects.spec.mjs @@ -1,6 +1,9 @@ import { AssociateAccessGrantsIdentityCenterCommand, AsyncOperationName, + BadRequestException, + BucketAlreadyExists, + BucketAlreadyOwnedByYou, BucketCannedACL, BucketLocationConstraint, BucketVersioningStatus, @@ -73,11 +76,16 @@ import { GetStorageLensConfigurationTaggingCommand, GetStorageLensGroupCommand, GranteeType, + IdempotencyException, + InternalServiceException, + InvalidNextTokenException, + InvalidRequestException, JobManifestFieldName, JobManifestFormat, JobReportFormat, JobReportScope, JobStatus, + JobStatusException, ListAccessGrantsCommand, ListAccessGrantsInstancesCommand, ListAccessGrantsLocationsCommand, @@ -96,6 +104,8 @@ import { MetricsStatus, MultiRegionAccessPointStatus, NetworkOrigin, + NoSuchPublicAccessBlockConfiguration, + NotFoundException, ObjectLambdaAccessPointAliasStatus, ObjectLambdaAllowedFeature, ObjectLambdaTransformationConfigurationAction, @@ -144,6 +154,8 @@ import { SseKmsEncryptedObjectsStatus, SubmitMultiRegionAccessPointRoutesCommand, TagResourceCommand, + TooManyRequestsException, + TooManyTagsException, TransitionStorageClass, UntagResourceCommand, UpdateAccessGrantsLocationCommand, @@ -318,6 +330,18 @@ assert(typeof ScopePermission === "object"); assert(typeof SseKmsEncryptedObjectsStatus === "object"); assert(typeof TransitionStorageClass === "object"); // errors +assert(BadRequestException.prototype instanceof S3ControlServiceException); +assert(BucketAlreadyExists.prototype instanceof S3ControlServiceException); +assert(BucketAlreadyOwnedByYou.prototype instanceof S3ControlServiceException); +assert(IdempotencyException.prototype instanceof S3ControlServiceException); +assert(InternalServiceException.prototype instanceof S3ControlServiceException); +assert(InvalidNextTokenException.prototype instanceof S3ControlServiceException); +assert(InvalidRequestException.prototype instanceof S3ControlServiceException); +assert(JobStatusException.prototype instanceof S3ControlServiceException); +assert(NoSuchPublicAccessBlockConfiguration.prototype instanceof S3ControlServiceException); +assert(NotFoundException.prototype instanceof S3ControlServiceException); +assert(TooManyRequestsException.prototype instanceof S3ControlServiceException); +assert(TooManyTagsException.prototype instanceof S3ControlServiceException); assert(S3ControlServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccessGrants === "function"); diff --git a/clients/client-s3-control/test/index-types.ts b/clients/client-s3-control/test/index-types.ts index eb22b928318d..a947cb5e0f06 100644 --- a/clients/client-s3-control/test/index-types.ts +++ b/clients/client-s3-control/test/index-types.ts @@ -646,6 +646,18 @@ export type { UpdateStorageLensGroupRequest, VersioningConfiguration, VpcConfiguration, + BadRequestException, + BucketAlreadyExists, + BucketAlreadyOwnedByYou, + IdempotencyException, + InternalServiceException, + InvalidNextTokenException, + InvalidRequestException, + JobStatusException, + NoSuchPublicAccessBlockConfiguration, + NotFoundException, + TooManyRequestsException, + TooManyTagsException, S3ControlServiceException, paginateListAccessGrants, paginateListAccessGrantsInstances, diff --git a/clients/client-s3/test/index-objects.spec.mjs b/clients/client-s3/test/index-objects.spec.mjs index e44d5ed21b6c..ec6b68bc16a4 100644 --- a/clients/client-s3/test/index-objects.spec.mjs +++ b/clients/client-s3/test/index-objects.spec.mjs @@ -4,6 +4,8 @@ import { ArchiveStatus, BucketAbacStatus, BucketAccelerateStatus, + BucketAlreadyExists, + BucketAlreadyOwnedByYou, BucketCannedACL, BucketLocationConstraint, BucketLogsPermission, @@ -43,6 +45,7 @@ import { DeletePublicAccessBlockCommand, EncodingType, EncryptionType, + EncryptionTypeMismatch, Event, ExistingObjectReplicationStatus, ExpirationState, @@ -84,8 +87,12 @@ import { GetPublicAccessBlockCommand, HeadBucketCommand, HeadObjectCommand, + IdempotencyParameterMismatch, IntelligentTieringAccessTier, IntelligentTieringStatus, + InvalidObjectState, + InvalidRequest, + InvalidWriteOffset, InventoryConfigurationState, InventoryFormat, InventoryFrequency, @@ -108,12 +115,18 @@ import { MFADeleteStatus, MetadataDirective, MetricsStatus, + NoSuchBucket, + NoSuchKey, + NoSuchUpload, + NotFound, + ObjectAlreadyInActiveTierError, ObjectAttributes, ObjectCannedACL, ObjectLockEnabled, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetentionMode, + ObjectNotInActiveTierError, ObjectOwnership, ObjectStorageClass, ObjectVersionStorageClass, @@ -172,6 +185,7 @@ import { TableSseAlgorithm, TaggingDirective, Tier, + TooManyParts, TransitionDefaultMinimumObjectSize, TransitionStorageClass, Type, @@ -378,6 +392,20 @@ assert(typeof TransitionDefaultMinimumObjectSize === "object"); assert(typeof TransitionStorageClass === "object"); assert(typeof Type === "object"); // errors +assert(BucketAlreadyExists.prototype instanceof S3ServiceException); +assert(BucketAlreadyOwnedByYou.prototype instanceof S3ServiceException); +assert(EncryptionTypeMismatch.prototype instanceof S3ServiceException); +assert(IdempotencyParameterMismatch.prototype instanceof S3ServiceException); +assert(InvalidObjectState.prototype instanceof S3ServiceException); +assert(InvalidRequest.prototype instanceof S3ServiceException); +assert(InvalidWriteOffset.prototype instanceof S3ServiceException); +assert(NoSuchBucket.prototype instanceof S3ServiceException); +assert(NoSuchKey.prototype instanceof S3ServiceException); +assert(NoSuchUpload.prototype instanceof S3ServiceException); +assert(NotFound.prototype instanceof S3ServiceException); +assert(ObjectAlreadyInActiveTierError.prototype instanceof S3ServiceException); +assert(ObjectNotInActiveTierError.prototype instanceof S3ServiceException); +assert(TooManyParts.prototype instanceof S3ServiceException); assert(S3ServiceException.prototype instanceof Error); // waiters assert(typeof waitForBucketExists === "function"); diff --git a/clients/client-s3/test/index-types.ts b/clients/client-s3/test/index-types.ts index 0863102b51ac..ff9b20b79f7e 100644 --- a/clients/client-s3/test/index-types.ts +++ b/clients/client-s3/test/index-types.ts @@ -721,6 +721,20 @@ export type { VersioningConfiguration, WebsiteConfiguration, WriteGetObjectResponseRequest, + BucketAlreadyExists, + BucketAlreadyOwnedByYou, + EncryptionTypeMismatch, + IdempotencyParameterMismatch, + InvalidObjectState, + InvalidRequest, + InvalidWriteOffset, + NoSuchBucket, + NoSuchKey, + NoSuchUpload, + NotFound, + ObjectAlreadyInActiveTierError, + ObjectNotInActiveTierError, + TooManyParts, S3ServiceException, waitForBucketExists, waitForBucketNotExists, diff --git a/clients/client-s3outposts/test/index-objects.spec.mjs b/clients/client-s3outposts/test/index-objects.spec.mjs index a6c76be9b0fd..363685552270 100644 --- a/clients/client-s3outposts/test/index-objects.spec.mjs +++ b/clients/client-s3outposts/test/index-objects.spec.mjs @@ -1,14 +1,21 @@ import { + AccessDeniedException, + ConflictException, CreateEndpointCommand, DeleteEndpointCommand, EndpointAccessType, EndpointStatus, + InternalServerException, ListEndpointsCommand, ListOutpostsWithS3Command, ListSharedEndpointsCommand, + OutpostOfflineException, + ResourceNotFoundException, S3Outposts, S3OutpostsClient, S3OutpostsServiceException, + ThrottlingException, + ValidationException, paginateListEndpoints, paginateListOutpostsWithS3, paginateListSharedEndpoints, @@ -27,6 +34,13 @@ assert(typeof ListSharedEndpointsCommand === "function"); assert(typeof EndpointAccessType === "object"); assert(typeof EndpointStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof S3OutpostsServiceException); +assert(ConflictException.prototype instanceof S3OutpostsServiceException); +assert(InternalServerException.prototype instanceof S3OutpostsServiceException); +assert(OutpostOfflineException.prototype instanceof S3OutpostsServiceException); +assert(ResourceNotFoundException.prototype instanceof S3OutpostsServiceException); +assert(ThrottlingException.prototype instanceof S3OutpostsServiceException); +assert(ValidationException.prototype instanceof S3OutpostsServiceException); assert(S3OutpostsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEndpoints === "function"); diff --git a/clients/client-s3outposts/test/index-types.ts b/clients/client-s3outposts/test/index-types.ts index 9d5079df8aeb..7674afa5d954 100644 --- a/clients/client-s3outposts/test/index-types.ts +++ b/clients/client-s3outposts/test/index-types.ts @@ -32,6 +32,13 @@ export type { ListSharedEndpointsResult, NetworkInterface, Outpost, + AccessDeniedException, + ConflictException, + InternalServerException, + OutpostOfflineException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, S3OutpostsServiceException, paginateListEndpoints, paginateListOutpostsWithS3, diff --git a/clients/client-s3tables/test/index-objects.spec.mjs b/clients/client-s3tables/test/index-objects.spec.mjs index 7c9d74c535d4..17d0399af1b2 100644 --- a/clients/client-s3tables/test/index-objects.spec.mjs +++ b/clients/client-s3tables/test/index-objects.spec.mjs @@ -1,4 +1,7 @@ import { + AccessDeniedException, + BadRequestException, + ConflictException, CreateNamespaceCommand, CreateTableBucketCommand, CreateTableCommand, @@ -11,6 +14,7 @@ import { DeleteTableCommand, DeleteTablePolicyCommand, DeleteTableReplicationCommand, + ForbiddenException, GetNamespaceCommand, GetTableBucketCommand, GetTableBucketEncryptionCommand, @@ -31,12 +35,15 @@ import { GetTableReplicationStatusCommand, GetTableStorageClassCommand, IcebergCompactionStrategy, + InternalServerErrorException, JobStatus, ListNamespacesCommand, ListTableBucketsCommand, ListTablesCommand, ListTagsForResourceCommand, MaintenanceStatus, + MethodNotAllowedException, + NotFoundException, OpenTableFormat, PutTableBucketEncryptionCommand, PutTableBucketMaintenanceConfigurationCommand, @@ -63,6 +70,7 @@ import { TableRecordExpirationStatus, TableType, TagResourceCommand, + TooManyRequestsException, UntagResourceCommand, UpdateTableMetadataLocationCommand, paginateListNamespaces, @@ -139,6 +147,14 @@ assert(typeof TableRecordExpirationJobStatus === "object"); assert(typeof TableRecordExpirationStatus === "object"); assert(typeof TableType === "object"); // errors +assert(AccessDeniedException.prototype instanceof S3TablesServiceException); +assert(BadRequestException.prototype instanceof S3TablesServiceException); +assert(ConflictException.prototype instanceof S3TablesServiceException); +assert(ForbiddenException.prototype instanceof S3TablesServiceException); +assert(InternalServerErrorException.prototype instanceof S3TablesServiceException); +assert(MethodNotAllowedException.prototype instanceof S3TablesServiceException); +assert(NotFoundException.prototype instanceof S3TablesServiceException); +assert(TooManyRequestsException.prototype instanceof S3TablesServiceException); assert(S3TablesServiceException.prototype instanceof Error); // paginators assert(typeof paginateListNamespaces === "function"); diff --git a/clients/client-s3tables/test/index-types.ts b/clients/client-s3tables/test/index-types.ts index 1c73b1be54e2..47c52837a0c4 100644 --- a/clients/client-s3tables/test/index-types.ts +++ b/clients/client-s3tables/test/index-types.ts @@ -272,6 +272,14 @@ export type { UntagResourceResponse, UpdateTableMetadataLocationRequest, UpdateTableMetadataLocationResponse, + AccessDeniedException, + BadRequestException, + ConflictException, + ForbiddenException, + InternalServerErrorException, + MethodNotAllowedException, + NotFoundException, + TooManyRequestsException, S3TablesServiceException, paginateListNamespaces, paginateListTableBuckets, diff --git a/clients/client-s3vectors/src/schemas/schemas_0.ts b/clients/client-s3vectors/src/schemas/schemas_0.ts index 42505efbe7c4..eeac9c32ce51 100644 --- a/clients/client-s3vectors/src/schemas/schemas_0.ts +++ b/clients/client-s3vectors/src/schemas/schemas_0.ts @@ -321,7 +321,6 @@ export var VectorBucket: StaticStructureSchema = [ [0, 0, 4, () => EncryptionConfiguration], ]; export var VectorBucketSummary: StaticStructureSchema = [3, n0, _VBS, 0, [_vBN, _vBA, _cT], [0, 0, 4]]; -export var __Unit = "unit" as const; export var S3VectorsServiceException: StaticErrorSchema = [-3, _sm, "S3VectorsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(S3VectorsServiceException, __S3VectorsServiceException); export var DeleteVectorsInputList = 64 | 0; diff --git a/clients/client-s3vectors/test/index-objects.spec.mjs b/clients/client-s3vectors/test/index-objects.spec.mjs index 82cbb127e864..4005f5f4f51f 100644 --- a/clients/client-s3vectors/test/index-objects.spec.mjs +++ b/clients/client-s3vectors/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + ConflictException, CreateIndexCommand, CreateVectorBucketCommand, DataType, @@ -11,19 +13,30 @@ import { GetVectorBucketCommand, GetVectorBucketPolicyCommand, GetVectorsCommand, + InternalServerException, + KmsDisabledException, + KmsInvalidKeyUsageException, + KmsInvalidStateException, + KmsNotFoundException, ListIndexesCommand, ListTagsForResourceCommand, ListVectorBucketsCommand, ListVectorsCommand, + NotFoundException, PutVectorBucketPolicyCommand, PutVectorsCommand, QueryVectorsCommand, + RequestTimeoutException, S3Vectors, S3VectorsClient, S3VectorsServiceException, + ServiceQuotaExceededException, + ServiceUnavailableException, SseType, TagResourceCommand, + TooManyRequestsException, UntagResourceCommand, + ValidationException, paginateListIndexes, paginateListVectorBuckets, paginateListVectors, @@ -57,6 +70,19 @@ assert(typeof DataType === "object"); assert(typeof DistanceMetric === "object"); assert(typeof SseType === "object"); // errors +assert(AccessDeniedException.prototype instanceof S3VectorsServiceException); +assert(ConflictException.prototype instanceof S3VectorsServiceException); +assert(InternalServerException.prototype instanceof S3VectorsServiceException); +assert(KmsDisabledException.prototype instanceof S3VectorsServiceException); +assert(KmsInvalidKeyUsageException.prototype instanceof S3VectorsServiceException); +assert(KmsInvalidStateException.prototype instanceof S3VectorsServiceException); +assert(KmsNotFoundException.prototype instanceof S3VectorsServiceException); +assert(NotFoundException.prototype instanceof S3VectorsServiceException); +assert(RequestTimeoutException.prototype instanceof S3VectorsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof S3VectorsServiceException); +assert(ServiceUnavailableException.prototype instanceof S3VectorsServiceException); +assert(TooManyRequestsException.prototype instanceof S3VectorsServiceException); +assert(ValidationException.prototype instanceof S3VectorsServiceException); assert(S3VectorsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListIndexes === "function"); diff --git a/clients/client-s3vectors/test/index-types.ts b/clients/client-s3vectors/test/index-types.ts index 13f78e53fd3a..fc006103567f 100644 --- a/clients/client-s3vectors/test/index-types.ts +++ b/clients/client-s3vectors/test/index-types.ts @@ -108,9 +108,23 @@ export type { TagResourceOutput, UntagResourceInput, UntagResourceOutput, + ValidationExceptionField, VectorBucket, VectorBucketSummary, VectorData, + AccessDeniedException, + ConflictException, + InternalServerException, + KmsDisabledException, + KmsInvalidKeyUsageException, + KmsInvalidStateException, + KmsNotFoundException, + NotFoundException, + RequestTimeoutException, + ServiceQuotaExceededException, + ServiceUnavailableException, + TooManyRequestsException, + ValidationException, S3VectorsServiceException, paginateListIndexes, paginateListVectorBuckets, diff --git a/clients/client-sagemaker-a2i-runtime/src/schemas/schemas_0.ts b/clients/client-sagemaker-a2i-runtime/src/schemas/schemas_0.ts index 4d05dddc8aab..67a40cb0629e 100644 --- a/clients/client-sagemaker-a2i-runtime/src/schemas/schemas_0.ts +++ b/clients/client-sagemaker-a2i-runtime/src/schemas/schemas_0.ts @@ -126,7 +126,6 @@ export var ThrottlingException: StaticErrorSchema = [-3, n0, _TE, { [_e]: _c, [_ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException); export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var SageMakerA2IRuntimeServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-sagemaker-a2i-runtime/test/index-objects.spec.mjs b/clients/client-sagemaker-a2i-runtime/test/index-objects.spec.mjs index 0048e6b66d75..3c04be30c464 100644 --- a/clients/client-sagemaker-a2i-runtime/test/index-objects.spec.mjs +++ b/clients/client-sagemaker-a2i-runtime/test/index-objects.spec.mjs @@ -1,15 +1,21 @@ import { + ConflictException, ContentClassifier, DeleteHumanLoopCommand, DescribeHumanLoopCommand, HumanLoopStatus, + InternalServerException, ListHumanLoopsCommand, + ResourceNotFoundException, SageMakerA2IRuntime, SageMakerA2IRuntimeClient, SageMakerA2IRuntimeServiceException, + ServiceQuotaExceededException, SortOrder, StartHumanLoopCommand, StopHumanLoopCommand, + ThrottlingException, + ValidationException, paginateListHumanLoops, } from "../dist-cjs/index.js"; import assert from "node:assert"; @@ -27,6 +33,12 @@ assert(typeof ContentClassifier === "object"); assert(typeof HumanLoopStatus === "object"); assert(typeof SortOrder === "object"); // errors +assert(ConflictException.prototype instanceof SageMakerA2IRuntimeServiceException); +assert(InternalServerException.prototype instanceof SageMakerA2IRuntimeServiceException); +assert(ResourceNotFoundException.prototype instanceof SageMakerA2IRuntimeServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SageMakerA2IRuntimeServiceException); +assert(ThrottlingException.prototype instanceof SageMakerA2IRuntimeServiceException); +assert(ValidationException.prototype instanceof SageMakerA2IRuntimeServiceException); assert(SageMakerA2IRuntimeServiceException.prototype instanceof Error); // paginators assert(typeof paginateListHumanLoops === "function"); diff --git a/clients/client-sagemaker-a2i-runtime/test/index-types.ts b/clients/client-sagemaker-a2i-runtime/test/index-types.ts index 06dd011187fa..ca75bbb6491b 100644 --- a/clients/client-sagemaker-a2i-runtime/test/index-types.ts +++ b/clients/client-sagemaker-a2i-runtime/test/index-types.ts @@ -34,6 +34,12 @@ export type { StartHumanLoopResponse, StopHumanLoopRequest, StopHumanLoopResponse, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SageMakerA2IRuntimeServiceException, paginateListHumanLoops, } from "../dist-types/index.d"; diff --git a/clients/client-sagemaker-edge/test/index-objects.spec.mjs b/clients/client-sagemaker-edge/test/index-objects.spec.mjs index 89ad42ec9555..04a3e5a42df0 100644 --- a/clients/client-sagemaker-edge/test/index-objects.spec.mjs +++ b/clients/client-sagemaker-edge/test/index-objects.spec.mjs @@ -5,6 +5,7 @@ import { FailureHandlingPolicy, GetDeploymentsCommand, GetDeviceRegistrationCommand, + InternalServiceException, ModelState, SagemakerEdge, SagemakerEdgeClient, @@ -26,5 +27,6 @@ assert(typeof DeploymentType === "object"); assert(typeof FailureHandlingPolicy === "object"); assert(typeof ModelState === "object"); // errors +assert(InternalServiceException.prototype instanceof SagemakerEdgeServiceException); assert(SagemakerEdgeServiceException.prototype instanceof Error); console.log(`SagemakerEdge index test passed.`); diff --git a/clients/client-sagemaker-edge/test/index-types.ts b/clients/client-sagemaker-edge/test/index-types.ts index 40ec0f5090da..de69f1d8fd28 100644 --- a/clients/client-sagemaker-edge/test/index-types.ts +++ b/clients/client-sagemaker-edge/test/index-types.ts @@ -28,5 +28,6 @@ export type { GetDeviceRegistrationResult, Model, SendHeartbeatRequest, + InternalServiceException, SagemakerEdgeServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-sagemaker-featurestore-runtime/test/index-objects.spec.mjs b/clients/client-sagemaker-featurestore-runtime/test/index-objects.spec.mjs index 84f80803e732..613b74ded49e 100644 --- a/clients/client-sagemaker-featurestore-runtime/test/index-objects.spec.mjs +++ b/clients/client-sagemaker-featurestore-runtime/test/index-objects.spec.mjs @@ -1,15 +1,20 @@ import { + AccessForbidden, BatchGetRecordCommand, DeleteRecordCommand, DeletionMode, ExpirationTimeResponse, GetRecordCommand, + InternalFailure, PutRecordCommand, + ResourceNotFound, SageMakerFeatureStoreRuntime, SageMakerFeatureStoreRuntimeClient, SageMakerFeatureStoreRuntimeServiceException, + ServiceUnavailable, TargetStore, TtlDurationUnit, + ValidationError, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -26,5 +31,10 @@ assert(typeof ExpirationTimeResponse === "object"); assert(typeof TargetStore === "object"); assert(typeof TtlDurationUnit === "object"); // errors +assert(AccessForbidden.prototype instanceof SageMakerFeatureStoreRuntimeServiceException); +assert(InternalFailure.prototype instanceof SageMakerFeatureStoreRuntimeServiceException); +assert(ResourceNotFound.prototype instanceof SageMakerFeatureStoreRuntimeServiceException); +assert(ServiceUnavailable.prototype instanceof SageMakerFeatureStoreRuntimeServiceException); +assert(ValidationError.prototype instanceof SageMakerFeatureStoreRuntimeServiceException); assert(SageMakerFeatureStoreRuntimeServiceException.prototype instanceof Error); console.log(`SageMakerFeatureStoreRuntime index test passed.`); diff --git a/clients/client-sagemaker-featurestore-runtime/test/index-types.ts b/clients/client-sagemaker-featurestore-runtime/test/index-types.ts index bdaeba2b2a81..e2d021387f05 100644 --- a/clients/client-sagemaker-featurestore-runtime/test/index-types.ts +++ b/clients/client-sagemaker-featurestore-runtime/test/index-types.ts @@ -29,5 +29,10 @@ export type { GetRecordResponse, PutRecordRequest, TtlDuration, + AccessForbidden, + InternalFailure, + ResourceNotFound, + ServiceUnavailable, + ValidationError, SageMakerFeatureStoreRuntimeServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-sagemaker-geospatial/test/index-objects.spec.mjs b/clients/client-sagemaker-geospatial/test/index-objects.spec.mjs index cb8026477a5f..1dbfb9a84aa7 100644 --- a/clients/client-sagemaker-geospatial/test/index-objects.spec.mjs +++ b/clients/client-sagemaker-geospatial/test/index-objects.spec.mjs @@ -1,8 +1,10 @@ import { + AccessDeniedException, AlgorithmNameCloudRemoval, AlgorithmNameGeoMosaic, AlgorithmNameResampling, ComparisonOperator, + ConflictException, DataCollectionType, DeleteEarthObservationJobCommand, DeleteVectorEnrichmentJobCommand, @@ -17,6 +19,7 @@ import { GetTileCommand, GetVectorEnrichmentJobCommand, GroupBy, + InternalServerException, ListEarthObservationJobsCommand, ListRasterDataCollectionsCommand, ListTagsForResourceCommand, @@ -24,10 +27,12 @@ import { LogicalOperator, OutputType, PredefinedResolution, + ResourceNotFoundException, SageMakerGeospatial, SageMakerGeospatialClient, SageMakerGeospatialServiceException, SearchRasterDataCollectionCommand, + ServiceQuotaExceededException, SortOrder, StartEarthObservationJobCommand, StartVectorEnrichmentJobCommand, @@ -36,8 +41,10 @@ import { TagResourceCommand, TargetOptions, TemporalStatistics, + ThrottlingException, Unit, UntagResourceCommand, + ValidationException, VectorEnrichmentJobDocumentType, VectorEnrichmentJobErrorType, VectorEnrichmentJobExportErrorType, @@ -100,6 +107,13 @@ assert(typeof VectorEnrichmentJobStatus === "object"); assert(typeof VectorEnrichmentJobType === "object"); assert(typeof ZonalStatistics === "object"); // errors +assert(AccessDeniedException.prototype instanceof SageMakerGeospatialServiceException); +assert(ConflictException.prototype instanceof SageMakerGeospatialServiceException); +assert(InternalServerException.prototype instanceof SageMakerGeospatialServiceException); +assert(ResourceNotFoundException.prototype instanceof SageMakerGeospatialServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SageMakerGeospatialServiceException); +assert(ThrottlingException.prototype instanceof SageMakerGeospatialServiceException); +assert(ValidationException.prototype instanceof SageMakerGeospatialServiceException); assert(SageMakerGeospatialServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEarthObservationJobs === "function"); diff --git a/clients/client-sagemaker-geospatial/test/index-types.ts b/clients/client-sagemaker-geospatial/test/index-types.ts index 8a145f399bdc..6b4afc29ea3a 100644 --- a/clients/client-sagemaker-geospatial/test/index-types.ts +++ b/clients/client-sagemaker-geospatial/test/index-types.ts @@ -179,6 +179,13 @@ export type { ViewSunAzimuthInput, ViewSunElevationInput, ZonalStatisticsConfigInput, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SageMakerGeospatialServiceException, paginateListEarthObservationJobs, paginateListRasterDataCollections, diff --git a/clients/client-sagemaker-metrics/src/schemas/schemas_0.ts b/clients/client-sagemaker-metrics/src/schemas/schemas_0.ts index 86aa4cccd0e3..5cbd73e385b8 100644 --- a/clients/client-sagemaker-metrics/src/schemas/schemas_0.ts +++ b/clients/client-sagemaker-metrics/src/schemas/schemas_0.ts @@ -59,7 +59,6 @@ export var MetricQuery: StaticStructureSchema = [ ]; export var MetricQueryResult: StaticStructureSchema = [3, n0, _MQRe, 0, [_St, _M, _XAV, _MV], [0, 0, 64 | 1, 64 | 1]]; export var RawMetricData: StaticStructureSchema = [3, n0, _RMD, 0, [_MN, _T, _Ste, _V], [0, 4, 1, 1]]; -export var __Unit = "unit" as const; export var SageMakerMetricsServiceException: StaticErrorSchema = [ -3, _s, diff --git a/clients/client-sagemaker-runtime-http2/test/index-objects.spec.mjs b/clients/client-sagemaker-runtime-http2/test/index-objects.spec.mjs index 84bb09fe85c4..80c531d0f525 100644 --- a/clients/client-sagemaker-runtime-http2/test/index-objects.spec.mjs +++ b/clients/client-sagemaker-runtime-http2/test/index-objects.spec.mjs @@ -1,10 +1,14 @@ import { + InputValidationError, + InternalServerError, InternalStreamFailure, InvokeEndpointWithBidirectionalStreamCommand, + ModelError, ModelStreamError, SageMakerRuntimeHTTP2, SageMakerRuntimeHTTP2Client, SageMakerRuntimeHTTP2ServiceException, + ServiceUnavailableError, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -13,7 +17,11 @@ assert(typeof SageMakerRuntimeHTTP2 === "function"); // commands assert(typeof InvokeEndpointWithBidirectionalStreamCommand === "function"); // errors +assert(InputValidationError.prototype instanceof SageMakerRuntimeHTTP2ServiceException); +assert(InternalServerError.prototype instanceof SageMakerRuntimeHTTP2ServiceException); assert(InternalStreamFailure.prototype instanceof SageMakerRuntimeHTTP2ServiceException); +assert(ModelError.prototype instanceof SageMakerRuntimeHTTP2ServiceException); assert(ModelStreamError.prototype instanceof SageMakerRuntimeHTTP2ServiceException); +assert(ServiceUnavailableError.prototype instanceof SageMakerRuntimeHTTP2ServiceException); assert(SageMakerRuntimeHTTP2ServiceException.prototype instanceof Error); console.log(`SageMakerRuntimeHTTP2 index test passed.`); diff --git a/clients/client-sagemaker-runtime-http2/test/index-types.ts b/clients/client-sagemaker-runtime-http2/test/index-types.ts index 23973162d9d8..7ce36e26546e 100644 --- a/clients/client-sagemaker-runtime-http2/test/index-types.ts +++ b/clients/client-sagemaker-runtime-http2/test/index-types.ts @@ -11,7 +11,11 @@ export type { RequestStreamEvent, ResponsePayloadPart, ResponseStreamEvent, + InputValidationError, + InternalServerError, InternalStreamFailure, + ModelError, ModelStreamError, + ServiceUnavailableError, SageMakerRuntimeHTTP2ServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-sagemaker-runtime/test/index-objects.spec.mjs b/clients/client-sagemaker-runtime/test/index-objects.spec.mjs index 483d60da6600..431d2747b799 100644 --- a/clients/client-sagemaker-runtime/test/index-objects.spec.mjs +++ b/clients/client-sagemaker-runtime/test/index-objects.spec.mjs @@ -1,12 +1,18 @@ import { + InternalDependencyException, + InternalFailure, InternalStreamFailure, InvokeEndpointAsyncCommand, InvokeEndpointCommand, InvokeEndpointWithResponseStreamCommand, + ModelError, + ModelNotReadyException, ModelStreamError, SageMakerRuntime, SageMakerRuntimeClient, SageMakerRuntimeServiceException, + ServiceUnavailable, + ValidationError, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -17,7 +23,13 @@ assert(typeof InvokeEndpointCommand === "function"); assert(typeof InvokeEndpointAsyncCommand === "function"); assert(typeof InvokeEndpointWithResponseStreamCommand === "function"); // errors +assert(InternalDependencyException.prototype instanceof SageMakerRuntimeServiceException); +assert(InternalFailure.prototype instanceof SageMakerRuntimeServiceException); assert(InternalStreamFailure.prototype instanceof SageMakerRuntimeServiceException); +assert(ModelError.prototype instanceof SageMakerRuntimeServiceException); +assert(ModelNotReadyException.prototype instanceof SageMakerRuntimeServiceException); assert(ModelStreamError.prototype instanceof SageMakerRuntimeServiceException); +assert(ServiceUnavailable.prototype instanceof SageMakerRuntimeServiceException); +assert(ValidationError.prototype instanceof SageMakerRuntimeServiceException); assert(SageMakerRuntimeServiceException.prototype instanceof Error); console.log(`SageMakerRuntime index test passed.`); diff --git a/clients/client-sagemaker-runtime/test/index-types.ts b/clients/client-sagemaker-runtime/test/index-types.ts index 3dcfe2e38aa9..41e0a1ec4915 100644 --- a/clients/client-sagemaker-runtime/test/index-types.ts +++ b/clients/client-sagemaker-runtime/test/index-types.ts @@ -19,7 +19,13 @@ export type { InvokeEndpointWithResponseStreamOutput, PayloadPart, ResponseStream, + InternalDependencyException, + InternalFailure, InternalStreamFailure, + ModelError, + ModelNotReadyException, ModelStreamError, + ServiceUnavailable, + ValidationError, SageMakerRuntimeServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-sagemaker/test/index-objects.spec.mjs b/clients/client-sagemaker/test/index-objects.spec.mjs index a1d7e7a7829a..81d92a4a7eef 100644 --- a/clients/client-sagemaker/test/index-objects.spec.mjs +++ b/clients/client-sagemaker/test/index-objects.spec.mjs @@ -83,6 +83,7 @@ import { CompleteOnConvergence, CompressionType, ConditionOutcome, + ConflictException, ContainerMode, ContentClassifier, CreateActionCommand, @@ -559,6 +560,9 @@ import { ReservedCapacityType, ResourceCatalogSortBy, ResourceCatalogSortOrder, + ResourceInUse, + ResourceLimitExceeded, + ResourceNotFound, ResourceSharingStrategy, ResourceType, RetentionType, @@ -1555,6 +1559,10 @@ assert(typeof WarmPoolResourceStatus === "object"); assert(typeof WorkforceIpAddressType === "object"); assert(typeof WorkforceStatus === "object"); // errors +assert(ConflictException.prototype instanceof SageMakerServiceException); +assert(ResourceInUse.prototype instanceof SageMakerServiceException); +assert(ResourceLimitExceeded.prototype instanceof SageMakerServiceException); +assert(ResourceNotFound.prototype instanceof SageMakerServiceException); assert(SageMakerServiceException.prototype instanceof Error); // waiters assert(typeof waitForEndpointDeleted === "function"); diff --git a/clients/client-sagemaker/test/index-types.ts b/clients/client-sagemaker/test/index-types.ts index e80148b4fa20..b07611b97b37 100644 --- a/clients/client-sagemaker/test/index-types.ts +++ b/clients/client-sagemaker/test/index-types.ts @@ -2897,6 +2897,10 @@ export type { WorkforceVpcConfigResponse, WorkspaceSettings, Workteam, + ConflictException, + ResourceInUse, + ResourceLimitExceeded, + ResourceNotFound, SageMakerServiceException, waitForEndpointDeleted, waitForEndpointInService, diff --git a/clients/client-savingsplans/src/schemas/schemas_0.ts b/clients/client-savingsplans/src/schemas/schemas_0.ts index a4e6d191a077..259ecdb8e74e 100644 --- a/clients/client-savingsplans/src/schemas/schemas_0.ts +++ b/clients/client-savingsplans/src/schemas/schemas_0.ts @@ -323,7 +323,6 @@ export var ValidationException: StaticErrorSchema = [ [0], ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var SavingsplansServiceException: StaticErrorSchema = [-3, _sm, "SavingsplansServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SavingsplansServiceException, __SavingsplansServiceException); export var CurrencyList = 64 | 0; diff --git a/clients/client-savingsplans/test/index-objects.spec.mjs b/clients/client-savingsplans/test/index-objects.spec.mjs index e0698d5a30f4..04da1a17f268 100644 --- a/clients/client-savingsplans/test/index-objects.spec.mjs +++ b/clients/client-savingsplans/test/index-objects.spec.mjs @@ -6,7 +6,9 @@ import { DescribeSavingsPlansCommand, DescribeSavingsPlansOfferingRatesCommand, DescribeSavingsPlansOfferingsCommand, + InternalServerException, ListTagsForResourceCommand, + ResourceNotFoundException, ReturnSavingsPlanCommand, SavingsPlanOfferingFilterAttribute, SavingsPlanOfferingPropertyKey, @@ -23,8 +25,10 @@ import { Savingsplans, SavingsplansClient, SavingsplansServiceException, + ServiceQuotaExceededException, TagResourceCommand, UntagResourceCommand, + ValidationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -56,5 +60,9 @@ assert(typeof SavingsPlansFilterName === "object"); assert(typeof SavingsPlanState === "object"); assert(typeof SavingsPlanType === "object"); // errors +assert(InternalServerException.prototype instanceof SavingsplansServiceException); +assert(ResourceNotFoundException.prototype instanceof SavingsplansServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SavingsplansServiceException); +assert(ValidationException.prototype instanceof SavingsplansServiceException); assert(SavingsplansServiceException.prototype instanceof Error); console.log(`Savingsplans index test passed.`); diff --git a/clients/client-savingsplans/test/index-types.ts b/clients/client-savingsplans/test/index-types.ts index 171eb96060b5..d9ee04f7255e 100644 --- a/clients/client-savingsplans/test/index-types.ts +++ b/clients/client-savingsplans/test/index-types.ts @@ -77,5 +77,9 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, SavingsplansServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-scheduler/test/index-objects.spec.mjs b/clients/client-scheduler/test/index-objects.spec.mjs index 9fa9eef591a2..22654e60b1fd 100644 --- a/clients/client-scheduler/test/index-objects.spec.mjs +++ b/clients/client-scheduler/test/index-objects.spec.mjs @@ -1,6 +1,7 @@ import { ActionAfterCompletion, AssignPublicIp, + ConflictException, CreateScheduleCommand, CreateScheduleGroupCommand, DeleteScheduleCommand, @@ -8,6 +9,7 @@ import { FlexibleTimeWindowMode, GetScheduleCommand, GetScheduleGroupCommand, + InternalServerException, LaunchType, ListScheduleGroupsCommand, ListSchedulesCommand, @@ -15,14 +17,18 @@ import { PlacementConstraintType, PlacementStrategyType, PropagateTags, + ResourceNotFoundException, ScheduleGroupState, ScheduleState, Scheduler, SchedulerClient, SchedulerServiceException, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateScheduleCommand, + ValidationException, paginateListScheduleGroups, paginateListSchedules, } from "../dist-cjs/index.js"; @@ -54,6 +60,12 @@ assert(typeof PropagateTags === "object"); assert(typeof ScheduleGroupState === "object"); assert(typeof ScheduleState === "object"); // errors +assert(ConflictException.prototype instanceof SchedulerServiceException); +assert(InternalServerException.prototype instanceof SchedulerServiceException); +assert(ResourceNotFoundException.prototype instanceof SchedulerServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SchedulerServiceException); +assert(ThrottlingException.prototype instanceof SchedulerServiceException); +assert(ValidationException.prototype instanceof SchedulerServiceException); assert(SchedulerServiceException.prototype instanceof Error); // paginators assert(typeof paginateListScheduleGroups === "function"); diff --git a/clients/client-scheduler/test/index-types.ts b/clients/client-scheduler/test/index-types.ts index 57bb36cc369d..9e60d31326ab 100644 --- a/clients/client-scheduler/test/index-types.ts +++ b/clients/client-scheduler/test/index-types.ts @@ -90,6 +90,12 @@ export type { UntagResourceOutput, UpdateScheduleInput, UpdateScheduleOutput, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SchedulerServiceException, paginateListScheduleGroups, paginateListSchedules, diff --git a/clients/client-schemas/test/index-objects.spec.mjs b/clients/client-schemas/test/index-objects.spec.mjs index 9d8ec187fb25..62ddf5759306 100644 --- a/clients/client-schemas/test/index-objects.spec.mjs +++ b/clients/client-schemas/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + BadRequestException, CodeGenerationStatus, + ConflictException, CreateDiscovererCommand, CreateRegistryCommand, CreateSchemaCommand, @@ -14,24 +16,32 @@ import { DescribeSchemaCommand, DiscovererState, ExportSchemaCommand, + ForbiddenException, GetCodeBindingSourceCommand, GetDiscoveredSchemaCommand, GetResourcePolicyCommand, + GoneException, + InternalServerErrorException, ListDiscoverersCommand, ListRegistriesCommand, ListSchemaVersionsCommand, ListSchemasCommand, ListTagsForResourceCommand, + NotFoundException, + PreconditionFailedException, PutCodeBindingCommand, PutResourcePolicyCommand, Schemas, SchemasClient, SchemasServiceException, SearchSchemasCommand, + ServiceUnavailableException, StartDiscovererCommand, StopDiscovererCommand, TagResourceCommand, + TooManyRequestsException, Type, + UnauthorizedException, UntagResourceCommand, UpdateDiscovererCommand, UpdateRegistryCommand, @@ -85,6 +95,16 @@ assert(typeof CodeGenerationStatus === "object"); assert(typeof DiscovererState === "object"); assert(typeof Type === "object"); // errors +assert(BadRequestException.prototype instanceof SchemasServiceException); +assert(ConflictException.prototype instanceof SchemasServiceException); +assert(ForbiddenException.prototype instanceof SchemasServiceException); +assert(GoneException.prototype instanceof SchemasServiceException); +assert(InternalServerErrorException.prototype instanceof SchemasServiceException); +assert(NotFoundException.prototype instanceof SchemasServiceException); +assert(PreconditionFailedException.prototype instanceof SchemasServiceException); +assert(ServiceUnavailableException.prototype instanceof SchemasServiceException); +assert(TooManyRequestsException.prototype instanceof SchemasServiceException); +assert(UnauthorizedException.prototype instanceof SchemasServiceException); assert(SchemasServiceException.prototype instanceof Error); // waiters assert(typeof waitForCodeBindingExists === "function"); diff --git a/clients/client-schemas/test/index-types.ts b/clients/client-schemas/test/index-types.ts index 9205c326a1b9..50279d3c64f0 100644 --- a/clients/client-schemas/test/index-types.ts +++ b/clients/client-schemas/test/index-types.ts @@ -159,6 +159,16 @@ export type { UpdateRegistryResponse, UpdateSchemaRequest, UpdateSchemaResponse, + BadRequestException, + ConflictException, + ForbiddenException, + GoneException, + InternalServerErrorException, + NotFoundException, + PreconditionFailedException, + ServiceUnavailableException, + TooManyRequestsException, + UnauthorizedException, SchemasServiceException, waitForCodeBindingExists, waitUntilCodeBindingExists, diff --git a/clients/client-secrets-manager/test/index-objects.spec.mjs b/clients/client-secrets-manager/test/index-objects.spec.mjs index 38280a0d12fc..b9394f7f91b7 100644 --- a/clients/client-secrets-manager/test/index-objects.spec.mjs +++ b/clients/client-secrets-manager/test/index-objects.spec.mjs @@ -2,19 +2,31 @@ import { BatchGetSecretValueCommand, CancelRotateSecretCommand, CreateSecretCommand, + DecryptionFailure, DeleteResourcePolicyCommand, DeleteSecretCommand, DescribeSecretCommand, + EncryptionFailure, FilterNameStringType, GetRandomPasswordCommand, GetResourcePolicyCommand, GetSecretValueCommand, + InternalServiceError, + InvalidNextTokenException, + InvalidParameterException, + InvalidRequestException, + LimitExceededException, ListSecretVersionIdsCommand, ListSecretsCommand, + MalformedPolicyDocumentException, + PreconditionNotMetException, + PublicPolicyException, PutResourcePolicyCommand, PutSecretValueCommand, RemoveRegionsFromReplicationCommand, ReplicateSecretToRegionsCommand, + ResourceExistsException, + ResourceNotFoundException, RestoreSecretCommand, RotateSecretCommand, SecretsManager, @@ -65,6 +77,18 @@ assert(typeof FilterNameStringType === "object"); assert(typeof SortOrderType === "object"); assert(typeof StatusType === "object"); // errors +assert(DecryptionFailure.prototype instanceof SecretsManagerServiceException); +assert(EncryptionFailure.prototype instanceof SecretsManagerServiceException); +assert(InternalServiceError.prototype instanceof SecretsManagerServiceException); +assert(InvalidNextTokenException.prototype instanceof SecretsManagerServiceException); +assert(InvalidParameterException.prototype instanceof SecretsManagerServiceException); +assert(InvalidRequestException.prototype instanceof SecretsManagerServiceException); +assert(LimitExceededException.prototype instanceof SecretsManagerServiceException); +assert(MalformedPolicyDocumentException.prototype instanceof SecretsManagerServiceException); +assert(PreconditionNotMetException.prototype instanceof SecretsManagerServiceException); +assert(PublicPolicyException.prototype instanceof SecretsManagerServiceException); +assert(ResourceExistsException.prototype instanceof SecretsManagerServiceException); +assert(ResourceNotFoundException.prototype instanceof SecretsManagerServiceException); assert(SecretsManagerServiceException.prototype instanceof Error); // paginators assert(typeof paginateBatchGetSecretValue === "function"); diff --git a/clients/client-secrets-manager/test/index-types.ts b/clients/client-secrets-manager/test/index-types.ts index e0be79fb9c84..29776893883e 100644 --- a/clients/client-secrets-manager/test/index-types.ts +++ b/clients/client-secrets-manager/test/index-types.ts @@ -129,6 +129,18 @@ export type { ValidateResourcePolicyRequest, ValidateResourcePolicyResponse, ValidationErrorsEntry, + DecryptionFailure, + EncryptionFailure, + InternalServiceError, + InvalidNextTokenException, + InvalidParameterException, + InvalidRequestException, + LimitExceededException, + MalformedPolicyDocumentException, + PreconditionNotMetException, + PublicPolicyException, + ResourceExistsException, + ResourceNotFoundException, SecretsManagerServiceException, paginateBatchGetSecretValue, paginateListSecretVersionIds, diff --git a/clients/client-security-ir/src/schemas/schemas_0.ts b/clients/client-security-ir/src/schemas/schemas_0.ts index 8785f40f6a0d..f68db730c8cc 100644 --- a/clients/client-security-ir/src/schemas/schemas_0.ts +++ b/clients/client-security-ir/src/schemas/schemas_0.ts @@ -679,7 +679,6 @@ export var Watcher: StaticStructureSchema = [ [() => JobTitle, 0], ], ]; -export var __Unit = "unit" as const; export var SecurityIRServiceException: StaticErrorSchema = [-3, _sm, "SecurityIRServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SecurityIRServiceException, __SecurityIRServiceException); export var AWSAccountIds = 64 | 0; diff --git a/clients/client-security-ir/test/index-objects.spec.mjs b/clients/client-security-ir/test/index-objects.spec.mjs index 00a282c2093f..0d1e3c59bef8 100644 --- a/clients/client-security-ir/test/index-objects.spec.mjs +++ b/clients/client-security-ir/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, ActionType, AwsRegion, BatchGetMemberAccountDetailsCommand, @@ -8,6 +9,7 @@ import { CloseCaseCommand, ClosureCode, CommunicationType, + ConflictException, CreateCaseCommand, CreateCaseCommentCommand, CreateMembershipCommand, @@ -18,6 +20,8 @@ import { GetCaseAttachmentUploadUrlCommand, GetCaseCommand, GetMembershipCommand, + InternalServerException, + InvalidTokenException, ListCaseEditsCommand, ListCasesCommand, ListCommentsCommand, @@ -30,12 +34,16 @@ import { OptInFeatureName, PendingAction, ResolverType, + ResourceNotFoundException, SecurityIR, SecurityIRClient, SecurityIRServiceException, + SecurityIncidentResponseNotActiveException, SelfManagedCaseStatus, SendFeedbackCommand, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateCaseCommand, UpdateCaseCommentCommand, @@ -43,6 +51,8 @@ import { UpdateMembershipCommand, UpdateResolverTypeCommand, UsefulnessRating, + ValidationException, + ValidationExceptionReason, paginateListCaseEdits, paginateListCases, paginateListComments, @@ -96,7 +106,17 @@ assert(typeof PendingAction === "object"); assert(typeof ResolverType === "object"); assert(typeof SelfManagedCaseStatus === "object"); assert(typeof UsefulnessRating === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof SecurityIRServiceException); +assert(ConflictException.prototype instanceof SecurityIRServiceException); +assert(InternalServerException.prototype instanceof SecurityIRServiceException); +assert(InvalidTokenException.prototype instanceof SecurityIRServiceException); +assert(ResourceNotFoundException.prototype instanceof SecurityIRServiceException); +assert(SecurityIncidentResponseNotActiveException.prototype instanceof SecurityIRServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SecurityIRServiceException); +assert(ThrottlingException.prototype instanceof SecurityIRServiceException); +assert(ValidationException.prototype instanceof SecurityIRServiceException); assert(SecurityIRServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCaseEdits === "function"); diff --git a/clients/client-security-ir/test/index-types.ts b/clients/client-security-ir/test/index-types.ts index 44ff03a6589d..c9b043fdde92 100644 --- a/clients/client-security-ir/test/index-types.ts +++ b/clients/client-security-ir/test/index-types.ts @@ -91,6 +91,7 @@ export type { ResolverType, SelfManagedCaseStatus, UsefulnessRating, + ValidationExceptionReason, BatchGetMemberAccountDetailsRequest, BatchGetMemberAccountDetailsResponse, CancelMembershipRequest, @@ -155,7 +156,17 @@ export type { UpdateMembershipResponse, UpdateResolverTypeRequest, UpdateResolverTypeResponse, + ValidationExceptionField, Watcher, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidTokenException, + ResourceNotFoundException, + SecurityIncidentResponseNotActiveException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SecurityIRServiceException, paginateListCaseEdits, paginateListCases, diff --git a/clients/client-securityhub/src/schemas/schemas_0.ts b/clients/client-securityhub/src/schemas/schemas_0.ts index c25d5b9731d9..0b65c9494370 100644 --- a/clients/client-securityhub/src/schemas/schemas_0.ts +++ b/clients/client-securityhub/src/schemas/schemas_0.ts @@ -10482,7 +10482,6 @@ export var WafExcludedRule: StaticStructureSchema = [3, n0, _WER, 0, [_RIu], [0] export var WafOverrideAction: StaticStructureSchema = [3, n0, _WOA, 0, [_T], [0]]; export var Workflow: StaticStructureSchema = [3, n0, _W, 0, [_St], [0]]; export var WorkflowUpdate: StaticStructureSchema = [3, n0, _WU, 0, [_St], [0]]; -export var __Unit = "unit" as const; export var SecurityHubServiceException: StaticErrorSchema = [-3, _sm, "SecurityHubServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SecurityHubServiceException, __SecurityHubServiceException); export var AccountDetailsList: StaticListSchema = [1, n0, _ADL, 0, () => AccountDetails]; diff --git a/clients/client-securityhub/test/index-objects.spec.mjs b/clients/client-securityhub/test/index-objects.spec.mjs index 32d4278a889f..f032cdb95de8 100644 --- a/clients/client-securityhub/test/index-objects.spec.mjs +++ b/clients/client-securityhub/test/index-objects.spec.mjs @@ -1,6 +1,7 @@ import { AcceptAdministratorInvitationCommand, AcceptInvitationCommand, + AccessDeniedException, ActorSessionMfaStatus, AdminStatus, AllowedOperators, @@ -26,6 +27,7 @@ import { BatchUpdateStandardsControlAssociationsCommand, ComplianceStatus, ConfigurationPolicyAssociationStatus, + ConflictException, ConnectionDirection, ConnectorAuthStatus, ConnectorProviderName, @@ -100,7 +102,12 @@ import { GroupByField, IntegrationType, IntegrationV2Type, + InternalException, + InternalServerException, + InvalidAccessException, + InvalidInputException, InviteMembersCommand, + LimitExceededException, ListAggregatorsV2Command, ListAutomationRulesCommand, ListAutomationRulesV2Command, @@ -133,7 +140,10 @@ import { RegionAvailabilityStatus, RegisterConnectorV2Command, ResourceCategory, + ResourceConflictException, ResourceGroupByField, + ResourceInUseException, + ResourceNotFoundException, ResourcesDateField, ResourcesMapField, ResourcesNumberField, @@ -146,6 +156,7 @@ import { SecurityHubClient, SecurityHubFeature, SecurityHubServiceException, + ServiceQuotaExceededException, SeverityLabel, SeverityRating, SortOrder, @@ -159,6 +170,7 @@ import { TargetType, ThreatIntelIndicatorCategory, ThreatIntelIndicatorType, + ThrottlingException, TicketCreationMode, UnprocessedErrorCode, UntagResourceCommand, @@ -175,6 +187,7 @@ import { UpdateSecurityHubConfigurationCommand, UpdateStandardsControlCommand, UpdateStatus, + ValidationException, VerificationState, VulnerabilityExploitAvailable, VulnerabilityFixAvailable, @@ -389,6 +402,19 @@ assert(typeof VulnerabilityFixAvailable === "object"); assert(typeof WorkflowState === "object"); assert(typeof WorkflowStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof SecurityHubServiceException); +assert(ConflictException.prototype instanceof SecurityHubServiceException); +assert(InternalException.prototype instanceof SecurityHubServiceException); +assert(InternalServerException.prototype instanceof SecurityHubServiceException); +assert(InvalidAccessException.prototype instanceof SecurityHubServiceException); +assert(InvalidInputException.prototype instanceof SecurityHubServiceException); +assert(LimitExceededException.prototype instanceof SecurityHubServiceException); +assert(ResourceConflictException.prototype instanceof SecurityHubServiceException); +assert(ResourceInUseException.prototype instanceof SecurityHubServiceException); +assert(ResourceNotFoundException.prototype instanceof SecurityHubServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SecurityHubServiceException); +assert(ThrottlingException.prototype instanceof SecurityHubServiceException); +assert(ValidationException.prototype instanceof SecurityHubServiceException); assert(SecurityHubServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeActionTargets === "function"); diff --git a/clients/client-securityhub/test/index-types.ts b/clients/client-securityhub/test/index-types.ts index ff7045029b1b..80a6458d9906 100644 --- a/clients/client-securityhub/test/index-types.ts +++ b/clients/client-securityhub/test/index-types.ts @@ -1350,6 +1350,19 @@ export type { WafOverrideAction, Workflow, WorkflowUpdate, + AccessDeniedException, + ConflictException, + InternalException, + InternalServerException, + InvalidAccessException, + InvalidInputException, + LimitExceededException, + ResourceConflictException, + ResourceInUseException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SecurityHubServiceException, paginateDescribeActionTargets, paginateDescribeProducts, diff --git a/clients/client-securitylake/src/schemas/schemas_0.ts b/clients/client-securitylake/src/schemas/schemas_0.ts index 524ac044a472..4603033ad6e6 100644 --- a/clients/client-securitylake/src/schemas/schemas_0.ts +++ b/clients/client-securitylake/src/schemas/schemas_0.ts @@ -629,7 +629,6 @@ export var UpdateSubscriberRequest: StaticStructureSchema = [ [[0, 1], () => AwsIdentity, 0, 0, () => LogSourceResourceList], ]; export var UpdateSubscriberResponse: StaticStructureSchema = [3, n0, _USRp, 0, [_su], [() => SubscriberResource]]; -export var __Unit = "unit" as const; export var SecurityLakeServiceException: StaticErrorSchema = [-3, _sm, "SecurityLakeServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SecurityLakeServiceException, __SecurityLakeServiceException); export var AccessTypeList = 64 | 0; diff --git a/clients/client-securitylake/test/index-objects.spec.mjs b/clients/client-securitylake/test/index-objects.spec.mjs index 5ff5a197febe..4a51d8784a93 100644 --- a/clients/client-securitylake/test/index-objects.spec.mjs +++ b/clients/client-securitylake/test/index-objects.spec.mjs @@ -1,6 +1,9 @@ import { + AccessDeniedException, AccessType, AwsLogSourceName, + BadRequestException, + ConflictException, CreateAwsLogSourceCommand, CreateCustomLogSourceCommand, CreateDataLakeCommand, @@ -22,18 +25,21 @@ import { GetDataLakeSourcesCommand, GetSubscriberCommand, HttpMethod, + InternalServerException, ListDataLakeExceptionsCommand, ListDataLakesCommand, ListLogSourcesCommand, ListSubscribersCommand, ListTagsForResourceCommand, RegisterDataLakeDelegatedAdministratorCommand, + ResourceNotFoundException, SecurityLake, SecurityLakeClient, SecurityLakeServiceException, SourceCollectionStatus, SubscriberStatus, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateDataLakeCommand, UpdateDataLakeExceptionSubscriptionCommand, @@ -88,6 +94,12 @@ assert(typeof HttpMethod === "object"); assert(typeof SourceCollectionStatus === "object"); assert(typeof SubscriberStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof SecurityLakeServiceException); +assert(BadRequestException.prototype instanceof SecurityLakeServiceException); +assert(ConflictException.prototype instanceof SecurityLakeServiceException); +assert(InternalServerException.prototype instanceof SecurityLakeServiceException); +assert(ResourceNotFoundException.prototype instanceof SecurityLakeServiceException); +assert(ThrottlingException.prototype instanceof SecurityLakeServiceException); assert(SecurityLakeServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetDataLakeSources === "function"); diff --git a/clients/client-securitylake/test/index-types.ts b/clients/client-securitylake/test/index-types.ts index 68028bb29335..43f3e4345e0e 100644 --- a/clients/client-securitylake/test/index-types.ts +++ b/clients/client-securitylake/test/index-types.ts @@ -191,6 +191,12 @@ export type { UpdateSubscriberNotificationResponse, UpdateSubscriberRequest, UpdateSubscriberResponse, + AccessDeniedException, + BadRequestException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, SecurityLakeServiceException, paginateGetDataLakeSources, paginateListDataLakeExceptions, diff --git a/clients/client-serverlessapplicationrepository/test/index-objects.spec.mjs b/clients/client-serverlessapplicationrepository/test/index-objects.spec.mjs index e88b96e98ce7..5a5ffdf610cc 100644 --- a/clients/client-serverlessapplicationrepository/test/index-objects.spec.mjs +++ b/clients/client-serverlessapplicationrepository/test/index-objects.spec.mjs @@ -1,21 +1,27 @@ import { + BadRequestException, Capability, + ConflictException, CreateApplicationCommand, CreateApplicationVersionCommand, CreateCloudFormationChangeSetCommand, CreateCloudFormationTemplateCommand, DeleteApplicationCommand, + ForbiddenException, GetApplicationCommand, GetApplicationPolicyCommand, GetCloudFormationTemplateCommand, + InternalServerErrorException, ListApplicationDependenciesCommand, ListApplicationVersionsCommand, ListApplicationsCommand, + NotFoundException, PutApplicationPolicyCommand, ServerlessApplicationRepository, ServerlessApplicationRepositoryClient, ServerlessApplicationRepositoryServiceException, Status, + TooManyRequestsException, UnshareApplicationCommand, UpdateApplicationCommand, paginateListApplicationDependencies, @@ -45,6 +51,12 @@ assert(typeof UpdateApplicationCommand === "function"); assert(typeof Capability === "object"); assert(typeof Status === "object"); // errors +assert(BadRequestException.prototype instanceof ServerlessApplicationRepositoryServiceException); +assert(ConflictException.prototype instanceof ServerlessApplicationRepositoryServiceException); +assert(ForbiddenException.prototype instanceof ServerlessApplicationRepositoryServiceException); +assert(InternalServerErrorException.prototype instanceof ServerlessApplicationRepositoryServiceException); +assert(NotFoundException.prototype instanceof ServerlessApplicationRepositoryServiceException); +assert(TooManyRequestsException.prototype instanceof ServerlessApplicationRepositoryServiceException); assert(ServerlessApplicationRepositoryServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplicationDependencies === "function"); diff --git a/clients/client-serverlessapplicationrepository/test/index-types.ts b/clients/client-serverlessapplicationrepository/test/index-types.ts index c8d8c485c673..29e9fa244867 100644 --- a/clients/client-serverlessapplicationrepository/test/index-types.ts +++ b/clients/client-serverlessapplicationrepository/test/index-types.ts @@ -82,6 +82,12 @@ export type { UpdateApplicationResponse, Version, VersionSummary, + BadRequestException, + ConflictException, + ForbiddenException, + InternalServerErrorException, + NotFoundException, + TooManyRequestsException, ServerlessApplicationRepositoryServiceException, paginateListApplicationDependencies, paginateListApplicationVersions, diff --git a/clients/client-service-catalog-appregistry/test/index-objects.spec.mjs b/clients/client-service-catalog-appregistry/test/index-objects.spec.mjs index 64d04bb97eb5..45b03519fb15 100644 --- a/clients/client-service-catalog-appregistry/test/index-objects.spec.mjs +++ b/clients/client-service-catalog-appregistry/test/index-objects.spec.mjs @@ -3,6 +3,7 @@ import { AssociateAttributeGroupCommand, AssociateResourceCommand, AssociationOption, + ConflictException, CreateApplicationCommand, CreateAttributeGroupCommand, DeleteApplicationCommand, @@ -13,6 +14,7 @@ import { GetAssociatedResourceCommand, GetAttributeGroupCommand, GetConfigurationCommand, + InternalServerException, ListApplicationsCommand, ListAssociatedAttributeGroupsCommand, ListAssociatedResourcesCommand, @@ -22,16 +24,20 @@ import { PutConfigurationCommand, ResourceGroupState, ResourceItemStatus, + ResourceNotFoundException, ResourceType, ServiceCatalogAppRegistry, ServiceCatalogAppRegistryClient, ServiceCatalogAppRegistryServiceException, + ServiceQuotaExceededException, SyncAction, SyncResourceCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateApplicationCommand, UpdateAttributeGroupCommand, + ValidationException, paginateListApplications, paginateListAssociatedAttributeGroups, paginateListAssociatedResources, @@ -75,6 +81,12 @@ assert(typeof ResourceItemStatus === "object"); assert(typeof ResourceType === "object"); assert(typeof SyncAction === "object"); // errors +assert(ConflictException.prototype instanceof ServiceCatalogAppRegistryServiceException); +assert(InternalServerException.prototype instanceof ServiceCatalogAppRegistryServiceException); +assert(ResourceNotFoundException.prototype instanceof ServiceCatalogAppRegistryServiceException); +assert(ServiceQuotaExceededException.prototype instanceof ServiceCatalogAppRegistryServiceException); +assert(ThrottlingException.prototype instanceof ServiceCatalogAppRegistryServiceException); +assert(ValidationException.prototype instanceof ServiceCatalogAppRegistryServiceException); assert(ServiceCatalogAppRegistryServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplications === "function"); diff --git a/clients/client-service-catalog-appregistry/test/index-types.ts b/clients/client-service-catalog-appregistry/test/index-types.ts index 71184d189183..c988141e3e65 100644 --- a/clients/client-service-catalog-appregistry/test/index-types.ts +++ b/clients/client-service-catalog-appregistry/test/index-types.ts @@ -141,6 +141,12 @@ export type { UpdateApplicationResponse, UpdateAttributeGroupRequest, UpdateAttributeGroupResponse, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, ServiceCatalogAppRegistryServiceException, paginateListApplications, paginateListAssociatedAttributeGroups, diff --git a/clients/client-service-catalog/src/schemas/schemas_0.ts b/clients/client-service-catalog/src/schemas/schemas_0.ts index 028f3b1cbd02..fc0d4d16e94c 100644 --- a/clients/client-service-catalog/src/schemas/schemas_0.ts +++ b/clients/client-service-catalog/src/schemas/schemas_0.ts @@ -1753,7 +1753,6 @@ export var UpdateServiceActionOutput: StaticStructureSchema = [3, n0, _USAO, 0, export var UpdateTagOptionInput: StaticStructureSchema = [3, n0, _UTOI, 0, [_Id, _V, _A], [0, 0, 2]]; export var UpdateTagOptionOutput: StaticStructureSchema = [3, n0, _UTOO, 0, [_TOD], [() => TagOptionDetail]]; export var UsageInstruction: StaticStructureSchema = [3, n0, _UIs, 0, [_T, _V], [0, 0]]; -export var __Unit = "unit" as const; export var ServiceCatalogServiceException: StaticErrorSchema = [-3, _s, "ServiceCatalogServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(ServiceCatalogServiceException, __ServiceCatalogServiceException); export var AccountIds = 64 | 0; diff --git a/clients/client-service-catalog/test/index-objects.spec.mjs b/clients/client-service-catalog/test/index-objects.spec.mjs index be267fb0716f..5ad576b62d86 100644 --- a/clients/client-service-catalog/test/index-objects.spec.mjs +++ b/clients/client-service-catalog/test/index-objects.spec.mjs @@ -52,6 +52,7 @@ import { DisassociateProductFromPortfolioCommand, DisassociateServiceActionFromProvisioningArtifactCommand, DisassociateTagOptionFromResourceCommand, + DuplicateResourceException, EnableAWSOrganizationsAccessCommand, EngineWorkflowStatus, EvaluationType, @@ -60,7 +61,10 @@ import { GetAWSOrganizationsAccessStatusCommand, GetProvisionedProductOutputsCommand, ImportAsProvisionedProductCommand, + InvalidParametersException, + InvalidStateException, LastSyncStatus, + LimitExceededException, ListAcceptedPortfolioSharesCommand, ListBudgetsForResourceCommand, ListConstraintsForPortfolioCommand, @@ -82,6 +86,7 @@ import { NotifyProvisionProductEngineWorkflowResultCommand, NotifyTerminateProvisionedProductEngineWorkflowResultCommand, NotifyUpdateProvisionedProductEngineWorkflowResultCommand, + OperationNotSupportedException, OrganizationNodeType, PortfolioShareType, PrincipalType, @@ -103,6 +108,8 @@ import { Replacement, RequiresRecreation, ResourceAttribute, + ResourceInUseException, + ResourceNotFoundException, ScanProvisionedProductsCommand, SearchProductsAsAdminCommand, SearchProductsCommand, @@ -119,6 +126,7 @@ import { StackInstanceStatus, StackSetOperationType, Status, + TagOptionNotMigratedException, TerminateProvisionedProductCommand, UpdateConstraintCommand, UpdatePortfolioCommand, @@ -283,6 +291,14 @@ assert(typeof StackInstanceStatus === "object"); assert(typeof StackSetOperationType === "object"); assert(typeof Status === "object"); // errors +assert(DuplicateResourceException.prototype instanceof ServiceCatalogServiceException); +assert(InvalidParametersException.prototype instanceof ServiceCatalogServiceException); +assert(InvalidStateException.prototype instanceof ServiceCatalogServiceException); +assert(LimitExceededException.prototype instanceof ServiceCatalogServiceException); +assert(OperationNotSupportedException.prototype instanceof ServiceCatalogServiceException); +assert(ResourceInUseException.prototype instanceof ServiceCatalogServiceException); +assert(ResourceNotFoundException.prototype instanceof ServiceCatalogServiceException); +assert(TagOptionNotMigratedException.prototype instanceof ServiceCatalogServiceException); assert(ServiceCatalogServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribePortfolioShares === "function"); diff --git a/clients/client-service-catalog/test/index-types.ts b/clients/client-service-catalog/test/index-types.ts index 1a9d1adc29c3..220f023261ed 100644 --- a/clients/client-service-catalog/test/index-types.ts +++ b/clients/client-service-catalog/test/index-types.ts @@ -549,6 +549,14 @@ export type { UpdateTagOptionInput, UpdateTagOptionOutput, UsageInstruction, + DuplicateResourceException, + InvalidParametersException, + InvalidStateException, + LimitExceededException, + OperationNotSupportedException, + ResourceInUseException, + ResourceNotFoundException, + TagOptionNotMigratedException, ServiceCatalogServiceException, paginateDescribePortfolioShares, paginateGetProvisionedProductOutputs, diff --git a/clients/client-service-quotas/src/schemas/schemas_0.ts b/clients/client-service-quotas/src/schemas/schemas_0.ts index 730c26c68b87..8468a0332a10 100644 --- a/clients/client-service-quotas/src/schemas/schemas_0.ts +++ b/clients/client-service-quotas/src/schemas/schemas_0.ts @@ -510,7 +510,6 @@ export var UpdateAutoManagementRequest: StaticStructureSchema = [ [0, 0, [2, n0, _EL, 0, 0, 64 | 0]], ]; export var UpdateAutoManagementResponse: StaticStructureSchema = [3, n0, _UAMRp, 0, [], []]; -export var __Unit = "unit" as const; export var ServiceQuotasServiceException: StaticErrorSchema = [-3, _sm, "ServiceQuotasServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ServiceQuotasServiceException, __ServiceQuotasServiceException); export var ExcludedQuotaList = 64 | 0; diff --git a/clients/client-service-quotas/test/index-objects.spec.mjs b/clients/client-service-quotas/test/index-objects.spec.mjs index a7ccaad96d0a..ddfbe999b501 100644 --- a/clients/client-service-quotas/test/index-objects.spec.mjs +++ b/clients/client-service-quotas/test/index-objects.spec.mjs @@ -1,8 +1,11 @@ import { + AWSServiceAccessNotEnabledException, + AccessDeniedException, AppliedLevelEnum, AssociateServiceQuotaTemplateCommand, CreateSupportCaseCommand, DeleteServiceQuotaIncreaseRequestFromTemplateCommand, + DependencyAccessDeniedException, DisassociateServiceQuotaTemplateCommand, ErrorCode, GetAWSDefaultServiceQuotaCommand, @@ -11,6 +14,9 @@ import { GetRequestedServiceQuotaChangeCommand, GetServiceQuotaCommand, GetServiceQuotaIncreaseRequestFromTemplateCommand, + IllegalArgumentException, + InvalidPaginationTokenException, + InvalidResourceStateException, ListAWSDefaultServiceQuotasCommand, ListRequestedServiceQuotaChangeHistoryByQuotaCommand, ListRequestedServiceQuotaChangeHistoryCommand, @@ -18,21 +24,32 @@ import { ListServiceQuotasCommand, ListServicesCommand, ListTagsForResourceCommand, + NoAvailableOrganizationException, + NoSuchResourceException, OptInLevel, OptInStatus, OptInType, + OrganizationNotInAllFeaturesModeException, PeriodUnit, PutServiceQuotaIncreaseRequestIntoTemplateCommand, QuotaContextScope, + QuotaExceededException, RequestServiceQuotaIncreaseCommand, RequestStatus, + ResourceAlreadyExistsException, + ServiceException, ServiceQuotaTemplateAssociationStatus, + ServiceQuotaTemplateNotInUseException, ServiceQuotas, ServiceQuotasClient, ServiceQuotasServiceException, StartAutoManagementCommand, StopAutoManagementCommand, + TagPolicyViolationException, TagResourceCommand, + TemplatesNotAvailableInRegionException, + TooManyRequestsException, + TooManyTagsException, UntagResourceCommand, UpdateAutoManagementCommand, paginateListAWSDefaultServiceQuotas, @@ -82,6 +99,23 @@ assert(typeof QuotaContextScope === "object"); assert(typeof RequestStatus === "object"); assert(typeof ServiceQuotaTemplateAssociationStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof ServiceQuotasServiceException); +assert(AWSServiceAccessNotEnabledException.prototype instanceof ServiceQuotasServiceException); +assert(DependencyAccessDeniedException.prototype instanceof ServiceQuotasServiceException); +assert(IllegalArgumentException.prototype instanceof ServiceQuotasServiceException); +assert(InvalidPaginationTokenException.prototype instanceof ServiceQuotasServiceException); +assert(InvalidResourceStateException.prototype instanceof ServiceQuotasServiceException); +assert(NoAvailableOrganizationException.prototype instanceof ServiceQuotasServiceException); +assert(NoSuchResourceException.prototype instanceof ServiceQuotasServiceException); +assert(OrganizationNotInAllFeaturesModeException.prototype instanceof ServiceQuotasServiceException); +assert(QuotaExceededException.prototype instanceof ServiceQuotasServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof ServiceQuotasServiceException); +assert(ServiceException.prototype instanceof ServiceQuotasServiceException); +assert(ServiceQuotaTemplateNotInUseException.prototype instanceof ServiceQuotasServiceException); +assert(TagPolicyViolationException.prototype instanceof ServiceQuotasServiceException); +assert(TemplatesNotAvailableInRegionException.prototype instanceof ServiceQuotasServiceException); +assert(TooManyRequestsException.prototype instanceof ServiceQuotasServiceException); +assert(TooManyTagsException.prototype instanceof ServiceQuotasServiceException); assert(ServiceQuotasServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAWSDefaultServiceQuotas === "function"); diff --git a/clients/client-service-quotas/test/index-types.ts b/clients/client-service-quotas/test/index-types.ts index 383effaa954b..0169d24b4ada 100644 --- a/clients/client-service-quotas/test/index-types.ts +++ b/clients/client-service-quotas/test/index-types.ts @@ -141,6 +141,23 @@ export type { UntagResourceResponse, UpdateAutoManagementRequest, UpdateAutoManagementResponse, + AccessDeniedException, + AWSServiceAccessNotEnabledException, + DependencyAccessDeniedException, + IllegalArgumentException, + InvalidPaginationTokenException, + InvalidResourceStateException, + NoAvailableOrganizationException, + NoSuchResourceException, + OrganizationNotInAllFeaturesModeException, + QuotaExceededException, + ResourceAlreadyExistsException, + ServiceException, + ServiceQuotaTemplateNotInUseException, + TagPolicyViolationException, + TemplatesNotAvailableInRegionException, + TooManyRequestsException, + TooManyTagsException, ServiceQuotasServiceException, paginateListAWSDefaultServiceQuotas, paginateListRequestedServiceQuotaChangeHistory, diff --git a/clients/client-servicediscovery/test/index-objects.spec.mjs b/clients/client-servicediscovery/test/index-objects.spec.mjs index f618c87ab813..bbc14e65a5b5 100644 --- a/clients/client-servicediscovery/test/index-objects.spec.mjs +++ b/clients/client-servicediscovery/test/index-objects.spec.mjs @@ -3,6 +3,7 @@ import { CreatePrivateDnsNamespaceCommand, CreatePublicDnsNamespaceCommand, CreateServiceCommand, + CustomHealthNotFound, CustomHealthStatus, DeleteNamespaceCommand, DeleteServiceAttributesCommand, @@ -10,6 +11,7 @@ import { DeregisterInstanceCommand, DiscoverInstancesCommand, DiscoverInstancesRevisionCommand, + DuplicateRequest, FilterCondition, GetInstanceCommand, GetInstancesHealthStatusCommand, @@ -20,27 +22,40 @@ import { HealthCheckType, HealthStatus, HealthStatusFilter, + InstanceNotFound, + InvalidInput, ListInstancesCommand, ListNamespacesCommand, ListOperationsCommand, ListServicesCommand, ListTagsForResourceCommand, + NamespaceAlreadyExists, NamespaceFilterName, + NamespaceNotFound, NamespaceType, OperationFilterName, + OperationNotFound, OperationStatus, OperationTargetType, OperationType, RecordType, RegisterInstanceCommand, + RequestLimitExceeded, + ResourceInUse, + ResourceLimitExceeded, + ResourceNotFoundException, RoutingPolicy, + ServiceAlreadyExists, + ServiceAttributesLimitExceededException, ServiceDiscovery, ServiceDiscoveryClient, ServiceDiscoveryServiceException, ServiceFilterName, + ServiceNotFound, ServiceType, ServiceTypeOption, TagResourceCommand, + TooManyTagsException, UntagResourceCommand, UpdateHttpNamespaceCommand, UpdateInstanceCustomHealthStatusCommand, @@ -107,6 +122,21 @@ assert(typeof ServiceFilterName === "object"); assert(typeof ServiceType === "object"); assert(typeof ServiceTypeOption === "object"); // errors +assert(CustomHealthNotFound.prototype instanceof ServiceDiscoveryServiceException); +assert(DuplicateRequest.prototype instanceof ServiceDiscoveryServiceException); +assert(InstanceNotFound.prototype instanceof ServiceDiscoveryServiceException); +assert(InvalidInput.prototype instanceof ServiceDiscoveryServiceException); +assert(NamespaceAlreadyExists.prototype instanceof ServiceDiscoveryServiceException); +assert(NamespaceNotFound.prototype instanceof ServiceDiscoveryServiceException); +assert(OperationNotFound.prototype instanceof ServiceDiscoveryServiceException); +assert(RequestLimitExceeded.prototype instanceof ServiceDiscoveryServiceException); +assert(ResourceInUse.prototype instanceof ServiceDiscoveryServiceException); +assert(ResourceLimitExceeded.prototype instanceof ServiceDiscoveryServiceException); +assert(ResourceNotFoundException.prototype instanceof ServiceDiscoveryServiceException); +assert(ServiceAlreadyExists.prototype instanceof ServiceDiscoveryServiceException); +assert(ServiceAttributesLimitExceededException.prototype instanceof ServiceDiscoveryServiceException); +assert(ServiceNotFound.prototype instanceof ServiceDiscoveryServiceException); +assert(TooManyTagsException.prototype instanceof ServiceDiscoveryServiceException); assert(ServiceDiscoveryServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetInstancesHealthStatus === "function"); diff --git a/clients/client-servicediscovery/test/index-types.ts b/clients/client-servicediscovery/test/index-types.ts index 0322911d8ac9..e07e482ec4ba 100644 --- a/clients/client-servicediscovery/test/index-types.ts +++ b/clients/client-servicediscovery/test/index-types.ts @@ -203,6 +203,21 @@ export type { UpdateServiceAttributesResponse, UpdateServiceRequest, UpdateServiceResponse, + CustomHealthNotFound, + DuplicateRequest, + InstanceNotFound, + InvalidInput, + NamespaceAlreadyExists, + NamespaceNotFound, + OperationNotFound, + RequestLimitExceeded, + ResourceInUse, + ResourceLimitExceeded, + ResourceNotFoundException, + ServiceAlreadyExists, + ServiceAttributesLimitExceededException, + ServiceNotFound, + TooManyTagsException, ServiceDiscoveryServiceException, paginateGetInstancesHealthStatus, paginateListInstances, diff --git a/clients/client-ses/test/index-objects.spec.mjs b/clients/client-ses/test/index-objects.spec.mjs index d6a038743402..ca9b6aa3da64 100644 --- a/clients/client-ses/test/index-objects.spec.mjs +++ b/clients/client-ses/test/index-objects.spec.mjs @@ -1,9 +1,15 @@ import { + AccountSendingPausedException, + AlreadyExistsException, BehaviorOnMXFailure, BounceType, BulkEmailStatus, + CannotDeleteException, CloneReceiptRuleSetCommand, + ConfigurationSetAlreadyExistsException, ConfigurationSetAttribute, + ConfigurationSetDoesNotExistException, + ConfigurationSetSendingPausedException, CreateConfigurationSetCommand, CreateConfigurationSetEventDestinationCommand, CreateConfigurationSetTrackingOptionsCommand, @@ -13,6 +19,9 @@ import { CreateReceiptRuleSetCommand, CreateTemplateCommand, CustomMailFromStatus, + CustomVerificationEmailInvalidContentException, + CustomVerificationEmailTemplateAlreadyExistsException, + CustomVerificationEmailTemplateDoesNotExistException, DeleteConfigurationSetCommand, DeleteConfigurationSetEventDestinationCommand, DeleteConfigurationSetTrackingOptionsCommand, @@ -30,7 +39,10 @@ import { DescribeReceiptRuleSetCommand, DimensionValueSource, DsnAction, + EventDestinationAlreadyExistsException, + EventDestinationDoesNotExistException, EventType, + FromEmailAddressNotVerifiedException, GetAccountSendingEnabledCommand, GetCustomVerificationEmailTemplateCommand, GetIdentityDkimAttributesCommand, @@ -42,7 +54,20 @@ import { GetSendStatisticsCommand, GetTemplateCommand, IdentityType, + InvalidCloudWatchDestinationException, + InvalidConfigurationSetException, + InvalidDeliveryOptionsException, + InvalidFirehoseDestinationException, + InvalidLambdaFunctionException, + InvalidPolicyException, + InvalidRenderingParameterException, + InvalidS3ConfigurationException, + InvalidSNSDestinationException, + InvalidSnsTopicException, + InvalidTemplateException, + InvalidTrackingOptionsException, InvocationType, + LimitExceededException, ListConfigurationSetsCommand, ListCustomVerificationEmailTemplatesCommand, ListIdentitiesCommand, @@ -51,11 +76,17 @@ import { ListReceiptRuleSetsCommand, ListTemplatesCommand, ListVerifiedEmailAddressesCommand, + MailFromDomainNotVerifiedException, + MessageRejected, + MissingRenderingAttributeException, NotificationType, + ProductionAccessNotGrantedException, PutConfigurationSetDeliveryOptionsCommand, PutIdentityPolicyCommand, ReceiptFilterPolicy, ReorderReceiptRuleSetCommand, + RuleDoesNotExistException, + RuleSetDoesNotExistException, SES, SESClient, SESServiceException, @@ -74,8 +105,11 @@ import { SetIdentityNotificationTopicCommand, SetReceiptRulePositionCommand, StopScope, + TemplateDoesNotExistException, TestRenderTemplateCommand, TlsPolicy, + TrackingOptionsAlreadyExistsException, + TrackingOptionsDoesNotExistException, UpdateAccountSendingEnabledCommand, UpdateConfigurationSetEventDestinationCommand, UpdateConfigurationSetReputationMetricsEnabledCommand, @@ -188,6 +222,40 @@ assert(typeof StopScope === "object"); assert(typeof TlsPolicy === "object"); assert(typeof VerificationStatus === "object"); // errors +assert(AccountSendingPausedException.prototype instanceof SESServiceException); +assert(AlreadyExistsException.prototype instanceof SESServiceException); +assert(CannotDeleteException.prototype instanceof SESServiceException); +assert(ConfigurationSetAlreadyExistsException.prototype instanceof SESServiceException); +assert(ConfigurationSetDoesNotExistException.prototype instanceof SESServiceException); +assert(ConfigurationSetSendingPausedException.prototype instanceof SESServiceException); +assert(CustomVerificationEmailInvalidContentException.prototype instanceof SESServiceException); +assert(CustomVerificationEmailTemplateAlreadyExistsException.prototype instanceof SESServiceException); +assert(CustomVerificationEmailTemplateDoesNotExistException.prototype instanceof SESServiceException); +assert(EventDestinationAlreadyExistsException.prototype instanceof SESServiceException); +assert(EventDestinationDoesNotExistException.prototype instanceof SESServiceException); +assert(FromEmailAddressNotVerifiedException.prototype instanceof SESServiceException); +assert(InvalidCloudWatchDestinationException.prototype instanceof SESServiceException); +assert(InvalidConfigurationSetException.prototype instanceof SESServiceException); +assert(InvalidDeliveryOptionsException.prototype instanceof SESServiceException); +assert(InvalidFirehoseDestinationException.prototype instanceof SESServiceException); +assert(InvalidLambdaFunctionException.prototype instanceof SESServiceException); +assert(InvalidPolicyException.prototype instanceof SESServiceException); +assert(InvalidRenderingParameterException.prototype instanceof SESServiceException); +assert(InvalidS3ConfigurationException.prototype instanceof SESServiceException); +assert(InvalidSNSDestinationException.prototype instanceof SESServiceException); +assert(InvalidSnsTopicException.prototype instanceof SESServiceException); +assert(InvalidTemplateException.prototype instanceof SESServiceException); +assert(InvalidTrackingOptionsException.prototype instanceof SESServiceException); +assert(LimitExceededException.prototype instanceof SESServiceException); +assert(MailFromDomainNotVerifiedException.prototype instanceof SESServiceException); +assert(MessageRejected.prototype instanceof SESServiceException); +assert(MissingRenderingAttributeException.prototype instanceof SESServiceException); +assert(ProductionAccessNotGrantedException.prototype instanceof SESServiceException); +assert(RuleDoesNotExistException.prototype instanceof SESServiceException); +assert(RuleSetDoesNotExistException.prototype instanceof SESServiceException); +assert(TemplateDoesNotExistException.prototype instanceof SESServiceException); +assert(TrackingOptionsAlreadyExistsException.prototype instanceof SESServiceException); +assert(TrackingOptionsDoesNotExistException.prototype instanceof SESServiceException); assert(SESServiceException.prototype instanceof Error); // waiters assert(typeof waitForIdentityExists === "function"); diff --git a/clients/client-ses/test/index-types.ts b/clients/client-ses/test/index-types.ts index bbb989bdd200..f106123f8ab2 100644 --- a/clients/client-ses/test/index-types.ts +++ b/clients/client-ses/test/index-types.ts @@ -403,6 +403,40 @@ export type { VerifyEmailIdentityRequest, VerifyEmailIdentityResponse, WorkmailAction, + AccountSendingPausedException, + AlreadyExistsException, + CannotDeleteException, + ConfigurationSetAlreadyExistsException, + ConfigurationSetDoesNotExistException, + ConfigurationSetSendingPausedException, + CustomVerificationEmailInvalidContentException, + CustomVerificationEmailTemplateAlreadyExistsException, + CustomVerificationEmailTemplateDoesNotExistException, + EventDestinationAlreadyExistsException, + EventDestinationDoesNotExistException, + FromEmailAddressNotVerifiedException, + InvalidCloudWatchDestinationException, + InvalidConfigurationSetException, + InvalidDeliveryOptionsException, + InvalidFirehoseDestinationException, + InvalidLambdaFunctionException, + InvalidPolicyException, + InvalidRenderingParameterException, + InvalidS3ConfigurationException, + InvalidSNSDestinationException, + InvalidSnsTopicException, + InvalidTemplateException, + InvalidTrackingOptionsException, + LimitExceededException, + MailFromDomainNotVerifiedException, + MessageRejected, + MissingRenderingAttributeException, + ProductionAccessNotGrantedException, + RuleDoesNotExistException, + RuleSetDoesNotExistException, + TemplateDoesNotExistException, + TrackingOptionsAlreadyExistsException, + TrackingOptionsDoesNotExistException, SESServiceException, waitForIdentityExists, waitUntilIdentityExists, diff --git a/clients/client-sesv2/src/schemas/schemas_0.ts b/clients/client-sesv2/src/schemas/schemas_0.ts index 27b08d36df13..6c7c94f8b459 100644 --- a/clients/client-sesv2/src/schemas/schemas_0.ts +++ b/clients/client-sesv2/src/schemas/schemas_0.ts @@ -2192,7 +2192,6 @@ export var VerificationInfo: StaticStructureSchema = [ [4, 4, 0, () => SOARecord], ]; export var VolumeStatistics: StaticStructureSchema = [3, n0, _VS, 0, [_IRC, _SRC, _PI, _PSr], [1, 1, 1, 1]]; -export var __Unit = "unit" as const; export var SESv2ServiceException: StaticErrorSchema = [-3, _sm, "SESv2ServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SESv2ServiceException, __SESv2ServiceException); export var AdditionalContactEmailAddresses: StaticListSchema = [ diff --git a/clients/client-sesv2/test/index-objects.spec.mjs b/clients/client-sesv2/test/index-objects.spec.mjs index 05c20d9ce817..048f28dd6476 100644 --- a/clients/client-sesv2/test/index-objects.spec.mjs +++ b/clients/client-sesv2/test/index-objects.spec.mjs @@ -1,11 +1,16 @@ import { + AccountSuspendedException, + AlreadyExistsException, AttachmentContentDisposition, AttachmentContentTransferEncoding, + BadRequestException, BatchGetMetricDataCommand, BehaviorOnMxFailure, BounceType, BulkEmailStatus, CancelExportJobCommand, + ConcurrentModificationException, + ConflictException, ContactLanguage, ContactListImportAction, CreateConfigurationSetCommand, @@ -75,7 +80,10 @@ import { HttpsPolicy, IdentityType, ImportDestinationType, + InternalServiceErrorException, + InvalidNextTokenException, JobStatus, + LimitExceededException, ListConfigurationSetsCommand, ListContactListsCommand, ListContactsCommand, @@ -97,12 +105,15 @@ import { ListTenantResourcesCommand, ListTenantResourcesFilterKey, ListTenantsCommand, + MailFromDomainNotVerifiedException, MailFromDomainStatus, MailType, + MessageRejected, Metric, MetricAggregation, MetricDimensionName, MetricNamespace, + NotFoundException, PutAccountDedicatedIpWarmupAttributesCommand, PutAccountDetailsCommand, PutAccountSendingAttributesCommand, @@ -140,6 +151,7 @@ import { SendBulkEmailCommand, SendCustomVerificationEmailCommand, SendEmailCommand, + SendingPausedException, SendingStatus, Status, SubscriptionStatus, @@ -148,6 +160,7 @@ import { TagResourceCommand, TestRenderEmailTemplateCommand, TlsPolicy, + TooManyRequestsException, UntagResourceCommand, UpdateConfigurationSetEventDestinationCommand, UpdateContactCommand, @@ -345,6 +358,19 @@ assert(typeof VerificationError === "object"); assert(typeof VerificationStatus === "object"); assert(typeof WarmupStatus === "object"); // errors +assert(AccountSuspendedException.prototype instanceof SESv2ServiceException); +assert(AlreadyExistsException.prototype instanceof SESv2ServiceException); +assert(BadRequestException.prototype instanceof SESv2ServiceException); +assert(ConcurrentModificationException.prototype instanceof SESv2ServiceException); +assert(ConflictException.prototype instanceof SESv2ServiceException); +assert(InternalServiceErrorException.prototype instanceof SESv2ServiceException); +assert(InvalidNextTokenException.prototype instanceof SESv2ServiceException); +assert(LimitExceededException.prototype instanceof SESv2ServiceException); +assert(MailFromDomainNotVerifiedException.prototype instanceof SESv2ServiceException); +assert(MessageRejected.prototype instanceof SESv2ServiceException); +assert(NotFoundException.prototype instanceof SESv2ServiceException); +assert(SendingPausedException.prototype instanceof SESv2ServiceException); +assert(TooManyRequestsException.prototype instanceof SESv2ServiceException); assert(SESv2ServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetDedicatedIps === "function"); diff --git a/clients/client-sesv2/test/index-types.ts b/clients/client-sesv2/test/index-types.ts index 917907096ec1..f1080bb3fc08 100644 --- a/clients/client-sesv2/test/index-types.ts +++ b/clients/client-sesv2/test/index-types.ts @@ -701,6 +701,19 @@ export type { VdmOptions, VerificationInfo, VolumeStatistics, + AccountSuspendedException, + AlreadyExistsException, + BadRequestException, + ConcurrentModificationException, + ConflictException, + InternalServiceErrorException, + InvalidNextTokenException, + LimitExceededException, + MailFromDomainNotVerifiedException, + MessageRejected, + NotFoundException, + SendingPausedException, + TooManyRequestsException, SESv2ServiceException, paginateGetDedicatedIps, paginateListConfigurationSets, diff --git a/clients/client-sfn/src/schemas/schemas_0.ts b/clients/client-sfn/src/schemas/schemas_0.ts index ab91c863b618..655d99edfa49 100644 --- a/clients/client-sfn/src/schemas/schemas_0.ts +++ b/clients/client-sfn/src/schemas/schemas_0.ts @@ -1406,7 +1406,6 @@ export var ValidateStateMachineDefinitionOutput: StaticStructureSchema = [ ]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m, _rea], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var SFNServiceException: StaticErrorSchema = [-3, _sm, "SFNServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SFNServiceException, __SFNServiceException); export var ActivityList: StaticListSchema = [1, n0, _AL, 0, () => ActivityListItem]; diff --git a/clients/client-sfn/test/index-objects.spec.mjs b/clients/client-sfn/test/index-objects.spec.mjs index 69b01cf582bf..6dccaaefa2c8 100644 --- a/clients/client-sfn/test/index-objects.spec.mjs +++ b/clients/client-sfn/test/index-objects.spec.mjs @@ -1,4 +1,9 @@ import { + ActivityAlreadyExists, + ActivityDoesNotExist, + ActivityLimitExceeded, + ActivityWorkerLimitExceeded, + ConflictException, CreateActivityCommand, CreateStateMachineAliasCommand, CreateStateMachineCommand, @@ -13,6 +18,10 @@ import { DescribeStateMachineCommand, DescribeStateMachineForExecutionCommand, EncryptionType, + ExecutionAlreadyExists, + ExecutionDoesNotExist, + ExecutionLimitExceeded, + ExecutionNotRedrivable, ExecutionRedriveFilter, ExecutionRedriveStatus, ExecutionStatus, @@ -21,6 +30,19 @@ import { HistoryEventType, IncludedData, InspectionLevel, + InvalidArn, + InvalidDefinition, + InvalidEncryptionConfiguration, + InvalidExecutionInput, + InvalidLoggingConfiguration, + InvalidName, + InvalidOutput, + InvalidToken, + InvalidTracingConfiguration, + KmsAccessDeniedException, + KmsInvalidStateException, + KmsKeyState, + KmsThrottlingException, ListActivitiesCommand, ListExecutionsCommand, ListMapRunsCommand, @@ -30,24 +52,35 @@ import { ListTagsForResourceCommand, LogLevel, MapRunStatus, + MissingRequiredParameter, MockResponseValidationMode, PublishStateMachineVersionCommand, RedriveExecutionCommand, + ResourceNotFound, SFN, SFNClient, SFNServiceException, SendTaskFailureCommand, SendTaskHeartbeatCommand, SendTaskSuccessCommand, + ServiceQuotaExceededException, StartExecutionCommand, StartSyncExecutionCommand, + StateMachineAlreadyExists, + StateMachineDeleting, + StateMachineDoesNotExist, + StateMachineLimitExceeded, StateMachineStatus, StateMachineType, + StateMachineTypeNotSupported, StopExecutionCommand, SyncExecutionStatus, TagResourceCommand, + TaskDoesNotExist, + TaskTimedOut, TestExecutionStatus, TestStateCommand, + TooManyTags, UntagResourceCommand, UpdateMapRunCommand, UpdateStateMachineAliasCommand, @@ -55,6 +88,8 @@ import { ValidateStateMachineDefinitionCommand, ValidateStateMachineDefinitionResultCode, ValidateStateMachineDefinitionSeverity, + ValidationException, + ValidationExceptionReason, paginateGetExecutionHistory, paginateListActivities, paginateListExecutions, @@ -111,6 +146,7 @@ assert(typeof ExecutionStatus === "object"); assert(typeof HistoryEventType === "object"); assert(typeof IncludedData === "object"); assert(typeof InspectionLevel === "object"); +assert(typeof KmsKeyState === "object"); assert(typeof LogLevel === "object"); assert(typeof MapRunStatus === "object"); assert(typeof MockResponseValidationMode === "object"); @@ -120,7 +156,41 @@ assert(typeof SyncExecutionStatus === "object"); assert(typeof TestExecutionStatus === "object"); assert(typeof ValidateStateMachineDefinitionResultCode === "object"); assert(typeof ValidateStateMachineDefinitionSeverity === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(ActivityAlreadyExists.prototype instanceof SFNServiceException); +assert(ActivityDoesNotExist.prototype instanceof SFNServiceException); +assert(ActivityLimitExceeded.prototype instanceof SFNServiceException); +assert(ActivityWorkerLimitExceeded.prototype instanceof SFNServiceException); +assert(ConflictException.prototype instanceof SFNServiceException); +assert(ExecutionAlreadyExists.prototype instanceof SFNServiceException); +assert(ExecutionDoesNotExist.prototype instanceof SFNServiceException); +assert(ExecutionLimitExceeded.prototype instanceof SFNServiceException); +assert(ExecutionNotRedrivable.prototype instanceof SFNServiceException); +assert(InvalidArn.prototype instanceof SFNServiceException); +assert(InvalidDefinition.prototype instanceof SFNServiceException); +assert(InvalidEncryptionConfiguration.prototype instanceof SFNServiceException); +assert(InvalidExecutionInput.prototype instanceof SFNServiceException); +assert(InvalidLoggingConfiguration.prototype instanceof SFNServiceException); +assert(InvalidName.prototype instanceof SFNServiceException); +assert(InvalidOutput.prototype instanceof SFNServiceException); +assert(InvalidToken.prototype instanceof SFNServiceException); +assert(InvalidTracingConfiguration.prototype instanceof SFNServiceException); +assert(KmsAccessDeniedException.prototype instanceof SFNServiceException); +assert(KmsInvalidStateException.prototype instanceof SFNServiceException); +assert(KmsThrottlingException.prototype instanceof SFNServiceException); +assert(MissingRequiredParameter.prototype instanceof SFNServiceException); +assert(ResourceNotFound.prototype instanceof SFNServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SFNServiceException); +assert(StateMachineAlreadyExists.prototype instanceof SFNServiceException); +assert(StateMachineDeleting.prototype instanceof SFNServiceException); +assert(StateMachineDoesNotExist.prototype instanceof SFNServiceException); +assert(StateMachineLimitExceeded.prototype instanceof SFNServiceException); +assert(StateMachineTypeNotSupported.prototype instanceof SFNServiceException); +assert(TaskDoesNotExist.prototype instanceof SFNServiceException); +assert(TaskTimedOut.prototype instanceof SFNServiceException); +assert(TooManyTags.prototype instanceof SFNServiceException); +assert(ValidationException.prototype instanceof SFNServiceException); assert(SFNServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetExecutionHistory === "function"); diff --git a/clients/client-sfn/test/index-types.ts b/clients/client-sfn/test/index-types.ts index ea3e8b144939..82bea5d337bc 100644 --- a/clients/client-sfn/test/index-types.ts +++ b/clients/client-sfn/test/index-types.ts @@ -120,6 +120,7 @@ export type { HistoryEventType, IncludedData, InspectionLevel, + KmsKeyState, LogLevel, MapRunStatus, MockResponseValidationMode, @@ -129,6 +130,7 @@ export type { TestExecutionStatus, ValidateStateMachineDefinitionResultCode, ValidateStateMachineDefinitionSeverity, + ValidationExceptionReason, ActivityFailedEventDetails, ActivityListItem, ActivityScheduledEventDetails, @@ -266,6 +268,39 @@ export type { ValidateStateMachineDefinitionDiagnostic, ValidateStateMachineDefinitionInput, ValidateStateMachineDefinitionOutput, + ActivityAlreadyExists, + ActivityDoesNotExist, + ActivityLimitExceeded, + ActivityWorkerLimitExceeded, + ConflictException, + ExecutionAlreadyExists, + ExecutionDoesNotExist, + ExecutionLimitExceeded, + ExecutionNotRedrivable, + InvalidArn, + InvalidDefinition, + InvalidEncryptionConfiguration, + InvalidExecutionInput, + InvalidLoggingConfiguration, + InvalidName, + InvalidOutput, + InvalidToken, + InvalidTracingConfiguration, + KmsAccessDeniedException, + KmsInvalidStateException, + KmsThrottlingException, + MissingRequiredParameter, + ResourceNotFound, + ServiceQuotaExceededException, + StateMachineAlreadyExists, + StateMachineDeleting, + StateMachineDoesNotExist, + StateMachineLimitExceeded, + StateMachineTypeNotSupported, + TaskDoesNotExist, + TaskTimedOut, + TooManyTags, + ValidationException, SFNServiceException, paginateGetExecutionHistory, paginateListActivities, diff --git a/clients/client-shield/src/schemas/schemas_0.ts b/clients/client-shield/src/schemas/schemas_0.ts index 497aa5dec4f1..ac9257d6ee84 100644 --- a/clients/client-shield/src/schemas/schemas_0.ts +++ b/clients/client-shield/src/schemas/schemas_0.ts @@ -633,7 +633,6 @@ export var UpdateProtectionGroupResponse: StaticStructureSchema = [3, n0, _UPGRp export var UpdateSubscriptionRequest: StaticStructureSchema = [3, n0, _USR, 0, [_AR], [0]]; export var UpdateSubscriptionResponse: StaticStructureSchema = [3, n0, _USRp, 0, [], []]; export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var ShieldServiceException: StaticErrorSchema = [-3, _sm, "ShieldServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(ShieldServiceException, __ShieldServiceException); export var AttackProperties: StaticListSchema = [1, n0, _AP, 0, () => AttackProperty]; diff --git a/clients/client-shield/test/index-objects.spec.mjs b/clients/client-shield/test/index-objects.spec.mjs index 407bb64bffb6..7de6570add87 100644 --- a/clients/client-shield/test/index-objects.spec.mjs +++ b/clients/client-shield/test/index-objects.spec.mjs @@ -1,4 +1,6 @@ import { + AccessDeniedException, + AccessDeniedForDependencyException, ApplicationLayerAutomaticResponseStatus, AssociateDRTLogBucketCommand, AssociateDRTRoleCommand, @@ -28,15 +30,26 @@ import { EnableApplicationLayerAutomaticResponseCommand, EnableProactiveEngagementCommand, GetSubscriptionStateCommand, + InternalErrorException, + InvalidOperationException, + InvalidPaginationTokenException, + InvalidParameterException, + InvalidResourceException, + LimitsExceededException, ListAttacksCommand, ListProtectionGroupsCommand, ListProtectionsCommand, ListResourcesInProtectionGroupCommand, ListTagsForResourceCommand, + LockedSubscriptionException, + NoAssociatedRoleException, + OptimisticLockException, ProactiveEngagementStatus, ProtectedResourceType, ProtectionGroupAggregation, ProtectionGroupPattern, + ResourceAlreadyExistsException, + ResourceNotFoundException, Shield, ShieldClient, ShieldServiceException, @@ -49,6 +62,7 @@ import { UpdateEmergencyContactSettingsCommand, UpdateProtectionGroupCommand, UpdateSubscriptionCommand, + ValidationExceptionReason, paginateListAttacks, paginateListProtectionGroups, paginateListProtections, @@ -107,7 +121,21 @@ assert(typeof ProtectionGroupPattern === "object"); assert(typeof SubResourceType === "object"); assert(typeof SubscriptionState === "object"); assert(typeof Unit === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof ShieldServiceException); +assert(AccessDeniedForDependencyException.prototype instanceof ShieldServiceException); +assert(InternalErrorException.prototype instanceof ShieldServiceException); +assert(InvalidOperationException.prototype instanceof ShieldServiceException); +assert(InvalidPaginationTokenException.prototype instanceof ShieldServiceException); +assert(InvalidParameterException.prototype instanceof ShieldServiceException); +assert(InvalidResourceException.prototype instanceof ShieldServiceException); +assert(LimitsExceededException.prototype instanceof ShieldServiceException); +assert(LockedSubscriptionException.prototype instanceof ShieldServiceException); +assert(NoAssociatedRoleException.prototype instanceof ShieldServiceException); +assert(OptimisticLockException.prototype instanceof ShieldServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof ShieldServiceException); +assert(ResourceNotFoundException.prototype instanceof ShieldServiceException); assert(ShieldServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAttacks === "function"); diff --git a/clients/client-shield/test/index-types.ts b/clients/client-shield/test/index-types.ts index fdef6e14fcb1..2c04bd748a97 100644 --- a/clients/client-shield/test/index-types.ts +++ b/clients/client-shield/test/index-types.ts @@ -121,6 +121,7 @@ export type { SubResourceType, SubscriptionState, Unit, + ValidationExceptionReason, ApplicationLayerAutomaticResponseConfiguration, AssociateDRTLogBucketRequest, AssociateDRTLogBucketResponse, @@ -223,6 +224,20 @@ export type { UpdateProtectionGroupResponse, UpdateSubscriptionRequest, UpdateSubscriptionResponse, + ValidationExceptionField, + AccessDeniedException, + AccessDeniedForDependencyException, + InternalErrorException, + InvalidOperationException, + InvalidPaginationTokenException, + InvalidParameterException, + InvalidResourceException, + LimitsExceededException, + LockedSubscriptionException, + NoAssociatedRoleException, + OptimisticLockException, + ResourceAlreadyExistsException, + ResourceNotFoundException, ShieldServiceException, paginateListAttacks, paginateListProtectionGroups, diff --git a/clients/client-signer/test/index-objects.spec.mjs b/clients/client-signer/test/index-objects.spec.mjs index 3a21b195e71d..2b9e26f7b2b8 100644 --- a/clients/client-signer/test/index-objects.spec.mjs +++ b/clients/client-signer/test/index-objects.spec.mjs @@ -1,7 +1,10 @@ import { + AccessDeniedException, AddProfilePermissionCommand, + BadRequestException, CancelSigningProfileCommand, Category, + ConflictException, DescribeSigningJobCommand, EncryptionAlgorithm, GetRevocationStatusCommand, @@ -9,15 +12,19 @@ import { GetSigningProfileCommand, HashAlgorithm, ImageFormat, + InternalServiceErrorException, ListProfilePermissionsCommand, ListSigningJobsCommand, ListSigningPlatformsCommand, ListSigningProfilesCommand, ListTagsForResourceCommand, + NotFoundException, PutSigningProfileCommand, RemoveProfilePermissionCommand, + ResourceNotFoundException, RevokeSignatureCommand, RevokeSigningProfileCommand, + ServiceLimitExceededException, SignPayloadCommand, Signer, SignerClient, @@ -26,7 +33,10 @@ import { SigningStatus, StartSigningJobCommand, TagResourceCommand, + ThrottlingException, + TooManyRequestsException, UntagResourceCommand, + ValidationException, ValidityType, paginateListSigningJobs, paginateListSigningPlatforms, @@ -67,6 +77,16 @@ assert(typeof SigningProfileStatus === "object"); assert(typeof SigningStatus === "object"); assert(typeof ValidityType === "object"); // errors +assert(AccessDeniedException.prototype instanceof SignerServiceException); +assert(BadRequestException.prototype instanceof SignerServiceException); +assert(ConflictException.prototype instanceof SignerServiceException); +assert(InternalServiceErrorException.prototype instanceof SignerServiceException); +assert(NotFoundException.prototype instanceof SignerServiceException); +assert(ResourceNotFoundException.prototype instanceof SignerServiceException); +assert(ServiceLimitExceededException.prototype instanceof SignerServiceException); +assert(ThrottlingException.prototype instanceof SignerServiceException); +assert(TooManyRequestsException.prototype instanceof SignerServiceException); +assert(ValidationException.prototype instanceof SignerServiceException); assert(SignerServiceException.prototype instanceof Error); // waiters assert(typeof waitForSuccessfulSigningJob === "function"); diff --git a/clients/client-signer/test/index-types.ts b/clients/client-signer/test/index-types.ts index 203678abd1ee..b90b24331d2f 100644 --- a/clients/client-signer/test/index-types.ts +++ b/clients/client-signer/test/index-types.ts @@ -121,6 +121,16 @@ export type { TagResourceResponse, UntagResourceRequest, UntagResourceResponse, + AccessDeniedException, + BadRequestException, + ConflictException, + InternalServiceErrorException, + NotFoundException, + ResourceNotFoundException, + ServiceLimitExceededException, + ThrottlingException, + TooManyRequestsException, + ValidationException, SignerServiceException, waitForSuccessfulSigningJob, waitUntilSuccessfulSigningJob, diff --git a/clients/client-signin/src/schemas/schemas_0.ts b/clients/client-signin/src/schemas/schemas_0.ts index dab2716396f5..a536cc128ff9 100644 --- a/clients/client-signin/src/schemas/schemas_0.ts +++ b/clients/client-signin/src/schemas/schemas_0.ts @@ -118,7 +118,6 @@ export var TooManyRequestsError: StaticErrorSchema = [-3, n0, _TMRE, { [_e]: _c, TypeRegistry.for(n0).registerError(TooManyRequestsError, __TooManyRequestsError); export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var SigninServiceException: StaticErrorSchema = [-3, _sm, "SigninServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SigninServiceException, __SigninServiceException); export var CreateOAuth2Token: StaticOperationSchema = [ diff --git a/clients/client-signin/test/index-objects.spec.mjs b/clients/client-signin/test/index-objects.spec.mjs index 2b4e1cdb8905..4be084047448 100644 --- a/clients/client-signin/test/index-objects.spec.mjs +++ b/clients/client-signin/test/index-objects.spec.mjs @@ -1,10 +1,26 @@ -import { CreateOAuth2TokenCommand, Signin, SigninClient, SigninServiceException } from "../dist-cjs/index.js"; +import { + AccessDeniedException, + CreateOAuth2TokenCommand, + InternalServerException, + OAuth2ErrorCode, + Signin, + SigninClient, + SigninServiceException, + TooManyRequestsError, + ValidationException, +} from "../dist-cjs/index.js"; import assert from "node:assert"; // clients assert(typeof SigninClient === "function"); assert(typeof Signin === "function"); // commands assert(typeof CreateOAuth2TokenCommand === "function"); +// enums +assert(typeof OAuth2ErrorCode === "object"); // errors +assert(AccessDeniedException.prototype instanceof SigninServiceException); +assert(InternalServerException.prototype instanceof SigninServiceException); +assert(TooManyRequestsError.prototype instanceof SigninServiceException); +assert(ValidationException.prototype instanceof SigninServiceException); assert(SigninServiceException.prototype instanceof Error); console.log(`Signin index test passed.`); diff --git a/clients/client-signin/test/index-types.ts b/clients/client-signin/test/index-types.ts index 3de3b027be18..66ed3f75472e 100644 --- a/clients/client-signin/test/index-types.ts +++ b/clients/client-signin/test/index-types.ts @@ -5,10 +5,15 @@ export type { CreateOAuth2TokenCommand, CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, + OAuth2ErrorCode, AccessToken, CreateOAuth2TokenRequest, CreateOAuth2TokenRequestBody, CreateOAuth2TokenResponse, CreateOAuth2TokenResponseBody, + AccessDeniedException, + InternalServerException, + TooManyRequestsError, + ValidationException, SigninServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-simspaceweaver/test/index-objects.spec.mjs b/clients/client-simspaceweaver/test/index-objects.spec.mjs index 1993657c8a6b..8ce442d87ee6 100644 --- a/clients/client-simspaceweaver/test/index-objects.spec.mjs +++ b/clients/client-simspaceweaver/test/index-objects.spec.mjs @@ -1,15 +1,20 @@ import { + AccessDeniedException, ClockStatus, ClockTargetStatus, + ConflictException, CreateSnapshotCommand, DeleteAppCommand, DeleteSimulationCommand, DescribeAppCommand, DescribeSimulationCommand, + InternalServerException, LifecycleManagementStrategy, ListAppsCommand, ListSimulationsCommand, ListTagsForResourceCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, SimSpaceWeaver, SimSpaceWeaverClient, SimSpaceWeaverServiceException, @@ -24,7 +29,9 @@ import { StopClockCommand, StopSimulationCommand, TagResourceCommand, + TooManyTagsException, UntagResourceCommand, + ValidationException, paginateListApps, paginateListSimulations, } from "../dist-cjs/index.js"; @@ -58,6 +65,13 @@ assert(typeof SimulationAppTargetStatus === "object"); assert(typeof SimulationStatus === "object"); assert(typeof SimulationTargetStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof SimSpaceWeaverServiceException); +assert(ConflictException.prototype instanceof SimSpaceWeaverServiceException); +assert(InternalServerException.prototype instanceof SimSpaceWeaverServiceException); +assert(ResourceNotFoundException.prototype instanceof SimSpaceWeaverServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SimSpaceWeaverServiceException); +assert(TooManyTagsException.prototype instanceof SimSpaceWeaverServiceException); +assert(ValidationException.prototype instanceof SimSpaceWeaverServiceException); assert(SimSpaceWeaverServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApps === "function"); diff --git a/clients/client-simspaceweaver/test/index-types.ts b/clients/client-simspaceweaver/test/index-types.ts index 59ddf71f2c1f..b2b6db28448b 100644 --- a/clients/client-simspaceweaver/test/index-types.ts +++ b/clients/client-simspaceweaver/test/index-types.ts @@ -102,6 +102,13 @@ export type { TagResourceOutput, UntagResourceInput, UntagResourceOutput, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + TooManyTagsException, + ValidationException, SimSpaceWeaverServiceException, paginateListApps, paginateListSimulations, diff --git a/clients/client-snow-device-management/test/index-objects.spec.mjs b/clients/client-snow-device-management/test/index-objects.spec.mjs index 68128eff4f79..d6879ff212de 100644 --- a/clients/client-snow-device-management/test/index-objects.spec.mjs +++ b/clients/client-snow-device-management/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AttachmentStatus, CancelTaskCommand, CreateTaskCommand, @@ -8,6 +9,7 @@ import { DescribeTaskCommand, ExecutionState, InstanceStateName, + InternalServerException, IpAddressAssignment, ListDeviceResourcesCommand, ListDevicesCommand, @@ -15,13 +17,17 @@ import { ListTagsForResourceCommand, ListTasksCommand, PhysicalConnectorType, + ResourceNotFoundException, + ServiceQuotaExceededException, SnowDeviceManagement, SnowDeviceManagementClient, SnowDeviceManagementServiceException, TagResourceCommand, TaskState, + ThrottlingException, UnlockState, UntagResourceCommand, + ValidationException, paginateListDeviceResources, paginateListDevices, paginateListExecutions, @@ -54,6 +60,12 @@ assert(typeof PhysicalConnectorType === "object"); assert(typeof TaskState === "object"); assert(typeof UnlockState === "object"); // errors +assert(AccessDeniedException.prototype instanceof SnowDeviceManagementServiceException); +assert(InternalServerException.prototype instanceof SnowDeviceManagementServiceException); +assert(ResourceNotFoundException.prototype instanceof SnowDeviceManagementServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SnowDeviceManagementServiceException); +assert(ThrottlingException.prototype instanceof SnowDeviceManagementServiceException); +assert(ValidationException.prototype instanceof SnowDeviceManagementServiceException); assert(SnowDeviceManagementServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDeviceResources === "function"); diff --git a/clients/client-snow-device-management/test/index-types.ts b/clients/client-snow-device-management/test/index-types.ts index 550b2cc8513b..65d3d9242fdf 100644 --- a/clients/client-snow-device-management/test/index-types.ts +++ b/clients/client-snow-device-management/test/index-types.ts @@ -89,6 +89,12 @@ export type { TaskSummary, Unlock, UntagResourceInput, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SnowDeviceManagementServiceException, paginateListDeviceResources, paginateListDevices, diff --git a/clients/client-snowball/src/schemas/schemas_0.ts b/clients/client-snowball/src/schemas/schemas_0.ts index 20a4b36f6796..39f5406c9979 100644 --- a/clients/client-snowball/src/schemas/schemas_0.ts +++ b/clients/client-snowball/src/schemas/schemas_0.ts @@ -668,7 +668,6 @@ export var UpdateJobShipmentStateResult: StaticStructureSchema = [3, n0, _UJSSRp export var UpdateLongTermPricingRequest: StaticStructureSchema = [3, n0, _ULTPR, 0, [_LTPIo, _RJ, _ILTPAR], [0, 0, 2]]; export var UpdateLongTermPricingResult: StaticStructureSchema = [3, n0, _ULTPRp, 0, [], []]; export var WirelessConnection: StaticStructureSchema = [3, n0, _WC, 0, [_IWE], [2]]; -export var __Unit = "unit" as const; export var SnowballServiceException: StaticErrorSchema = [-3, _s, "SnowballServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(SnowballServiceException, __SnowballServiceException); export var AddressList: StaticListSchema = [1, n0, _AL, 0, () => Address]; diff --git a/clients/client-snowball/test/index-objects.spec.mjs b/clients/client-snowball/test/index-objects.spec.mjs index 14140bba24c5..2c2d6d44f8cb 100644 --- a/clients/client-snowball/test/index-objects.spec.mjs +++ b/clients/client-snowball/test/index-objects.spec.mjs @@ -2,7 +2,9 @@ import { AddressType, CancelClusterCommand, CancelJobCommand, + ClusterLimitExceededException, ClusterState, + ConflictException, CreateAddressCommand, CreateClusterCommand, CreateJobCommand, @@ -14,13 +16,20 @@ import { DescribeJobCommand, DescribeReturnShippingLabelCommand, DeviceServiceName, + Ec2RequestFailedException, GetJobManifestCommand, GetJobUnlockCodeCommand, GetSnowballUsageCommand, GetSoftwareUpdatesCommand, ImpactLevel, + InvalidAddressException, + InvalidInputCombinationException, + InvalidJobStateException, + InvalidNextTokenException, + InvalidResourceException, JobState, JobType, + KMSRequestFailedException, ListClusterJobsCommand, ListClustersCommand, ListCompatibleImagesCommand, @@ -30,6 +39,7 @@ import { ListServiceVersionsCommand, LongTermPricingType, RemoteManagement, + ReturnShippingLabelAlreadyExistsException, ServiceName, ShipmentState, ShippingLabelStatus, @@ -41,6 +51,7 @@ import { SnowballType, StorageUnit, TransferOption, + UnsupportedAddressException, UpdateClusterCommand, UpdateJobCommand, UpdateJobShipmentStateCommand, @@ -103,6 +114,17 @@ assert(typeof SnowballType === "object"); assert(typeof StorageUnit === "object"); assert(typeof TransferOption === "object"); // errors +assert(ClusterLimitExceededException.prototype instanceof SnowballServiceException); +assert(ConflictException.prototype instanceof SnowballServiceException); +assert(Ec2RequestFailedException.prototype instanceof SnowballServiceException); +assert(InvalidAddressException.prototype instanceof SnowballServiceException); +assert(InvalidInputCombinationException.prototype instanceof SnowballServiceException); +assert(InvalidJobStateException.prototype instanceof SnowballServiceException); +assert(InvalidNextTokenException.prototype instanceof SnowballServiceException); +assert(InvalidResourceException.prototype instanceof SnowballServiceException); +assert(KMSRequestFailedException.prototype instanceof SnowballServiceException); +assert(ReturnShippingLabelAlreadyExistsException.prototype instanceof SnowballServiceException); +assert(UnsupportedAddressException.prototype instanceof SnowballServiceException); assert(SnowballServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeAddresses === "function"); diff --git a/clients/client-snowball/test/index-types.ts b/clients/client-snowball/test/index-types.ts index b488ef58f08c..73b198ded575 100644 --- a/clients/client-snowball/test/index-types.ts +++ b/clients/client-snowball/test/index-types.ts @@ -185,6 +185,17 @@ export type { UpdateLongTermPricingRequest, UpdateLongTermPricingResult, WirelessConnection, + ClusterLimitExceededException, + ConflictException, + Ec2RequestFailedException, + InvalidAddressException, + InvalidInputCombinationException, + InvalidJobStateException, + InvalidNextTokenException, + InvalidResourceException, + KMSRequestFailedException, + ReturnShippingLabelAlreadyExistsException, + UnsupportedAddressException, SnowballServiceException, paginateDescribeAddresses, paginateListClusterJobs, diff --git a/clients/client-sns/test/index-objects.spec.mjs b/clients/client-sns/test/index-objects.spec.mjs index fa44254ebb40..6371af7ec409 100644 --- a/clients/client-sns/test/index-objects.spec.mjs +++ b/clients/client-sns/test/index-objects.spec.mjs @@ -1,6 +1,10 @@ import { AddPermissionCommand, + AuthorizationErrorException, + BatchEntryIdsNotDistinctException, + BatchRequestTooLongException, CheckIfPhoneNumberIsOptedOutCommand, + ConcurrentAccessException, ConfirmSubscriptionCommand, CreatePlatformApplicationCommand, CreatePlatformEndpointCommand, @@ -10,6 +14,9 @@ import { DeletePlatformApplicationCommand, DeleteSMSSandboxPhoneNumberCommand, DeleteTopicCommand, + EmptyBatchRequestException, + EndpointDisabledException, + FilterPolicyLimitExceededException, GetDataProtectionPolicyCommand, GetEndpointAttributesCommand, GetPlatformApplicationAttributesCommand, @@ -17,6 +24,18 @@ import { GetSMSSandboxAccountStatusCommand, GetSubscriptionAttributesCommand, GetTopicAttributesCommand, + InternalErrorException, + InvalidBatchEntryIdException, + InvalidParameterException, + InvalidParameterValueException, + InvalidSecurityException, + InvalidStateException, + KMSAccessDeniedException, + KMSDisabledException, + KMSInvalidStateException, + KMSNotFoundException, + KMSOptInRequired, + KMSThrottlingException, LanguageCodeString, ListEndpointsByPlatformApplicationCommand, ListOriginationNumbersCommand, @@ -27,12 +46,17 @@ import { ListSubscriptionsCommand, ListTagsForResourceCommand, ListTopicsCommand, + NotFoundException, NumberCapability, OptInPhoneNumberCommand, + OptedOutException, + PlatformApplicationDisabledException, PublishBatchCommand, PublishCommand, PutDataProtectionPolicyCommand, RemovePermissionCommand, + ReplayLimitExceededException, + ResourceNotFoundException, RouteType, SMSSandboxPhoneNumberVerificationStatus, SNS, @@ -43,10 +67,20 @@ import { SetSMSAttributesCommand, SetSubscriptionAttributesCommand, SetTopicAttributesCommand, + StaleTagException, SubscribeCommand, + SubscriptionLimitExceededException, + TagLimitExceededException, + TagPolicyException, TagResourceCommand, + ThrottledException, + TooManyEntriesInBatchRequestException, + TopicLimitExceededException, UnsubscribeCommand, UntagResourceCommand, + UserErrorException, + ValidationException, + VerificationException, VerifySMSSandboxPhoneNumberCommand, paginateListEndpointsByPlatformApplication, paginateListOriginationNumbers, @@ -110,6 +144,40 @@ assert(typeof NumberCapability === "object"); assert(typeof RouteType === "object"); assert(typeof SMSSandboxPhoneNumberVerificationStatus === "object"); // errors +assert(AuthorizationErrorException.prototype instanceof SNSServiceException); +assert(BatchEntryIdsNotDistinctException.prototype instanceof SNSServiceException); +assert(BatchRequestTooLongException.prototype instanceof SNSServiceException); +assert(ConcurrentAccessException.prototype instanceof SNSServiceException); +assert(EmptyBatchRequestException.prototype instanceof SNSServiceException); +assert(EndpointDisabledException.prototype instanceof SNSServiceException); +assert(FilterPolicyLimitExceededException.prototype instanceof SNSServiceException); +assert(InternalErrorException.prototype instanceof SNSServiceException); +assert(InvalidBatchEntryIdException.prototype instanceof SNSServiceException); +assert(InvalidParameterException.prototype instanceof SNSServiceException); +assert(InvalidParameterValueException.prototype instanceof SNSServiceException); +assert(InvalidSecurityException.prototype instanceof SNSServiceException); +assert(InvalidStateException.prototype instanceof SNSServiceException); +assert(KMSAccessDeniedException.prototype instanceof SNSServiceException); +assert(KMSDisabledException.prototype instanceof SNSServiceException); +assert(KMSInvalidStateException.prototype instanceof SNSServiceException); +assert(KMSNotFoundException.prototype instanceof SNSServiceException); +assert(KMSOptInRequired.prototype instanceof SNSServiceException); +assert(KMSThrottlingException.prototype instanceof SNSServiceException); +assert(NotFoundException.prototype instanceof SNSServiceException); +assert(OptedOutException.prototype instanceof SNSServiceException); +assert(PlatformApplicationDisabledException.prototype instanceof SNSServiceException); +assert(ReplayLimitExceededException.prototype instanceof SNSServiceException); +assert(ResourceNotFoundException.prototype instanceof SNSServiceException); +assert(StaleTagException.prototype instanceof SNSServiceException); +assert(SubscriptionLimitExceededException.prototype instanceof SNSServiceException); +assert(TagLimitExceededException.prototype instanceof SNSServiceException); +assert(TagPolicyException.prototype instanceof SNSServiceException); +assert(ThrottledException.prototype instanceof SNSServiceException); +assert(TooManyEntriesInBatchRequestException.prototype instanceof SNSServiceException); +assert(TopicLimitExceededException.prototype instanceof SNSServiceException); +assert(UserErrorException.prototype instanceof SNSServiceException); +assert(ValidationException.prototype instanceof SNSServiceException); +assert(VerificationException.prototype instanceof SNSServiceException); assert(SNSServiceException.prototype instanceof Error); // paginators assert(typeof paginateListEndpointsByPlatformApplication === "function"); diff --git a/clients/client-sns/test/index-types.ts b/clients/client-sns/test/index-types.ts index 26260d7e5a62..1ba2f437127b 100644 --- a/clients/client-sns/test/index-types.ts +++ b/clients/client-sns/test/index-types.ts @@ -216,6 +216,40 @@ export type { UntagResourceResponse, VerifySMSSandboxPhoneNumberInput, VerifySMSSandboxPhoneNumberResult, + AuthorizationErrorException, + BatchEntryIdsNotDistinctException, + BatchRequestTooLongException, + ConcurrentAccessException, + EmptyBatchRequestException, + EndpointDisabledException, + FilterPolicyLimitExceededException, + InternalErrorException, + InvalidBatchEntryIdException, + InvalidParameterException, + InvalidParameterValueException, + InvalidSecurityException, + InvalidStateException, + KMSAccessDeniedException, + KMSDisabledException, + KMSInvalidStateException, + KMSNotFoundException, + KMSOptInRequired, + KMSThrottlingException, + NotFoundException, + OptedOutException, + PlatformApplicationDisabledException, + ReplayLimitExceededException, + ResourceNotFoundException, + StaleTagException, + SubscriptionLimitExceededException, + TagLimitExceededException, + TagPolicyException, + ThrottledException, + TooManyEntriesInBatchRequestException, + TopicLimitExceededException, + UserErrorException, + ValidationException, + VerificationException, SNSServiceException, paginateListEndpointsByPlatformApplication, paginateListOriginationNumbers, diff --git a/clients/client-socialmessaging/src/schemas/schemas_0.ts b/clients/client-socialmessaging/src/schemas/schemas_0.ts index 5868d4cf8031..29a45e7b01ce 100644 --- a/clients/client-socialmessaging/src/schemas/schemas_0.ts +++ b/clients/client-socialmessaging/src/schemas/schemas_0.ts @@ -618,7 +618,6 @@ export var WhatsAppSignupCallbackResult: StaticStructureSchema = [ [_aIPT, _lAWIS], [[() => AssociateInProgressToken, 0], () => LinkedAccountWithIncompleteSetup], ]; -export var __Unit = "unit" as const; export var SocialMessagingServiceException: StaticErrorSchema = [-3, _sm, "SocialMessagingServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SocialMessagingServiceException, __SocialMessagingServiceException); export var LinkedWhatsAppBusinessAccountSummaryList: StaticListSchema = [ diff --git a/clients/client-socialmessaging/test/index-objects.spec.mjs b/clients/client-socialmessaging/test/index-objects.spec.mjs index 3102f41adb84..e7da08b84d26 100644 --- a/clients/client-socialmessaging/test/index-objects.spec.mjs +++ b/clients/client-socialmessaging/test/index-objects.spec.mjs @@ -1,15 +1,21 @@ import { + AccessDeniedByMetaException, + AccessDeniedException, AssociateWhatsAppBusinessAccountCommand, CreateWhatsAppMessageTemplateCommand, CreateWhatsAppMessageTemplateFromLibraryCommand, CreateWhatsAppMessageTemplateMediaCommand, DeleteWhatsAppMessageMediaCommand, DeleteWhatsAppMessageTemplateCommand, + DependencyException, DisassociateWhatsAppBusinessAccountCommand, GetLinkedWhatsAppBusinessAccountCommand, GetLinkedWhatsAppBusinessAccountPhoneNumberCommand, GetWhatsAppMessageMediaCommand, GetWhatsAppMessageTemplateCommand, + InternalServiceException, + InvalidParametersException, + LimitExceededException, ListLinkedWhatsAppBusinessAccountsCommand, ListTagsForResourceCommand, ListWhatsAppMessageTemplatesCommand, @@ -17,13 +23,16 @@ import { PostWhatsAppMessageMediaCommand, PutWhatsAppBusinessAccountEventDestinationsCommand, RegistrationStatus, + ResourceNotFoundException, SendWhatsAppMessageCommand, SocialMessaging, SocialMessagingClient, SocialMessagingServiceException, TagResourceCommand, + ThrottledRequestException, UntagResourceCommand, UpdateWhatsAppMessageTemplateCommand, + ValidationException, paginateListLinkedWhatsAppBusinessAccounts, paginateListWhatsAppMessageTemplates, paginateListWhatsAppTemplateLibrary, @@ -57,6 +66,15 @@ assert(typeof UpdateWhatsAppMessageTemplateCommand === "function"); // enums assert(typeof RegistrationStatus === "object"); // errors +assert(AccessDeniedByMetaException.prototype instanceof SocialMessagingServiceException); +assert(AccessDeniedException.prototype instanceof SocialMessagingServiceException); +assert(DependencyException.prototype instanceof SocialMessagingServiceException); +assert(InternalServiceException.prototype instanceof SocialMessagingServiceException); +assert(InvalidParametersException.prototype instanceof SocialMessagingServiceException); +assert(LimitExceededException.prototype instanceof SocialMessagingServiceException); +assert(ResourceNotFoundException.prototype instanceof SocialMessagingServiceException); +assert(ThrottledRequestException.prototype instanceof SocialMessagingServiceException); +assert(ValidationException.prototype instanceof SocialMessagingServiceException); assert(SocialMessagingServiceException.prototype instanceof Error); // paginators assert(typeof paginateListLinkedWhatsAppBusinessAccounts === "function"); diff --git a/clients/client-socialmessaging/test/index-types.ts b/clients/client-socialmessaging/test/index-types.ts index 42f9be268073..2b0ad9cb4b6d 100644 --- a/clients/client-socialmessaging/test/index-types.ts +++ b/clients/client-socialmessaging/test/index-types.ts @@ -128,6 +128,15 @@ export type { WhatsAppSetupFinalization, WhatsAppSignupCallback, WhatsAppSignupCallbackResult, + AccessDeniedByMetaException, + AccessDeniedException, + DependencyException, + InternalServiceException, + InvalidParametersException, + LimitExceededException, + ResourceNotFoundException, + ThrottledRequestException, + ValidationException, SocialMessagingServiceException, paginateListLinkedWhatsAppBusinessAccounts, paginateListWhatsAppMessageTemplates, diff --git a/clients/client-sqs/test/index-objects.spec.mjs b/clients/client-sqs/test/index-objects.spec.mjs index 47799b9ac45c..f27157ecf8d0 100644 --- a/clients/client-sqs/test/index-objects.spec.mjs +++ b/clients/client-sqs/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { AddPermissionCommand, + BatchEntryIdsNotDistinct, + BatchRequestTooLong, CancelMessageMoveTaskCommand, ChangeMessageVisibilityBatchCommand, ChangeMessageVisibilityCommand, @@ -7,18 +9,42 @@ import { DeleteMessageBatchCommand, DeleteMessageCommand, DeleteQueueCommand, + EmptyBatchRequest, GetQueueAttributesCommand, GetQueueUrlCommand, + InvalidAddress, + InvalidAttributeName, + InvalidAttributeValue, + InvalidBatchEntryId, + InvalidIdFormat, + InvalidMessageContents, + InvalidSecurity, + KmsAccessDenied, + KmsDisabled, + KmsInvalidKeyUsage, + KmsInvalidState, + KmsNotFound, + KmsOptInRequired, + KmsThrottled, ListDeadLetterSourceQueuesCommand, ListMessageMoveTasksCommand, ListQueueTagsCommand, ListQueuesCommand, + MessageNotInflight, MessageSystemAttributeName, MessageSystemAttributeNameForSends, + OverLimit, PurgeQueueCommand, + PurgeQueueInProgress, QueueAttributeName, + QueueDeletedRecently, + QueueDoesNotExist, + QueueNameExists, + ReceiptHandleIsInvalid, ReceiveMessageCommand, RemovePermissionCommand, + RequestThrottled, + ResourceNotFoundException, SQS, SQSClient, SQSServiceException, @@ -27,6 +53,8 @@ import { SetQueueAttributesCommand, StartMessageMoveTaskCommand, TagQueueCommand, + TooManyEntriesInBatchRequest, + UnsupportedOperation, UntagQueueCommand, paginateListDeadLetterSourceQueues, paginateListQueues, @@ -64,6 +92,34 @@ assert(typeof MessageSystemAttributeName === "object"); assert(typeof MessageSystemAttributeNameForSends === "object"); assert(typeof QueueAttributeName === "object"); // errors +assert(BatchEntryIdsNotDistinct.prototype instanceof SQSServiceException); +assert(BatchRequestTooLong.prototype instanceof SQSServiceException); +assert(EmptyBatchRequest.prototype instanceof SQSServiceException); +assert(InvalidAddress.prototype instanceof SQSServiceException); +assert(InvalidAttributeName.prototype instanceof SQSServiceException); +assert(InvalidAttributeValue.prototype instanceof SQSServiceException); +assert(InvalidBatchEntryId.prototype instanceof SQSServiceException); +assert(InvalidIdFormat.prototype instanceof SQSServiceException); +assert(InvalidMessageContents.prototype instanceof SQSServiceException); +assert(InvalidSecurity.prototype instanceof SQSServiceException); +assert(KmsAccessDenied.prototype instanceof SQSServiceException); +assert(KmsDisabled.prototype instanceof SQSServiceException); +assert(KmsInvalidKeyUsage.prototype instanceof SQSServiceException); +assert(KmsInvalidState.prototype instanceof SQSServiceException); +assert(KmsNotFound.prototype instanceof SQSServiceException); +assert(KmsOptInRequired.prototype instanceof SQSServiceException); +assert(KmsThrottled.prototype instanceof SQSServiceException); +assert(MessageNotInflight.prototype instanceof SQSServiceException); +assert(OverLimit.prototype instanceof SQSServiceException); +assert(PurgeQueueInProgress.prototype instanceof SQSServiceException); +assert(QueueDeletedRecently.prototype instanceof SQSServiceException); +assert(QueueDoesNotExist.prototype instanceof SQSServiceException); +assert(QueueNameExists.prototype instanceof SQSServiceException); +assert(ReceiptHandleIsInvalid.prototype instanceof SQSServiceException); +assert(RequestThrottled.prototype instanceof SQSServiceException); +assert(ResourceNotFoundException.prototype instanceof SQSServiceException); +assert(TooManyEntriesInBatchRequest.prototype instanceof SQSServiceException); +assert(UnsupportedOperation.prototype instanceof SQSServiceException); assert(SQSServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDeadLetterSourceQueues === "function"); diff --git a/clients/client-sqs/test/index-types.ts b/clients/client-sqs/test/index-types.ts index 5a5432a3c89c..5cca79306195 100644 --- a/clients/client-sqs/test/index-types.ts +++ b/clients/client-sqs/test/index-types.ts @@ -122,6 +122,34 @@ export type { StartMessageMoveTaskResult, TagQueueRequest, UntagQueueRequest, + BatchEntryIdsNotDistinct, + BatchRequestTooLong, + EmptyBatchRequest, + InvalidAddress, + InvalidAttributeName, + InvalidAttributeValue, + InvalidBatchEntryId, + InvalidIdFormat, + InvalidMessageContents, + InvalidSecurity, + KmsAccessDenied, + KmsDisabled, + KmsInvalidKeyUsage, + KmsInvalidState, + KmsNotFound, + KmsOptInRequired, + KmsThrottled, + MessageNotInflight, + OverLimit, + PurgeQueueInProgress, + QueueDeletedRecently, + QueueDoesNotExist, + QueueNameExists, + ReceiptHandleIsInvalid, + RequestThrottled, + ResourceNotFoundException, + TooManyEntriesInBatchRequest, + UnsupportedOperation, SQSServiceException, paginateListDeadLetterSourceQueues, paginateListQueues, diff --git a/clients/client-ssm-contacts/src/schemas/schemas_0.ts b/clients/client-ssm-contacts/src/schemas/schemas_0.ts index 610a520815d2..c52dfd37f250 100644 --- a/clients/client-ssm-contacts/src/schemas/schemas_0.ts +++ b/clients/client-ssm-contacts/src/schemas/schemas_0.ts @@ -660,7 +660,6 @@ export var ValidationException: StaticErrorSchema = [ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_Na, _M], [0, 0]]; export var WeeklySetting: StaticStructureSchema = [3, n0, _WSe, 0, [_DOW, _HOT], [0, () => HandOffTime]]; -export var __Unit = "unit" as const; export var SSMContactsServiceException: StaticErrorSchema = [-3, _sm, "SSMContactsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SSMContactsServiceException, __SSMContactsServiceException); export var ContactChannelList: StaticListSchema = [1, n0, _CCL, 0, () => ContactChannel]; diff --git a/clients/client-ssm-contacts/test/index-objects.spec.mjs b/clients/client-ssm-contacts/test/index-objects.spec.mjs index adb974a4414f..2bc4c5f87a5b 100644 --- a/clients/client-ssm-contacts/test/index-objects.spec.mjs +++ b/clients/client-ssm-contacts/test/index-objects.spec.mjs @@ -2,14 +2,17 @@ import { AcceptCodeValidation, AcceptPageCommand, AcceptType, + AccessDeniedException, ActivateContactChannelCommand, ActivationStatus, ChannelType, + ConflictException, ContactType, CreateContactChannelCommand, CreateContactCommand, CreateRotationCommand, CreateRotationOverrideCommand, + DataEncryptionException, DayOfWeek, DeactivateContactChannelCommand, DeleteContactChannelCommand, @@ -23,6 +26,7 @@ import { GetContactPolicyCommand, GetRotationCommand, GetRotationOverrideCommand, + InternalServerException, ListContactChannelsCommand, ListContactsCommand, ListEngagementsCommand, @@ -37,18 +41,23 @@ import { ListTagsForResourceCommand, PutContactPolicyCommand, ReceiptType, + ResourceNotFoundException, SSMContacts, SSMContactsClient, SSMContactsServiceException, SendActivationCodeCommand, + ServiceQuotaExceededException, ShiftType, StartEngagementCommand, StopEngagementCommand, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateContactChannelCommand, UpdateContactCommand, UpdateRotationCommand, + ValidationException, + ValidationExceptionReason, paginateListContactChannels, paginateListContacts, paginateListEngagements, @@ -114,7 +123,16 @@ assert(typeof ContactType === "object"); assert(typeof DayOfWeek === "object"); assert(typeof ReceiptType === "object"); assert(typeof ShiftType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof SSMContactsServiceException); +assert(ConflictException.prototype instanceof SSMContactsServiceException); +assert(DataEncryptionException.prototype instanceof SSMContactsServiceException); +assert(InternalServerException.prototype instanceof SSMContactsServiceException); +assert(ResourceNotFoundException.prototype instanceof SSMContactsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SSMContactsServiceException); +assert(ThrottlingException.prototype instanceof SSMContactsServiceException); +assert(ValidationException.prototype instanceof SSMContactsServiceException); assert(SSMContactsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListContactChannels === "function"); diff --git a/clients/client-ssm-contacts/test/index-types.ts b/clients/client-ssm-contacts/test/index-types.ts index 6d1f28a4ea51..ce6b65ae0577 100644 --- a/clients/client-ssm-contacts/test/index-types.ts +++ b/clients/client-ssm-contacts/test/index-types.ts @@ -127,6 +127,7 @@ export type { DayOfWeek, ReceiptType, ShiftType, + ValidationExceptionReason, AcceptPageRequest, AcceptPageResult, ActivateContactChannelRequest, @@ -155,6 +156,7 @@ export type { DeleteRotationOverrideResult, DeleteRotationRequest, DeleteRotationResult, + DependentEntity, DescribeEngagementRequest, DescribeEngagementResult, DescribePageRequest, @@ -228,7 +230,16 @@ export type { UpdateContactResult, UpdateRotationRequest, UpdateRotationResult, + ValidationExceptionField, WeeklySetting, + AccessDeniedException, + ConflictException, + DataEncryptionException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SSMContactsServiceException, paginateListContactChannels, paginateListContacts, diff --git a/clients/client-ssm-guiconnect/test/index-objects.spec.mjs b/clients/client-ssm-guiconnect/test/index-objects.spec.mjs index dd9f46850e06..ad57cef94fe6 100644 --- a/clients/client-ssm-guiconnect/test/index-objects.spec.mjs +++ b/clients/client-ssm-guiconnect/test/index-objects.spec.mjs @@ -1,10 +1,17 @@ import { + AccessDeniedException, + ConflictException, DeleteConnectionRecordingPreferencesCommand, GetConnectionRecordingPreferencesCommand, + InternalServerException, + ResourceNotFoundException, SSMGuiConnect, SSMGuiConnectClient, SSMGuiConnectServiceException, + ServiceQuotaExceededException, + ThrottlingException, UpdateConnectionRecordingPreferencesCommand, + ValidationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -15,5 +22,12 @@ assert(typeof DeleteConnectionRecordingPreferencesCommand === "function"); assert(typeof GetConnectionRecordingPreferencesCommand === "function"); assert(typeof UpdateConnectionRecordingPreferencesCommand === "function"); // errors +assert(AccessDeniedException.prototype instanceof SSMGuiConnectServiceException); +assert(ConflictException.prototype instanceof SSMGuiConnectServiceException); +assert(InternalServerException.prototype instanceof SSMGuiConnectServiceException); +assert(ResourceNotFoundException.prototype instanceof SSMGuiConnectServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SSMGuiConnectServiceException); +assert(ThrottlingException.prototype instanceof SSMGuiConnectServiceException); +assert(ValidationException.prototype instanceof SSMGuiConnectServiceException); assert(SSMGuiConnectServiceException.prototype instanceof Error); console.log(`SSMGuiConnect index test passed.`); diff --git a/clients/client-ssm-guiconnect/test/index-types.ts b/clients/client-ssm-guiconnect/test/index-types.ts index a9cc3b6f678c..4bdf2015ed98 100644 --- a/clients/client-ssm-guiconnect/test/index-types.ts +++ b/clients/client-ssm-guiconnect/test/index-types.ts @@ -19,5 +19,12 @@ export type { S3Bucket, UpdateConnectionRecordingPreferencesRequest, UpdateConnectionRecordingPreferencesResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SSMGuiConnectServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-ssm-incidents/test/index-objects.spec.mjs b/clients/client-ssm-incidents/test/index-objects.spec.mjs index fe2706d437f7..cebbde0abb4c 100644 --- a/clients/client-ssm-incidents/test/index-objects.spec.mjs +++ b/clients/client-ssm-incidents/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, BatchGetIncidentFindingsCommand, + ConflictException, CreateReplicationSetCommand, CreateResponsePlanCommand, CreateTimelineEventCommand, @@ -14,6 +16,7 @@ import { GetResponsePlanCommand, GetTimelineEventCommand, IncidentRecordStatus, + InternalServerException, ItemType, ListIncidentFindingsCommand, ListIncidentRecordsCommand, @@ -25,13 +28,18 @@ import { PutResourcePolicyCommand, RegionStatus, ReplicationSetStatus, + ResourceNotFoundException, + ResourceType, SSMIncidents, SSMIncidentsClient, SSMIncidentsServiceException, + ServiceCode, + ServiceQuotaExceededException, SortOrder, SsmTargetAccount, StartIncidentCommand, TagResourceCommand, + ThrottlingException, TimelineEventSort, UntagResourceCommand, UpdateDeletionProtectionCommand, @@ -40,6 +48,7 @@ import { UpdateReplicationSetCommand, UpdateResponsePlanCommand, UpdateTimelineEventCommand, + ValidationException, VariableType, paginateGetResourcePolicies, paginateListIncidentFindings, @@ -94,11 +103,20 @@ assert(typeof IncidentRecordStatus === "object"); assert(typeof ItemType === "object"); assert(typeof RegionStatus === "object"); assert(typeof ReplicationSetStatus === "object"); +assert(typeof ResourceType === "object"); +assert(typeof ServiceCode === "object"); assert(typeof SortOrder === "object"); assert(typeof SsmTargetAccount === "object"); assert(typeof TimelineEventSort === "object"); assert(typeof VariableType === "object"); // errors +assert(AccessDeniedException.prototype instanceof SSMIncidentsServiceException); +assert(ConflictException.prototype instanceof SSMIncidentsServiceException); +assert(InternalServerException.prototype instanceof SSMIncidentsServiceException); +assert(ResourceNotFoundException.prototype instanceof SSMIncidentsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SSMIncidentsServiceException); +assert(ThrottlingException.prototype instanceof SSMIncidentsServiceException); +assert(ValidationException.prototype instanceof SSMIncidentsServiceException); assert(SSMIncidentsServiceException.prototype instanceof Error); // waiters assert(typeof waitForWaitForReplicationSetActive === "function"); diff --git a/clients/client-ssm-incidents/test/index-types.ts b/clients/client-ssm-incidents/test/index-types.ts index fc84f0f67645..08e2c546b09a 100644 --- a/clients/client-ssm-incidents/test/index-types.ts +++ b/clients/client-ssm-incidents/test/index-types.ts @@ -99,6 +99,8 @@ export type { ItemType, RegionStatus, ReplicationSetStatus, + ResourceType, + ServiceCode, SortOrder, SsmTargetAccount, TimelineEventSort, @@ -205,6 +207,13 @@ export type { UpdateResponsePlanOutput, UpdateTimelineEventInput, UpdateTimelineEventOutput, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SSMIncidentsServiceException, waitForWaitForReplicationSetActive, waitForWaitForReplicationSetDeleted, diff --git a/clients/client-ssm-quicksetup/test/index-objects.spec.mjs b/clients/client-ssm-quicksetup/test/index-objects.spec.mjs index b5179659b4f0..4e1a6fafbc5b 100644 --- a/clients/client-ssm-quicksetup/test/index-objects.spec.mjs +++ b/clients/client-ssm-quicksetup/test/index-objects.spec.mjs @@ -1,23 +1,29 @@ import { + AccessDeniedException, + ConflictException, CreateConfigurationManagerCommand, DeleteConfigurationManagerCommand, GetConfigurationCommand, GetConfigurationManagerCommand, GetServiceSettingsCommand, + InternalServerException, ListConfigurationManagersCommand, ListConfigurationsCommand, ListQuickSetupTypesCommand, ListTagsForResourceCommand, + ResourceNotFoundException, SSMQuickSetup, SSMQuickSetupClient, SSMQuickSetupServiceException, Status, StatusType, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateConfigurationDefinitionCommand, UpdateConfigurationManagerCommand, UpdateServiceSettingsCommand, + ValidationException, paginateListConfigurationManagers, paginateListConfigurations, } from "../dist-cjs/index.js"; @@ -44,6 +50,12 @@ assert(typeof UpdateServiceSettingsCommand === "function"); assert(typeof Status === "object"); assert(typeof StatusType === "object"); // errors +assert(AccessDeniedException.prototype instanceof SSMQuickSetupServiceException); +assert(ConflictException.prototype instanceof SSMQuickSetupServiceException); +assert(InternalServerException.prototype instanceof SSMQuickSetupServiceException); +assert(ResourceNotFoundException.prototype instanceof SSMQuickSetupServiceException); +assert(ThrottlingException.prototype instanceof SSMQuickSetupServiceException); +assert(ValidationException.prototype instanceof SSMQuickSetupServiceException); assert(SSMQuickSetupServiceException.prototype instanceof Error); // paginators assert(typeof paginateListConfigurationManagers === "function"); diff --git a/clients/client-ssm-quicksetup/test/index-types.ts b/clients/client-ssm-quicksetup/test/index-types.ts index 6073d0340bb5..df2b33a991ea 100644 --- a/clients/client-ssm-quicksetup/test/index-types.ts +++ b/clients/client-ssm-quicksetup/test/index-types.ts @@ -76,6 +76,12 @@ export type { UpdateConfigurationDefinitionInput, UpdateConfigurationManagerInput, UpdateServiceSettingsInput, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, SSMQuickSetupServiceException, paginateListConfigurationManagers, paginateListConfigurations, diff --git a/clients/client-ssm-sap/src/schemas/schemas_0.ts b/clients/client-ssm-sap/src/schemas/schemas_0.ts index 0ff64929bcc7..f030e1c2f2ef 100644 --- a/clients/client-ssm-sap/src/schemas/schemas_0.ts +++ b/clients/client-ssm-sap/src/schemas/schemas_0.ts @@ -536,7 +536,6 @@ export var UpdateApplicationSettingsInput: StaticStructureSchema = [ export var UpdateApplicationSettingsOutput: StaticStructureSchema = [3, n0, _UASO, 0, [_M, _OIp], [0, 64 | 0]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var SsmSapServiceException: StaticErrorSchema = [-3, _sm, "SsmSapServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SsmSapServiceException, __SsmSapServiceException); export var ApplicationArnList = 64 | 0; diff --git a/clients/client-ssm-sap/test/index-objects.spec.mjs b/clients/client-ssm-sap/test/index-objects.spec.mjs index 853bc7bf65c3..0a1b00f3b1c8 100644 --- a/clients/client-ssm-sap/test/index-objects.spec.mjs +++ b/clients/client-ssm-sap/test/index-objects.spec.mjs @@ -9,6 +9,7 @@ import { ComponentType, ConfigurationCheckOperationListingMode, ConfigurationCheckType, + ConflictException, ConnectedEntityType, CredentialType, DatabaseConnectionMethod, @@ -24,6 +25,7 @@ import { GetOperationCommand, GetResourcePermissionCommand, HostRole, + InternalServerException, ListApplicationsCommand, ListComponentsCommand, ListConfigurationCheckDefinitionsCommand, @@ -41,6 +43,7 @@ import { PutResourcePermissionCommand, RegisterApplicationCommand, ReplicationMode, + ResourceNotFoundException, RuleResultStatus, SsmSap, SsmSapClient, @@ -50,8 +53,10 @@ import { StartConfigurationChecksCommand, StopApplicationCommand, TagResourceCommand, + UnauthorizedException, UntagResourceCommand, UpdateApplicationSettingsCommand, + ValidationException, paginateListApplications, paginateListComponents, paginateListConfigurationCheckDefinitions, @@ -119,6 +124,11 @@ assert(typeof PermissionActionType === "object"); assert(typeof ReplicationMode === "object"); assert(typeof RuleResultStatus === "object"); // errors +assert(ConflictException.prototype instanceof SsmSapServiceException); +assert(InternalServerException.prototype instanceof SsmSapServiceException); +assert(ResourceNotFoundException.prototype instanceof SsmSapServiceException); +assert(UnauthorizedException.prototype instanceof SsmSapServiceException); +assert(ValidationException.prototype instanceof SsmSapServiceException); assert(SsmSapServiceException.prototype instanceof Error); // paginators assert(typeof paginateListApplications === "function"); diff --git a/clients/client-ssm-sap/test/index-types.ts b/clients/client-ssm-sap/test/index-types.ts index a6d75bf42187..e8ebd9ea351a 100644 --- a/clients/client-ssm-sap/test/index-types.ts +++ b/clients/client-ssm-sap/test/index-types.ts @@ -183,6 +183,11 @@ export type { UntagResourceResponse, UpdateApplicationSettingsInput, UpdateApplicationSettingsOutput, + ConflictException, + InternalServerException, + ResourceNotFoundException, + UnauthorizedException, + ValidationException, SsmSapServiceException, paginateListApplications, paginateListComponents, diff --git a/clients/client-ssm/src/schemas/schemas_0.ts b/clients/client-ssm/src/schemas/schemas_0.ts index f258ce9b48f9..3f5eafe4af86 100644 --- a/clients/client-ssm/src/schemas/schemas_0.ts +++ b/clients/client-ssm/src/schemas/schemas_0.ts @@ -5969,7 +5969,6 @@ export var ValidationException: StaticErrorSchema = [ [0, 0], ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var SSMServiceException: StaticErrorSchema = [-3, _sm, "SSMServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SSMServiceException, __SSMServiceException); export var AccountIdList: StaticListSchema = [1, n0, _AIL, 0, [0, { [_xN]: _AI }]]; diff --git a/clients/client-ssm/test/index-objects.spec.mjs b/clients/client-ssm/test/index-objects.spec.mjs index 12d736390162..beaee1d67151 100644 --- a/clients/client-ssm/test/index-objects.spec.mjs +++ b/clients/client-ssm/test/index-objects.spec.mjs @@ -1,19 +1,33 @@ import { + AccessDeniedException, AccessRequestStatus, AccessType, AddTagsToResourceCommand, + AlreadyExistsException, AssociateOpsItemRelatedItemCommand, + AssociatedInstances, + AssociationAlreadyExists, AssociationComplianceSeverity, + AssociationDoesNotExist, + AssociationExecutionDoesNotExist, AssociationExecutionFilterKey, AssociationExecutionTargetsFilterKey, AssociationFilterKey, AssociationFilterOperatorType, + AssociationLimitExceeded, AssociationStatusName, AssociationSyncCompliance, + AssociationVersionLimitExceeded, AttachmentHashType, AttachmentsSourceKey, + AutomationDefinitionNotApprovedException, + AutomationDefinitionNotFoundException, + AutomationDefinitionVersionNotFoundException, AutomationExecutionFilterKey, + AutomationExecutionLimitExceededException, + AutomationExecutionNotFoundException, AutomationExecutionStatus, + AutomationStepNotFoundException, AutomationSubtype, AutomationType, CalendarState, @@ -26,6 +40,7 @@ import { ComplianceQueryOperatorType, ComplianceSeverity, ComplianceStatus, + ComplianceTypeCountLimitExceededException, ComplianceUploadType, ConnectionStatus, CreateActivationCommand, @@ -37,6 +52,7 @@ import { CreateOpsMetadataCommand, CreatePatchBaselineCommand, CreateResourceDataSyncCommand, + CustomSchemaCountLimitExceededException, DeleteActivationCommand, DeleteAssociationCommand, DeleteDocumentCommand, @@ -88,20 +104,29 @@ import { DescribePatchPropertiesCommand, DescribeSessionsCommand, DisassociateOpsItemRelatedItemCommand, + DocumentAlreadyExists, DocumentFilterKey, DocumentFormat, DocumentHashType, + DocumentLimitExceeded, DocumentMetadataEnum, DocumentParameterType, + DocumentPermissionLimit, DocumentPermissionType, DocumentReviewAction, DocumentReviewCommentType, DocumentStatus, DocumentType, + DocumentVersionLimitExceeded, + DoesNotExistException, + DuplicateDocumentContent, + DuplicateDocumentVersionName, + DuplicateInstanceId, ExecutionMode, ExecutionPreviewStatus, ExternalAlarmState, Fault, + FeatureNotAvailableException, GetAccessTokenCommand, GetAutomationExecutionCommand, GetCalendarStateCommand, @@ -129,15 +154,73 @@ import { GetPatchBaselineForPatchGroupCommand, GetResourcePoliciesCommand, GetServiceSettingCommand, + HierarchyLevelLimitExceededException, + HierarchyTypeMismatchException, + IdempotentParameterMismatch, ImpactType, + IncompatiblePolicyException, InstanceInformationFilterKey, InstancePatchStateOperatorType, InstancePropertyFilterKey, InstancePropertyFilterOperator, + InternalServerError, + InvalidActivation, + InvalidActivationId, + InvalidAggregatorException, + InvalidAllowedPatternException, + InvalidAssociation, + InvalidAssociationVersion, + InvalidAutomationExecutionParametersException, + InvalidAutomationSignalException, + InvalidAutomationStatusUpdateException, + InvalidCommandId, + InvalidDeleteInventoryParametersException, + InvalidDeletionIdException, + InvalidDocument, + InvalidDocumentContent, + InvalidDocumentOperation, + InvalidDocumentSchemaVersion, + InvalidDocumentType, + InvalidDocumentVersion, + InvalidFilter, + InvalidFilterKey, + InvalidFilterOption, + InvalidFilterValue, + InvalidInstanceId, + InvalidInstanceInformationFilterValue, + InvalidInstancePropertyFilterValue, + InvalidInventoryGroupException, + InvalidInventoryItemContextException, + InvalidInventoryRequestException, + InvalidItemContentException, + InvalidKeyId, + InvalidNextToken, + InvalidNotificationConfig, + InvalidOptionException, + InvalidOutputFolder, + InvalidOutputLocation, + InvalidParameters, + InvalidPermissionType, + InvalidPluginName, + InvalidPolicyAttributeException, + InvalidPolicyTypeException, + InvalidResourceId, + InvalidResourceType, + InvalidResultAttributeException, + InvalidRole, + InvalidSchedule, + InvalidTag, + InvalidTarget, + InvalidTargetMaps, + InvalidTypeNameException, + InvalidUpdate, InventoryAttributeDataType, InventoryDeletionStatus, InventoryQueryOperatorType, InventorySchemaDeleteOption, + InvocationDoesNotExist, + ItemContentMismatchException, + ItemSizeLimitExceededException, LabelParameterVersionCommand, LastResourceDataSyncStatus, ListAssociationVersionsCommand, @@ -162,8 +245,11 @@ import { MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskType, + MalformedResourcePolicyDocumentException, ManagedStatus, + MaxDocumentSizeExceeded, ModifyDocumentPermissionCommand, + NoLongerSupportedException, NodeAggregatorType, NodeAttributeName, NodeFilterKey, @@ -173,16 +259,37 @@ import { NotificationType, OperatingSystem, OpsFilterOperatorType, + OpsItemAccessDeniedException, + OpsItemAlreadyExistsException, + OpsItemConflictException, OpsItemDataType, OpsItemEventFilterKey, OpsItemEventFilterOperator, OpsItemFilterKey, OpsItemFilterOperator, + OpsItemInvalidParameterException, + OpsItemLimitExceededException, + OpsItemNotFoundException, + OpsItemRelatedItemAlreadyExistsException, + OpsItemRelatedItemAssociationNotFoundException, OpsItemRelatedItemsFilterKey, OpsItemRelatedItemsFilterOperator, OpsItemStatus, + OpsMetadataAlreadyExistsException, + OpsMetadataInvalidArgumentException, + OpsMetadataKeyLimitExceededException, + OpsMetadataLimitExceededException, + OpsMetadataNotFoundException, + OpsMetadataTooManyUpdatesException, + ParameterAlreadyExists, + ParameterLimitExceeded, + ParameterMaxVersionLimitExceeded, + ParameterNotFound, + ParameterPatternMismatchException, ParameterTier, ParameterType, + ParameterVersionLabelLimitExceeded, + ParameterVersionNotFound, ParametersFilterKey, PatchAction, PatchComplianceDataState, @@ -195,6 +302,7 @@ import { PatchSet, PingStatus, PlatformType, + PoliciesLimitExceededException, PutComplianceItemsCommand, PutInventoryCommand, PutParameterCommand, @@ -206,7 +314,19 @@ import { RegisterTaskWithMaintenanceWindowCommand, RemoveTagsFromResourceCommand, ResetServiceSettingCommand, + ResourceDataSyncAlreadyExistsException, + ResourceDataSyncConflictException, + ResourceDataSyncCountExceededException, + ResourceDataSyncInvalidConfigurationException, + ResourceDataSyncNotFoundException, ResourceDataSyncS3Format, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourcePolicyConflictException, + ResourcePolicyInvalidParameterException, + ResourcePolicyLimitExceededException, + ResourcePolicyNotFoundException, ResourceType, ResourceTypeForTagging, ResumeSessionCommand, @@ -216,6 +336,8 @@ import { SSMServiceException, SendAutomationSignalCommand, SendCommandCommand, + ServiceQuotaExceededException, + ServiceSettingNotFound, SessionFilterKey, SessionState, SessionStatus, @@ -227,11 +349,27 @@ import { StartChangeRequestExecutionCommand, StartExecutionPreviewCommand, StartSessionCommand, + StatusUnchanged, StepExecutionFilterKey, StopAutomationExecutionCommand, StopType, + SubTypeCountLimitExceededException, + TargetInUseException, + TargetNotConnected, TerminateSessionCommand, + ThrottlingException, + TooManyTagsError, + TooManyUpdates, + TotalSizeLimitExceededException, UnlabelParameterVersionCommand, + UnsupportedCalendarException, + UnsupportedFeatureRequiredException, + UnsupportedInventoryItemContextException, + UnsupportedInventorySchemaVersionException, + UnsupportedOperatingSystem, + UnsupportedOperationException, + UnsupportedParameterType, + UnsupportedPlatformType, UpdateAssociationCommand, UpdateAssociationStatusCommand, UpdateDocumentCommand, @@ -246,6 +384,7 @@ import { UpdatePatchBaselineCommand, UpdateResourceDataSyncCommand, UpdateServiceSettingCommand, + ValidationException, paginateDescribeActivations, paginateDescribeAssociationExecutionTargets, paginateDescribeAssociationExecutions, @@ -550,6 +689,145 @@ assert(typeof SourceType === "object"); assert(typeof StepExecutionFilterKey === "object"); assert(typeof StopType === "object"); // errors +assert(AccessDeniedException.prototype instanceof SSMServiceException); +assert(AlreadyExistsException.prototype instanceof SSMServiceException); +assert(AssociatedInstances.prototype instanceof SSMServiceException); +assert(AssociationAlreadyExists.prototype instanceof SSMServiceException); +assert(AssociationDoesNotExist.prototype instanceof SSMServiceException); +assert(AssociationExecutionDoesNotExist.prototype instanceof SSMServiceException); +assert(AssociationLimitExceeded.prototype instanceof SSMServiceException); +assert(AssociationVersionLimitExceeded.prototype instanceof SSMServiceException); +assert(AutomationDefinitionNotApprovedException.prototype instanceof SSMServiceException); +assert(AutomationDefinitionNotFoundException.prototype instanceof SSMServiceException); +assert(AutomationDefinitionVersionNotFoundException.prototype instanceof SSMServiceException); +assert(AutomationExecutionLimitExceededException.prototype instanceof SSMServiceException); +assert(AutomationExecutionNotFoundException.prototype instanceof SSMServiceException); +assert(AutomationStepNotFoundException.prototype instanceof SSMServiceException); +assert(ComplianceTypeCountLimitExceededException.prototype instanceof SSMServiceException); +assert(CustomSchemaCountLimitExceededException.prototype instanceof SSMServiceException); +assert(DocumentAlreadyExists.prototype instanceof SSMServiceException); +assert(DocumentLimitExceeded.prototype instanceof SSMServiceException); +assert(DocumentPermissionLimit.prototype instanceof SSMServiceException); +assert(DocumentVersionLimitExceeded.prototype instanceof SSMServiceException); +assert(DoesNotExistException.prototype instanceof SSMServiceException); +assert(DuplicateDocumentContent.prototype instanceof SSMServiceException); +assert(DuplicateDocumentVersionName.prototype instanceof SSMServiceException); +assert(DuplicateInstanceId.prototype instanceof SSMServiceException); +assert(FeatureNotAvailableException.prototype instanceof SSMServiceException); +assert(HierarchyLevelLimitExceededException.prototype instanceof SSMServiceException); +assert(HierarchyTypeMismatchException.prototype instanceof SSMServiceException); +assert(IdempotentParameterMismatch.prototype instanceof SSMServiceException); +assert(IncompatiblePolicyException.prototype instanceof SSMServiceException); +assert(InternalServerError.prototype instanceof SSMServiceException); +assert(InvalidActivation.prototype instanceof SSMServiceException); +assert(InvalidActivationId.prototype instanceof SSMServiceException); +assert(InvalidAggregatorException.prototype instanceof SSMServiceException); +assert(InvalidAllowedPatternException.prototype instanceof SSMServiceException); +assert(InvalidAssociation.prototype instanceof SSMServiceException); +assert(InvalidAssociationVersion.prototype instanceof SSMServiceException); +assert(InvalidAutomationExecutionParametersException.prototype instanceof SSMServiceException); +assert(InvalidAutomationSignalException.prototype instanceof SSMServiceException); +assert(InvalidAutomationStatusUpdateException.prototype instanceof SSMServiceException); +assert(InvalidCommandId.prototype instanceof SSMServiceException); +assert(InvalidDeleteInventoryParametersException.prototype instanceof SSMServiceException); +assert(InvalidDeletionIdException.prototype instanceof SSMServiceException); +assert(InvalidDocument.prototype instanceof SSMServiceException); +assert(InvalidDocumentContent.prototype instanceof SSMServiceException); +assert(InvalidDocumentOperation.prototype instanceof SSMServiceException); +assert(InvalidDocumentSchemaVersion.prototype instanceof SSMServiceException); +assert(InvalidDocumentType.prototype instanceof SSMServiceException); +assert(InvalidDocumentVersion.prototype instanceof SSMServiceException); +assert(InvalidFilter.prototype instanceof SSMServiceException); +assert(InvalidFilterKey.prototype instanceof SSMServiceException); +assert(InvalidFilterOption.prototype instanceof SSMServiceException); +assert(InvalidFilterValue.prototype instanceof SSMServiceException); +assert(InvalidInstanceId.prototype instanceof SSMServiceException); +assert(InvalidInstanceInformationFilterValue.prototype instanceof SSMServiceException); +assert(InvalidInstancePropertyFilterValue.prototype instanceof SSMServiceException); +assert(InvalidInventoryGroupException.prototype instanceof SSMServiceException); +assert(InvalidInventoryItemContextException.prototype instanceof SSMServiceException); +assert(InvalidInventoryRequestException.prototype instanceof SSMServiceException); +assert(InvalidItemContentException.prototype instanceof SSMServiceException); +assert(InvalidKeyId.prototype instanceof SSMServiceException); +assert(InvalidNextToken.prototype instanceof SSMServiceException); +assert(InvalidNotificationConfig.prototype instanceof SSMServiceException); +assert(InvalidOptionException.prototype instanceof SSMServiceException); +assert(InvalidOutputFolder.prototype instanceof SSMServiceException); +assert(InvalidOutputLocation.prototype instanceof SSMServiceException); +assert(InvalidParameters.prototype instanceof SSMServiceException); +assert(InvalidPermissionType.prototype instanceof SSMServiceException); +assert(InvalidPluginName.prototype instanceof SSMServiceException); +assert(InvalidPolicyAttributeException.prototype instanceof SSMServiceException); +assert(InvalidPolicyTypeException.prototype instanceof SSMServiceException); +assert(InvalidResourceId.prototype instanceof SSMServiceException); +assert(InvalidResourceType.prototype instanceof SSMServiceException); +assert(InvalidResultAttributeException.prototype instanceof SSMServiceException); +assert(InvalidRole.prototype instanceof SSMServiceException); +assert(InvalidSchedule.prototype instanceof SSMServiceException); +assert(InvalidTag.prototype instanceof SSMServiceException); +assert(InvalidTarget.prototype instanceof SSMServiceException); +assert(InvalidTargetMaps.prototype instanceof SSMServiceException); +assert(InvalidTypeNameException.prototype instanceof SSMServiceException); +assert(InvalidUpdate.prototype instanceof SSMServiceException); +assert(InvocationDoesNotExist.prototype instanceof SSMServiceException); +assert(ItemContentMismatchException.prototype instanceof SSMServiceException); +assert(ItemSizeLimitExceededException.prototype instanceof SSMServiceException); +assert(MalformedResourcePolicyDocumentException.prototype instanceof SSMServiceException); +assert(MaxDocumentSizeExceeded.prototype instanceof SSMServiceException); +assert(NoLongerSupportedException.prototype instanceof SSMServiceException); +assert(OpsItemAccessDeniedException.prototype instanceof SSMServiceException); +assert(OpsItemAlreadyExistsException.prototype instanceof SSMServiceException); +assert(OpsItemConflictException.prototype instanceof SSMServiceException); +assert(OpsItemInvalidParameterException.prototype instanceof SSMServiceException); +assert(OpsItemLimitExceededException.prototype instanceof SSMServiceException); +assert(OpsItemNotFoundException.prototype instanceof SSMServiceException); +assert(OpsItemRelatedItemAlreadyExistsException.prototype instanceof SSMServiceException); +assert(OpsItemRelatedItemAssociationNotFoundException.prototype instanceof SSMServiceException); +assert(OpsMetadataAlreadyExistsException.prototype instanceof SSMServiceException); +assert(OpsMetadataInvalidArgumentException.prototype instanceof SSMServiceException); +assert(OpsMetadataKeyLimitExceededException.prototype instanceof SSMServiceException); +assert(OpsMetadataLimitExceededException.prototype instanceof SSMServiceException); +assert(OpsMetadataNotFoundException.prototype instanceof SSMServiceException); +assert(OpsMetadataTooManyUpdatesException.prototype instanceof SSMServiceException); +assert(ParameterAlreadyExists.prototype instanceof SSMServiceException); +assert(ParameterLimitExceeded.prototype instanceof SSMServiceException); +assert(ParameterMaxVersionLimitExceeded.prototype instanceof SSMServiceException); +assert(ParameterNotFound.prototype instanceof SSMServiceException); +assert(ParameterPatternMismatchException.prototype instanceof SSMServiceException); +assert(ParameterVersionLabelLimitExceeded.prototype instanceof SSMServiceException); +assert(ParameterVersionNotFound.prototype instanceof SSMServiceException); +assert(PoliciesLimitExceededException.prototype instanceof SSMServiceException); +assert(ResourceDataSyncAlreadyExistsException.prototype instanceof SSMServiceException); +assert(ResourceDataSyncConflictException.prototype instanceof SSMServiceException); +assert(ResourceDataSyncCountExceededException.prototype instanceof SSMServiceException); +assert(ResourceDataSyncInvalidConfigurationException.prototype instanceof SSMServiceException); +assert(ResourceDataSyncNotFoundException.prototype instanceof SSMServiceException); +assert(ResourceInUseException.prototype instanceof SSMServiceException); +assert(ResourceLimitExceededException.prototype instanceof SSMServiceException); +assert(ResourceNotFoundException.prototype instanceof SSMServiceException); +assert(ResourcePolicyConflictException.prototype instanceof SSMServiceException); +assert(ResourcePolicyInvalidParameterException.prototype instanceof SSMServiceException); +assert(ResourcePolicyLimitExceededException.prototype instanceof SSMServiceException); +assert(ResourcePolicyNotFoundException.prototype instanceof SSMServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SSMServiceException); +assert(ServiceSettingNotFound.prototype instanceof SSMServiceException); +assert(StatusUnchanged.prototype instanceof SSMServiceException); +assert(SubTypeCountLimitExceededException.prototype instanceof SSMServiceException); +assert(TargetInUseException.prototype instanceof SSMServiceException); +assert(TargetNotConnected.prototype instanceof SSMServiceException); +assert(ThrottlingException.prototype instanceof SSMServiceException); +assert(TooManyTagsError.prototype instanceof SSMServiceException); +assert(TooManyUpdates.prototype instanceof SSMServiceException); +assert(TotalSizeLimitExceededException.prototype instanceof SSMServiceException); +assert(UnsupportedCalendarException.prototype instanceof SSMServiceException); +assert(UnsupportedFeatureRequiredException.prototype instanceof SSMServiceException); +assert(UnsupportedInventoryItemContextException.prototype instanceof SSMServiceException); +assert(UnsupportedInventorySchemaVersionException.prototype instanceof SSMServiceException); +assert(UnsupportedOperatingSystem.prototype instanceof SSMServiceException); +assert(UnsupportedOperationException.prototype instanceof SSMServiceException); +assert(UnsupportedParameterType.prototype instanceof SSMServiceException); +assert(UnsupportedPlatformType.prototype instanceof SSMServiceException); +assert(ValidationException.prototype instanceof SSMServiceException); assert(SSMServiceException.prototype instanceof Error); // waiters assert(typeof waitForCommandExecuted === "function"); diff --git a/clients/client-ssm/test/index-types.ts b/clients/client-ssm/test/index-types.ts index 02bde2715256..e4126d13a658 100644 --- a/clients/client-ssm/test/index-types.ts +++ b/clients/client-ssm/test/index-types.ts @@ -999,6 +999,145 @@ export type { UpdateResourceDataSyncResult, UpdateServiceSettingRequest, UpdateServiceSettingResult, + AccessDeniedException, + AlreadyExistsException, + AssociatedInstances, + AssociationAlreadyExists, + AssociationDoesNotExist, + AssociationExecutionDoesNotExist, + AssociationLimitExceeded, + AssociationVersionLimitExceeded, + AutomationDefinitionNotApprovedException, + AutomationDefinitionNotFoundException, + AutomationDefinitionVersionNotFoundException, + AutomationExecutionLimitExceededException, + AutomationExecutionNotFoundException, + AutomationStepNotFoundException, + ComplianceTypeCountLimitExceededException, + CustomSchemaCountLimitExceededException, + DocumentAlreadyExists, + DocumentLimitExceeded, + DocumentPermissionLimit, + DocumentVersionLimitExceeded, + DoesNotExistException, + DuplicateDocumentContent, + DuplicateDocumentVersionName, + DuplicateInstanceId, + FeatureNotAvailableException, + HierarchyLevelLimitExceededException, + HierarchyTypeMismatchException, + IdempotentParameterMismatch, + IncompatiblePolicyException, + InternalServerError, + InvalidActivation, + InvalidActivationId, + InvalidAggregatorException, + InvalidAllowedPatternException, + InvalidAssociation, + InvalidAssociationVersion, + InvalidAutomationExecutionParametersException, + InvalidAutomationSignalException, + InvalidAutomationStatusUpdateException, + InvalidCommandId, + InvalidDeleteInventoryParametersException, + InvalidDeletionIdException, + InvalidDocument, + InvalidDocumentContent, + InvalidDocumentOperation, + InvalidDocumentSchemaVersion, + InvalidDocumentType, + InvalidDocumentVersion, + InvalidFilter, + InvalidFilterKey, + InvalidFilterOption, + InvalidFilterValue, + InvalidInstanceId, + InvalidInstanceInformationFilterValue, + InvalidInstancePropertyFilterValue, + InvalidInventoryGroupException, + InvalidInventoryItemContextException, + InvalidInventoryRequestException, + InvalidItemContentException, + InvalidKeyId, + InvalidNextToken, + InvalidNotificationConfig, + InvalidOptionException, + InvalidOutputFolder, + InvalidOutputLocation, + InvalidParameters, + InvalidPermissionType, + InvalidPluginName, + InvalidPolicyAttributeException, + InvalidPolicyTypeException, + InvalidResourceId, + InvalidResourceType, + InvalidResultAttributeException, + InvalidRole, + InvalidSchedule, + InvalidTag, + InvalidTarget, + InvalidTargetMaps, + InvalidTypeNameException, + InvalidUpdate, + InvocationDoesNotExist, + ItemContentMismatchException, + ItemSizeLimitExceededException, + MalformedResourcePolicyDocumentException, + MaxDocumentSizeExceeded, + NoLongerSupportedException, + OpsItemAccessDeniedException, + OpsItemAlreadyExistsException, + OpsItemConflictException, + OpsItemInvalidParameterException, + OpsItemLimitExceededException, + OpsItemNotFoundException, + OpsItemRelatedItemAlreadyExistsException, + OpsItemRelatedItemAssociationNotFoundException, + OpsMetadataAlreadyExistsException, + OpsMetadataInvalidArgumentException, + OpsMetadataKeyLimitExceededException, + OpsMetadataLimitExceededException, + OpsMetadataNotFoundException, + OpsMetadataTooManyUpdatesException, + ParameterAlreadyExists, + ParameterLimitExceeded, + ParameterMaxVersionLimitExceeded, + ParameterNotFound, + ParameterPatternMismatchException, + ParameterVersionLabelLimitExceeded, + ParameterVersionNotFound, + PoliciesLimitExceededException, + ResourceDataSyncAlreadyExistsException, + ResourceDataSyncConflictException, + ResourceDataSyncCountExceededException, + ResourceDataSyncInvalidConfigurationException, + ResourceDataSyncNotFoundException, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourcePolicyConflictException, + ResourcePolicyInvalidParameterException, + ResourcePolicyLimitExceededException, + ResourcePolicyNotFoundException, + ServiceQuotaExceededException, + ServiceSettingNotFound, + StatusUnchanged, + SubTypeCountLimitExceededException, + TargetInUseException, + TargetNotConnected, + ThrottlingException, + TooManyTagsError, + TooManyUpdates, + TotalSizeLimitExceededException, + UnsupportedCalendarException, + UnsupportedFeatureRequiredException, + UnsupportedInventoryItemContextException, + UnsupportedInventorySchemaVersionException, + UnsupportedOperatingSystem, + UnsupportedOperationException, + UnsupportedParameterType, + UnsupportedPlatformType, + ValidationException, SSMServiceException, waitForCommandExecuted, waitUntilCommandExecuted, diff --git a/clients/client-sso-admin/test/index-objects.spec.mjs b/clients/client-sso-admin/test/index-objects.spec.mjs index 153b1bd9a9b2..243c810421a2 100644 --- a/clients/client-sso-admin/test/index-objects.spec.mjs +++ b/clients/client-sso-admin/test/index-objects.spec.mjs @@ -1,9 +1,12 @@ import { + AccessDeniedException, + AccessDeniedExceptionReason, ApplicationStatus, ApplicationVisibility, AttachCustomerManagedPolicyReferenceToPermissionSetCommand, AttachManagedPolicyToPermissionSetCommand, AuthenticationMethodType, + ConflictException, CreateAccountAssignmentCommand, CreateApplicationAssignmentCommand, CreateApplicationCommand, @@ -46,6 +49,7 @@ import { GrantType, InstanceAccessControlAttributeConfigurationStatus, InstanceStatus, + InternalServerException, JwksRetrievalOption, KmsKeyStatus, KmsKeyType, @@ -80,13 +84,18 @@ import { PutApplicationSessionConfigurationCommand, PutInlinePolicyToPermissionSetCommand, PutPermissionsBoundaryToPermissionSetCommand, + ResourceNotFoundException, + ResourceNotFoundExceptionReason, SSOAdmin, SSOAdminClient, SSOAdminServiceException, + ServiceQuotaExceededException, SignInOrigin, StatusValues, TagResourceCommand, TargetType, + ThrottlingException, + ThrottlingExceptionReason, TrustedTokenIssuerType, UntagResourceCommand, UpdateApplicationCommand, @@ -95,6 +104,8 @@ import { UpdatePermissionSetCommand, UpdateTrustedTokenIssuerCommand, UserBackgroundSessionApplicationStatus, + ValidationException, + ValidationExceptionReason, paginateListAccountAssignmentCreationStatus, paginateListAccountAssignmentDeletionStatus, paginateListAccountAssignments, @@ -197,6 +208,7 @@ assert(typeof UpdateInstanceAccessControlAttributeConfigurationCommand === "func assert(typeof UpdatePermissionSetCommand === "function"); assert(typeof UpdateTrustedTokenIssuerCommand === "function"); // enums +assert(typeof AccessDeniedExceptionReason === "object"); assert(typeof ApplicationStatus === "object"); assert(typeof ApplicationVisibility === "object"); assert(typeof AuthenticationMethodType === "object"); @@ -210,12 +222,22 @@ assert(typeof KmsKeyType === "object"); assert(typeof PrincipalType === "object"); assert(typeof ProvisioningStatus === "object"); assert(typeof ProvisionTargetType === "object"); +assert(typeof ResourceNotFoundExceptionReason === "object"); assert(typeof SignInOrigin === "object"); assert(typeof StatusValues === "object"); assert(typeof TargetType === "object"); +assert(typeof ThrottlingExceptionReason === "object"); assert(typeof TrustedTokenIssuerType === "object"); assert(typeof UserBackgroundSessionApplicationStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof SSOAdminServiceException); +assert(ConflictException.prototype instanceof SSOAdminServiceException); +assert(InternalServerException.prototype instanceof SSOAdminServiceException); +assert(ResourceNotFoundException.prototype instanceof SSOAdminServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SSOAdminServiceException); +assert(ThrottlingException.prototype instanceof SSOAdminServiceException); +assert(ValidationException.prototype instanceof SSOAdminServiceException); assert(SSOAdminServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccountAssignmentCreationStatus === "function"); diff --git a/clients/client-sso-admin/test/index-types.ts b/clients/client-sso-admin/test/index-types.ts index 337729826cb9..a19f3cec135e 100644 --- a/clients/client-sso-admin/test/index-types.ts +++ b/clients/client-sso-admin/test/index-types.ts @@ -227,6 +227,7 @@ export type { UpdateTrustedTokenIssuerCommand, UpdateTrustedTokenIssuerCommandInput, UpdateTrustedTokenIssuerCommandOutput, + AccessDeniedExceptionReason, ApplicationStatus, ApplicationVisibility, AuthenticationMethodType, @@ -240,11 +241,14 @@ export type { PrincipalType, ProvisioningStatus, ProvisionTargetType, + ResourceNotFoundExceptionReason, SignInOrigin, StatusValues, TargetType, + ThrottlingExceptionReason, TrustedTokenIssuerType, UserBackgroundSessionApplicationStatus, + ValidationExceptionReason, AccessControlAttribute, AccessControlAttributeValue, AccountAssignment, @@ -436,6 +440,13 @@ export type { UpdatePermissionSetResponse, UpdateTrustedTokenIssuerRequest, UpdateTrustedTokenIssuerResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SSOAdminServiceException, paginateListAccountAssignmentCreationStatus, paginateListAccountAssignmentDeletionStatus, diff --git a/clients/client-sso-oidc/src/schemas/schemas_0.ts b/clients/client-sso-oidc/src/schemas/schemas_0.ts index aeff215c93f7..26fb6358b82b 100644 --- a/clients/client-sso-oidc/src/schemas/schemas_0.ts +++ b/clients/client-sso-oidc/src/schemas/schemas_0.ts @@ -270,7 +270,6 @@ export var UnsupportedGrantTypeException: StaticErrorSchema = [ [0, 0], ]; TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException, __UnsupportedGrantTypeException); -export var __Unit = "unit" as const; export var SSOOIDCServiceException: StaticErrorSchema = [-3, _sm, "SSOOIDCServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SSOOIDCServiceException, __SSOOIDCServiceException); export var GrantTypes = 64 | 0; diff --git a/clients/client-sso-oidc/test/index-objects.spec.mjs b/clients/client-sso-oidc/test/index-objects.spec.mjs index ad6b6e7627b2..379243d74650 100644 --- a/clients/client-sso-oidc/test/index-objects.spec.mjs +++ b/clients/client-sso-oidc/test/index-objects.spec.mjs @@ -1,11 +1,27 @@ import { + AccessDeniedException, + AccessDeniedExceptionReason, + AuthorizationPendingException, CreateTokenCommand, CreateTokenWithIAMCommand, + ExpiredTokenException, + InternalServerException, + InvalidClientException, + InvalidClientMetadataException, + InvalidGrantException, + InvalidRedirectUriException, + InvalidRequestException, + InvalidRequestExceptionReason, + InvalidRequestRegionException, + InvalidScopeException, RegisterClientCommand, SSOOIDC, SSOOIDCClient, SSOOIDCServiceException, + SlowDownException, StartDeviceAuthorizationCommand, + UnauthorizedClientException, + UnsupportedGrantTypeException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -16,6 +32,23 @@ assert(typeof CreateTokenCommand === "function"); assert(typeof CreateTokenWithIAMCommand === "function"); assert(typeof RegisterClientCommand === "function"); assert(typeof StartDeviceAuthorizationCommand === "function"); +// enums +assert(typeof AccessDeniedExceptionReason === "object"); +assert(typeof InvalidRequestExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof SSOOIDCServiceException); +assert(AuthorizationPendingException.prototype instanceof SSOOIDCServiceException); +assert(ExpiredTokenException.prototype instanceof SSOOIDCServiceException); +assert(InternalServerException.prototype instanceof SSOOIDCServiceException); +assert(InvalidClientException.prototype instanceof SSOOIDCServiceException); +assert(InvalidClientMetadataException.prototype instanceof SSOOIDCServiceException); +assert(InvalidGrantException.prototype instanceof SSOOIDCServiceException); +assert(InvalidRedirectUriException.prototype instanceof SSOOIDCServiceException); +assert(InvalidRequestException.prototype instanceof SSOOIDCServiceException); +assert(InvalidRequestRegionException.prototype instanceof SSOOIDCServiceException); +assert(InvalidScopeException.prototype instanceof SSOOIDCServiceException); +assert(SlowDownException.prototype instanceof SSOOIDCServiceException); +assert(UnauthorizedClientException.prototype instanceof SSOOIDCServiceException); +assert(UnsupportedGrantTypeException.prototype instanceof SSOOIDCServiceException); assert(SSOOIDCServiceException.prototype instanceof Error); console.log(`SSOOIDC index test passed.`); diff --git a/clients/client-sso-oidc/test/index-types.ts b/clients/client-sso-oidc/test/index-types.ts index e17e8986a215..f69119a1e14c 100644 --- a/clients/client-sso-oidc/test/index-types.ts +++ b/clients/client-sso-oidc/test/index-types.ts @@ -14,6 +14,8 @@ export type { StartDeviceAuthorizationCommand, StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput, + AccessDeniedExceptionReason, + InvalidRequestExceptionReason, AwsAdditionalDetails, CreateTokenRequest, CreateTokenResponse, @@ -23,5 +25,19 @@ export type { RegisterClientResponse, StartDeviceAuthorizationRequest, StartDeviceAuthorizationResponse, + AccessDeniedException, + AuthorizationPendingException, + ExpiredTokenException, + InternalServerException, + InvalidClientException, + InvalidClientMetadataException, + InvalidGrantException, + InvalidRedirectUriException, + InvalidRequestException, + InvalidRequestRegionException, + InvalidScopeException, + SlowDownException, + UnauthorizedClientException, + UnsupportedGrantTypeException, SSOOIDCServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-sso/test/index-objects.spec.mjs b/clients/client-sso/test/index-objects.spec.mjs index 655a5da28a9c..228bd8baf8ce 100644 --- a/clients/client-sso/test/index-objects.spec.mjs +++ b/clients/client-sso/test/index-objects.spec.mjs @@ -1,11 +1,15 @@ import { GetRoleCredentialsCommand, + InvalidRequestException, ListAccountRolesCommand, ListAccountsCommand, LogoutCommand, + ResourceNotFoundException, SSO, SSOClient, SSOServiceException, + TooManyRequestsException, + UnauthorizedException, paginateListAccountRoles, paginateListAccounts, } from "../dist-cjs/index.js"; @@ -19,6 +23,10 @@ assert(typeof ListAccountRolesCommand === "function"); assert(typeof ListAccountsCommand === "function"); assert(typeof LogoutCommand === "function"); // errors +assert(InvalidRequestException.prototype instanceof SSOServiceException); +assert(ResourceNotFoundException.prototype instanceof SSOServiceException); +assert(TooManyRequestsException.prototype instanceof SSOServiceException); +assert(UnauthorizedException.prototype instanceof SSOServiceException); assert(SSOServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccountRoles === "function"); diff --git a/clients/client-sso/test/index-types.ts b/clients/client-sso/test/index-types.ts index 616a676bd406..02c8cc968fd6 100644 --- a/clients/client-sso/test/index-types.ts +++ b/clients/client-sso/test/index-types.ts @@ -24,6 +24,10 @@ export type { LogoutRequest, RoleCredentials, RoleInfo, + InvalidRequestException, + ResourceNotFoundException, + TooManyRequestsException, + UnauthorizedException, SSOServiceException, paginateListAccountRoles, paginateListAccounts, diff --git a/clients/client-storage-gateway/src/schemas/schemas_0.ts b/clients/client-storage-gateway/src/schemas/schemas_0.ts index e7d4009947d8..c3e5e4612daa 100644 --- a/clients/client-storage-gateway/src/schemas/schemas_0.ts +++ b/clients/client-storage-gateway/src/schemas/schemas_0.ts @@ -1615,7 +1615,6 @@ export var VTLDevice: StaticStructureSchema = [ [_VTLDARNe, _VTLDT, _VTLDV, _VTLDPI, _DSCSIA], [0, 0, 0, 0, () => DeviceiSCSIAttributes], ]; -export var __Unit = "unit" as const; export var StorageGatewayServiceException: StaticErrorSchema = [-3, _sm, "StorageGatewayServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(StorageGatewayServiceException, __StorageGatewayServiceException); export var AutomaticTapeCreationPolicyInfos: StaticListSchema = [ diff --git a/clients/client-storage-gateway/test/index-objects.spec.mjs b/clients/client-storage-gateway/test/index-objects.spec.mjs index 433a50ce65f5..5ed8c45f5158 100644 --- a/clients/client-storage-gateway/test/index-objects.spec.mjs +++ b/clients/client-storage-gateway/test/index-objects.spec.mjs @@ -61,10 +61,13 @@ import { DisableGatewayCommand, DisassociateFileSystemCommand, EncryptionType, + ErrorCode, EvictFilesFailingUploadCommand, FileShareType, GatewayCapacity, HostEnvironment, + InternalServerError, + InvalidGatewayRequestException, JoinDomainCommand, ListAutomaticTapeCreationPoliciesCommand, ListCacheReportsCommand, @@ -88,6 +91,7 @@ import { RetrieveTapeArchiveCommand, RetrieveTapeRecoveryPointCommand, SMBSecurityStrategy, + ServiceUnavailableError, SetLocalConsolePasswordCommand, SetSMBGuestPasswordCommand, ShutdownGatewayCommand, @@ -235,6 +239,7 @@ assert(typeof CacheReportFilterName === "object"); assert(typeof CacheReportStatus === "object"); assert(typeof CaseSensitivity === "object"); assert(typeof EncryptionType === "object"); +assert(typeof ErrorCode === "object"); assert(typeof FileShareType === "object"); assert(typeof GatewayCapacity === "object"); assert(typeof HostEnvironment === "object"); @@ -244,6 +249,9 @@ assert(typeof RetentionLockType === "object"); assert(typeof SMBSecurityStrategy === "object"); assert(typeof TapeStorageClass === "object"); // errors +assert(InternalServerError.prototype instanceof StorageGatewayServiceException); +assert(InvalidGatewayRequestException.prototype instanceof StorageGatewayServiceException); +assert(ServiceUnavailableError.prototype instanceof StorageGatewayServiceException); assert(StorageGatewayServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeTapeArchives === "function"); diff --git a/clients/client-storage-gateway/test/index-types.ts b/clients/client-storage-gateway/test/index-types.ts index 9d46cf342bb5..1067276ba580 100644 --- a/clients/client-storage-gateway/test/index-types.ts +++ b/clients/client-storage-gateway/test/index-types.ts @@ -297,6 +297,7 @@ export type { CacheReportStatus, CaseSensitivity, EncryptionType, + ErrorCode, FileShareType, GatewayCapacity, HostEnvironment, @@ -490,6 +491,7 @@ export type { StartCacheReportOutput, StartGatewayInput, StartGatewayOutput, + StorageGatewayError, StorediSCSIVolume, Tag, Tape, @@ -530,6 +532,9 @@ export type { VolumeiSCSIAttributes, VolumeRecoveryPointInfo, VTLDevice, + InternalServerError, + InvalidGatewayRequestException, + ServiceUnavailableError, StorageGatewayServiceException, paginateDescribeTapeArchives, paginateDescribeTapeRecoveryPoints, diff --git a/clients/client-sts/test/index-objects.spec.mjs b/clients/client-sts/test/index-objects.spec.mjs index 0d8e9ec804d5..fd72bbf5d2c6 100644 --- a/clients/client-sts/test/index-objects.spec.mjs +++ b/clients/client-sts/test/index-objects.spec.mjs @@ -4,15 +4,27 @@ import { AssumeRoleWithWebIdentityCommand, AssumeRootCommand, DecodeAuthorizationMessageCommand, + ExpiredTokenException, + ExpiredTradeInTokenException, GetAccessKeyInfoCommand, GetCallerIdentityCommand, GetDelegatedAccessTokenCommand, GetFederationTokenCommand, GetSessionTokenCommand, GetWebIdentityTokenCommand, + IDPCommunicationErrorException, + IDPRejectedClaimException, + InvalidAuthorizationMessageException, + InvalidIdentityTokenException, + JWTPayloadSizeExceededException, + MalformedPolicyDocumentException, + OutboundWebIdentityFederationDisabledException, + PackedPolicyTooLargeException, + RegionDisabledException, STS, STSClient, STSServiceException, + SessionDurationEscalationException, } from "../dist-cjs/index.js"; import assert from "node:assert"; // clients @@ -31,5 +43,17 @@ assert(typeof GetFederationTokenCommand === "function"); assert(typeof GetSessionTokenCommand === "function"); assert(typeof GetWebIdentityTokenCommand === "function"); // errors +assert(ExpiredTokenException.prototype instanceof STSServiceException); +assert(ExpiredTradeInTokenException.prototype instanceof STSServiceException); +assert(IDPCommunicationErrorException.prototype instanceof STSServiceException); +assert(IDPRejectedClaimException.prototype instanceof STSServiceException); +assert(InvalidAuthorizationMessageException.prototype instanceof STSServiceException); +assert(InvalidIdentityTokenException.prototype instanceof STSServiceException); +assert(JWTPayloadSizeExceededException.prototype instanceof STSServiceException); +assert(MalformedPolicyDocumentException.prototype instanceof STSServiceException); +assert(OutboundWebIdentityFederationDisabledException.prototype instanceof STSServiceException); +assert(PackedPolicyTooLargeException.prototype instanceof STSServiceException); +assert(RegionDisabledException.prototype instanceof STSServiceException); +assert(SessionDurationEscalationException.prototype instanceof STSServiceException); assert(STSServiceException.prototype instanceof Error); console.log(`STS index test passed.`); diff --git a/clients/client-sts/test/index-types.ts b/clients/client-sts/test/index-types.ts index eba1dde993fe..402cf0f4b323 100644 --- a/clients/client-sts/test/index-types.ts +++ b/clients/client-sts/test/index-types.ts @@ -63,5 +63,17 @@ export type { PolicyDescriptorType, ProvidedContext, Tag, + ExpiredTokenException, + ExpiredTradeInTokenException, + IDPCommunicationErrorException, + IDPRejectedClaimException, + InvalidAuthorizationMessageException, + InvalidIdentityTokenException, + JWTPayloadSizeExceededException, + MalformedPolicyDocumentException, + OutboundWebIdentityFederationDisabledException, + PackedPolicyTooLargeException, + RegionDisabledException, + SessionDurationEscalationException, STSServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-supplychain/src/schemas/schemas_0.ts b/clients/client-supplychain/src/schemas/schemas_0.ts index 6123fa63c78b..2fbbfd3139b3 100644 --- a/clients/client-supplychain/src/schemas/schemas_0.ts +++ b/clients/client-supplychain/src/schemas/schemas_0.ts @@ -883,7 +883,6 @@ export var UpdateInstanceRequest: StaticStructureSchema = [3, n0, _UIR, 0, [_iI, export var UpdateInstanceResponse: StaticStructureSchema = [3, n0, _UIRp, 0, [_i], [() => Instance]]; export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var SupplyChainServiceException: StaticErrorSchema = [-3, _sm, "SupplyChainServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SupplyChainServiceException, __SupplyChainServiceException); export var DataIntegrationEventList: StaticListSchema = [1, n0, _DIEL, 0, () => DataIntegrationEvent]; diff --git a/clients/client-supplychain/test/index-objects.spec.mjs b/clients/client-supplychain/test/index-objects.spec.mjs index 9802f5fb897f..ea9aa29e0f78 100644 --- a/clients/client-supplychain/test/index-objects.spec.mjs +++ b/clients/client-supplychain/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, ConfigurationJobStatus, + ConflictException, CreateBillOfMaterialsImportJobCommand, CreateDataIntegrationFlowCommand, CreateDataLakeDatasetCommand, @@ -30,6 +32,7 @@ import { GetDataLakeNamespaceCommand, GetInstanceCommand, InstanceState, + InternalServerException, ListDataIntegrationEventsCommand, ListDataIntegrationFlowExecutionsCommand, ListDataIntegrationFlowsCommand, @@ -37,16 +40,20 @@ import { ListDataLakeNamespacesCommand, ListInstancesCommand, ListTagsForResourceCommand, + ResourceNotFoundException, SendDataIntegrationEventCommand, + ServiceQuotaExceededException, SupplyChain, SupplyChainClient, SupplyChainServiceException, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateDataIntegrationFlowCommand, UpdateDataLakeDatasetCommand, UpdateDataLakeNamespaceCommand, UpdateInstanceCommand, + ValidationException, paginateListDataIntegrationEvents, paginateListDataIntegrationFlowExecutions, paginateListDataIntegrationFlows, @@ -106,6 +113,13 @@ assert(typeof DataLakeDatasetPartitionTransformType === "object"); assert(typeof DataLakeDatasetSchemaFieldType === "object"); assert(typeof InstanceState === "object"); // errors +assert(AccessDeniedException.prototype instanceof SupplyChainServiceException); +assert(ConflictException.prototype instanceof SupplyChainServiceException); +assert(InternalServerException.prototype instanceof SupplyChainServiceException); +assert(ResourceNotFoundException.prototype instanceof SupplyChainServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SupplyChainServiceException); +assert(ThrottlingException.prototype instanceof SupplyChainServiceException); +assert(ValidationException.prototype instanceof SupplyChainServiceException); assert(SupplyChainServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDataIntegrationEvents === "function"); diff --git a/clients/client-supplychain/test/index-types.ts b/clients/client-supplychain/test/index-types.ts index 95faed2b5276..fee1d3b0a8bb 100644 --- a/clients/client-supplychain/test/index-types.ts +++ b/clients/client-supplychain/test/index-types.ts @@ -200,6 +200,13 @@ export type { UpdateDataLakeNamespaceResponse, UpdateInstanceRequest, UpdateInstanceResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, SupplyChainServiceException, paginateListDataIntegrationEvents, paginateListDataIntegrationFlowExecutions, diff --git a/clients/client-support-app/test/index-objects.spec.mjs b/clients/client-support-app/test/index-objects.spec.mjs index 461602fb8ba4..fabda9e89afc 100644 --- a/clients/client-support-app/test/index-objects.spec.mjs +++ b/clients/client-support-app/test/index-objects.spec.mjs @@ -1,19 +1,25 @@ import { + AccessDeniedException, AccountType, + ConflictException, CreateSlackChannelConfigurationCommand, DeleteAccountAliasCommand, DeleteSlackChannelConfigurationCommand, DeleteSlackWorkspaceConfigurationCommand, GetAccountAliasCommand, + InternalServerException, ListSlackChannelConfigurationsCommand, ListSlackWorkspaceConfigurationsCommand, NotificationSeverityLevel, PutAccountAliasCommand, RegisterSlackWorkspaceForOrganizationCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, SupportApp, SupportAppClient, SupportAppServiceException, UpdateSlackChannelConfigurationCommand, + ValidationException, paginateListSlackChannelConfigurations, paginateListSlackWorkspaceConfigurations, } from "../dist-cjs/index.js"; @@ -36,6 +42,12 @@ assert(typeof UpdateSlackChannelConfigurationCommand === "function"); assert(typeof AccountType === "object"); assert(typeof NotificationSeverityLevel === "object"); // errors +assert(AccessDeniedException.prototype instanceof SupportAppServiceException); +assert(ConflictException.prototype instanceof SupportAppServiceException); +assert(InternalServerException.prototype instanceof SupportAppServiceException); +assert(ResourceNotFoundException.prototype instanceof SupportAppServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SupportAppServiceException); +assert(ValidationException.prototype instanceof SupportAppServiceException); assert(SupportAppServiceException.prototype instanceof Error); // paginators assert(typeof paginateListSlackChannelConfigurations === "function"); diff --git a/clients/client-support-app/test/index-types.ts b/clients/client-support-app/test/index-types.ts index e83403d4ab0c..431884dc2746 100644 --- a/clients/client-support-app/test/index-types.ts +++ b/clients/client-support-app/test/index-types.ts @@ -56,6 +56,12 @@ export type { SlackWorkspaceConfiguration, UpdateSlackChannelConfigurationRequest, UpdateSlackChannelConfigurationResult, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, SupportAppServiceException, paginateListSlackChannelConfigurations, paginateListSlackWorkspaceConfigurations, diff --git a/clients/client-support/test/index-objects.spec.mjs b/clients/client-support/test/index-objects.spec.mjs index 711f748970d1..7f3b6db62b95 100644 --- a/clients/client-support/test/index-objects.spec.mjs +++ b/clients/client-support/test/index-objects.spec.mjs @@ -1,8 +1,16 @@ import { AddAttachmentsToSetCommand, AddCommunicationToCaseCommand, + AttachmentIdNotFound, + AttachmentLimitExceeded, + AttachmentSetExpired, + AttachmentSetIdNotFound, + AttachmentSetSizeLimitExceeded, + CaseCreationLimitExceeded, + CaseIdNotFound, CreateCaseCommand, DescribeAttachmentCommand, + DescribeAttachmentLimitExceeded, DescribeCasesCommand, DescribeCommunicationsCommand, DescribeCreateCaseOptionsCommand, @@ -13,11 +21,13 @@ import { DescribeTrustedAdvisorCheckResultCommand, DescribeTrustedAdvisorCheckSummariesCommand, DescribeTrustedAdvisorChecksCommand, + InternalServerError, RefreshTrustedAdvisorCheckCommand, ResolveCaseCommand, Support, SupportClient, SupportServiceException, + ThrottlingException, paginateDescribeCases, paginateDescribeCommunications, } from "../dist-cjs/index.js"; @@ -43,6 +53,16 @@ assert(typeof DescribeTrustedAdvisorCheckSummariesCommand === "function"); assert(typeof RefreshTrustedAdvisorCheckCommand === "function"); assert(typeof ResolveCaseCommand === "function"); // errors +assert(AttachmentIdNotFound.prototype instanceof SupportServiceException); +assert(AttachmentLimitExceeded.prototype instanceof SupportServiceException); +assert(AttachmentSetExpired.prototype instanceof SupportServiceException); +assert(AttachmentSetIdNotFound.prototype instanceof SupportServiceException); +assert(AttachmentSetSizeLimitExceeded.prototype instanceof SupportServiceException); +assert(CaseCreationLimitExceeded.prototype instanceof SupportServiceException); +assert(CaseIdNotFound.prototype instanceof SupportServiceException); +assert(DescribeAttachmentLimitExceeded.prototype instanceof SupportServiceException); +assert(InternalServerError.prototype instanceof SupportServiceException); +assert(ThrottlingException.prototype instanceof SupportServiceException); assert(SupportServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeCases === "function"); diff --git a/clients/client-support/test/index-types.ts b/clients/client-support/test/index-types.ts index 86de5cea03a5..a9a64e218cde 100644 --- a/clients/client-support/test/index-types.ts +++ b/clients/client-support/test/index-types.ts @@ -102,6 +102,16 @@ export type { TrustedAdvisorCostOptimizingSummary, TrustedAdvisorResourceDetail, TrustedAdvisorResourcesSummary, + AttachmentIdNotFound, + AttachmentLimitExceeded, + AttachmentSetExpired, + AttachmentSetIdNotFound, + AttachmentSetSizeLimitExceeded, + CaseCreationLimitExceeded, + CaseIdNotFound, + DescribeAttachmentLimitExceeded, + InternalServerError, + ThrottlingException, SupportServiceException, paginateDescribeCases, paginateDescribeCommunications, diff --git a/clients/client-swf/test/index-objects.spec.mjs b/clients/client-swf/test/index-objects.spec.mjs index b7f6d55ffd43..b6aa4f3f311e 100644 --- a/clients/client-swf/test/index-objects.spec.mjs +++ b/clients/client-swf/test/index-objects.spec.mjs @@ -12,6 +12,7 @@ import { CountPendingDecisionTasksCommand, DecisionTaskTimeoutType, DecisionType, + DefaultUndefinedFault, DeleteActivityTypeCommand, DeleteWorkflowTypeCommand, DeprecateActivityTypeCommand, @@ -21,17 +22,21 @@ import { DescribeDomainCommand, DescribeWorkflowExecutionCommand, DescribeWorkflowTypeCommand, + DomainAlreadyExistsFault, + DomainDeprecatedFault, EventType, ExecutionStatus, FailWorkflowExecutionFailedCause, GetWorkflowExecutionHistoryCommand, LambdaFunctionTimeoutType, + LimitExceededFault, ListActivityTypesCommand, ListClosedWorkflowExecutionsCommand, ListDomainsCommand, ListOpenWorkflowExecutionsCommand, ListTagsForResourceCommand, ListWorkflowTypesCommand, + OperationNotPermittedFault, PollForActivityTaskCommand, PollForDecisionTaskCommand, RecordActivityTaskHeartbeatCommand, @@ -60,10 +65,16 @@ import { StartWorkflowExecutionCommand, TagResourceCommand, TerminateWorkflowExecutionCommand, + TooManyTagsFault, + TypeAlreadyExistsFault, + TypeDeprecatedFault, + TypeNotDeprecatedFault, UndeprecateActivityTypeCommand, UndeprecateDomainCommand, UndeprecateWorkflowTypeCommand, + UnknownResourceFault, UntagResourceCommand, + WorkflowExecutionAlreadyStartedFault, WorkflowExecutionCancelRequestedCause, WorkflowExecutionTerminatedCause, WorkflowExecutionTimeoutType, @@ -147,6 +158,17 @@ assert(typeof WorkflowExecutionCancelRequestedCause === "object"); assert(typeof WorkflowExecutionTerminatedCause === "object"); assert(typeof WorkflowExecutionTimeoutType === "object"); // errors +assert(DefaultUndefinedFault.prototype instanceof SWFServiceException); +assert(DomainAlreadyExistsFault.prototype instanceof SWFServiceException); +assert(DomainDeprecatedFault.prototype instanceof SWFServiceException); +assert(LimitExceededFault.prototype instanceof SWFServiceException); +assert(OperationNotPermittedFault.prototype instanceof SWFServiceException); +assert(TooManyTagsFault.prototype instanceof SWFServiceException); +assert(TypeAlreadyExistsFault.prototype instanceof SWFServiceException); +assert(TypeDeprecatedFault.prototype instanceof SWFServiceException); +assert(TypeNotDeprecatedFault.prototype instanceof SWFServiceException); +assert(UnknownResourceFault.prototype instanceof SWFServiceException); +assert(WorkflowExecutionAlreadyStartedFault.prototype instanceof SWFServiceException); assert(SWFServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetWorkflowExecutionHistory === "function"); diff --git a/clients/client-swf/test/index-types.ts b/clients/client-swf/test/index-types.ts index 907c9dee2999..214aac6fba7b 100644 --- a/clients/client-swf/test/index-types.ts +++ b/clients/client-swf/test/index-types.ts @@ -288,6 +288,17 @@ export type { WorkflowTypeFilter, WorkflowTypeInfo, WorkflowTypeInfos, + DefaultUndefinedFault, + DomainAlreadyExistsFault, + DomainDeprecatedFault, + LimitExceededFault, + OperationNotPermittedFault, + TooManyTagsFault, + TypeAlreadyExistsFault, + TypeDeprecatedFault, + TypeNotDeprecatedFault, + UnknownResourceFault, + WorkflowExecutionAlreadyStartedFault, SWFServiceException, paginateGetWorkflowExecutionHistory, paginateListActivityTypes, diff --git a/clients/client-synthetics/src/schemas/schemas_0.ts b/clients/client-synthetics/src/schemas/schemas_0.ts index 796445c33c6f..c3146eb2013b 100644 --- a/clients/client-synthetics/src/schemas/schemas_0.ts +++ b/clients/client-synthetics/src/schemas/schemas_0.ts @@ -579,7 +579,6 @@ export var VisualReferenceOutput: StaticStructureSchema = [ ]; export var VpcConfigInput: StaticStructureSchema = [3, n0, _VCI, 0, [_SI, _SGI, _IAFDS], [64 | 0, 64 | 0, 2]]; export var VpcConfigOutput: StaticStructureSchema = [3, n0, _VCO, 0, [_VI, _SI, _SGI, _IAFDS], [0, 64 | 0, 64 | 0, 2]]; -export var __Unit = "unit" as const; export var SyntheticsServiceException: StaticErrorSchema = [-3, _sm, "SyntheticsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SyntheticsServiceException, __SyntheticsServiceException); export var BaseScreenshotIgnoreCoordinates = 64 | 0; diff --git a/clients/client-synthetics/test/index-objects.spec.mjs b/clients/client-synthetics/test/index-objects.spec.mjs index c62503cdc20d..0de25842cce9 100644 --- a/clients/client-synthetics/test/index-objects.spec.mjs +++ b/clients/client-synthetics/test/index-objects.spec.mjs @@ -1,11 +1,14 @@ import { + AccessDeniedException, AssociateResourceCommand, + BadRequestException, BrowserType, CanaryRunState, CanaryRunStateReasonCode, CanaryRunTestResult, CanaryState, CanaryStateReasonCode, + ConflictException, CreateCanaryCommand, CreateGroupCommand, DeleteCanaryCommand, @@ -19,13 +22,19 @@ import { GetCanaryCommand, GetCanaryRunsCommand, GetGroupCommand, + InternalFailureException, + InternalServerException, ListAssociatedGroupsCommand, ListGroupResourcesCommand, ListGroupsCommand, ListTagsForResourceCommand, + NotFoundException, ProvisionedResourceCleanupSetting, + RequestEntityTooLargeException, + ResourceNotFoundException, ResourceToTag, RunType, + ServiceQuotaExceededException, StartCanaryCommand, StartCanaryDryRunCommand, StopCanaryCommand, @@ -33,8 +42,10 @@ import { SyntheticsClient, SyntheticsServiceException, TagResourceCommand, + TooManyRequestsException, UntagResourceCommand, UpdateCanaryCommand, + ValidationException, paginateDescribeCanaries, paginateDescribeCanariesLastRun, paginateDescribeRuntimeVersions, @@ -83,6 +94,17 @@ assert(typeof ProvisionedResourceCleanupSetting === "object"); assert(typeof ResourceToTag === "object"); assert(typeof RunType === "object"); // errors +assert(AccessDeniedException.prototype instanceof SyntheticsServiceException); +assert(BadRequestException.prototype instanceof SyntheticsServiceException); +assert(ConflictException.prototype instanceof SyntheticsServiceException); +assert(InternalFailureException.prototype instanceof SyntheticsServiceException); +assert(InternalServerException.prototype instanceof SyntheticsServiceException); +assert(NotFoundException.prototype instanceof SyntheticsServiceException); +assert(RequestEntityTooLargeException.prototype instanceof SyntheticsServiceException); +assert(ResourceNotFoundException.prototype instanceof SyntheticsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof SyntheticsServiceException); +assert(TooManyRequestsException.prototype instanceof SyntheticsServiceException); +assert(ValidationException.prototype instanceof SyntheticsServiceException); assert(SyntheticsServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeCanaries === "function"); diff --git a/clients/client-synthetics/test/index-types.ts b/clients/client-synthetics/test/index-types.ts index a7d7f7d4482a..5504d41abc3c 100644 --- a/clients/client-synthetics/test/index-types.ts +++ b/clients/client-synthetics/test/index-types.ts @@ -154,6 +154,17 @@ export type { VisualReferenceOutput, VpcConfigInput, VpcConfigOutput, + AccessDeniedException, + BadRequestException, + ConflictException, + InternalFailureException, + InternalServerException, + NotFoundException, + RequestEntityTooLargeException, + ResourceNotFoundException, + ServiceQuotaExceededException, + TooManyRequestsException, + ValidationException, SyntheticsServiceException, paginateDescribeCanaries, paginateDescribeCanariesLastRun, diff --git a/clients/client-taxsettings/src/schemas/schemas_0.ts b/clients/client-taxsettings/src/schemas/schemas_0.ts index d4995aed810e..351a25cf44a4 100644 --- a/clients/client-taxsettings/src/schemas/schemas_0.ts +++ b/clients/client-taxsettings/src/schemas/schemas_0.ts @@ -701,7 +701,6 @@ export var VerificationDetails: StaticStructureSchema = [ [0, () => TaxRegistrationDocuments], ]; export var VietnamAdditionalInfo: StaticStructureSchema = [3, n0, _VAI, 0, [_eIN, _eTCN, _pVN, _pVND], [0, 0, 0, 0]]; -export var __Unit = "unit" as const; export var TaxSettingsServiceException: StaticErrorSchema = [-3, _sm, "TaxSettingsServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(TaxSettingsServiceException, __TaxSettingsServiceException); export var AccountDetailsList: StaticListSchema = [1, n0, _ADL, 0, [() => AccountDetails, 0]]; diff --git a/clients/client-taxsettings/test/index-objects.spec.mjs b/clients/client-taxsettings/test/index-objects.spec.mjs index 3420e61ca643..2906bf7ca454 100644 --- a/clients/client-taxsettings/test/index-objects.spec.mjs +++ b/clients/client-taxsettings/test/index-objects.spec.mjs @@ -1,8 +1,12 @@ import { + AccessDeniedException, AddressRoleType, + AttachmentUploadException, BatchDeleteTaxRegistrationCommand, BatchGetTaxExemptionsCommand, BatchPutTaxRegistrationCommand, + CaseCreationLimitExceededException, + ConflictException, DeleteSupplementalTaxRegistrationCommand, DeleteTaxRegistrationCommand, EntityExemptionAccountStatus, @@ -13,6 +17,7 @@ import { HeritageStatus, IndonesiaTaxRegistrationNumberType, Industries, + InternalServerException, IsraelCustomerType, IsraelDealerType, ListSupplementalTaxRegistrationsCommand, @@ -25,6 +30,7 @@ import { PutTaxInheritanceCommand, PutTaxRegistrationCommand, RegistrationType, + ResourceNotFoundException, SaudiArabiaTaxRegistrationNumberType, Sector, SupplementalTaxRegistrationType, @@ -36,6 +42,8 @@ import { TaxSettingsServiceException, UkraineTrnType, UzbekistanTaxRegistrationNumberType, + ValidationException, + ValidationExceptionErrorCode, paginateListSupplementalTaxRegistrations, paginateListTaxExemptions, paginateListTaxRegistrations, @@ -80,7 +88,15 @@ assert(typeof TaxRegistrationStatus === "object"); assert(typeof TaxRegistrationType === "object"); assert(typeof UkraineTrnType === "object"); assert(typeof UzbekistanTaxRegistrationNumberType === "object"); +assert(typeof ValidationExceptionErrorCode === "object"); // errors +assert(AccessDeniedException.prototype instanceof TaxSettingsServiceException); +assert(AttachmentUploadException.prototype instanceof TaxSettingsServiceException); +assert(CaseCreationLimitExceededException.prototype instanceof TaxSettingsServiceException); +assert(ConflictException.prototype instanceof TaxSettingsServiceException); +assert(InternalServerException.prototype instanceof TaxSettingsServiceException); +assert(ResourceNotFoundException.prototype instanceof TaxSettingsServiceException); +assert(ValidationException.prototype instanceof TaxSettingsServiceException); assert(TaxSettingsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListSupplementalTaxRegistrations === "function"); diff --git a/clients/client-taxsettings/test/index-types.ts b/clients/client-taxsettings/test/index-types.ts index 4c8ac29f5b96..cf95833f0145 100644 --- a/clients/client-taxsettings/test/index-types.ts +++ b/clients/client-taxsettings/test/index-types.ts @@ -68,6 +68,7 @@ export type { TaxRegistrationType, UkraineTrnType, UzbekistanTaxRegistrationNumberType, + ValidationExceptionErrorCode, AccountDetails, AccountMetaData, AdditionalInfoRequest, @@ -144,8 +145,16 @@ export type { TurkeyAdditionalInfo, UkraineAdditionalInfo, UzbekistanAdditionalInfo, + ValidationExceptionField, VerificationDetails, VietnamAdditionalInfo, + AccessDeniedException, + AttachmentUploadException, + CaseCreationLimitExceededException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ValidationException, TaxSettingsServiceException, paginateListSupplementalTaxRegistrations, paginateListTaxExemptions, diff --git a/clients/client-textract/src/schemas/schemas_0.ts b/clients/client-textract/src/schemas/schemas_0.ts index 583971533e2d..cfd45a522f69 100644 --- a/clients/client-textract/src/schemas/schemas_0.ts +++ b/clients/client-textract/src/schemas/schemas_0.ts @@ -761,7 +761,6 @@ export var UpdateAdapterResponse: StaticStructureSchema = [ export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c }, [_M, _C], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var Warning: StaticStructureSchema = [3, n0, _War, 0, [_ECr, _P], [0, 64 | 1]]; -export var __Unit = "unit" as const; export var TextractServiceException: StaticErrorSchema = [-3, _sm, "TextractServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(TextractServiceException, __TextractServiceException); export var AdapterList: StaticListSchema = [1, n0, _AL, 0, () => AdapterOverview]; diff --git a/clients/client-textract/test/index-objects.spec.mjs b/clients/client-textract/test/index-objects.spec.mjs index 7fd2e7e3b118..e7cffdd71b2c 100644 --- a/clients/client-textract/test/index-objects.spec.mjs +++ b/clients/client-textract/test/index-objects.spec.mjs @@ -1,16 +1,20 @@ import { + AccessDeniedException, AdapterVersionStatus, AnalyzeDocumentCommand, AnalyzeExpenseCommand, AnalyzeIDCommand, AutoUpdate, + BadDocumentException, BlockType, + ConflictException, ContentClassifier, CreateAdapterCommand, CreateAdapterVersionCommand, DeleteAdapterCommand, DeleteAdapterVersionCommand, DetectDocumentTextCommand, + DocumentTooLargeException, EntityType, FeatureType, GetAdapterCommand, @@ -20,12 +24,23 @@ import { GetExpenseAnalysisCommand, GetLendingAnalysisCommand, GetLendingAnalysisSummaryCommand, + HumanLoopQuotaExceededException, + IdempotentParameterMismatchException, + InternalServerError, + InvalidJobIdException, + InvalidKMSKeyException, + InvalidParameterException, + InvalidS3ObjectException, JobStatus, + LimitExceededException, ListAdapterVersionsCommand, ListAdaptersCommand, ListTagsForResourceCommand, + ProvisionedThroughputExceededException, RelationshipType, + ResourceNotFoundException, SelectionStatus, + ServiceQuotaExceededException, StartDocumentAnalysisCommand, StartDocumentTextDetectionCommand, StartExpenseAnalysisCommand, @@ -35,8 +50,11 @@ import { Textract, TextractClient, TextractServiceException, + ThrottlingException, + UnsupportedDocumentException, UntagResourceCommand, UpdateAdapterCommand, + ValidationException, ValueType, paginateListAdapterVersions, paginateListAdapters, @@ -84,6 +102,24 @@ assert(typeof SelectionStatus === "object"); assert(typeof TextType === "object"); assert(typeof ValueType === "object"); // errors +assert(AccessDeniedException.prototype instanceof TextractServiceException); +assert(BadDocumentException.prototype instanceof TextractServiceException); +assert(ConflictException.prototype instanceof TextractServiceException); +assert(DocumentTooLargeException.prototype instanceof TextractServiceException); +assert(HumanLoopQuotaExceededException.prototype instanceof TextractServiceException); +assert(IdempotentParameterMismatchException.prototype instanceof TextractServiceException); +assert(InternalServerError.prototype instanceof TextractServiceException); +assert(InvalidJobIdException.prototype instanceof TextractServiceException); +assert(InvalidKMSKeyException.prototype instanceof TextractServiceException); +assert(InvalidParameterException.prototype instanceof TextractServiceException); +assert(InvalidS3ObjectException.prototype instanceof TextractServiceException); +assert(LimitExceededException.prototype instanceof TextractServiceException); +assert(ProvisionedThroughputExceededException.prototype instanceof TextractServiceException); +assert(ResourceNotFoundException.prototype instanceof TextractServiceException); +assert(ServiceQuotaExceededException.prototype instanceof TextractServiceException); +assert(ThrottlingException.prototype instanceof TextractServiceException); +assert(UnsupportedDocumentException.prototype instanceof TextractServiceException); +assert(ValidationException.prototype instanceof TextractServiceException); assert(TextractServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAdapterVersions === "function"); diff --git a/clients/client-textract/test/index-types.ts b/clients/client-textract/test/index-types.ts index 398a86145bda..13592c885a02 100644 --- a/clients/client-textract/test/index-types.ts +++ b/clients/client-textract/test/index-types.ts @@ -187,6 +187,24 @@ export type { UpdateAdapterRequest, UpdateAdapterResponse, Warning, + AccessDeniedException, + BadDocumentException, + ConflictException, + DocumentTooLargeException, + HumanLoopQuotaExceededException, + IdempotentParameterMismatchException, + InternalServerError, + InvalidJobIdException, + InvalidKMSKeyException, + InvalidParameterException, + InvalidS3ObjectException, + LimitExceededException, + ProvisionedThroughputExceededException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + UnsupportedDocumentException, + ValidationException, TextractServiceException, paginateListAdapterVersions, paginateListAdapters, diff --git a/clients/client-timestream-influxdb/test/index-objects.spec.mjs b/clients/client-timestream-influxdb/test/index-objects.spec.mjs index 00b3629bd43e..3c1a5b3ba5eb 100644 --- a/clients/client-timestream-influxdb/test/index-objects.spec.mjs +++ b/clients/client-timestream-influxdb/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, ClusterDeploymentType, ClusterStatus, + ConflictException, CreateDbClusterCommand, CreateDbInstanceCommand, CreateDbParameterGroupCommand, @@ -17,6 +19,7 @@ import { GetDbInstanceCommand, GetDbParameterGroupCommand, InstanceMode, + InternalServerException, ListDbClustersCommand, ListDbInstancesCommand, ListDbInstancesForClusterCommand, @@ -25,8 +28,11 @@ import { LogFormats, LogLevel, NetworkType, + ResourceNotFoundException, + ServiceQuotaExceededException, Status, TagResourceCommand, + ThrottlingException, TimestreamInfluxDB, TimestreamInfluxDBClient, TimestreamInfluxDBServiceException, @@ -34,6 +40,8 @@ import { UntagResourceCommand, UpdateDbClusterCommand, UpdateDbInstanceCommand, + ValidationException, + ValidationExceptionReason, paginateListDbClusters, paginateListDbInstances, paginateListDbInstancesForCluster, @@ -77,7 +85,15 @@ assert(typeof LogLevel === "object"); assert(typeof NetworkType === "object"); assert(typeof Status === "object"); assert(typeof TracingType === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof TimestreamInfluxDBServiceException); +assert(ConflictException.prototype instanceof TimestreamInfluxDBServiceException); +assert(InternalServerException.prototype instanceof TimestreamInfluxDBServiceException); +assert(ResourceNotFoundException.prototype instanceof TimestreamInfluxDBServiceException); +assert(ServiceQuotaExceededException.prototype instanceof TimestreamInfluxDBServiceException); +assert(ThrottlingException.prototype instanceof TimestreamInfluxDBServiceException); +assert(ValidationException.prototype instanceof TimestreamInfluxDBServiceException); assert(TimestreamInfluxDBServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDbClusters === "function"); diff --git a/clients/client-timestream-influxdb/test/index-types.ts b/clients/client-timestream-influxdb/test/index-types.ts index 8466c6a4ee19..17024f1f5326 100644 --- a/clients/client-timestream-influxdb/test/index-types.ts +++ b/clients/client-timestream-influxdb/test/index-types.ts @@ -68,6 +68,7 @@ export type { NetworkType, Status, TracingType, + ValidationExceptionReason, CreateDbClusterInput, CreateDbClusterOutput, CreateDbInstanceInput, @@ -112,6 +113,13 @@ export type { UpdateDbClusterOutput, UpdateDbInstanceInput, UpdateDbInstanceOutput, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, TimestreamInfluxDBServiceException, paginateListDbClusters, paginateListDbInstances, diff --git a/clients/client-timestream-query/test/index-objects.spec.mjs b/clients/client-timestream-query/test/index-objects.spec.mjs index c6a42275f129..cb12a975b0b3 100644 --- a/clients/client-timestream-query/test/index-objects.spec.mjs +++ b/clients/client-timestream-query/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, CancelQueryCommand, ComputeMode, + ConflictException, CreateScheduledQueryCommand, DeleteScheduledQueryCommand, DescribeAccountSettingsCommand, @@ -8,27 +10,34 @@ import { DescribeScheduledQueryCommand, DimensionValueType, ExecuteScheduledQueryCommand, + InternalServerException, + InvalidEndpointException, LastUpdateStatus, ListScheduledQueriesCommand, ListTagsForResourceCommand, MeasureValueType, PrepareQueryCommand, QueryCommand, + QueryExecutionException, QueryInsightsMode, QueryPricingModel, + ResourceNotFoundException, S3EncryptionOption, ScalarMeasureValueType, ScalarType, ScheduledQueryInsightsMode, ScheduledQueryRunStatus, ScheduledQueryState, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, TimestreamQuery, TimestreamQueryClient, TimestreamQueryServiceException, UntagResourceCommand, UpdateAccountSettingsCommand, UpdateScheduledQueryCommand, + ValidationException, paginateListScheduledQueries, paginateListTagsForResource, paginateQuery, @@ -67,6 +76,15 @@ assert(typeof ScheduledQueryInsightsMode === "object"); assert(typeof ScheduledQueryRunStatus === "object"); assert(typeof ScheduledQueryState === "object"); // errors +assert(AccessDeniedException.prototype instanceof TimestreamQueryServiceException); +assert(ConflictException.prototype instanceof TimestreamQueryServiceException); +assert(InternalServerException.prototype instanceof TimestreamQueryServiceException); +assert(InvalidEndpointException.prototype instanceof TimestreamQueryServiceException); +assert(QueryExecutionException.prototype instanceof TimestreamQueryServiceException); +assert(ResourceNotFoundException.prototype instanceof TimestreamQueryServiceException); +assert(ServiceQuotaExceededException.prototype instanceof TimestreamQueryServiceException); +assert(ThrottlingException.prototype instanceof TimestreamQueryServiceException); +assert(ValidationException.prototype instanceof TimestreamQueryServiceException); assert(TimestreamQueryServiceException.prototype instanceof Error); // paginators assert(typeof paginateListScheduledQueries === "function"); diff --git a/clients/client-timestream-query/test/index-types.ts b/clients/client-timestream-query/test/index-types.ts index abd94ff3910d..eb110f02e35b 100644 --- a/clients/client-timestream-query/test/index-types.ts +++ b/clients/client-timestream-query/test/index-types.ts @@ -129,6 +129,15 @@ export type { UpdateAccountSettingsRequest, UpdateAccountSettingsResponse, UpdateScheduledQueryRequest, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidEndpointException, + QueryExecutionException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, TimestreamQueryServiceException, paginateListScheduledQueries, paginateListTagsForResource, diff --git a/clients/client-timestream-write/test/index-objects.spec.mjs b/clients/client-timestream-write/test/index-objects.spec.mjs index 002f97e0a2a9..294044a482ce 100644 --- a/clients/client-timestream-write/test/index-objects.spec.mjs +++ b/clients/client-timestream-write/test/index-objects.spec.mjs @@ -1,6 +1,8 @@ import { + AccessDeniedException, BatchLoadDataFormat, BatchLoadStatus, + ConflictException, CreateBatchLoadTaskCommand, CreateDatabaseCommand, CreateTableCommand, @@ -11,6 +13,8 @@ import { DescribeEndpointsCommand, DescribeTableCommand, DimensionValueType, + InternalServerException, + InvalidEndpointException, ListBatchLoadTasksCommand, ListDatabasesCommand, ListTablesCommand, @@ -18,11 +22,15 @@ import { MeasureValueType, PartitionKeyEnforcementLevel, PartitionKeyType, + RejectedRecordsException, + ResourceNotFoundException, ResumeBatchLoadTaskCommand, S3EncryptionOption, ScalarMeasureValueType, + ServiceQuotaExceededException, TableStatus, TagResourceCommand, + ThrottlingException, TimeUnit, TimestreamWrite, TimestreamWriteClient, @@ -30,6 +38,7 @@ import { UntagResourceCommand, UpdateDatabaseCommand, UpdateTableCommand, + ValidationException, WriteRecordsCommand, paginateListBatchLoadTasks, paginateListDatabases, @@ -71,6 +80,15 @@ assert(typeof ScalarMeasureValueType === "object"); assert(typeof TableStatus === "object"); assert(typeof TimeUnit === "object"); // errors +assert(AccessDeniedException.prototype instanceof TimestreamWriteServiceException); +assert(ConflictException.prototype instanceof TimestreamWriteServiceException); +assert(InternalServerException.prototype instanceof TimestreamWriteServiceException); +assert(InvalidEndpointException.prototype instanceof TimestreamWriteServiceException); +assert(RejectedRecordsException.prototype instanceof TimestreamWriteServiceException); +assert(ResourceNotFoundException.prototype instanceof TimestreamWriteServiceException); +assert(ServiceQuotaExceededException.prototype instanceof TimestreamWriteServiceException); +assert(ThrottlingException.prototype instanceof TimestreamWriteServiceException); +assert(ValidationException.prototype instanceof TimestreamWriteServiceException); assert(TimestreamWriteServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBatchLoadTasks === "function"); diff --git a/clients/client-timestream-write/test/index-types.ts b/clients/client-timestream-write/test/index-types.ts index 2b795fb9d015..299b3e49f6ca 100644 --- a/clients/client-timestream-write/test/index-types.ts +++ b/clients/client-timestream-write/test/index-types.ts @@ -115,6 +115,7 @@ export type { PartitionKey, _Record, RecordsIngested, + RejectedRecord, ReportConfiguration, ReportS3Configuration, ResumeBatchLoadTaskRequest, @@ -134,6 +135,15 @@ export type { UpdateTableResponse, WriteRecordsRequest, WriteRecordsResponse, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidEndpointException, + RejectedRecordsException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, TimestreamWriteServiceException, paginateListBatchLoadTasks, paginateListDatabases, diff --git a/clients/client-tnb/test/index-objects.spec.mjs b/clients/client-tnb/test/index-objects.spec.mjs index 7fa23c2742ee..40dadf000756 100644 --- a/clients/client-tnb/test/index-objects.spec.mjs +++ b/clients/client-tnb/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, CancelSolNetworkOperationCommand, CreateSolFunctionPackageCommand, CreateSolNetworkInstanceCommand, @@ -17,6 +18,7 @@ import { GetSolNetworkPackageContentCommand, GetSolNetworkPackageDescriptorCommand, InstantiateSolNetworkInstanceCommand, + InternalServerException, LcmOperationType, ListSolFunctionInstancesCommand, ListSolFunctionPackagesCommand, @@ -34,9 +36,12 @@ import { PackageContentType, PutSolFunctionPackageContentCommand, PutSolNetworkPackageContentCommand, + ResourceNotFoundException, + ServiceQuotaExceededException, TagResourceCommand, TaskStatus, TerminateSolNetworkInstanceCommand, + ThrottlingException, Tnb, TnbClient, TnbServiceException, @@ -48,6 +53,7 @@ import { UsageState, ValidateSolFunctionPackageContentCommand, ValidateSolNetworkPackageContentCommand, + ValidationException, VnfInstantiationState, VnfOperationalState, paginateListSolFunctionInstances, @@ -111,6 +117,12 @@ assert(typeof UsageState === "object"); assert(typeof VnfInstantiationState === "object"); assert(typeof VnfOperationalState === "object"); // errors +assert(AccessDeniedException.prototype instanceof TnbServiceException); +assert(InternalServerException.prototype instanceof TnbServiceException); +assert(ResourceNotFoundException.prototype instanceof TnbServiceException); +assert(ServiceQuotaExceededException.prototype instanceof TnbServiceException); +assert(ThrottlingException.prototype instanceof TnbServiceException); +assert(ValidationException.prototype instanceof TnbServiceException); assert(TnbServiceException.prototype instanceof Error); // paginators assert(typeof paginateListSolFunctionInstances === "function"); diff --git a/clients/client-tnb/test/index-types.ts b/clients/client-tnb/test/index-types.ts index 76c795bf5218..e27720aa7ff8 100644 --- a/clients/client-tnb/test/index-types.ts +++ b/clients/client-tnb/test/index-types.ts @@ -213,6 +213,12 @@ export type { ValidateSolNetworkPackageContentInput, ValidateSolNetworkPackageContentMetadata, ValidateSolNetworkPackageContentOutput, + AccessDeniedException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, TnbServiceException, paginateListSolFunctionInstances, paginateListSolFunctionPackages, diff --git a/clients/client-transcribe-streaming/src/schemas/schemas_0.ts b/clients/client-transcribe-streaming/src/schemas/schemas_0.ts index 5965a5b32660..28668f608d7f 100644 --- a/clients/client-transcribe-streaming/src/schemas/schemas_0.ts +++ b/clients/client-transcribe-streaming/src/schemas/schemas_0.ts @@ -715,7 +715,6 @@ export var UtteranceEvent: StaticStructureSchema = [ () => CallAnalyticsLanguageIdentification, ], ]; -export var __Unit = "unit" as const; export var TranscribeStreamingServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-transcribe-streaming/test/index-objects.spec.mjs b/clients/client-transcribe-streaming/test/index-objects.spec.mjs index 547f5db8ddc7..def878a5503e 100644 --- a/clients/client-transcribe-streaming/test/index-objects.spec.mjs +++ b/clients/client-transcribe-streaming/test/index-objects.spec.mjs @@ -24,6 +24,7 @@ import { PartialResultsStability, ParticipantRole, Pronouns, + ResourceNotFoundException, Sentiment, ServiceUnavailableException, Specialty, @@ -77,6 +78,7 @@ assert(BadRequestException.prototype instanceof TranscribeStreamingServiceExcept assert(ConflictException.prototype instanceof TranscribeStreamingServiceException); assert(InternalFailureException.prototype instanceof TranscribeStreamingServiceException); assert(LimitExceededException.prototype instanceof TranscribeStreamingServiceException); +assert(ResourceNotFoundException.prototype instanceof TranscribeStreamingServiceException); assert(ServiceUnavailableException.prototype instanceof TranscribeStreamingServiceException); assert(TranscribeStreamingServiceException.prototype instanceof Error); console.log(`TranscribeStreaming index test passed.`); diff --git a/clients/client-transcribe-streaming/test/index-types.ts b/clients/client-transcribe-streaming/test/index-types.ts index d606370afbc7..4144abf319b9 100644 --- a/clients/client-transcribe-streaming/test/index-types.ts +++ b/clients/client-transcribe-streaming/test/index-types.ts @@ -102,6 +102,7 @@ export type { ConflictException, InternalFailureException, LimitExceededException, + ResourceNotFoundException, ServiceUnavailableException, TranscribeStreamingServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-transcribe/test/index-objects.spec.mjs b/clients/client-transcribe/test/index-objects.spec.mjs index cae38bca866e..02eb704d5ab1 100644 --- a/clients/client-transcribe/test/index-objects.spec.mjs +++ b/clients/client-transcribe/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + BadRequestException, BaseModelName, CLMLanguageCode, CallAnalyticsFeature, CallAnalyticsJobStatus, CallAnalyticsSkippedReasonCode, + ConflictException, CreateCallAnalyticsCategoryCommand, CreateLanguageModelCommand, CreateMedicalVocabularyCommand, @@ -28,7 +30,9 @@ import { GetVocabularyCommand, GetVocabularyFilterCommand, InputType, + InternalFailureException, LanguageCode, + LimitExceededException, ListCallAnalyticsCategoriesCommand, ListCallAnalyticsJobsCommand, ListLanguageModelsCommand, @@ -46,6 +50,7 @@ import { MedicalScribeNoteTemplate, MedicalScribeParticipantRole, ModelStatus, + NotFoundException, OutputLocationType, ParticipantRole, PiiEntityType, @@ -163,6 +168,11 @@ assert(typeof Type === "object"); assert(typeof VocabularyFilterMethod === "object"); assert(typeof VocabularyState === "object"); // errors +assert(BadRequestException.prototype instanceof TranscribeServiceException); +assert(ConflictException.prototype instanceof TranscribeServiceException); +assert(InternalFailureException.prototype instanceof TranscribeServiceException); +assert(LimitExceededException.prototype instanceof TranscribeServiceException); +assert(NotFoundException.prototype instanceof TranscribeServiceException); assert(TranscribeServiceException.prototype instanceof Error); // paginators assert(typeof paginateListCallAnalyticsCategories === "function"); diff --git a/clients/client-transcribe/test/index-types.ts b/clients/client-transcribe/test/index-types.ts index 6752c2338a1a..fc03e6023dd2 100644 --- a/clients/client-transcribe/test/index-types.ts +++ b/clients/client-transcribe/test/index-types.ts @@ -284,6 +284,11 @@ export type { UpdateVocabularyResponse, VocabularyFilterInfo, VocabularyInfo, + BadRequestException, + ConflictException, + InternalFailureException, + LimitExceededException, + NotFoundException, TranscribeServiceException, paginateListCallAnalyticsCategories, paginateListCallAnalyticsJobs, diff --git a/clients/client-transfer/test/index-objects.spec.mjs b/clients/client-transfer/test/index-objects.spec.mjs index e7a338f03e00..034b26f190bd 100644 --- a/clients/client-transfer/test/index-objects.spec.mjs +++ b/clients/client-transfer/test/index-objects.spec.mjs @@ -1,10 +1,12 @@ import { + AccessDeniedException, AgreementStatusType, As2Transport, CertificateStatusType, CertificateType, CertificateUsageType, CompressionEnum, + ConflictException, ConnectorEgressType, ConnectorStatus, CreateAccessCommand, @@ -54,6 +56,9 @@ import { ImportCertificateCommand, ImportHostKeyCommand, ImportSshPublicKeyCommand, + InternalServiceError, + InvalidNextTokenException, + InvalidRequestException, IpAddressType, ListAccessesCommand, ListAgreementsCommand, @@ -77,9 +82,12 @@ import { PreserveFilenameType, ProfileType, Protocol, + ResourceExistsException, + ResourceNotFoundException, SecurityPolicyProtocol, SecurityPolicyResourceType, SendWorkflowStepStateCommand, + ServiceUnavailableException, SetStatOption, SftpAuthenticationMethods, SigningAlg, @@ -93,6 +101,7 @@ import { TagResourceCommand, TestConnectionCommand, TestIdentityProviderCommand, + ThrottlingException, TlsSessionResumptionMode, Transfer, TransferClient, @@ -247,6 +256,15 @@ assert(typeof WebAppEndpointPolicy === "object"); assert(typeof WebAppEndpointType === "object"); assert(typeof WorkflowStepType === "object"); // errors +assert(AccessDeniedException.prototype instanceof TransferServiceException); +assert(ConflictException.prototype instanceof TransferServiceException); +assert(InternalServiceError.prototype instanceof TransferServiceException); +assert(InvalidNextTokenException.prototype instanceof TransferServiceException); +assert(InvalidRequestException.prototype instanceof TransferServiceException); +assert(ResourceExistsException.prototype instanceof TransferServiceException); +assert(ResourceNotFoundException.prototype instanceof TransferServiceException); +assert(ServiceUnavailableException.prototype instanceof TransferServiceException); +assert(ThrottlingException.prototype instanceof TransferServiceException); assert(TransferServiceException.prototype instanceof Error); // waiters assert(typeof waitForServerOffline === "function"); diff --git a/clients/client-transfer/test/index-types.ts b/clients/client-transfer/test/index-types.ts index 86984da96074..fc0fdb138bdc 100644 --- a/clients/client-transfer/test/index-types.ts +++ b/clients/client-transfer/test/index-types.ts @@ -456,6 +456,15 @@ export type { WorkflowDetail, WorkflowDetails, WorkflowStep, + AccessDeniedException, + ConflictException, + InternalServiceError, + InvalidNextTokenException, + InvalidRequestException, + ResourceExistsException, + ResourceNotFoundException, + ServiceUnavailableException, + ThrottlingException, TransferServiceException, waitForServerOffline, waitForServerOnline, diff --git a/clients/client-translate/test/index-objects.spec.mjs b/clients/client-translate/test/index-objects.spec.mjs index 75b430360b5e..cb8be9cd9248 100644 --- a/clients/client-translate/test/index-objects.spec.mjs +++ b/clients/client-translate/test/index-objects.spec.mjs @@ -1,9 +1,12 @@ import { Brevity, + ConcurrentModificationException, + ConflictException, CreateParallelDataCommand, DeleteParallelDataCommand, DeleteTerminologyCommand, DescribeTextTranslationJobCommand, + DetectedLanguageLowConfidenceException, Directionality, DisplayLanguageCode, EncryptionKeyType, @@ -11,7 +14,12 @@ import { GetParallelDataCommand, GetTerminologyCommand, ImportTerminologyCommand, + InternalServerException, + InvalidFilterException, + InvalidParameterValueException, + InvalidRequestException, JobStatus, + LimitExceededException, ListLanguagesCommand, ListParallelDataCommand, ListTagsForResourceCommand, @@ -21,15 +29,22 @@ import { ParallelDataFormat, ParallelDataStatus, Profanity, + ResourceNotFoundException, + ServiceUnavailableException, StartTextTranslationJobCommand, StopTextTranslationJobCommand, TagResourceCommand, TerminologyDataFormat, + TextSizeLimitExceededException, + TooManyRequestsException, + TooManyTagsException, Translate, TranslateClient, TranslateDocumentCommand, TranslateServiceException, TranslateTextCommand, + UnsupportedDisplayLanguageCodeException, + UnsupportedLanguagePairException, UntagResourceCommand, UpdateParallelDataCommand, paginateListLanguages, @@ -74,6 +89,21 @@ assert(typeof ParallelDataStatus === "object"); assert(typeof Profanity === "object"); assert(typeof TerminologyDataFormat === "object"); // errors +assert(ConcurrentModificationException.prototype instanceof TranslateServiceException); +assert(ConflictException.prototype instanceof TranslateServiceException); +assert(DetectedLanguageLowConfidenceException.prototype instanceof TranslateServiceException); +assert(InternalServerException.prototype instanceof TranslateServiceException); +assert(InvalidFilterException.prototype instanceof TranslateServiceException); +assert(InvalidParameterValueException.prototype instanceof TranslateServiceException); +assert(InvalidRequestException.prototype instanceof TranslateServiceException); +assert(LimitExceededException.prototype instanceof TranslateServiceException); +assert(ResourceNotFoundException.prototype instanceof TranslateServiceException); +assert(ServiceUnavailableException.prototype instanceof TranslateServiceException); +assert(TextSizeLimitExceededException.prototype instanceof TranslateServiceException); +assert(TooManyRequestsException.prototype instanceof TranslateServiceException); +assert(TooManyTagsException.prototype instanceof TranslateServiceException); +assert(UnsupportedDisplayLanguageCodeException.prototype instanceof TranslateServiceException); +assert(UnsupportedLanguagePairException.prototype instanceof TranslateServiceException); assert(TranslateServiceException.prototype instanceof Error); // paginators assert(typeof paginateListLanguages === "function"); diff --git a/clients/client-translate/test/index-types.ts b/clients/client-translate/test/index-types.ts index aef6fd898df7..1aa12a0fa12a 100644 --- a/clients/client-translate/test/index-types.ts +++ b/clients/client-translate/test/index-types.ts @@ -126,6 +126,21 @@ export type { UntagResourceResponse, UpdateParallelDataRequest, UpdateParallelDataResponse, + ConcurrentModificationException, + ConflictException, + DetectedLanguageLowConfidenceException, + InternalServerException, + InvalidFilterException, + InvalidParameterValueException, + InvalidRequestException, + LimitExceededException, + ResourceNotFoundException, + ServiceUnavailableException, + TextSizeLimitExceededException, + TooManyRequestsException, + TooManyTagsException, + UnsupportedDisplayLanguageCodeException, + UnsupportedLanguagePairException, TranslateServiceException, paginateListLanguages, paginateListParallelData, diff --git a/clients/client-trustedadvisor/test/index-objects.spec.mjs b/clients/client-trustedadvisor/test/index-objects.spec.mjs index 9ed9c6beb8f2..87e590ade28c 100644 --- a/clients/client-trustedadvisor/test/index-objects.spec.mjs +++ b/clients/client-trustedadvisor/test/index-objects.spec.mjs @@ -1,8 +1,11 @@ import { + AccessDeniedException, BatchUpdateRecommendationResourceExclusionCommand, + ConflictException, ExclusionStatus, GetOrganizationRecommendationCommand, GetRecommendationCommand, + InternalServerException, ListChecksCommand, ListOrganizationRecommendationAccountsCommand, ListOrganizationRecommendationResourcesCommand, @@ -15,7 +18,9 @@ import { RecommendationSource, RecommendationStatus, RecommendationType, + ResourceNotFoundException, ResourceStatus, + ThrottlingException, TrustedAdvisor, TrustedAdvisorClient, TrustedAdvisorServiceException, @@ -23,6 +28,7 @@ import { UpdateRecommendationLifecycleCommand, UpdateRecommendationLifecycleStage, UpdateRecommendationLifecycleStageReasonCode, + ValidationException, paginateListChecks, paginateListOrganizationRecommendationAccounts, paginateListOrganizationRecommendationResources, @@ -58,6 +64,12 @@ assert(typeof ResourceStatus === "object"); assert(typeof UpdateRecommendationLifecycleStage === "object"); assert(typeof UpdateRecommendationLifecycleStageReasonCode === "object"); // errors +assert(AccessDeniedException.prototype instanceof TrustedAdvisorServiceException); +assert(ConflictException.prototype instanceof TrustedAdvisorServiceException); +assert(InternalServerException.prototype instanceof TrustedAdvisorServiceException); +assert(ResourceNotFoundException.prototype instanceof TrustedAdvisorServiceException); +assert(ThrottlingException.prototype instanceof TrustedAdvisorServiceException); +assert(ValidationException.prototype instanceof TrustedAdvisorServiceException); assert(TrustedAdvisorServiceException.prototype instanceof Error); // paginators assert(typeof paginateListChecks === "function"); diff --git a/clients/client-trustedadvisor/test/index-types.ts b/clients/client-trustedadvisor/test/index-types.ts index 36bc6ffedb4e..19063cae8cde 100644 --- a/clients/client-trustedadvisor/test/index-types.ts +++ b/clients/client-trustedadvisor/test/index-types.ts @@ -78,6 +78,12 @@ export type { UpdateOrganizationRecommendationLifecycleRequest, UpdateRecommendationLifecycleRequest, UpdateRecommendationResourceExclusionError, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ThrottlingException, + ValidationException, TrustedAdvisorServiceException, paginateListChecks, paginateListOrganizationRecommendationAccounts, diff --git a/clients/client-verifiedpermissions/src/schemas/schemas_0.ts b/clients/client-verifiedpermissions/src/schemas/schemas_0.ts index f3160a89565f..513d69a07495 100644 --- a/clients/client-verifiedpermissions/src/schemas/schemas_0.ts +++ b/clients/client-verifiedpermissions/src/schemas/schemas_0.ts @@ -1174,7 +1174,6 @@ export var ValidationException: StaticErrorSchema = [ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_pat, _m], [0, 0]]; export var ValidationSettings: StaticStructureSchema = [3, n0, _VS, 0, [_mo], [0]]; -export var __Unit = "unit" as const; export var VerifiedPermissionsServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-verifiedpermissions/test/index-objects.spec.mjs b/clients/client-verifiedpermissions/test/index-objects.spec.mjs index 78e3e6f0fa2d..22d4408a582b 100644 --- a/clients/client-verifiedpermissions/test/index-objects.spec.mjs +++ b/clients/client-verifiedpermissions/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, BatchGetPolicyCommand, BatchGetPolicyErrorCode, BatchIsAuthorizedCommand, BatchIsAuthorizedWithTokenCommand, CedarVersion, + ConflictException, CreateIdentitySourceCommand, CreatePolicyCommand, CreatePolicyStoreCommand, @@ -19,6 +21,8 @@ import { GetPolicyStoreCommand, GetPolicyTemplateCommand, GetSchemaCommand, + InternalServerException, + InvalidStateException, IsAuthorizedCommand, IsAuthorizedWithTokenCommand, ListIdentitySourcesCommand, @@ -30,12 +34,18 @@ import { PolicyEffect, PolicyType, PutSchemaCommand, + ResourceNotFoundException, + ResourceType, + ServiceQuotaExceededException, TagResourceCommand, + ThrottlingException, + TooManyTagsException, UntagResourceCommand, UpdateIdentitySourceCommand, UpdatePolicyCommand, UpdatePolicyStoreCommand, UpdatePolicyTemplateCommand, + ValidationException, ValidationMode, VerifiedPermissions, VerifiedPermissionsClient, @@ -88,8 +98,18 @@ assert(typeof DeletionProtection === "object"); assert(typeof OpenIdIssuer === "object"); assert(typeof PolicyEffect === "object"); assert(typeof PolicyType === "object"); +assert(typeof ResourceType === "object"); assert(typeof ValidationMode === "object"); // errors +assert(AccessDeniedException.prototype instanceof VerifiedPermissionsServiceException); +assert(ConflictException.prototype instanceof VerifiedPermissionsServiceException); +assert(InternalServerException.prototype instanceof VerifiedPermissionsServiceException); +assert(InvalidStateException.prototype instanceof VerifiedPermissionsServiceException); +assert(ResourceNotFoundException.prototype instanceof VerifiedPermissionsServiceException); +assert(ServiceQuotaExceededException.prototype instanceof VerifiedPermissionsServiceException); +assert(ThrottlingException.prototype instanceof VerifiedPermissionsServiceException); +assert(TooManyTagsException.prototype instanceof VerifiedPermissionsServiceException); +assert(ValidationException.prototype instanceof VerifiedPermissionsServiceException); assert(VerifiedPermissionsServiceException.prototype instanceof Error); // paginators assert(typeof paginateListIdentitySources === "function"); diff --git a/clients/client-verifiedpermissions/test/index-types.ts b/clients/client-verifiedpermissions/test/index-types.ts index 685f7c31259f..b991b97ada65 100644 --- a/clients/client-verifiedpermissions/test/index-types.ts +++ b/clients/client-verifiedpermissions/test/index-types.ts @@ -99,6 +99,7 @@ export type { OpenIdIssuer, PolicyEffect, PolicyType, + ResourceType, ValidationMode, ActionIdentifier, AttributeValue, @@ -200,6 +201,7 @@ export type { PolicyTemplateItem, PutSchemaInput, PutSchemaOutput, + ResourceConflict, SchemaDefinition, StaticPolicyDefinition, StaticPolicyDefinitionDetail, @@ -229,7 +231,17 @@ export type { UpdatePolicyTemplateInput, UpdatePolicyTemplateOutput, UpdateStaticPolicyDefinition, + ValidationExceptionField, ValidationSettings, + AccessDeniedException, + ConflictException, + InternalServerException, + InvalidStateException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + TooManyTagsException, + ValidationException, VerifiedPermissionsServiceException, paginateListIdentitySources, paginateListPolicies, diff --git a/clients/client-voice-id/test/index-objects.spec.mjs b/clients/client-voice-id/test/index-objects.spec.mjs index e934c505b830..1681a6ddb75c 100644 --- a/clients/client-voice-id/test/index-objects.spec.mjs +++ b/clients/client-voice-id/test/index-objects.spec.mjs @@ -1,6 +1,9 @@ import { + AccessDeniedException, AssociateFraudsterCommand, AuthenticationDecision, + ConflictException, + ConflictType, CreateDomainCommand, CreateWatchlistCommand, DeleteDomainCommand, @@ -22,6 +25,7 @@ import { FraudDetectionDecision, FraudDetectionReason, FraudsterRegistrationJobStatus, + InternalServerException, ListDomainsCommand, ListFraudsterRegistrationJobsCommand, ListFraudstersCommand, @@ -30,16 +34,21 @@ import { ListTagsForResourceCommand, ListWatchlistsCommand, OptOutSpeakerCommand, + ResourceNotFoundException, + ResourceType, ServerSideEncryptionUpdateStatus, + ServiceQuotaExceededException, SpeakerEnrollmentJobStatus, SpeakerStatus, StartFraudsterRegistrationJobCommand, StartSpeakerEnrollmentJobCommand, StreamingStatus, TagResourceCommand, + ThrottlingException, UntagResourceCommand, UpdateDomainCommand, UpdateWatchlistCommand, + ValidationException, VoiceID, VoiceIDClient, VoiceIDServiceException, @@ -86,6 +95,7 @@ assert(typeof UpdateDomainCommand === "function"); assert(typeof UpdateWatchlistCommand === "function"); // enums assert(typeof AuthenticationDecision === "object"); +assert(typeof ConflictType === "object"); assert(typeof DomainStatus === "object"); assert(typeof DuplicateRegistrationAction === "object"); assert(typeof ExistingEnrollmentAction === "object"); @@ -93,11 +103,19 @@ assert(typeof FraudDetectionAction === "object"); assert(typeof FraudDetectionDecision === "object"); assert(typeof FraudDetectionReason === "object"); assert(typeof FraudsterRegistrationJobStatus === "object"); +assert(typeof ResourceType === "object"); assert(typeof ServerSideEncryptionUpdateStatus === "object"); assert(typeof SpeakerEnrollmentJobStatus === "object"); assert(typeof SpeakerStatus === "object"); assert(typeof StreamingStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof VoiceIDServiceException); +assert(ConflictException.prototype instanceof VoiceIDServiceException); +assert(InternalServerException.prototype instanceof VoiceIDServiceException); +assert(ResourceNotFoundException.prototype instanceof VoiceIDServiceException); +assert(ServiceQuotaExceededException.prototype instanceof VoiceIDServiceException); +assert(ThrottlingException.prototype instanceof VoiceIDServiceException); +assert(ValidationException.prototype instanceof VoiceIDServiceException); assert(VoiceIDServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDomains === "function"); diff --git a/clients/client-voice-id/test/index-types.ts b/clients/client-voice-id/test/index-types.ts index 3ad51e648882..74b5da64f547 100644 --- a/clients/client-voice-id/test/index-types.ts +++ b/clients/client-voice-id/test/index-types.ts @@ -90,6 +90,7 @@ export type { UpdateWatchlistCommandInput, UpdateWatchlistCommandOutput, AuthenticationDecision, + ConflictType, DomainStatus, DuplicateRegistrationAction, ExistingEnrollmentAction, @@ -97,6 +98,7 @@ export type { FraudDetectionDecision, FraudDetectionReason, FraudsterRegistrationJobStatus, + ResourceType, ServerSideEncryptionUpdateStatus, SpeakerEnrollmentJobStatus, SpeakerStatus, @@ -185,6 +187,13 @@ export type { Watchlist, WatchlistDetails, WatchlistSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, VoiceIDServiceException, paginateListDomains, paginateListFraudsterRegistrationJobs, diff --git a/clients/client-vpc-lattice/test/index-objects.spec.mjs b/clients/client-vpc-lattice/test/index-objects.spec.mjs index 3c58706241a3..a4c80e03a856 100644 --- a/clients/client-vpc-lattice/test/index-objects.spec.mjs +++ b/clients/client-vpc-lattice/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AuthPolicyState, AuthType, BatchUpdateRuleCommand, + ConflictException, CreateAccessLogSubscriptionCommand, CreateListenerCommand, CreateResourceConfigurationCommand, @@ -44,6 +46,7 @@ import { GetServiceNetworkVpcAssociationCommand, GetTargetGroupCommand, HealthCheckProtocolVersion, + InternalServerException, IpAddressType, LambdaEventStructureVersion, ListAccessLogSubscriptionsCommand, @@ -73,10 +76,12 @@ import { ResourceConfigurationType, ResourceGatewayIpAddressType, ResourceGatewayStatus, + ResourceNotFoundException, ServiceNetworkLogType, ServiceNetworkResourceAssociationStatus, ServiceNetworkServiceAssociationStatus, ServiceNetworkVpcAssociationStatus, + ServiceQuotaExceededException, ServiceStatus, StartDomainVerificationCommand, TagResourceCommand, @@ -85,6 +90,7 @@ import { TargetGroupStatus, TargetGroupType, TargetStatus, + ThrottlingException, UntagResourceCommand, UpdateAccessLogSubscriptionCommand, UpdateListenerCommand, @@ -98,6 +104,8 @@ import { VPCLattice, VPCLatticeClient, VPCLatticeServiceException, + ValidationException, + ValidationExceptionReason, VerificationStatus, paginateListAccessLogSubscriptions, paginateListDomainVerifications, @@ -217,8 +225,16 @@ assert(typeof TargetGroupProtocolVersion === "object"); assert(typeof TargetGroupStatus === "object"); assert(typeof TargetGroupType === "object"); assert(typeof TargetStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VerificationStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof VPCLatticeServiceException); +assert(ConflictException.prototype instanceof VPCLatticeServiceException); +assert(InternalServerException.prototype instanceof VPCLatticeServiceException); +assert(ResourceNotFoundException.prototype instanceof VPCLatticeServiceException); +assert(ServiceQuotaExceededException.prototype instanceof VPCLatticeServiceException); +assert(ThrottlingException.prototype instanceof VPCLatticeServiceException); +assert(ValidationException.prototype instanceof VPCLatticeServiceException); assert(VPCLatticeServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAccessLogSubscriptions === "function"); diff --git a/clients/client-vpc-lattice/test/index-types.ts b/clients/client-vpc-lattice/test/index-types.ts index 6426590e1ba6..6162d518f03e 100644 --- a/clients/client-vpc-lattice/test/index-types.ts +++ b/clients/client-vpc-lattice/test/index-types.ts @@ -244,6 +244,7 @@ export type { TargetGroupStatus, TargetGroupType, TargetStatus, + ValidationExceptionReason, VerificationStatus, AccessLogSubscriptionSummary, ArnResource, @@ -431,7 +432,15 @@ export type { UpdateServiceResponse, UpdateTargetGroupRequest, UpdateTargetGroupResponse, + ValidationExceptionField, WeightedTargetGroup, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, VPCLatticeServiceException, paginateListAccessLogSubscriptions, paginateListDomainVerifications, diff --git a/clients/client-waf-regional/src/schemas/schemas_0.ts b/clients/client-waf-regional/src/schemas/schemas_0.ts index 91fed8bd8812..2a5eeed64f0f 100644 --- a/clients/client-waf-regional/src/schemas/schemas_0.ts +++ b/clients/client-waf-regional/src/schemas/schemas_0.ts @@ -1094,7 +1094,6 @@ export var XssMatchSet: StaticStructureSchema = [3, n0, _XMS, 0, [_XMSI, _N, _XM export var XssMatchSetSummary: StaticStructureSchema = [3, n0, _XMSS, 0, [_XMSI, _N], [0, 0]]; export var XssMatchSetUpdate: StaticStructureSchema = [3, n0, _XMSU, 0, [_A, _XMTs], [0, () => XssMatchTuple]]; export var XssMatchTuple: StaticStructureSchema = [3, n0, _XMTs, 0, [_FTM, _TT], [() => FieldToMatch, 0]]; -export var __Unit = "unit" as const; export var WAFRegionalServiceException: StaticErrorSchema = [-3, _sm, "WAFRegionalServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(WAFRegionalServiceException, __WAFRegionalServiceException); export var ActivatedRules: StaticListSchema = [1, n0, _ARc, 0, () => ActivatedRule]; diff --git a/clients/client-waf-regional/test/index-objects.spec.mjs b/clients/client-waf-regional/test/index-objects.spec.mjs index 442c81b19979..868d5442a0f5 100644 --- a/clients/client-waf-regional/test/index-objects.spec.mjs +++ b/clients/client-waf-regional/test/index-objects.spec.mjs @@ -71,6 +71,9 @@ import { ListWebACLsCommand, ListXssMatchSetsCommand, MatchFieldType, + MigrationErrorType, + ParameterExceptionField, + ParameterExceptionReason, PositionalConstraint, PredicateType, PutLoggingConfigurationCommand, @@ -92,9 +95,29 @@ import { UpdateSqlInjectionMatchSetCommand, UpdateWebACLCommand, UpdateXssMatchSetCommand, + WAFBadRequestException, + WAFDisallowedNameException, + WAFEntityMigrationException, + WAFInternalErrorException, + WAFInvalidAccountException, + WAFInvalidOperationException, + WAFInvalidParameterException, + WAFInvalidPermissionPolicyException, + WAFInvalidRegexPatternException, + WAFLimitsExceededException, + WAFNonEmptyEntityException, + WAFNonexistentContainerException, + WAFNonexistentItemException, + WAFReferencedItemException, WAFRegional, WAFRegionalClient, WAFRegionalServiceException, + WAFServiceLinkedRoleErrorException, + WAFStaleDataException, + WAFSubscriptionNotFoundException, + WAFTagOperationException, + WAFTagOperationInternalErrorException, + WAFUnavailableEntityException, WafActionType, WafOverrideActionType, WafRuleType, @@ -193,6 +216,9 @@ assert(typeof GeoMatchConstraintType === "object"); assert(typeof GeoMatchConstraintValue === "object"); assert(typeof IPSetDescriptorType === "object"); assert(typeof MatchFieldType === "object"); +assert(typeof MigrationErrorType === "object"); +assert(typeof ParameterExceptionField === "object"); +assert(typeof ParameterExceptionReason === "object"); assert(typeof PositionalConstraint === "object"); assert(typeof PredicateType === "object"); assert(typeof RateKey === "object"); @@ -202,5 +228,25 @@ assert(typeof WafActionType === "object"); assert(typeof WafOverrideActionType === "object"); assert(typeof WafRuleType === "object"); // errors +assert(WAFBadRequestException.prototype instanceof WAFRegionalServiceException); +assert(WAFDisallowedNameException.prototype instanceof WAFRegionalServiceException); +assert(WAFEntityMigrationException.prototype instanceof WAFRegionalServiceException); +assert(WAFInternalErrorException.prototype instanceof WAFRegionalServiceException); +assert(WAFInvalidAccountException.prototype instanceof WAFRegionalServiceException); +assert(WAFInvalidOperationException.prototype instanceof WAFRegionalServiceException); +assert(WAFInvalidParameterException.prototype instanceof WAFRegionalServiceException); +assert(WAFInvalidPermissionPolicyException.prototype instanceof WAFRegionalServiceException); +assert(WAFInvalidRegexPatternException.prototype instanceof WAFRegionalServiceException); +assert(WAFLimitsExceededException.prototype instanceof WAFRegionalServiceException); +assert(WAFNonEmptyEntityException.prototype instanceof WAFRegionalServiceException); +assert(WAFNonexistentContainerException.prototype instanceof WAFRegionalServiceException); +assert(WAFNonexistentItemException.prototype instanceof WAFRegionalServiceException); +assert(WAFReferencedItemException.prototype instanceof WAFRegionalServiceException); +assert(WAFServiceLinkedRoleErrorException.prototype instanceof WAFRegionalServiceException); +assert(WAFStaleDataException.prototype instanceof WAFRegionalServiceException); +assert(WAFSubscriptionNotFoundException.prototype instanceof WAFRegionalServiceException); +assert(WAFTagOperationException.prototype instanceof WAFRegionalServiceException); +assert(WAFTagOperationInternalErrorException.prototype instanceof WAFRegionalServiceException); +assert(WAFUnavailableEntityException.prototype instanceof WAFRegionalServiceException); assert(WAFRegionalServiceException.prototype instanceof Error); console.log(`WAFRegional index test passed.`); diff --git a/clients/client-waf-regional/test/index-types.ts b/clients/client-waf-regional/test/index-types.ts index 94e36576a3f2..e760e28372ff 100644 --- a/clients/client-waf-regional/test/index-types.ts +++ b/clients/client-waf-regional/test/index-types.ts @@ -252,6 +252,9 @@ export type { GeoMatchConstraintValue, IPSetDescriptorType, MatchFieldType, + MigrationErrorType, + ParameterExceptionField, + ParameterExceptionReason, PositionalConstraint, PredicateType, RateKey, @@ -477,5 +480,25 @@ export type { XssMatchSetSummary, XssMatchSetUpdate, XssMatchTuple, + WAFBadRequestException, + WAFDisallowedNameException, + WAFEntityMigrationException, + WAFInternalErrorException, + WAFInvalidAccountException, + WAFInvalidOperationException, + WAFInvalidParameterException, + WAFInvalidPermissionPolicyException, + WAFInvalidRegexPatternException, + WAFLimitsExceededException, + WAFNonEmptyEntityException, + WAFNonexistentContainerException, + WAFNonexistentItemException, + WAFReferencedItemException, + WAFServiceLinkedRoleErrorException, + WAFStaleDataException, + WAFSubscriptionNotFoundException, + WAFTagOperationException, + WAFTagOperationInternalErrorException, + WAFUnavailableEntityException, WAFRegionalServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-waf/src/schemas/schemas_0.ts b/clients/client-waf/src/schemas/schemas_0.ts index cc3fa2a5356a..c0fc89b3edf3 100644 --- a/clients/client-waf/src/schemas/schemas_0.ts +++ b/clients/client-waf/src/schemas/schemas_0.ts @@ -1061,7 +1061,6 @@ export var XssMatchSet: StaticStructureSchema = [3, n0, _XMS, 0, [_XMSI, _N, _XM export var XssMatchSetSummary: StaticStructureSchema = [3, n0, _XMSS, 0, [_XMSI, _N], [0, 0]]; export var XssMatchSetUpdate: StaticStructureSchema = [3, n0, _XMSU, 0, [_A, _XMTs], [0, () => XssMatchTuple]]; export var XssMatchTuple: StaticStructureSchema = [3, n0, _XMTs, 0, [_FTM, _TT], [() => FieldToMatch, 0]]; -export var __Unit = "unit" as const; export var WAFServiceException: StaticErrorSchema = [-3, _sm, "WAFServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(WAFServiceException, __WAFServiceException); export var ActivatedRules: StaticListSchema = [1, n0, _ARc, 0, () => ActivatedRule]; diff --git a/clients/client-waf/test/index-objects.spec.mjs b/clients/client-waf/test/index-objects.spec.mjs index ed5c26463391..21e746672050 100644 --- a/clients/client-waf/test/index-objects.spec.mjs +++ b/clients/client-waf/test/index-objects.spec.mjs @@ -67,6 +67,9 @@ import { ListWebACLsCommand, ListXssMatchSetsCommand, MatchFieldType, + MigrationErrorType, + ParameterExceptionField, + ParameterExceptionReason, PositionalConstraint, PredicateType, PutLoggingConfigurationCommand, @@ -88,8 +91,27 @@ import { UpdateWebACLCommand, UpdateXssMatchSetCommand, WAF, + WAFBadRequestException, WAFClient, + WAFDisallowedNameException, + WAFEntityMigrationException, + WAFInternalErrorException, + WAFInvalidAccountException, + WAFInvalidOperationException, + WAFInvalidParameterException, + WAFInvalidPermissionPolicyException, + WAFInvalidRegexPatternException, + WAFLimitsExceededException, + WAFNonEmptyEntityException, + WAFNonexistentContainerException, + WAFNonexistentItemException, + WAFReferencedItemException, WAFServiceException, + WAFServiceLinkedRoleErrorException, + WAFStaleDataException, + WAFSubscriptionNotFoundException, + WAFTagOperationException, + WAFTagOperationInternalErrorException, WafActionType, WafOverrideActionType, WafRuleType, @@ -184,6 +206,9 @@ assert(typeof GeoMatchConstraintType === "object"); assert(typeof GeoMatchConstraintValue === "object"); assert(typeof IPSetDescriptorType === "object"); assert(typeof MatchFieldType === "object"); +assert(typeof MigrationErrorType === "object"); +assert(typeof ParameterExceptionField === "object"); +assert(typeof ParameterExceptionReason === "object"); assert(typeof PositionalConstraint === "object"); assert(typeof PredicateType === "object"); assert(typeof RateKey === "object"); @@ -192,5 +217,24 @@ assert(typeof WafActionType === "object"); assert(typeof WafOverrideActionType === "object"); assert(typeof WafRuleType === "object"); // errors +assert(WAFBadRequestException.prototype instanceof WAFServiceException); +assert(WAFDisallowedNameException.prototype instanceof WAFServiceException); +assert(WAFEntityMigrationException.prototype instanceof WAFServiceException); +assert(WAFInternalErrorException.prototype instanceof WAFServiceException); +assert(WAFInvalidAccountException.prototype instanceof WAFServiceException); +assert(WAFInvalidOperationException.prototype instanceof WAFServiceException); +assert(WAFInvalidParameterException.prototype instanceof WAFServiceException); +assert(WAFInvalidPermissionPolicyException.prototype instanceof WAFServiceException); +assert(WAFInvalidRegexPatternException.prototype instanceof WAFServiceException); +assert(WAFLimitsExceededException.prototype instanceof WAFServiceException); +assert(WAFNonEmptyEntityException.prototype instanceof WAFServiceException); +assert(WAFNonexistentContainerException.prototype instanceof WAFServiceException); +assert(WAFNonexistentItemException.prototype instanceof WAFServiceException); +assert(WAFReferencedItemException.prototype instanceof WAFServiceException); +assert(WAFServiceLinkedRoleErrorException.prototype instanceof WAFServiceException); +assert(WAFStaleDataException.prototype instanceof WAFServiceException); +assert(WAFSubscriptionNotFoundException.prototype instanceof WAFServiceException); +assert(WAFTagOperationException.prototype instanceof WAFServiceException); +assert(WAFTagOperationInternalErrorException.prototype instanceof WAFServiceException); assert(WAFServiceException.prototype instanceof Error); console.log(`WAF index test passed.`); diff --git a/clients/client-waf/test/index-types.ts b/clients/client-waf/test/index-types.ts index 9cc19d8495be..d52c9ef7b6c2 100644 --- a/clients/client-waf/test/index-types.ts +++ b/clients/client-waf/test/index-types.ts @@ -240,6 +240,9 @@ export type { GeoMatchConstraintValue, IPSetDescriptorType, MatchFieldType, + MigrationErrorType, + ParameterExceptionField, + ParameterExceptionReason, PositionalConstraint, PredicateType, RateKey, @@ -456,5 +459,24 @@ export type { XssMatchSetSummary, XssMatchSetUpdate, XssMatchTuple, + WAFBadRequestException, + WAFDisallowedNameException, + WAFEntityMigrationException, + WAFInternalErrorException, + WAFInvalidAccountException, + WAFInvalidOperationException, + WAFInvalidParameterException, + WAFInvalidPermissionPolicyException, + WAFInvalidRegexPatternException, + WAFLimitsExceededException, + WAFNonEmptyEntityException, + WAFNonexistentContainerException, + WAFNonexistentItemException, + WAFReferencedItemException, + WAFServiceLinkedRoleErrorException, + WAFStaleDataException, + WAFSubscriptionNotFoundException, + WAFTagOperationException, + WAFTagOperationInternalErrorException, WAFServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-wafv2/src/schemas/schemas_0.ts b/clients/client-wafv2/src/schemas/schemas_0.ts index 869b4d2e868c..b391e653c619 100644 --- a/clients/client-wafv2/src/schemas/schemas_0.ts +++ b/clients/client-wafv2/src/schemas/schemas_0.ts @@ -1610,7 +1610,6 @@ export var XssMatchStatement: StaticStructureSchema = [ [_FTM, _TT], [() => FieldToMatch, () => TextTransformations], ]; -export var __Unit = "unit" as const; export var WAFV2ServiceException: StaticErrorSchema = [-3, _sm, "WAFV2ServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(WAFV2ServiceException, __WAFV2ServiceException); export var AddressFields: StaticListSchema = [1, n0, _AFd, 0, () => AddressField]; diff --git a/clients/client-wafv2/test/index-objects.spec.mjs b/clients/client-wafv2/test/index-objects.spec.mjs index 0ce21ce776e1..cb8487acaa98 100644 --- a/clients/client-wafv2/test/index-objects.spec.mjs +++ b/clients/client-wafv2/test/index-objects.spec.mjs @@ -64,6 +64,7 @@ import { LowReputationMode, MapMatchScope, OversizeHandling, + ParameterExceptionField, PayloadType, Platform, PositionalConstraint, @@ -86,6 +87,26 @@ import { UpdateRuleGroupCommand, UpdateWebACLCommand, UsageOfAction, + WAFAssociatedItemException, + WAFConfigurationWarningException, + WAFDuplicateItemException, + WAFExpiredManagedRuleGroupVersionException, + WAFFeatureNotIncludedInPricingPlanException, + WAFInternalErrorException, + WAFInvalidOperationException, + WAFInvalidParameterException, + WAFInvalidPermissionPolicyException, + WAFInvalidResourceException, + WAFLimitsExceededException, + WAFLogDestinationPermissionIssueException, + WAFNonexistentItemException, + WAFOptimisticLockException, + WAFServiceLinkedRoleErrorException, + WAFSubscriptionNotFoundException, + WAFTagOperationException, + WAFTagOperationInternalErrorException, + WAFUnavailableEntityException, + WAFUnsupportedAggregateKeyTypeException, WAFV2, WAFV2Client, WAFV2ServiceException, @@ -171,6 +192,7 @@ assert(typeof LogType === "object"); assert(typeof LowReputationMode === "object"); assert(typeof MapMatchScope === "object"); assert(typeof OversizeHandling === "object"); +assert(typeof ParameterExceptionField === "object"); assert(typeof PayloadType === "object"); assert(typeof Platform === "object"); assert(typeof PositionalConstraint === "object"); @@ -184,5 +206,25 @@ assert(typeof SizeInspectionLimit === "object"); assert(typeof TextTransformationType === "object"); assert(typeof UsageOfAction === "object"); // errors +assert(WAFAssociatedItemException.prototype instanceof WAFV2ServiceException); +assert(WAFConfigurationWarningException.prototype instanceof WAFV2ServiceException); +assert(WAFDuplicateItemException.prototype instanceof WAFV2ServiceException); +assert(WAFExpiredManagedRuleGroupVersionException.prototype instanceof WAFV2ServiceException); +assert(WAFFeatureNotIncludedInPricingPlanException.prototype instanceof WAFV2ServiceException); +assert(WAFInternalErrorException.prototype instanceof WAFV2ServiceException); +assert(WAFInvalidOperationException.prototype instanceof WAFV2ServiceException); +assert(WAFInvalidParameterException.prototype instanceof WAFV2ServiceException); +assert(WAFInvalidPermissionPolicyException.prototype instanceof WAFV2ServiceException); +assert(WAFInvalidResourceException.prototype instanceof WAFV2ServiceException); +assert(WAFLimitsExceededException.prototype instanceof WAFV2ServiceException); +assert(WAFLogDestinationPermissionIssueException.prototype instanceof WAFV2ServiceException); +assert(WAFNonexistentItemException.prototype instanceof WAFV2ServiceException); +assert(WAFOptimisticLockException.prototype instanceof WAFV2ServiceException); +assert(WAFServiceLinkedRoleErrorException.prototype instanceof WAFV2ServiceException); +assert(WAFSubscriptionNotFoundException.prototype instanceof WAFV2ServiceException); +assert(WAFTagOperationException.prototype instanceof WAFV2ServiceException); +assert(WAFTagOperationInternalErrorException.prototype instanceof WAFV2ServiceException); +assert(WAFUnavailableEntityException.prototype instanceof WAFV2ServiceException); +assert(WAFUnsupportedAggregateKeyTypeException.prototype instanceof WAFV2ServiceException); assert(WAFV2ServiceException.prototype instanceof Error); console.log(`WAFV2 index test passed.`); diff --git a/clients/client-wafv2/test/index-types.ts b/clients/client-wafv2/test/index-types.ts index 0c85ee16dd6b..0d12a846667a 100644 --- a/clients/client-wafv2/test/index-types.ts +++ b/clients/client-wafv2/test/index-types.ts @@ -185,6 +185,7 @@ export type { LowReputationMode, MapMatchScope, OversizeHandling, + ParameterExceptionField, PayloadType, Platform, PositionalConstraint, @@ -270,6 +271,7 @@ export type { DescribeManagedProductsByVendorResponse, DescribeManagedRuleGroupRequest, DescribeManagedRuleGroupResponse, + DisallowedFeature, DisassociateWebACLRequest, DisassociateWebACLResponse, EmailField, @@ -443,5 +445,25 @@ export type { WebACL, WebACLSummary, XssMatchStatement, + WAFAssociatedItemException, + WAFConfigurationWarningException, + WAFDuplicateItemException, + WAFExpiredManagedRuleGroupVersionException, + WAFFeatureNotIncludedInPricingPlanException, + WAFInternalErrorException, + WAFInvalidOperationException, + WAFInvalidParameterException, + WAFInvalidPermissionPolicyException, + WAFInvalidResourceException, + WAFLimitsExceededException, + WAFLogDestinationPermissionIssueException, + WAFNonexistentItemException, + WAFOptimisticLockException, + WAFServiceLinkedRoleErrorException, + WAFSubscriptionNotFoundException, + WAFTagOperationException, + WAFTagOperationInternalErrorException, + WAFUnavailableEntityException, + WAFUnsupportedAggregateKeyTypeException, WAFV2ServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-wellarchitected/test/index-objects.spec.mjs b/clients/client-wellarchitected/test/index-objects.spec.mjs index 0227746cc825..3c6cbbeaac09 100644 --- a/clients/client-wellarchitected/test/index-objects.spec.mjs +++ b/clients/client-wellarchitected/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AccountJiraIssueManagementStatus, AdditionalResourceType, AnswerReason, @@ -9,6 +10,7 @@ import { CheckStatus, ChoiceReason, ChoiceStatus, + ConflictException, CreateLensShareCommand, CreateLensVersionCommand, CreateMilestoneCommand, @@ -51,6 +53,7 @@ import { IntegratingService, IntegrationStatus, IntegrationStatusInput, + InternalServerException, IssueManagementType, LensStatus, LensStatusType, @@ -84,13 +87,16 @@ import { QuestionPriority, QuestionType, ReportFormat, + ResourceNotFoundException, ReviewTemplateAnswerStatus, ReviewTemplateUpdateStatus, Risk, + ServiceQuotaExceededException, ShareInvitationAction, ShareResourceType, ShareStatus, TagResourceCommand, + ThrottlingException, TrustedAdvisorIntegrationStatus, UntagResourceCommand, UpdateAnswerCommand, @@ -107,6 +113,8 @@ import { UpgradeLensReviewCommand, UpgradeProfileVersionCommand, UpgradeReviewTemplateLensReviewCommand, + ValidationException, + ValidationExceptionReason, WellArchitected, WellArchitectedClient, WellArchitectedServiceException, @@ -247,10 +255,18 @@ assert(typeof ShareInvitationAction === "object"); assert(typeof ShareResourceType === "object"); assert(typeof ShareStatus === "object"); assert(typeof TrustedAdvisorIntegrationStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof WorkloadEnvironment === "object"); assert(typeof WorkloadImprovementStatus === "object"); assert(typeof WorkloadIssueManagementStatus === "object"); // errors +assert(AccessDeniedException.prototype instanceof WellArchitectedServiceException); +assert(ConflictException.prototype instanceof WellArchitectedServiceException); +assert(InternalServerException.prototype instanceof WellArchitectedServiceException); +assert(ResourceNotFoundException.prototype instanceof WellArchitectedServiceException); +assert(ServiceQuotaExceededException.prototype instanceof WellArchitectedServiceException); +assert(ThrottlingException.prototype instanceof WellArchitectedServiceException); +assert(ValidationException.prototype instanceof WellArchitectedServiceException); assert(WellArchitectedServiceException.prototype instanceof Error); // paginators assert(typeof paginateGetConsolidatedReport === "function"); diff --git a/clients/client-wellarchitected/test/index-types.ts b/clients/client-wellarchitected/test/index-types.ts index d3303194ab13..0f1f5ab8a9ce 100644 --- a/clients/client-wellarchitected/test/index-types.ts +++ b/clients/client-wellarchitected/test/index-types.ts @@ -254,6 +254,7 @@ export type { ShareResourceType, ShareStatus, TrustedAdvisorIntegrationStatus, + ValidationExceptionReason, WorkloadEnvironment, WorkloadImprovementStatus, WorkloadIssueManagementStatus, @@ -437,6 +438,7 @@ export type { UpgradeLensReviewInput, UpgradeProfileVersionInput, UpgradeReviewTemplateLensReviewInput, + ValidationExceptionField, VersionDifferences, Workload, WorkloadDiscoveryConfig, @@ -446,6 +448,13 @@ export type { WorkloadShare, WorkloadShareSummary, WorkloadSummary, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, WellArchitectedServiceException, paginateGetConsolidatedReport, paginateListAnswers, diff --git a/clients/client-wisdom/test/index-objects.spec.mjs b/clients/client-wisdom/test/index-objects.spec.mjs index fb939a94cee2..12196447d44e 100644 --- a/clients/client-wisdom/test/index-objects.spec.mjs +++ b/clients/client-wisdom/test/index-objects.spec.mjs @@ -1,7 +1,9 @@ import { + AccessDeniedException, AssistantStatus, AssistantType, AssociationType, + ConflictException, ContentStatus, CreateAssistantAssociationCommand, CreateAssistantCommand, @@ -40,6 +42,7 @@ import { ListTagsForResourceCommand, NotifyRecommendationsReceivedCommand, Order, + PreconditionFailedException, Priority, QueryAssistantCommand, QuickResponseFilterOperator, @@ -50,16 +53,21 @@ import { RecommendationType, RelevanceLevel, RemoveKnowledgeBaseTemplateUriCommand, + RequestTimeoutException, + ResourceNotFoundException, SearchContentCommand, SearchQuickResponsesCommand, SearchSessionsCommand, + ServiceQuotaExceededException, StartContentUploadCommand, StartImportJobCommand, TagResourceCommand, + TooManyTagsException, UntagResourceCommand, UpdateContentCommand, UpdateKnowledgeBaseTemplateUriCommand, UpdateQuickResponseCommand, + ValidationException, Wisdom, WisdomClient, WisdomServiceException, @@ -142,6 +150,14 @@ assert(typeof RecommendationTriggerType === "object"); assert(typeof RecommendationType === "object"); assert(typeof RelevanceLevel === "object"); // errors +assert(AccessDeniedException.prototype instanceof WisdomServiceException); +assert(ConflictException.prototype instanceof WisdomServiceException); +assert(PreconditionFailedException.prototype instanceof WisdomServiceException); +assert(RequestTimeoutException.prototype instanceof WisdomServiceException); +assert(ResourceNotFoundException.prototype instanceof WisdomServiceException); +assert(ServiceQuotaExceededException.prototype instanceof WisdomServiceException); +assert(TooManyTagsException.prototype instanceof WisdomServiceException); +assert(ValidationException.prototype instanceof WisdomServiceException); assert(WisdomServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAssistantAssociations === "function"); diff --git a/clients/client-wisdom/test/index-types.ts b/clients/client-wisdom/test/index-types.ts index 467f84375526..8e37a5ba7fdf 100644 --- a/clients/client-wisdom/test/index-types.ts +++ b/clients/client-wisdom/test/index-types.ts @@ -274,6 +274,14 @@ export type { UpdateKnowledgeBaseTemplateUriResponse, UpdateQuickResponseRequest, UpdateQuickResponseResponse, + AccessDeniedException, + ConflictException, + PreconditionFailedException, + RequestTimeoutException, + ResourceNotFoundException, + ServiceQuotaExceededException, + TooManyTagsException, + ValidationException, WisdomServiceException, paginateListAssistantAssociations, paginateListAssistants, diff --git a/clients/client-workdocs/test/index-objects.spec.mjs b/clients/client-workdocs/test/index-objects.spec.mjs index f8557488febf..bc252beef3b1 100644 --- a/clients/client-workdocs/test/index-objects.spec.mjs +++ b/clients/client-workdocs/test/index-objects.spec.mjs @@ -7,6 +7,8 @@ import { BooleanEnumType, CommentStatusType, CommentVisibilityType, + ConcurrentModificationException, + ConflictingOperationException, ContentCategoryType, CreateCommentCommand, CreateCustomMetadataCommand, @@ -14,7 +16,9 @@ import { CreateLabelsCommand, CreateNotificationSubscriptionCommand, CreateUserCommand, + CustomMetadataLimitExceededException, DeactivateUserCommand, + DeactivatingLastSystemUserException, DeleteCommentCommand, DeleteCustomMetadataCommand, DeleteDocumentCommand, @@ -33,10 +37,15 @@ import { DescribeResourcePermissionsCommand, DescribeRootFoldersCommand, DescribeUsersCommand, + DocumentLockedForCommentsException, DocumentSourceType, DocumentStatusType, DocumentThumbnailType, DocumentVersionStatus, + DraftUploadOutOfSyncException, + EntityAlreadyExistsException, + EntityNotExistsException, + FailedDependencyException, FolderContentType, GetCurrentUserCommand, GetDocumentCommand, @@ -45,15 +54,24 @@ import { GetFolderCommand, GetFolderPathCommand, GetResourcesCommand, + IllegalUserStateException, InitiateDocumentVersionUploadCommand, + InvalidArgumentException, + InvalidCommentOperationException, + InvalidOperationException, + InvalidPasswordException, LanguageCodeType, + LimitExceededException, LocaleType, OrderByFieldType, OrderType, PrincipalRoleType, PrincipalType, + ProhibitedStateException, RemoveAllResourcePermissionsCommand, RemoveResourcePermissionCommand, + RequestedEntityTooLargeException, + ResourceAlreadyCheckedOutException, ResourceCollectionType, ResourceSortType, ResourceStateType, @@ -66,11 +84,18 @@ import { SearchQueryScopeType, SearchResourceType, SearchResourcesCommand, + ServiceUnavailableException, ShareStatusType, SortOrder, + StorageLimitExceededException, + StorageLimitWillExceedException, StorageType, SubscriptionProtocolType, SubscriptionType, + TooManyLabelsException, + TooManySubscriptionsException, + UnauthorizedOperationException, + UnauthorizedResourceAccessException, UpdateDocumentCommand, UpdateDocumentVersionCommand, UpdateFolderCommand, @@ -180,6 +205,31 @@ assert(typeof UserSortType === "object"); assert(typeof UserStatusType === "object"); assert(typeof UserType === "object"); // errors +assert(ConcurrentModificationException.prototype instanceof WorkDocsServiceException); +assert(ConflictingOperationException.prototype instanceof WorkDocsServiceException); +assert(CustomMetadataLimitExceededException.prototype instanceof WorkDocsServiceException); +assert(DeactivatingLastSystemUserException.prototype instanceof WorkDocsServiceException); +assert(DocumentLockedForCommentsException.prototype instanceof WorkDocsServiceException); +assert(DraftUploadOutOfSyncException.prototype instanceof WorkDocsServiceException); +assert(EntityAlreadyExistsException.prototype instanceof WorkDocsServiceException); +assert(EntityNotExistsException.prototype instanceof WorkDocsServiceException); +assert(FailedDependencyException.prototype instanceof WorkDocsServiceException); +assert(IllegalUserStateException.prototype instanceof WorkDocsServiceException); +assert(InvalidArgumentException.prototype instanceof WorkDocsServiceException); +assert(InvalidCommentOperationException.prototype instanceof WorkDocsServiceException); +assert(InvalidOperationException.prototype instanceof WorkDocsServiceException); +assert(InvalidPasswordException.prototype instanceof WorkDocsServiceException); +assert(LimitExceededException.prototype instanceof WorkDocsServiceException); +assert(ProhibitedStateException.prototype instanceof WorkDocsServiceException); +assert(RequestedEntityTooLargeException.prototype instanceof WorkDocsServiceException); +assert(ResourceAlreadyCheckedOutException.prototype instanceof WorkDocsServiceException); +assert(ServiceUnavailableException.prototype instanceof WorkDocsServiceException); +assert(StorageLimitExceededException.prototype instanceof WorkDocsServiceException); +assert(StorageLimitWillExceedException.prototype instanceof WorkDocsServiceException); +assert(TooManyLabelsException.prototype instanceof WorkDocsServiceException); +assert(TooManySubscriptionsException.prototype instanceof WorkDocsServiceException); +assert(UnauthorizedOperationException.prototype instanceof WorkDocsServiceException); +assert(UnauthorizedResourceAccessException.prototype instanceof WorkDocsServiceException); assert(WorkDocsServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeActivities === "function"); diff --git a/clients/client-workdocs/test/index-types.ts b/clients/client-workdocs/test/index-types.ts index a4b0f5e4d113..0dc26fb6ed1a 100644 --- a/clients/client-workdocs/test/index-types.ts +++ b/clients/client-workdocs/test/index-types.ts @@ -271,6 +271,31 @@ export type { User, UserMetadata, UserStorageMetadata, + ConcurrentModificationException, + ConflictingOperationException, + CustomMetadataLimitExceededException, + DeactivatingLastSystemUserException, + DocumentLockedForCommentsException, + DraftUploadOutOfSyncException, + EntityAlreadyExistsException, + EntityNotExistsException, + FailedDependencyException, + IllegalUserStateException, + InvalidArgumentException, + InvalidCommentOperationException, + InvalidOperationException, + InvalidPasswordException, + LimitExceededException, + ProhibitedStateException, + RequestedEntityTooLargeException, + ResourceAlreadyCheckedOutException, + ServiceUnavailableException, + StorageLimitExceededException, + StorageLimitWillExceedException, + TooManyLabelsException, + TooManySubscriptionsException, + UnauthorizedOperationException, + UnauthorizedResourceAccessException, WorkDocsServiceException, paginateDescribeActivities, paginateDescribeComments, diff --git a/clients/client-workmail/src/schemas/schemas_0.ts b/clients/client-workmail/src/schemas/schemas_0.ts index c952312c39bd..c4c0647ca184 100644 --- a/clients/client-workmail/src/schemas/schemas_0.ts +++ b/clients/client-workmail/src/schemas/schemas_0.ts @@ -1376,7 +1376,6 @@ export var User: StaticStructureSchema = [ [_I, _Em, _N, _DNi, _S, _UR, _ED, _DDi, _IPUI, _IPISI], [0, 0, 0, 0, 0, 0, 4, 4, 0, 0], ]; -export var __Unit = "unit" as const; export var WorkMailServiceException: StaticErrorSchema = [-3, _s, "WorkMailServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(WorkMailServiceException, __WorkMailServiceException); export var AccessControlRuleNameList = 64 | 0; diff --git a/clients/client-workmail/test/index-objects.spec.mjs b/clients/client-workmail/test/index-objects.spec.mjs index 4ffc11dd7056..ded213acedda 100644 --- a/clients/client-workmail/test/index-objects.spec.mjs +++ b/clients/client-workmail/test/index-objects.spec.mjs @@ -42,10 +42,17 @@ import { DescribeOrganizationCommand, DescribeResourceCommand, DescribeUserCommand, + DirectoryInUseException, + DirectoryServiceAuthenticationFailedException, + DirectoryUnavailableException, DisassociateDelegateFromResourceCommand, DisassociateMemberFromGroupCommand, DnsRecordVerificationStatus, + EmailAddressInUseException, + EntityAlreadyRegisteredException, + EntityNotFoundException, EntityState, + EntityStateException, EntityType, FolderName, GetAccessControlEffectCommand, @@ -59,6 +66,11 @@ import { GetPersonalAccessTokenMetadataCommand, IdentityProviderAuthenticationMode, ImpersonationRoleType, + InvalidConfigurationException, + InvalidCustomSesConfigurationException, + InvalidParameterException, + InvalidPasswordException, + LimitExceededException, ListAccessControlRulesCommand, ListAliasesCommand, ListAvailabilityConfigurationsCommand, @@ -77,9 +89,15 @@ import { ListResourcesCommand, ListTagsForResourceCommand, ListUsersCommand, + MailDomainInUseException, + MailDomainNotFoundException, + MailDomainStateException, MailboxExportJobState, MemberType, MobileDeviceAccessRuleEffect, + NameAvailabilityException, + OrganizationNotFoundException, + OrganizationStateException, PermissionType, PersonalAccessTokenConfigurationStatus, PutAccessControlRuleCommand, @@ -91,12 +109,16 @@ import { PutRetentionPolicyCommand, RegisterMailDomainCommand, RegisterToWorkMailCommand, + ReservedNameException, ResetPasswordCommand, + ResourceNotFoundException, ResourceType, RetentionAction, StartMailboxExportJobCommand, TagResourceCommand, TestAvailabilityConfigurationCommand, + TooManyTagsException, + UnsupportedOperationException, UntagResourceCommand, UpdateAvailabilityConfigurationCommand, UpdateDefaultMailDomainCommand, @@ -243,6 +265,28 @@ assert(typeof ResourceType === "object"); assert(typeof RetentionAction === "object"); assert(typeof UserRole === "object"); // errors +assert(DirectoryInUseException.prototype instanceof WorkMailServiceException); +assert(DirectoryServiceAuthenticationFailedException.prototype instanceof WorkMailServiceException); +assert(DirectoryUnavailableException.prototype instanceof WorkMailServiceException); +assert(EmailAddressInUseException.prototype instanceof WorkMailServiceException); +assert(EntityAlreadyRegisteredException.prototype instanceof WorkMailServiceException); +assert(EntityNotFoundException.prototype instanceof WorkMailServiceException); +assert(EntityStateException.prototype instanceof WorkMailServiceException); +assert(InvalidConfigurationException.prototype instanceof WorkMailServiceException); +assert(InvalidCustomSesConfigurationException.prototype instanceof WorkMailServiceException); +assert(InvalidParameterException.prototype instanceof WorkMailServiceException); +assert(InvalidPasswordException.prototype instanceof WorkMailServiceException); +assert(LimitExceededException.prototype instanceof WorkMailServiceException); +assert(MailDomainInUseException.prototype instanceof WorkMailServiceException); +assert(MailDomainNotFoundException.prototype instanceof WorkMailServiceException); +assert(MailDomainStateException.prototype instanceof WorkMailServiceException); +assert(NameAvailabilityException.prototype instanceof WorkMailServiceException); +assert(OrganizationNotFoundException.prototype instanceof WorkMailServiceException); +assert(OrganizationStateException.prototype instanceof WorkMailServiceException); +assert(ReservedNameException.prototype instanceof WorkMailServiceException); +assert(ResourceNotFoundException.prototype instanceof WorkMailServiceException); +assert(TooManyTagsException.prototype instanceof WorkMailServiceException); +assert(UnsupportedOperationException.prototype instanceof WorkMailServiceException); assert(WorkMailServiceException.prototype instanceof Error); // paginators assert(typeof paginateListAliases === "function"); diff --git a/clients/client-workmail/test/index-types.ts b/clients/client-workmail/test/index-types.ts index 29525f9fdade..73500a81b34b 100644 --- a/clients/client-workmail/test/index-types.ts +++ b/clients/client-workmail/test/index-types.ts @@ -512,6 +512,28 @@ export type { UpdateUserRequest, UpdateUserResponse, User, + DirectoryInUseException, + DirectoryServiceAuthenticationFailedException, + DirectoryUnavailableException, + EmailAddressInUseException, + EntityAlreadyRegisteredException, + EntityNotFoundException, + EntityStateException, + InvalidConfigurationException, + InvalidCustomSesConfigurationException, + InvalidParameterException, + InvalidPasswordException, + LimitExceededException, + MailDomainInUseException, + MailDomainNotFoundException, + MailDomainStateException, + NameAvailabilityException, + OrganizationNotFoundException, + OrganizationStateException, + ReservedNameException, + ResourceNotFoundException, + TooManyTagsException, + UnsupportedOperationException, WorkMailServiceException, paginateListAliases, paginateListAvailabilityConfigurations, diff --git a/clients/client-workmailmessageflow/test/index-objects.spec.mjs b/clients/client-workmailmessageflow/test/index-objects.spec.mjs index 84affca61f12..af1b0eeab532 100644 --- a/clients/client-workmailmessageflow/test/index-objects.spec.mjs +++ b/clients/client-workmailmessageflow/test/index-objects.spec.mjs @@ -1,6 +1,10 @@ import { GetRawMessageContentCommand, + InvalidContentLocation, + MessageFrozen, + MessageRejected, PutRawMessageContentCommand, + ResourceNotFoundException, WorkMailMessageFlow, WorkMailMessageFlowClient, WorkMailMessageFlowServiceException, @@ -13,5 +17,9 @@ assert(typeof WorkMailMessageFlow === "function"); assert(typeof GetRawMessageContentCommand === "function"); assert(typeof PutRawMessageContentCommand === "function"); // errors +assert(InvalidContentLocation.prototype instanceof WorkMailMessageFlowServiceException); +assert(MessageFrozen.prototype instanceof WorkMailMessageFlowServiceException); +assert(MessageRejected.prototype instanceof WorkMailMessageFlowServiceException); +assert(ResourceNotFoundException.prototype instanceof WorkMailMessageFlowServiceException); assert(WorkMailMessageFlowServiceException.prototype instanceof Error); console.log(`WorkMailMessageFlow index test passed.`); diff --git a/clients/client-workmailmessageflow/test/index-types.ts b/clients/client-workmailmessageflow/test/index-types.ts index 975f32d3a075..5127819421ed 100644 --- a/clients/client-workmailmessageflow/test/index-types.ts +++ b/clients/client-workmailmessageflow/test/index-types.ts @@ -14,5 +14,9 @@ export type { PutRawMessageContentResponse, RawMessageContent, S3Reference, + InvalidContentLocation, + MessageFrozen, + MessageRejected, + ResourceNotFoundException, WorkMailMessageFlowServiceException, } from "../dist-types/index.d"; diff --git a/clients/client-workspaces-instances/src/schemas/schemas_0.ts b/clients/client-workspaces-instances/src/schemas/schemas_0.ts index 2ccbb53d7130..0390bf9c3e22 100644 --- a/clients/client-workspaces-instances/src/schemas/schemas_0.ts +++ b/clients/client-workspaces-instances/src/schemas/schemas_0.ts @@ -623,7 +623,6 @@ export var WorkspaceInstance: StaticStructureSchema = [ [0, 0, () => EC2ManagedInstance], ]; export var WorkspaceInstanceError: StaticStructureSchema = [3, n0, _WIEo, 0, [_EC, _EM], [0, 0]]; -export var __Unit = "unit" as const; export var WorkspacesInstancesServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-workspaces-instances/test/index-objects.spec.mjs b/clients/client-workspaces-instances/test/index-objects.spec.mjs index 46f3f555cd5d..387eeb1bd89b 100644 --- a/clients/client-workspaces-instances/test/index-objects.spec.mjs +++ b/clients/client-workspaces-instances/test/index-objects.spec.mjs @@ -1,9 +1,11 @@ import { + AccessDeniedException, AmdSevSnpEnum, AssociateVolumeCommand, AutoRecoveryEnum, BandwidthWeightingEnum, CapacityReservationPreferenceEnum, + ConflictException, CpuCreditsEnum, CreateVolumeCommand, CreateWorkspaceInstanceCommand, @@ -19,17 +21,23 @@ import { InstanceInterruptionBehaviorEnum, InstanceMetadataTagsEnum, InterfaceTypeEnum, + InternalServerException, ListInstanceTypesCommand, ListRegionsCommand, ListTagsForResourceCommand, ListWorkspaceInstancesCommand, MarketTypeEnum, ProvisionStateEnum, + ResourceNotFoundException, ResourceTypeEnum, + ServiceQuotaExceededException, SpotInstanceTypeEnum, TagResourceCommand, TenancyEnum, + ThrottlingException, UntagResourceCommand, + ValidationException, + ValidationExceptionReason, VolumeTypeEnum, WorkspacesInstances, WorkspacesInstancesClient, @@ -75,8 +83,16 @@ assert(typeof ProvisionStateEnum === "object"); assert(typeof ResourceTypeEnum === "object"); assert(typeof SpotInstanceTypeEnum === "object"); assert(typeof TenancyEnum === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VolumeTypeEnum === "object"); // errors +assert(AccessDeniedException.prototype instanceof WorkspacesInstancesServiceException); +assert(ConflictException.prototype instanceof WorkspacesInstancesServiceException); +assert(InternalServerException.prototype instanceof WorkspacesInstancesServiceException); +assert(ResourceNotFoundException.prototype instanceof WorkspacesInstancesServiceException); +assert(ServiceQuotaExceededException.prototype instanceof WorkspacesInstancesServiceException); +assert(ThrottlingException.prototype instanceof WorkspacesInstancesServiceException); +assert(ValidationException.prototype instanceof WorkspacesInstancesServiceException); assert(WorkspacesInstancesServiceException.prototype instanceof Error); // paginators assert(typeof paginateListInstanceTypes === "function"); diff --git a/clients/client-workspaces-instances/test/index-types.ts b/clients/client-workspaces-instances/test/index-types.ts index 8899e7ace80b..239a0c4162a0 100644 --- a/clients/client-workspaces-instances/test/index-types.ts +++ b/clients/client-workspaces-instances/test/index-types.ts @@ -59,6 +59,7 @@ export type { ResourceTypeEnum, SpotInstanceTypeEnum, TenancyEnum, + ValidationExceptionReason, VolumeTypeEnum, AssociateVolumeRequest, AssociateVolumeResponse, @@ -119,8 +120,16 @@ export type { TagSpecification, UntagResourceRequest, UntagResourceResponse, + ValidationExceptionField, WorkspaceInstance, WorkspaceInstanceError, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, WorkspacesInstancesServiceException, paginateListInstanceTypes, paginateListRegions, diff --git a/clients/client-workspaces-thin-client/src/schemas/schemas_0.ts b/clients/client-workspaces-thin-client/src/schemas/schemas_0.ts index e91ed143a337..b81adffd9fb6 100644 --- a/clients/client-workspaces-thin-client/src/schemas/schemas_0.ts +++ b/clients/client-workspaces-thin-client/src/schemas/schemas_0.ts @@ -501,7 +501,6 @@ export var ValidationException: StaticErrorSchema = [ ]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_n, _m], [0, 0]]; -export var __Unit = "unit" as const; export var WorkSpacesThinClientServiceException: StaticErrorSchema = [ -3, _sm, diff --git a/clients/client-workspaces-thin-client/test/index-objects.spec.mjs b/clients/client-workspaces-thin-client/test/index-objects.spec.mjs index dd732aab6742..c584e2da5492 100644 --- a/clients/client-workspaces-thin-client/test/index-objects.spec.mjs +++ b/clients/client-workspaces-thin-client/test/index-objects.spec.mjs @@ -1,5 +1,7 @@ import { + AccessDeniedException, ApplyTimeOf, + ConflictException, CreateEnvironmentCommand, DayOfWeek, DeleteDeviceCommand, @@ -12,21 +14,27 @@ import { GetDeviceCommand, GetEnvironmentCommand, GetSoftwareSetCommand, + InternalServerException, ListDevicesCommand, ListEnvironmentsCommand, ListSoftwareSetsCommand, ListTagsForResourceCommand, MaintenanceWindowType, + ResourceNotFoundException, + ServiceQuotaExceededException, SoftwareSetUpdateMode, SoftwareSetUpdateSchedule, SoftwareSetUpdateStatus, SoftwareSetValidationStatus, TagResourceCommand, TargetDeviceStatus, + ThrottlingException, UntagResourceCommand, UpdateDeviceCommand, UpdateEnvironmentCommand, UpdateSoftwareSetCommand, + ValidationException, + ValidationExceptionReason, WorkSpacesThinClient, WorkSpacesThinClientClient, WorkSpacesThinClientServiceException, @@ -68,7 +76,15 @@ assert(typeof SoftwareSetUpdateSchedule === "object"); assert(typeof SoftwareSetUpdateStatus === "object"); assert(typeof SoftwareSetValidationStatus === "object"); assert(typeof TargetDeviceStatus === "object"); +assert(typeof ValidationExceptionReason === "object"); // errors +assert(AccessDeniedException.prototype instanceof WorkSpacesThinClientServiceException); +assert(ConflictException.prototype instanceof WorkSpacesThinClientServiceException); +assert(InternalServerException.prototype instanceof WorkSpacesThinClientServiceException); +assert(ResourceNotFoundException.prototype instanceof WorkSpacesThinClientServiceException); +assert(ServiceQuotaExceededException.prototype instanceof WorkSpacesThinClientServiceException); +assert(ThrottlingException.prototype instanceof WorkSpacesThinClientServiceException); +assert(ValidationException.prototype instanceof WorkSpacesThinClientServiceException); assert(WorkSpacesThinClientServiceException.prototype instanceof Error); // paginators assert(typeof paginateListDevices === "function"); diff --git a/clients/client-workspaces-thin-client/test/index-types.ts b/clients/client-workspaces-thin-client/test/index-types.ts index fe464a64bce6..89666e8db694 100644 --- a/clients/client-workspaces-thin-client/test/index-types.ts +++ b/clients/client-workspaces-thin-client/test/index-types.ts @@ -62,6 +62,7 @@ export type { SoftwareSetUpdateStatus, SoftwareSetValidationStatus, TargetDeviceStatus, + ValidationExceptionReason, CreateEnvironmentRequest, CreateEnvironmentResponse, DeleteDeviceRequest, @@ -102,6 +103,14 @@ export type { UpdateEnvironmentResponse, UpdateSoftwareSetRequest, UpdateSoftwareSetResponse, + ValidationExceptionField, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + ValidationException, WorkSpacesThinClientServiceException, paginateListDevices, paginateListEnvironments, diff --git a/clients/client-workspaces-web/test/index-objects.spec.mjs b/clients/client-workspaces-web/test/index-objects.spec.mjs index e2980a6eba68..47c610abf951 100644 --- a/clients/client-workspaces-web/test/index-objects.spec.mjs +++ b/clients/client-workspaces-web/test/index-objects.spec.mjs @@ -1,4 +1,5 @@ import { + AccessDeniedException, AssociateBrowserSettingsCommand, AssociateDataProtectionSettingsCommand, AssociateIpAccessSettingsCommand, @@ -10,6 +11,7 @@ import { AuthenticationType, BrowserType, Category, + ConflictException, CreateBrowserSettingsCommand, CreateDataProtectionSettingsCommand, CreateIdentityProviderCommand, @@ -56,6 +58,7 @@ import { GetUserAccessLoggingSettingsCommand, GetUserSettingsCommand, IdentityProviderType, + InternalServerException, ListBrowserSettingsCommand, ListDataProtectionSettingsCommand, ListIdentityProvidersCommand, @@ -74,9 +77,13 @@ import { PortalStatus, RedactionPlaceHolderType, RendererType, + ResourceNotFoundException, + ServiceQuotaExceededException, SessionSortBy, SessionStatus, TagResourceCommand, + ThrottlingException, + TooManyTagsException, ToolbarItem, ToolbarType, UntagResourceCommand, @@ -90,6 +97,8 @@ import { UpdateTrustStoreCommand, UpdateUserAccessLoggingSettingsCommand, UpdateUserSettingsCommand, + ValidationException, + ValidationExceptionReason, VisualMode, WorkSpacesWeb, WorkSpacesWebClient, @@ -206,8 +215,17 @@ assert(typeof SessionSortBy === "object"); assert(typeof SessionStatus === "object"); assert(typeof ToolbarItem === "object"); assert(typeof ToolbarType === "object"); +assert(typeof ValidationExceptionReason === "object"); assert(typeof VisualMode === "object"); // errors +assert(AccessDeniedException.prototype instanceof WorkSpacesWebServiceException); +assert(ConflictException.prototype instanceof WorkSpacesWebServiceException); +assert(InternalServerException.prototype instanceof WorkSpacesWebServiceException); +assert(ResourceNotFoundException.prototype instanceof WorkSpacesWebServiceException); +assert(ServiceQuotaExceededException.prototype instanceof WorkSpacesWebServiceException); +assert(ThrottlingException.prototype instanceof WorkSpacesWebServiceException); +assert(TooManyTagsException.prototype instanceof WorkSpacesWebServiceException); +assert(ValidationException.prototype instanceof WorkSpacesWebServiceException); assert(WorkSpacesWebServiceException.prototype instanceof Error); // paginators assert(typeof paginateListBrowserSettings === "function"); diff --git a/clients/client-workspaces-web/test/index-types.ts b/clients/client-workspaces-web/test/index-types.ts index d3ea17e56297..dfb207ce2b0d 100644 --- a/clients/client-workspaces-web/test/index-types.ts +++ b/clients/client-workspaces-web/test/index-types.ts @@ -244,6 +244,7 @@ export type { SessionStatus, ToolbarItem, ToolbarType, + ValidationExceptionReason, VisualMode, AssociateBrowserSettingsRequest, AssociateBrowserSettingsResponse, @@ -431,8 +432,16 @@ export type { UserAccessLoggingSettingsSummary, UserSettings, UserSettingsSummary, + ValidationExceptionField, WebContentFilteringPolicy, - Unit, + AccessDeniedException, + ConflictException, + InternalServerException, + ResourceNotFoundException, + ServiceQuotaExceededException, + ThrottlingException, + TooManyTagsException, + ValidationException, WorkSpacesWebServiceException, paginateListBrowserSettings, paginateListDataProtectionSettings, diff --git a/clients/client-workspaces/src/schemas/schemas_0.ts b/clients/client-workspaces/src/schemas/schemas_0.ts index 085d5c75cea6..64f107473a18 100644 --- a/clients/client-workspaces/src/schemas/schemas_0.ts +++ b/clients/client-workspaces/src/schemas/schemas_0.ts @@ -1888,7 +1888,6 @@ export var WorkspacesPoolSession: StaticStructureSchema = [ [_AT, _CSon, _SIe, _IIn, _PI, _ET, _NAC, _ST, _UI], [0, 0, 0, 0, 0, 4, () => NetworkAccessConfiguration, 4, 0], ]; -export var __Unit = "unit" as const; export var WorkSpacesServiceException: StaticErrorSchema = [-3, _s, "WorkSpacesServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(WorkSpacesServiceException, __WorkSpacesServiceException); export var AccessEndpointList: StaticListSchema = [1, n0, _AEL, 0, () => AccessEndpoint]; diff --git a/clients/client-workspaces/test/index-objects.spec.mjs b/clients/client-workspaces/test/index-objects.spec.mjs index 8bb60cafb161..9ebb0ca5efe2 100644 --- a/clients/client-workspaces/test/index-objects.spec.mjs +++ b/clients/client-workspaces/test/index-objects.spec.mjs @@ -4,11 +4,13 @@ import { AGAPreferredProtocolForDirectory, AGAPreferredProtocolForWorkSpace, AcceptAccountLinkInvitationCommand, + AccessDeniedException, AccessEndpointType, AccessPropertyValue, AccountLinkStatusEnum, Application, ApplicationAssociatedResourceType, + ApplicationNotSupportedException, ApplicationSettingsStatusEnum, AssociateConnectionAliasCommand, AssociateIpGroupsCommand, @@ -23,6 +25,8 @@ import { CertificateBasedAuthStatusEnum, ClientDeviceType, Compute, + ComputeNotCompatibleException, + ConflictException, ConnectionAliasState, ConnectionState, CopyWorkspaceImageCommand, @@ -94,7 +98,12 @@ import { ImportClientBrandingCommand, ImportCustomWorkspaceImageCommand, ImportWorkspaceImageCommand, + IncompatibleApplicationsException, + InternalServerException, InternetFallbackProtocol, + InvalidParameterCombinationException, + InvalidParameterValuesException, + InvalidResourceStateException, ListAccountLinksCommand, ListAvailableManagementCidrRangesCommand, LogUploadEnum, @@ -114,7 +123,10 @@ import { ModifyWorkspaceStateCommand, OSVersion, OperatingSystemName, + OperatingSystemNotCompatibleException, OperatingSystemType, + OperationInProgressException, + OperationNotSupportedException, Platform, PoolsRunningMode, Protocol, @@ -123,6 +135,13 @@ import { ReconnectEnum, RegisterWorkspaceDirectoryCommand, RejectAccountLinkInvitationCommand, + ResourceAlreadyExistsException, + ResourceAssociatedException, + ResourceCreationFailedException, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourceUnavailableException, RestoreWorkspaceCommand, RevokeIpRulesCommand, RunningMode, @@ -141,6 +160,8 @@ import { TerminateWorkspacesCommand, TerminateWorkspacesPoolCommand, TerminateWorkspacesPoolSessionCommand, + UnsupportedNetworkConfigurationException, + UnsupportedWorkspaceConfigurationException, UpdateConnectClientAddInCommand, UpdateConnectionAliasPermissionCommand, UpdateRulesOfIpGroupCommand, @@ -150,6 +171,7 @@ import { UserIdentityType, UserSettingActionEnum, UserSettingPermissionEnum, + ValidationException, WorkSpaceApplicationLicenseType, WorkSpaceApplicationState, WorkSpaceAssociatedResourceType, @@ -165,6 +187,7 @@ import { WorkspaceImageState, WorkspaceState, WorkspaceType, + WorkspacesDefaultRoleNotFoundException, WorkspacesPoolErrorCode, WorkspacesPoolState, paginateDescribeApplicationAssociations, @@ -346,6 +369,29 @@ assert(typeof WorkspacesPoolState === "object"); assert(typeof WorkspaceState === "object"); assert(typeof WorkspaceType === "object"); // errors +assert(AccessDeniedException.prototype instanceof WorkSpacesServiceException); +assert(ApplicationNotSupportedException.prototype instanceof WorkSpacesServiceException); +assert(ComputeNotCompatibleException.prototype instanceof WorkSpacesServiceException); +assert(ConflictException.prototype instanceof WorkSpacesServiceException); +assert(IncompatibleApplicationsException.prototype instanceof WorkSpacesServiceException); +assert(InternalServerException.prototype instanceof WorkSpacesServiceException); +assert(InvalidParameterCombinationException.prototype instanceof WorkSpacesServiceException); +assert(InvalidParameterValuesException.prototype instanceof WorkSpacesServiceException); +assert(InvalidResourceStateException.prototype instanceof WorkSpacesServiceException); +assert(OperatingSystemNotCompatibleException.prototype instanceof WorkSpacesServiceException); +assert(OperationInProgressException.prototype instanceof WorkSpacesServiceException); +assert(OperationNotSupportedException.prototype instanceof WorkSpacesServiceException); +assert(ResourceAlreadyExistsException.prototype instanceof WorkSpacesServiceException); +assert(ResourceAssociatedException.prototype instanceof WorkSpacesServiceException); +assert(ResourceCreationFailedException.prototype instanceof WorkSpacesServiceException); +assert(ResourceInUseException.prototype instanceof WorkSpacesServiceException); +assert(ResourceLimitExceededException.prototype instanceof WorkSpacesServiceException); +assert(ResourceNotFoundException.prototype instanceof WorkSpacesServiceException); +assert(ResourceUnavailableException.prototype instanceof WorkSpacesServiceException); +assert(UnsupportedNetworkConfigurationException.prototype instanceof WorkSpacesServiceException); +assert(UnsupportedWorkspaceConfigurationException.prototype instanceof WorkSpacesServiceException); +assert(ValidationException.prototype instanceof WorkSpacesServiceException); +assert(WorkspacesDefaultRoleNotFoundException.prototype instanceof WorkSpacesServiceException); assert(WorkSpacesServiceException.prototype instanceof Error); // paginators assert(typeof paginateDescribeApplicationAssociations === "function"); diff --git a/clients/client-workspaces/test/index-types.ts b/clients/client-workspaces/test/index-types.ts index ee9c2397a840..5f2d424e6986 100644 --- a/clients/client-workspaces/test/index-types.ts +++ b/clients/client-workspaces/test/index-types.ts @@ -611,6 +611,29 @@ export type { WorkspacesPool, WorkspacesPoolError, WorkspacesPoolSession, + AccessDeniedException, + ApplicationNotSupportedException, + ComputeNotCompatibleException, + ConflictException, + IncompatibleApplicationsException, + InternalServerException, + InvalidParameterCombinationException, + InvalidParameterValuesException, + InvalidResourceStateException, + OperatingSystemNotCompatibleException, + OperationInProgressException, + OperationNotSupportedException, + ResourceAlreadyExistsException, + ResourceAssociatedException, + ResourceCreationFailedException, + ResourceInUseException, + ResourceLimitExceededException, + ResourceNotFoundException, + ResourceUnavailableException, + UnsupportedNetworkConfigurationException, + UnsupportedWorkspaceConfigurationException, + ValidationException, + WorkspacesDefaultRoleNotFoundException, WorkSpacesServiceException, paginateDescribeApplicationAssociations, paginateDescribeApplications, diff --git a/clients/client-xray/src/schemas/schemas_0.ts b/clients/client-xray/src/schemas/schemas_0.ts index e0b9802e7f5b..123d7ff46053 100644 --- a/clients/client-xray/src/schemas/schemas_0.ts +++ b/clients/client-xray/src/schemas/schemas_0.ts @@ -1022,7 +1022,6 @@ export var ValueWithServiceIds: StaticStructureSchema = [ [_AV, _SIe], [() => AnnotationValue, () => ServiceIds], ]; -export var __Unit = "unit" as const; export var XRayServiceException: StaticErrorSchema = [-3, _s, "XRayServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(XRayServiceException, __XRayServiceException); export var AliasList: StaticListSchema = [1, n0, _AL, 0, () => Alias]; diff --git a/clients/client-xray/test/index-objects.spec.mjs b/clients/client-xray/test/index-objects.spec.mjs index 2a8c7bd59908..aca2714c7104 100644 --- a/clients/client-xray/test/index-objects.spec.mjs +++ b/clients/client-xray/test/index-objects.spec.mjs @@ -27,18 +27,28 @@ import { GetTraceSummariesCommand, InsightCategory, InsightState, + InvalidPolicyRevisionIdException, + InvalidRequestException, ListResourcePoliciesCommand, ListRetrievedTracesCommand, ListTagsForResourceCommand, + LockoutPreventionException, + MalformedPolicyDocumentException, + PolicyCountLimitExceededException, + PolicySizeLimitExceededException, PutEncryptionConfigCommand, PutResourcePolicyCommand, PutTelemetryRecordsCommand, PutTraceSegmentsCommand, + ResourceNotFoundException, RetrievalStatus, + RuleLimitExceededException, SamplingStrategyName, StartTraceRetrievalCommand, TagResourceCommand, + ThrottledException, TimeRangeType, + TooManyTagsException, TraceFormatType, TraceSegmentDestination, TraceSegmentDestinationStatus, @@ -118,6 +128,16 @@ assert(typeof TraceFormatType === "object"); assert(typeof TraceSegmentDestination === "object"); assert(typeof TraceSegmentDestinationStatus === "object"); // errors +assert(InvalidPolicyRevisionIdException.prototype instanceof XRayServiceException); +assert(InvalidRequestException.prototype instanceof XRayServiceException); +assert(LockoutPreventionException.prototype instanceof XRayServiceException); +assert(MalformedPolicyDocumentException.prototype instanceof XRayServiceException); +assert(PolicyCountLimitExceededException.prototype instanceof XRayServiceException); +assert(PolicySizeLimitExceededException.prototype instanceof XRayServiceException); +assert(ResourceNotFoundException.prototype instanceof XRayServiceException); +assert(RuleLimitExceededException.prototype instanceof XRayServiceException); +assert(ThrottledException.prototype instanceof XRayServiceException); +assert(TooManyTagsException.prototype instanceof XRayServiceException); assert(XRayServiceException.prototype instanceof Error); // paginators assert(typeof paginateBatchGetTraces === "function"); diff --git a/clients/client-xray/test/index-types.ts b/clients/client-xray/test/index-types.ts index cf72332d6ee6..3cddbc4942fb 100644 --- a/clients/client-xray/test/index-types.ts +++ b/clients/client-xray/test/index-types.ts @@ -269,6 +269,16 @@ export type { UpdateTraceSegmentDestinationRequest, UpdateTraceSegmentDestinationResult, ValueWithServiceIds, + InvalidPolicyRevisionIdException, + InvalidRequestException, + LockoutPreventionException, + MalformedPolicyDocumentException, + PolicyCountLimitExceededException, + PolicySizeLimitExceededException, + ResourceNotFoundException, + RuleLimitExceededException, + ThrottledException, + TooManyTagsException, XRayServiceException, paginateBatchGetTraces, paginateGetGroups, diff --git a/packages/nested-clients/src/submodules/signin/schemas/schemas_0.ts b/packages/nested-clients/src/submodules/signin/schemas/schemas_0.ts index dab2716396f5..a536cc128ff9 100644 --- a/packages/nested-clients/src/submodules/signin/schemas/schemas_0.ts +++ b/packages/nested-clients/src/submodules/signin/schemas/schemas_0.ts @@ -118,7 +118,6 @@ export var TooManyRequestsError: StaticErrorSchema = [-3, n0, _TMRE, { [_e]: _c, TypeRegistry.for(n0).registerError(TooManyRequestsError, __TooManyRequestsError); export var ValidationException: StaticErrorSchema = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0]]; TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); -export var __Unit = "unit" as const; export var SigninServiceException: StaticErrorSchema = [-3, _sm, "SigninServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SigninServiceException, __SigninServiceException); export var CreateOAuth2Token: StaticOperationSchema = [ diff --git a/packages/nested-clients/src/submodules/sso-oidc/schemas/schemas_0.ts b/packages/nested-clients/src/submodules/sso-oidc/schemas/schemas_0.ts index c243f44542b7..064007af320b 100644 --- a/packages/nested-clients/src/submodules/sso-oidc/schemas/schemas_0.ts +++ b/packages/nested-clients/src/submodules/sso-oidc/schemas/schemas_0.ts @@ -137,7 +137,6 @@ export var UnsupportedGrantTypeException: StaticErrorSchema = [ [0, 0], ]; TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException, __UnsupportedGrantTypeException); -export var __Unit = "unit" as const; export var SSOOIDCServiceException: StaticErrorSchema = [-3, _sm, "SSOOIDCServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(SSOOIDCServiceException, __SSOOIDCServiceException); export var Scopes = 64 | 0; diff --git a/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_0.ts b/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_0.ts index f66cedcacd48..65393334f680 100644 --- a/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_0.ts @@ -50,7 +50,6 @@ TypeRegistry.for(n0).registerError(PredictorNotMountedException, __PredictorNotM export var PredictOutput: StaticStructureSchema = [3, n0, _PO, 0, [_P], [() => Prediction]]; export var ResourceNotFoundException: StaticErrorSchema = [-3, n0, _RNFE, { [_e]: _cl, [_hE]: 404 }, [_m, _c], [0, 1]]; TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException); -export var __Unit = "unit" as const; export var MachineLearningServiceException: StaticErrorSchema = [-3, _sm, "MachineLearningServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MachineLearningServiceException, __MachineLearningServiceException); export var DetailsMap = 128 | 0; diff --git a/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_0.ts b/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_0.ts index 2f9bca8b1095..eb1fe3cb35e9 100644 --- a/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_0.ts @@ -91,7 +91,6 @@ export var TooManyRequestsException: StaticErrorSchema = [ TypeRegistry.for(n0).registerError(TooManyRequestsException, __TooManyRequestsException); export var UnauthorizedException: StaticErrorSchema = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]]; TypeRegistry.for(n0).registerError(UnauthorizedException, __UnauthorizedException); -export var __Unit = "unit" as const; export var APIGatewayServiceException: StaticErrorSchema = [-3, _s, "APIGatewayServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(APIGatewayServiceException, __APIGatewayServiceException); export var ListOfEndpointType = 64 | 0; diff --git a/scripts/generate-clients/config.js b/scripts/generate-clients/config.js index 1ca4d0820414..31f7229e158d 100644 --- a/scripts/generate-clients/config.js +++ b/scripts/generate-clients/config.js @@ -2,8 +2,8 @@ module.exports = { // Use full commit hash as we explicitly fetch it. // Comparison link (update with previous hash): - // https://github.com/smithy-lang/smithy-typescript/compare/f9285c3efe3100e0f75b6574c3bb2582ca622ba5...7b82c53d9040ad7a1c7a28ec9f541e937499f374 - SMITHY_TS_COMMIT: "7b82c53d9040ad7a1c7a28ec9f541e937499f374", + // https://github.com/smithy-lang/smithy-typescript/compare/7b82c53d9040ad7a1c7a28ec9f541e937499f374...bbdb09131e307af317f3a6a6ee09e895749ea749 + SMITHY_TS_COMMIT: "bbdb09131e307af317f3a6a6ee09e895749ea749", }; if (module.exports.SMITHY_TS_COMMIT.length < 40) {