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