UNPKG

@aws-sdk/client-iot

Version:

AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native

1,118 lines (1,097 loc) 689 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.ts var src_exports = {}; __export(src_exports, { AbortAction: () => AbortAction, AcceptCertificateTransferCommand: () => AcceptCertificateTransferCommand, ActionType: () => ActionType, AddThingToBillingGroupCommand: () => AddThingToBillingGroupCommand, AddThingToThingGroupCommand: () => AddThingToThingGroupCommand, AggregationTypeName: () => AggregationTypeName, AlertTargetType: () => AlertTargetType, AssetPropertyVariant: () => AssetPropertyVariant, AssociateTargetsWithJobCommand: () => AssociateTargetsWithJobCommand, AttachPolicyCommand: () => AttachPolicyCommand, AttachPrincipalPolicyCommand: () => AttachPrincipalPolicyCommand, AttachSecurityProfileCommand: () => AttachSecurityProfileCommand, AttachThingPrincipalCommand: () => AttachThingPrincipalCommand, AuditCheckRunStatus: () => AuditCheckRunStatus, AuditFindingSeverity: () => AuditFindingSeverity, AuditFrequency: () => AuditFrequency, AuditMitigationActionsExecutionStatus: () => AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskStatus: () => AuditMitigationActionsTaskStatus, AuditNotificationType: () => AuditNotificationType, AuditTaskStatus: () => AuditTaskStatus, AuditTaskType: () => AuditTaskType, AuthDecision: () => AuthDecision, AuthorizerStatus: () => AuthorizerStatus, AutoRegistrationStatus: () => AutoRegistrationStatus, AwsJobAbortCriteriaAbortAction: () => AwsJobAbortCriteriaAbortAction, AwsJobAbortCriteriaFailureType: () => AwsJobAbortCriteriaFailureType, BehaviorCriteriaType: () => BehaviorCriteriaType, CACertificateStatus: () => CACertificateStatus, CACertificateUpdateAction: () => CACertificateUpdateAction, CancelAuditMitigationActionsTaskCommand: () => CancelAuditMitigationActionsTaskCommand, CancelAuditTaskCommand: () => CancelAuditTaskCommand, CancelCertificateTransferCommand: () => CancelCertificateTransferCommand, CancelDetectMitigationActionsTaskCommand: () => CancelDetectMitigationActionsTaskCommand, CancelJobCommand: () => CancelJobCommand, CancelJobExecutionCommand: () => CancelJobExecutionCommand, CannedAccessControlList: () => CannedAccessControlList, CertificateConflictException: () => CertificateConflictException, CertificateMode: () => CertificateMode, CertificateProviderOperation: () => CertificateProviderOperation, CertificateStateException: () => CertificateStateException, CertificateStatus: () => CertificateStatus, CertificateValidationException: () => CertificateValidationException, ClearDefaultAuthorizerCommand: () => ClearDefaultAuthorizerCommand, ComparisonOperator: () => ComparisonOperator, ConfidenceLevel: () => ConfidenceLevel, ConfirmTopicRuleDestinationCommand: () => ConfirmTopicRuleDestinationCommand, ConflictException: () => ConflictException, ConflictingResourceUpdateException: () => ConflictingResourceUpdateException, CreateAuditSuppressionCommand: () => CreateAuditSuppressionCommand, CreateAuthorizerCommand: () => CreateAuthorizerCommand, CreateBillingGroupCommand: () => CreateBillingGroupCommand, CreateCertificateFromCsrCommand: () => CreateCertificateFromCsrCommand, CreateCertificateProviderCommand: () => CreateCertificateProviderCommand, CreateCustomMetricCommand: () => CreateCustomMetricCommand, CreateDimensionCommand: () => CreateDimensionCommand, CreateDomainConfigurationCommand: () => CreateDomainConfigurationCommand, CreateDynamicThingGroupCommand: () => CreateDynamicThingGroupCommand, CreateFleetMetricCommand: () => CreateFleetMetricCommand, CreateJobCommand: () => CreateJobCommand, CreateJobTemplateCommand: () => CreateJobTemplateCommand, CreateKeysAndCertificateCommand: () => CreateKeysAndCertificateCommand, CreateKeysAndCertificateResponseFilterSensitiveLog: () => CreateKeysAndCertificateResponseFilterSensitiveLog, CreateMitigationActionCommand: () => CreateMitigationActionCommand, CreateOTAUpdateCommand: () => CreateOTAUpdateCommand, CreatePackageCommand: () => CreatePackageCommand, CreatePackageRequestFilterSensitiveLog: () => CreatePackageRequestFilterSensitiveLog, CreatePackageResponseFilterSensitiveLog: () => CreatePackageResponseFilterSensitiveLog, CreatePackageVersionCommand: () => CreatePackageVersionCommand, CreatePackageVersionRequestFilterSensitiveLog: () => CreatePackageVersionRequestFilterSensitiveLog, CreatePackageVersionResponseFilterSensitiveLog: () => CreatePackageVersionResponseFilterSensitiveLog, CreatePolicyCommand: () => CreatePolicyCommand, CreatePolicyVersionCommand: () => CreatePolicyVersionCommand, CreateProvisioningClaimCommand: () => CreateProvisioningClaimCommand, CreateProvisioningClaimResponseFilterSensitiveLog: () => CreateProvisioningClaimResponseFilterSensitiveLog, CreateProvisioningTemplateCommand: () => CreateProvisioningTemplateCommand, CreateProvisioningTemplateVersionCommand: () => CreateProvisioningTemplateVersionCommand, CreateRoleAliasCommand: () => CreateRoleAliasCommand, CreateScheduledAuditCommand: () => CreateScheduledAuditCommand, CreateSecurityProfileCommand: () => CreateSecurityProfileCommand, CreateStreamCommand: () => CreateStreamCommand, CreateThingCommand: () => CreateThingCommand, CreateThingGroupCommand: () => CreateThingGroupCommand, CreateThingTypeCommand: () => CreateThingTypeCommand, CreateTopicRuleCommand: () => CreateTopicRuleCommand, CreateTopicRuleDestinationCommand: () => CreateTopicRuleDestinationCommand, CustomMetricType: () => CustomMetricType, DayOfWeek: () => DayOfWeek, DeleteAccountAuditConfigurationCommand: () => DeleteAccountAuditConfigurationCommand, DeleteAuditSuppressionCommand: () => DeleteAuditSuppressionCommand, DeleteAuthorizerCommand: () => DeleteAuthorizerCommand, DeleteBillingGroupCommand: () => DeleteBillingGroupCommand, DeleteCACertificateCommand: () => DeleteCACertificateCommand, DeleteCertificateCommand: () => DeleteCertificateCommand, DeleteCertificateProviderCommand: () => DeleteCertificateProviderCommand, DeleteConflictException: () => DeleteConflictException, DeleteCustomMetricCommand: () => DeleteCustomMetricCommand, DeleteDimensionCommand: () => DeleteDimensionCommand, DeleteDomainConfigurationCommand: () => DeleteDomainConfigurationCommand, DeleteDynamicThingGroupCommand: () => DeleteDynamicThingGroupCommand, DeleteFleetMetricCommand: () => DeleteFleetMetricCommand, DeleteJobCommand: () => DeleteJobCommand, DeleteJobExecutionCommand: () => DeleteJobExecutionCommand, DeleteJobTemplateCommand: () => DeleteJobTemplateCommand, DeleteMitigationActionCommand: () => DeleteMitigationActionCommand, DeleteOTAUpdateCommand: () => DeleteOTAUpdateCommand, DeletePackageCommand: () => DeletePackageCommand, DeletePackageVersionCommand: () => DeletePackageVersionCommand, DeletePolicyCommand: () => DeletePolicyCommand, DeletePolicyVersionCommand: () => DeletePolicyVersionCommand, DeleteProvisioningTemplateCommand: () => DeleteProvisioningTemplateCommand, DeleteProvisioningTemplateVersionCommand: () => DeleteProvisioningTemplateVersionCommand, DeleteRegistrationCodeCommand: () => DeleteRegistrationCodeCommand, DeleteRoleAliasCommand: () => DeleteRoleAliasCommand, DeleteScheduledAuditCommand: () => DeleteScheduledAuditCommand, DeleteSecurityProfileCommand: () => DeleteSecurityProfileCommand, DeleteStreamCommand: () => DeleteStreamCommand, DeleteThingCommand: () => DeleteThingCommand, DeleteThingGroupCommand: () => DeleteThingGroupCommand, DeleteThingTypeCommand: () => DeleteThingTypeCommand, DeleteTopicRuleCommand: () => DeleteTopicRuleCommand, DeleteTopicRuleDestinationCommand: () => DeleteTopicRuleDestinationCommand, DeleteV2LoggingLevelCommand: () => DeleteV2LoggingLevelCommand, DeprecateThingTypeCommand: () => DeprecateThingTypeCommand, DescribeAccountAuditConfigurationCommand: () => DescribeAccountAuditConfigurationCommand, DescribeAuditFindingCommand: () => DescribeAuditFindingCommand, DescribeAuditMitigationActionsTaskCommand: () => DescribeAuditMitigationActionsTaskCommand, DescribeAuditSuppressionCommand: () => DescribeAuditSuppressionCommand, DescribeAuditTaskCommand: () => DescribeAuditTaskCommand, DescribeAuthorizerCommand: () => DescribeAuthorizerCommand, DescribeBillingGroupCommand: () => DescribeBillingGroupCommand, DescribeCACertificateCommand: () => DescribeCACertificateCommand, DescribeCertificateCommand: () => DescribeCertificateCommand, DescribeCertificateProviderCommand: () => DescribeCertificateProviderCommand, DescribeCustomMetricCommand: () => DescribeCustomMetricCommand, DescribeDefaultAuthorizerCommand: () => DescribeDefaultAuthorizerCommand, DescribeDetectMitigationActionsTaskCommand: () => DescribeDetectMitigationActionsTaskCommand, DescribeDimensionCommand: () => DescribeDimensionCommand, DescribeDomainConfigurationCommand: () => DescribeDomainConfigurationCommand, DescribeEndpointCommand: () => DescribeEndpointCommand, DescribeEventConfigurationsCommand: () => DescribeEventConfigurationsCommand, DescribeFleetMetricCommand: () => DescribeFleetMetricCommand, DescribeIndexCommand: () => DescribeIndexCommand, DescribeJobCommand: () => DescribeJobCommand, DescribeJobExecutionCommand: () => DescribeJobExecutionCommand, DescribeJobTemplateCommand: () => DescribeJobTemplateCommand, DescribeManagedJobTemplateCommand: () => DescribeManagedJobTemplateCommand, DescribeMitigationActionCommand: () => DescribeMitigationActionCommand, DescribeProvisioningTemplateCommand: () => DescribeProvisioningTemplateCommand, DescribeProvisioningTemplateVersionCommand: () => DescribeProvisioningTemplateVersionCommand, DescribeRoleAliasCommand: () => DescribeRoleAliasCommand, DescribeScheduledAuditCommand: () => DescribeScheduledAuditCommand, DescribeSecurityProfileCommand: () => DescribeSecurityProfileCommand, DescribeStreamCommand: () => DescribeStreamCommand, DescribeThingCommand: () => DescribeThingCommand, DescribeThingGroupCommand: () => DescribeThingGroupCommand, DescribeThingRegistrationTaskCommand: () => DescribeThingRegistrationTaskCommand, DescribeThingTypeCommand: () => DescribeThingTypeCommand, DetachPolicyCommand: () => DetachPolicyCommand, DetachPrincipalPolicyCommand: () => DetachPrincipalPolicyCommand, DetachSecurityProfileCommand: () => DetachSecurityProfileCommand, DetachThingPrincipalCommand: () => DetachThingPrincipalCommand, DetectMitigationActionExecutionStatus: () => DetectMitigationActionExecutionStatus, DetectMitigationActionsTaskStatus: () => DetectMitigationActionsTaskStatus, DeviceCertificateUpdateAction: () => DeviceCertificateUpdateAction, DeviceDefenderIndexingMode: () => DeviceDefenderIndexingMode, DimensionType: () => DimensionType, DimensionValueOperator: () => DimensionValueOperator, DisableTopicRuleCommand: () => DisableTopicRuleCommand, DomainConfigurationStatus: () => DomainConfigurationStatus, DomainType: () => DomainType, DynamicGroupStatus: () => DynamicGroupStatus, DynamoKeyType: () => DynamoKeyType, EnableTopicRuleCommand: () => EnableTopicRuleCommand, EventType: () => EventType, FieldType: () => FieldType, FleetMetricUnit: () => FleetMetricUnit, GetBehaviorModelTrainingSummariesCommand: () => GetBehaviorModelTrainingSummariesCommand, GetBucketsAggregationCommand: () => GetBucketsAggregationCommand, GetCardinalityCommand: () => GetCardinalityCommand, GetEffectivePoliciesCommand: () => GetEffectivePoliciesCommand, GetIndexingConfigurationCommand: () => GetIndexingConfigurationCommand, GetJobDocumentCommand: () => GetJobDocumentCommand, GetLoggingOptionsCommand: () => GetLoggingOptionsCommand, GetOTAUpdateCommand: () => GetOTAUpdateCommand, GetPackageCommand: () => GetPackageCommand, GetPackageConfigurationCommand: () => GetPackageConfigurationCommand, GetPackageResponseFilterSensitiveLog: () => GetPackageResponseFilterSensitiveLog, GetPackageVersionCommand: () => GetPackageVersionCommand, GetPackageVersionResponseFilterSensitiveLog: () => GetPackageVersionResponseFilterSensitiveLog, GetPercentilesCommand: () => GetPercentilesCommand, GetPolicyCommand: () => GetPolicyCommand, GetPolicyVersionCommand: () => GetPolicyVersionCommand, GetRegistrationCodeCommand: () => GetRegistrationCodeCommand, GetStatisticsCommand: () => GetStatisticsCommand, GetTopicRuleCommand: () => GetTopicRuleCommand, GetTopicRuleDestinationCommand: () => GetTopicRuleDestinationCommand, GetV2LoggingOptionsCommand: () => GetV2LoggingOptionsCommand, IndexNotReadyException: () => IndexNotReadyException, IndexStatus: () => IndexStatus, InternalException: () => InternalException, InternalFailureException: () => InternalFailureException, InternalServerException: () => InternalServerException, InvalidAggregationException: () => InvalidAggregationException, InvalidQueryException: () => InvalidQueryException, InvalidRequestException: () => InvalidRequestException, InvalidResponseException: () => InvalidResponseException, InvalidStateTransitionException: () => InvalidStateTransitionException, IoT: () => IoT, IoTClient: () => IoTClient, IoTServiceException: () => IoTServiceException, JobEndBehavior: () => JobEndBehavior, JobExecutionFailureType: () => JobExecutionFailureType, JobExecutionStatus: () => JobExecutionStatus, JobStatus: () => JobStatus, KeyPairFilterSensitiveLog: () => KeyPairFilterSensitiveLog, LimitExceededException: () => LimitExceededException, ListActiveViolationsCommand: () => ListActiveViolationsCommand, ListAttachedPoliciesCommand: () => ListAttachedPoliciesCommand, ListAuditFindingsCommand: () => ListAuditFindingsCommand, ListAuditMitigationActionsExecutionsCommand: () => ListAuditMitigationActionsExecutionsCommand, ListAuditMitigationActionsTasksCommand: () => ListAuditMitigationActionsTasksCommand, ListAuditSuppressionsCommand: () => ListAuditSuppressionsCommand, ListAuditTasksCommand: () => ListAuditTasksCommand, ListAuthorizersCommand: () => ListAuthorizersCommand, ListBillingGroupsCommand: () => ListBillingGroupsCommand, ListCACertificatesCommand: () => ListCACertificatesCommand, ListCertificateProvidersCommand: () => ListCertificateProvidersCommand, ListCertificatesByCACommand: () => ListCertificatesByCACommand, ListCertificatesCommand: () => ListCertificatesCommand, ListCustomMetricsCommand: () => ListCustomMetricsCommand, ListDetectMitigationActionsExecutionsCommand: () => ListDetectMitigationActionsExecutionsCommand, ListDetectMitigationActionsTasksCommand: () => ListDetectMitigationActionsTasksCommand, ListDimensionsCommand: () => ListDimensionsCommand, ListDomainConfigurationsCommand: () => ListDomainConfigurationsCommand, ListFleetMetricsCommand: () => ListFleetMetricsCommand, ListIndicesCommand: () => ListIndicesCommand, ListJobExecutionsForJobCommand: () => ListJobExecutionsForJobCommand, ListJobExecutionsForThingCommand: () => ListJobExecutionsForThingCommand, ListJobTemplatesCommand: () => ListJobTemplatesCommand, ListJobsCommand: () => ListJobsCommand, ListManagedJobTemplatesCommand: () => ListManagedJobTemplatesCommand, ListMetricValuesCommand: () => ListMetricValuesCommand, ListMitigationActionsCommand: () => ListMitigationActionsCommand, ListOTAUpdatesCommand: () => ListOTAUpdatesCommand, ListOutgoingCertificatesCommand: () => ListOutgoingCertificatesCommand, ListPackageVersionsCommand: () => ListPackageVersionsCommand, ListPackagesCommand: () => ListPackagesCommand, ListPoliciesCommand: () => ListPoliciesCommand, ListPolicyPrincipalsCommand: () => ListPolicyPrincipalsCommand, ListPolicyVersionsCommand: () => ListPolicyVersionsCommand, ListPrincipalPoliciesCommand: () => ListPrincipalPoliciesCommand, ListPrincipalThingsCommand: () => ListPrincipalThingsCommand, ListProvisioningTemplateVersionsCommand: () => ListProvisioningTemplateVersionsCommand, ListProvisioningTemplatesCommand: () => ListProvisioningTemplatesCommand, ListRelatedResourcesForAuditFindingCommand: () => ListRelatedResourcesForAuditFindingCommand, ListRoleAliasesCommand: () => ListRoleAliasesCommand, ListScheduledAuditsCommand: () => ListScheduledAuditsCommand, ListSecurityProfilesCommand: () => ListSecurityProfilesCommand, ListSecurityProfilesForTargetCommand: () => ListSecurityProfilesForTargetCommand, ListStreamsCommand: () => ListStreamsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListTargetsForPolicyCommand: () => ListTargetsForPolicyCommand, ListTargetsForSecurityProfileCommand: () => ListTargetsForSecurityProfileCommand, ListThingGroupsCommand: () => ListThingGroupsCommand, ListThingGroupsForThingCommand: () => ListThingGroupsForThingCommand, ListThingPrincipalsCommand: () => ListThingPrincipalsCommand, ListThingRegistrationTaskReportsCommand: () => ListThingRegistrationTaskReportsCommand, ListThingRegistrationTasksCommand: () => ListThingRegistrationTasksCommand, ListThingTypesCommand: () => ListThingTypesCommand, ListThingsCommand: () => ListThingsCommand, ListThingsInBillingGroupCommand: () => ListThingsInBillingGroupCommand, ListThingsInThingGroupCommand: () => ListThingsInThingGroupCommand, ListTopicRuleDestinationsCommand: () => ListTopicRuleDestinationsCommand, ListTopicRulesCommand: () => ListTopicRulesCommand, ListV2LoggingLevelsCommand: () => ListV2LoggingLevelsCommand, ListViolationEventsCommand: () => ListViolationEventsCommand, LogLevel: () => LogLevel, LogTargetType: () => LogTargetType, MalformedPolicyException: () => MalformedPolicyException, MessageFormat: () => MessageFormat, MitigationActionType: () => MitigationActionType, ModelStatus: () => ModelStatus, NamedShadowIndexingMode: () => NamedShadowIndexingMode, NotConfiguredException: () => NotConfiguredException, OTAUpdateStatus: () => OTAUpdateStatus, PackageVersionAction: () => PackageVersionAction, PackageVersionStatus: () => PackageVersionStatus, PolicyTemplateName: () => PolicyTemplateName, Protocol: () => Protocol, PutVerificationStateOnViolationCommand: () => PutVerificationStateOnViolationCommand, RegisterCACertificateCommand: () => RegisterCACertificateCommand, RegisterCertificateCommand: () => RegisterCertificateCommand, RegisterCertificateWithoutCACommand: () => RegisterCertificateWithoutCACommand, RegisterThingCommand: () => RegisterThingCommand, RegistrationCodeValidationException: () => RegistrationCodeValidationException, RejectCertificateTransferCommand: () => RejectCertificateTransferCommand, RemoveThingFromBillingGroupCommand: () => RemoveThingFromBillingGroupCommand, RemoveThingFromThingGroupCommand: () => RemoveThingFromThingGroupCommand, ReplaceTopicRuleCommand: () => ReplaceTopicRuleCommand, ReportType: () => ReportType, ResourceAlreadyExistsException: () => ResourceAlreadyExistsException, ResourceNotFoundException: () => ResourceNotFoundException, ResourceRegistrationFailureException: () => ResourceRegistrationFailureException, ResourceType: () => ResourceType, RetryableFailureType: () => RetryableFailureType, SearchIndexCommand: () => SearchIndexCommand, ServerCertificateStatus: () => ServerCertificateStatus, ServiceQuotaExceededException: () => ServiceQuotaExceededException, ServiceType: () => ServiceType, ServiceUnavailableException: () => ServiceUnavailableException, SetDefaultAuthorizerCommand: () => SetDefaultAuthorizerCommand, SetDefaultPolicyVersionCommand: () => SetDefaultPolicyVersionCommand, SetLoggingOptionsCommand: () => SetLoggingOptionsCommand, SetV2LoggingLevelCommand: () => SetV2LoggingLevelCommand, SetV2LoggingOptionsCommand: () => SetV2LoggingOptionsCommand, SqlParseException: () => SqlParseException, StartAuditMitigationActionsTaskCommand: () => StartAuditMitigationActionsTaskCommand, StartDetectMitigationActionsTaskCommand: () => StartDetectMitigationActionsTaskCommand, StartOnDemandAuditTaskCommand: () => StartOnDemandAuditTaskCommand, StartThingRegistrationTaskCommand: () => StartThingRegistrationTaskCommand, Status: () => Status, StopThingRegistrationTaskCommand: () => StopThingRegistrationTaskCommand, TagResourceCommand: () => TagResourceCommand, TargetFieldOrder: () => TargetFieldOrder, TargetSelection: () => TargetSelection, TaskAlreadyExistsException: () => TaskAlreadyExistsException, TemplateType: () => TemplateType, TestAuthorizationCommand: () => TestAuthorizationCommand, TestInvokeAuthorizerCommand: () => TestInvokeAuthorizerCommand, ThingConnectivityIndexingMode: () => ThingConnectivityIndexingMode, ThingGroupIndexingMode: () => ThingGroupIndexingMode, ThingIndexingMode: () => ThingIndexingMode, ThrottlingException: () => ThrottlingException, TopicRuleDestinationStatus: () => TopicRuleDestinationStatus, TransferAlreadyCompletedException: () => TransferAlreadyCompletedException, TransferCertificateCommand: () => TransferCertificateCommand, TransferConflictException: () => TransferConflictException, UnauthorizedException: () => UnauthorizedException, UntagResourceCommand: () => UntagResourceCommand, UpdateAccountAuditConfigurationCommand: () => UpdateAccountAuditConfigurationCommand, UpdateAuditSuppressionCommand: () => UpdateAuditSuppressionCommand, UpdateAuthorizerCommand: () => UpdateAuthorizerCommand, UpdateBillingGroupCommand: () => UpdateBillingGroupCommand, UpdateCACertificateCommand: () => UpdateCACertificateCommand, UpdateCertificateCommand: () => UpdateCertificateCommand, UpdateCertificateProviderCommand: () => UpdateCertificateProviderCommand, UpdateCustomMetricCommand: () => UpdateCustomMetricCommand, UpdateDimensionCommand: () => UpdateDimensionCommand, UpdateDomainConfigurationCommand: () => UpdateDomainConfigurationCommand, UpdateDynamicThingGroupCommand: () => UpdateDynamicThingGroupCommand, UpdateEventConfigurationsCommand: () => UpdateEventConfigurationsCommand, UpdateFleetMetricCommand: () => UpdateFleetMetricCommand, UpdateIndexingConfigurationCommand: () => UpdateIndexingConfigurationCommand, UpdateJobCommand: () => UpdateJobCommand, UpdateMitigationActionCommand: () => UpdateMitigationActionCommand, UpdatePackageCommand: () => UpdatePackageCommand, UpdatePackageConfigurationCommand: () => UpdatePackageConfigurationCommand, UpdatePackageRequestFilterSensitiveLog: () => UpdatePackageRequestFilterSensitiveLog, UpdatePackageVersionCommand: () => UpdatePackageVersionCommand, UpdatePackageVersionRequestFilterSensitiveLog: () => UpdatePackageVersionRequestFilterSensitiveLog, UpdateProvisioningTemplateCommand: () => UpdateProvisioningTemplateCommand, UpdateRoleAliasCommand: () => UpdateRoleAliasCommand, UpdateScheduledAuditCommand: () => UpdateScheduledAuditCommand, UpdateSecurityProfileCommand: () => UpdateSecurityProfileCommand, UpdateStreamCommand: () => UpdateStreamCommand, UpdateThingCommand: () => UpdateThingCommand, UpdateThingGroupCommand: () => UpdateThingGroupCommand, UpdateThingGroupsForThingCommand: () => UpdateThingGroupsForThingCommand, UpdateTopicRuleDestinationCommand: () => UpdateTopicRuleDestinationCommand, ValidateSecurityProfileBehaviorsCommand: () => ValidateSecurityProfileBehaviorsCommand, ValidationException: () => ValidationException, VerificationState: () => VerificationState, VersionConflictException: () => VersionConflictException, VersionsLimitExceededException: () => VersionsLimitExceededException, ViolationEventType: () => ViolationEventType, __Client: () => import_smithy_client.Client, paginateGetBehaviorModelTrainingSummaries: () => paginateGetBehaviorModelTrainingSummaries, paginateListActiveViolations: () => paginateListActiveViolations, paginateListAttachedPolicies: () => paginateListAttachedPolicies, paginateListAuditFindings: () => paginateListAuditFindings, paginateListAuditMitigationActionsExecutions: () => paginateListAuditMitigationActionsExecutions, paginateListAuditMitigationActionsTasks: () => paginateListAuditMitigationActionsTasks, paginateListAuditSuppressions: () => paginateListAuditSuppressions, paginateListAuditTasks: () => paginateListAuditTasks, paginateListAuthorizers: () => paginateListAuthorizers, paginateListBillingGroups: () => paginateListBillingGroups, paginateListCACertificates: () => paginateListCACertificates, paginateListCertificates: () => paginateListCertificates, paginateListCertificatesByCA: () => paginateListCertificatesByCA, paginateListCustomMetrics: () => paginateListCustomMetrics, paginateListDetectMitigationActionsExecutions: () => paginateListDetectMitigationActionsExecutions, paginateListDetectMitigationActionsTasks: () => paginateListDetectMitigationActionsTasks, paginateListDimensions: () => paginateListDimensions, paginateListDomainConfigurations: () => paginateListDomainConfigurations, paginateListFleetMetrics: () => paginateListFleetMetrics, paginateListIndices: () => paginateListIndices, paginateListJobExecutionsForJob: () => paginateListJobExecutionsForJob, paginateListJobExecutionsForThing: () => paginateListJobExecutionsForThing, paginateListJobTemplates: () => paginateListJobTemplates, paginateListJobs: () => paginateListJobs, paginateListManagedJobTemplates: () => paginateListManagedJobTemplates, paginateListMetricValues: () => paginateListMetricValues, paginateListMitigationActions: () => paginateListMitigationActions, paginateListOTAUpdates: () => paginateListOTAUpdates, paginateListOutgoingCertificates: () => paginateListOutgoingCertificates, paginateListPackageVersions: () => paginateListPackageVersions, paginateListPackages: () => paginateListPackages, paginateListPolicies: () => paginateListPolicies, paginateListPolicyPrincipals: () => paginateListPolicyPrincipals, paginateListPrincipalPolicies: () => paginateListPrincipalPolicies, paginateListPrincipalThings: () => paginateListPrincipalThings, paginateListProvisioningTemplateVersions: () => paginateListProvisioningTemplateVersions, paginateListProvisioningTemplates: () => paginateListProvisioningTemplates, paginateListRelatedResourcesForAuditFinding: () => paginateListRelatedResourcesForAuditFinding, paginateListRoleAliases: () => paginateListRoleAliases, paginateListScheduledAudits: () => paginateListScheduledAudits, paginateListSecurityProfiles: () => paginateListSecurityProfiles, paginateListSecurityProfilesForTarget: () => paginateListSecurityProfilesForTarget, paginateListStreams: () => paginateListStreams, paginateListTagsForResource: () => paginateListTagsForResource, paginateListTargetsForPolicy: () => paginateListTargetsForPolicy, paginateListTargetsForSecurityProfile: () => paginateListTargetsForSecurityProfile, paginateListThingGroups: () => paginateListThingGroups, paginateListThingGroupsForThing: () => paginateListThingGroupsForThing, paginateListThingPrincipals: () => paginateListThingPrincipals, paginateListThingRegistrationTaskReports: () => paginateListThingRegistrationTaskReports, paginateListThingRegistrationTasks: () => paginateListThingRegistrationTasks, paginateListThingTypes: () => paginateListThingTypes, paginateListThings: () => paginateListThings, paginateListThingsInBillingGroup: () => paginateListThingsInBillingGroup, paginateListThingsInThingGroup: () => paginateListThingsInThingGroup, paginateListTopicRuleDestinations: () => paginateListTopicRuleDestinations, paginateListTopicRules: () => paginateListTopicRules, paginateListV2LoggingLevels: () => paginateListV2LoggingLevels, paginateListViolationEvents: () => paginateListViolationEvents }); module.exports = __toCommonJS(src_exports); // src/IoTClient.ts var import_middleware_host_header = require("@aws-sdk/middleware-host-header"); var import_middleware_logger = require("@aws-sdk/middleware-logger"); var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection"); var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent"); var import_config_resolver = require("@smithy/config-resolver"); var import_core = require("@smithy/core"); var import_middleware_content_length = require("@smithy/middleware-content-length"); var import_middleware_endpoint = require("@smithy/middleware-endpoint"); var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.ts var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return { ...options, useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "iot" }; }, "resolveClientEndpointParameters"); var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } }; // src/IoTClient.ts var import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.ts var import_region_config_resolver = require("@aws-sdk/region-config-resolver"); var import_protocol_http = require("@smithy/protocol-http"); var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.ts var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; } }; }, "getHttpAuthExtensionConfiguration"); var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() }; }, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.ts var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial"); var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = { ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)), ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)), ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)), ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)) }; extensions.forEach((extension) => extension.configure(extensionConfiguration)); return { ...runtimeConfig, ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), ...resolveHttpAuthRuntimeConfig(extensionConfiguration) }; }, "resolveRuntimeExtensions"); // src/IoTClient.ts var _IoTClient = class _IoTClient extends import_smithy_client.Client { constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); super(_config_8); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getOmitRetryHeadersPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultIoTHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }) }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); } }; __name(_IoTClient, "IoTClient"); var IoTClient = _IoTClient; // src/IoT.ts // src/commands/AcceptCertificateTransferCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.ts var import_core2 = require("@aws-sdk/core"); var import_uuid = require("uuid"); // src/models/IoTServiceException.ts var _IoTServiceException = class _IoTServiceException extends import_smithy_client.ServiceException { /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _IoTServiceException.prototype); } }; __name(_IoTServiceException, "IoTServiceException"); var IoTServiceException = _IoTServiceException; // src/models/models_0.ts var AbortAction = { CANCEL: "CANCEL" }; var JobExecutionFailureType = { ALL: "ALL", FAILED: "FAILED", REJECTED: "REJECTED", TIMED_OUT: "TIMED_OUT" }; var _InternalFailureException = class _InternalFailureException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "InternalFailureException", $fault: "server", ...opts }); this.name = "InternalFailureException"; this.$fault = "server"; Object.setPrototypeOf(this, _InternalFailureException.prototype); } }; __name(_InternalFailureException, "InternalFailureException"); var InternalFailureException = _InternalFailureException; var _InvalidRequestException = class _InvalidRequestException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "InvalidRequestException", $fault: "client", ...opts }); this.name = "InvalidRequestException"; this.$fault = "client"; Object.setPrototypeOf(this, _InvalidRequestException.prototype); } }; __name(_InvalidRequestException, "InvalidRequestException"); var InvalidRequestException = _InvalidRequestException; var _ResourceNotFoundException = class _ResourceNotFoundException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); this.name = "ResourceNotFoundException"; this.$fault = "client"; Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); } }; __name(_ResourceNotFoundException, "ResourceNotFoundException"); var ResourceNotFoundException = _ResourceNotFoundException; var _ServiceUnavailableException = class _ServiceUnavailableException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "ServiceUnavailableException", $fault: "server", ...opts }); this.name = "ServiceUnavailableException"; this.$fault = "server"; Object.setPrototypeOf(this, _ServiceUnavailableException.prototype); } }; __name(_ServiceUnavailableException, "ServiceUnavailableException"); var ServiceUnavailableException = _ServiceUnavailableException; var _ThrottlingException = class _ThrottlingException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); this.name = "ThrottlingException"; this.$fault = "client"; Object.setPrototypeOf(this, _ThrottlingException.prototype); } }; __name(_ThrottlingException, "ThrottlingException"); var ThrottlingException = _ThrottlingException; var _TransferAlreadyCompletedException = class _TransferAlreadyCompletedException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "TransferAlreadyCompletedException", $fault: "client", ...opts }); this.name = "TransferAlreadyCompletedException"; this.$fault = "client"; Object.setPrototypeOf(this, _TransferAlreadyCompletedException.prototype); } }; __name(_TransferAlreadyCompletedException, "TransferAlreadyCompletedException"); var TransferAlreadyCompletedException = _TransferAlreadyCompletedException; var _UnauthorizedException = class _UnauthorizedException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "UnauthorizedException", $fault: "client", ...opts }); this.name = "UnauthorizedException"; this.$fault = "client"; Object.setPrototypeOf(this, _UnauthorizedException.prototype); } }; __name(_UnauthorizedException, "UnauthorizedException"); var UnauthorizedException = _UnauthorizedException; var DynamoKeyType = { NUMBER: "NUMBER", STRING: "STRING" }; var AssetPropertyVariant; ((AssetPropertyVariant3) => { AssetPropertyVariant3.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue); if (value.integerValue !== void 0) return visitor.integerValue(value.integerValue); if (value.doubleValue !== void 0) return visitor.doubleValue(value.doubleValue); if (value.booleanValue !== void 0) return visitor.booleanValue(value.booleanValue); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit"); })(AssetPropertyVariant || (AssetPropertyVariant = {})); var CannedAccessControlList = { AuthenticatedRead: "authenticated-read", AwsExecRead: "aws-exec-read", BucketOwnerFullControl: "bucket-owner-full-control", BucketOwnerRead: "bucket-owner-read", LogDeliveryWrite: "log-delivery-write", Private: "private", PublicRead: "public-read", PublicReadWrite: "public-read-write" }; var MessageFormat = { JSON: "JSON", RAW: "RAW" }; var ActionType = { CONNECT: "CONNECT", PUBLISH: "PUBLISH", RECEIVE: "RECEIVE", SUBSCRIBE: "SUBSCRIBE" }; var ComparisonOperator = { GREATER_THAN: "greater-than", GREATER_THAN_EQUALS: "greater-than-equals", IN_CIDR_SET: "in-cidr-set", IN_PORT_SET: "in-port-set", IN_SET: "in-set", LESS_THAN: "less-than", LESS_THAN_EQUALS: "less-than-equals", NOT_IN_CIDR_SET: "not-in-cidr-set", NOT_IN_PORT_SET: "not-in-port-set", NOT_IN_SET: "not-in-set" }; var ConfidenceLevel = { HIGH: "HIGH", LOW: "LOW", MEDIUM: "MEDIUM" }; var DimensionValueOperator = { IN: "IN", NOT_IN: "NOT_IN" }; var VerificationState = { BENIGN_POSITIVE: "BENIGN_POSITIVE", FALSE_POSITIVE: "FALSE_POSITIVE", TRUE_POSITIVE: "TRUE_POSITIVE", UNKNOWN: "UNKNOWN" }; var AggregationTypeName = { CARDINALITY: "Cardinality", PERCENTILES: "Percentiles", STATISTICS: "Statistics" }; var AlertTargetType = { SNS: "SNS" }; var _LimitExceededException = class _LimitExceededException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "LimitExceededException", $fault: "client", ...opts }); this.name = "LimitExceededException"; this.$fault = "client"; Object.setPrototypeOf(this, _LimitExceededException.prototype); } }; __name(_LimitExceededException, "LimitExceededException"); var LimitExceededException = _LimitExceededException; var _VersionConflictException = class _VersionConflictException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "VersionConflictException", $fault: "client", ...opts }); this.name = "VersionConflictException"; this.$fault = "client"; Object.setPrototypeOf(this, _VersionConflictException.prototype); } }; __name(_VersionConflictException, "VersionConflictException"); var VersionConflictException = _VersionConflictException; var AuditCheckRunStatus = { CANCELED: "CANCELED", COMPLETED_COMPLIANT: "COMPLETED_COMPLIANT", COMPLETED_NON_COMPLIANT: "COMPLETED_NON_COMPLIANT", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", WAITING_FOR_DATA_COLLECTION: "WAITING_FOR_DATA_COLLECTION" }; var ResourceType = { ACCOUNT_SETTINGS: "ACCOUNT_SETTINGS", CA_CERTIFICATE: "CA_CERTIFICATE", CLIENT_ID: "CLIENT_ID", COGNITO_IDENTITY_POOL: "COGNITO_IDENTITY_POOL", DEVICE_CERTIFICATE: "DEVICE_CERTIFICATE", IAM_ROLE: "IAM_ROLE", IOT_POLICY: "IOT_POLICY", ISSUER_CERTIFICATE: "ISSUER_CERTIFICATE", ROLE_ALIAS: "ROLE_ALIAS" }; var AuditFindingSeverity = { CRITICAL: "CRITICAL", HIGH: "HIGH", LOW: "LOW", MEDIUM: "MEDIUM" }; var AuditFrequency = { BIWEEKLY: "BIWEEKLY", DAILY: "DAILY", MONTHLY: "MONTHLY", WEEKLY: "WEEKLY" }; var AuditMitigationActionsExecutionStatus = { CANCELED: "CANCELED", COMPLETED: "COMPLETED", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", PENDING: "PENDING", SKIPPED: "SKIPPED" }; var AuditMitigationActionsTaskStatus = { CANCELED: "CANCELED", COMPLETED: "COMPLETED", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS" }; var AuditNotificationType = { SNS: "SNS" }; var AuditTaskStatus = { CANCELED: "CANCELED", COMPLETED: "COMPLETED", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS" }; var AuditTaskType = { ON_DEMAND_AUDIT_TASK: "ON_DEMAND_AUDIT_TASK", SCHEDULED_AUDIT_TASK: "SCHEDULED_AUDIT_TASK" }; var AuthDecision = { ALLOWED: "ALLOWED", EXPLICIT_DENY: "EXPLICIT_DENY", IMPLICIT_DENY: "IMPLICIT_DENY" }; var AuthorizerStatus = { ACTIVE: "ACTIVE", INACTIVE: "INACTIVE" }; var AutoRegistrationStatus = { DISABLE: "DISABLE", ENABLE: "ENABLE" }; var _InvalidStateTransitionException = class _InvalidStateTransitionException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "InvalidStateTransitionException", $fault: "client", ...opts }); this.name = "InvalidStateTransitionException"; this.$fault = "client"; Object.setPrototypeOf(this, _InvalidStateTransitionException.prototype); } }; __name(_InvalidStateTransitionException, "InvalidStateTransitionException"); var InvalidStateTransitionException = _InvalidStateTransitionException; var _ConflictingResourceUpdateException = class _ConflictingResourceUpdateException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "ConflictingResourceUpdateException", $fault: "client", ...opts }); this.name = "ConflictingResourceUpdateException"; this.$fault = "client"; Object.setPrototypeOf(this, _ConflictingResourceUpdateException.prototype); } }; __name(_ConflictingResourceUpdateException, "ConflictingResourceUpdateException"); var ConflictingResourceUpdateException = _ConflictingResourceUpdateException; var _InternalException = class _InternalException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "InternalException", $fault: "server", ...opts }); this.name = "InternalException"; this.$fault = "server"; Object.setPrototypeOf(this, _InternalException.prototype); } }; __name(_InternalException, "InternalException"); var InternalException = _InternalException; var _ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "ResourceAlreadyExistsException", $fault: "client", ...opts }); this.name = "ResourceAlreadyExistsException"; this.$fault = "client"; Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype); this.resourceId = opts.resourceId; this.resourceArn = opts.resourceArn; } }; __name(_ResourceAlreadyExistsException, "ResourceAlreadyExistsException"); var ResourceAlreadyExistsException = _ResourceAlreadyExistsException; var CertificateProviderOperation = { CreateCertificateFromCsr: "CreateCertificateFromCsr" }; var CustomMetricType = { IP_ADDRESS_LIST: "ip-address-list", NUMBER: "number", NUMBER_LIST: "number-list", STRING_LIST: "string-list" }; var DimensionType = { TOPIC_FILTER: "TOPIC_FILTER" }; var _CertificateValidationException = class _CertificateValidationException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "CertificateValidationException", $fault: "client", ...opts }); this.name = "CertificateValidationException"; this.$fault = "client"; Object.setPrototypeOf(this, _CertificateValidationException.prototype); } }; __name(_CertificateValidationException, "CertificateValidationException"); var CertificateValidationException = _CertificateValidationException; var ServiceType = { CREDENTIAL_PROVIDER: "CREDENTIAL_PROVIDER", DATA: "DATA", JOBS: "JOBS" }; var _InvalidQueryException = class _InvalidQueryException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "InvalidQueryException", $fault: "client", ...opts }); this.name = "InvalidQueryException"; this.$fault = "client"; Object.setPrototypeOf(this, _InvalidQueryException.prototype); } }; __name(_InvalidQueryException, "InvalidQueryException"); var InvalidQueryException = _InvalidQueryException; var FleetMetricUnit = { Bits: "Bits", BitsSecond: "Bits/Second", Bytes: "Bytes", BytesSecond: "Bytes/Second", Count: "Count", CountSecond: "Count/Second", Gigabits: "Gigabits", GigabitsSecond: "Gigabits/Second", Gigabytes: "Gigabytes", GigabytesSecond: "Gigabytes/Second", Kilobits: "Kilobits", KilobitsSecond: "Kilobits/Second", Kilobytes: "Kilobytes", KilobytesSecond: "Kilobytes/Second", Megabits: "Megabits", MegabitsSecond: "Megabits/Second", Megabytes: "Megabytes", MegabytesSecond: "Megabytes/Second", Microseconds: "Microseconds", Milliseconds: "Milliseconds", None: "None", Percent: "Percent", Seconds: "Seconds", Terabits: "Terabits", TerabitsSecond: "Terabits/Second", Terabytes: "Terabytes", TerabytesSecond: "Terabytes/Second" }; var _IndexNotReadyException = class _IndexNotReadyException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "IndexNotReadyException", $fault: "client", ...opts }); this.name = "IndexNotReadyException"; this.$fault = "client"; Object.setPrototypeOf(this, _IndexNotReadyException.prototype); } }; __name(_IndexNotReadyException, "IndexNotReadyException"); var IndexNotReadyException = _IndexNotReadyException; var _InvalidAggregationException = class _InvalidAggregationException extends IoTServiceException { /** * @internal */ constructor(opts) { super({ name: "InvalidAggregationException", $fault: "client", ...opts }); this.name = "InvalidAggregationException"; this.$fault = "client"; Object.setPrototypeOf(this, _InvalidAggregationException.prototype); } }; __name(_InvalidAggregationException, "InvalidA