UNPKG

@aws-sdk/client-iot

Version:

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

1,139 lines (1,118 loc) 720 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 index_exports = {}; __export(index_exports, { AbortAction: () => AbortAction, AcceptCertificateTransferCommand: () => AcceptCertificateTransferCommand, ActionType: () => ActionType, AddThingToBillingGroupCommand: () => AddThingToBillingGroupCommand, AddThingToThingGroupCommand: () => AddThingToThingGroupCommand, AggregationTypeName: () => AggregationTypeName, AlertTargetType: () => AlertTargetType, ApplicationProtocol: () => ApplicationProtocol, AssetPropertyVariant: () => AssetPropertyVariant, AssociateSbomWithPackageVersionCommand: () => AssociateSbomWithPackageVersionCommand, 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, AuthenticationType: () => AuthenticationType, 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, CommandExecutionStatus: () => CommandExecutionStatus, CommandNamespace: () => CommandNamespace, ComparisonOperator: () => ComparisonOperator, ConfidenceLevel: () => ConfidenceLevel, ConfigName: () => ConfigName, ConfirmTopicRuleDestinationCommand: () => ConfirmTopicRuleDestinationCommand, ConflictException: () => ConflictException, ConflictingResourceUpdateException: () => ConflictingResourceUpdateException, CreateAuditSuppressionCommand: () => CreateAuditSuppressionCommand, CreateAuthorizerCommand: () => CreateAuthorizerCommand, CreateBillingGroupCommand: () => CreateBillingGroupCommand, CreateCertificateFromCsrCommand: () => CreateCertificateFromCsrCommand, CreateCertificateProviderCommand: () => CreateCertificateProviderCommand, CreateCommandCommand: () => CreateCommandCommand, 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, DeleteCommandCommand: () => DeleteCommandCommand, DeleteCommandExecutionCommand: () => DeleteCommandExecutionCommand, 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, DisassociateSbomFromPackageVersionCommand: () => DisassociateSbomFromPackageVersionCommand, DisconnectReasonValue: () => DisconnectReasonValue, DomainConfigurationStatus: () => DomainConfigurationStatus, DomainType: () => DomainType, DynamicGroupStatus: () => DynamicGroupStatus, DynamoKeyType: () => DynamoKeyType, EnableTopicRuleCommand: () => EnableTopicRuleCommand, EventType: () => EventType, FieldType: () => FieldType, FleetMetricUnit: () => FleetMetricUnit, GetBehaviorModelTrainingSummariesCommand: () => GetBehaviorModelTrainingSummariesCommand, GetBucketsAggregationCommand: () => GetBucketsAggregationCommand, GetCardinalityCommand: () => GetCardinalityCommand, GetCommandCommand: () => GetCommandCommand, GetCommandExecutionCommand: () => GetCommandExecutionCommand, 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, GetThingConnectivityDataCommand: () => GetThingConnectivityDataCommand, GetThingConnectivityDataRequestFilterSensitiveLog: () => GetThingConnectivityDataRequestFilterSensitiveLog, GetThingConnectivityDataResponseFilterSensitiveLog: () => GetThingConnectivityDataResponseFilterSensitiveLog, 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, ListCommandExecutionsCommand: () => ListCommandExecutionsCommand, ListCommandsCommand: () => ListCommandsCommand, 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, ListPrincipalThingsV2Command: () => ListPrincipalThingsV2Command, ListProvisioningTemplateVersionsCommand: () => ListProvisioningTemplateVersionsCommand, ListProvisioningTemplatesCommand: () => ListProvisioningTemplatesCommand, ListRelatedResourcesForAuditFindingCommand: () => ListRelatedResourcesForAuditFindingCommand, ListRoleAliasesCommand: () => ListRoleAliasesCommand, ListSbomValidationResultsCommand: () => ListSbomValidationResultsCommand, ListScheduledAuditsCommand: () => ListScheduledAuditsCommand, ListSecurityProfilesCommand: () => ListSecurityProfilesCommand, ListSecurityProfilesForTargetCommand: () => ListSecurityProfilesForTargetCommand, ListStreamsCommand: () => ListStreamsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListTargetsForPolicyCommand: () => ListTargetsForPolicyCommand, ListTargetsForSecurityProfileCommand: () => ListTargetsForSecurityProfileCommand, ListThingGroupsCommand: () => ListThingGroupsCommand, ListThingGroupsForThingCommand: () => ListThingGroupsForThingCommand, ListThingPrincipalsCommand: () => ListThingPrincipalsCommand, ListThingPrincipalsV2Command: () => ListThingPrincipalsV2Command, 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, SbomValidationErrorCode: () => SbomValidationErrorCode, SbomValidationResult: () => SbomValidationResult, SbomValidationStatus: () => SbomValidationStatus, SearchIndexCommand: () => SearchIndexCommand, ServerCertificateStatus: () => ServerCertificateStatus, ServiceQuotaExceededException: () => ServiceQuotaExceededException, ServiceType: () => ServiceType, ServiceUnavailableException: () => ServiceUnavailableException, SetDefaultAuthorizerCommand: () => SetDefaultAuthorizerCommand, SetDefaultPolicyVersionCommand: () => SetDefaultPolicyVersionCommand, SetLoggingOptionsCommand: () => SetLoggingOptionsCommand, SetV2LoggingLevelCommand: () => SetV2LoggingLevelCommand, SetV2LoggingOptionsCommand: () => SetV2LoggingOptionsCommand, SortOrder: () => SortOrder, 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, ThingPrincipalType: () => ThingPrincipalType, 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, UpdateCommandCommand: () => UpdateCommandCommand, 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, UpdateThingTypeCommand: () => UpdateThingTypeCommand, 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, paginateListCommandExecutions: () => paginateListCommandExecutions, paginateListCommands: () => paginateListCommands, 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, paginateListPrincipalThingsV2: () => paginateListPrincipalThingsV2, paginateListProvisioningTemplateVersions: () => paginateListProvisioningTemplateVersions, paginateListProvisioningTemplates: () => paginateListProvisioningTemplates, paginateListRelatedResourcesForAuditFinding: () => paginateListRelatedResourcesForAuditFinding, paginateListRoleAliases: () => paginateListRoleAliases, paginateListSbomValidationResults: () => paginateListSbomValidationResults, paginateListScheduledAudits: () => paginateListScheduledAudits, paginateListSecurityProfiles: () => paginateListSecurityProfiles, paginateListSecurityProfilesForTarget: () => paginateListSecurityProfilesForTarget, paginateListStreams: () => paginateListStreams, paginateListTagsForResource: () => paginateListTagsForResource, paginateListTargetsForPolicy: () => paginateListTargetsForPolicy, paginateListTargetsForSecurityProfile: () => paginateListTargetsForSecurityProfile, paginateListThingGroups: () => paginateListThingGroups, paginateListThingGroupsForThing: () => paginateListThingGroupsForThing, paginateListThingPrincipals: () => paginateListThingPrincipals, paginateListThingPrincipalsV2: () => paginateListThingPrincipalsV2, paginateListThingRegistrationTaskReports: () => paginateListThingRegistrationTaskReports, paginateListThingRegistrationTasks: () => paginateListThingRegistrationTasks, paginateListThingTypes: () => paginateListThingTypes, paginateListThings: () => paginateListThings, paginateListThingsInBillingGroup: () => paginateListThingsInBillingGroup, paginateListThingsInThingGroup: () => paginateListThingsInThingGroup, paginateListTopicRuleDestinations: () => paginateListTopicRuleDestinations, paginateListTopicRules: () => paginateListTopicRules, paginateListV2LoggingLevels: () => paginateListV2LoggingLevels, paginateListViolationEvents: () => paginateListViolationEvents }); module.exports = __toCommonJS(index_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 Object.assign(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 resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( 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 extends import_smithy_client.Client { static { __name(this, "IoTClient"); } /** * The resolved configuration of IoTClient class. This is resolved and normalized from the {@link IoTClientConfig | constructor configuration interface}. */ config; constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); super(_config_0); this.initConfig = _config_0; 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?.extensions || []); 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: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); 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(); } }; // 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 { static { __name(this, "IoTServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _IoTServiceException.prototype); } }; // 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 { static { __name(this, "InternalFailureException"); } name = "InternalFailureException"; $fault = "server"; /** * @internal */ constructor(opts) { super({ name: "InternalFailureException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalFailureException.prototype); } }; var InvalidRequestException = class _InvalidRequestException extends IoTServiceException { static { __name(this, "InvalidRequestException"); } name = "InvalidRequestException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "InvalidRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidRequestException.prototype); } }; var ResourceNotFoundException = class _ResourceNotFoundException extends IoTServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); } }; var ServiceUnavailableException = class _ServiceUnavailableException extends IoTServiceException { static { __name(this, "ServiceUnavailableException"); } name = "ServiceUnavailableException"; $fault = "server"; /** * @internal */ constructor(opts) { super({ name: "ServiceUnavailableException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _ServiceUnavailableException.prototype); } }; var ThrottlingException = class _ThrottlingException extends IoTServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); } }; var TransferAlreadyCompletedException = class _TransferAlreadyCompletedException extends IoTServiceException { static { __name(this, "TransferAlreadyCompletedException"); } name = "TransferAlreadyCompletedException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "TransferAlreadyCompletedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TransferAlreadyCompletedException.prototype); } }; var UnauthorizedException = class _UnauthorizedException extends IoTServiceException { static { __name(this, "UnauthorizedException"); } name = "UnauthorizedException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "UnauthorizedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _UnauthorizedException.prototype); } }; 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 ApplicationProtocol = { DEFAULT: "DEFAULT", HTTPS: "HTTPS", MQTT_WSS: "MQTT_WSS", SECURE_MQTT: "SECURE_MQTT" }; var SbomValidationStatus = { FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", SUCCEEDED: "SUCCEEDED" }; var ConflictException = class _ConflictException extends IoTServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; /** * <p>A resource with the same name already exists.</p> * @public */ resourceId; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); this.resourceId = opts.resourceId; } }; var InternalServerException = class _InternalServerException extends IoTServiceException { static { __name(this, "InternalServerException"); } name = "InternalServerException"; $fault = "server"; /** * @internal */ constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServerException.prototype); } }; var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends IoTServiceException { static { __name(this, "ServiceQuotaExceededException"); } name = "ServiceQuotaExceededException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); } }; var ValidationException = class _ValidationException extends IoTServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); } }; var LimitExceededException = class _LimitExceededException extends IoTServiceException { static { __name(this, "LimitExceededException"); } name = "LimitExceededException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "LimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _LimitExceededException.prototype); } }; var VersionConflictException = class _VersionConflictException extends IoTServiceException { static { __name(this, "VersionConflictException"); } name = "VersionConflictException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "VersionConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _VersionConflictException.prototype); } }; var ThingPrincipalType = { EXCLUSIVE_THING: "EXCLUSIVE_THING", NON_EXCLUSIVE_THING: "NON_EXCLUSIVE_THING" }; var ConfigName = { CERT_AGE_THRESHOLD_IN_DAYS: "CERT_AGE_THRESHOLD_IN_DAYS", CERT_EXPIRATION_THRESHOLD_IN_DAYS: "CERT_EXPIRATION_THRESHOLD_IN_DAYS" }; 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 AuthenticationType = { AWS_SIGV4: "AWS_SIGV4", AWS_X509: "AWS_X509", CUSTOM_AUTH: "CUSTOM_AUTH", CUSTOM_AUTH_X509: "CUSTOM_AUTH_X509", DEFAULT: "DEFAULT" }; var AuthorizerStatus = { ACTIVE: "ACTIVE", INACTIVE: "INACTIVE" }; var AutoRegistrationStatus = { DISABLE: "DISABLE", ENABLE: "ENABLE" }; var InvalidStateTransitionException = class _InvalidStateTransitionException extends IoTServiceException { static { __name(this, "InvalidStateTransitionException"); } name = "InvalidStateTransitionException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "InvalidStateTransitionException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidStateTransitionException.prototype); } }; var ConflictingResourceUpdateException = class _ConflictingResourceUpdateException extends IoTServiceException { static { __name(this, "ConflictingResourceUpdateException"); } name = "ConflictingResourceUpdateException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ConflictingResourceUpdateException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictingResourceUpdateException.prototype); } }; var InternalException = class _InternalException extends IoTServiceException { static { __name(this, "InternalException"); } name = "InternalException"; $fault = "server"; /** * @internal */ constructor(opts) { super({ name: "InternalException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalException.prototype); } }; var ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends IoTServiceException { static { __name(this, "ResourceAlreadyExistsEx