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