@aws-sdk/client-iot 3.183.0 → 3.186.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/IoT.js +957 -950
- package/dist-es/IoTClient.js +29 -23
- package/dist-es/commands/AcceptCertificateTransferCommand.js +29 -22
- package/dist-es/commands/AddThingToBillingGroupCommand.js +28 -21
- package/dist-es/commands/AddThingToThingGroupCommand.js +28 -21
- package/dist-es/commands/AssociateTargetsWithJobCommand.js +28 -21
- package/dist-es/commands/AttachPolicyCommand.js +29 -22
- package/dist-es/commands/AttachPrincipalPolicyCommand.js +29 -22
- package/dist-es/commands/AttachSecurityProfileCommand.js +28 -21
- package/dist-es/commands/AttachThingPrincipalCommand.js +28 -21
- package/dist-es/commands/CancelAuditMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/CancelAuditTaskCommand.js +28 -21
- package/dist-es/commands/CancelCertificateTransferCommand.js +29 -22
- package/dist-es/commands/CancelDetectMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/CancelJobCommand.js +28 -21
- package/dist-es/commands/CancelJobExecutionCommand.js +29 -22
- package/dist-es/commands/ClearDefaultAuthorizerCommand.js +28 -21
- package/dist-es/commands/ConfirmTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/CreateAuditSuppressionCommand.js +28 -21
- package/dist-es/commands/CreateAuthorizerCommand.js +28 -21
- package/dist-es/commands/CreateBillingGroupCommand.js +28 -21
- package/dist-es/commands/CreateCertificateFromCsrCommand.js +28 -21
- package/dist-es/commands/CreateCustomMetricCommand.js +28 -21
- package/dist-es/commands/CreateDimensionCommand.js +28 -21
- package/dist-es/commands/CreateDomainConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateDynamicThingGroupCommand.js +28 -21
- package/dist-es/commands/CreateFleetMetricCommand.js +28 -21
- package/dist-es/commands/CreateJobCommand.js +28 -21
- package/dist-es/commands/CreateJobTemplateCommand.js +28 -21
- package/dist-es/commands/CreateKeysAndCertificateCommand.js +28 -21
- package/dist-es/commands/CreateMitigationActionCommand.js +28 -21
- package/dist-es/commands/CreateOTAUpdateCommand.js +28 -21
- package/dist-es/commands/CreatePolicyCommand.js +28 -21
- package/dist-es/commands/CreatePolicyVersionCommand.js +28 -21
- package/dist-es/commands/CreateProvisioningClaimCommand.js +28 -21
- package/dist-es/commands/CreateProvisioningTemplateCommand.js +28 -21
- package/dist-es/commands/CreateProvisioningTemplateVersionCommand.js +28 -21
- package/dist-es/commands/CreateRoleAliasCommand.js +28 -21
- package/dist-es/commands/CreateScheduledAuditCommand.js +28 -21
- package/dist-es/commands/CreateSecurityProfileCommand.js +28 -21
- package/dist-es/commands/CreateStreamCommand.js +28 -21
- package/dist-es/commands/CreateThingCommand.js +28 -21
- package/dist-es/commands/CreateThingGroupCommand.js +28 -21
- package/dist-es/commands/CreateThingTypeCommand.js +28 -21
- package/dist-es/commands/CreateTopicRuleCommand.js +29 -22
- package/dist-es/commands/CreateTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/DeleteAccountAuditConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteAuditSuppressionCommand.js +28 -21
- package/dist-es/commands/DeleteAuthorizerCommand.js +28 -21
- package/dist-es/commands/DeleteBillingGroupCommand.js +28 -21
- package/dist-es/commands/DeleteCACertificateCommand.js +28 -21
- package/dist-es/commands/DeleteCertificateCommand.js +29 -22
- package/dist-es/commands/DeleteCustomMetricCommand.js +28 -21
- package/dist-es/commands/DeleteDimensionCommand.js +28 -21
- package/dist-es/commands/DeleteDomainConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteDynamicThingGroupCommand.js +28 -21
- package/dist-es/commands/DeleteFleetMetricCommand.js +29 -22
- package/dist-es/commands/DeleteJobCommand.js +29 -22
- package/dist-es/commands/DeleteJobExecutionCommand.js +29 -22
- package/dist-es/commands/DeleteJobTemplateCommand.js +29 -22
- package/dist-es/commands/DeleteMitigationActionCommand.js +28 -21
- package/dist-es/commands/DeleteOTAUpdateCommand.js +28 -21
- package/dist-es/commands/DeletePolicyCommand.js +29 -22
- package/dist-es/commands/DeletePolicyVersionCommand.js +29 -22
- package/dist-es/commands/DeleteProvisioningTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteProvisioningTemplateVersionCommand.js +28 -21
- package/dist-es/commands/DeleteRegistrationCodeCommand.js +28 -21
- package/dist-es/commands/DeleteRoleAliasCommand.js +28 -21
- package/dist-es/commands/DeleteScheduledAuditCommand.js +28 -21
- package/dist-es/commands/DeleteSecurityProfileCommand.js +28 -21
- package/dist-es/commands/DeleteStreamCommand.js +28 -21
- package/dist-es/commands/DeleteThingCommand.js +28 -21
- package/dist-es/commands/DeleteThingGroupCommand.js +28 -21
- package/dist-es/commands/DeleteThingTypeCommand.js +28 -21
- package/dist-es/commands/DeleteTopicRuleCommand.js +29 -22
- package/dist-es/commands/DeleteTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/DeleteV2LoggingLevelCommand.js +29 -22
- package/dist-es/commands/DeprecateThingTypeCommand.js +28 -21
- package/dist-es/commands/DescribeAccountAuditConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeAuditFindingCommand.js +28 -21
- package/dist-es/commands/DescribeAuditMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/DescribeAuditSuppressionCommand.js +28 -21
- package/dist-es/commands/DescribeAuditTaskCommand.js +28 -21
- package/dist-es/commands/DescribeAuthorizerCommand.js +28 -21
- package/dist-es/commands/DescribeBillingGroupCommand.js +28 -21
- package/dist-es/commands/DescribeCACertificateCommand.js +28 -21
- package/dist-es/commands/DescribeCertificateCommand.js +28 -21
- package/dist-es/commands/DescribeCustomMetricCommand.js +28 -21
- package/dist-es/commands/DescribeDefaultAuthorizerCommand.js +28 -21
- package/dist-es/commands/DescribeDetectMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/DescribeDimensionCommand.js +28 -21
- package/dist-es/commands/DescribeDomainConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeEndpointCommand.js +28 -21
- package/dist-es/commands/DescribeEventConfigurationsCommand.js +28 -21
- package/dist-es/commands/DescribeFleetMetricCommand.js +28 -21
- package/dist-es/commands/DescribeIndexCommand.js +28 -21
- package/dist-es/commands/DescribeJobCommand.js +28 -21
- package/dist-es/commands/DescribeJobExecutionCommand.js +28 -21
- package/dist-es/commands/DescribeJobTemplateCommand.js +28 -21
- package/dist-es/commands/DescribeManagedJobTemplateCommand.js +28 -21
- package/dist-es/commands/DescribeMitigationActionCommand.js +28 -21
- package/dist-es/commands/DescribeProvisioningTemplateCommand.js +28 -21
- package/dist-es/commands/DescribeProvisioningTemplateVersionCommand.js +28 -21
- package/dist-es/commands/DescribeRoleAliasCommand.js +28 -21
- package/dist-es/commands/DescribeScheduledAuditCommand.js +28 -21
- package/dist-es/commands/DescribeSecurityProfileCommand.js +28 -21
- package/dist-es/commands/DescribeStreamCommand.js +28 -21
- package/dist-es/commands/DescribeThingCommand.js +28 -21
- package/dist-es/commands/DescribeThingGroupCommand.js +28 -21
- package/dist-es/commands/DescribeThingRegistrationTaskCommand.js +28 -21
- package/dist-es/commands/DescribeThingTypeCommand.js +28 -21
- package/dist-es/commands/DetachPolicyCommand.js +29 -22
- package/dist-es/commands/DetachPrincipalPolicyCommand.js +29 -22
- package/dist-es/commands/DetachSecurityProfileCommand.js +28 -21
- package/dist-es/commands/DetachThingPrincipalCommand.js +28 -21
- package/dist-es/commands/DisableTopicRuleCommand.js +29 -22
- package/dist-es/commands/EnableTopicRuleCommand.js +29 -22
- package/dist-es/commands/GetBehaviorModelTrainingSummariesCommand.js +28 -21
- package/dist-es/commands/GetBucketsAggregationCommand.js +28 -21
- package/dist-es/commands/GetCardinalityCommand.js +28 -21
- package/dist-es/commands/GetEffectivePoliciesCommand.js +28 -21
- package/dist-es/commands/GetIndexingConfigurationCommand.js +28 -21
- package/dist-es/commands/GetJobDocumentCommand.js +28 -21
- package/dist-es/commands/GetLoggingOptionsCommand.js +28 -21
- package/dist-es/commands/GetOTAUpdateCommand.js +28 -21
- package/dist-es/commands/GetPercentilesCommand.js +28 -21
- package/dist-es/commands/GetPolicyCommand.js +28 -21
- package/dist-es/commands/GetPolicyVersionCommand.js +28 -21
- package/dist-es/commands/GetRegistrationCodeCommand.js +28 -21
- package/dist-es/commands/GetStatisticsCommand.js +28 -21
- package/dist-es/commands/GetTopicRuleCommand.js +28 -21
- package/dist-es/commands/GetTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/GetV2LoggingOptionsCommand.js +28 -21
- package/dist-es/commands/ListActiveViolationsCommand.js +28 -21
- package/dist-es/commands/ListAttachedPoliciesCommand.js +28 -21
- package/dist-es/commands/ListAuditFindingsCommand.js +28 -21
- package/dist-es/commands/ListAuditMitigationActionsExecutionsCommand.js +28 -21
- package/dist-es/commands/ListAuditMitigationActionsTasksCommand.js +28 -21
- package/dist-es/commands/ListAuditSuppressionsCommand.js +28 -21
- package/dist-es/commands/ListAuditTasksCommand.js +28 -21
- package/dist-es/commands/ListAuthorizersCommand.js +28 -21
- package/dist-es/commands/ListBillingGroupsCommand.js +28 -21
- package/dist-es/commands/ListCACertificatesCommand.js +28 -21
- package/dist-es/commands/ListCertificatesByCACommand.js +28 -21
- package/dist-es/commands/ListCertificatesCommand.js +28 -21
- package/dist-es/commands/ListCustomMetricsCommand.js +28 -21
- package/dist-es/commands/ListDetectMitigationActionsExecutionsCommand.js +28 -21
- package/dist-es/commands/ListDetectMitigationActionsTasksCommand.js +28 -21
- package/dist-es/commands/ListDimensionsCommand.js +28 -21
- package/dist-es/commands/ListDomainConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListFleetMetricsCommand.js +28 -21
- package/dist-es/commands/ListIndicesCommand.js +28 -21
- package/dist-es/commands/ListJobExecutionsForJobCommand.js +28 -21
- package/dist-es/commands/ListJobExecutionsForThingCommand.js +28 -21
- package/dist-es/commands/ListJobTemplatesCommand.js +28 -21
- package/dist-es/commands/ListJobsCommand.js +28 -21
- package/dist-es/commands/ListManagedJobTemplatesCommand.js +28 -21
- package/dist-es/commands/ListMetricValuesCommand.js +28 -21
- package/dist-es/commands/ListMitigationActionsCommand.js +28 -21
- package/dist-es/commands/ListOTAUpdatesCommand.js +28 -21
- package/dist-es/commands/ListOutgoingCertificatesCommand.js +28 -21
- package/dist-es/commands/ListPoliciesCommand.js +28 -21
- package/dist-es/commands/ListPolicyPrincipalsCommand.js +28 -21
- package/dist-es/commands/ListPolicyVersionsCommand.js +28 -21
- package/dist-es/commands/ListPrincipalPoliciesCommand.js +28 -21
- package/dist-es/commands/ListPrincipalThingsCommand.js +28 -21
- package/dist-es/commands/ListProvisioningTemplateVersionsCommand.js +28 -21
- package/dist-es/commands/ListProvisioningTemplatesCommand.js +28 -21
- package/dist-es/commands/ListRoleAliasesCommand.js +28 -21
- package/dist-es/commands/ListScheduledAuditsCommand.js +28 -21
- package/dist-es/commands/ListSecurityProfilesCommand.js +28 -21
- package/dist-es/commands/ListSecurityProfilesForTargetCommand.js +28 -21
- package/dist-es/commands/ListStreamsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTargetsForPolicyCommand.js +28 -21
- package/dist-es/commands/ListTargetsForSecurityProfileCommand.js +28 -21
- package/dist-es/commands/ListThingGroupsCommand.js +28 -21
- package/dist-es/commands/ListThingGroupsForThingCommand.js +28 -21
- package/dist-es/commands/ListThingPrincipalsCommand.js +28 -21
- package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +28 -21
- package/dist-es/commands/ListThingRegistrationTasksCommand.js +28 -21
- package/dist-es/commands/ListThingTypesCommand.js +28 -21
- package/dist-es/commands/ListThingsCommand.js +28 -21
- package/dist-es/commands/ListThingsInBillingGroupCommand.js +28 -21
- package/dist-es/commands/ListThingsInThingGroupCommand.js +28 -21
- package/dist-es/commands/ListTopicRuleDestinationsCommand.js +28 -21
- package/dist-es/commands/ListTopicRulesCommand.js +28 -21
- package/dist-es/commands/ListV2LoggingLevelsCommand.js +28 -21
- package/dist-es/commands/ListViolationEventsCommand.js +28 -21
- package/dist-es/commands/PutVerificationStateOnViolationCommand.js +28 -21
- package/dist-es/commands/RegisterCACertificateCommand.js +28 -21
- package/dist-es/commands/RegisterCertificateCommand.js +28 -21
- package/dist-es/commands/RegisterCertificateWithoutCACommand.js +28 -21
- package/dist-es/commands/RegisterThingCommand.js +28 -21
- package/dist-es/commands/RejectCertificateTransferCommand.js +29 -22
- package/dist-es/commands/RemoveThingFromBillingGroupCommand.js +28 -21
- package/dist-es/commands/RemoveThingFromThingGroupCommand.js +28 -21
- package/dist-es/commands/ReplaceTopicRuleCommand.js +29 -22
- package/dist-es/commands/SearchIndexCommand.js +28 -21
- package/dist-es/commands/SetDefaultAuthorizerCommand.js +28 -21
- package/dist-es/commands/SetDefaultPolicyVersionCommand.js +29 -22
- package/dist-es/commands/SetLoggingOptionsCommand.js +29 -22
- package/dist-es/commands/SetV2LoggingLevelCommand.js +29 -22
- package/dist-es/commands/SetV2LoggingOptionsCommand.js +29 -22
- package/dist-es/commands/StartAuditMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/StartDetectMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/StartOnDemandAuditTaskCommand.js +28 -21
- package/dist-es/commands/StartThingRegistrationTaskCommand.js +28 -21
- package/dist-es/commands/StopThingRegistrationTaskCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/TestAuthorizationCommand.js +28 -21
- package/dist-es/commands/TestInvokeAuthorizerCommand.js +28 -21
- package/dist-es/commands/TransferCertificateCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAccountAuditConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateAuditSuppressionCommand.js +28 -21
- package/dist-es/commands/UpdateAuthorizerCommand.js +28 -21
- package/dist-es/commands/UpdateBillingGroupCommand.js +28 -21
- package/dist-es/commands/UpdateCACertificateCommand.js +29 -22
- package/dist-es/commands/UpdateCertificateCommand.js +29 -22
- package/dist-es/commands/UpdateCustomMetricCommand.js +28 -21
- package/dist-es/commands/UpdateDimensionCommand.js +28 -21
- package/dist-es/commands/UpdateDomainConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateDynamicThingGroupCommand.js +28 -21
- package/dist-es/commands/UpdateEventConfigurationsCommand.js +28 -21
- package/dist-es/commands/UpdateFleetMetricCommand.js +29 -22
- package/dist-es/commands/UpdateIndexingConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateJobCommand.js +29 -22
- package/dist-es/commands/UpdateMitigationActionCommand.js +28 -21
- package/dist-es/commands/UpdateProvisioningTemplateCommand.js +28 -21
- package/dist-es/commands/UpdateRoleAliasCommand.js +28 -21
- package/dist-es/commands/UpdateScheduledAuditCommand.js +28 -21
- package/dist-es/commands/UpdateSecurityProfileCommand.js +28 -21
- package/dist-es/commands/UpdateStreamCommand.js +28 -21
- package/dist-es/commands/UpdateThingCommand.js +28 -21
- package/dist-es/commands/UpdateThingGroupCommand.js +28 -21
- package/dist-es/commands/UpdateThingGroupsForThingCommand.js +28 -21
- package/dist-es/commands/UpdateTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/ValidateSecurityProfileBehaviorsCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IoTServiceException.js +10 -5
- package/dist-es/models/models_0.js +497 -970
- package/dist-es/models/models_1.js +297 -844
- package/dist-es/models/models_2.js +198 -459
- package/dist-es/pagination/GetBehaviorModelTrainingSummariesPaginator.js +68 -25
- package/dist-es/pagination/ListActiveViolationsPaginator.js +68 -25
- package/dist-es/pagination/ListAttachedPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListAuditFindingsPaginator.js +68 -25
- package/dist-es/pagination/ListAuditMitigationActionsExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListAuditMitigationActionsTasksPaginator.js +68 -25
- package/dist-es/pagination/ListAuditSuppressionsPaginator.js +68 -25
- package/dist-es/pagination/ListAuditTasksPaginator.js +68 -25
- package/dist-es/pagination/ListAuthorizersPaginator.js +68 -25
- package/dist-es/pagination/ListBillingGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListCACertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListCertificatesByCAPaginator.js +68 -25
- package/dist-es/pagination/ListCertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListCustomMetricsPaginator.js +68 -25
- package/dist-es/pagination/ListDetectMitigationActionsExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListDetectMitigationActionsTasksPaginator.js +68 -25
- package/dist-es/pagination/ListDimensionsPaginator.js +68 -25
- package/dist-es/pagination/ListDomainConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/ListFleetMetricsPaginator.js +68 -25
- package/dist-es/pagination/ListIndicesPaginator.js +68 -25
- package/dist-es/pagination/ListJobExecutionsForJobPaginator.js +68 -25
- package/dist-es/pagination/ListJobExecutionsForThingPaginator.js +68 -25
- package/dist-es/pagination/ListJobTemplatesPaginator.js +68 -25
- package/dist-es/pagination/ListJobsPaginator.js +68 -25
- package/dist-es/pagination/ListMetricValuesPaginator.js +68 -25
- package/dist-es/pagination/ListMitigationActionsPaginator.js +68 -25
- package/dist-es/pagination/ListOTAUpdatesPaginator.js +68 -25
- package/dist-es/pagination/ListOutgoingCertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListPolicyPrincipalsPaginator.js +68 -25
- package/dist-es/pagination/ListPrincipalPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListPrincipalThingsPaginator.js +68 -25
- package/dist-es/pagination/ListProvisioningTemplateVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListProvisioningTemplatesPaginator.js +68 -25
- package/dist-es/pagination/ListRoleAliasesPaginator.js +68 -25
- package/dist-es/pagination/ListScheduledAuditsPaginator.js +68 -25
- package/dist-es/pagination/ListSecurityProfilesForTargetPaginator.js +68 -25
- package/dist-es/pagination/ListSecurityProfilesPaginator.js +68 -25
- package/dist-es/pagination/ListStreamsPaginator.js +68 -25
- package/dist-es/pagination/ListTagsForResourcePaginator.js +67 -24
- package/dist-es/pagination/ListTargetsForPolicyPaginator.js +68 -25
- package/dist-es/pagination/ListTargetsForSecurityProfilePaginator.js +68 -25
- package/dist-es/pagination/ListThingGroupsForThingPaginator.js +68 -25
- package/dist-es/pagination/ListThingGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListThingPrincipalsPaginator.js +68 -25
- package/dist-es/pagination/ListThingRegistrationTaskReportsPaginator.js +68 -25
- package/dist-es/pagination/ListThingRegistrationTasksPaginator.js +68 -25
- package/dist-es/pagination/ListThingTypesPaginator.js +68 -25
- package/dist-es/pagination/ListThingsInBillingGroupPaginator.js +68 -25
- package/dist-es/pagination/ListThingsInThingGroupPaginator.js +68 -25
- package/dist-es/pagination/ListThingsPaginator.js +68 -25
- package/dist-es/pagination/ListTopicRuleDestinationsPaginator.js +68 -25
- package/dist-es/pagination/ListTopicRulesPaginator.js +68 -25
- package/dist-es/pagination/ListV2LoggingLevelsPaginator.js +68 -25
- package/dist-es/pagination/ListViolationEventsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +25265 -18403
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
package/dist-es/IoT.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AcceptCertificateTransferCommand, } from "./commands/AcceptCertificateTransferCommand";
|
|
2
3
|
import { AddThingToBillingGroupCommand, } from "./commands/AddThingToBillingGroupCommand";
|
|
3
4
|
import { AddThingToThingGroupCommand, } from "./commands/AddThingToThingGroupCommand";
|
|
@@ -236,3323 +237,3329 @@ import { UpdateThingGroupsForThingCommand, } from "./commands/UpdateThingGroupsF
|
|
|
236
237
|
import { UpdateTopicRuleDestinationCommand, } from "./commands/UpdateTopicRuleDestinationCommand";
|
|
237
238
|
import { ValidateSecurityProfileBehaviorsCommand, } from "./commands/ValidateSecurityProfileBehaviorsCommand";
|
|
238
239
|
import { IoTClient } from "./IoTClient";
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
var IoT = (function (_super) {
|
|
241
|
+
__extends(IoT, _super);
|
|
242
|
+
function IoT() {
|
|
243
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
244
|
+
}
|
|
245
|
+
IoT.prototype.acceptCertificateTransfer = function (args, optionsOrCb, cb) {
|
|
246
|
+
var command = new AcceptCertificateTransferCommand(args);
|
|
242
247
|
if (typeof optionsOrCb === "function") {
|
|
243
248
|
this.send(command, optionsOrCb);
|
|
244
249
|
}
|
|
245
250
|
else if (typeof cb === "function") {
|
|
246
251
|
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error(
|
|
252
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
248
253
|
this.send(command, optionsOrCb || {}, cb);
|
|
249
254
|
}
|
|
250
255
|
else {
|
|
251
256
|
return this.send(command, optionsOrCb);
|
|
252
257
|
}
|
|
253
|
-
}
|
|
254
|
-
addThingToBillingGroup(args, optionsOrCb, cb) {
|
|
255
|
-
|
|
258
|
+
};
|
|
259
|
+
IoT.prototype.addThingToBillingGroup = function (args, optionsOrCb, cb) {
|
|
260
|
+
var command = new AddThingToBillingGroupCommand(args);
|
|
256
261
|
if (typeof optionsOrCb === "function") {
|
|
257
262
|
this.send(command, optionsOrCb);
|
|
258
263
|
}
|
|
259
264
|
else if (typeof cb === "function") {
|
|
260
265
|
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error(
|
|
266
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
262
267
|
this.send(command, optionsOrCb || {}, cb);
|
|
263
268
|
}
|
|
264
269
|
else {
|
|
265
270
|
return this.send(command, optionsOrCb);
|
|
266
271
|
}
|
|
267
|
-
}
|
|
268
|
-
addThingToThingGroup(args, optionsOrCb, cb) {
|
|
269
|
-
|
|
272
|
+
};
|
|
273
|
+
IoT.prototype.addThingToThingGroup = function (args, optionsOrCb, cb) {
|
|
274
|
+
var command = new AddThingToThingGroupCommand(args);
|
|
270
275
|
if (typeof optionsOrCb === "function") {
|
|
271
276
|
this.send(command, optionsOrCb);
|
|
272
277
|
}
|
|
273
278
|
else if (typeof cb === "function") {
|
|
274
279
|
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error(
|
|
280
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
276
281
|
this.send(command, optionsOrCb || {}, cb);
|
|
277
282
|
}
|
|
278
283
|
else {
|
|
279
284
|
return this.send(command, optionsOrCb);
|
|
280
285
|
}
|
|
281
|
-
}
|
|
282
|
-
associateTargetsWithJob(args, optionsOrCb, cb) {
|
|
283
|
-
|
|
286
|
+
};
|
|
287
|
+
IoT.prototype.associateTargetsWithJob = function (args, optionsOrCb, cb) {
|
|
288
|
+
var command = new AssociateTargetsWithJobCommand(args);
|
|
284
289
|
if (typeof optionsOrCb === "function") {
|
|
285
290
|
this.send(command, optionsOrCb);
|
|
286
291
|
}
|
|
287
292
|
else if (typeof cb === "function") {
|
|
288
293
|
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error(
|
|
294
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
290
295
|
this.send(command, optionsOrCb || {}, cb);
|
|
291
296
|
}
|
|
292
297
|
else {
|
|
293
298
|
return this.send(command, optionsOrCb);
|
|
294
299
|
}
|
|
295
|
-
}
|
|
296
|
-
attachPolicy(args, optionsOrCb, cb) {
|
|
297
|
-
|
|
300
|
+
};
|
|
301
|
+
IoT.prototype.attachPolicy = function (args, optionsOrCb, cb) {
|
|
302
|
+
var command = new AttachPolicyCommand(args);
|
|
298
303
|
if (typeof optionsOrCb === "function") {
|
|
299
304
|
this.send(command, optionsOrCb);
|
|
300
305
|
}
|
|
301
306
|
else if (typeof cb === "function") {
|
|
302
307
|
if (typeof optionsOrCb !== "object")
|
|
303
|
-
throw new Error(
|
|
308
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
304
309
|
this.send(command, optionsOrCb || {}, cb);
|
|
305
310
|
}
|
|
306
311
|
else {
|
|
307
312
|
return this.send(command, optionsOrCb);
|
|
308
313
|
}
|
|
309
|
-
}
|
|
310
|
-
attachPrincipalPolicy(args, optionsOrCb, cb) {
|
|
311
|
-
|
|
314
|
+
};
|
|
315
|
+
IoT.prototype.attachPrincipalPolicy = function (args, optionsOrCb, cb) {
|
|
316
|
+
var command = new AttachPrincipalPolicyCommand(args);
|
|
312
317
|
if (typeof optionsOrCb === "function") {
|
|
313
318
|
this.send(command, optionsOrCb);
|
|
314
319
|
}
|
|
315
320
|
else if (typeof cb === "function") {
|
|
316
321
|
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error(
|
|
322
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
318
323
|
this.send(command, optionsOrCb || {}, cb);
|
|
319
324
|
}
|
|
320
325
|
else {
|
|
321
326
|
return this.send(command, optionsOrCb);
|
|
322
327
|
}
|
|
323
|
-
}
|
|
324
|
-
attachSecurityProfile(args, optionsOrCb, cb) {
|
|
325
|
-
|
|
328
|
+
};
|
|
329
|
+
IoT.prototype.attachSecurityProfile = function (args, optionsOrCb, cb) {
|
|
330
|
+
var command = new AttachSecurityProfileCommand(args);
|
|
326
331
|
if (typeof optionsOrCb === "function") {
|
|
327
332
|
this.send(command, optionsOrCb);
|
|
328
333
|
}
|
|
329
334
|
else if (typeof cb === "function") {
|
|
330
335
|
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error(
|
|
336
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
332
337
|
this.send(command, optionsOrCb || {}, cb);
|
|
333
338
|
}
|
|
334
339
|
else {
|
|
335
340
|
return this.send(command, optionsOrCb);
|
|
336
341
|
}
|
|
337
|
-
}
|
|
338
|
-
attachThingPrincipal(args, optionsOrCb, cb) {
|
|
339
|
-
|
|
342
|
+
};
|
|
343
|
+
IoT.prototype.attachThingPrincipal = function (args, optionsOrCb, cb) {
|
|
344
|
+
var command = new AttachThingPrincipalCommand(args);
|
|
340
345
|
if (typeof optionsOrCb === "function") {
|
|
341
346
|
this.send(command, optionsOrCb);
|
|
342
347
|
}
|
|
343
348
|
else if (typeof cb === "function") {
|
|
344
349
|
if (typeof optionsOrCb !== "object")
|
|
345
|
-
throw new Error(
|
|
350
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
346
351
|
this.send(command, optionsOrCb || {}, cb);
|
|
347
352
|
}
|
|
348
353
|
else {
|
|
349
354
|
return this.send(command, optionsOrCb);
|
|
350
355
|
}
|
|
351
|
-
}
|
|
352
|
-
cancelAuditMitigationActionsTask(args, optionsOrCb, cb) {
|
|
353
|
-
|
|
356
|
+
};
|
|
357
|
+
IoT.prototype.cancelAuditMitigationActionsTask = function (args, optionsOrCb, cb) {
|
|
358
|
+
var command = new CancelAuditMitigationActionsTaskCommand(args);
|
|
354
359
|
if (typeof optionsOrCb === "function") {
|
|
355
360
|
this.send(command, optionsOrCb);
|
|
356
361
|
}
|
|
357
362
|
else if (typeof cb === "function") {
|
|
358
363
|
if (typeof optionsOrCb !== "object")
|
|
359
|
-
throw new Error(
|
|
364
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
360
365
|
this.send(command, optionsOrCb || {}, cb);
|
|
361
366
|
}
|
|
362
367
|
else {
|
|
363
368
|
return this.send(command, optionsOrCb);
|
|
364
369
|
}
|
|
365
|
-
}
|
|
366
|
-
cancelAuditTask(args, optionsOrCb, cb) {
|
|
367
|
-
|
|
370
|
+
};
|
|
371
|
+
IoT.prototype.cancelAuditTask = function (args, optionsOrCb, cb) {
|
|
372
|
+
var command = new CancelAuditTaskCommand(args);
|
|
368
373
|
if (typeof optionsOrCb === "function") {
|
|
369
374
|
this.send(command, optionsOrCb);
|
|
370
375
|
}
|
|
371
376
|
else if (typeof cb === "function") {
|
|
372
377
|
if (typeof optionsOrCb !== "object")
|
|
373
|
-
throw new Error(
|
|
378
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
374
379
|
this.send(command, optionsOrCb || {}, cb);
|
|
375
380
|
}
|
|
376
381
|
else {
|
|
377
382
|
return this.send(command, optionsOrCb);
|
|
378
383
|
}
|
|
379
|
-
}
|
|
380
|
-
cancelCertificateTransfer(args, optionsOrCb, cb) {
|
|
381
|
-
|
|
384
|
+
};
|
|
385
|
+
IoT.prototype.cancelCertificateTransfer = function (args, optionsOrCb, cb) {
|
|
386
|
+
var command = new CancelCertificateTransferCommand(args);
|
|
382
387
|
if (typeof optionsOrCb === "function") {
|
|
383
388
|
this.send(command, optionsOrCb);
|
|
384
389
|
}
|
|
385
390
|
else if (typeof cb === "function") {
|
|
386
391
|
if (typeof optionsOrCb !== "object")
|
|
387
|
-
throw new Error(
|
|
392
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
388
393
|
this.send(command, optionsOrCb || {}, cb);
|
|
389
394
|
}
|
|
390
395
|
else {
|
|
391
396
|
return this.send(command, optionsOrCb);
|
|
392
397
|
}
|
|
393
|
-
}
|
|
394
|
-
cancelDetectMitigationActionsTask(args, optionsOrCb, cb) {
|
|
395
|
-
|
|
398
|
+
};
|
|
399
|
+
IoT.prototype.cancelDetectMitigationActionsTask = function (args, optionsOrCb, cb) {
|
|
400
|
+
var command = new CancelDetectMitigationActionsTaskCommand(args);
|
|
396
401
|
if (typeof optionsOrCb === "function") {
|
|
397
402
|
this.send(command, optionsOrCb);
|
|
398
403
|
}
|
|
399
404
|
else if (typeof cb === "function") {
|
|
400
405
|
if (typeof optionsOrCb !== "object")
|
|
401
|
-
throw new Error(
|
|
406
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
402
407
|
this.send(command, optionsOrCb || {}, cb);
|
|
403
408
|
}
|
|
404
409
|
else {
|
|
405
410
|
return this.send(command, optionsOrCb);
|
|
406
411
|
}
|
|
407
|
-
}
|
|
408
|
-
cancelJob(args, optionsOrCb, cb) {
|
|
409
|
-
|
|
412
|
+
};
|
|
413
|
+
IoT.prototype.cancelJob = function (args, optionsOrCb, cb) {
|
|
414
|
+
var command = new CancelJobCommand(args);
|
|
410
415
|
if (typeof optionsOrCb === "function") {
|
|
411
416
|
this.send(command, optionsOrCb);
|
|
412
417
|
}
|
|
413
418
|
else if (typeof cb === "function") {
|
|
414
419
|
if (typeof optionsOrCb !== "object")
|
|
415
|
-
throw new Error(
|
|
420
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
416
421
|
this.send(command, optionsOrCb || {}, cb);
|
|
417
422
|
}
|
|
418
423
|
else {
|
|
419
424
|
return this.send(command, optionsOrCb);
|
|
420
425
|
}
|
|
421
|
-
}
|
|
422
|
-
cancelJobExecution(args, optionsOrCb, cb) {
|
|
423
|
-
|
|
426
|
+
};
|
|
427
|
+
IoT.prototype.cancelJobExecution = function (args, optionsOrCb, cb) {
|
|
428
|
+
var command = new CancelJobExecutionCommand(args);
|
|
424
429
|
if (typeof optionsOrCb === "function") {
|
|
425
430
|
this.send(command, optionsOrCb);
|
|
426
431
|
}
|
|
427
432
|
else if (typeof cb === "function") {
|
|
428
433
|
if (typeof optionsOrCb !== "object")
|
|
429
|
-
throw new Error(
|
|
434
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
430
435
|
this.send(command, optionsOrCb || {}, cb);
|
|
431
436
|
}
|
|
432
437
|
else {
|
|
433
438
|
return this.send(command, optionsOrCb);
|
|
434
439
|
}
|
|
435
|
-
}
|
|
436
|
-
clearDefaultAuthorizer(args, optionsOrCb, cb) {
|
|
437
|
-
|
|
440
|
+
};
|
|
441
|
+
IoT.prototype.clearDefaultAuthorizer = function (args, optionsOrCb, cb) {
|
|
442
|
+
var command = new ClearDefaultAuthorizerCommand(args);
|
|
438
443
|
if (typeof optionsOrCb === "function") {
|
|
439
444
|
this.send(command, optionsOrCb);
|
|
440
445
|
}
|
|
441
446
|
else if (typeof cb === "function") {
|
|
442
447
|
if (typeof optionsOrCb !== "object")
|
|
443
|
-
throw new Error(
|
|
448
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
444
449
|
this.send(command, optionsOrCb || {}, cb);
|
|
445
450
|
}
|
|
446
451
|
else {
|
|
447
452
|
return this.send(command, optionsOrCb);
|
|
448
453
|
}
|
|
449
|
-
}
|
|
450
|
-
confirmTopicRuleDestination(args, optionsOrCb, cb) {
|
|
451
|
-
|
|
454
|
+
};
|
|
455
|
+
IoT.prototype.confirmTopicRuleDestination = function (args, optionsOrCb, cb) {
|
|
456
|
+
var command = new ConfirmTopicRuleDestinationCommand(args);
|
|
452
457
|
if (typeof optionsOrCb === "function") {
|
|
453
458
|
this.send(command, optionsOrCb);
|
|
454
459
|
}
|
|
455
460
|
else if (typeof cb === "function") {
|
|
456
461
|
if (typeof optionsOrCb !== "object")
|
|
457
|
-
throw new Error(
|
|
462
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
458
463
|
this.send(command, optionsOrCb || {}, cb);
|
|
459
464
|
}
|
|
460
465
|
else {
|
|
461
466
|
return this.send(command, optionsOrCb);
|
|
462
467
|
}
|
|
463
|
-
}
|
|
464
|
-
createAuditSuppression(args, optionsOrCb, cb) {
|
|
465
|
-
|
|
468
|
+
};
|
|
469
|
+
IoT.prototype.createAuditSuppression = function (args, optionsOrCb, cb) {
|
|
470
|
+
var command = new CreateAuditSuppressionCommand(args);
|
|
466
471
|
if (typeof optionsOrCb === "function") {
|
|
467
472
|
this.send(command, optionsOrCb);
|
|
468
473
|
}
|
|
469
474
|
else if (typeof cb === "function") {
|
|
470
475
|
if (typeof optionsOrCb !== "object")
|
|
471
|
-
throw new Error(
|
|
476
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
472
477
|
this.send(command, optionsOrCb || {}, cb);
|
|
473
478
|
}
|
|
474
479
|
else {
|
|
475
480
|
return this.send(command, optionsOrCb);
|
|
476
481
|
}
|
|
477
|
-
}
|
|
478
|
-
createAuthorizer(args, optionsOrCb, cb) {
|
|
479
|
-
|
|
482
|
+
};
|
|
483
|
+
IoT.prototype.createAuthorizer = function (args, optionsOrCb, cb) {
|
|
484
|
+
var command = new CreateAuthorizerCommand(args);
|
|
480
485
|
if (typeof optionsOrCb === "function") {
|
|
481
486
|
this.send(command, optionsOrCb);
|
|
482
487
|
}
|
|
483
488
|
else if (typeof cb === "function") {
|
|
484
489
|
if (typeof optionsOrCb !== "object")
|
|
485
|
-
throw new Error(
|
|
490
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
486
491
|
this.send(command, optionsOrCb || {}, cb);
|
|
487
492
|
}
|
|
488
493
|
else {
|
|
489
494
|
return this.send(command, optionsOrCb);
|
|
490
495
|
}
|
|
491
|
-
}
|
|
492
|
-
createBillingGroup(args, optionsOrCb, cb) {
|
|
493
|
-
|
|
496
|
+
};
|
|
497
|
+
IoT.prototype.createBillingGroup = function (args, optionsOrCb, cb) {
|
|
498
|
+
var command = new CreateBillingGroupCommand(args);
|
|
494
499
|
if (typeof optionsOrCb === "function") {
|
|
495
500
|
this.send(command, optionsOrCb);
|
|
496
501
|
}
|
|
497
502
|
else if (typeof cb === "function") {
|
|
498
503
|
if (typeof optionsOrCb !== "object")
|
|
499
|
-
throw new Error(
|
|
504
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
500
505
|
this.send(command, optionsOrCb || {}, cb);
|
|
501
506
|
}
|
|
502
507
|
else {
|
|
503
508
|
return this.send(command, optionsOrCb);
|
|
504
509
|
}
|
|
505
|
-
}
|
|
506
|
-
createCertificateFromCsr(args, optionsOrCb, cb) {
|
|
507
|
-
|
|
510
|
+
};
|
|
511
|
+
IoT.prototype.createCertificateFromCsr = function (args, optionsOrCb, cb) {
|
|
512
|
+
var command = new CreateCertificateFromCsrCommand(args);
|
|
508
513
|
if (typeof optionsOrCb === "function") {
|
|
509
514
|
this.send(command, optionsOrCb);
|
|
510
515
|
}
|
|
511
516
|
else if (typeof cb === "function") {
|
|
512
517
|
if (typeof optionsOrCb !== "object")
|
|
513
|
-
throw new Error(
|
|
518
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
514
519
|
this.send(command, optionsOrCb || {}, cb);
|
|
515
520
|
}
|
|
516
521
|
else {
|
|
517
522
|
return this.send(command, optionsOrCb);
|
|
518
523
|
}
|
|
519
|
-
}
|
|
520
|
-
createCustomMetric(args, optionsOrCb, cb) {
|
|
521
|
-
|
|
524
|
+
};
|
|
525
|
+
IoT.prototype.createCustomMetric = function (args, optionsOrCb, cb) {
|
|
526
|
+
var command = new CreateCustomMetricCommand(args);
|
|
522
527
|
if (typeof optionsOrCb === "function") {
|
|
523
528
|
this.send(command, optionsOrCb);
|
|
524
529
|
}
|
|
525
530
|
else if (typeof cb === "function") {
|
|
526
531
|
if (typeof optionsOrCb !== "object")
|
|
527
|
-
throw new Error(
|
|
532
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
528
533
|
this.send(command, optionsOrCb || {}, cb);
|
|
529
534
|
}
|
|
530
535
|
else {
|
|
531
536
|
return this.send(command, optionsOrCb);
|
|
532
537
|
}
|
|
533
|
-
}
|
|
534
|
-
createDimension(args, optionsOrCb, cb) {
|
|
535
|
-
|
|
538
|
+
};
|
|
539
|
+
IoT.prototype.createDimension = function (args, optionsOrCb, cb) {
|
|
540
|
+
var command = new CreateDimensionCommand(args);
|
|
536
541
|
if (typeof optionsOrCb === "function") {
|
|
537
542
|
this.send(command, optionsOrCb);
|
|
538
543
|
}
|
|
539
544
|
else if (typeof cb === "function") {
|
|
540
545
|
if (typeof optionsOrCb !== "object")
|
|
541
|
-
throw new Error(
|
|
546
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
542
547
|
this.send(command, optionsOrCb || {}, cb);
|
|
543
548
|
}
|
|
544
549
|
else {
|
|
545
550
|
return this.send(command, optionsOrCb);
|
|
546
551
|
}
|
|
547
|
-
}
|
|
548
|
-
createDomainConfiguration(args, optionsOrCb, cb) {
|
|
549
|
-
|
|
552
|
+
};
|
|
553
|
+
IoT.prototype.createDomainConfiguration = function (args, optionsOrCb, cb) {
|
|
554
|
+
var command = new CreateDomainConfigurationCommand(args);
|
|
550
555
|
if (typeof optionsOrCb === "function") {
|
|
551
556
|
this.send(command, optionsOrCb);
|
|
552
557
|
}
|
|
553
558
|
else if (typeof cb === "function") {
|
|
554
559
|
if (typeof optionsOrCb !== "object")
|
|
555
|
-
throw new Error(
|
|
560
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
556
561
|
this.send(command, optionsOrCb || {}, cb);
|
|
557
562
|
}
|
|
558
563
|
else {
|
|
559
564
|
return this.send(command, optionsOrCb);
|
|
560
565
|
}
|
|
561
|
-
}
|
|
562
|
-
createDynamicThingGroup(args, optionsOrCb, cb) {
|
|
563
|
-
|
|
566
|
+
};
|
|
567
|
+
IoT.prototype.createDynamicThingGroup = function (args, optionsOrCb, cb) {
|
|
568
|
+
var command = new CreateDynamicThingGroupCommand(args);
|
|
564
569
|
if (typeof optionsOrCb === "function") {
|
|
565
570
|
this.send(command, optionsOrCb);
|
|
566
571
|
}
|
|
567
572
|
else if (typeof cb === "function") {
|
|
568
573
|
if (typeof optionsOrCb !== "object")
|
|
569
|
-
throw new Error(
|
|
574
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
570
575
|
this.send(command, optionsOrCb || {}, cb);
|
|
571
576
|
}
|
|
572
577
|
else {
|
|
573
578
|
return this.send(command, optionsOrCb);
|
|
574
579
|
}
|
|
575
|
-
}
|
|
576
|
-
createFleetMetric(args, optionsOrCb, cb) {
|
|
577
|
-
|
|
580
|
+
};
|
|
581
|
+
IoT.prototype.createFleetMetric = function (args, optionsOrCb, cb) {
|
|
582
|
+
var command = new CreateFleetMetricCommand(args);
|
|
578
583
|
if (typeof optionsOrCb === "function") {
|
|
579
584
|
this.send(command, optionsOrCb);
|
|
580
585
|
}
|
|
581
586
|
else if (typeof cb === "function") {
|
|
582
587
|
if (typeof optionsOrCb !== "object")
|
|
583
|
-
throw new Error(
|
|
588
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
584
589
|
this.send(command, optionsOrCb || {}, cb);
|
|
585
590
|
}
|
|
586
591
|
else {
|
|
587
592
|
return this.send(command, optionsOrCb);
|
|
588
593
|
}
|
|
589
|
-
}
|
|
590
|
-
createJob(args, optionsOrCb, cb) {
|
|
591
|
-
|
|
594
|
+
};
|
|
595
|
+
IoT.prototype.createJob = function (args, optionsOrCb, cb) {
|
|
596
|
+
var command = new CreateJobCommand(args);
|
|
592
597
|
if (typeof optionsOrCb === "function") {
|
|
593
598
|
this.send(command, optionsOrCb);
|
|
594
599
|
}
|
|
595
600
|
else if (typeof cb === "function") {
|
|
596
601
|
if (typeof optionsOrCb !== "object")
|
|
597
|
-
throw new Error(
|
|
602
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
598
603
|
this.send(command, optionsOrCb || {}, cb);
|
|
599
604
|
}
|
|
600
605
|
else {
|
|
601
606
|
return this.send(command, optionsOrCb);
|
|
602
607
|
}
|
|
603
|
-
}
|
|
604
|
-
createJobTemplate(args, optionsOrCb, cb) {
|
|
605
|
-
|
|
608
|
+
};
|
|
609
|
+
IoT.prototype.createJobTemplate = function (args, optionsOrCb, cb) {
|
|
610
|
+
var command = new CreateJobTemplateCommand(args);
|
|
606
611
|
if (typeof optionsOrCb === "function") {
|
|
607
612
|
this.send(command, optionsOrCb);
|
|
608
613
|
}
|
|
609
614
|
else if (typeof cb === "function") {
|
|
610
615
|
if (typeof optionsOrCb !== "object")
|
|
611
|
-
throw new Error(
|
|
616
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
612
617
|
this.send(command, optionsOrCb || {}, cb);
|
|
613
618
|
}
|
|
614
619
|
else {
|
|
615
620
|
return this.send(command, optionsOrCb);
|
|
616
621
|
}
|
|
617
|
-
}
|
|
618
|
-
createKeysAndCertificate(args, optionsOrCb, cb) {
|
|
619
|
-
|
|
622
|
+
};
|
|
623
|
+
IoT.prototype.createKeysAndCertificate = function (args, optionsOrCb, cb) {
|
|
624
|
+
var command = new CreateKeysAndCertificateCommand(args);
|
|
620
625
|
if (typeof optionsOrCb === "function") {
|
|
621
626
|
this.send(command, optionsOrCb);
|
|
622
627
|
}
|
|
623
628
|
else if (typeof cb === "function") {
|
|
624
629
|
if (typeof optionsOrCb !== "object")
|
|
625
|
-
throw new Error(
|
|
630
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
626
631
|
this.send(command, optionsOrCb || {}, cb);
|
|
627
632
|
}
|
|
628
633
|
else {
|
|
629
634
|
return this.send(command, optionsOrCb);
|
|
630
635
|
}
|
|
631
|
-
}
|
|
632
|
-
createMitigationAction(args, optionsOrCb, cb) {
|
|
633
|
-
|
|
636
|
+
};
|
|
637
|
+
IoT.prototype.createMitigationAction = function (args, optionsOrCb, cb) {
|
|
638
|
+
var command = new CreateMitigationActionCommand(args);
|
|
634
639
|
if (typeof optionsOrCb === "function") {
|
|
635
640
|
this.send(command, optionsOrCb);
|
|
636
641
|
}
|
|
637
642
|
else if (typeof cb === "function") {
|
|
638
643
|
if (typeof optionsOrCb !== "object")
|
|
639
|
-
throw new Error(
|
|
644
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
640
645
|
this.send(command, optionsOrCb || {}, cb);
|
|
641
646
|
}
|
|
642
647
|
else {
|
|
643
648
|
return this.send(command, optionsOrCb);
|
|
644
649
|
}
|
|
645
|
-
}
|
|
646
|
-
createOTAUpdate(args, optionsOrCb, cb) {
|
|
647
|
-
|
|
650
|
+
};
|
|
651
|
+
IoT.prototype.createOTAUpdate = function (args, optionsOrCb, cb) {
|
|
652
|
+
var command = new CreateOTAUpdateCommand(args);
|
|
648
653
|
if (typeof optionsOrCb === "function") {
|
|
649
654
|
this.send(command, optionsOrCb);
|
|
650
655
|
}
|
|
651
656
|
else if (typeof cb === "function") {
|
|
652
657
|
if (typeof optionsOrCb !== "object")
|
|
653
|
-
throw new Error(
|
|
658
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
654
659
|
this.send(command, optionsOrCb || {}, cb);
|
|
655
660
|
}
|
|
656
661
|
else {
|
|
657
662
|
return this.send(command, optionsOrCb);
|
|
658
663
|
}
|
|
659
|
-
}
|
|
660
|
-
createPolicy(args, optionsOrCb, cb) {
|
|
661
|
-
|
|
664
|
+
};
|
|
665
|
+
IoT.prototype.createPolicy = function (args, optionsOrCb, cb) {
|
|
666
|
+
var command = new CreatePolicyCommand(args);
|
|
662
667
|
if (typeof optionsOrCb === "function") {
|
|
663
668
|
this.send(command, optionsOrCb);
|
|
664
669
|
}
|
|
665
670
|
else if (typeof cb === "function") {
|
|
666
671
|
if (typeof optionsOrCb !== "object")
|
|
667
|
-
throw new Error(
|
|
672
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
668
673
|
this.send(command, optionsOrCb || {}, cb);
|
|
669
674
|
}
|
|
670
675
|
else {
|
|
671
676
|
return this.send(command, optionsOrCb);
|
|
672
677
|
}
|
|
673
|
-
}
|
|
674
|
-
createPolicyVersion(args, optionsOrCb, cb) {
|
|
675
|
-
|
|
678
|
+
};
|
|
679
|
+
IoT.prototype.createPolicyVersion = function (args, optionsOrCb, cb) {
|
|
680
|
+
var command = new CreatePolicyVersionCommand(args);
|
|
676
681
|
if (typeof optionsOrCb === "function") {
|
|
677
682
|
this.send(command, optionsOrCb);
|
|
678
683
|
}
|
|
679
684
|
else if (typeof cb === "function") {
|
|
680
685
|
if (typeof optionsOrCb !== "object")
|
|
681
|
-
throw new Error(
|
|
686
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
682
687
|
this.send(command, optionsOrCb || {}, cb);
|
|
683
688
|
}
|
|
684
689
|
else {
|
|
685
690
|
return this.send(command, optionsOrCb);
|
|
686
691
|
}
|
|
687
|
-
}
|
|
688
|
-
createProvisioningClaim(args, optionsOrCb, cb) {
|
|
689
|
-
|
|
692
|
+
};
|
|
693
|
+
IoT.prototype.createProvisioningClaim = function (args, optionsOrCb, cb) {
|
|
694
|
+
var command = new CreateProvisioningClaimCommand(args);
|
|
690
695
|
if (typeof optionsOrCb === "function") {
|
|
691
696
|
this.send(command, optionsOrCb);
|
|
692
697
|
}
|
|
693
698
|
else if (typeof cb === "function") {
|
|
694
699
|
if (typeof optionsOrCb !== "object")
|
|
695
|
-
throw new Error(
|
|
700
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
696
701
|
this.send(command, optionsOrCb || {}, cb);
|
|
697
702
|
}
|
|
698
703
|
else {
|
|
699
704
|
return this.send(command, optionsOrCb);
|
|
700
705
|
}
|
|
701
|
-
}
|
|
702
|
-
createProvisioningTemplate(args, optionsOrCb, cb) {
|
|
703
|
-
|
|
706
|
+
};
|
|
707
|
+
IoT.prototype.createProvisioningTemplate = function (args, optionsOrCb, cb) {
|
|
708
|
+
var command = new CreateProvisioningTemplateCommand(args);
|
|
704
709
|
if (typeof optionsOrCb === "function") {
|
|
705
710
|
this.send(command, optionsOrCb);
|
|
706
711
|
}
|
|
707
712
|
else if (typeof cb === "function") {
|
|
708
713
|
if (typeof optionsOrCb !== "object")
|
|
709
|
-
throw new Error(
|
|
714
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
710
715
|
this.send(command, optionsOrCb || {}, cb);
|
|
711
716
|
}
|
|
712
717
|
else {
|
|
713
718
|
return this.send(command, optionsOrCb);
|
|
714
719
|
}
|
|
715
|
-
}
|
|
716
|
-
createProvisioningTemplateVersion(args, optionsOrCb, cb) {
|
|
717
|
-
|
|
720
|
+
};
|
|
721
|
+
IoT.prototype.createProvisioningTemplateVersion = function (args, optionsOrCb, cb) {
|
|
722
|
+
var command = new CreateProvisioningTemplateVersionCommand(args);
|
|
718
723
|
if (typeof optionsOrCb === "function") {
|
|
719
724
|
this.send(command, optionsOrCb);
|
|
720
725
|
}
|
|
721
726
|
else if (typeof cb === "function") {
|
|
722
727
|
if (typeof optionsOrCb !== "object")
|
|
723
|
-
throw new Error(
|
|
728
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
724
729
|
this.send(command, optionsOrCb || {}, cb);
|
|
725
730
|
}
|
|
726
731
|
else {
|
|
727
732
|
return this.send(command, optionsOrCb);
|
|
728
733
|
}
|
|
729
|
-
}
|
|
730
|
-
createRoleAlias(args, optionsOrCb, cb) {
|
|
731
|
-
|
|
734
|
+
};
|
|
735
|
+
IoT.prototype.createRoleAlias = function (args, optionsOrCb, cb) {
|
|
736
|
+
var command = new CreateRoleAliasCommand(args);
|
|
732
737
|
if (typeof optionsOrCb === "function") {
|
|
733
738
|
this.send(command, optionsOrCb);
|
|
734
739
|
}
|
|
735
740
|
else if (typeof cb === "function") {
|
|
736
741
|
if (typeof optionsOrCb !== "object")
|
|
737
|
-
throw new Error(
|
|
742
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
738
743
|
this.send(command, optionsOrCb || {}, cb);
|
|
739
744
|
}
|
|
740
745
|
else {
|
|
741
746
|
return this.send(command, optionsOrCb);
|
|
742
747
|
}
|
|
743
|
-
}
|
|
744
|
-
createScheduledAudit(args, optionsOrCb, cb) {
|
|
745
|
-
|
|
748
|
+
};
|
|
749
|
+
IoT.prototype.createScheduledAudit = function (args, optionsOrCb, cb) {
|
|
750
|
+
var command = new CreateScheduledAuditCommand(args);
|
|
746
751
|
if (typeof optionsOrCb === "function") {
|
|
747
752
|
this.send(command, optionsOrCb);
|
|
748
753
|
}
|
|
749
754
|
else if (typeof cb === "function") {
|
|
750
755
|
if (typeof optionsOrCb !== "object")
|
|
751
|
-
throw new Error(
|
|
756
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
752
757
|
this.send(command, optionsOrCb || {}, cb);
|
|
753
758
|
}
|
|
754
759
|
else {
|
|
755
760
|
return this.send(command, optionsOrCb);
|
|
756
761
|
}
|
|
757
|
-
}
|
|
758
|
-
createSecurityProfile(args, optionsOrCb, cb) {
|
|
759
|
-
|
|
762
|
+
};
|
|
763
|
+
IoT.prototype.createSecurityProfile = function (args, optionsOrCb, cb) {
|
|
764
|
+
var command = new CreateSecurityProfileCommand(args);
|
|
760
765
|
if (typeof optionsOrCb === "function") {
|
|
761
766
|
this.send(command, optionsOrCb);
|
|
762
767
|
}
|
|
763
768
|
else if (typeof cb === "function") {
|
|
764
769
|
if (typeof optionsOrCb !== "object")
|
|
765
|
-
throw new Error(
|
|
770
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
766
771
|
this.send(command, optionsOrCb || {}, cb);
|
|
767
772
|
}
|
|
768
773
|
else {
|
|
769
774
|
return this.send(command, optionsOrCb);
|
|
770
775
|
}
|
|
771
|
-
}
|
|
772
|
-
createStream(args, optionsOrCb, cb) {
|
|
773
|
-
|
|
776
|
+
};
|
|
777
|
+
IoT.prototype.createStream = function (args, optionsOrCb, cb) {
|
|
778
|
+
var command = new CreateStreamCommand(args);
|
|
774
779
|
if (typeof optionsOrCb === "function") {
|
|
775
780
|
this.send(command, optionsOrCb);
|
|
776
781
|
}
|
|
777
782
|
else if (typeof cb === "function") {
|
|
778
783
|
if (typeof optionsOrCb !== "object")
|
|
779
|
-
throw new Error(
|
|
784
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
780
785
|
this.send(command, optionsOrCb || {}, cb);
|
|
781
786
|
}
|
|
782
787
|
else {
|
|
783
788
|
return this.send(command, optionsOrCb);
|
|
784
789
|
}
|
|
785
|
-
}
|
|
786
|
-
createThing(args, optionsOrCb, cb) {
|
|
787
|
-
|
|
790
|
+
};
|
|
791
|
+
IoT.prototype.createThing = function (args, optionsOrCb, cb) {
|
|
792
|
+
var command = new CreateThingCommand(args);
|
|
788
793
|
if (typeof optionsOrCb === "function") {
|
|
789
794
|
this.send(command, optionsOrCb);
|
|
790
795
|
}
|
|
791
796
|
else if (typeof cb === "function") {
|
|
792
797
|
if (typeof optionsOrCb !== "object")
|
|
793
|
-
throw new Error(
|
|
798
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
794
799
|
this.send(command, optionsOrCb || {}, cb);
|
|
795
800
|
}
|
|
796
801
|
else {
|
|
797
802
|
return this.send(command, optionsOrCb);
|
|
798
803
|
}
|
|
799
|
-
}
|
|
800
|
-
createThingGroup(args, optionsOrCb, cb) {
|
|
801
|
-
|
|
804
|
+
};
|
|
805
|
+
IoT.prototype.createThingGroup = function (args, optionsOrCb, cb) {
|
|
806
|
+
var command = new CreateThingGroupCommand(args);
|
|
802
807
|
if (typeof optionsOrCb === "function") {
|
|
803
808
|
this.send(command, optionsOrCb);
|
|
804
809
|
}
|
|
805
810
|
else if (typeof cb === "function") {
|
|
806
811
|
if (typeof optionsOrCb !== "object")
|
|
807
|
-
throw new Error(
|
|
812
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
808
813
|
this.send(command, optionsOrCb || {}, cb);
|
|
809
814
|
}
|
|
810
815
|
else {
|
|
811
816
|
return this.send(command, optionsOrCb);
|
|
812
817
|
}
|
|
813
|
-
}
|
|
814
|
-
createThingType(args, optionsOrCb, cb) {
|
|
815
|
-
|
|
818
|
+
};
|
|
819
|
+
IoT.prototype.createThingType = function (args, optionsOrCb, cb) {
|
|
820
|
+
var command = new CreateThingTypeCommand(args);
|
|
816
821
|
if (typeof optionsOrCb === "function") {
|
|
817
822
|
this.send(command, optionsOrCb);
|
|
818
823
|
}
|
|
819
824
|
else if (typeof cb === "function") {
|
|
820
825
|
if (typeof optionsOrCb !== "object")
|
|
821
|
-
throw new Error(
|
|
826
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
822
827
|
this.send(command, optionsOrCb || {}, cb);
|
|
823
828
|
}
|
|
824
829
|
else {
|
|
825
830
|
return this.send(command, optionsOrCb);
|
|
826
831
|
}
|
|
827
|
-
}
|
|
828
|
-
createTopicRule(args, optionsOrCb, cb) {
|
|
829
|
-
|
|
832
|
+
};
|
|
833
|
+
IoT.prototype.createTopicRule = function (args, optionsOrCb, cb) {
|
|
834
|
+
var command = new CreateTopicRuleCommand(args);
|
|
830
835
|
if (typeof optionsOrCb === "function") {
|
|
831
836
|
this.send(command, optionsOrCb);
|
|
832
837
|
}
|
|
833
838
|
else if (typeof cb === "function") {
|
|
834
839
|
if (typeof optionsOrCb !== "object")
|
|
835
|
-
throw new Error(
|
|
840
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
836
841
|
this.send(command, optionsOrCb || {}, cb);
|
|
837
842
|
}
|
|
838
843
|
else {
|
|
839
844
|
return this.send(command, optionsOrCb);
|
|
840
845
|
}
|
|
841
|
-
}
|
|
842
|
-
createTopicRuleDestination(args, optionsOrCb, cb) {
|
|
843
|
-
|
|
846
|
+
};
|
|
847
|
+
IoT.prototype.createTopicRuleDestination = function (args, optionsOrCb, cb) {
|
|
848
|
+
var command = new CreateTopicRuleDestinationCommand(args);
|
|
844
849
|
if (typeof optionsOrCb === "function") {
|
|
845
850
|
this.send(command, optionsOrCb);
|
|
846
851
|
}
|
|
847
852
|
else if (typeof cb === "function") {
|
|
848
853
|
if (typeof optionsOrCb !== "object")
|
|
849
|
-
throw new Error(
|
|
854
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
850
855
|
this.send(command, optionsOrCb || {}, cb);
|
|
851
856
|
}
|
|
852
857
|
else {
|
|
853
858
|
return this.send(command, optionsOrCb);
|
|
854
859
|
}
|
|
855
|
-
}
|
|
856
|
-
deleteAccountAuditConfiguration(args, optionsOrCb, cb) {
|
|
857
|
-
|
|
860
|
+
};
|
|
861
|
+
IoT.prototype.deleteAccountAuditConfiguration = function (args, optionsOrCb, cb) {
|
|
862
|
+
var command = new DeleteAccountAuditConfigurationCommand(args);
|
|
858
863
|
if (typeof optionsOrCb === "function") {
|
|
859
864
|
this.send(command, optionsOrCb);
|
|
860
865
|
}
|
|
861
866
|
else if (typeof cb === "function") {
|
|
862
867
|
if (typeof optionsOrCb !== "object")
|
|
863
|
-
throw new Error(
|
|
868
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
864
869
|
this.send(command, optionsOrCb || {}, cb);
|
|
865
870
|
}
|
|
866
871
|
else {
|
|
867
872
|
return this.send(command, optionsOrCb);
|
|
868
873
|
}
|
|
869
|
-
}
|
|
870
|
-
deleteAuditSuppression(args, optionsOrCb, cb) {
|
|
871
|
-
|
|
874
|
+
};
|
|
875
|
+
IoT.prototype.deleteAuditSuppression = function (args, optionsOrCb, cb) {
|
|
876
|
+
var command = new DeleteAuditSuppressionCommand(args);
|
|
872
877
|
if (typeof optionsOrCb === "function") {
|
|
873
878
|
this.send(command, optionsOrCb);
|
|
874
879
|
}
|
|
875
880
|
else if (typeof cb === "function") {
|
|
876
881
|
if (typeof optionsOrCb !== "object")
|
|
877
|
-
throw new Error(
|
|
882
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
878
883
|
this.send(command, optionsOrCb || {}, cb);
|
|
879
884
|
}
|
|
880
885
|
else {
|
|
881
886
|
return this.send(command, optionsOrCb);
|
|
882
887
|
}
|
|
883
|
-
}
|
|
884
|
-
deleteAuthorizer(args, optionsOrCb, cb) {
|
|
885
|
-
|
|
888
|
+
};
|
|
889
|
+
IoT.prototype.deleteAuthorizer = function (args, optionsOrCb, cb) {
|
|
890
|
+
var command = new DeleteAuthorizerCommand(args);
|
|
886
891
|
if (typeof optionsOrCb === "function") {
|
|
887
892
|
this.send(command, optionsOrCb);
|
|
888
893
|
}
|
|
889
894
|
else if (typeof cb === "function") {
|
|
890
895
|
if (typeof optionsOrCb !== "object")
|
|
891
|
-
throw new Error(
|
|
896
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
892
897
|
this.send(command, optionsOrCb || {}, cb);
|
|
893
898
|
}
|
|
894
899
|
else {
|
|
895
900
|
return this.send(command, optionsOrCb);
|
|
896
901
|
}
|
|
897
|
-
}
|
|
898
|
-
deleteBillingGroup(args, optionsOrCb, cb) {
|
|
899
|
-
|
|
902
|
+
};
|
|
903
|
+
IoT.prototype.deleteBillingGroup = function (args, optionsOrCb, cb) {
|
|
904
|
+
var command = new DeleteBillingGroupCommand(args);
|
|
900
905
|
if (typeof optionsOrCb === "function") {
|
|
901
906
|
this.send(command, optionsOrCb);
|
|
902
907
|
}
|
|
903
908
|
else if (typeof cb === "function") {
|
|
904
909
|
if (typeof optionsOrCb !== "object")
|
|
905
|
-
throw new Error(
|
|
910
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
906
911
|
this.send(command, optionsOrCb || {}, cb);
|
|
907
912
|
}
|
|
908
913
|
else {
|
|
909
914
|
return this.send(command, optionsOrCb);
|
|
910
915
|
}
|
|
911
|
-
}
|
|
912
|
-
deleteCACertificate(args, optionsOrCb, cb) {
|
|
913
|
-
|
|
916
|
+
};
|
|
917
|
+
IoT.prototype.deleteCACertificate = function (args, optionsOrCb, cb) {
|
|
918
|
+
var command = new DeleteCACertificateCommand(args);
|
|
914
919
|
if (typeof optionsOrCb === "function") {
|
|
915
920
|
this.send(command, optionsOrCb);
|
|
916
921
|
}
|
|
917
922
|
else if (typeof cb === "function") {
|
|
918
923
|
if (typeof optionsOrCb !== "object")
|
|
919
|
-
throw new Error(
|
|
924
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
920
925
|
this.send(command, optionsOrCb || {}, cb);
|
|
921
926
|
}
|
|
922
927
|
else {
|
|
923
928
|
return this.send(command, optionsOrCb);
|
|
924
929
|
}
|
|
925
|
-
}
|
|
926
|
-
deleteCertificate(args, optionsOrCb, cb) {
|
|
927
|
-
|
|
930
|
+
};
|
|
931
|
+
IoT.prototype.deleteCertificate = function (args, optionsOrCb, cb) {
|
|
932
|
+
var command = new DeleteCertificateCommand(args);
|
|
928
933
|
if (typeof optionsOrCb === "function") {
|
|
929
934
|
this.send(command, optionsOrCb);
|
|
930
935
|
}
|
|
931
936
|
else if (typeof cb === "function") {
|
|
932
937
|
if (typeof optionsOrCb !== "object")
|
|
933
|
-
throw new Error(
|
|
938
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
934
939
|
this.send(command, optionsOrCb || {}, cb);
|
|
935
940
|
}
|
|
936
941
|
else {
|
|
937
942
|
return this.send(command, optionsOrCb);
|
|
938
943
|
}
|
|
939
|
-
}
|
|
940
|
-
deleteCustomMetric(args, optionsOrCb, cb) {
|
|
941
|
-
|
|
944
|
+
};
|
|
945
|
+
IoT.prototype.deleteCustomMetric = function (args, optionsOrCb, cb) {
|
|
946
|
+
var command = new DeleteCustomMetricCommand(args);
|
|
942
947
|
if (typeof optionsOrCb === "function") {
|
|
943
948
|
this.send(command, optionsOrCb);
|
|
944
949
|
}
|
|
945
950
|
else if (typeof cb === "function") {
|
|
946
951
|
if (typeof optionsOrCb !== "object")
|
|
947
|
-
throw new Error(
|
|
952
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
948
953
|
this.send(command, optionsOrCb || {}, cb);
|
|
949
954
|
}
|
|
950
955
|
else {
|
|
951
956
|
return this.send(command, optionsOrCb);
|
|
952
957
|
}
|
|
953
|
-
}
|
|
954
|
-
deleteDimension(args, optionsOrCb, cb) {
|
|
955
|
-
|
|
958
|
+
};
|
|
959
|
+
IoT.prototype.deleteDimension = function (args, optionsOrCb, cb) {
|
|
960
|
+
var command = new DeleteDimensionCommand(args);
|
|
956
961
|
if (typeof optionsOrCb === "function") {
|
|
957
962
|
this.send(command, optionsOrCb);
|
|
958
963
|
}
|
|
959
964
|
else if (typeof cb === "function") {
|
|
960
965
|
if (typeof optionsOrCb !== "object")
|
|
961
|
-
throw new Error(
|
|
966
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
962
967
|
this.send(command, optionsOrCb || {}, cb);
|
|
963
968
|
}
|
|
964
969
|
else {
|
|
965
970
|
return this.send(command, optionsOrCb);
|
|
966
971
|
}
|
|
967
|
-
}
|
|
968
|
-
deleteDomainConfiguration(args, optionsOrCb, cb) {
|
|
969
|
-
|
|
972
|
+
};
|
|
973
|
+
IoT.prototype.deleteDomainConfiguration = function (args, optionsOrCb, cb) {
|
|
974
|
+
var command = new DeleteDomainConfigurationCommand(args);
|
|
970
975
|
if (typeof optionsOrCb === "function") {
|
|
971
976
|
this.send(command, optionsOrCb);
|
|
972
977
|
}
|
|
973
978
|
else if (typeof cb === "function") {
|
|
974
979
|
if (typeof optionsOrCb !== "object")
|
|
975
|
-
throw new Error(
|
|
980
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
976
981
|
this.send(command, optionsOrCb || {}, cb);
|
|
977
982
|
}
|
|
978
983
|
else {
|
|
979
984
|
return this.send(command, optionsOrCb);
|
|
980
985
|
}
|
|
981
|
-
}
|
|
982
|
-
deleteDynamicThingGroup(args, optionsOrCb, cb) {
|
|
983
|
-
|
|
986
|
+
};
|
|
987
|
+
IoT.prototype.deleteDynamicThingGroup = function (args, optionsOrCb, cb) {
|
|
988
|
+
var command = new DeleteDynamicThingGroupCommand(args);
|
|
984
989
|
if (typeof optionsOrCb === "function") {
|
|
985
990
|
this.send(command, optionsOrCb);
|
|
986
991
|
}
|
|
987
992
|
else if (typeof cb === "function") {
|
|
988
993
|
if (typeof optionsOrCb !== "object")
|
|
989
|
-
throw new Error(
|
|
994
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
990
995
|
this.send(command, optionsOrCb || {}, cb);
|
|
991
996
|
}
|
|
992
997
|
else {
|
|
993
998
|
return this.send(command, optionsOrCb);
|
|
994
999
|
}
|
|
995
|
-
}
|
|
996
|
-
deleteFleetMetric(args, optionsOrCb, cb) {
|
|
997
|
-
|
|
1000
|
+
};
|
|
1001
|
+
IoT.prototype.deleteFleetMetric = function (args, optionsOrCb, cb) {
|
|
1002
|
+
var command = new DeleteFleetMetricCommand(args);
|
|
998
1003
|
if (typeof optionsOrCb === "function") {
|
|
999
1004
|
this.send(command, optionsOrCb);
|
|
1000
1005
|
}
|
|
1001
1006
|
else if (typeof cb === "function") {
|
|
1002
1007
|
if (typeof optionsOrCb !== "object")
|
|
1003
|
-
throw new Error(
|
|
1008
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1004
1009
|
this.send(command, optionsOrCb || {}, cb);
|
|
1005
1010
|
}
|
|
1006
1011
|
else {
|
|
1007
1012
|
return this.send(command, optionsOrCb);
|
|
1008
1013
|
}
|
|
1009
|
-
}
|
|
1010
|
-
deleteJob(args, optionsOrCb, cb) {
|
|
1011
|
-
|
|
1014
|
+
};
|
|
1015
|
+
IoT.prototype.deleteJob = function (args, optionsOrCb, cb) {
|
|
1016
|
+
var command = new DeleteJobCommand(args);
|
|
1012
1017
|
if (typeof optionsOrCb === "function") {
|
|
1013
1018
|
this.send(command, optionsOrCb);
|
|
1014
1019
|
}
|
|
1015
1020
|
else if (typeof cb === "function") {
|
|
1016
1021
|
if (typeof optionsOrCb !== "object")
|
|
1017
|
-
throw new Error(
|
|
1022
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1018
1023
|
this.send(command, optionsOrCb || {}, cb);
|
|
1019
1024
|
}
|
|
1020
1025
|
else {
|
|
1021
1026
|
return this.send(command, optionsOrCb);
|
|
1022
1027
|
}
|
|
1023
|
-
}
|
|
1024
|
-
deleteJobExecution(args, optionsOrCb, cb) {
|
|
1025
|
-
|
|
1028
|
+
};
|
|
1029
|
+
IoT.prototype.deleteJobExecution = function (args, optionsOrCb, cb) {
|
|
1030
|
+
var command = new DeleteJobExecutionCommand(args);
|
|
1026
1031
|
if (typeof optionsOrCb === "function") {
|
|
1027
1032
|
this.send(command, optionsOrCb);
|
|
1028
1033
|
}
|
|
1029
1034
|
else if (typeof cb === "function") {
|
|
1030
1035
|
if (typeof optionsOrCb !== "object")
|
|
1031
|
-
throw new Error(
|
|
1036
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1032
1037
|
this.send(command, optionsOrCb || {}, cb);
|
|
1033
1038
|
}
|
|
1034
1039
|
else {
|
|
1035
1040
|
return this.send(command, optionsOrCb);
|
|
1036
1041
|
}
|
|
1037
|
-
}
|
|
1038
|
-
deleteJobTemplate(args, optionsOrCb, cb) {
|
|
1039
|
-
|
|
1042
|
+
};
|
|
1043
|
+
IoT.prototype.deleteJobTemplate = function (args, optionsOrCb, cb) {
|
|
1044
|
+
var command = new DeleteJobTemplateCommand(args);
|
|
1040
1045
|
if (typeof optionsOrCb === "function") {
|
|
1041
1046
|
this.send(command, optionsOrCb);
|
|
1042
1047
|
}
|
|
1043
1048
|
else if (typeof cb === "function") {
|
|
1044
1049
|
if (typeof optionsOrCb !== "object")
|
|
1045
|
-
throw new Error(
|
|
1050
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1046
1051
|
this.send(command, optionsOrCb || {}, cb);
|
|
1047
1052
|
}
|
|
1048
1053
|
else {
|
|
1049
1054
|
return this.send(command, optionsOrCb);
|
|
1050
1055
|
}
|
|
1051
|
-
}
|
|
1052
|
-
deleteMitigationAction(args, optionsOrCb, cb) {
|
|
1053
|
-
|
|
1056
|
+
};
|
|
1057
|
+
IoT.prototype.deleteMitigationAction = function (args, optionsOrCb, cb) {
|
|
1058
|
+
var command = new DeleteMitigationActionCommand(args);
|
|
1054
1059
|
if (typeof optionsOrCb === "function") {
|
|
1055
1060
|
this.send(command, optionsOrCb);
|
|
1056
1061
|
}
|
|
1057
1062
|
else if (typeof cb === "function") {
|
|
1058
1063
|
if (typeof optionsOrCb !== "object")
|
|
1059
|
-
throw new Error(
|
|
1064
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1060
1065
|
this.send(command, optionsOrCb || {}, cb);
|
|
1061
1066
|
}
|
|
1062
1067
|
else {
|
|
1063
1068
|
return this.send(command, optionsOrCb);
|
|
1064
1069
|
}
|
|
1065
|
-
}
|
|
1066
|
-
deleteOTAUpdate(args, optionsOrCb, cb) {
|
|
1067
|
-
|
|
1070
|
+
};
|
|
1071
|
+
IoT.prototype.deleteOTAUpdate = function (args, optionsOrCb, cb) {
|
|
1072
|
+
var command = new DeleteOTAUpdateCommand(args);
|
|
1068
1073
|
if (typeof optionsOrCb === "function") {
|
|
1069
1074
|
this.send(command, optionsOrCb);
|
|
1070
1075
|
}
|
|
1071
1076
|
else if (typeof cb === "function") {
|
|
1072
1077
|
if (typeof optionsOrCb !== "object")
|
|
1073
|
-
throw new Error(
|
|
1078
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1074
1079
|
this.send(command, optionsOrCb || {}, cb);
|
|
1075
1080
|
}
|
|
1076
1081
|
else {
|
|
1077
1082
|
return this.send(command, optionsOrCb);
|
|
1078
1083
|
}
|
|
1079
|
-
}
|
|
1080
|
-
deletePolicy(args, optionsOrCb, cb) {
|
|
1081
|
-
|
|
1084
|
+
};
|
|
1085
|
+
IoT.prototype.deletePolicy = function (args, optionsOrCb, cb) {
|
|
1086
|
+
var command = new DeletePolicyCommand(args);
|
|
1082
1087
|
if (typeof optionsOrCb === "function") {
|
|
1083
1088
|
this.send(command, optionsOrCb);
|
|
1084
1089
|
}
|
|
1085
1090
|
else if (typeof cb === "function") {
|
|
1086
1091
|
if (typeof optionsOrCb !== "object")
|
|
1087
|
-
throw new Error(
|
|
1092
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1088
1093
|
this.send(command, optionsOrCb || {}, cb);
|
|
1089
1094
|
}
|
|
1090
1095
|
else {
|
|
1091
1096
|
return this.send(command, optionsOrCb);
|
|
1092
1097
|
}
|
|
1093
|
-
}
|
|
1094
|
-
deletePolicyVersion(args, optionsOrCb, cb) {
|
|
1095
|
-
|
|
1098
|
+
};
|
|
1099
|
+
IoT.prototype.deletePolicyVersion = function (args, optionsOrCb, cb) {
|
|
1100
|
+
var command = new DeletePolicyVersionCommand(args);
|
|
1096
1101
|
if (typeof optionsOrCb === "function") {
|
|
1097
1102
|
this.send(command, optionsOrCb);
|
|
1098
1103
|
}
|
|
1099
1104
|
else if (typeof cb === "function") {
|
|
1100
1105
|
if (typeof optionsOrCb !== "object")
|
|
1101
|
-
throw new Error(
|
|
1106
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1102
1107
|
this.send(command, optionsOrCb || {}, cb);
|
|
1103
1108
|
}
|
|
1104
1109
|
else {
|
|
1105
1110
|
return this.send(command, optionsOrCb);
|
|
1106
1111
|
}
|
|
1107
|
-
}
|
|
1108
|
-
deleteProvisioningTemplate(args, optionsOrCb, cb) {
|
|
1109
|
-
|
|
1112
|
+
};
|
|
1113
|
+
IoT.prototype.deleteProvisioningTemplate = function (args, optionsOrCb, cb) {
|
|
1114
|
+
var command = new DeleteProvisioningTemplateCommand(args);
|
|
1110
1115
|
if (typeof optionsOrCb === "function") {
|
|
1111
1116
|
this.send(command, optionsOrCb);
|
|
1112
1117
|
}
|
|
1113
1118
|
else if (typeof cb === "function") {
|
|
1114
1119
|
if (typeof optionsOrCb !== "object")
|
|
1115
|
-
throw new Error(
|
|
1120
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1116
1121
|
this.send(command, optionsOrCb || {}, cb);
|
|
1117
1122
|
}
|
|
1118
1123
|
else {
|
|
1119
1124
|
return this.send(command, optionsOrCb);
|
|
1120
1125
|
}
|
|
1121
|
-
}
|
|
1122
|
-
deleteProvisioningTemplateVersion(args, optionsOrCb, cb) {
|
|
1123
|
-
|
|
1126
|
+
};
|
|
1127
|
+
IoT.prototype.deleteProvisioningTemplateVersion = function (args, optionsOrCb, cb) {
|
|
1128
|
+
var command = new DeleteProvisioningTemplateVersionCommand(args);
|
|
1124
1129
|
if (typeof optionsOrCb === "function") {
|
|
1125
1130
|
this.send(command, optionsOrCb);
|
|
1126
1131
|
}
|
|
1127
1132
|
else if (typeof cb === "function") {
|
|
1128
1133
|
if (typeof optionsOrCb !== "object")
|
|
1129
|
-
throw new Error(
|
|
1134
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1130
1135
|
this.send(command, optionsOrCb || {}, cb);
|
|
1131
1136
|
}
|
|
1132
1137
|
else {
|
|
1133
1138
|
return this.send(command, optionsOrCb);
|
|
1134
1139
|
}
|
|
1135
|
-
}
|
|
1136
|
-
deleteRegistrationCode(args, optionsOrCb, cb) {
|
|
1137
|
-
|
|
1140
|
+
};
|
|
1141
|
+
IoT.prototype.deleteRegistrationCode = function (args, optionsOrCb, cb) {
|
|
1142
|
+
var command = new DeleteRegistrationCodeCommand(args);
|
|
1138
1143
|
if (typeof optionsOrCb === "function") {
|
|
1139
1144
|
this.send(command, optionsOrCb);
|
|
1140
1145
|
}
|
|
1141
1146
|
else if (typeof cb === "function") {
|
|
1142
1147
|
if (typeof optionsOrCb !== "object")
|
|
1143
|
-
throw new Error(
|
|
1148
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1144
1149
|
this.send(command, optionsOrCb || {}, cb);
|
|
1145
1150
|
}
|
|
1146
1151
|
else {
|
|
1147
1152
|
return this.send(command, optionsOrCb);
|
|
1148
1153
|
}
|
|
1149
|
-
}
|
|
1150
|
-
deleteRoleAlias(args, optionsOrCb, cb) {
|
|
1151
|
-
|
|
1154
|
+
};
|
|
1155
|
+
IoT.prototype.deleteRoleAlias = function (args, optionsOrCb, cb) {
|
|
1156
|
+
var command = new DeleteRoleAliasCommand(args);
|
|
1152
1157
|
if (typeof optionsOrCb === "function") {
|
|
1153
1158
|
this.send(command, optionsOrCb);
|
|
1154
1159
|
}
|
|
1155
1160
|
else if (typeof cb === "function") {
|
|
1156
1161
|
if (typeof optionsOrCb !== "object")
|
|
1157
|
-
throw new Error(
|
|
1162
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1158
1163
|
this.send(command, optionsOrCb || {}, cb);
|
|
1159
1164
|
}
|
|
1160
1165
|
else {
|
|
1161
1166
|
return this.send(command, optionsOrCb);
|
|
1162
1167
|
}
|
|
1163
|
-
}
|
|
1164
|
-
deleteScheduledAudit(args, optionsOrCb, cb) {
|
|
1165
|
-
|
|
1168
|
+
};
|
|
1169
|
+
IoT.prototype.deleteScheduledAudit = function (args, optionsOrCb, cb) {
|
|
1170
|
+
var command = new DeleteScheduledAuditCommand(args);
|
|
1166
1171
|
if (typeof optionsOrCb === "function") {
|
|
1167
1172
|
this.send(command, optionsOrCb);
|
|
1168
1173
|
}
|
|
1169
1174
|
else if (typeof cb === "function") {
|
|
1170
1175
|
if (typeof optionsOrCb !== "object")
|
|
1171
|
-
throw new Error(
|
|
1176
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1172
1177
|
this.send(command, optionsOrCb || {}, cb);
|
|
1173
1178
|
}
|
|
1174
1179
|
else {
|
|
1175
1180
|
return this.send(command, optionsOrCb);
|
|
1176
1181
|
}
|
|
1177
|
-
}
|
|
1178
|
-
deleteSecurityProfile(args, optionsOrCb, cb) {
|
|
1179
|
-
|
|
1182
|
+
};
|
|
1183
|
+
IoT.prototype.deleteSecurityProfile = function (args, optionsOrCb, cb) {
|
|
1184
|
+
var command = new DeleteSecurityProfileCommand(args);
|
|
1180
1185
|
if (typeof optionsOrCb === "function") {
|
|
1181
1186
|
this.send(command, optionsOrCb);
|
|
1182
1187
|
}
|
|
1183
1188
|
else if (typeof cb === "function") {
|
|
1184
1189
|
if (typeof optionsOrCb !== "object")
|
|
1185
|
-
throw new Error(
|
|
1190
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1186
1191
|
this.send(command, optionsOrCb || {}, cb);
|
|
1187
1192
|
}
|
|
1188
1193
|
else {
|
|
1189
1194
|
return this.send(command, optionsOrCb);
|
|
1190
1195
|
}
|
|
1191
|
-
}
|
|
1192
|
-
deleteStream(args, optionsOrCb, cb) {
|
|
1193
|
-
|
|
1196
|
+
};
|
|
1197
|
+
IoT.prototype.deleteStream = function (args, optionsOrCb, cb) {
|
|
1198
|
+
var command = new DeleteStreamCommand(args);
|
|
1194
1199
|
if (typeof optionsOrCb === "function") {
|
|
1195
1200
|
this.send(command, optionsOrCb);
|
|
1196
1201
|
}
|
|
1197
1202
|
else if (typeof cb === "function") {
|
|
1198
1203
|
if (typeof optionsOrCb !== "object")
|
|
1199
|
-
throw new Error(
|
|
1204
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1200
1205
|
this.send(command, optionsOrCb || {}, cb);
|
|
1201
1206
|
}
|
|
1202
1207
|
else {
|
|
1203
1208
|
return this.send(command, optionsOrCb);
|
|
1204
1209
|
}
|
|
1205
|
-
}
|
|
1206
|
-
deleteThing(args, optionsOrCb, cb) {
|
|
1207
|
-
|
|
1210
|
+
};
|
|
1211
|
+
IoT.prototype.deleteThing = function (args, optionsOrCb, cb) {
|
|
1212
|
+
var command = new DeleteThingCommand(args);
|
|
1208
1213
|
if (typeof optionsOrCb === "function") {
|
|
1209
1214
|
this.send(command, optionsOrCb);
|
|
1210
1215
|
}
|
|
1211
1216
|
else if (typeof cb === "function") {
|
|
1212
1217
|
if (typeof optionsOrCb !== "object")
|
|
1213
|
-
throw new Error(
|
|
1218
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1214
1219
|
this.send(command, optionsOrCb || {}, cb);
|
|
1215
1220
|
}
|
|
1216
1221
|
else {
|
|
1217
1222
|
return this.send(command, optionsOrCb);
|
|
1218
1223
|
}
|
|
1219
|
-
}
|
|
1220
|
-
deleteThingGroup(args, optionsOrCb, cb) {
|
|
1221
|
-
|
|
1224
|
+
};
|
|
1225
|
+
IoT.prototype.deleteThingGroup = function (args, optionsOrCb, cb) {
|
|
1226
|
+
var command = new DeleteThingGroupCommand(args);
|
|
1222
1227
|
if (typeof optionsOrCb === "function") {
|
|
1223
1228
|
this.send(command, optionsOrCb);
|
|
1224
1229
|
}
|
|
1225
1230
|
else if (typeof cb === "function") {
|
|
1226
1231
|
if (typeof optionsOrCb !== "object")
|
|
1227
|
-
throw new Error(
|
|
1232
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1228
1233
|
this.send(command, optionsOrCb || {}, cb);
|
|
1229
1234
|
}
|
|
1230
1235
|
else {
|
|
1231
1236
|
return this.send(command, optionsOrCb);
|
|
1232
1237
|
}
|
|
1233
|
-
}
|
|
1234
|
-
deleteThingType(args, optionsOrCb, cb) {
|
|
1235
|
-
|
|
1238
|
+
};
|
|
1239
|
+
IoT.prototype.deleteThingType = function (args, optionsOrCb, cb) {
|
|
1240
|
+
var command = new DeleteThingTypeCommand(args);
|
|
1236
1241
|
if (typeof optionsOrCb === "function") {
|
|
1237
1242
|
this.send(command, optionsOrCb);
|
|
1238
1243
|
}
|
|
1239
1244
|
else if (typeof cb === "function") {
|
|
1240
1245
|
if (typeof optionsOrCb !== "object")
|
|
1241
|
-
throw new Error(
|
|
1246
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1242
1247
|
this.send(command, optionsOrCb || {}, cb);
|
|
1243
1248
|
}
|
|
1244
1249
|
else {
|
|
1245
1250
|
return this.send(command, optionsOrCb);
|
|
1246
1251
|
}
|
|
1247
|
-
}
|
|
1248
|
-
deleteTopicRule(args, optionsOrCb, cb) {
|
|
1249
|
-
|
|
1252
|
+
};
|
|
1253
|
+
IoT.prototype.deleteTopicRule = function (args, optionsOrCb, cb) {
|
|
1254
|
+
var command = new DeleteTopicRuleCommand(args);
|
|
1250
1255
|
if (typeof optionsOrCb === "function") {
|
|
1251
1256
|
this.send(command, optionsOrCb);
|
|
1252
1257
|
}
|
|
1253
1258
|
else if (typeof cb === "function") {
|
|
1254
1259
|
if (typeof optionsOrCb !== "object")
|
|
1255
|
-
throw new Error(
|
|
1260
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1256
1261
|
this.send(command, optionsOrCb || {}, cb);
|
|
1257
1262
|
}
|
|
1258
1263
|
else {
|
|
1259
1264
|
return this.send(command, optionsOrCb);
|
|
1260
1265
|
}
|
|
1261
|
-
}
|
|
1262
|
-
deleteTopicRuleDestination(args, optionsOrCb, cb) {
|
|
1263
|
-
|
|
1266
|
+
};
|
|
1267
|
+
IoT.prototype.deleteTopicRuleDestination = function (args, optionsOrCb, cb) {
|
|
1268
|
+
var command = new DeleteTopicRuleDestinationCommand(args);
|
|
1264
1269
|
if (typeof optionsOrCb === "function") {
|
|
1265
1270
|
this.send(command, optionsOrCb);
|
|
1266
1271
|
}
|
|
1267
1272
|
else if (typeof cb === "function") {
|
|
1268
1273
|
if (typeof optionsOrCb !== "object")
|
|
1269
|
-
throw new Error(
|
|
1274
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1270
1275
|
this.send(command, optionsOrCb || {}, cb);
|
|
1271
1276
|
}
|
|
1272
1277
|
else {
|
|
1273
1278
|
return this.send(command, optionsOrCb);
|
|
1274
1279
|
}
|
|
1275
|
-
}
|
|
1276
|
-
deleteV2LoggingLevel(args, optionsOrCb, cb) {
|
|
1277
|
-
|
|
1280
|
+
};
|
|
1281
|
+
IoT.prototype.deleteV2LoggingLevel = function (args, optionsOrCb, cb) {
|
|
1282
|
+
var command = new DeleteV2LoggingLevelCommand(args);
|
|
1278
1283
|
if (typeof optionsOrCb === "function") {
|
|
1279
1284
|
this.send(command, optionsOrCb);
|
|
1280
1285
|
}
|
|
1281
1286
|
else if (typeof cb === "function") {
|
|
1282
1287
|
if (typeof optionsOrCb !== "object")
|
|
1283
|
-
throw new Error(
|
|
1288
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1284
1289
|
this.send(command, optionsOrCb || {}, cb);
|
|
1285
1290
|
}
|
|
1286
1291
|
else {
|
|
1287
1292
|
return this.send(command, optionsOrCb);
|
|
1288
1293
|
}
|
|
1289
|
-
}
|
|
1290
|
-
deprecateThingType(args, optionsOrCb, cb) {
|
|
1291
|
-
|
|
1294
|
+
};
|
|
1295
|
+
IoT.prototype.deprecateThingType = function (args, optionsOrCb, cb) {
|
|
1296
|
+
var command = new DeprecateThingTypeCommand(args);
|
|
1292
1297
|
if (typeof optionsOrCb === "function") {
|
|
1293
1298
|
this.send(command, optionsOrCb);
|
|
1294
1299
|
}
|
|
1295
1300
|
else if (typeof cb === "function") {
|
|
1296
1301
|
if (typeof optionsOrCb !== "object")
|
|
1297
|
-
throw new Error(
|
|
1302
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1298
1303
|
this.send(command, optionsOrCb || {}, cb);
|
|
1299
1304
|
}
|
|
1300
1305
|
else {
|
|
1301
1306
|
return this.send(command, optionsOrCb);
|
|
1302
1307
|
}
|
|
1303
|
-
}
|
|
1304
|
-
describeAccountAuditConfiguration(args, optionsOrCb, cb) {
|
|
1305
|
-
|
|
1308
|
+
};
|
|
1309
|
+
IoT.prototype.describeAccountAuditConfiguration = function (args, optionsOrCb, cb) {
|
|
1310
|
+
var command = new DescribeAccountAuditConfigurationCommand(args);
|
|
1306
1311
|
if (typeof optionsOrCb === "function") {
|
|
1307
1312
|
this.send(command, optionsOrCb);
|
|
1308
1313
|
}
|
|
1309
1314
|
else if (typeof cb === "function") {
|
|
1310
1315
|
if (typeof optionsOrCb !== "object")
|
|
1311
|
-
throw new Error(
|
|
1316
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1312
1317
|
this.send(command, optionsOrCb || {}, cb);
|
|
1313
1318
|
}
|
|
1314
1319
|
else {
|
|
1315
1320
|
return this.send(command, optionsOrCb);
|
|
1316
1321
|
}
|
|
1317
|
-
}
|
|
1318
|
-
describeAuditFinding(args, optionsOrCb, cb) {
|
|
1319
|
-
|
|
1322
|
+
};
|
|
1323
|
+
IoT.prototype.describeAuditFinding = function (args, optionsOrCb, cb) {
|
|
1324
|
+
var command = new DescribeAuditFindingCommand(args);
|
|
1320
1325
|
if (typeof optionsOrCb === "function") {
|
|
1321
1326
|
this.send(command, optionsOrCb);
|
|
1322
1327
|
}
|
|
1323
1328
|
else if (typeof cb === "function") {
|
|
1324
1329
|
if (typeof optionsOrCb !== "object")
|
|
1325
|
-
throw new Error(
|
|
1330
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1326
1331
|
this.send(command, optionsOrCb || {}, cb);
|
|
1327
1332
|
}
|
|
1328
1333
|
else {
|
|
1329
1334
|
return this.send(command, optionsOrCb);
|
|
1330
1335
|
}
|
|
1331
|
-
}
|
|
1332
|
-
describeAuditMitigationActionsTask(args, optionsOrCb, cb) {
|
|
1333
|
-
|
|
1336
|
+
};
|
|
1337
|
+
IoT.prototype.describeAuditMitigationActionsTask = function (args, optionsOrCb, cb) {
|
|
1338
|
+
var command = new DescribeAuditMitigationActionsTaskCommand(args);
|
|
1334
1339
|
if (typeof optionsOrCb === "function") {
|
|
1335
1340
|
this.send(command, optionsOrCb);
|
|
1336
1341
|
}
|
|
1337
1342
|
else if (typeof cb === "function") {
|
|
1338
1343
|
if (typeof optionsOrCb !== "object")
|
|
1339
|
-
throw new Error(
|
|
1344
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1340
1345
|
this.send(command, optionsOrCb || {}, cb);
|
|
1341
1346
|
}
|
|
1342
1347
|
else {
|
|
1343
1348
|
return this.send(command, optionsOrCb);
|
|
1344
1349
|
}
|
|
1345
|
-
}
|
|
1346
|
-
describeAuditSuppression(args, optionsOrCb, cb) {
|
|
1347
|
-
|
|
1350
|
+
};
|
|
1351
|
+
IoT.prototype.describeAuditSuppression = function (args, optionsOrCb, cb) {
|
|
1352
|
+
var command = new DescribeAuditSuppressionCommand(args);
|
|
1348
1353
|
if (typeof optionsOrCb === "function") {
|
|
1349
1354
|
this.send(command, optionsOrCb);
|
|
1350
1355
|
}
|
|
1351
1356
|
else if (typeof cb === "function") {
|
|
1352
1357
|
if (typeof optionsOrCb !== "object")
|
|
1353
|
-
throw new Error(
|
|
1358
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1354
1359
|
this.send(command, optionsOrCb || {}, cb);
|
|
1355
1360
|
}
|
|
1356
1361
|
else {
|
|
1357
1362
|
return this.send(command, optionsOrCb);
|
|
1358
1363
|
}
|
|
1359
|
-
}
|
|
1360
|
-
describeAuditTask(args, optionsOrCb, cb) {
|
|
1361
|
-
|
|
1364
|
+
};
|
|
1365
|
+
IoT.prototype.describeAuditTask = function (args, optionsOrCb, cb) {
|
|
1366
|
+
var command = new DescribeAuditTaskCommand(args);
|
|
1362
1367
|
if (typeof optionsOrCb === "function") {
|
|
1363
1368
|
this.send(command, optionsOrCb);
|
|
1364
1369
|
}
|
|
1365
1370
|
else if (typeof cb === "function") {
|
|
1366
1371
|
if (typeof optionsOrCb !== "object")
|
|
1367
|
-
throw new Error(
|
|
1372
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1368
1373
|
this.send(command, optionsOrCb || {}, cb);
|
|
1369
1374
|
}
|
|
1370
1375
|
else {
|
|
1371
1376
|
return this.send(command, optionsOrCb);
|
|
1372
1377
|
}
|
|
1373
|
-
}
|
|
1374
|
-
describeAuthorizer(args, optionsOrCb, cb) {
|
|
1375
|
-
|
|
1378
|
+
};
|
|
1379
|
+
IoT.prototype.describeAuthorizer = function (args, optionsOrCb, cb) {
|
|
1380
|
+
var command = new DescribeAuthorizerCommand(args);
|
|
1376
1381
|
if (typeof optionsOrCb === "function") {
|
|
1377
1382
|
this.send(command, optionsOrCb);
|
|
1378
1383
|
}
|
|
1379
1384
|
else if (typeof cb === "function") {
|
|
1380
1385
|
if (typeof optionsOrCb !== "object")
|
|
1381
|
-
throw new Error(
|
|
1386
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1382
1387
|
this.send(command, optionsOrCb || {}, cb);
|
|
1383
1388
|
}
|
|
1384
1389
|
else {
|
|
1385
1390
|
return this.send(command, optionsOrCb);
|
|
1386
1391
|
}
|
|
1387
|
-
}
|
|
1388
|
-
describeBillingGroup(args, optionsOrCb, cb) {
|
|
1389
|
-
|
|
1392
|
+
};
|
|
1393
|
+
IoT.prototype.describeBillingGroup = function (args, optionsOrCb, cb) {
|
|
1394
|
+
var command = new DescribeBillingGroupCommand(args);
|
|
1390
1395
|
if (typeof optionsOrCb === "function") {
|
|
1391
1396
|
this.send(command, optionsOrCb);
|
|
1392
1397
|
}
|
|
1393
1398
|
else if (typeof cb === "function") {
|
|
1394
1399
|
if (typeof optionsOrCb !== "object")
|
|
1395
|
-
throw new Error(
|
|
1400
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1396
1401
|
this.send(command, optionsOrCb || {}, cb);
|
|
1397
1402
|
}
|
|
1398
1403
|
else {
|
|
1399
1404
|
return this.send(command, optionsOrCb);
|
|
1400
1405
|
}
|
|
1401
|
-
}
|
|
1402
|
-
describeCACertificate(args, optionsOrCb, cb) {
|
|
1403
|
-
|
|
1406
|
+
};
|
|
1407
|
+
IoT.prototype.describeCACertificate = function (args, optionsOrCb, cb) {
|
|
1408
|
+
var command = new DescribeCACertificateCommand(args);
|
|
1404
1409
|
if (typeof optionsOrCb === "function") {
|
|
1405
1410
|
this.send(command, optionsOrCb);
|
|
1406
1411
|
}
|
|
1407
1412
|
else if (typeof cb === "function") {
|
|
1408
1413
|
if (typeof optionsOrCb !== "object")
|
|
1409
|
-
throw new Error(
|
|
1414
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1410
1415
|
this.send(command, optionsOrCb || {}, cb);
|
|
1411
1416
|
}
|
|
1412
1417
|
else {
|
|
1413
1418
|
return this.send(command, optionsOrCb);
|
|
1414
1419
|
}
|
|
1415
|
-
}
|
|
1416
|
-
describeCertificate(args, optionsOrCb, cb) {
|
|
1417
|
-
|
|
1420
|
+
};
|
|
1421
|
+
IoT.prototype.describeCertificate = function (args, optionsOrCb, cb) {
|
|
1422
|
+
var command = new DescribeCertificateCommand(args);
|
|
1418
1423
|
if (typeof optionsOrCb === "function") {
|
|
1419
1424
|
this.send(command, optionsOrCb);
|
|
1420
1425
|
}
|
|
1421
1426
|
else if (typeof cb === "function") {
|
|
1422
1427
|
if (typeof optionsOrCb !== "object")
|
|
1423
|
-
throw new Error(
|
|
1428
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1424
1429
|
this.send(command, optionsOrCb || {}, cb);
|
|
1425
1430
|
}
|
|
1426
1431
|
else {
|
|
1427
1432
|
return this.send(command, optionsOrCb);
|
|
1428
1433
|
}
|
|
1429
|
-
}
|
|
1430
|
-
describeCustomMetric(args, optionsOrCb, cb) {
|
|
1431
|
-
|
|
1434
|
+
};
|
|
1435
|
+
IoT.prototype.describeCustomMetric = function (args, optionsOrCb, cb) {
|
|
1436
|
+
var command = new DescribeCustomMetricCommand(args);
|
|
1432
1437
|
if (typeof optionsOrCb === "function") {
|
|
1433
1438
|
this.send(command, optionsOrCb);
|
|
1434
1439
|
}
|
|
1435
1440
|
else if (typeof cb === "function") {
|
|
1436
1441
|
if (typeof optionsOrCb !== "object")
|
|
1437
|
-
throw new Error(
|
|
1442
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1438
1443
|
this.send(command, optionsOrCb || {}, cb);
|
|
1439
1444
|
}
|
|
1440
1445
|
else {
|
|
1441
1446
|
return this.send(command, optionsOrCb);
|
|
1442
1447
|
}
|
|
1443
|
-
}
|
|
1444
|
-
describeDefaultAuthorizer(args, optionsOrCb, cb) {
|
|
1445
|
-
|
|
1448
|
+
};
|
|
1449
|
+
IoT.prototype.describeDefaultAuthorizer = function (args, optionsOrCb, cb) {
|
|
1450
|
+
var command = new DescribeDefaultAuthorizerCommand(args);
|
|
1446
1451
|
if (typeof optionsOrCb === "function") {
|
|
1447
1452
|
this.send(command, optionsOrCb);
|
|
1448
1453
|
}
|
|
1449
1454
|
else if (typeof cb === "function") {
|
|
1450
1455
|
if (typeof optionsOrCb !== "object")
|
|
1451
|
-
throw new Error(
|
|
1456
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1452
1457
|
this.send(command, optionsOrCb || {}, cb);
|
|
1453
1458
|
}
|
|
1454
1459
|
else {
|
|
1455
1460
|
return this.send(command, optionsOrCb);
|
|
1456
1461
|
}
|
|
1457
|
-
}
|
|
1458
|
-
describeDetectMitigationActionsTask(args, optionsOrCb, cb) {
|
|
1459
|
-
|
|
1462
|
+
};
|
|
1463
|
+
IoT.prototype.describeDetectMitigationActionsTask = function (args, optionsOrCb, cb) {
|
|
1464
|
+
var command = new DescribeDetectMitigationActionsTaskCommand(args);
|
|
1460
1465
|
if (typeof optionsOrCb === "function") {
|
|
1461
1466
|
this.send(command, optionsOrCb);
|
|
1462
1467
|
}
|
|
1463
1468
|
else if (typeof cb === "function") {
|
|
1464
1469
|
if (typeof optionsOrCb !== "object")
|
|
1465
|
-
throw new Error(
|
|
1470
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1466
1471
|
this.send(command, optionsOrCb || {}, cb);
|
|
1467
1472
|
}
|
|
1468
1473
|
else {
|
|
1469
1474
|
return this.send(command, optionsOrCb);
|
|
1470
1475
|
}
|
|
1471
|
-
}
|
|
1472
|
-
describeDimension(args, optionsOrCb, cb) {
|
|
1473
|
-
|
|
1476
|
+
};
|
|
1477
|
+
IoT.prototype.describeDimension = function (args, optionsOrCb, cb) {
|
|
1478
|
+
var command = new DescribeDimensionCommand(args);
|
|
1474
1479
|
if (typeof optionsOrCb === "function") {
|
|
1475
1480
|
this.send(command, optionsOrCb);
|
|
1476
1481
|
}
|
|
1477
1482
|
else if (typeof cb === "function") {
|
|
1478
1483
|
if (typeof optionsOrCb !== "object")
|
|
1479
|
-
throw new Error(
|
|
1484
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1480
1485
|
this.send(command, optionsOrCb || {}, cb);
|
|
1481
1486
|
}
|
|
1482
1487
|
else {
|
|
1483
1488
|
return this.send(command, optionsOrCb);
|
|
1484
1489
|
}
|
|
1485
|
-
}
|
|
1486
|
-
describeDomainConfiguration(args, optionsOrCb, cb) {
|
|
1487
|
-
|
|
1490
|
+
};
|
|
1491
|
+
IoT.prototype.describeDomainConfiguration = function (args, optionsOrCb, cb) {
|
|
1492
|
+
var command = new DescribeDomainConfigurationCommand(args);
|
|
1488
1493
|
if (typeof optionsOrCb === "function") {
|
|
1489
1494
|
this.send(command, optionsOrCb);
|
|
1490
1495
|
}
|
|
1491
1496
|
else if (typeof cb === "function") {
|
|
1492
1497
|
if (typeof optionsOrCb !== "object")
|
|
1493
|
-
throw new Error(
|
|
1498
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1494
1499
|
this.send(command, optionsOrCb || {}, cb);
|
|
1495
1500
|
}
|
|
1496
1501
|
else {
|
|
1497
1502
|
return this.send(command, optionsOrCb);
|
|
1498
1503
|
}
|
|
1499
|
-
}
|
|
1500
|
-
describeEndpoint(args, optionsOrCb, cb) {
|
|
1501
|
-
|
|
1504
|
+
};
|
|
1505
|
+
IoT.prototype.describeEndpoint = function (args, optionsOrCb, cb) {
|
|
1506
|
+
var command = new DescribeEndpointCommand(args);
|
|
1502
1507
|
if (typeof optionsOrCb === "function") {
|
|
1503
1508
|
this.send(command, optionsOrCb);
|
|
1504
1509
|
}
|
|
1505
1510
|
else if (typeof cb === "function") {
|
|
1506
1511
|
if (typeof optionsOrCb !== "object")
|
|
1507
|
-
throw new Error(
|
|
1512
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1508
1513
|
this.send(command, optionsOrCb || {}, cb);
|
|
1509
1514
|
}
|
|
1510
1515
|
else {
|
|
1511
1516
|
return this.send(command, optionsOrCb);
|
|
1512
1517
|
}
|
|
1513
|
-
}
|
|
1514
|
-
describeEventConfigurations(args, optionsOrCb, cb) {
|
|
1515
|
-
|
|
1518
|
+
};
|
|
1519
|
+
IoT.prototype.describeEventConfigurations = function (args, optionsOrCb, cb) {
|
|
1520
|
+
var command = new DescribeEventConfigurationsCommand(args);
|
|
1516
1521
|
if (typeof optionsOrCb === "function") {
|
|
1517
1522
|
this.send(command, optionsOrCb);
|
|
1518
1523
|
}
|
|
1519
1524
|
else if (typeof cb === "function") {
|
|
1520
1525
|
if (typeof optionsOrCb !== "object")
|
|
1521
|
-
throw new Error(
|
|
1526
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1522
1527
|
this.send(command, optionsOrCb || {}, cb);
|
|
1523
1528
|
}
|
|
1524
1529
|
else {
|
|
1525
1530
|
return this.send(command, optionsOrCb);
|
|
1526
1531
|
}
|
|
1527
|
-
}
|
|
1528
|
-
describeFleetMetric(args, optionsOrCb, cb) {
|
|
1529
|
-
|
|
1532
|
+
};
|
|
1533
|
+
IoT.prototype.describeFleetMetric = function (args, optionsOrCb, cb) {
|
|
1534
|
+
var command = new DescribeFleetMetricCommand(args);
|
|
1530
1535
|
if (typeof optionsOrCb === "function") {
|
|
1531
1536
|
this.send(command, optionsOrCb);
|
|
1532
1537
|
}
|
|
1533
1538
|
else if (typeof cb === "function") {
|
|
1534
1539
|
if (typeof optionsOrCb !== "object")
|
|
1535
|
-
throw new Error(
|
|
1540
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1536
1541
|
this.send(command, optionsOrCb || {}, cb);
|
|
1537
1542
|
}
|
|
1538
1543
|
else {
|
|
1539
1544
|
return this.send(command, optionsOrCb);
|
|
1540
1545
|
}
|
|
1541
|
-
}
|
|
1542
|
-
describeIndex(args, optionsOrCb, cb) {
|
|
1543
|
-
|
|
1546
|
+
};
|
|
1547
|
+
IoT.prototype.describeIndex = function (args, optionsOrCb, cb) {
|
|
1548
|
+
var command = new DescribeIndexCommand(args);
|
|
1544
1549
|
if (typeof optionsOrCb === "function") {
|
|
1545
1550
|
this.send(command, optionsOrCb);
|
|
1546
1551
|
}
|
|
1547
1552
|
else if (typeof cb === "function") {
|
|
1548
1553
|
if (typeof optionsOrCb !== "object")
|
|
1549
|
-
throw new Error(
|
|
1554
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1550
1555
|
this.send(command, optionsOrCb || {}, cb);
|
|
1551
1556
|
}
|
|
1552
1557
|
else {
|
|
1553
1558
|
return this.send(command, optionsOrCb);
|
|
1554
1559
|
}
|
|
1555
|
-
}
|
|
1556
|
-
describeJob(args, optionsOrCb, cb) {
|
|
1557
|
-
|
|
1560
|
+
};
|
|
1561
|
+
IoT.prototype.describeJob = function (args, optionsOrCb, cb) {
|
|
1562
|
+
var command = new DescribeJobCommand(args);
|
|
1558
1563
|
if (typeof optionsOrCb === "function") {
|
|
1559
1564
|
this.send(command, optionsOrCb);
|
|
1560
1565
|
}
|
|
1561
1566
|
else if (typeof cb === "function") {
|
|
1562
1567
|
if (typeof optionsOrCb !== "object")
|
|
1563
|
-
throw new Error(
|
|
1568
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1564
1569
|
this.send(command, optionsOrCb || {}, cb);
|
|
1565
1570
|
}
|
|
1566
1571
|
else {
|
|
1567
1572
|
return this.send(command, optionsOrCb);
|
|
1568
1573
|
}
|
|
1569
|
-
}
|
|
1570
|
-
describeJobExecution(args, optionsOrCb, cb) {
|
|
1571
|
-
|
|
1574
|
+
};
|
|
1575
|
+
IoT.prototype.describeJobExecution = function (args, optionsOrCb, cb) {
|
|
1576
|
+
var command = new DescribeJobExecutionCommand(args);
|
|
1572
1577
|
if (typeof optionsOrCb === "function") {
|
|
1573
1578
|
this.send(command, optionsOrCb);
|
|
1574
1579
|
}
|
|
1575
1580
|
else if (typeof cb === "function") {
|
|
1576
1581
|
if (typeof optionsOrCb !== "object")
|
|
1577
|
-
throw new Error(
|
|
1582
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1578
1583
|
this.send(command, optionsOrCb || {}, cb);
|
|
1579
1584
|
}
|
|
1580
1585
|
else {
|
|
1581
1586
|
return this.send(command, optionsOrCb);
|
|
1582
1587
|
}
|
|
1583
|
-
}
|
|
1584
|
-
describeJobTemplate(args, optionsOrCb, cb) {
|
|
1585
|
-
|
|
1588
|
+
};
|
|
1589
|
+
IoT.prototype.describeJobTemplate = function (args, optionsOrCb, cb) {
|
|
1590
|
+
var command = new DescribeJobTemplateCommand(args);
|
|
1586
1591
|
if (typeof optionsOrCb === "function") {
|
|
1587
1592
|
this.send(command, optionsOrCb);
|
|
1588
1593
|
}
|
|
1589
1594
|
else if (typeof cb === "function") {
|
|
1590
1595
|
if (typeof optionsOrCb !== "object")
|
|
1591
|
-
throw new Error(
|
|
1596
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1592
1597
|
this.send(command, optionsOrCb || {}, cb);
|
|
1593
1598
|
}
|
|
1594
1599
|
else {
|
|
1595
1600
|
return this.send(command, optionsOrCb);
|
|
1596
1601
|
}
|
|
1597
|
-
}
|
|
1598
|
-
describeManagedJobTemplate(args, optionsOrCb, cb) {
|
|
1599
|
-
|
|
1602
|
+
};
|
|
1603
|
+
IoT.prototype.describeManagedJobTemplate = function (args, optionsOrCb, cb) {
|
|
1604
|
+
var command = new DescribeManagedJobTemplateCommand(args);
|
|
1600
1605
|
if (typeof optionsOrCb === "function") {
|
|
1601
1606
|
this.send(command, optionsOrCb);
|
|
1602
1607
|
}
|
|
1603
1608
|
else if (typeof cb === "function") {
|
|
1604
1609
|
if (typeof optionsOrCb !== "object")
|
|
1605
|
-
throw new Error(
|
|
1610
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1606
1611
|
this.send(command, optionsOrCb || {}, cb);
|
|
1607
1612
|
}
|
|
1608
1613
|
else {
|
|
1609
1614
|
return this.send(command, optionsOrCb);
|
|
1610
1615
|
}
|
|
1611
|
-
}
|
|
1612
|
-
describeMitigationAction(args, optionsOrCb, cb) {
|
|
1613
|
-
|
|
1616
|
+
};
|
|
1617
|
+
IoT.prototype.describeMitigationAction = function (args, optionsOrCb, cb) {
|
|
1618
|
+
var command = new DescribeMitigationActionCommand(args);
|
|
1614
1619
|
if (typeof optionsOrCb === "function") {
|
|
1615
1620
|
this.send(command, optionsOrCb);
|
|
1616
1621
|
}
|
|
1617
1622
|
else if (typeof cb === "function") {
|
|
1618
1623
|
if (typeof optionsOrCb !== "object")
|
|
1619
|
-
throw new Error(
|
|
1624
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1620
1625
|
this.send(command, optionsOrCb || {}, cb);
|
|
1621
1626
|
}
|
|
1622
1627
|
else {
|
|
1623
1628
|
return this.send(command, optionsOrCb);
|
|
1624
1629
|
}
|
|
1625
|
-
}
|
|
1626
|
-
describeProvisioningTemplate(args, optionsOrCb, cb) {
|
|
1627
|
-
|
|
1630
|
+
};
|
|
1631
|
+
IoT.prototype.describeProvisioningTemplate = function (args, optionsOrCb, cb) {
|
|
1632
|
+
var command = new DescribeProvisioningTemplateCommand(args);
|
|
1628
1633
|
if (typeof optionsOrCb === "function") {
|
|
1629
1634
|
this.send(command, optionsOrCb);
|
|
1630
1635
|
}
|
|
1631
1636
|
else if (typeof cb === "function") {
|
|
1632
1637
|
if (typeof optionsOrCb !== "object")
|
|
1633
|
-
throw new Error(
|
|
1638
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1634
1639
|
this.send(command, optionsOrCb || {}, cb);
|
|
1635
1640
|
}
|
|
1636
1641
|
else {
|
|
1637
1642
|
return this.send(command, optionsOrCb);
|
|
1638
1643
|
}
|
|
1639
|
-
}
|
|
1640
|
-
describeProvisioningTemplateVersion(args, optionsOrCb, cb) {
|
|
1641
|
-
|
|
1644
|
+
};
|
|
1645
|
+
IoT.prototype.describeProvisioningTemplateVersion = function (args, optionsOrCb, cb) {
|
|
1646
|
+
var command = new DescribeProvisioningTemplateVersionCommand(args);
|
|
1642
1647
|
if (typeof optionsOrCb === "function") {
|
|
1643
1648
|
this.send(command, optionsOrCb);
|
|
1644
1649
|
}
|
|
1645
1650
|
else if (typeof cb === "function") {
|
|
1646
1651
|
if (typeof optionsOrCb !== "object")
|
|
1647
|
-
throw new Error(
|
|
1652
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1648
1653
|
this.send(command, optionsOrCb || {}, cb);
|
|
1649
1654
|
}
|
|
1650
1655
|
else {
|
|
1651
1656
|
return this.send(command, optionsOrCb);
|
|
1652
1657
|
}
|
|
1653
|
-
}
|
|
1654
|
-
describeRoleAlias(args, optionsOrCb, cb) {
|
|
1655
|
-
|
|
1658
|
+
};
|
|
1659
|
+
IoT.prototype.describeRoleAlias = function (args, optionsOrCb, cb) {
|
|
1660
|
+
var command = new DescribeRoleAliasCommand(args);
|
|
1656
1661
|
if (typeof optionsOrCb === "function") {
|
|
1657
1662
|
this.send(command, optionsOrCb);
|
|
1658
1663
|
}
|
|
1659
1664
|
else if (typeof cb === "function") {
|
|
1660
1665
|
if (typeof optionsOrCb !== "object")
|
|
1661
|
-
throw new Error(
|
|
1666
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1662
1667
|
this.send(command, optionsOrCb || {}, cb);
|
|
1663
1668
|
}
|
|
1664
1669
|
else {
|
|
1665
1670
|
return this.send(command, optionsOrCb);
|
|
1666
1671
|
}
|
|
1667
|
-
}
|
|
1668
|
-
describeScheduledAudit(args, optionsOrCb, cb) {
|
|
1669
|
-
|
|
1672
|
+
};
|
|
1673
|
+
IoT.prototype.describeScheduledAudit = function (args, optionsOrCb, cb) {
|
|
1674
|
+
var command = new DescribeScheduledAuditCommand(args);
|
|
1670
1675
|
if (typeof optionsOrCb === "function") {
|
|
1671
1676
|
this.send(command, optionsOrCb);
|
|
1672
1677
|
}
|
|
1673
1678
|
else if (typeof cb === "function") {
|
|
1674
1679
|
if (typeof optionsOrCb !== "object")
|
|
1675
|
-
throw new Error(
|
|
1680
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1676
1681
|
this.send(command, optionsOrCb || {}, cb);
|
|
1677
1682
|
}
|
|
1678
1683
|
else {
|
|
1679
1684
|
return this.send(command, optionsOrCb);
|
|
1680
1685
|
}
|
|
1681
|
-
}
|
|
1682
|
-
describeSecurityProfile(args, optionsOrCb, cb) {
|
|
1683
|
-
|
|
1686
|
+
};
|
|
1687
|
+
IoT.prototype.describeSecurityProfile = function (args, optionsOrCb, cb) {
|
|
1688
|
+
var command = new DescribeSecurityProfileCommand(args);
|
|
1684
1689
|
if (typeof optionsOrCb === "function") {
|
|
1685
1690
|
this.send(command, optionsOrCb);
|
|
1686
1691
|
}
|
|
1687
1692
|
else if (typeof cb === "function") {
|
|
1688
1693
|
if (typeof optionsOrCb !== "object")
|
|
1689
|
-
throw new Error(
|
|
1694
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1690
1695
|
this.send(command, optionsOrCb || {}, cb);
|
|
1691
1696
|
}
|
|
1692
1697
|
else {
|
|
1693
1698
|
return this.send(command, optionsOrCb);
|
|
1694
1699
|
}
|
|
1695
|
-
}
|
|
1696
|
-
describeStream(args, optionsOrCb, cb) {
|
|
1697
|
-
|
|
1700
|
+
};
|
|
1701
|
+
IoT.prototype.describeStream = function (args, optionsOrCb, cb) {
|
|
1702
|
+
var command = new DescribeStreamCommand(args);
|
|
1698
1703
|
if (typeof optionsOrCb === "function") {
|
|
1699
1704
|
this.send(command, optionsOrCb);
|
|
1700
1705
|
}
|
|
1701
1706
|
else if (typeof cb === "function") {
|
|
1702
1707
|
if (typeof optionsOrCb !== "object")
|
|
1703
|
-
throw new Error(
|
|
1708
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1704
1709
|
this.send(command, optionsOrCb || {}, cb);
|
|
1705
1710
|
}
|
|
1706
1711
|
else {
|
|
1707
1712
|
return this.send(command, optionsOrCb);
|
|
1708
1713
|
}
|
|
1709
|
-
}
|
|
1710
|
-
describeThing(args, optionsOrCb, cb) {
|
|
1711
|
-
|
|
1714
|
+
};
|
|
1715
|
+
IoT.prototype.describeThing = function (args, optionsOrCb, cb) {
|
|
1716
|
+
var command = new DescribeThingCommand(args);
|
|
1712
1717
|
if (typeof optionsOrCb === "function") {
|
|
1713
1718
|
this.send(command, optionsOrCb);
|
|
1714
1719
|
}
|
|
1715
1720
|
else if (typeof cb === "function") {
|
|
1716
1721
|
if (typeof optionsOrCb !== "object")
|
|
1717
|
-
throw new Error(
|
|
1722
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1718
1723
|
this.send(command, optionsOrCb || {}, cb);
|
|
1719
1724
|
}
|
|
1720
1725
|
else {
|
|
1721
1726
|
return this.send(command, optionsOrCb);
|
|
1722
1727
|
}
|
|
1723
|
-
}
|
|
1724
|
-
describeThingGroup(args, optionsOrCb, cb) {
|
|
1725
|
-
|
|
1728
|
+
};
|
|
1729
|
+
IoT.prototype.describeThingGroup = function (args, optionsOrCb, cb) {
|
|
1730
|
+
var command = new DescribeThingGroupCommand(args);
|
|
1726
1731
|
if (typeof optionsOrCb === "function") {
|
|
1727
1732
|
this.send(command, optionsOrCb);
|
|
1728
1733
|
}
|
|
1729
1734
|
else if (typeof cb === "function") {
|
|
1730
1735
|
if (typeof optionsOrCb !== "object")
|
|
1731
|
-
throw new Error(
|
|
1736
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1732
1737
|
this.send(command, optionsOrCb || {}, cb);
|
|
1733
1738
|
}
|
|
1734
1739
|
else {
|
|
1735
1740
|
return this.send(command, optionsOrCb);
|
|
1736
1741
|
}
|
|
1737
|
-
}
|
|
1738
|
-
describeThingRegistrationTask(args, optionsOrCb, cb) {
|
|
1739
|
-
|
|
1742
|
+
};
|
|
1743
|
+
IoT.prototype.describeThingRegistrationTask = function (args, optionsOrCb, cb) {
|
|
1744
|
+
var command = new DescribeThingRegistrationTaskCommand(args);
|
|
1740
1745
|
if (typeof optionsOrCb === "function") {
|
|
1741
1746
|
this.send(command, optionsOrCb);
|
|
1742
1747
|
}
|
|
1743
1748
|
else if (typeof cb === "function") {
|
|
1744
1749
|
if (typeof optionsOrCb !== "object")
|
|
1745
|
-
throw new Error(
|
|
1750
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1746
1751
|
this.send(command, optionsOrCb || {}, cb);
|
|
1747
1752
|
}
|
|
1748
1753
|
else {
|
|
1749
1754
|
return this.send(command, optionsOrCb);
|
|
1750
1755
|
}
|
|
1751
|
-
}
|
|
1752
|
-
describeThingType(args, optionsOrCb, cb) {
|
|
1753
|
-
|
|
1756
|
+
};
|
|
1757
|
+
IoT.prototype.describeThingType = function (args, optionsOrCb, cb) {
|
|
1758
|
+
var command = new DescribeThingTypeCommand(args);
|
|
1754
1759
|
if (typeof optionsOrCb === "function") {
|
|
1755
1760
|
this.send(command, optionsOrCb);
|
|
1756
1761
|
}
|
|
1757
1762
|
else if (typeof cb === "function") {
|
|
1758
1763
|
if (typeof optionsOrCb !== "object")
|
|
1759
|
-
throw new Error(
|
|
1764
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1760
1765
|
this.send(command, optionsOrCb || {}, cb);
|
|
1761
1766
|
}
|
|
1762
1767
|
else {
|
|
1763
1768
|
return this.send(command, optionsOrCb);
|
|
1764
1769
|
}
|
|
1765
|
-
}
|
|
1766
|
-
detachPolicy(args, optionsOrCb, cb) {
|
|
1767
|
-
|
|
1770
|
+
};
|
|
1771
|
+
IoT.prototype.detachPolicy = function (args, optionsOrCb, cb) {
|
|
1772
|
+
var command = new DetachPolicyCommand(args);
|
|
1768
1773
|
if (typeof optionsOrCb === "function") {
|
|
1769
1774
|
this.send(command, optionsOrCb);
|
|
1770
1775
|
}
|
|
1771
1776
|
else if (typeof cb === "function") {
|
|
1772
1777
|
if (typeof optionsOrCb !== "object")
|
|
1773
|
-
throw new Error(
|
|
1778
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1774
1779
|
this.send(command, optionsOrCb || {}, cb);
|
|
1775
1780
|
}
|
|
1776
1781
|
else {
|
|
1777
1782
|
return this.send(command, optionsOrCb);
|
|
1778
1783
|
}
|
|
1779
|
-
}
|
|
1780
|
-
detachPrincipalPolicy(args, optionsOrCb, cb) {
|
|
1781
|
-
|
|
1784
|
+
};
|
|
1785
|
+
IoT.prototype.detachPrincipalPolicy = function (args, optionsOrCb, cb) {
|
|
1786
|
+
var command = new DetachPrincipalPolicyCommand(args);
|
|
1782
1787
|
if (typeof optionsOrCb === "function") {
|
|
1783
1788
|
this.send(command, optionsOrCb);
|
|
1784
1789
|
}
|
|
1785
1790
|
else if (typeof cb === "function") {
|
|
1786
1791
|
if (typeof optionsOrCb !== "object")
|
|
1787
|
-
throw new Error(
|
|
1792
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1788
1793
|
this.send(command, optionsOrCb || {}, cb);
|
|
1789
1794
|
}
|
|
1790
1795
|
else {
|
|
1791
1796
|
return this.send(command, optionsOrCb);
|
|
1792
1797
|
}
|
|
1793
|
-
}
|
|
1794
|
-
detachSecurityProfile(args, optionsOrCb, cb) {
|
|
1795
|
-
|
|
1798
|
+
};
|
|
1799
|
+
IoT.prototype.detachSecurityProfile = function (args, optionsOrCb, cb) {
|
|
1800
|
+
var command = new DetachSecurityProfileCommand(args);
|
|
1796
1801
|
if (typeof optionsOrCb === "function") {
|
|
1797
1802
|
this.send(command, optionsOrCb);
|
|
1798
1803
|
}
|
|
1799
1804
|
else if (typeof cb === "function") {
|
|
1800
1805
|
if (typeof optionsOrCb !== "object")
|
|
1801
|
-
throw new Error(
|
|
1806
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1802
1807
|
this.send(command, optionsOrCb || {}, cb);
|
|
1803
1808
|
}
|
|
1804
1809
|
else {
|
|
1805
1810
|
return this.send(command, optionsOrCb);
|
|
1806
1811
|
}
|
|
1807
|
-
}
|
|
1808
|
-
detachThingPrincipal(args, optionsOrCb, cb) {
|
|
1809
|
-
|
|
1812
|
+
};
|
|
1813
|
+
IoT.prototype.detachThingPrincipal = function (args, optionsOrCb, cb) {
|
|
1814
|
+
var command = new DetachThingPrincipalCommand(args);
|
|
1810
1815
|
if (typeof optionsOrCb === "function") {
|
|
1811
1816
|
this.send(command, optionsOrCb);
|
|
1812
1817
|
}
|
|
1813
1818
|
else if (typeof cb === "function") {
|
|
1814
1819
|
if (typeof optionsOrCb !== "object")
|
|
1815
|
-
throw new Error(
|
|
1820
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1816
1821
|
this.send(command, optionsOrCb || {}, cb);
|
|
1817
1822
|
}
|
|
1818
1823
|
else {
|
|
1819
1824
|
return this.send(command, optionsOrCb);
|
|
1820
1825
|
}
|
|
1821
|
-
}
|
|
1822
|
-
disableTopicRule(args, optionsOrCb, cb) {
|
|
1823
|
-
|
|
1826
|
+
};
|
|
1827
|
+
IoT.prototype.disableTopicRule = function (args, optionsOrCb, cb) {
|
|
1828
|
+
var command = new DisableTopicRuleCommand(args);
|
|
1824
1829
|
if (typeof optionsOrCb === "function") {
|
|
1825
1830
|
this.send(command, optionsOrCb);
|
|
1826
1831
|
}
|
|
1827
1832
|
else if (typeof cb === "function") {
|
|
1828
1833
|
if (typeof optionsOrCb !== "object")
|
|
1829
|
-
throw new Error(
|
|
1834
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1830
1835
|
this.send(command, optionsOrCb || {}, cb);
|
|
1831
1836
|
}
|
|
1832
1837
|
else {
|
|
1833
1838
|
return this.send(command, optionsOrCb);
|
|
1834
1839
|
}
|
|
1835
|
-
}
|
|
1836
|
-
enableTopicRule(args, optionsOrCb, cb) {
|
|
1837
|
-
|
|
1840
|
+
};
|
|
1841
|
+
IoT.prototype.enableTopicRule = function (args, optionsOrCb, cb) {
|
|
1842
|
+
var command = new EnableTopicRuleCommand(args);
|
|
1838
1843
|
if (typeof optionsOrCb === "function") {
|
|
1839
1844
|
this.send(command, optionsOrCb);
|
|
1840
1845
|
}
|
|
1841
1846
|
else if (typeof cb === "function") {
|
|
1842
1847
|
if (typeof optionsOrCb !== "object")
|
|
1843
|
-
throw new Error(
|
|
1848
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1844
1849
|
this.send(command, optionsOrCb || {}, cb);
|
|
1845
1850
|
}
|
|
1846
1851
|
else {
|
|
1847
1852
|
return this.send(command, optionsOrCb);
|
|
1848
1853
|
}
|
|
1849
|
-
}
|
|
1850
|
-
getBehaviorModelTrainingSummaries(args, optionsOrCb, cb) {
|
|
1851
|
-
|
|
1854
|
+
};
|
|
1855
|
+
IoT.prototype.getBehaviorModelTrainingSummaries = function (args, optionsOrCb, cb) {
|
|
1856
|
+
var command = new GetBehaviorModelTrainingSummariesCommand(args);
|
|
1852
1857
|
if (typeof optionsOrCb === "function") {
|
|
1853
1858
|
this.send(command, optionsOrCb);
|
|
1854
1859
|
}
|
|
1855
1860
|
else if (typeof cb === "function") {
|
|
1856
1861
|
if (typeof optionsOrCb !== "object")
|
|
1857
|
-
throw new Error(
|
|
1862
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1858
1863
|
this.send(command, optionsOrCb || {}, cb);
|
|
1859
1864
|
}
|
|
1860
1865
|
else {
|
|
1861
1866
|
return this.send(command, optionsOrCb);
|
|
1862
1867
|
}
|
|
1863
|
-
}
|
|
1864
|
-
getBucketsAggregation(args, optionsOrCb, cb) {
|
|
1865
|
-
|
|
1868
|
+
};
|
|
1869
|
+
IoT.prototype.getBucketsAggregation = function (args, optionsOrCb, cb) {
|
|
1870
|
+
var command = new GetBucketsAggregationCommand(args);
|
|
1866
1871
|
if (typeof optionsOrCb === "function") {
|
|
1867
1872
|
this.send(command, optionsOrCb);
|
|
1868
1873
|
}
|
|
1869
1874
|
else if (typeof cb === "function") {
|
|
1870
1875
|
if (typeof optionsOrCb !== "object")
|
|
1871
|
-
throw new Error(
|
|
1876
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1872
1877
|
this.send(command, optionsOrCb || {}, cb);
|
|
1873
1878
|
}
|
|
1874
1879
|
else {
|
|
1875
1880
|
return this.send(command, optionsOrCb);
|
|
1876
1881
|
}
|
|
1877
|
-
}
|
|
1878
|
-
getCardinality(args, optionsOrCb, cb) {
|
|
1879
|
-
|
|
1882
|
+
};
|
|
1883
|
+
IoT.prototype.getCardinality = function (args, optionsOrCb, cb) {
|
|
1884
|
+
var command = new GetCardinalityCommand(args);
|
|
1880
1885
|
if (typeof optionsOrCb === "function") {
|
|
1881
1886
|
this.send(command, optionsOrCb);
|
|
1882
1887
|
}
|
|
1883
1888
|
else if (typeof cb === "function") {
|
|
1884
1889
|
if (typeof optionsOrCb !== "object")
|
|
1885
|
-
throw new Error(
|
|
1890
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1886
1891
|
this.send(command, optionsOrCb || {}, cb);
|
|
1887
1892
|
}
|
|
1888
1893
|
else {
|
|
1889
1894
|
return this.send(command, optionsOrCb);
|
|
1890
1895
|
}
|
|
1891
|
-
}
|
|
1892
|
-
getEffectivePolicies(args, optionsOrCb, cb) {
|
|
1893
|
-
|
|
1896
|
+
};
|
|
1897
|
+
IoT.prototype.getEffectivePolicies = function (args, optionsOrCb, cb) {
|
|
1898
|
+
var command = new GetEffectivePoliciesCommand(args);
|
|
1894
1899
|
if (typeof optionsOrCb === "function") {
|
|
1895
1900
|
this.send(command, optionsOrCb);
|
|
1896
1901
|
}
|
|
1897
1902
|
else if (typeof cb === "function") {
|
|
1898
1903
|
if (typeof optionsOrCb !== "object")
|
|
1899
|
-
throw new Error(
|
|
1904
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1900
1905
|
this.send(command, optionsOrCb || {}, cb);
|
|
1901
1906
|
}
|
|
1902
1907
|
else {
|
|
1903
1908
|
return this.send(command, optionsOrCb);
|
|
1904
1909
|
}
|
|
1905
|
-
}
|
|
1906
|
-
getIndexingConfiguration(args, optionsOrCb, cb) {
|
|
1907
|
-
|
|
1910
|
+
};
|
|
1911
|
+
IoT.prototype.getIndexingConfiguration = function (args, optionsOrCb, cb) {
|
|
1912
|
+
var command = new GetIndexingConfigurationCommand(args);
|
|
1908
1913
|
if (typeof optionsOrCb === "function") {
|
|
1909
1914
|
this.send(command, optionsOrCb);
|
|
1910
1915
|
}
|
|
1911
1916
|
else if (typeof cb === "function") {
|
|
1912
1917
|
if (typeof optionsOrCb !== "object")
|
|
1913
|
-
throw new Error(
|
|
1918
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1914
1919
|
this.send(command, optionsOrCb || {}, cb);
|
|
1915
1920
|
}
|
|
1916
1921
|
else {
|
|
1917
1922
|
return this.send(command, optionsOrCb);
|
|
1918
1923
|
}
|
|
1919
|
-
}
|
|
1920
|
-
getJobDocument(args, optionsOrCb, cb) {
|
|
1921
|
-
|
|
1924
|
+
};
|
|
1925
|
+
IoT.prototype.getJobDocument = function (args, optionsOrCb, cb) {
|
|
1926
|
+
var command = new GetJobDocumentCommand(args);
|
|
1922
1927
|
if (typeof optionsOrCb === "function") {
|
|
1923
1928
|
this.send(command, optionsOrCb);
|
|
1924
1929
|
}
|
|
1925
1930
|
else if (typeof cb === "function") {
|
|
1926
1931
|
if (typeof optionsOrCb !== "object")
|
|
1927
|
-
throw new Error(
|
|
1932
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1928
1933
|
this.send(command, optionsOrCb || {}, cb);
|
|
1929
1934
|
}
|
|
1930
1935
|
else {
|
|
1931
1936
|
return this.send(command, optionsOrCb);
|
|
1932
1937
|
}
|
|
1933
|
-
}
|
|
1934
|
-
getLoggingOptions(args, optionsOrCb, cb) {
|
|
1935
|
-
|
|
1938
|
+
};
|
|
1939
|
+
IoT.prototype.getLoggingOptions = function (args, optionsOrCb, cb) {
|
|
1940
|
+
var command = new GetLoggingOptionsCommand(args);
|
|
1936
1941
|
if (typeof optionsOrCb === "function") {
|
|
1937
1942
|
this.send(command, optionsOrCb);
|
|
1938
1943
|
}
|
|
1939
1944
|
else if (typeof cb === "function") {
|
|
1940
1945
|
if (typeof optionsOrCb !== "object")
|
|
1941
|
-
throw new Error(
|
|
1946
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1942
1947
|
this.send(command, optionsOrCb || {}, cb);
|
|
1943
1948
|
}
|
|
1944
1949
|
else {
|
|
1945
1950
|
return this.send(command, optionsOrCb);
|
|
1946
1951
|
}
|
|
1947
|
-
}
|
|
1948
|
-
getOTAUpdate(args, optionsOrCb, cb) {
|
|
1949
|
-
|
|
1952
|
+
};
|
|
1953
|
+
IoT.prototype.getOTAUpdate = function (args, optionsOrCb, cb) {
|
|
1954
|
+
var command = new GetOTAUpdateCommand(args);
|
|
1950
1955
|
if (typeof optionsOrCb === "function") {
|
|
1951
1956
|
this.send(command, optionsOrCb);
|
|
1952
1957
|
}
|
|
1953
1958
|
else if (typeof cb === "function") {
|
|
1954
1959
|
if (typeof optionsOrCb !== "object")
|
|
1955
|
-
throw new Error(
|
|
1960
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1956
1961
|
this.send(command, optionsOrCb || {}, cb);
|
|
1957
1962
|
}
|
|
1958
1963
|
else {
|
|
1959
1964
|
return this.send(command, optionsOrCb);
|
|
1960
1965
|
}
|
|
1961
|
-
}
|
|
1962
|
-
getPercentiles(args, optionsOrCb, cb) {
|
|
1963
|
-
|
|
1966
|
+
};
|
|
1967
|
+
IoT.prototype.getPercentiles = function (args, optionsOrCb, cb) {
|
|
1968
|
+
var command = new GetPercentilesCommand(args);
|
|
1964
1969
|
if (typeof optionsOrCb === "function") {
|
|
1965
1970
|
this.send(command, optionsOrCb);
|
|
1966
1971
|
}
|
|
1967
1972
|
else if (typeof cb === "function") {
|
|
1968
1973
|
if (typeof optionsOrCb !== "object")
|
|
1969
|
-
throw new Error(
|
|
1974
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1970
1975
|
this.send(command, optionsOrCb || {}, cb);
|
|
1971
1976
|
}
|
|
1972
1977
|
else {
|
|
1973
1978
|
return this.send(command, optionsOrCb);
|
|
1974
1979
|
}
|
|
1975
|
-
}
|
|
1976
|
-
getPolicy(args, optionsOrCb, cb) {
|
|
1977
|
-
|
|
1980
|
+
};
|
|
1981
|
+
IoT.prototype.getPolicy = function (args, optionsOrCb, cb) {
|
|
1982
|
+
var command = new GetPolicyCommand(args);
|
|
1978
1983
|
if (typeof optionsOrCb === "function") {
|
|
1979
1984
|
this.send(command, optionsOrCb);
|
|
1980
1985
|
}
|
|
1981
1986
|
else if (typeof cb === "function") {
|
|
1982
1987
|
if (typeof optionsOrCb !== "object")
|
|
1983
|
-
throw new Error(
|
|
1988
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1984
1989
|
this.send(command, optionsOrCb || {}, cb);
|
|
1985
1990
|
}
|
|
1986
1991
|
else {
|
|
1987
1992
|
return this.send(command, optionsOrCb);
|
|
1988
1993
|
}
|
|
1989
|
-
}
|
|
1990
|
-
getPolicyVersion(args, optionsOrCb, cb) {
|
|
1991
|
-
|
|
1994
|
+
};
|
|
1995
|
+
IoT.prototype.getPolicyVersion = function (args, optionsOrCb, cb) {
|
|
1996
|
+
var command = new GetPolicyVersionCommand(args);
|
|
1992
1997
|
if (typeof optionsOrCb === "function") {
|
|
1993
1998
|
this.send(command, optionsOrCb);
|
|
1994
1999
|
}
|
|
1995
2000
|
else if (typeof cb === "function") {
|
|
1996
2001
|
if (typeof optionsOrCb !== "object")
|
|
1997
|
-
throw new Error(
|
|
2002
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1998
2003
|
this.send(command, optionsOrCb || {}, cb);
|
|
1999
2004
|
}
|
|
2000
2005
|
else {
|
|
2001
2006
|
return this.send(command, optionsOrCb);
|
|
2002
2007
|
}
|
|
2003
|
-
}
|
|
2004
|
-
getRegistrationCode(args, optionsOrCb, cb) {
|
|
2005
|
-
|
|
2008
|
+
};
|
|
2009
|
+
IoT.prototype.getRegistrationCode = function (args, optionsOrCb, cb) {
|
|
2010
|
+
var command = new GetRegistrationCodeCommand(args);
|
|
2006
2011
|
if (typeof optionsOrCb === "function") {
|
|
2007
2012
|
this.send(command, optionsOrCb);
|
|
2008
2013
|
}
|
|
2009
2014
|
else if (typeof cb === "function") {
|
|
2010
2015
|
if (typeof optionsOrCb !== "object")
|
|
2011
|
-
throw new Error(
|
|
2016
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2012
2017
|
this.send(command, optionsOrCb || {}, cb);
|
|
2013
2018
|
}
|
|
2014
2019
|
else {
|
|
2015
2020
|
return this.send(command, optionsOrCb);
|
|
2016
2021
|
}
|
|
2017
|
-
}
|
|
2018
|
-
getStatistics(args, optionsOrCb, cb) {
|
|
2019
|
-
|
|
2022
|
+
};
|
|
2023
|
+
IoT.prototype.getStatistics = function (args, optionsOrCb, cb) {
|
|
2024
|
+
var command = new GetStatisticsCommand(args);
|
|
2020
2025
|
if (typeof optionsOrCb === "function") {
|
|
2021
2026
|
this.send(command, optionsOrCb);
|
|
2022
2027
|
}
|
|
2023
2028
|
else if (typeof cb === "function") {
|
|
2024
2029
|
if (typeof optionsOrCb !== "object")
|
|
2025
|
-
throw new Error(
|
|
2030
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2026
2031
|
this.send(command, optionsOrCb || {}, cb);
|
|
2027
2032
|
}
|
|
2028
2033
|
else {
|
|
2029
2034
|
return this.send(command, optionsOrCb);
|
|
2030
2035
|
}
|
|
2031
|
-
}
|
|
2032
|
-
getTopicRule(args, optionsOrCb, cb) {
|
|
2033
|
-
|
|
2036
|
+
};
|
|
2037
|
+
IoT.prototype.getTopicRule = function (args, optionsOrCb, cb) {
|
|
2038
|
+
var command = new GetTopicRuleCommand(args);
|
|
2034
2039
|
if (typeof optionsOrCb === "function") {
|
|
2035
2040
|
this.send(command, optionsOrCb);
|
|
2036
2041
|
}
|
|
2037
2042
|
else if (typeof cb === "function") {
|
|
2038
2043
|
if (typeof optionsOrCb !== "object")
|
|
2039
|
-
throw new Error(
|
|
2044
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2040
2045
|
this.send(command, optionsOrCb || {}, cb);
|
|
2041
2046
|
}
|
|
2042
2047
|
else {
|
|
2043
2048
|
return this.send(command, optionsOrCb);
|
|
2044
2049
|
}
|
|
2045
|
-
}
|
|
2046
|
-
getTopicRuleDestination(args, optionsOrCb, cb) {
|
|
2047
|
-
|
|
2050
|
+
};
|
|
2051
|
+
IoT.prototype.getTopicRuleDestination = function (args, optionsOrCb, cb) {
|
|
2052
|
+
var command = new GetTopicRuleDestinationCommand(args);
|
|
2048
2053
|
if (typeof optionsOrCb === "function") {
|
|
2049
2054
|
this.send(command, optionsOrCb);
|
|
2050
2055
|
}
|
|
2051
2056
|
else if (typeof cb === "function") {
|
|
2052
2057
|
if (typeof optionsOrCb !== "object")
|
|
2053
|
-
throw new Error(
|
|
2058
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2054
2059
|
this.send(command, optionsOrCb || {}, cb);
|
|
2055
2060
|
}
|
|
2056
2061
|
else {
|
|
2057
2062
|
return this.send(command, optionsOrCb);
|
|
2058
2063
|
}
|
|
2059
|
-
}
|
|
2060
|
-
getV2LoggingOptions(args, optionsOrCb, cb) {
|
|
2061
|
-
|
|
2064
|
+
};
|
|
2065
|
+
IoT.prototype.getV2LoggingOptions = function (args, optionsOrCb, cb) {
|
|
2066
|
+
var command = new GetV2LoggingOptionsCommand(args);
|
|
2062
2067
|
if (typeof optionsOrCb === "function") {
|
|
2063
2068
|
this.send(command, optionsOrCb);
|
|
2064
2069
|
}
|
|
2065
2070
|
else if (typeof cb === "function") {
|
|
2066
2071
|
if (typeof optionsOrCb !== "object")
|
|
2067
|
-
throw new Error(
|
|
2072
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2068
2073
|
this.send(command, optionsOrCb || {}, cb);
|
|
2069
2074
|
}
|
|
2070
2075
|
else {
|
|
2071
2076
|
return this.send(command, optionsOrCb);
|
|
2072
2077
|
}
|
|
2073
|
-
}
|
|
2074
|
-
listActiveViolations(args, optionsOrCb, cb) {
|
|
2075
|
-
|
|
2078
|
+
};
|
|
2079
|
+
IoT.prototype.listActiveViolations = function (args, optionsOrCb, cb) {
|
|
2080
|
+
var command = new ListActiveViolationsCommand(args);
|
|
2076
2081
|
if (typeof optionsOrCb === "function") {
|
|
2077
2082
|
this.send(command, optionsOrCb);
|
|
2078
2083
|
}
|
|
2079
2084
|
else if (typeof cb === "function") {
|
|
2080
2085
|
if (typeof optionsOrCb !== "object")
|
|
2081
|
-
throw new Error(
|
|
2086
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2082
2087
|
this.send(command, optionsOrCb || {}, cb);
|
|
2083
2088
|
}
|
|
2084
2089
|
else {
|
|
2085
2090
|
return this.send(command, optionsOrCb);
|
|
2086
2091
|
}
|
|
2087
|
-
}
|
|
2088
|
-
listAttachedPolicies(args, optionsOrCb, cb) {
|
|
2089
|
-
|
|
2092
|
+
};
|
|
2093
|
+
IoT.prototype.listAttachedPolicies = function (args, optionsOrCb, cb) {
|
|
2094
|
+
var command = new ListAttachedPoliciesCommand(args);
|
|
2090
2095
|
if (typeof optionsOrCb === "function") {
|
|
2091
2096
|
this.send(command, optionsOrCb);
|
|
2092
2097
|
}
|
|
2093
2098
|
else if (typeof cb === "function") {
|
|
2094
2099
|
if (typeof optionsOrCb !== "object")
|
|
2095
|
-
throw new Error(
|
|
2100
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2096
2101
|
this.send(command, optionsOrCb || {}, cb);
|
|
2097
2102
|
}
|
|
2098
2103
|
else {
|
|
2099
2104
|
return this.send(command, optionsOrCb);
|
|
2100
2105
|
}
|
|
2101
|
-
}
|
|
2102
|
-
listAuditFindings(args, optionsOrCb, cb) {
|
|
2103
|
-
|
|
2106
|
+
};
|
|
2107
|
+
IoT.prototype.listAuditFindings = function (args, optionsOrCb, cb) {
|
|
2108
|
+
var command = new ListAuditFindingsCommand(args);
|
|
2104
2109
|
if (typeof optionsOrCb === "function") {
|
|
2105
2110
|
this.send(command, optionsOrCb);
|
|
2106
2111
|
}
|
|
2107
2112
|
else if (typeof cb === "function") {
|
|
2108
2113
|
if (typeof optionsOrCb !== "object")
|
|
2109
|
-
throw new Error(
|
|
2114
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2110
2115
|
this.send(command, optionsOrCb || {}, cb);
|
|
2111
2116
|
}
|
|
2112
2117
|
else {
|
|
2113
2118
|
return this.send(command, optionsOrCb);
|
|
2114
2119
|
}
|
|
2115
|
-
}
|
|
2116
|
-
listAuditMitigationActionsExecutions(args, optionsOrCb, cb) {
|
|
2117
|
-
|
|
2120
|
+
};
|
|
2121
|
+
IoT.prototype.listAuditMitigationActionsExecutions = function (args, optionsOrCb, cb) {
|
|
2122
|
+
var command = new ListAuditMitigationActionsExecutionsCommand(args);
|
|
2118
2123
|
if (typeof optionsOrCb === "function") {
|
|
2119
2124
|
this.send(command, optionsOrCb);
|
|
2120
2125
|
}
|
|
2121
2126
|
else if (typeof cb === "function") {
|
|
2122
2127
|
if (typeof optionsOrCb !== "object")
|
|
2123
|
-
throw new Error(
|
|
2128
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2124
2129
|
this.send(command, optionsOrCb || {}, cb);
|
|
2125
2130
|
}
|
|
2126
2131
|
else {
|
|
2127
2132
|
return this.send(command, optionsOrCb);
|
|
2128
2133
|
}
|
|
2129
|
-
}
|
|
2130
|
-
listAuditMitigationActionsTasks(args, optionsOrCb, cb) {
|
|
2131
|
-
|
|
2134
|
+
};
|
|
2135
|
+
IoT.prototype.listAuditMitigationActionsTasks = function (args, optionsOrCb, cb) {
|
|
2136
|
+
var command = new ListAuditMitigationActionsTasksCommand(args);
|
|
2132
2137
|
if (typeof optionsOrCb === "function") {
|
|
2133
2138
|
this.send(command, optionsOrCb);
|
|
2134
2139
|
}
|
|
2135
2140
|
else if (typeof cb === "function") {
|
|
2136
2141
|
if (typeof optionsOrCb !== "object")
|
|
2137
|
-
throw new Error(
|
|
2142
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2138
2143
|
this.send(command, optionsOrCb || {}, cb);
|
|
2139
2144
|
}
|
|
2140
2145
|
else {
|
|
2141
2146
|
return this.send(command, optionsOrCb);
|
|
2142
2147
|
}
|
|
2143
|
-
}
|
|
2144
|
-
listAuditSuppressions(args, optionsOrCb, cb) {
|
|
2145
|
-
|
|
2148
|
+
};
|
|
2149
|
+
IoT.prototype.listAuditSuppressions = function (args, optionsOrCb, cb) {
|
|
2150
|
+
var command = new ListAuditSuppressionsCommand(args);
|
|
2146
2151
|
if (typeof optionsOrCb === "function") {
|
|
2147
2152
|
this.send(command, optionsOrCb);
|
|
2148
2153
|
}
|
|
2149
2154
|
else if (typeof cb === "function") {
|
|
2150
2155
|
if (typeof optionsOrCb !== "object")
|
|
2151
|
-
throw new Error(
|
|
2156
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2152
2157
|
this.send(command, optionsOrCb || {}, cb);
|
|
2153
2158
|
}
|
|
2154
2159
|
else {
|
|
2155
2160
|
return this.send(command, optionsOrCb);
|
|
2156
2161
|
}
|
|
2157
|
-
}
|
|
2158
|
-
listAuditTasks(args, optionsOrCb, cb) {
|
|
2159
|
-
|
|
2162
|
+
};
|
|
2163
|
+
IoT.prototype.listAuditTasks = function (args, optionsOrCb, cb) {
|
|
2164
|
+
var command = new ListAuditTasksCommand(args);
|
|
2160
2165
|
if (typeof optionsOrCb === "function") {
|
|
2161
2166
|
this.send(command, optionsOrCb);
|
|
2162
2167
|
}
|
|
2163
2168
|
else if (typeof cb === "function") {
|
|
2164
2169
|
if (typeof optionsOrCb !== "object")
|
|
2165
|
-
throw new Error(
|
|
2170
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2166
2171
|
this.send(command, optionsOrCb || {}, cb);
|
|
2167
2172
|
}
|
|
2168
2173
|
else {
|
|
2169
2174
|
return this.send(command, optionsOrCb);
|
|
2170
2175
|
}
|
|
2171
|
-
}
|
|
2172
|
-
listAuthorizers(args, optionsOrCb, cb) {
|
|
2173
|
-
|
|
2176
|
+
};
|
|
2177
|
+
IoT.prototype.listAuthorizers = function (args, optionsOrCb, cb) {
|
|
2178
|
+
var command = new ListAuthorizersCommand(args);
|
|
2174
2179
|
if (typeof optionsOrCb === "function") {
|
|
2175
2180
|
this.send(command, optionsOrCb);
|
|
2176
2181
|
}
|
|
2177
2182
|
else if (typeof cb === "function") {
|
|
2178
2183
|
if (typeof optionsOrCb !== "object")
|
|
2179
|
-
throw new Error(
|
|
2184
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2180
2185
|
this.send(command, optionsOrCb || {}, cb);
|
|
2181
2186
|
}
|
|
2182
2187
|
else {
|
|
2183
2188
|
return this.send(command, optionsOrCb);
|
|
2184
2189
|
}
|
|
2185
|
-
}
|
|
2186
|
-
listBillingGroups(args, optionsOrCb, cb) {
|
|
2187
|
-
|
|
2190
|
+
};
|
|
2191
|
+
IoT.prototype.listBillingGroups = function (args, optionsOrCb, cb) {
|
|
2192
|
+
var command = new ListBillingGroupsCommand(args);
|
|
2188
2193
|
if (typeof optionsOrCb === "function") {
|
|
2189
2194
|
this.send(command, optionsOrCb);
|
|
2190
2195
|
}
|
|
2191
2196
|
else if (typeof cb === "function") {
|
|
2192
2197
|
if (typeof optionsOrCb !== "object")
|
|
2193
|
-
throw new Error(
|
|
2198
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2194
2199
|
this.send(command, optionsOrCb || {}, cb);
|
|
2195
2200
|
}
|
|
2196
2201
|
else {
|
|
2197
2202
|
return this.send(command, optionsOrCb);
|
|
2198
2203
|
}
|
|
2199
|
-
}
|
|
2200
|
-
listCACertificates(args, optionsOrCb, cb) {
|
|
2201
|
-
|
|
2204
|
+
};
|
|
2205
|
+
IoT.prototype.listCACertificates = function (args, optionsOrCb, cb) {
|
|
2206
|
+
var command = new ListCACertificatesCommand(args);
|
|
2202
2207
|
if (typeof optionsOrCb === "function") {
|
|
2203
2208
|
this.send(command, optionsOrCb);
|
|
2204
2209
|
}
|
|
2205
2210
|
else if (typeof cb === "function") {
|
|
2206
2211
|
if (typeof optionsOrCb !== "object")
|
|
2207
|
-
throw new Error(
|
|
2212
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2208
2213
|
this.send(command, optionsOrCb || {}, cb);
|
|
2209
2214
|
}
|
|
2210
2215
|
else {
|
|
2211
2216
|
return this.send(command, optionsOrCb);
|
|
2212
2217
|
}
|
|
2213
|
-
}
|
|
2214
|
-
listCertificates(args, optionsOrCb, cb) {
|
|
2215
|
-
|
|
2218
|
+
};
|
|
2219
|
+
IoT.prototype.listCertificates = function (args, optionsOrCb, cb) {
|
|
2220
|
+
var command = new ListCertificatesCommand(args);
|
|
2216
2221
|
if (typeof optionsOrCb === "function") {
|
|
2217
2222
|
this.send(command, optionsOrCb);
|
|
2218
2223
|
}
|
|
2219
2224
|
else if (typeof cb === "function") {
|
|
2220
2225
|
if (typeof optionsOrCb !== "object")
|
|
2221
|
-
throw new Error(
|
|
2226
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2222
2227
|
this.send(command, optionsOrCb || {}, cb);
|
|
2223
2228
|
}
|
|
2224
2229
|
else {
|
|
2225
2230
|
return this.send(command, optionsOrCb);
|
|
2226
2231
|
}
|
|
2227
|
-
}
|
|
2228
|
-
listCertificatesByCA(args, optionsOrCb, cb) {
|
|
2229
|
-
|
|
2232
|
+
};
|
|
2233
|
+
IoT.prototype.listCertificatesByCA = function (args, optionsOrCb, cb) {
|
|
2234
|
+
var command = new ListCertificatesByCACommand(args);
|
|
2230
2235
|
if (typeof optionsOrCb === "function") {
|
|
2231
2236
|
this.send(command, optionsOrCb);
|
|
2232
2237
|
}
|
|
2233
2238
|
else if (typeof cb === "function") {
|
|
2234
2239
|
if (typeof optionsOrCb !== "object")
|
|
2235
|
-
throw new Error(
|
|
2240
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2236
2241
|
this.send(command, optionsOrCb || {}, cb);
|
|
2237
2242
|
}
|
|
2238
2243
|
else {
|
|
2239
2244
|
return this.send(command, optionsOrCb);
|
|
2240
2245
|
}
|
|
2241
|
-
}
|
|
2242
|
-
listCustomMetrics(args, optionsOrCb, cb) {
|
|
2243
|
-
|
|
2246
|
+
};
|
|
2247
|
+
IoT.prototype.listCustomMetrics = function (args, optionsOrCb, cb) {
|
|
2248
|
+
var command = new ListCustomMetricsCommand(args);
|
|
2244
2249
|
if (typeof optionsOrCb === "function") {
|
|
2245
2250
|
this.send(command, optionsOrCb);
|
|
2246
2251
|
}
|
|
2247
2252
|
else if (typeof cb === "function") {
|
|
2248
2253
|
if (typeof optionsOrCb !== "object")
|
|
2249
|
-
throw new Error(
|
|
2254
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2250
2255
|
this.send(command, optionsOrCb || {}, cb);
|
|
2251
2256
|
}
|
|
2252
2257
|
else {
|
|
2253
2258
|
return this.send(command, optionsOrCb);
|
|
2254
2259
|
}
|
|
2255
|
-
}
|
|
2256
|
-
listDetectMitigationActionsExecutions(args, optionsOrCb, cb) {
|
|
2257
|
-
|
|
2260
|
+
};
|
|
2261
|
+
IoT.prototype.listDetectMitigationActionsExecutions = function (args, optionsOrCb, cb) {
|
|
2262
|
+
var command = new ListDetectMitigationActionsExecutionsCommand(args);
|
|
2258
2263
|
if (typeof optionsOrCb === "function") {
|
|
2259
2264
|
this.send(command, optionsOrCb);
|
|
2260
2265
|
}
|
|
2261
2266
|
else if (typeof cb === "function") {
|
|
2262
2267
|
if (typeof optionsOrCb !== "object")
|
|
2263
|
-
throw new Error(
|
|
2268
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2264
2269
|
this.send(command, optionsOrCb || {}, cb);
|
|
2265
2270
|
}
|
|
2266
2271
|
else {
|
|
2267
2272
|
return this.send(command, optionsOrCb);
|
|
2268
2273
|
}
|
|
2269
|
-
}
|
|
2270
|
-
listDetectMitigationActionsTasks(args, optionsOrCb, cb) {
|
|
2271
|
-
|
|
2274
|
+
};
|
|
2275
|
+
IoT.prototype.listDetectMitigationActionsTasks = function (args, optionsOrCb, cb) {
|
|
2276
|
+
var command = new ListDetectMitigationActionsTasksCommand(args);
|
|
2272
2277
|
if (typeof optionsOrCb === "function") {
|
|
2273
2278
|
this.send(command, optionsOrCb);
|
|
2274
2279
|
}
|
|
2275
2280
|
else if (typeof cb === "function") {
|
|
2276
2281
|
if (typeof optionsOrCb !== "object")
|
|
2277
|
-
throw new Error(
|
|
2282
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2278
2283
|
this.send(command, optionsOrCb || {}, cb);
|
|
2279
2284
|
}
|
|
2280
2285
|
else {
|
|
2281
2286
|
return this.send(command, optionsOrCb);
|
|
2282
2287
|
}
|
|
2283
|
-
}
|
|
2284
|
-
listDimensions(args, optionsOrCb, cb) {
|
|
2285
|
-
|
|
2288
|
+
};
|
|
2289
|
+
IoT.prototype.listDimensions = function (args, optionsOrCb, cb) {
|
|
2290
|
+
var command = new ListDimensionsCommand(args);
|
|
2286
2291
|
if (typeof optionsOrCb === "function") {
|
|
2287
2292
|
this.send(command, optionsOrCb);
|
|
2288
2293
|
}
|
|
2289
2294
|
else if (typeof cb === "function") {
|
|
2290
2295
|
if (typeof optionsOrCb !== "object")
|
|
2291
|
-
throw new Error(
|
|
2296
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2292
2297
|
this.send(command, optionsOrCb || {}, cb);
|
|
2293
2298
|
}
|
|
2294
2299
|
else {
|
|
2295
2300
|
return this.send(command, optionsOrCb);
|
|
2296
2301
|
}
|
|
2297
|
-
}
|
|
2298
|
-
listDomainConfigurations(args, optionsOrCb, cb) {
|
|
2299
|
-
|
|
2302
|
+
};
|
|
2303
|
+
IoT.prototype.listDomainConfigurations = function (args, optionsOrCb, cb) {
|
|
2304
|
+
var command = new ListDomainConfigurationsCommand(args);
|
|
2300
2305
|
if (typeof optionsOrCb === "function") {
|
|
2301
2306
|
this.send(command, optionsOrCb);
|
|
2302
2307
|
}
|
|
2303
2308
|
else if (typeof cb === "function") {
|
|
2304
2309
|
if (typeof optionsOrCb !== "object")
|
|
2305
|
-
throw new Error(
|
|
2310
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2306
2311
|
this.send(command, optionsOrCb || {}, cb);
|
|
2307
2312
|
}
|
|
2308
2313
|
else {
|
|
2309
2314
|
return this.send(command, optionsOrCb);
|
|
2310
2315
|
}
|
|
2311
|
-
}
|
|
2312
|
-
listFleetMetrics(args, optionsOrCb, cb) {
|
|
2313
|
-
|
|
2316
|
+
};
|
|
2317
|
+
IoT.prototype.listFleetMetrics = function (args, optionsOrCb, cb) {
|
|
2318
|
+
var command = new ListFleetMetricsCommand(args);
|
|
2314
2319
|
if (typeof optionsOrCb === "function") {
|
|
2315
2320
|
this.send(command, optionsOrCb);
|
|
2316
2321
|
}
|
|
2317
2322
|
else if (typeof cb === "function") {
|
|
2318
2323
|
if (typeof optionsOrCb !== "object")
|
|
2319
|
-
throw new Error(
|
|
2324
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2320
2325
|
this.send(command, optionsOrCb || {}, cb);
|
|
2321
2326
|
}
|
|
2322
2327
|
else {
|
|
2323
2328
|
return this.send(command, optionsOrCb);
|
|
2324
2329
|
}
|
|
2325
|
-
}
|
|
2326
|
-
listIndices(args, optionsOrCb, cb) {
|
|
2327
|
-
|
|
2330
|
+
};
|
|
2331
|
+
IoT.prototype.listIndices = function (args, optionsOrCb, cb) {
|
|
2332
|
+
var command = new ListIndicesCommand(args);
|
|
2328
2333
|
if (typeof optionsOrCb === "function") {
|
|
2329
2334
|
this.send(command, optionsOrCb);
|
|
2330
2335
|
}
|
|
2331
2336
|
else if (typeof cb === "function") {
|
|
2332
2337
|
if (typeof optionsOrCb !== "object")
|
|
2333
|
-
throw new Error(
|
|
2338
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2334
2339
|
this.send(command, optionsOrCb || {}, cb);
|
|
2335
2340
|
}
|
|
2336
2341
|
else {
|
|
2337
2342
|
return this.send(command, optionsOrCb);
|
|
2338
2343
|
}
|
|
2339
|
-
}
|
|
2340
|
-
listJobExecutionsForJob(args, optionsOrCb, cb) {
|
|
2341
|
-
|
|
2344
|
+
};
|
|
2345
|
+
IoT.prototype.listJobExecutionsForJob = function (args, optionsOrCb, cb) {
|
|
2346
|
+
var command = new ListJobExecutionsForJobCommand(args);
|
|
2342
2347
|
if (typeof optionsOrCb === "function") {
|
|
2343
2348
|
this.send(command, optionsOrCb);
|
|
2344
2349
|
}
|
|
2345
2350
|
else if (typeof cb === "function") {
|
|
2346
2351
|
if (typeof optionsOrCb !== "object")
|
|
2347
|
-
throw new Error(
|
|
2352
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2348
2353
|
this.send(command, optionsOrCb || {}, cb);
|
|
2349
2354
|
}
|
|
2350
2355
|
else {
|
|
2351
2356
|
return this.send(command, optionsOrCb);
|
|
2352
2357
|
}
|
|
2353
|
-
}
|
|
2354
|
-
listJobExecutionsForThing(args, optionsOrCb, cb) {
|
|
2355
|
-
|
|
2358
|
+
};
|
|
2359
|
+
IoT.prototype.listJobExecutionsForThing = function (args, optionsOrCb, cb) {
|
|
2360
|
+
var command = new ListJobExecutionsForThingCommand(args);
|
|
2356
2361
|
if (typeof optionsOrCb === "function") {
|
|
2357
2362
|
this.send(command, optionsOrCb);
|
|
2358
2363
|
}
|
|
2359
2364
|
else if (typeof cb === "function") {
|
|
2360
2365
|
if (typeof optionsOrCb !== "object")
|
|
2361
|
-
throw new Error(
|
|
2366
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2362
2367
|
this.send(command, optionsOrCb || {}, cb);
|
|
2363
2368
|
}
|
|
2364
2369
|
else {
|
|
2365
2370
|
return this.send(command, optionsOrCb);
|
|
2366
2371
|
}
|
|
2367
|
-
}
|
|
2368
|
-
listJobs(args, optionsOrCb, cb) {
|
|
2369
|
-
|
|
2372
|
+
};
|
|
2373
|
+
IoT.prototype.listJobs = function (args, optionsOrCb, cb) {
|
|
2374
|
+
var command = new ListJobsCommand(args);
|
|
2370
2375
|
if (typeof optionsOrCb === "function") {
|
|
2371
2376
|
this.send(command, optionsOrCb);
|
|
2372
2377
|
}
|
|
2373
2378
|
else if (typeof cb === "function") {
|
|
2374
2379
|
if (typeof optionsOrCb !== "object")
|
|
2375
|
-
throw new Error(
|
|
2380
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2376
2381
|
this.send(command, optionsOrCb || {}, cb);
|
|
2377
2382
|
}
|
|
2378
2383
|
else {
|
|
2379
2384
|
return this.send(command, optionsOrCb);
|
|
2380
2385
|
}
|
|
2381
|
-
}
|
|
2382
|
-
listJobTemplates(args, optionsOrCb, cb) {
|
|
2383
|
-
|
|
2386
|
+
};
|
|
2387
|
+
IoT.prototype.listJobTemplates = function (args, optionsOrCb, cb) {
|
|
2388
|
+
var command = new ListJobTemplatesCommand(args);
|
|
2384
2389
|
if (typeof optionsOrCb === "function") {
|
|
2385
2390
|
this.send(command, optionsOrCb);
|
|
2386
2391
|
}
|
|
2387
2392
|
else if (typeof cb === "function") {
|
|
2388
2393
|
if (typeof optionsOrCb !== "object")
|
|
2389
|
-
throw new Error(
|
|
2394
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2390
2395
|
this.send(command, optionsOrCb || {}, cb);
|
|
2391
2396
|
}
|
|
2392
2397
|
else {
|
|
2393
2398
|
return this.send(command, optionsOrCb);
|
|
2394
2399
|
}
|
|
2395
|
-
}
|
|
2396
|
-
listManagedJobTemplates(args, optionsOrCb, cb) {
|
|
2397
|
-
|
|
2400
|
+
};
|
|
2401
|
+
IoT.prototype.listManagedJobTemplates = function (args, optionsOrCb, cb) {
|
|
2402
|
+
var command = new ListManagedJobTemplatesCommand(args);
|
|
2398
2403
|
if (typeof optionsOrCb === "function") {
|
|
2399
2404
|
this.send(command, optionsOrCb);
|
|
2400
2405
|
}
|
|
2401
2406
|
else if (typeof cb === "function") {
|
|
2402
2407
|
if (typeof optionsOrCb !== "object")
|
|
2403
|
-
throw new Error(
|
|
2408
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2404
2409
|
this.send(command, optionsOrCb || {}, cb);
|
|
2405
2410
|
}
|
|
2406
2411
|
else {
|
|
2407
2412
|
return this.send(command, optionsOrCb);
|
|
2408
2413
|
}
|
|
2409
|
-
}
|
|
2410
|
-
listMetricValues(args, optionsOrCb, cb) {
|
|
2411
|
-
|
|
2414
|
+
};
|
|
2415
|
+
IoT.prototype.listMetricValues = function (args, optionsOrCb, cb) {
|
|
2416
|
+
var command = new ListMetricValuesCommand(args);
|
|
2412
2417
|
if (typeof optionsOrCb === "function") {
|
|
2413
2418
|
this.send(command, optionsOrCb);
|
|
2414
2419
|
}
|
|
2415
2420
|
else if (typeof cb === "function") {
|
|
2416
2421
|
if (typeof optionsOrCb !== "object")
|
|
2417
|
-
throw new Error(
|
|
2422
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2418
2423
|
this.send(command, optionsOrCb || {}, cb);
|
|
2419
2424
|
}
|
|
2420
2425
|
else {
|
|
2421
2426
|
return this.send(command, optionsOrCb);
|
|
2422
2427
|
}
|
|
2423
|
-
}
|
|
2424
|
-
listMitigationActions(args, optionsOrCb, cb) {
|
|
2425
|
-
|
|
2428
|
+
};
|
|
2429
|
+
IoT.prototype.listMitigationActions = function (args, optionsOrCb, cb) {
|
|
2430
|
+
var command = new ListMitigationActionsCommand(args);
|
|
2426
2431
|
if (typeof optionsOrCb === "function") {
|
|
2427
2432
|
this.send(command, optionsOrCb);
|
|
2428
2433
|
}
|
|
2429
2434
|
else if (typeof cb === "function") {
|
|
2430
2435
|
if (typeof optionsOrCb !== "object")
|
|
2431
|
-
throw new Error(
|
|
2436
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2432
2437
|
this.send(command, optionsOrCb || {}, cb);
|
|
2433
2438
|
}
|
|
2434
2439
|
else {
|
|
2435
2440
|
return this.send(command, optionsOrCb);
|
|
2436
2441
|
}
|
|
2437
|
-
}
|
|
2438
|
-
listOTAUpdates(args, optionsOrCb, cb) {
|
|
2439
|
-
|
|
2442
|
+
};
|
|
2443
|
+
IoT.prototype.listOTAUpdates = function (args, optionsOrCb, cb) {
|
|
2444
|
+
var command = new ListOTAUpdatesCommand(args);
|
|
2440
2445
|
if (typeof optionsOrCb === "function") {
|
|
2441
2446
|
this.send(command, optionsOrCb);
|
|
2442
2447
|
}
|
|
2443
2448
|
else if (typeof cb === "function") {
|
|
2444
2449
|
if (typeof optionsOrCb !== "object")
|
|
2445
|
-
throw new Error(
|
|
2450
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2446
2451
|
this.send(command, optionsOrCb || {}, cb);
|
|
2447
2452
|
}
|
|
2448
2453
|
else {
|
|
2449
2454
|
return this.send(command, optionsOrCb);
|
|
2450
2455
|
}
|
|
2451
|
-
}
|
|
2452
|
-
listOutgoingCertificates(args, optionsOrCb, cb) {
|
|
2453
|
-
|
|
2456
|
+
};
|
|
2457
|
+
IoT.prototype.listOutgoingCertificates = function (args, optionsOrCb, cb) {
|
|
2458
|
+
var command = new ListOutgoingCertificatesCommand(args);
|
|
2454
2459
|
if (typeof optionsOrCb === "function") {
|
|
2455
2460
|
this.send(command, optionsOrCb);
|
|
2456
2461
|
}
|
|
2457
2462
|
else if (typeof cb === "function") {
|
|
2458
2463
|
if (typeof optionsOrCb !== "object")
|
|
2459
|
-
throw new Error(
|
|
2464
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2460
2465
|
this.send(command, optionsOrCb || {}, cb);
|
|
2461
2466
|
}
|
|
2462
2467
|
else {
|
|
2463
2468
|
return this.send(command, optionsOrCb);
|
|
2464
2469
|
}
|
|
2465
|
-
}
|
|
2466
|
-
listPolicies(args, optionsOrCb, cb) {
|
|
2467
|
-
|
|
2470
|
+
};
|
|
2471
|
+
IoT.prototype.listPolicies = function (args, optionsOrCb, cb) {
|
|
2472
|
+
var command = new ListPoliciesCommand(args);
|
|
2468
2473
|
if (typeof optionsOrCb === "function") {
|
|
2469
2474
|
this.send(command, optionsOrCb);
|
|
2470
2475
|
}
|
|
2471
2476
|
else if (typeof cb === "function") {
|
|
2472
2477
|
if (typeof optionsOrCb !== "object")
|
|
2473
|
-
throw new Error(
|
|
2478
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2474
2479
|
this.send(command, optionsOrCb || {}, cb);
|
|
2475
2480
|
}
|
|
2476
2481
|
else {
|
|
2477
2482
|
return this.send(command, optionsOrCb);
|
|
2478
2483
|
}
|
|
2479
|
-
}
|
|
2480
|
-
listPolicyPrincipals(args, optionsOrCb, cb) {
|
|
2481
|
-
|
|
2484
|
+
};
|
|
2485
|
+
IoT.prototype.listPolicyPrincipals = function (args, optionsOrCb, cb) {
|
|
2486
|
+
var command = new ListPolicyPrincipalsCommand(args);
|
|
2482
2487
|
if (typeof optionsOrCb === "function") {
|
|
2483
2488
|
this.send(command, optionsOrCb);
|
|
2484
2489
|
}
|
|
2485
2490
|
else if (typeof cb === "function") {
|
|
2486
2491
|
if (typeof optionsOrCb !== "object")
|
|
2487
|
-
throw new Error(
|
|
2492
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2488
2493
|
this.send(command, optionsOrCb || {}, cb);
|
|
2489
2494
|
}
|
|
2490
2495
|
else {
|
|
2491
2496
|
return this.send(command, optionsOrCb);
|
|
2492
2497
|
}
|
|
2493
|
-
}
|
|
2494
|
-
listPolicyVersions(args, optionsOrCb, cb) {
|
|
2495
|
-
|
|
2498
|
+
};
|
|
2499
|
+
IoT.prototype.listPolicyVersions = function (args, optionsOrCb, cb) {
|
|
2500
|
+
var command = new ListPolicyVersionsCommand(args);
|
|
2496
2501
|
if (typeof optionsOrCb === "function") {
|
|
2497
2502
|
this.send(command, optionsOrCb);
|
|
2498
2503
|
}
|
|
2499
2504
|
else if (typeof cb === "function") {
|
|
2500
2505
|
if (typeof optionsOrCb !== "object")
|
|
2501
|
-
throw new Error(
|
|
2506
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2502
2507
|
this.send(command, optionsOrCb || {}, cb);
|
|
2503
2508
|
}
|
|
2504
2509
|
else {
|
|
2505
2510
|
return this.send(command, optionsOrCb);
|
|
2506
2511
|
}
|
|
2507
|
-
}
|
|
2508
|
-
listPrincipalPolicies(args, optionsOrCb, cb) {
|
|
2509
|
-
|
|
2512
|
+
};
|
|
2513
|
+
IoT.prototype.listPrincipalPolicies = function (args, optionsOrCb, cb) {
|
|
2514
|
+
var command = new ListPrincipalPoliciesCommand(args);
|
|
2510
2515
|
if (typeof optionsOrCb === "function") {
|
|
2511
2516
|
this.send(command, optionsOrCb);
|
|
2512
2517
|
}
|
|
2513
2518
|
else if (typeof cb === "function") {
|
|
2514
2519
|
if (typeof optionsOrCb !== "object")
|
|
2515
|
-
throw new Error(
|
|
2520
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2516
2521
|
this.send(command, optionsOrCb || {}, cb);
|
|
2517
2522
|
}
|
|
2518
2523
|
else {
|
|
2519
2524
|
return this.send(command, optionsOrCb);
|
|
2520
2525
|
}
|
|
2521
|
-
}
|
|
2522
|
-
listPrincipalThings(args, optionsOrCb, cb) {
|
|
2523
|
-
|
|
2526
|
+
};
|
|
2527
|
+
IoT.prototype.listPrincipalThings = function (args, optionsOrCb, cb) {
|
|
2528
|
+
var command = new ListPrincipalThingsCommand(args);
|
|
2524
2529
|
if (typeof optionsOrCb === "function") {
|
|
2525
2530
|
this.send(command, optionsOrCb);
|
|
2526
2531
|
}
|
|
2527
2532
|
else if (typeof cb === "function") {
|
|
2528
2533
|
if (typeof optionsOrCb !== "object")
|
|
2529
|
-
throw new Error(
|
|
2534
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2530
2535
|
this.send(command, optionsOrCb || {}, cb);
|
|
2531
2536
|
}
|
|
2532
2537
|
else {
|
|
2533
2538
|
return this.send(command, optionsOrCb);
|
|
2534
2539
|
}
|
|
2535
|
-
}
|
|
2536
|
-
listProvisioningTemplates(args, optionsOrCb, cb) {
|
|
2537
|
-
|
|
2540
|
+
};
|
|
2541
|
+
IoT.prototype.listProvisioningTemplates = function (args, optionsOrCb, cb) {
|
|
2542
|
+
var command = new ListProvisioningTemplatesCommand(args);
|
|
2538
2543
|
if (typeof optionsOrCb === "function") {
|
|
2539
2544
|
this.send(command, optionsOrCb);
|
|
2540
2545
|
}
|
|
2541
2546
|
else if (typeof cb === "function") {
|
|
2542
2547
|
if (typeof optionsOrCb !== "object")
|
|
2543
|
-
throw new Error(
|
|
2548
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2544
2549
|
this.send(command, optionsOrCb || {}, cb);
|
|
2545
2550
|
}
|
|
2546
2551
|
else {
|
|
2547
2552
|
return this.send(command, optionsOrCb);
|
|
2548
2553
|
}
|
|
2549
|
-
}
|
|
2550
|
-
listProvisioningTemplateVersions(args, optionsOrCb, cb) {
|
|
2551
|
-
|
|
2554
|
+
};
|
|
2555
|
+
IoT.prototype.listProvisioningTemplateVersions = function (args, optionsOrCb, cb) {
|
|
2556
|
+
var command = new ListProvisioningTemplateVersionsCommand(args);
|
|
2552
2557
|
if (typeof optionsOrCb === "function") {
|
|
2553
2558
|
this.send(command, optionsOrCb);
|
|
2554
2559
|
}
|
|
2555
2560
|
else if (typeof cb === "function") {
|
|
2556
2561
|
if (typeof optionsOrCb !== "object")
|
|
2557
|
-
throw new Error(
|
|
2562
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2558
2563
|
this.send(command, optionsOrCb || {}, cb);
|
|
2559
2564
|
}
|
|
2560
2565
|
else {
|
|
2561
2566
|
return this.send(command, optionsOrCb);
|
|
2562
2567
|
}
|
|
2563
|
-
}
|
|
2564
|
-
listRoleAliases(args, optionsOrCb, cb) {
|
|
2565
|
-
|
|
2568
|
+
};
|
|
2569
|
+
IoT.prototype.listRoleAliases = function (args, optionsOrCb, cb) {
|
|
2570
|
+
var command = new ListRoleAliasesCommand(args);
|
|
2566
2571
|
if (typeof optionsOrCb === "function") {
|
|
2567
2572
|
this.send(command, optionsOrCb);
|
|
2568
2573
|
}
|
|
2569
2574
|
else if (typeof cb === "function") {
|
|
2570
2575
|
if (typeof optionsOrCb !== "object")
|
|
2571
|
-
throw new Error(
|
|
2576
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2572
2577
|
this.send(command, optionsOrCb || {}, cb);
|
|
2573
2578
|
}
|
|
2574
2579
|
else {
|
|
2575
2580
|
return this.send(command, optionsOrCb);
|
|
2576
2581
|
}
|
|
2577
|
-
}
|
|
2578
|
-
listScheduledAudits(args, optionsOrCb, cb) {
|
|
2579
|
-
|
|
2582
|
+
};
|
|
2583
|
+
IoT.prototype.listScheduledAudits = function (args, optionsOrCb, cb) {
|
|
2584
|
+
var command = new ListScheduledAuditsCommand(args);
|
|
2580
2585
|
if (typeof optionsOrCb === "function") {
|
|
2581
2586
|
this.send(command, optionsOrCb);
|
|
2582
2587
|
}
|
|
2583
2588
|
else if (typeof cb === "function") {
|
|
2584
2589
|
if (typeof optionsOrCb !== "object")
|
|
2585
|
-
throw new Error(
|
|
2590
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2586
2591
|
this.send(command, optionsOrCb || {}, cb);
|
|
2587
2592
|
}
|
|
2588
2593
|
else {
|
|
2589
2594
|
return this.send(command, optionsOrCb);
|
|
2590
2595
|
}
|
|
2591
|
-
}
|
|
2592
|
-
listSecurityProfiles(args, optionsOrCb, cb) {
|
|
2593
|
-
|
|
2596
|
+
};
|
|
2597
|
+
IoT.prototype.listSecurityProfiles = function (args, optionsOrCb, cb) {
|
|
2598
|
+
var command = new ListSecurityProfilesCommand(args);
|
|
2594
2599
|
if (typeof optionsOrCb === "function") {
|
|
2595
2600
|
this.send(command, optionsOrCb);
|
|
2596
2601
|
}
|
|
2597
2602
|
else if (typeof cb === "function") {
|
|
2598
2603
|
if (typeof optionsOrCb !== "object")
|
|
2599
|
-
throw new Error(
|
|
2604
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2600
2605
|
this.send(command, optionsOrCb || {}, cb);
|
|
2601
2606
|
}
|
|
2602
2607
|
else {
|
|
2603
2608
|
return this.send(command, optionsOrCb);
|
|
2604
2609
|
}
|
|
2605
|
-
}
|
|
2606
|
-
listSecurityProfilesForTarget(args, optionsOrCb, cb) {
|
|
2607
|
-
|
|
2610
|
+
};
|
|
2611
|
+
IoT.prototype.listSecurityProfilesForTarget = function (args, optionsOrCb, cb) {
|
|
2612
|
+
var command = new ListSecurityProfilesForTargetCommand(args);
|
|
2608
2613
|
if (typeof optionsOrCb === "function") {
|
|
2609
2614
|
this.send(command, optionsOrCb);
|
|
2610
2615
|
}
|
|
2611
2616
|
else if (typeof cb === "function") {
|
|
2612
2617
|
if (typeof optionsOrCb !== "object")
|
|
2613
|
-
throw new Error(
|
|
2618
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2614
2619
|
this.send(command, optionsOrCb || {}, cb);
|
|
2615
2620
|
}
|
|
2616
2621
|
else {
|
|
2617
2622
|
return this.send(command, optionsOrCb);
|
|
2618
2623
|
}
|
|
2619
|
-
}
|
|
2620
|
-
listStreams(args, optionsOrCb, cb) {
|
|
2621
|
-
|
|
2624
|
+
};
|
|
2625
|
+
IoT.prototype.listStreams = function (args, optionsOrCb, cb) {
|
|
2626
|
+
var command = new ListStreamsCommand(args);
|
|
2622
2627
|
if (typeof optionsOrCb === "function") {
|
|
2623
2628
|
this.send(command, optionsOrCb);
|
|
2624
2629
|
}
|
|
2625
2630
|
else if (typeof cb === "function") {
|
|
2626
2631
|
if (typeof optionsOrCb !== "object")
|
|
2627
|
-
throw new Error(
|
|
2632
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2628
2633
|
this.send(command, optionsOrCb || {}, cb);
|
|
2629
2634
|
}
|
|
2630
2635
|
else {
|
|
2631
2636
|
return this.send(command, optionsOrCb);
|
|
2632
2637
|
}
|
|
2633
|
-
}
|
|
2634
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
2635
|
-
|
|
2638
|
+
};
|
|
2639
|
+
IoT.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
2640
|
+
var command = new ListTagsForResourceCommand(args);
|
|
2636
2641
|
if (typeof optionsOrCb === "function") {
|
|
2637
2642
|
this.send(command, optionsOrCb);
|
|
2638
2643
|
}
|
|
2639
2644
|
else if (typeof cb === "function") {
|
|
2640
2645
|
if (typeof optionsOrCb !== "object")
|
|
2641
|
-
throw new Error(
|
|
2646
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2642
2647
|
this.send(command, optionsOrCb || {}, cb);
|
|
2643
2648
|
}
|
|
2644
2649
|
else {
|
|
2645
2650
|
return this.send(command, optionsOrCb);
|
|
2646
2651
|
}
|
|
2647
|
-
}
|
|
2648
|
-
listTargetsForPolicy(args, optionsOrCb, cb) {
|
|
2649
|
-
|
|
2652
|
+
};
|
|
2653
|
+
IoT.prototype.listTargetsForPolicy = function (args, optionsOrCb, cb) {
|
|
2654
|
+
var command = new ListTargetsForPolicyCommand(args);
|
|
2650
2655
|
if (typeof optionsOrCb === "function") {
|
|
2651
2656
|
this.send(command, optionsOrCb);
|
|
2652
2657
|
}
|
|
2653
2658
|
else if (typeof cb === "function") {
|
|
2654
2659
|
if (typeof optionsOrCb !== "object")
|
|
2655
|
-
throw new Error(
|
|
2660
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2656
2661
|
this.send(command, optionsOrCb || {}, cb);
|
|
2657
2662
|
}
|
|
2658
2663
|
else {
|
|
2659
2664
|
return this.send(command, optionsOrCb);
|
|
2660
2665
|
}
|
|
2661
|
-
}
|
|
2662
|
-
listTargetsForSecurityProfile(args, optionsOrCb, cb) {
|
|
2663
|
-
|
|
2666
|
+
};
|
|
2667
|
+
IoT.prototype.listTargetsForSecurityProfile = function (args, optionsOrCb, cb) {
|
|
2668
|
+
var command = new ListTargetsForSecurityProfileCommand(args);
|
|
2664
2669
|
if (typeof optionsOrCb === "function") {
|
|
2665
2670
|
this.send(command, optionsOrCb);
|
|
2666
2671
|
}
|
|
2667
2672
|
else if (typeof cb === "function") {
|
|
2668
2673
|
if (typeof optionsOrCb !== "object")
|
|
2669
|
-
throw new Error(
|
|
2674
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2670
2675
|
this.send(command, optionsOrCb || {}, cb);
|
|
2671
2676
|
}
|
|
2672
2677
|
else {
|
|
2673
2678
|
return this.send(command, optionsOrCb);
|
|
2674
2679
|
}
|
|
2675
|
-
}
|
|
2676
|
-
listThingGroups(args, optionsOrCb, cb) {
|
|
2677
|
-
|
|
2680
|
+
};
|
|
2681
|
+
IoT.prototype.listThingGroups = function (args, optionsOrCb, cb) {
|
|
2682
|
+
var command = new ListThingGroupsCommand(args);
|
|
2678
2683
|
if (typeof optionsOrCb === "function") {
|
|
2679
2684
|
this.send(command, optionsOrCb);
|
|
2680
2685
|
}
|
|
2681
2686
|
else if (typeof cb === "function") {
|
|
2682
2687
|
if (typeof optionsOrCb !== "object")
|
|
2683
|
-
throw new Error(
|
|
2688
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2684
2689
|
this.send(command, optionsOrCb || {}, cb);
|
|
2685
2690
|
}
|
|
2686
2691
|
else {
|
|
2687
2692
|
return this.send(command, optionsOrCb);
|
|
2688
2693
|
}
|
|
2689
|
-
}
|
|
2690
|
-
listThingGroupsForThing(args, optionsOrCb, cb) {
|
|
2691
|
-
|
|
2694
|
+
};
|
|
2695
|
+
IoT.prototype.listThingGroupsForThing = function (args, optionsOrCb, cb) {
|
|
2696
|
+
var command = new ListThingGroupsForThingCommand(args);
|
|
2692
2697
|
if (typeof optionsOrCb === "function") {
|
|
2693
2698
|
this.send(command, optionsOrCb);
|
|
2694
2699
|
}
|
|
2695
2700
|
else if (typeof cb === "function") {
|
|
2696
2701
|
if (typeof optionsOrCb !== "object")
|
|
2697
|
-
throw new Error(
|
|
2702
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2698
2703
|
this.send(command, optionsOrCb || {}, cb);
|
|
2699
2704
|
}
|
|
2700
2705
|
else {
|
|
2701
2706
|
return this.send(command, optionsOrCb);
|
|
2702
2707
|
}
|
|
2703
|
-
}
|
|
2704
|
-
listThingPrincipals(args, optionsOrCb, cb) {
|
|
2705
|
-
|
|
2708
|
+
};
|
|
2709
|
+
IoT.prototype.listThingPrincipals = function (args, optionsOrCb, cb) {
|
|
2710
|
+
var command = new ListThingPrincipalsCommand(args);
|
|
2706
2711
|
if (typeof optionsOrCb === "function") {
|
|
2707
2712
|
this.send(command, optionsOrCb);
|
|
2708
2713
|
}
|
|
2709
2714
|
else if (typeof cb === "function") {
|
|
2710
2715
|
if (typeof optionsOrCb !== "object")
|
|
2711
|
-
throw new Error(
|
|
2716
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2712
2717
|
this.send(command, optionsOrCb || {}, cb);
|
|
2713
2718
|
}
|
|
2714
2719
|
else {
|
|
2715
2720
|
return this.send(command, optionsOrCb);
|
|
2716
2721
|
}
|
|
2717
|
-
}
|
|
2718
|
-
listThingRegistrationTaskReports(args, optionsOrCb, cb) {
|
|
2719
|
-
|
|
2722
|
+
};
|
|
2723
|
+
IoT.prototype.listThingRegistrationTaskReports = function (args, optionsOrCb, cb) {
|
|
2724
|
+
var command = new ListThingRegistrationTaskReportsCommand(args);
|
|
2720
2725
|
if (typeof optionsOrCb === "function") {
|
|
2721
2726
|
this.send(command, optionsOrCb);
|
|
2722
2727
|
}
|
|
2723
2728
|
else if (typeof cb === "function") {
|
|
2724
2729
|
if (typeof optionsOrCb !== "object")
|
|
2725
|
-
throw new Error(
|
|
2730
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2726
2731
|
this.send(command, optionsOrCb || {}, cb);
|
|
2727
2732
|
}
|
|
2728
2733
|
else {
|
|
2729
2734
|
return this.send(command, optionsOrCb);
|
|
2730
2735
|
}
|
|
2731
|
-
}
|
|
2732
|
-
listThingRegistrationTasks(args, optionsOrCb, cb) {
|
|
2733
|
-
|
|
2736
|
+
};
|
|
2737
|
+
IoT.prototype.listThingRegistrationTasks = function (args, optionsOrCb, cb) {
|
|
2738
|
+
var command = new ListThingRegistrationTasksCommand(args);
|
|
2734
2739
|
if (typeof optionsOrCb === "function") {
|
|
2735
2740
|
this.send(command, optionsOrCb);
|
|
2736
2741
|
}
|
|
2737
2742
|
else if (typeof cb === "function") {
|
|
2738
2743
|
if (typeof optionsOrCb !== "object")
|
|
2739
|
-
throw new Error(
|
|
2744
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2740
2745
|
this.send(command, optionsOrCb || {}, cb);
|
|
2741
2746
|
}
|
|
2742
2747
|
else {
|
|
2743
2748
|
return this.send(command, optionsOrCb);
|
|
2744
2749
|
}
|
|
2745
|
-
}
|
|
2746
|
-
listThings(args, optionsOrCb, cb) {
|
|
2747
|
-
|
|
2750
|
+
};
|
|
2751
|
+
IoT.prototype.listThings = function (args, optionsOrCb, cb) {
|
|
2752
|
+
var command = new ListThingsCommand(args);
|
|
2748
2753
|
if (typeof optionsOrCb === "function") {
|
|
2749
2754
|
this.send(command, optionsOrCb);
|
|
2750
2755
|
}
|
|
2751
2756
|
else if (typeof cb === "function") {
|
|
2752
2757
|
if (typeof optionsOrCb !== "object")
|
|
2753
|
-
throw new Error(
|
|
2758
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2754
2759
|
this.send(command, optionsOrCb || {}, cb);
|
|
2755
2760
|
}
|
|
2756
2761
|
else {
|
|
2757
2762
|
return this.send(command, optionsOrCb);
|
|
2758
2763
|
}
|
|
2759
|
-
}
|
|
2760
|
-
listThingsInBillingGroup(args, optionsOrCb, cb) {
|
|
2761
|
-
|
|
2764
|
+
};
|
|
2765
|
+
IoT.prototype.listThingsInBillingGroup = function (args, optionsOrCb, cb) {
|
|
2766
|
+
var command = new ListThingsInBillingGroupCommand(args);
|
|
2762
2767
|
if (typeof optionsOrCb === "function") {
|
|
2763
2768
|
this.send(command, optionsOrCb);
|
|
2764
2769
|
}
|
|
2765
2770
|
else if (typeof cb === "function") {
|
|
2766
2771
|
if (typeof optionsOrCb !== "object")
|
|
2767
|
-
throw new Error(
|
|
2772
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2768
2773
|
this.send(command, optionsOrCb || {}, cb);
|
|
2769
2774
|
}
|
|
2770
2775
|
else {
|
|
2771
2776
|
return this.send(command, optionsOrCb);
|
|
2772
2777
|
}
|
|
2773
|
-
}
|
|
2774
|
-
listThingsInThingGroup(args, optionsOrCb, cb) {
|
|
2775
|
-
|
|
2778
|
+
};
|
|
2779
|
+
IoT.prototype.listThingsInThingGroup = function (args, optionsOrCb, cb) {
|
|
2780
|
+
var command = new ListThingsInThingGroupCommand(args);
|
|
2776
2781
|
if (typeof optionsOrCb === "function") {
|
|
2777
2782
|
this.send(command, optionsOrCb);
|
|
2778
2783
|
}
|
|
2779
2784
|
else if (typeof cb === "function") {
|
|
2780
2785
|
if (typeof optionsOrCb !== "object")
|
|
2781
|
-
throw new Error(
|
|
2786
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2782
2787
|
this.send(command, optionsOrCb || {}, cb);
|
|
2783
2788
|
}
|
|
2784
2789
|
else {
|
|
2785
2790
|
return this.send(command, optionsOrCb);
|
|
2786
2791
|
}
|
|
2787
|
-
}
|
|
2788
|
-
listThingTypes(args, optionsOrCb, cb) {
|
|
2789
|
-
|
|
2792
|
+
};
|
|
2793
|
+
IoT.prototype.listThingTypes = function (args, optionsOrCb, cb) {
|
|
2794
|
+
var command = new ListThingTypesCommand(args);
|
|
2790
2795
|
if (typeof optionsOrCb === "function") {
|
|
2791
2796
|
this.send(command, optionsOrCb);
|
|
2792
2797
|
}
|
|
2793
2798
|
else if (typeof cb === "function") {
|
|
2794
2799
|
if (typeof optionsOrCb !== "object")
|
|
2795
|
-
throw new Error(
|
|
2800
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2796
2801
|
this.send(command, optionsOrCb || {}, cb);
|
|
2797
2802
|
}
|
|
2798
2803
|
else {
|
|
2799
2804
|
return this.send(command, optionsOrCb);
|
|
2800
2805
|
}
|
|
2801
|
-
}
|
|
2802
|
-
listTopicRuleDestinations(args, optionsOrCb, cb) {
|
|
2803
|
-
|
|
2806
|
+
};
|
|
2807
|
+
IoT.prototype.listTopicRuleDestinations = function (args, optionsOrCb, cb) {
|
|
2808
|
+
var command = new ListTopicRuleDestinationsCommand(args);
|
|
2804
2809
|
if (typeof optionsOrCb === "function") {
|
|
2805
2810
|
this.send(command, optionsOrCb);
|
|
2806
2811
|
}
|
|
2807
2812
|
else if (typeof cb === "function") {
|
|
2808
2813
|
if (typeof optionsOrCb !== "object")
|
|
2809
|
-
throw new Error(
|
|
2814
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2810
2815
|
this.send(command, optionsOrCb || {}, cb);
|
|
2811
2816
|
}
|
|
2812
2817
|
else {
|
|
2813
2818
|
return this.send(command, optionsOrCb);
|
|
2814
2819
|
}
|
|
2815
|
-
}
|
|
2816
|
-
listTopicRules(args, optionsOrCb, cb) {
|
|
2817
|
-
|
|
2820
|
+
};
|
|
2821
|
+
IoT.prototype.listTopicRules = function (args, optionsOrCb, cb) {
|
|
2822
|
+
var command = new ListTopicRulesCommand(args);
|
|
2818
2823
|
if (typeof optionsOrCb === "function") {
|
|
2819
2824
|
this.send(command, optionsOrCb);
|
|
2820
2825
|
}
|
|
2821
2826
|
else if (typeof cb === "function") {
|
|
2822
2827
|
if (typeof optionsOrCb !== "object")
|
|
2823
|
-
throw new Error(
|
|
2828
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2824
2829
|
this.send(command, optionsOrCb || {}, cb);
|
|
2825
2830
|
}
|
|
2826
2831
|
else {
|
|
2827
2832
|
return this.send(command, optionsOrCb);
|
|
2828
2833
|
}
|
|
2829
|
-
}
|
|
2830
|
-
listV2LoggingLevels(args, optionsOrCb, cb) {
|
|
2831
|
-
|
|
2834
|
+
};
|
|
2835
|
+
IoT.prototype.listV2LoggingLevels = function (args, optionsOrCb, cb) {
|
|
2836
|
+
var command = new ListV2LoggingLevelsCommand(args);
|
|
2832
2837
|
if (typeof optionsOrCb === "function") {
|
|
2833
2838
|
this.send(command, optionsOrCb);
|
|
2834
2839
|
}
|
|
2835
2840
|
else if (typeof cb === "function") {
|
|
2836
2841
|
if (typeof optionsOrCb !== "object")
|
|
2837
|
-
throw new Error(
|
|
2842
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2838
2843
|
this.send(command, optionsOrCb || {}, cb);
|
|
2839
2844
|
}
|
|
2840
2845
|
else {
|
|
2841
2846
|
return this.send(command, optionsOrCb);
|
|
2842
2847
|
}
|
|
2843
|
-
}
|
|
2844
|
-
listViolationEvents(args, optionsOrCb, cb) {
|
|
2845
|
-
|
|
2848
|
+
};
|
|
2849
|
+
IoT.prototype.listViolationEvents = function (args, optionsOrCb, cb) {
|
|
2850
|
+
var command = new ListViolationEventsCommand(args);
|
|
2846
2851
|
if (typeof optionsOrCb === "function") {
|
|
2847
2852
|
this.send(command, optionsOrCb);
|
|
2848
2853
|
}
|
|
2849
2854
|
else if (typeof cb === "function") {
|
|
2850
2855
|
if (typeof optionsOrCb !== "object")
|
|
2851
|
-
throw new Error(
|
|
2856
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2852
2857
|
this.send(command, optionsOrCb || {}, cb);
|
|
2853
2858
|
}
|
|
2854
2859
|
else {
|
|
2855
2860
|
return this.send(command, optionsOrCb);
|
|
2856
2861
|
}
|
|
2857
|
-
}
|
|
2858
|
-
putVerificationStateOnViolation(args, optionsOrCb, cb) {
|
|
2859
|
-
|
|
2862
|
+
};
|
|
2863
|
+
IoT.prototype.putVerificationStateOnViolation = function (args, optionsOrCb, cb) {
|
|
2864
|
+
var command = new PutVerificationStateOnViolationCommand(args);
|
|
2860
2865
|
if (typeof optionsOrCb === "function") {
|
|
2861
2866
|
this.send(command, optionsOrCb);
|
|
2862
2867
|
}
|
|
2863
2868
|
else if (typeof cb === "function") {
|
|
2864
2869
|
if (typeof optionsOrCb !== "object")
|
|
2865
|
-
throw new Error(
|
|
2870
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2866
2871
|
this.send(command, optionsOrCb || {}, cb);
|
|
2867
2872
|
}
|
|
2868
2873
|
else {
|
|
2869
2874
|
return this.send(command, optionsOrCb);
|
|
2870
2875
|
}
|
|
2871
|
-
}
|
|
2872
|
-
registerCACertificate(args, optionsOrCb, cb) {
|
|
2873
|
-
|
|
2876
|
+
};
|
|
2877
|
+
IoT.prototype.registerCACertificate = function (args, optionsOrCb, cb) {
|
|
2878
|
+
var command = new RegisterCACertificateCommand(args);
|
|
2874
2879
|
if (typeof optionsOrCb === "function") {
|
|
2875
2880
|
this.send(command, optionsOrCb);
|
|
2876
2881
|
}
|
|
2877
2882
|
else if (typeof cb === "function") {
|
|
2878
2883
|
if (typeof optionsOrCb !== "object")
|
|
2879
|
-
throw new Error(
|
|
2884
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2880
2885
|
this.send(command, optionsOrCb || {}, cb);
|
|
2881
2886
|
}
|
|
2882
2887
|
else {
|
|
2883
2888
|
return this.send(command, optionsOrCb);
|
|
2884
2889
|
}
|
|
2885
|
-
}
|
|
2886
|
-
registerCertificate(args, optionsOrCb, cb) {
|
|
2887
|
-
|
|
2890
|
+
};
|
|
2891
|
+
IoT.prototype.registerCertificate = function (args, optionsOrCb, cb) {
|
|
2892
|
+
var command = new RegisterCertificateCommand(args);
|
|
2888
2893
|
if (typeof optionsOrCb === "function") {
|
|
2889
2894
|
this.send(command, optionsOrCb);
|
|
2890
2895
|
}
|
|
2891
2896
|
else if (typeof cb === "function") {
|
|
2892
2897
|
if (typeof optionsOrCb !== "object")
|
|
2893
|
-
throw new Error(
|
|
2898
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2894
2899
|
this.send(command, optionsOrCb || {}, cb);
|
|
2895
2900
|
}
|
|
2896
2901
|
else {
|
|
2897
2902
|
return this.send(command, optionsOrCb);
|
|
2898
2903
|
}
|
|
2899
|
-
}
|
|
2900
|
-
registerCertificateWithoutCA(args, optionsOrCb, cb) {
|
|
2901
|
-
|
|
2904
|
+
};
|
|
2905
|
+
IoT.prototype.registerCertificateWithoutCA = function (args, optionsOrCb, cb) {
|
|
2906
|
+
var command = new RegisterCertificateWithoutCACommand(args);
|
|
2902
2907
|
if (typeof optionsOrCb === "function") {
|
|
2903
2908
|
this.send(command, optionsOrCb);
|
|
2904
2909
|
}
|
|
2905
2910
|
else if (typeof cb === "function") {
|
|
2906
2911
|
if (typeof optionsOrCb !== "object")
|
|
2907
|
-
throw new Error(
|
|
2912
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2908
2913
|
this.send(command, optionsOrCb || {}, cb);
|
|
2909
2914
|
}
|
|
2910
2915
|
else {
|
|
2911
2916
|
return this.send(command, optionsOrCb);
|
|
2912
2917
|
}
|
|
2913
|
-
}
|
|
2914
|
-
registerThing(args, optionsOrCb, cb) {
|
|
2915
|
-
|
|
2918
|
+
};
|
|
2919
|
+
IoT.prototype.registerThing = function (args, optionsOrCb, cb) {
|
|
2920
|
+
var command = new RegisterThingCommand(args);
|
|
2916
2921
|
if (typeof optionsOrCb === "function") {
|
|
2917
2922
|
this.send(command, optionsOrCb);
|
|
2918
2923
|
}
|
|
2919
2924
|
else if (typeof cb === "function") {
|
|
2920
2925
|
if (typeof optionsOrCb !== "object")
|
|
2921
|
-
throw new Error(
|
|
2926
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2922
2927
|
this.send(command, optionsOrCb || {}, cb);
|
|
2923
2928
|
}
|
|
2924
2929
|
else {
|
|
2925
2930
|
return this.send(command, optionsOrCb);
|
|
2926
2931
|
}
|
|
2927
|
-
}
|
|
2928
|
-
rejectCertificateTransfer(args, optionsOrCb, cb) {
|
|
2929
|
-
|
|
2932
|
+
};
|
|
2933
|
+
IoT.prototype.rejectCertificateTransfer = function (args, optionsOrCb, cb) {
|
|
2934
|
+
var command = new RejectCertificateTransferCommand(args);
|
|
2930
2935
|
if (typeof optionsOrCb === "function") {
|
|
2931
2936
|
this.send(command, optionsOrCb);
|
|
2932
2937
|
}
|
|
2933
2938
|
else if (typeof cb === "function") {
|
|
2934
2939
|
if (typeof optionsOrCb !== "object")
|
|
2935
|
-
throw new Error(
|
|
2940
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2936
2941
|
this.send(command, optionsOrCb || {}, cb);
|
|
2937
2942
|
}
|
|
2938
2943
|
else {
|
|
2939
2944
|
return this.send(command, optionsOrCb);
|
|
2940
2945
|
}
|
|
2941
|
-
}
|
|
2942
|
-
removeThingFromBillingGroup(args, optionsOrCb, cb) {
|
|
2943
|
-
|
|
2946
|
+
};
|
|
2947
|
+
IoT.prototype.removeThingFromBillingGroup = function (args, optionsOrCb, cb) {
|
|
2948
|
+
var command = new RemoveThingFromBillingGroupCommand(args);
|
|
2944
2949
|
if (typeof optionsOrCb === "function") {
|
|
2945
2950
|
this.send(command, optionsOrCb);
|
|
2946
2951
|
}
|
|
2947
2952
|
else if (typeof cb === "function") {
|
|
2948
2953
|
if (typeof optionsOrCb !== "object")
|
|
2949
|
-
throw new Error(
|
|
2954
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2950
2955
|
this.send(command, optionsOrCb || {}, cb);
|
|
2951
2956
|
}
|
|
2952
2957
|
else {
|
|
2953
2958
|
return this.send(command, optionsOrCb);
|
|
2954
2959
|
}
|
|
2955
|
-
}
|
|
2956
|
-
removeThingFromThingGroup(args, optionsOrCb, cb) {
|
|
2957
|
-
|
|
2960
|
+
};
|
|
2961
|
+
IoT.prototype.removeThingFromThingGroup = function (args, optionsOrCb, cb) {
|
|
2962
|
+
var command = new RemoveThingFromThingGroupCommand(args);
|
|
2958
2963
|
if (typeof optionsOrCb === "function") {
|
|
2959
2964
|
this.send(command, optionsOrCb);
|
|
2960
2965
|
}
|
|
2961
2966
|
else if (typeof cb === "function") {
|
|
2962
2967
|
if (typeof optionsOrCb !== "object")
|
|
2963
|
-
throw new Error(
|
|
2968
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2964
2969
|
this.send(command, optionsOrCb || {}, cb);
|
|
2965
2970
|
}
|
|
2966
2971
|
else {
|
|
2967
2972
|
return this.send(command, optionsOrCb);
|
|
2968
2973
|
}
|
|
2969
|
-
}
|
|
2970
|
-
replaceTopicRule(args, optionsOrCb, cb) {
|
|
2971
|
-
|
|
2974
|
+
};
|
|
2975
|
+
IoT.prototype.replaceTopicRule = function (args, optionsOrCb, cb) {
|
|
2976
|
+
var command = new ReplaceTopicRuleCommand(args);
|
|
2972
2977
|
if (typeof optionsOrCb === "function") {
|
|
2973
2978
|
this.send(command, optionsOrCb);
|
|
2974
2979
|
}
|
|
2975
2980
|
else if (typeof cb === "function") {
|
|
2976
2981
|
if (typeof optionsOrCb !== "object")
|
|
2977
|
-
throw new Error(
|
|
2982
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2978
2983
|
this.send(command, optionsOrCb || {}, cb);
|
|
2979
2984
|
}
|
|
2980
2985
|
else {
|
|
2981
2986
|
return this.send(command, optionsOrCb);
|
|
2982
2987
|
}
|
|
2983
|
-
}
|
|
2984
|
-
searchIndex(args, optionsOrCb, cb) {
|
|
2985
|
-
|
|
2988
|
+
};
|
|
2989
|
+
IoT.prototype.searchIndex = function (args, optionsOrCb, cb) {
|
|
2990
|
+
var command = new SearchIndexCommand(args);
|
|
2986
2991
|
if (typeof optionsOrCb === "function") {
|
|
2987
2992
|
this.send(command, optionsOrCb);
|
|
2988
2993
|
}
|
|
2989
2994
|
else if (typeof cb === "function") {
|
|
2990
2995
|
if (typeof optionsOrCb !== "object")
|
|
2991
|
-
throw new Error(
|
|
2996
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2992
2997
|
this.send(command, optionsOrCb || {}, cb);
|
|
2993
2998
|
}
|
|
2994
2999
|
else {
|
|
2995
3000
|
return this.send(command, optionsOrCb);
|
|
2996
3001
|
}
|
|
2997
|
-
}
|
|
2998
|
-
setDefaultAuthorizer(args, optionsOrCb, cb) {
|
|
2999
|
-
|
|
3002
|
+
};
|
|
3003
|
+
IoT.prototype.setDefaultAuthorizer = function (args, optionsOrCb, cb) {
|
|
3004
|
+
var command = new SetDefaultAuthorizerCommand(args);
|
|
3000
3005
|
if (typeof optionsOrCb === "function") {
|
|
3001
3006
|
this.send(command, optionsOrCb);
|
|
3002
3007
|
}
|
|
3003
3008
|
else if (typeof cb === "function") {
|
|
3004
3009
|
if (typeof optionsOrCb !== "object")
|
|
3005
|
-
throw new Error(
|
|
3010
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3006
3011
|
this.send(command, optionsOrCb || {}, cb);
|
|
3007
3012
|
}
|
|
3008
3013
|
else {
|
|
3009
3014
|
return this.send(command, optionsOrCb);
|
|
3010
3015
|
}
|
|
3011
|
-
}
|
|
3012
|
-
setDefaultPolicyVersion(args, optionsOrCb, cb) {
|
|
3013
|
-
|
|
3016
|
+
};
|
|
3017
|
+
IoT.prototype.setDefaultPolicyVersion = function (args, optionsOrCb, cb) {
|
|
3018
|
+
var command = new SetDefaultPolicyVersionCommand(args);
|
|
3014
3019
|
if (typeof optionsOrCb === "function") {
|
|
3015
3020
|
this.send(command, optionsOrCb);
|
|
3016
3021
|
}
|
|
3017
3022
|
else if (typeof cb === "function") {
|
|
3018
3023
|
if (typeof optionsOrCb !== "object")
|
|
3019
|
-
throw new Error(
|
|
3024
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3020
3025
|
this.send(command, optionsOrCb || {}, cb);
|
|
3021
3026
|
}
|
|
3022
3027
|
else {
|
|
3023
3028
|
return this.send(command, optionsOrCb);
|
|
3024
3029
|
}
|
|
3025
|
-
}
|
|
3026
|
-
setLoggingOptions(args, optionsOrCb, cb) {
|
|
3027
|
-
|
|
3030
|
+
};
|
|
3031
|
+
IoT.prototype.setLoggingOptions = function (args, optionsOrCb, cb) {
|
|
3032
|
+
var command = new SetLoggingOptionsCommand(args);
|
|
3028
3033
|
if (typeof optionsOrCb === "function") {
|
|
3029
3034
|
this.send(command, optionsOrCb);
|
|
3030
3035
|
}
|
|
3031
3036
|
else if (typeof cb === "function") {
|
|
3032
3037
|
if (typeof optionsOrCb !== "object")
|
|
3033
|
-
throw new Error(
|
|
3038
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3034
3039
|
this.send(command, optionsOrCb || {}, cb);
|
|
3035
3040
|
}
|
|
3036
3041
|
else {
|
|
3037
3042
|
return this.send(command, optionsOrCb);
|
|
3038
3043
|
}
|
|
3039
|
-
}
|
|
3040
|
-
setV2LoggingLevel(args, optionsOrCb, cb) {
|
|
3041
|
-
|
|
3044
|
+
};
|
|
3045
|
+
IoT.prototype.setV2LoggingLevel = function (args, optionsOrCb, cb) {
|
|
3046
|
+
var command = new SetV2LoggingLevelCommand(args);
|
|
3042
3047
|
if (typeof optionsOrCb === "function") {
|
|
3043
3048
|
this.send(command, optionsOrCb);
|
|
3044
3049
|
}
|
|
3045
3050
|
else if (typeof cb === "function") {
|
|
3046
3051
|
if (typeof optionsOrCb !== "object")
|
|
3047
|
-
throw new Error(
|
|
3052
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3048
3053
|
this.send(command, optionsOrCb || {}, cb);
|
|
3049
3054
|
}
|
|
3050
3055
|
else {
|
|
3051
3056
|
return this.send(command, optionsOrCb);
|
|
3052
3057
|
}
|
|
3053
|
-
}
|
|
3054
|
-
setV2LoggingOptions(args, optionsOrCb, cb) {
|
|
3055
|
-
|
|
3058
|
+
};
|
|
3059
|
+
IoT.prototype.setV2LoggingOptions = function (args, optionsOrCb, cb) {
|
|
3060
|
+
var command = new SetV2LoggingOptionsCommand(args);
|
|
3056
3061
|
if (typeof optionsOrCb === "function") {
|
|
3057
3062
|
this.send(command, optionsOrCb);
|
|
3058
3063
|
}
|
|
3059
3064
|
else if (typeof cb === "function") {
|
|
3060
3065
|
if (typeof optionsOrCb !== "object")
|
|
3061
|
-
throw new Error(
|
|
3066
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3062
3067
|
this.send(command, optionsOrCb || {}, cb);
|
|
3063
3068
|
}
|
|
3064
3069
|
else {
|
|
3065
3070
|
return this.send(command, optionsOrCb);
|
|
3066
3071
|
}
|
|
3067
|
-
}
|
|
3068
|
-
startAuditMitigationActionsTask(args, optionsOrCb, cb) {
|
|
3069
|
-
|
|
3072
|
+
};
|
|
3073
|
+
IoT.prototype.startAuditMitigationActionsTask = function (args, optionsOrCb, cb) {
|
|
3074
|
+
var command = new StartAuditMitigationActionsTaskCommand(args);
|
|
3070
3075
|
if (typeof optionsOrCb === "function") {
|
|
3071
3076
|
this.send(command, optionsOrCb);
|
|
3072
3077
|
}
|
|
3073
3078
|
else if (typeof cb === "function") {
|
|
3074
3079
|
if (typeof optionsOrCb !== "object")
|
|
3075
|
-
throw new Error(
|
|
3080
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3076
3081
|
this.send(command, optionsOrCb || {}, cb);
|
|
3077
3082
|
}
|
|
3078
3083
|
else {
|
|
3079
3084
|
return this.send(command, optionsOrCb);
|
|
3080
3085
|
}
|
|
3081
|
-
}
|
|
3082
|
-
startDetectMitigationActionsTask(args, optionsOrCb, cb) {
|
|
3083
|
-
|
|
3086
|
+
};
|
|
3087
|
+
IoT.prototype.startDetectMitigationActionsTask = function (args, optionsOrCb, cb) {
|
|
3088
|
+
var command = new StartDetectMitigationActionsTaskCommand(args);
|
|
3084
3089
|
if (typeof optionsOrCb === "function") {
|
|
3085
3090
|
this.send(command, optionsOrCb);
|
|
3086
3091
|
}
|
|
3087
3092
|
else if (typeof cb === "function") {
|
|
3088
3093
|
if (typeof optionsOrCb !== "object")
|
|
3089
|
-
throw new Error(
|
|
3094
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3090
3095
|
this.send(command, optionsOrCb || {}, cb);
|
|
3091
3096
|
}
|
|
3092
3097
|
else {
|
|
3093
3098
|
return this.send(command, optionsOrCb);
|
|
3094
3099
|
}
|
|
3095
|
-
}
|
|
3096
|
-
startOnDemandAuditTask(args, optionsOrCb, cb) {
|
|
3097
|
-
|
|
3100
|
+
};
|
|
3101
|
+
IoT.prototype.startOnDemandAuditTask = function (args, optionsOrCb, cb) {
|
|
3102
|
+
var command = new StartOnDemandAuditTaskCommand(args);
|
|
3098
3103
|
if (typeof optionsOrCb === "function") {
|
|
3099
3104
|
this.send(command, optionsOrCb);
|
|
3100
3105
|
}
|
|
3101
3106
|
else if (typeof cb === "function") {
|
|
3102
3107
|
if (typeof optionsOrCb !== "object")
|
|
3103
|
-
throw new Error(
|
|
3108
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3104
3109
|
this.send(command, optionsOrCb || {}, cb);
|
|
3105
3110
|
}
|
|
3106
3111
|
else {
|
|
3107
3112
|
return this.send(command, optionsOrCb);
|
|
3108
3113
|
}
|
|
3109
|
-
}
|
|
3110
|
-
startThingRegistrationTask(args, optionsOrCb, cb) {
|
|
3111
|
-
|
|
3114
|
+
};
|
|
3115
|
+
IoT.prototype.startThingRegistrationTask = function (args, optionsOrCb, cb) {
|
|
3116
|
+
var command = new StartThingRegistrationTaskCommand(args);
|
|
3112
3117
|
if (typeof optionsOrCb === "function") {
|
|
3113
3118
|
this.send(command, optionsOrCb);
|
|
3114
3119
|
}
|
|
3115
3120
|
else if (typeof cb === "function") {
|
|
3116
3121
|
if (typeof optionsOrCb !== "object")
|
|
3117
|
-
throw new Error(
|
|
3122
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3118
3123
|
this.send(command, optionsOrCb || {}, cb);
|
|
3119
3124
|
}
|
|
3120
3125
|
else {
|
|
3121
3126
|
return this.send(command, optionsOrCb);
|
|
3122
3127
|
}
|
|
3123
|
-
}
|
|
3124
|
-
stopThingRegistrationTask(args, optionsOrCb, cb) {
|
|
3125
|
-
|
|
3128
|
+
};
|
|
3129
|
+
IoT.prototype.stopThingRegistrationTask = function (args, optionsOrCb, cb) {
|
|
3130
|
+
var command = new StopThingRegistrationTaskCommand(args);
|
|
3126
3131
|
if (typeof optionsOrCb === "function") {
|
|
3127
3132
|
this.send(command, optionsOrCb);
|
|
3128
3133
|
}
|
|
3129
3134
|
else if (typeof cb === "function") {
|
|
3130
3135
|
if (typeof optionsOrCb !== "object")
|
|
3131
|
-
throw new Error(
|
|
3136
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3132
3137
|
this.send(command, optionsOrCb || {}, cb);
|
|
3133
3138
|
}
|
|
3134
3139
|
else {
|
|
3135
3140
|
return this.send(command, optionsOrCb);
|
|
3136
3141
|
}
|
|
3137
|
-
}
|
|
3138
|
-
tagResource(args, optionsOrCb, cb) {
|
|
3139
|
-
|
|
3142
|
+
};
|
|
3143
|
+
IoT.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
3144
|
+
var command = new TagResourceCommand(args);
|
|
3140
3145
|
if (typeof optionsOrCb === "function") {
|
|
3141
3146
|
this.send(command, optionsOrCb);
|
|
3142
3147
|
}
|
|
3143
3148
|
else if (typeof cb === "function") {
|
|
3144
3149
|
if (typeof optionsOrCb !== "object")
|
|
3145
|
-
throw new Error(
|
|
3150
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3146
3151
|
this.send(command, optionsOrCb || {}, cb);
|
|
3147
3152
|
}
|
|
3148
3153
|
else {
|
|
3149
3154
|
return this.send(command, optionsOrCb);
|
|
3150
3155
|
}
|
|
3151
|
-
}
|
|
3152
|
-
testAuthorization(args, optionsOrCb, cb) {
|
|
3153
|
-
|
|
3156
|
+
};
|
|
3157
|
+
IoT.prototype.testAuthorization = function (args, optionsOrCb, cb) {
|
|
3158
|
+
var command = new TestAuthorizationCommand(args);
|
|
3154
3159
|
if (typeof optionsOrCb === "function") {
|
|
3155
3160
|
this.send(command, optionsOrCb);
|
|
3156
3161
|
}
|
|
3157
3162
|
else if (typeof cb === "function") {
|
|
3158
3163
|
if (typeof optionsOrCb !== "object")
|
|
3159
|
-
throw new Error(
|
|
3164
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3160
3165
|
this.send(command, optionsOrCb || {}, cb);
|
|
3161
3166
|
}
|
|
3162
3167
|
else {
|
|
3163
3168
|
return this.send(command, optionsOrCb);
|
|
3164
3169
|
}
|
|
3165
|
-
}
|
|
3166
|
-
testInvokeAuthorizer(args, optionsOrCb, cb) {
|
|
3167
|
-
|
|
3170
|
+
};
|
|
3171
|
+
IoT.prototype.testInvokeAuthorizer = function (args, optionsOrCb, cb) {
|
|
3172
|
+
var command = new TestInvokeAuthorizerCommand(args);
|
|
3168
3173
|
if (typeof optionsOrCb === "function") {
|
|
3169
3174
|
this.send(command, optionsOrCb);
|
|
3170
3175
|
}
|
|
3171
3176
|
else if (typeof cb === "function") {
|
|
3172
3177
|
if (typeof optionsOrCb !== "object")
|
|
3173
|
-
throw new Error(
|
|
3178
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3174
3179
|
this.send(command, optionsOrCb || {}, cb);
|
|
3175
3180
|
}
|
|
3176
3181
|
else {
|
|
3177
3182
|
return this.send(command, optionsOrCb);
|
|
3178
3183
|
}
|
|
3179
|
-
}
|
|
3180
|
-
transferCertificate(args, optionsOrCb, cb) {
|
|
3181
|
-
|
|
3184
|
+
};
|
|
3185
|
+
IoT.prototype.transferCertificate = function (args, optionsOrCb, cb) {
|
|
3186
|
+
var command = new TransferCertificateCommand(args);
|
|
3182
3187
|
if (typeof optionsOrCb === "function") {
|
|
3183
3188
|
this.send(command, optionsOrCb);
|
|
3184
3189
|
}
|
|
3185
3190
|
else if (typeof cb === "function") {
|
|
3186
3191
|
if (typeof optionsOrCb !== "object")
|
|
3187
|
-
throw new Error(
|
|
3192
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3188
3193
|
this.send(command, optionsOrCb || {}, cb);
|
|
3189
3194
|
}
|
|
3190
3195
|
else {
|
|
3191
3196
|
return this.send(command, optionsOrCb);
|
|
3192
3197
|
}
|
|
3193
|
-
}
|
|
3194
|
-
untagResource(args, optionsOrCb, cb) {
|
|
3195
|
-
|
|
3198
|
+
};
|
|
3199
|
+
IoT.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
3200
|
+
var command = new UntagResourceCommand(args);
|
|
3196
3201
|
if (typeof optionsOrCb === "function") {
|
|
3197
3202
|
this.send(command, optionsOrCb);
|
|
3198
3203
|
}
|
|
3199
3204
|
else if (typeof cb === "function") {
|
|
3200
3205
|
if (typeof optionsOrCb !== "object")
|
|
3201
|
-
throw new Error(
|
|
3206
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3202
3207
|
this.send(command, optionsOrCb || {}, cb);
|
|
3203
3208
|
}
|
|
3204
3209
|
else {
|
|
3205
3210
|
return this.send(command, optionsOrCb);
|
|
3206
3211
|
}
|
|
3207
|
-
}
|
|
3208
|
-
updateAccountAuditConfiguration(args, optionsOrCb, cb) {
|
|
3209
|
-
|
|
3212
|
+
};
|
|
3213
|
+
IoT.prototype.updateAccountAuditConfiguration = function (args, optionsOrCb, cb) {
|
|
3214
|
+
var command = new UpdateAccountAuditConfigurationCommand(args);
|
|
3210
3215
|
if (typeof optionsOrCb === "function") {
|
|
3211
3216
|
this.send(command, optionsOrCb);
|
|
3212
3217
|
}
|
|
3213
3218
|
else if (typeof cb === "function") {
|
|
3214
3219
|
if (typeof optionsOrCb !== "object")
|
|
3215
|
-
throw new Error(
|
|
3220
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3216
3221
|
this.send(command, optionsOrCb || {}, cb);
|
|
3217
3222
|
}
|
|
3218
3223
|
else {
|
|
3219
3224
|
return this.send(command, optionsOrCb);
|
|
3220
3225
|
}
|
|
3221
|
-
}
|
|
3222
|
-
updateAuditSuppression(args, optionsOrCb, cb) {
|
|
3223
|
-
|
|
3226
|
+
};
|
|
3227
|
+
IoT.prototype.updateAuditSuppression = function (args, optionsOrCb, cb) {
|
|
3228
|
+
var command = new UpdateAuditSuppressionCommand(args);
|
|
3224
3229
|
if (typeof optionsOrCb === "function") {
|
|
3225
3230
|
this.send(command, optionsOrCb);
|
|
3226
3231
|
}
|
|
3227
3232
|
else if (typeof cb === "function") {
|
|
3228
3233
|
if (typeof optionsOrCb !== "object")
|
|
3229
|
-
throw new Error(
|
|
3234
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3230
3235
|
this.send(command, optionsOrCb || {}, cb);
|
|
3231
3236
|
}
|
|
3232
3237
|
else {
|
|
3233
3238
|
return this.send(command, optionsOrCb);
|
|
3234
3239
|
}
|
|
3235
|
-
}
|
|
3236
|
-
updateAuthorizer(args, optionsOrCb, cb) {
|
|
3237
|
-
|
|
3240
|
+
};
|
|
3241
|
+
IoT.prototype.updateAuthorizer = function (args, optionsOrCb, cb) {
|
|
3242
|
+
var command = new UpdateAuthorizerCommand(args);
|
|
3238
3243
|
if (typeof optionsOrCb === "function") {
|
|
3239
3244
|
this.send(command, optionsOrCb);
|
|
3240
3245
|
}
|
|
3241
3246
|
else if (typeof cb === "function") {
|
|
3242
3247
|
if (typeof optionsOrCb !== "object")
|
|
3243
|
-
throw new Error(
|
|
3248
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3244
3249
|
this.send(command, optionsOrCb || {}, cb);
|
|
3245
3250
|
}
|
|
3246
3251
|
else {
|
|
3247
3252
|
return this.send(command, optionsOrCb);
|
|
3248
3253
|
}
|
|
3249
|
-
}
|
|
3250
|
-
updateBillingGroup(args, optionsOrCb, cb) {
|
|
3251
|
-
|
|
3254
|
+
};
|
|
3255
|
+
IoT.prototype.updateBillingGroup = function (args, optionsOrCb, cb) {
|
|
3256
|
+
var command = new UpdateBillingGroupCommand(args);
|
|
3252
3257
|
if (typeof optionsOrCb === "function") {
|
|
3253
3258
|
this.send(command, optionsOrCb);
|
|
3254
3259
|
}
|
|
3255
3260
|
else if (typeof cb === "function") {
|
|
3256
3261
|
if (typeof optionsOrCb !== "object")
|
|
3257
|
-
throw new Error(
|
|
3262
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3258
3263
|
this.send(command, optionsOrCb || {}, cb);
|
|
3259
3264
|
}
|
|
3260
3265
|
else {
|
|
3261
3266
|
return this.send(command, optionsOrCb);
|
|
3262
3267
|
}
|
|
3263
|
-
}
|
|
3264
|
-
updateCACertificate(args, optionsOrCb, cb) {
|
|
3265
|
-
|
|
3268
|
+
};
|
|
3269
|
+
IoT.prototype.updateCACertificate = function (args, optionsOrCb, cb) {
|
|
3270
|
+
var command = new UpdateCACertificateCommand(args);
|
|
3266
3271
|
if (typeof optionsOrCb === "function") {
|
|
3267
3272
|
this.send(command, optionsOrCb);
|
|
3268
3273
|
}
|
|
3269
3274
|
else if (typeof cb === "function") {
|
|
3270
3275
|
if (typeof optionsOrCb !== "object")
|
|
3271
|
-
throw new Error(
|
|
3276
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3272
3277
|
this.send(command, optionsOrCb || {}, cb);
|
|
3273
3278
|
}
|
|
3274
3279
|
else {
|
|
3275
3280
|
return this.send(command, optionsOrCb);
|
|
3276
3281
|
}
|
|
3277
|
-
}
|
|
3278
|
-
updateCertificate(args, optionsOrCb, cb) {
|
|
3279
|
-
|
|
3282
|
+
};
|
|
3283
|
+
IoT.prototype.updateCertificate = function (args, optionsOrCb, cb) {
|
|
3284
|
+
var command = new UpdateCertificateCommand(args);
|
|
3280
3285
|
if (typeof optionsOrCb === "function") {
|
|
3281
3286
|
this.send(command, optionsOrCb);
|
|
3282
3287
|
}
|
|
3283
3288
|
else if (typeof cb === "function") {
|
|
3284
3289
|
if (typeof optionsOrCb !== "object")
|
|
3285
|
-
throw new Error(
|
|
3290
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3286
3291
|
this.send(command, optionsOrCb || {}, cb);
|
|
3287
3292
|
}
|
|
3288
3293
|
else {
|
|
3289
3294
|
return this.send(command, optionsOrCb);
|
|
3290
3295
|
}
|
|
3291
|
-
}
|
|
3292
|
-
updateCustomMetric(args, optionsOrCb, cb) {
|
|
3293
|
-
|
|
3296
|
+
};
|
|
3297
|
+
IoT.prototype.updateCustomMetric = function (args, optionsOrCb, cb) {
|
|
3298
|
+
var command = new UpdateCustomMetricCommand(args);
|
|
3294
3299
|
if (typeof optionsOrCb === "function") {
|
|
3295
3300
|
this.send(command, optionsOrCb);
|
|
3296
3301
|
}
|
|
3297
3302
|
else if (typeof cb === "function") {
|
|
3298
3303
|
if (typeof optionsOrCb !== "object")
|
|
3299
|
-
throw new Error(
|
|
3304
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3300
3305
|
this.send(command, optionsOrCb || {}, cb);
|
|
3301
3306
|
}
|
|
3302
3307
|
else {
|
|
3303
3308
|
return this.send(command, optionsOrCb);
|
|
3304
3309
|
}
|
|
3305
|
-
}
|
|
3306
|
-
updateDimension(args, optionsOrCb, cb) {
|
|
3307
|
-
|
|
3310
|
+
};
|
|
3311
|
+
IoT.prototype.updateDimension = function (args, optionsOrCb, cb) {
|
|
3312
|
+
var command = new UpdateDimensionCommand(args);
|
|
3308
3313
|
if (typeof optionsOrCb === "function") {
|
|
3309
3314
|
this.send(command, optionsOrCb);
|
|
3310
3315
|
}
|
|
3311
3316
|
else if (typeof cb === "function") {
|
|
3312
3317
|
if (typeof optionsOrCb !== "object")
|
|
3313
|
-
throw new Error(
|
|
3318
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3314
3319
|
this.send(command, optionsOrCb || {}, cb);
|
|
3315
3320
|
}
|
|
3316
3321
|
else {
|
|
3317
3322
|
return this.send(command, optionsOrCb);
|
|
3318
3323
|
}
|
|
3319
|
-
}
|
|
3320
|
-
updateDomainConfiguration(args, optionsOrCb, cb) {
|
|
3321
|
-
|
|
3324
|
+
};
|
|
3325
|
+
IoT.prototype.updateDomainConfiguration = function (args, optionsOrCb, cb) {
|
|
3326
|
+
var command = new UpdateDomainConfigurationCommand(args);
|
|
3322
3327
|
if (typeof optionsOrCb === "function") {
|
|
3323
3328
|
this.send(command, optionsOrCb);
|
|
3324
3329
|
}
|
|
3325
3330
|
else if (typeof cb === "function") {
|
|
3326
3331
|
if (typeof optionsOrCb !== "object")
|
|
3327
|
-
throw new Error(
|
|
3332
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3328
3333
|
this.send(command, optionsOrCb || {}, cb);
|
|
3329
3334
|
}
|
|
3330
3335
|
else {
|
|
3331
3336
|
return this.send(command, optionsOrCb);
|
|
3332
3337
|
}
|
|
3333
|
-
}
|
|
3334
|
-
updateDynamicThingGroup(args, optionsOrCb, cb) {
|
|
3335
|
-
|
|
3338
|
+
};
|
|
3339
|
+
IoT.prototype.updateDynamicThingGroup = function (args, optionsOrCb, cb) {
|
|
3340
|
+
var command = new UpdateDynamicThingGroupCommand(args);
|
|
3336
3341
|
if (typeof optionsOrCb === "function") {
|
|
3337
3342
|
this.send(command, optionsOrCb);
|
|
3338
3343
|
}
|
|
3339
3344
|
else if (typeof cb === "function") {
|
|
3340
3345
|
if (typeof optionsOrCb !== "object")
|
|
3341
|
-
throw new Error(
|
|
3346
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3342
3347
|
this.send(command, optionsOrCb || {}, cb);
|
|
3343
3348
|
}
|
|
3344
3349
|
else {
|
|
3345
3350
|
return this.send(command, optionsOrCb);
|
|
3346
3351
|
}
|
|
3347
|
-
}
|
|
3348
|
-
updateEventConfigurations(args, optionsOrCb, cb) {
|
|
3349
|
-
|
|
3352
|
+
};
|
|
3353
|
+
IoT.prototype.updateEventConfigurations = function (args, optionsOrCb, cb) {
|
|
3354
|
+
var command = new UpdateEventConfigurationsCommand(args);
|
|
3350
3355
|
if (typeof optionsOrCb === "function") {
|
|
3351
3356
|
this.send(command, optionsOrCb);
|
|
3352
3357
|
}
|
|
3353
3358
|
else if (typeof cb === "function") {
|
|
3354
3359
|
if (typeof optionsOrCb !== "object")
|
|
3355
|
-
throw new Error(
|
|
3360
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3356
3361
|
this.send(command, optionsOrCb || {}, cb);
|
|
3357
3362
|
}
|
|
3358
3363
|
else {
|
|
3359
3364
|
return this.send(command, optionsOrCb);
|
|
3360
3365
|
}
|
|
3361
|
-
}
|
|
3362
|
-
updateFleetMetric(args, optionsOrCb, cb) {
|
|
3363
|
-
|
|
3366
|
+
};
|
|
3367
|
+
IoT.prototype.updateFleetMetric = function (args, optionsOrCb, cb) {
|
|
3368
|
+
var command = new UpdateFleetMetricCommand(args);
|
|
3364
3369
|
if (typeof optionsOrCb === "function") {
|
|
3365
3370
|
this.send(command, optionsOrCb);
|
|
3366
3371
|
}
|
|
3367
3372
|
else if (typeof cb === "function") {
|
|
3368
3373
|
if (typeof optionsOrCb !== "object")
|
|
3369
|
-
throw new Error(
|
|
3374
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3370
3375
|
this.send(command, optionsOrCb || {}, cb);
|
|
3371
3376
|
}
|
|
3372
3377
|
else {
|
|
3373
3378
|
return this.send(command, optionsOrCb);
|
|
3374
3379
|
}
|
|
3375
|
-
}
|
|
3376
|
-
updateIndexingConfiguration(args, optionsOrCb, cb) {
|
|
3377
|
-
|
|
3380
|
+
};
|
|
3381
|
+
IoT.prototype.updateIndexingConfiguration = function (args, optionsOrCb, cb) {
|
|
3382
|
+
var command = new UpdateIndexingConfigurationCommand(args);
|
|
3378
3383
|
if (typeof optionsOrCb === "function") {
|
|
3379
3384
|
this.send(command, optionsOrCb);
|
|
3380
3385
|
}
|
|
3381
3386
|
else if (typeof cb === "function") {
|
|
3382
3387
|
if (typeof optionsOrCb !== "object")
|
|
3383
|
-
throw new Error(
|
|
3388
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3384
3389
|
this.send(command, optionsOrCb || {}, cb);
|
|
3385
3390
|
}
|
|
3386
3391
|
else {
|
|
3387
3392
|
return this.send(command, optionsOrCb);
|
|
3388
3393
|
}
|
|
3389
|
-
}
|
|
3390
|
-
updateJob(args, optionsOrCb, cb) {
|
|
3391
|
-
|
|
3394
|
+
};
|
|
3395
|
+
IoT.prototype.updateJob = function (args, optionsOrCb, cb) {
|
|
3396
|
+
var command = new UpdateJobCommand(args);
|
|
3392
3397
|
if (typeof optionsOrCb === "function") {
|
|
3393
3398
|
this.send(command, optionsOrCb);
|
|
3394
3399
|
}
|
|
3395
3400
|
else if (typeof cb === "function") {
|
|
3396
3401
|
if (typeof optionsOrCb !== "object")
|
|
3397
|
-
throw new Error(
|
|
3402
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3398
3403
|
this.send(command, optionsOrCb || {}, cb);
|
|
3399
3404
|
}
|
|
3400
3405
|
else {
|
|
3401
3406
|
return this.send(command, optionsOrCb);
|
|
3402
3407
|
}
|
|
3403
|
-
}
|
|
3404
|
-
updateMitigationAction(args, optionsOrCb, cb) {
|
|
3405
|
-
|
|
3408
|
+
};
|
|
3409
|
+
IoT.prototype.updateMitigationAction = function (args, optionsOrCb, cb) {
|
|
3410
|
+
var command = new UpdateMitigationActionCommand(args);
|
|
3406
3411
|
if (typeof optionsOrCb === "function") {
|
|
3407
3412
|
this.send(command, optionsOrCb);
|
|
3408
3413
|
}
|
|
3409
3414
|
else if (typeof cb === "function") {
|
|
3410
3415
|
if (typeof optionsOrCb !== "object")
|
|
3411
|
-
throw new Error(
|
|
3416
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3412
3417
|
this.send(command, optionsOrCb || {}, cb);
|
|
3413
3418
|
}
|
|
3414
3419
|
else {
|
|
3415
3420
|
return this.send(command, optionsOrCb);
|
|
3416
3421
|
}
|
|
3417
|
-
}
|
|
3418
|
-
updateProvisioningTemplate(args, optionsOrCb, cb) {
|
|
3419
|
-
|
|
3422
|
+
};
|
|
3423
|
+
IoT.prototype.updateProvisioningTemplate = function (args, optionsOrCb, cb) {
|
|
3424
|
+
var command = new UpdateProvisioningTemplateCommand(args);
|
|
3420
3425
|
if (typeof optionsOrCb === "function") {
|
|
3421
3426
|
this.send(command, optionsOrCb);
|
|
3422
3427
|
}
|
|
3423
3428
|
else if (typeof cb === "function") {
|
|
3424
3429
|
if (typeof optionsOrCb !== "object")
|
|
3425
|
-
throw new Error(
|
|
3430
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3426
3431
|
this.send(command, optionsOrCb || {}, cb);
|
|
3427
3432
|
}
|
|
3428
3433
|
else {
|
|
3429
3434
|
return this.send(command, optionsOrCb);
|
|
3430
3435
|
}
|
|
3431
|
-
}
|
|
3432
|
-
updateRoleAlias(args, optionsOrCb, cb) {
|
|
3433
|
-
|
|
3436
|
+
};
|
|
3437
|
+
IoT.prototype.updateRoleAlias = function (args, optionsOrCb, cb) {
|
|
3438
|
+
var command = new UpdateRoleAliasCommand(args);
|
|
3434
3439
|
if (typeof optionsOrCb === "function") {
|
|
3435
3440
|
this.send(command, optionsOrCb);
|
|
3436
3441
|
}
|
|
3437
3442
|
else if (typeof cb === "function") {
|
|
3438
3443
|
if (typeof optionsOrCb !== "object")
|
|
3439
|
-
throw new Error(
|
|
3444
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3440
3445
|
this.send(command, optionsOrCb || {}, cb);
|
|
3441
3446
|
}
|
|
3442
3447
|
else {
|
|
3443
3448
|
return this.send(command, optionsOrCb);
|
|
3444
3449
|
}
|
|
3445
|
-
}
|
|
3446
|
-
updateScheduledAudit(args, optionsOrCb, cb) {
|
|
3447
|
-
|
|
3450
|
+
};
|
|
3451
|
+
IoT.prototype.updateScheduledAudit = function (args, optionsOrCb, cb) {
|
|
3452
|
+
var command = new UpdateScheduledAuditCommand(args);
|
|
3448
3453
|
if (typeof optionsOrCb === "function") {
|
|
3449
3454
|
this.send(command, optionsOrCb);
|
|
3450
3455
|
}
|
|
3451
3456
|
else if (typeof cb === "function") {
|
|
3452
3457
|
if (typeof optionsOrCb !== "object")
|
|
3453
|
-
throw new Error(
|
|
3458
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3454
3459
|
this.send(command, optionsOrCb || {}, cb);
|
|
3455
3460
|
}
|
|
3456
3461
|
else {
|
|
3457
3462
|
return this.send(command, optionsOrCb);
|
|
3458
3463
|
}
|
|
3459
|
-
}
|
|
3460
|
-
updateSecurityProfile(args, optionsOrCb, cb) {
|
|
3461
|
-
|
|
3464
|
+
};
|
|
3465
|
+
IoT.prototype.updateSecurityProfile = function (args, optionsOrCb, cb) {
|
|
3466
|
+
var command = new UpdateSecurityProfileCommand(args);
|
|
3462
3467
|
if (typeof optionsOrCb === "function") {
|
|
3463
3468
|
this.send(command, optionsOrCb);
|
|
3464
3469
|
}
|
|
3465
3470
|
else if (typeof cb === "function") {
|
|
3466
3471
|
if (typeof optionsOrCb !== "object")
|
|
3467
|
-
throw new Error(
|
|
3472
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3468
3473
|
this.send(command, optionsOrCb || {}, cb);
|
|
3469
3474
|
}
|
|
3470
3475
|
else {
|
|
3471
3476
|
return this.send(command, optionsOrCb);
|
|
3472
3477
|
}
|
|
3473
|
-
}
|
|
3474
|
-
updateStream(args, optionsOrCb, cb) {
|
|
3475
|
-
|
|
3478
|
+
};
|
|
3479
|
+
IoT.prototype.updateStream = function (args, optionsOrCb, cb) {
|
|
3480
|
+
var command = new UpdateStreamCommand(args);
|
|
3476
3481
|
if (typeof optionsOrCb === "function") {
|
|
3477
3482
|
this.send(command, optionsOrCb);
|
|
3478
3483
|
}
|
|
3479
3484
|
else if (typeof cb === "function") {
|
|
3480
3485
|
if (typeof optionsOrCb !== "object")
|
|
3481
|
-
throw new Error(
|
|
3486
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3482
3487
|
this.send(command, optionsOrCb || {}, cb);
|
|
3483
3488
|
}
|
|
3484
3489
|
else {
|
|
3485
3490
|
return this.send(command, optionsOrCb);
|
|
3486
3491
|
}
|
|
3487
|
-
}
|
|
3488
|
-
updateThing(args, optionsOrCb, cb) {
|
|
3489
|
-
|
|
3492
|
+
};
|
|
3493
|
+
IoT.prototype.updateThing = function (args, optionsOrCb, cb) {
|
|
3494
|
+
var command = new UpdateThingCommand(args);
|
|
3490
3495
|
if (typeof optionsOrCb === "function") {
|
|
3491
3496
|
this.send(command, optionsOrCb);
|
|
3492
3497
|
}
|
|
3493
3498
|
else if (typeof cb === "function") {
|
|
3494
3499
|
if (typeof optionsOrCb !== "object")
|
|
3495
|
-
throw new Error(
|
|
3500
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3496
3501
|
this.send(command, optionsOrCb || {}, cb);
|
|
3497
3502
|
}
|
|
3498
3503
|
else {
|
|
3499
3504
|
return this.send(command, optionsOrCb);
|
|
3500
3505
|
}
|
|
3501
|
-
}
|
|
3502
|
-
updateThingGroup(args, optionsOrCb, cb) {
|
|
3503
|
-
|
|
3506
|
+
};
|
|
3507
|
+
IoT.prototype.updateThingGroup = function (args, optionsOrCb, cb) {
|
|
3508
|
+
var command = new UpdateThingGroupCommand(args);
|
|
3504
3509
|
if (typeof optionsOrCb === "function") {
|
|
3505
3510
|
this.send(command, optionsOrCb);
|
|
3506
3511
|
}
|
|
3507
3512
|
else if (typeof cb === "function") {
|
|
3508
3513
|
if (typeof optionsOrCb !== "object")
|
|
3509
|
-
throw new Error(
|
|
3514
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3510
3515
|
this.send(command, optionsOrCb || {}, cb);
|
|
3511
3516
|
}
|
|
3512
3517
|
else {
|
|
3513
3518
|
return this.send(command, optionsOrCb);
|
|
3514
3519
|
}
|
|
3515
|
-
}
|
|
3516
|
-
updateThingGroupsForThing(args, optionsOrCb, cb) {
|
|
3517
|
-
|
|
3520
|
+
};
|
|
3521
|
+
IoT.prototype.updateThingGroupsForThing = function (args, optionsOrCb, cb) {
|
|
3522
|
+
var command = new UpdateThingGroupsForThingCommand(args);
|
|
3518
3523
|
if (typeof optionsOrCb === "function") {
|
|
3519
3524
|
this.send(command, optionsOrCb);
|
|
3520
3525
|
}
|
|
3521
3526
|
else if (typeof cb === "function") {
|
|
3522
3527
|
if (typeof optionsOrCb !== "object")
|
|
3523
|
-
throw new Error(
|
|
3528
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3524
3529
|
this.send(command, optionsOrCb || {}, cb);
|
|
3525
3530
|
}
|
|
3526
3531
|
else {
|
|
3527
3532
|
return this.send(command, optionsOrCb);
|
|
3528
3533
|
}
|
|
3529
|
-
}
|
|
3530
|
-
updateTopicRuleDestination(args, optionsOrCb, cb) {
|
|
3531
|
-
|
|
3534
|
+
};
|
|
3535
|
+
IoT.prototype.updateTopicRuleDestination = function (args, optionsOrCb, cb) {
|
|
3536
|
+
var command = new UpdateTopicRuleDestinationCommand(args);
|
|
3532
3537
|
if (typeof optionsOrCb === "function") {
|
|
3533
3538
|
this.send(command, optionsOrCb);
|
|
3534
3539
|
}
|
|
3535
3540
|
else if (typeof cb === "function") {
|
|
3536
3541
|
if (typeof optionsOrCb !== "object")
|
|
3537
|
-
throw new Error(
|
|
3542
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3538
3543
|
this.send(command, optionsOrCb || {}, cb);
|
|
3539
3544
|
}
|
|
3540
3545
|
else {
|
|
3541
3546
|
return this.send(command, optionsOrCb);
|
|
3542
3547
|
}
|
|
3543
|
-
}
|
|
3544
|
-
validateSecurityProfileBehaviors(args, optionsOrCb, cb) {
|
|
3545
|
-
|
|
3548
|
+
};
|
|
3549
|
+
IoT.prototype.validateSecurityProfileBehaviors = function (args, optionsOrCb, cb) {
|
|
3550
|
+
var command = new ValidateSecurityProfileBehaviorsCommand(args);
|
|
3546
3551
|
if (typeof optionsOrCb === "function") {
|
|
3547
3552
|
this.send(command, optionsOrCb);
|
|
3548
3553
|
}
|
|
3549
3554
|
else if (typeof cb === "function") {
|
|
3550
3555
|
if (typeof optionsOrCb !== "object")
|
|
3551
|
-
throw new Error(
|
|
3556
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
3552
3557
|
this.send(command, optionsOrCb || {}, cb);
|
|
3553
3558
|
}
|
|
3554
3559
|
else {
|
|
3555
3560
|
return this.send(command, optionsOrCb);
|
|
3556
3561
|
}
|
|
3557
|
-
}
|
|
3558
|
-
|
|
3562
|
+
};
|
|
3563
|
+
return IoT;
|
|
3564
|
+
}(IoTClient));
|
|
3565
|
+
export { IoT };
|