@aws-sdk/client-iot 3.41.0 → 3.45.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/IoT.js +30 -0
  3. package/dist-cjs/commands/DescribeManagedJobTemplateCommand.js +36 -0
  4. package/dist-cjs/commands/ListManagedJobTemplatesCommand.js +36 -0
  5. package/dist-cjs/commands/ListThingRegistrationTasksCommand.js +2 -1
  6. package/dist-cjs/commands/ListThingTypesCommand.js +1 -2
  7. package/dist-cjs/commands/ListThingsCommand.js +3 -3
  8. package/dist-cjs/commands/ListThingsInBillingGroupCommand.js +3 -3
  9. package/dist-cjs/commands/ListThingsInThingGroupCommand.js +3 -3
  10. package/dist-cjs/commands/index.js +2 -0
  11. package/dist-cjs/endpoints.js +1 -0
  12. package/dist-cjs/models/models_1.js +57 -59
  13. package/dist-cjs/models/models_2.js +57 -3
  14. package/dist-cjs/protocols/Aws_restJson1.js +337 -9
  15. package/dist-es/IoT.js +30 -0
  16. package/dist-es/commands/DescribeManagedJobTemplateCommand.js +39 -0
  17. package/dist-es/commands/ListManagedJobTemplatesCommand.js +39 -0
  18. package/dist-es/commands/ListThingRegistrationTasksCommand.js +2 -1
  19. package/dist-es/commands/ListThingTypesCommand.js +1 -2
  20. package/dist-es/commands/ListThingsCommand.js +1 -1
  21. package/dist-es/commands/ListThingsInBillingGroupCommand.js +1 -1
  22. package/dist-es/commands/ListThingsInThingGroupCommand.js +1 -1
  23. package/dist-es/commands/index.js +2 -0
  24. package/dist-es/endpoints.js +1 -0
  25. package/dist-es/models/models_1.js +38 -36
  26. package/dist-es/models/models_2.js +36 -0
  27. package/dist-es/protocols/Aws_restJson1.js +365 -9
  28. package/dist-types/IoT.d.ts +24 -3
  29. package/dist-types/IoTClient.d.ts +4 -2
  30. package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +3 -2
  31. package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +35 -0
  32. package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +35 -0
  33. package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +2 -1
  34. package/dist-types/commands/ListThingTypesCommand.d.ts +1 -2
  35. package/dist-types/commands/ListThingsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
  37. package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +1 -1
  38. package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +4 -1
  39. package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +3 -0
  40. package/dist-types/commands/index.d.ts +2 -0
  41. package/dist-types/models/models_0.d.ts +25 -3
  42. package/dist-types/models/models_1.d.ts +232 -221
  43. package/dist-types/models/models_2.d.ts +231 -2
  44. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  45. package/dist-types/ts3.4/IoT.d.ts +10 -0
  46. package/dist-types/ts3.4/IoTClient.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/DescribeManagedJobTemplateCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +2 -1
  50. package/dist-types/ts3.4/commands/ListThingTypesCommand.d.ts +1 -2
  51. package/dist-types/ts3.4/commands/ListThingsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListThingsInThingGroupCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +8 -0
  56. package/dist-types/ts3.4/models/models_1.d.ts +112 -118
  57. package/dist-types/ts3.4/models/models_2.d.ts +122 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  59. package/package.json +5 -5
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.serializeAws_restJson1DeleteCertificateCommand = exports.serializeAws_restJson1DeleteCACertificateCommand = exports.serializeAws_restJson1DeleteBillingGroupCommand = exports.serializeAws_restJson1DeleteAuthorizerCommand = exports.serializeAws_restJson1DeleteAuditSuppressionCommand = exports.serializeAws_restJson1DeleteAccountAuditConfigurationCommand = exports.serializeAws_restJson1CreateTopicRuleDestinationCommand = exports.serializeAws_restJson1CreateTopicRuleCommand = exports.serializeAws_restJson1CreateThingTypeCommand = exports.serializeAws_restJson1CreateThingGroupCommand = exports.serializeAws_restJson1CreateThingCommand = exports.serializeAws_restJson1CreateStreamCommand = exports.serializeAws_restJson1CreateSecurityProfileCommand = exports.serializeAws_restJson1CreateScheduledAuditCommand = exports.serializeAws_restJson1CreateRoleAliasCommand = exports.serializeAws_restJson1CreateProvisioningTemplateVersionCommand = exports.serializeAws_restJson1CreateProvisioningTemplateCommand = exports.serializeAws_restJson1CreateProvisioningClaimCommand = exports.serializeAws_restJson1CreatePolicyVersionCommand = exports.serializeAws_restJson1CreatePolicyCommand = exports.serializeAws_restJson1CreateOTAUpdateCommand = exports.serializeAws_restJson1CreateMitigationActionCommand = exports.serializeAws_restJson1CreateKeysAndCertificateCommand = exports.serializeAws_restJson1CreateJobTemplateCommand = exports.serializeAws_restJson1CreateJobCommand = exports.serializeAws_restJson1CreateFleetMetricCommand = exports.serializeAws_restJson1CreateDynamicThingGroupCommand = exports.serializeAws_restJson1CreateDomainConfigurationCommand = exports.serializeAws_restJson1CreateDimensionCommand = exports.serializeAws_restJson1CreateCustomMetricCommand = exports.serializeAws_restJson1CreateCertificateFromCsrCommand = exports.serializeAws_restJson1CreateBillingGroupCommand = exports.serializeAws_restJson1CreateAuthorizerCommand = exports.serializeAws_restJson1CreateAuditSuppressionCommand = exports.serializeAws_restJson1ConfirmTopicRuleDestinationCommand = exports.serializeAws_restJson1ClearDefaultAuthorizerCommand = exports.serializeAws_restJson1CancelJobExecutionCommand = exports.serializeAws_restJson1CancelJobCommand = exports.serializeAws_restJson1CancelDetectMitigationActionsTaskCommand = exports.serializeAws_restJson1CancelCertificateTransferCommand = exports.serializeAws_restJson1CancelAuditTaskCommand = exports.serializeAws_restJson1CancelAuditMitigationActionsTaskCommand = exports.serializeAws_restJson1AttachThingPrincipalCommand = exports.serializeAws_restJson1AttachSecurityProfileCommand = exports.serializeAws_restJson1AttachPrincipalPolicyCommand = exports.serializeAws_restJson1AttachPolicyCommand = exports.serializeAws_restJson1AssociateTargetsWithJobCommand = exports.serializeAws_restJson1AddThingToThingGroupCommand = exports.serializeAws_restJson1AddThingToBillingGroupCommand = exports.serializeAws_restJson1AcceptCertificateTransferCommand = void 0;
4
- exports.serializeAws_restJson1DescribeProvisioningTemplateVersionCommand = exports.serializeAws_restJson1DescribeProvisioningTemplateCommand = exports.serializeAws_restJson1DescribeMitigationActionCommand = exports.serializeAws_restJson1DescribeJobTemplateCommand = exports.serializeAws_restJson1DescribeJobExecutionCommand = exports.serializeAws_restJson1DescribeJobCommand = exports.serializeAws_restJson1DescribeIndexCommand = exports.serializeAws_restJson1DescribeFleetMetricCommand = exports.serializeAws_restJson1DescribeEventConfigurationsCommand = exports.serializeAws_restJson1DescribeEndpointCommand = exports.serializeAws_restJson1DescribeDomainConfigurationCommand = exports.serializeAws_restJson1DescribeDimensionCommand = exports.serializeAws_restJson1DescribeDetectMitigationActionsTaskCommand = exports.serializeAws_restJson1DescribeDefaultAuthorizerCommand = exports.serializeAws_restJson1DescribeCustomMetricCommand = exports.serializeAws_restJson1DescribeCertificateCommand = exports.serializeAws_restJson1DescribeCACertificateCommand = exports.serializeAws_restJson1DescribeBillingGroupCommand = exports.serializeAws_restJson1DescribeAuthorizerCommand = exports.serializeAws_restJson1DescribeAuditTaskCommand = exports.serializeAws_restJson1DescribeAuditSuppressionCommand = exports.serializeAws_restJson1DescribeAuditMitigationActionsTaskCommand = exports.serializeAws_restJson1DescribeAuditFindingCommand = exports.serializeAws_restJson1DescribeAccountAuditConfigurationCommand = exports.serializeAws_restJson1DeprecateThingTypeCommand = exports.serializeAws_restJson1DeleteV2LoggingLevelCommand = exports.serializeAws_restJson1DeleteTopicRuleDestinationCommand = exports.serializeAws_restJson1DeleteTopicRuleCommand = exports.serializeAws_restJson1DeleteThingTypeCommand = exports.serializeAws_restJson1DeleteThingGroupCommand = exports.serializeAws_restJson1DeleteThingCommand = exports.serializeAws_restJson1DeleteStreamCommand = exports.serializeAws_restJson1DeleteSecurityProfileCommand = exports.serializeAws_restJson1DeleteScheduledAuditCommand = exports.serializeAws_restJson1DeleteRoleAliasCommand = exports.serializeAws_restJson1DeleteRegistrationCodeCommand = exports.serializeAws_restJson1DeleteProvisioningTemplateVersionCommand = exports.serializeAws_restJson1DeleteProvisioningTemplateCommand = exports.serializeAws_restJson1DeletePolicyVersionCommand = exports.serializeAws_restJson1DeletePolicyCommand = exports.serializeAws_restJson1DeleteOTAUpdateCommand = exports.serializeAws_restJson1DeleteMitigationActionCommand = exports.serializeAws_restJson1DeleteJobTemplateCommand = exports.serializeAws_restJson1DeleteJobExecutionCommand = exports.serializeAws_restJson1DeleteJobCommand = exports.serializeAws_restJson1DeleteFleetMetricCommand = exports.serializeAws_restJson1DeleteDynamicThingGroupCommand = exports.serializeAws_restJson1DeleteDomainConfigurationCommand = exports.serializeAws_restJson1DeleteDimensionCommand = exports.serializeAws_restJson1DeleteCustomMetricCommand = void 0;
5
- exports.serializeAws_restJson1ListJobExecutionsForJobCommand = exports.serializeAws_restJson1ListIndicesCommand = exports.serializeAws_restJson1ListFleetMetricsCommand = exports.serializeAws_restJson1ListDomainConfigurationsCommand = exports.serializeAws_restJson1ListDimensionsCommand = exports.serializeAws_restJson1ListDetectMitigationActionsTasksCommand = exports.serializeAws_restJson1ListDetectMitigationActionsExecutionsCommand = exports.serializeAws_restJson1ListCustomMetricsCommand = exports.serializeAws_restJson1ListCertificatesByCACommand = exports.serializeAws_restJson1ListCertificatesCommand = exports.serializeAws_restJson1ListCACertificatesCommand = exports.serializeAws_restJson1ListBillingGroupsCommand = exports.serializeAws_restJson1ListAuthorizersCommand = exports.serializeAws_restJson1ListAuditTasksCommand = exports.serializeAws_restJson1ListAuditSuppressionsCommand = exports.serializeAws_restJson1ListAuditMitigationActionsTasksCommand = exports.serializeAws_restJson1ListAuditMitigationActionsExecutionsCommand = exports.serializeAws_restJson1ListAuditFindingsCommand = exports.serializeAws_restJson1ListAttachedPoliciesCommand = exports.serializeAws_restJson1ListActiveViolationsCommand = exports.serializeAws_restJson1GetV2LoggingOptionsCommand = exports.serializeAws_restJson1GetTopicRuleDestinationCommand = exports.serializeAws_restJson1GetTopicRuleCommand = exports.serializeAws_restJson1GetStatisticsCommand = exports.serializeAws_restJson1GetRegistrationCodeCommand = exports.serializeAws_restJson1GetPolicyVersionCommand = exports.serializeAws_restJson1GetPolicyCommand = exports.serializeAws_restJson1GetPercentilesCommand = exports.serializeAws_restJson1GetOTAUpdateCommand = exports.serializeAws_restJson1GetLoggingOptionsCommand = exports.serializeAws_restJson1GetJobDocumentCommand = exports.serializeAws_restJson1GetIndexingConfigurationCommand = exports.serializeAws_restJson1GetEffectivePoliciesCommand = exports.serializeAws_restJson1GetCardinalityCommand = exports.serializeAws_restJson1GetBucketsAggregationCommand = exports.serializeAws_restJson1GetBehaviorModelTrainingSummariesCommand = exports.serializeAws_restJson1EnableTopicRuleCommand = exports.serializeAws_restJson1DisableTopicRuleCommand = exports.serializeAws_restJson1DetachThingPrincipalCommand = exports.serializeAws_restJson1DetachSecurityProfileCommand = exports.serializeAws_restJson1DetachPrincipalPolicyCommand = exports.serializeAws_restJson1DetachPolicyCommand = exports.serializeAws_restJson1DescribeThingTypeCommand = exports.serializeAws_restJson1DescribeThingRegistrationTaskCommand = exports.serializeAws_restJson1DescribeThingGroupCommand = exports.serializeAws_restJson1DescribeThingCommand = exports.serializeAws_restJson1DescribeStreamCommand = exports.serializeAws_restJson1DescribeSecurityProfileCommand = exports.serializeAws_restJson1DescribeScheduledAuditCommand = exports.serializeAws_restJson1DescribeRoleAliasCommand = void 0;
6
- exports.serializeAws_restJson1StartAuditMitigationActionsTaskCommand = exports.serializeAws_restJson1SetV2LoggingOptionsCommand = exports.serializeAws_restJson1SetV2LoggingLevelCommand = exports.serializeAws_restJson1SetLoggingOptionsCommand = exports.serializeAws_restJson1SetDefaultPolicyVersionCommand = exports.serializeAws_restJson1SetDefaultAuthorizerCommand = exports.serializeAws_restJson1SearchIndexCommand = exports.serializeAws_restJson1ReplaceTopicRuleCommand = exports.serializeAws_restJson1RemoveThingFromThingGroupCommand = exports.serializeAws_restJson1RemoveThingFromBillingGroupCommand = exports.serializeAws_restJson1RejectCertificateTransferCommand = exports.serializeAws_restJson1RegisterThingCommand = exports.serializeAws_restJson1RegisterCertificateWithoutCACommand = exports.serializeAws_restJson1RegisterCertificateCommand = exports.serializeAws_restJson1RegisterCACertificateCommand = exports.serializeAws_restJson1PutVerificationStateOnViolationCommand = exports.serializeAws_restJson1ListViolationEventsCommand = exports.serializeAws_restJson1ListV2LoggingLevelsCommand = exports.serializeAws_restJson1ListTopicRulesCommand = exports.serializeAws_restJson1ListTopicRuleDestinationsCommand = exports.serializeAws_restJson1ListThingTypesCommand = exports.serializeAws_restJson1ListThingsInThingGroupCommand = exports.serializeAws_restJson1ListThingsInBillingGroupCommand = exports.serializeAws_restJson1ListThingsCommand = exports.serializeAws_restJson1ListThingRegistrationTasksCommand = exports.serializeAws_restJson1ListThingRegistrationTaskReportsCommand = exports.serializeAws_restJson1ListThingPrincipalsCommand = exports.serializeAws_restJson1ListThingGroupsForThingCommand = exports.serializeAws_restJson1ListThingGroupsCommand = exports.serializeAws_restJson1ListTargetsForSecurityProfileCommand = exports.serializeAws_restJson1ListTargetsForPolicyCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListStreamsCommand = exports.serializeAws_restJson1ListSecurityProfilesForTargetCommand = exports.serializeAws_restJson1ListSecurityProfilesCommand = exports.serializeAws_restJson1ListScheduledAuditsCommand = exports.serializeAws_restJson1ListRoleAliasesCommand = exports.serializeAws_restJson1ListProvisioningTemplateVersionsCommand = exports.serializeAws_restJson1ListProvisioningTemplatesCommand = exports.serializeAws_restJson1ListPrincipalThingsCommand = exports.serializeAws_restJson1ListPrincipalPoliciesCommand = exports.serializeAws_restJson1ListPolicyVersionsCommand = exports.serializeAws_restJson1ListPolicyPrincipalsCommand = exports.serializeAws_restJson1ListPoliciesCommand = exports.serializeAws_restJson1ListOutgoingCertificatesCommand = exports.serializeAws_restJson1ListOTAUpdatesCommand = exports.serializeAws_restJson1ListMitigationActionsCommand = exports.serializeAws_restJson1ListJobTemplatesCommand = exports.serializeAws_restJson1ListJobsCommand = exports.serializeAws_restJson1ListJobExecutionsForThingCommand = void 0;
7
- exports.deserializeAws_restJson1ConfirmTopicRuleDestinationCommand = exports.deserializeAws_restJson1ClearDefaultAuthorizerCommand = exports.deserializeAws_restJson1CancelJobExecutionCommand = exports.deserializeAws_restJson1CancelJobCommand = exports.deserializeAws_restJson1CancelDetectMitigationActionsTaskCommand = exports.deserializeAws_restJson1CancelCertificateTransferCommand = exports.deserializeAws_restJson1CancelAuditTaskCommand = exports.deserializeAws_restJson1CancelAuditMitigationActionsTaskCommand = exports.deserializeAws_restJson1AttachThingPrincipalCommand = exports.deserializeAws_restJson1AttachSecurityProfileCommand = exports.deserializeAws_restJson1AttachPrincipalPolicyCommand = exports.deserializeAws_restJson1AttachPolicyCommand = exports.deserializeAws_restJson1AssociateTargetsWithJobCommand = exports.deserializeAws_restJson1AddThingToThingGroupCommand = exports.deserializeAws_restJson1AddThingToBillingGroupCommand = exports.deserializeAws_restJson1AcceptCertificateTransferCommand = exports.serializeAws_restJson1ValidateSecurityProfileBehaviorsCommand = exports.serializeAws_restJson1UpdateTopicRuleDestinationCommand = exports.serializeAws_restJson1UpdateThingGroupsForThingCommand = exports.serializeAws_restJson1UpdateThingGroupCommand = exports.serializeAws_restJson1UpdateThingCommand = exports.serializeAws_restJson1UpdateStreamCommand = exports.serializeAws_restJson1UpdateSecurityProfileCommand = exports.serializeAws_restJson1UpdateScheduledAuditCommand = exports.serializeAws_restJson1UpdateRoleAliasCommand = exports.serializeAws_restJson1UpdateProvisioningTemplateCommand = exports.serializeAws_restJson1UpdateMitigationActionCommand = exports.serializeAws_restJson1UpdateJobCommand = exports.serializeAws_restJson1UpdateIndexingConfigurationCommand = exports.serializeAws_restJson1UpdateFleetMetricCommand = exports.serializeAws_restJson1UpdateEventConfigurationsCommand = exports.serializeAws_restJson1UpdateDynamicThingGroupCommand = exports.serializeAws_restJson1UpdateDomainConfigurationCommand = exports.serializeAws_restJson1UpdateDimensionCommand = exports.serializeAws_restJson1UpdateCustomMetricCommand = exports.serializeAws_restJson1UpdateCertificateCommand = exports.serializeAws_restJson1UpdateCACertificateCommand = exports.serializeAws_restJson1UpdateBillingGroupCommand = exports.serializeAws_restJson1UpdateAuthorizerCommand = exports.serializeAws_restJson1UpdateAuditSuppressionCommand = exports.serializeAws_restJson1UpdateAccountAuditConfigurationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TransferCertificateCommand = exports.serializeAws_restJson1TestInvokeAuthorizerCommand = exports.serializeAws_restJson1TestAuthorizationCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopThingRegistrationTaskCommand = exports.serializeAws_restJson1StartThingRegistrationTaskCommand = exports.serializeAws_restJson1StartOnDemandAuditTaskCommand = exports.serializeAws_restJson1StartDetectMitigationActionsTaskCommand = void 0;
8
- exports.deserializeAws_restJson1DeleteRoleAliasCommand = exports.deserializeAws_restJson1DeleteRegistrationCodeCommand = exports.deserializeAws_restJson1DeleteProvisioningTemplateVersionCommand = exports.deserializeAws_restJson1DeleteProvisioningTemplateCommand = exports.deserializeAws_restJson1DeletePolicyVersionCommand = exports.deserializeAws_restJson1DeletePolicyCommand = exports.deserializeAws_restJson1DeleteOTAUpdateCommand = exports.deserializeAws_restJson1DeleteMitigationActionCommand = exports.deserializeAws_restJson1DeleteJobTemplateCommand = exports.deserializeAws_restJson1DeleteJobExecutionCommand = exports.deserializeAws_restJson1DeleteJobCommand = exports.deserializeAws_restJson1DeleteFleetMetricCommand = exports.deserializeAws_restJson1DeleteDynamicThingGroupCommand = exports.deserializeAws_restJson1DeleteDomainConfigurationCommand = exports.deserializeAws_restJson1DeleteDimensionCommand = exports.deserializeAws_restJson1DeleteCustomMetricCommand = exports.deserializeAws_restJson1DeleteCertificateCommand = exports.deserializeAws_restJson1DeleteCACertificateCommand = exports.deserializeAws_restJson1DeleteBillingGroupCommand = exports.deserializeAws_restJson1DeleteAuthorizerCommand = exports.deserializeAws_restJson1DeleteAuditSuppressionCommand = exports.deserializeAws_restJson1DeleteAccountAuditConfigurationCommand = exports.deserializeAws_restJson1CreateTopicRuleDestinationCommand = exports.deserializeAws_restJson1CreateTopicRuleCommand = exports.deserializeAws_restJson1CreateThingTypeCommand = exports.deserializeAws_restJson1CreateThingGroupCommand = exports.deserializeAws_restJson1CreateThingCommand = exports.deserializeAws_restJson1CreateStreamCommand = exports.deserializeAws_restJson1CreateSecurityProfileCommand = exports.deserializeAws_restJson1CreateScheduledAuditCommand = exports.deserializeAws_restJson1CreateRoleAliasCommand = exports.deserializeAws_restJson1CreateProvisioningTemplateVersionCommand = exports.deserializeAws_restJson1CreateProvisioningTemplateCommand = exports.deserializeAws_restJson1CreateProvisioningClaimCommand = exports.deserializeAws_restJson1CreatePolicyVersionCommand = exports.deserializeAws_restJson1CreatePolicyCommand = exports.deserializeAws_restJson1CreateOTAUpdateCommand = exports.deserializeAws_restJson1CreateMitigationActionCommand = exports.deserializeAws_restJson1CreateKeysAndCertificateCommand = exports.deserializeAws_restJson1CreateJobTemplateCommand = exports.deserializeAws_restJson1CreateJobCommand = exports.deserializeAws_restJson1CreateFleetMetricCommand = exports.deserializeAws_restJson1CreateDynamicThingGroupCommand = exports.deserializeAws_restJson1CreateDomainConfigurationCommand = exports.deserializeAws_restJson1CreateDimensionCommand = exports.deserializeAws_restJson1CreateCustomMetricCommand = exports.deserializeAws_restJson1CreateCertificateFromCsrCommand = exports.deserializeAws_restJson1CreateBillingGroupCommand = exports.deserializeAws_restJson1CreateAuthorizerCommand = exports.deserializeAws_restJson1CreateAuditSuppressionCommand = void 0;
9
- exports.deserializeAws_restJson1GetBucketsAggregationCommand = exports.deserializeAws_restJson1GetBehaviorModelTrainingSummariesCommand = exports.deserializeAws_restJson1EnableTopicRuleCommand = exports.deserializeAws_restJson1DisableTopicRuleCommand = exports.deserializeAws_restJson1DetachThingPrincipalCommand = exports.deserializeAws_restJson1DetachSecurityProfileCommand = exports.deserializeAws_restJson1DetachPrincipalPolicyCommand = exports.deserializeAws_restJson1DetachPolicyCommand = exports.deserializeAws_restJson1DescribeThingTypeCommand = exports.deserializeAws_restJson1DescribeThingRegistrationTaskCommand = exports.deserializeAws_restJson1DescribeThingGroupCommand = exports.deserializeAws_restJson1DescribeThingCommand = exports.deserializeAws_restJson1DescribeStreamCommand = exports.deserializeAws_restJson1DescribeSecurityProfileCommand = exports.deserializeAws_restJson1DescribeScheduledAuditCommand = exports.deserializeAws_restJson1DescribeRoleAliasCommand = exports.deserializeAws_restJson1DescribeProvisioningTemplateVersionCommand = exports.deserializeAws_restJson1DescribeProvisioningTemplateCommand = exports.deserializeAws_restJson1DescribeMitigationActionCommand = exports.deserializeAws_restJson1DescribeJobTemplateCommand = exports.deserializeAws_restJson1DescribeJobExecutionCommand = exports.deserializeAws_restJson1DescribeJobCommand = exports.deserializeAws_restJson1DescribeIndexCommand = exports.deserializeAws_restJson1DescribeFleetMetricCommand = exports.deserializeAws_restJson1DescribeEventConfigurationsCommand = exports.deserializeAws_restJson1DescribeEndpointCommand = exports.deserializeAws_restJson1DescribeDomainConfigurationCommand = exports.deserializeAws_restJson1DescribeDimensionCommand = exports.deserializeAws_restJson1DescribeDetectMitigationActionsTaskCommand = exports.deserializeAws_restJson1DescribeDefaultAuthorizerCommand = exports.deserializeAws_restJson1DescribeCustomMetricCommand = exports.deserializeAws_restJson1DescribeCertificateCommand = exports.deserializeAws_restJson1DescribeCACertificateCommand = exports.deserializeAws_restJson1DescribeBillingGroupCommand = exports.deserializeAws_restJson1DescribeAuthorizerCommand = exports.deserializeAws_restJson1DescribeAuditTaskCommand = exports.deserializeAws_restJson1DescribeAuditSuppressionCommand = exports.deserializeAws_restJson1DescribeAuditMitigationActionsTaskCommand = exports.deserializeAws_restJson1DescribeAuditFindingCommand = exports.deserializeAws_restJson1DescribeAccountAuditConfigurationCommand = exports.deserializeAws_restJson1DeprecateThingTypeCommand = exports.deserializeAws_restJson1DeleteV2LoggingLevelCommand = exports.deserializeAws_restJson1DeleteTopicRuleDestinationCommand = exports.deserializeAws_restJson1DeleteTopicRuleCommand = exports.deserializeAws_restJson1DeleteThingTypeCommand = exports.deserializeAws_restJson1DeleteThingGroupCommand = exports.deserializeAws_restJson1DeleteThingCommand = exports.deserializeAws_restJson1DeleteStreamCommand = exports.deserializeAws_restJson1DeleteSecurityProfileCommand = exports.deserializeAws_restJson1DeleteScheduledAuditCommand = void 0;
10
- exports.deserializeAws_restJson1ListSecurityProfilesCommand = exports.deserializeAws_restJson1ListScheduledAuditsCommand = exports.deserializeAws_restJson1ListRoleAliasesCommand = exports.deserializeAws_restJson1ListProvisioningTemplateVersionsCommand = exports.deserializeAws_restJson1ListProvisioningTemplatesCommand = exports.deserializeAws_restJson1ListPrincipalThingsCommand = exports.deserializeAws_restJson1ListPrincipalPoliciesCommand = exports.deserializeAws_restJson1ListPolicyVersionsCommand = exports.deserializeAws_restJson1ListPolicyPrincipalsCommand = exports.deserializeAws_restJson1ListPoliciesCommand = exports.deserializeAws_restJson1ListOutgoingCertificatesCommand = exports.deserializeAws_restJson1ListOTAUpdatesCommand = exports.deserializeAws_restJson1ListMitigationActionsCommand = exports.deserializeAws_restJson1ListJobTemplatesCommand = exports.deserializeAws_restJson1ListJobsCommand = exports.deserializeAws_restJson1ListJobExecutionsForThingCommand = exports.deserializeAws_restJson1ListJobExecutionsForJobCommand = exports.deserializeAws_restJson1ListIndicesCommand = exports.deserializeAws_restJson1ListFleetMetricsCommand = exports.deserializeAws_restJson1ListDomainConfigurationsCommand = exports.deserializeAws_restJson1ListDimensionsCommand = exports.deserializeAws_restJson1ListDetectMitigationActionsTasksCommand = exports.deserializeAws_restJson1ListDetectMitigationActionsExecutionsCommand = exports.deserializeAws_restJson1ListCustomMetricsCommand = exports.deserializeAws_restJson1ListCertificatesByCACommand = exports.deserializeAws_restJson1ListCertificatesCommand = exports.deserializeAws_restJson1ListCACertificatesCommand = exports.deserializeAws_restJson1ListBillingGroupsCommand = exports.deserializeAws_restJson1ListAuthorizersCommand = exports.deserializeAws_restJson1ListAuditTasksCommand = exports.deserializeAws_restJson1ListAuditSuppressionsCommand = exports.deserializeAws_restJson1ListAuditMitigationActionsTasksCommand = exports.deserializeAws_restJson1ListAuditMitigationActionsExecutionsCommand = exports.deserializeAws_restJson1ListAuditFindingsCommand = exports.deserializeAws_restJson1ListAttachedPoliciesCommand = exports.deserializeAws_restJson1ListActiveViolationsCommand = exports.deserializeAws_restJson1GetV2LoggingOptionsCommand = exports.deserializeAws_restJson1GetTopicRuleDestinationCommand = exports.deserializeAws_restJson1GetTopicRuleCommand = exports.deserializeAws_restJson1GetStatisticsCommand = exports.deserializeAws_restJson1GetRegistrationCodeCommand = exports.deserializeAws_restJson1GetPolicyVersionCommand = exports.deserializeAws_restJson1GetPolicyCommand = exports.deserializeAws_restJson1GetPercentilesCommand = exports.deserializeAws_restJson1GetOTAUpdateCommand = exports.deserializeAws_restJson1GetLoggingOptionsCommand = exports.deserializeAws_restJson1GetJobDocumentCommand = exports.deserializeAws_restJson1GetIndexingConfigurationCommand = exports.deserializeAws_restJson1GetEffectivePoliciesCommand = exports.deserializeAws_restJson1GetCardinalityCommand = void 0;
11
- exports.deserializeAws_restJson1UpdateCustomMetricCommand = exports.deserializeAws_restJson1UpdateCertificateCommand = exports.deserializeAws_restJson1UpdateCACertificateCommand = exports.deserializeAws_restJson1UpdateBillingGroupCommand = exports.deserializeAws_restJson1UpdateAuthorizerCommand = exports.deserializeAws_restJson1UpdateAuditSuppressionCommand = exports.deserializeAws_restJson1UpdateAccountAuditConfigurationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TransferCertificateCommand = exports.deserializeAws_restJson1TestInvokeAuthorizerCommand = exports.deserializeAws_restJson1TestAuthorizationCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopThingRegistrationTaskCommand = exports.deserializeAws_restJson1StartThingRegistrationTaskCommand = exports.deserializeAws_restJson1StartOnDemandAuditTaskCommand = exports.deserializeAws_restJson1StartDetectMitigationActionsTaskCommand = exports.deserializeAws_restJson1StartAuditMitigationActionsTaskCommand = exports.deserializeAws_restJson1SetV2LoggingOptionsCommand = exports.deserializeAws_restJson1SetV2LoggingLevelCommand = exports.deserializeAws_restJson1SetLoggingOptionsCommand = exports.deserializeAws_restJson1SetDefaultPolicyVersionCommand = exports.deserializeAws_restJson1SetDefaultAuthorizerCommand = exports.deserializeAws_restJson1SearchIndexCommand = exports.deserializeAws_restJson1ReplaceTopicRuleCommand = exports.deserializeAws_restJson1RemoveThingFromThingGroupCommand = exports.deserializeAws_restJson1RemoveThingFromBillingGroupCommand = exports.deserializeAws_restJson1RejectCertificateTransferCommand = exports.deserializeAws_restJson1RegisterThingCommand = exports.deserializeAws_restJson1RegisterCertificateWithoutCACommand = exports.deserializeAws_restJson1RegisterCertificateCommand = exports.deserializeAws_restJson1RegisterCACertificateCommand = exports.deserializeAws_restJson1PutVerificationStateOnViolationCommand = exports.deserializeAws_restJson1ListViolationEventsCommand = exports.deserializeAws_restJson1ListV2LoggingLevelsCommand = exports.deserializeAws_restJson1ListTopicRulesCommand = exports.deserializeAws_restJson1ListTopicRuleDestinationsCommand = exports.deserializeAws_restJson1ListThingTypesCommand = exports.deserializeAws_restJson1ListThingsInThingGroupCommand = exports.deserializeAws_restJson1ListThingsInBillingGroupCommand = exports.deserializeAws_restJson1ListThingsCommand = exports.deserializeAws_restJson1ListThingRegistrationTasksCommand = exports.deserializeAws_restJson1ListThingRegistrationTaskReportsCommand = exports.deserializeAws_restJson1ListThingPrincipalsCommand = exports.deserializeAws_restJson1ListThingGroupsForThingCommand = exports.deserializeAws_restJson1ListThingGroupsCommand = exports.deserializeAws_restJson1ListTargetsForSecurityProfileCommand = exports.deserializeAws_restJson1ListTargetsForPolicyCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListStreamsCommand = exports.deserializeAws_restJson1ListSecurityProfilesForTargetCommand = void 0;
12
- exports.deserializeAws_restJson1ValidateSecurityProfileBehaviorsCommand = exports.deserializeAws_restJson1UpdateTopicRuleDestinationCommand = exports.deserializeAws_restJson1UpdateThingGroupsForThingCommand = exports.deserializeAws_restJson1UpdateThingGroupCommand = exports.deserializeAws_restJson1UpdateThingCommand = exports.deserializeAws_restJson1UpdateStreamCommand = exports.deserializeAws_restJson1UpdateSecurityProfileCommand = exports.deserializeAws_restJson1UpdateScheduledAuditCommand = exports.deserializeAws_restJson1UpdateRoleAliasCommand = exports.deserializeAws_restJson1UpdateProvisioningTemplateCommand = exports.deserializeAws_restJson1UpdateMitigationActionCommand = exports.deserializeAws_restJson1UpdateJobCommand = exports.deserializeAws_restJson1UpdateIndexingConfigurationCommand = exports.deserializeAws_restJson1UpdateFleetMetricCommand = exports.deserializeAws_restJson1UpdateEventConfigurationsCommand = exports.deserializeAws_restJson1UpdateDynamicThingGroupCommand = exports.deserializeAws_restJson1UpdateDomainConfigurationCommand = exports.deserializeAws_restJson1UpdateDimensionCommand = void 0;
4
+ exports.serializeAws_restJson1DescribeProvisioningTemplateCommand = exports.serializeAws_restJson1DescribeMitigationActionCommand = exports.serializeAws_restJson1DescribeManagedJobTemplateCommand = exports.serializeAws_restJson1DescribeJobTemplateCommand = exports.serializeAws_restJson1DescribeJobExecutionCommand = exports.serializeAws_restJson1DescribeJobCommand = exports.serializeAws_restJson1DescribeIndexCommand = exports.serializeAws_restJson1DescribeFleetMetricCommand = exports.serializeAws_restJson1DescribeEventConfigurationsCommand = exports.serializeAws_restJson1DescribeEndpointCommand = exports.serializeAws_restJson1DescribeDomainConfigurationCommand = exports.serializeAws_restJson1DescribeDimensionCommand = exports.serializeAws_restJson1DescribeDetectMitigationActionsTaskCommand = exports.serializeAws_restJson1DescribeDefaultAuthorizerCommand = exports.serializeAws_restJson1DescribeCustomMetricCommand = exports.serializeAws_restJson1DescribeCertificateCommand = exports.serializeAws_restJson1DescribeCACertificateCommand = exports.serializeAws_restJson1DescribeBillingGroupCommand = exports.serializeAws_restJson1DescribeAuthorizerCommand = exports.serializeAws_restJson1DescribeAuditTaskCommand = exports.serializeAws_restJson1DescribeAuditSuppressionCommand = exports.serializeAws_restJson1DescribeAuditMitigationActionsTaskCommand = exports.serializeAws_restJson1DescribeAuditFindingCommand = exports.serializeAws_restJson1DescribeAccountAuditConfigurationCommand = exports.serializeAws_restJson1DeprecateThingTypeCommand = exports.serializeAws_restJson1DeleteV2LoggingLevelCommand = exports.serializeAws_restJson1DeleteTopicRuleDestinationCommand = exports.serializeAws_restJson1DeleteTopicRuleCommand = exports.serializeAws_restJson1DeleteThingTypeCommand = exports.serializeAws_restJson1DeleteThingGroupCommand = exports.serializeAws_restJson1DeleteThingCommand = exports.serializeAws_restJson1DeleteStreamCommand = exports.serializeAws_restJson1DeleteSecurityProfileCommand = exports.serializeAws_restJson1DeleteScheduledAuditCommand = exports.serializeAws_restJson1DeleteRoleAliasCommand = exports.serializeAws_restJson1DeleteRegistrationCodeCommand = exports.serializeAws_restJson1DeleteProvisioningTemplateVersionCommand = exports.serializeAws_restJson1DeleteProvisioningTemplateCommand = exports.serializeAws_restJson1DeletePolicyVersionCommand = exports.serializeAws_restJson1DeletePolicyCommand = exports.serializeAws_restJson1DeleteOTAUpdateCommand = exports.serializeAws_restJson1DeleteMitigationActionCommand = exports.serializeAws_restJson1DeleteJobTemplateCommand = exports.serializeAws_restJson1DeleteJobExecutionCommand = exports.serializeAws_restJson1DeleteJobCommand = exports.serializeAws_restJson1DeleteFleetMetricCommand = exports.serializeAws_restJson1DeleteDynamicThingGroupCommand = exports.serializeAws_restJson1DeleteDomainConfigurationCommand = exports.serializeAws_restJson1DeleteDimensionCommand = exports.serializeAws_restJson1DeleteCustomMetricCommand = void 0;
5
+ exports.serializeAws_restJson1ListIndicesCommand = exports.serializeAws_restJson1ListFleetMetricsCommand = exports.serializeAws_restJson1ListDomainConfigurationsCommand = exports.serializeAws_restJson1ListDimensionsCommand = exports.serializeAws_restJson1ListDetectMitigationActionsTasksCommand = exports.serializeAws_restJson1ListDetectMitigationActionsExecutionsCommand = exports.serializeAws_restJson1ListCustomMetricsCommand = exports.serializeAws_restJson1ListCertificatesByCACommand = exports.serializeAws_restJson1ListCertificatesCommand = exports.serializeAws_restJson1ListCACertificatesCommand = exports.serializeAws_restJson1ListBillingGroupsCommand = exports.serializeAws_restJson1ListAuthorizersCommand = exports.serializeAws_restJson1ListAuditTasksCommand = exports.serializeAws_restJson1ListAuditSuppressionsCommand = exports.serializeAws_restJson1ListAuditMitigationActionsTasksCommand = exports.serializeAws_restJson1ListAuditMitigationActionsExecutionsCommand = exports.serializeAws_restJson1ListAuditFindingsCommand = exports.serializeAws_restJson1ListAttachedPoliciesCommand = exports.serializeAws_restJson1ListActiveViolationsCommand = exports.serializeAws_restJson1GetV2LoggingOptionsCommand = exports.serializeAws_restJson1GetTopicRuleDestinationCommand = exports.serializeAws_restJson1GetTopicRuleCommand = exports.serializeAws_restJson1GetStatisticsCommand = exports.serializeAws_restJson1GetRegistrationCodeCommand = exports.serializeAws_restJson1GetPolicyVersionCommand = exports.serializeAws_restJson1GetPolicyCommand = exports.serializeAws_restJson1GetPercentilesCommand = exports.serializeAws_restJson1GetOTAUpdateCommand = exports.serializeAws_restJson1GetLoggingOptionsCommand = exports.serializeAws_restJson1GetJobDocumentCommand = exports.serializeAws_restJson1GetIndexingConfigurationCommand = exports.serializeAws_restJson1GetEffectivePoliciesCommand = exports.serializeAws_restJson1GetCardinalityCommand = exports.serializeAws_restJson1GetBucketsAggregationCommand = exports.serializeAws_restJson1GetBehaviorModelTrainingSummariesCommand = exports.serializeAws_restJson1EnableTopicRuleCommand = exports.serializeAws_restJson1DisableTopicRuleCommand = exports.serializeAws_restJson1DetachThingPrincipalCommand = exports.serializeAws_restJson1DetachSecurityProfileCommand = exports.serializeAws_restJson1DetachPrincipalPolicyCommand = exports.serializeAws_restJson1DetachPolicyCommand = exports.serializeAws_restJson1DescribeThingTypeCommand = exports.serializeAws_restJson1DescribeThingRegistrationTaskCommand = exports.serializeAws_restJson1DescribeThingGroupCommand = exports.serializeAws_restJson1DescribeThingCommand = exports.serializeAws_restJson1DescribeStreamCommand = exports.serializeAws_restJson1DescribeSecurityProfileCommand = exports.serializeAws_restJson1DescribeScheduledAuditCommand = exports.serializeAws_restJson1DescribeRoleAliasCommand = exports.serializeAws_restJson1DescribeProvisioningTemplateVersionCommand = void 0;
6
+ exports.serializeAws_restJson1SetV2LoggingLevelCommand = exports.serializeAws_restJson1SetLoggingOptionsCommand = exports.serializeAws_restJson1SetDefaultPolicyVersionCommand = exports.serializeAws_restJson1SetDefaultAuthorizerCommand = exports.serializeAws_restJson1SearchIndexCommand = exports.serializeAws_restJson1ReplaceTopicRuleCommand = exports.serializeAws_restJson1RemoveThingFromThingGroupCommand = exports.serializeAws_restJson1RemoveThingFromBillingGroupCommand = exports.serializeAws_restJson1RejectCertificateTransferCommand = exports.serializeAws_restJson1RegisterThingCommand = exports.serializeAws_restJson1RegisterCertificateWithoutCACommand = exports.serializeAws_restJson1RegisterCertificateCommand = exports.serializeAws_restJson1RegisterCACertificateCommand = exports.serializeAws_restJson1PutVerificationStateOnViolationCommand = exports.serializeAws_restJson1ListViolationEventsCommand = exports.serializeAws_restJson1ListV2LoggingLevelsCommand = exports.serializeAws_restJson1ListTopicRulesCommand = exports.serializeAws_restJson1ListTopicRuleDestinationsCommand = exports.serializeAws_restJson1ListThingTypesCommand = exports.serializeAws_restJson1ListThingsInThingGroupCommand = exports.serializeAws_restJson1ListThingsInBillingGroupCommand = exports.serializeAws_restJson1ListThingsCommand = exports.serializeAws_restJson1ListThingRegistrationTasksCommand = exports.serializeAws_restJson1ListThingRegistrationTaskReportsCommand = exports.serializeAws_restJson1ListThingPrincipalsCommand = exports.serializeAws_restJson1ListThingGroupsForThingCommand = exports.serializeAws_restJson1ListThingGroupsCommand = exports.serializeAws_restJson1ListTargetsForSecurityProfileCommand = exports.serializeAws_restJson1ListTargetsForPolicyCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListStreamsCommand = exports.serializeAws_restJson1ListSecurityProfilesForTargetCommand = exports.serializeAws_restJson1ListSecurityProfilesCommand = exports.serializeAws_restJson1ListScheduledAuditsCommand = exports.serializeAws_restJson1ListRoleAliasesCommand = exports.serializeAws_restJson1ListProvisioningTemplateVersionsCommand = exports.serializeAws_restJson1ListProvisioningTemplatesCommand = exports.serializeAws_restJson1ListPrincipalThingsCommand = exports.serializeAws_restJson1ListPrincipalPoliciesCommand = exports.serializeAws_restJson1ListPolicyVersionsCommand = exports.serializeAws_restJson1ListPolicyPrincipalsCommand = exports.serializeAws_restJson1ListPoliciesCommand = exports.serializeAws_restJson1ListOutgoingCertificatesCommand = exports.serializeAws_restJson1ListOTAUpdatesCommand = exports.serializeAws_restJson1ListMitigationActionsCommand = exports.serializeAws_restJson1ListManagedJobTemplatesCommand = exports.serializeAws_restJson1ListJobTemplatesCommand = exports.serializeAws_restJson1ListJobsCommand = exports.serializeAws_restJson1ListJobExecutionsForThingCommand = exports.serializeAws_restJson1ListJobExecutionsForJobCommand = void 0;
7
+ exports.deserializeAws_restJson1CancelJobExecutionCommand = exports.deserializeAws_restJson1CancelJobCommand = exports.deserializeAws_restJson1CancelDetectMitigationActionsTaskCommand = exports.deserializeAws_restJson1CancelCertificateTransferCommand = exports.deserializeAws_restJson1CancelAuditTaskCommand = exports.deserializeAws_restJson1CancelAuditMitigationActionsTaskCommand = exports.deserializeAws_restJson1AttachThingPrincipalCommand = exports.deserializeAws_restJson1AttachSecurityProfileCommand = exports.deserializeAws_restJson1AttachPrincipalPolicyCommand = exports.deserializeAws_restJson1AttachPolicyCommand = exports.deserializeAws_restJson1AssociateTargetsWithJobCommand = exports.deserializeAws_restJson1AddThingToThingGroupCommand = exports.deserializeAws_restJson1AddThingToBillingGroupCommand = exports.deserializeAws_restJson1AcceptCertificateTransferCommand = exports.serializeAws_restJson1ValidateSecurityProfileBehaviorsCommand = exports.serializeAws_restJson1UpdateTopicRuleDestinationCommand = exports.serializeAws_restJson1UpdateThingGroupsForThingCommand = exports.serializeAws_restJson1UpdateThingGroupCommand = exports.serializeAws_restJson1UpdateThingCommand = exports.serializeAws_restJson1UpdateStreamCommand = exports.serializeAws_restJson1UpdateSecurityProfileCommand = exports.serializeAws_restJson1UpdateScheduledAuditCommand = exports.serializeAws_restJson1UpdateRoleAliasCommand = exports.serializeAws_restJson1UpdateProvisioningTemplateCommand = exports.serializeAws_restJson1UpdateMitigationActionCommand = exports.serializeAws_restJson1UpdateJobCommand = exports.serializeAws_restJson1UpdateIndexingConfigurationCommand = exports.serializeAws_restJson1UpdateFleetMetricCommand = exports.serializeAws_restJson1UpdateEventConfigurationsCommand = exports.serializeAws_restJson1UpdateDynamicThingGroupCommand = exports.serializeAws_restJson1UpdateDomainConfigurationCommand = exports.serializeAws_restJson1UpdateDimensionCommand = exports.serializeAws_restJson1UpdateCustomMetricCommand = exports.serializeAws_restJson1UpdateCertificateCommand = exports.serializeAws_restJson1UpdateCACertificateCommand = exports.serializeAws_restJson1UpdateBillingGroupCommand = exports.serializeAws_restJson1UpdateAuthorizerCommand = exports.serializeAws_restJson1UpdateAuditSuppressionCommand = exports.serializeAws_restJson1UpdateAccountAuditConfigurationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TransferCertificateCommand = exports.serializeAws_restJson1TestInvokeAuthorizerCommand = exports.serializeAws_restJson1TestAuthorizationCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopThingRegistrationTaskCommand = exports.serializeAws_restJson1StartThingRegistrationTaskCommand = exports.serializeAws_restJson1StartOnDemandAuditTaskCommand = exports.serializeAws_restJson1StartDetectMitigationActionsTaskCommand = exports.serializeAws_restJson1StartAuditMitigationActionsTaskCommand = exports.serializeAws_restJson1SetV2LoggingOptionsCommand = void 0;
8
+ exports.deserializeAws_restJson1DeleteProvisioningTemplateVersionCommand = exports.deserializeAws_restJson1DeleteProvisioningTemplateCommand = exports.deserializeAws_restJson1DeletePolicyVersionCommand = exports.deserializeAws_restJson1DeletePolicyCommand = exports.deserializeAws_restJson1DeleteOTAUpdateCommand = exports.deserializeAws_restJson1DeleteMitigationActionCommand = exports.deserializeAws_restJson1DeleteJobTemplateCommand = exports.deserializeAws_restJson1DeleteJobExecutionCommand = exports.deserializeAws_restJson1DeleteJobCommand = exports.deserializeAws_restJson1DeleteFleetMetricCommand = exports.deserializeAws_restJson1DeleteDynamicThingGroupCommand = exports.deserializeAws_restJson1DeleteDomainConfigurationCommand = exports.deserializeAws_restJson1DeleteDimensionCommand = exports.deserializeAws_restJson1DeleteCustomMetricCommand = exports.deserializeAws_restJson1DeleteCertificateCommand = exports.deserializeAws_restJson1DeleteCACertificateCommand = exports.deserializeAws_restJson1DeleteBillingGroupCommand = exports.deserializeAws_restJson1DeleteAuthorizerCommand = exports.deserializeAws_restJson1DeleteAuditSuppressionCommand = exports.deserializeAws_restJson1DeleteAccountAuditConfigurationCommand = exports.deserializeAws_restJson1CreateTopicRuleDestinationCommand = exports.deserializeAws_restJson1CreateTopicRuleCommand = exports.deserializeAws_restJson1CreateThingTypeCommand = exports.deserializeAws_restJson1CreateThingGroupCommand = exports.deserializeAws_restJson1CreateThingCommand = exports.deserializeAws_restJson1CreateStreamCommand = exports.deserializeAws_restJson1CreateSecurityProfileCommand = exports.deserializeAws_restJson1CreateScheduledAuditCommand = exports.deserializeAws_restJson1CreateRoleAliasCommand = exports.deserializeAws_restJson1CreateProvisioningTemplateVersionCommand = exports.deserializeAws_restJson1CreateProvisioningTemplateCommand = exports.deserializeAws_restJson1CreateProvisioningClaimCommand = exports.deserializeAws_restJson1CreatePolicyVersionCommand = exports.deserializeAws_restJson1CreatePolicyCommand = exports.deserializeAws_restJson1CreateOTAUpdateCommand = exports.deserializeAws_restJson1CreateMitigationActionCommand = exports.deserializeAws_restJson1CreateKeysAndCertificateCommand = exports.deserializeAws_restJson1CreateJobTemplateCommand = exports.deserializeAws_restJson1CreateJobCommand = exports.deserializeAws_restJson1CreateFleetMetricCommand = exports.deserializeAws_restJson1CreateDynamicThingGroupCommand = exports.deserializeAws_restJson1CreateDomainConfigurationCommand = exports.deserializeAws_restJson1CreateDimensionCommand = exports.deserializeAws_restJson1CreateCustomMetricCommand = exports.deserializeAws_restJson1CreateCertificateFromCsrCommand = exports.deserializeAws_restJson1CreateBillingGroupCommand = exports.deserializeAws_restJson1CreateAuthorizerCommand = exports.deserializeAws_restJson1CreateAuditSuppressionCommand = exports.deserializeAws_restJson1ConfirmTopicRuleDestinationCommand = exports.deserializeAws_restJson1ClearDefaultAuthorizerCommand = void 0;
9
+ exports.deserializeAws_restJson1DisableTopicRuleCommand = exports.deserializeAws_restJson1DetachThingPrincipalCommand = exports.deserializeAws_restJson1DetachSecurityProfileCommand = exports.deserializeAws_restJson1DetachPrincipalPolicyCommand = exports.deserializeAws_restJson1DetachPolicyCommand = exports.deserializeAws_restJson1DescribeThingTypeCommand = exports.deserializeAws_restJson1DescribeThingRegistrationTaskCommand = exports.deserializeAws_restJson1DescribeThingGroupCommand = exports.deserializeAws_restJson1DescribeThingCommand = exports.deserializeAws_restJson1DescribeStreamCommand = exports.deserializeAws_restJson1DescribeSecurityProfileCommand = exports.deserializeAws_restJson1DescribeScheduledAuditCommand = exports.deserializeAws_restJson1DescribeRoleAliasCommand = exports.deserializeAws_restJson1DescribeProvisioningTemplateVersionCommand = exports.deserializeAws_restJson1DescribeProvisioningTemplateCommand = exports.deserializeAws_restJson1DescribeMitigationActionCommand = exports.deserializeAws_restJson1DescribeManagedJobTemplateCommand = exports.deserializeAws_restJson1DescribeJobTemplateCommand = exports.deserializeAws_restJson1DescribeJobExecutionCommand = exports.deserializeAws_restJson1DescribeJobCommand = exports.deserializeAws_restJson1DescribeIndexCommand = exports.deserializeAws_restJson1DescribeFleetMetricCommand = exports.deserializeAws_restJson1DescribeEventConfigurationsCommand = exports.deserializeAws_restJson1DescribeEndpointCommand = exports.deserializeAws_restJson1DescribeDomainConfigurationCommand = exports.deserializeAws_restJson1DescribeDimensionCommand = exports.deserializeAws_restJson1DescribeDetectMitigationActionsTaskCommand = exports.deserializeAws_restJson1DescribeDefaultAuthorizerCommand = exports.deserializeAws_restJson1DescribeCustomMetricCommand = exports.deserializeAws_restJson1DescribeCertificateCommand = exports.deserializeAws_restJson1DescribeCACertificateCommand = exports.deserializeAws_restJson1DescribeBillingGroupCommand = exports.deserializeAws_restJson1DescribeAuthorizerCommand = exports.deserializeAws_restJson1DescribeAuditTaskCommand = exports.deserializeAws_restJson1DescribeAuditSuppressionCommand = exports.deserializeAws_restJson1DescribeAuditMitigationActionsTaskCommand = exports.deserializeAws_restJson1DescribeAuditFindingCommand = exports.deserializeAws_restJson1DescribeAccountAuditConfigurationCommand = exports.deserializeAws_restJson1DeprecateThingTypeCommand = exports.deserializeAws_restJson1DeleteV2LoggingLevelCommand = exports.deserializeAws_restJson1DeleteTopicRuleDestinationCommand = exports.deserializeAws_restJson1DeleteTopicRuleCommand = exports.deserializeAws_restJson1DeleteThingTypeCommand = exports.deserializeAws_restJson1DeleteThingGroupCommand = exports.deserializeAws_restJson1DeleteThingCommand = exports.deserializeAws_restJson1DeleteStreamCommand = exports.deserializeAws_restJson1DeleteSecurityProfileCommand = exports.deserializeAws_restJson1DeleteScheduledAuditCommand = exports.deserializeAws_restJson1DeleteRoleAliasCommand = exports.deserializeAws_restJson1DeleteRegistrationCodeCommand = void 0;
10
+ exports.deserializeAws_restJson1ListProvisioningTemplatesCommand = exports.deserializeAws_restJson1ListPrincipalThingsCommand = exports.deserializeAws_restJson1ListPrincipalPoliciesCommand = exports.deserializeAws_restJson1ListPolicyVersionsCommand = exports.deserializeAws_restJson1ListPolicyPrincipalsCommand = exports.deserializeAws_restJson1ListPoliciesCommand = exports.deserializeAws_restJson1ListOutgoingCertificatesCommand = exports.deserializeAws_restJson1ListOTAUpdatesCommand = exports.deserializeAws_restJson1ListMitigationActionsCommand = exports.deserializeAws_restJson1ListManagedJobTemplatesCommand = exports.deserializeAws_restJson1ListJobTemplatesCommand = exports.deserializeAws_restJson1ListJobsCommand = exports.deserializeAws_restJson1ListJobExecutionsForThingCommand = exports.deserializeAws_restJson1ListJobExecutionsForJobCommand = exports.deserializeAws_restJson1ListIndicesCommand = exports.deserializeAws_restJson1ListFleetMetricsCommand = exports.deserializeAws_restJson1ListDomainConfigurationsCommand = exports.deserializeAws_restJson1ListDimensionsCommand = exports.deserializeAws_restJson1ListDetectMitigationActionsTasksCommand = exports.deserializeAws_restJson1ListDetectMitigationActionsExecutionsCommand = exports.deserializeAws_restJson1ListCustomMetricsCommand = exports.deserializeAws_restJson1ListCertificatesByCACommand = exports.deserializeAws_restJson1ListCertificatesCommand = exports.deserializeAws_restJson1ListCACertificatesCommand = exports.deserializeAws_restJson1ListBillingGroupsCommand = exports.deserializeAws_restJson1ListAuthorizersCommand = exports.deserializeAws_restJson1ListAuditTasksCommand = exports.deserializeAws_restJson1ListAuditSuppressionsCommand = exports.deserializeAws_restJson1ListAuditMitigationActionsTasksCommand = exports.deserializeAws_restJson1ListAuditMitigationActionsExecutionsCommand = exports.deserializeAws_restJson1ListAuditFindingsCommand = exports.deserializeAws_restJson1ListAttachedPoliciesCommand = exports.deserializeAws_restJson1ListActiveViolationsCommand = exports.deserializeAws_restJson1GetV2LoggingOptionsCommand = exports.deserializeAws_restJson1GetTopicRuleDestinationCommand = exports.deserializeAws_restJson1GetTopicRuleCommand = exports.deserializeAws_restJson1GetStatisticsCommand = exports.deserializeAws_restJson1GetRegistrationCodeCommand = exports.deserializeAws_restJson1GetPolicyVersionCommand = exports.deserializeAws_restJson1GetPolicyCommand = exports.deserializeAws_restJson1GetPercentilesCommand = exports.deserializeAws_restJson1GetOTAUpdateCommand = exports.deserializeAws_restJson1GetLoggingOptionsCommand = exports.deserializeAws_restJson1GetJobDocumentCommand = exports.deserializeAws_restJson1GetIndexingConfigurationCommand = exports.deserializeAws_restJson1GetEffectivePoliciesCommand = exports.deserializeAws_restJson1GetCardinalityCommand = exports.deserializeAws_restJson1GetBucketsAggregationCommand = exports.deserializeAws_restJson1GetBehaviorModelTrainingSummariesCommand = exports.deserializeAws_restJson1EnableTopicRuleCommand = void 0;
11
+ exports.deserializeAws_restJson1UpdateAuthorizerCommand = exports.deserializeAws_restJson1UpdateAuditSuppressionCommand = exports.deserializeAws_restJson1UpdateAccountAuditConfigurationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TransferCertificateCommand = exports.deserializeAws_restJson1TestInvokeAuthorizerCommand = exports.deserializeAws_restJson1TestAuthorizationCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopThingRegistrationTaskCommand = exports.deserializeAws_restJson1StartThingRegistrationTaskCommand = exports.deserializeAws_restJson1StartOnDemandAuditTaskCommand = exports.deserializeAws_restJson1StartDetectMitigationActionsTaskCommand = exports.deserializeAws_restJson1StartAuditMitigationActionsTaskCommand = exports.deserializeAws_restJson1SetV2LoggingOptionsCommand = exports.deserializeAws_restJson1SetV2LoggingLevelCommand = exports.deserializeAws_restJson1SetLoggingOptionsCommand = exports.deserializeAws_restJson1SetDefaultPolicyVersionCommand = exports.deserializeAws_restJson1SetDefaultAuthorizerCommand = exports.deserializeAws_restJson1SearchIndexCommand = exports.deserializeAws_restJson1ReplaceTopicRuleCommand = exports.deserializeAws_restJson1RemoveThingFromThingGroupCommand = exports.deserializeAws_restJson1RemoveThingFromBillingGroupCommand = exports.deserializeAws_restJson1RejectCertificateTransferCommand = exports.deserializeAws_restJson1RegisterThingCommand = exports.deserializeAws_restJson1RegisterCertificateWithoutCACommand = exports.deserializeAws_restJson1RegisterCertificateCommand = exports.deserializeAws_restJson1RegisterCACertificateCommand = exports.deserializeAws_restJson1PutVerificationStateOnViolationCommand = exports.deserializeAws_restJson1ListViolationEventsCommand = exports.deserializeAws_restJson1ListV2LoggingLevelsCommand = exports.deserializeAws_restJson1ListTopicRulesCommand = exports.deserializeAws_restJson1ListTopicRuleDestinationsCommand = exports.deserializeAws_restJson1ListThingTypesCommand = exports.deserializeAws_restJson1ListThingsInThingGroupCommand = exports.deserializeAws_restJson1ListThingsInBillingGroupCommand = exports.deserializeAws_restJson1ListThingsCommand = exports.deserializeAws_restJson1ListThingRegistrationTasksCommand = exports.deserializeAws_restJson1ListThingRegistrationTaskReportsCommand = exports.deserializeAws_restJson1ListThingPrincipalsCommand = exports.deserializeAws_restJson1ListThingGroupsForThingCommand = exports.deserializeAws_restJson1ListThingGroupsCommand = exports.deserializeAws_restJson1ListTargetsForSecurityProfileCommand = exports.deserializeAws_restJson1ListTargetsForPolicyCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListStreamsCommand = exports.deserializeAws_restJson1ListSecurityProfilesForTargetCommand = exports.deserializeAws_restJson1ListSecurityProfilesCommand = exports.deserializeAws_restJson1ListScheduledAuditsCommand = exports.deserializeAws_restJson1ListRoleAliasesCommand = exports.deserializeAws_restJson1ListProvisioningTemplateVersionsCommand = void 0;
12
+ exports.deserializeAws_restJson1ValidateSecurityProfileBehaviorsCommand = exports.deserializeAws_restJson1UpdateTopicRuleDestinationCommand = exports.deserializeAws_restJson1UpdateThingGroupsForThingCommand = exports.deserializeAws_restJson1UpdateThingGroupCommand = exports.deserializeAws_restJson1UpdateThingCommand = exports.deserializeAws_restJson1UpdateStreamCommand = exports.deserializeAws_restJson1UpdateSecurityProfileCommand = exports.deserializeAws_restJson1UpdateScheduledAuditCommand = exports.deserializeAws_restJson1UpdateRoleAliasCommand = exports.deserializeAws_restJson1UpdateProvisioningTemplateCommand = exports.deserializeAws_restJson1UpdateMitigationActionCommand = exports.deserializeAws_restJson1UpdateJobCommand = exports.deserializeAws_restJson1UpdateIndexingConfigurationCommand = exports.deserializeAws_restJson1UpdateFleetMetricCommand = exports.deserializeAws_restJson1UpdateEventConfigurationsCommand = exports.deserializeAws_restJson1UpdateDynamicThingGroupCommand = exports.deserializeAws_restJson1UpdateDomainConfigurationCommand = exports.deserializeAws_restJson1UpdateDimensionCommand = exports.deserializeAws_restJson1UpdateCustomMetricCommand = exports.deserializeAws_restJson1UpdateCertificateCommand = exports.deserializeAws_restJson1UpdateCACertificateCommand = exports.deserializeAws_restJson1UpdateBillingGroupCommand = void 0;
13
13
  const protocol_http_1 = require("@aws-sdk/protocol-http");
14
14
  const smithy_client_1 = require("@aws-sdk/smithy-client");
15
15
  const uuid_1 = require("uuid");
@@ -546,6 +546,8 @@ const serializeAws_restJson1CreateAuthorizerCommand = async (input, context) =>
546
546
  body = JSON.stringify({
547
547
  ...(input.authorizerFunctionArn !== undefined &&
548
548
  input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn }),
549
+ ...(input.enableCachingForHttp !== undefined &&
550
+ input.enableCachingForHttp !== null && { enableCachingForHttp: input.enableCachingForHttp }),
549
551
  ...(input.signingDisabled !== undefined &&
550
552
  input.signingDisabled !== null && { signingDisabled: input.signingDisabled }),
551
553
  ...(input.status !== undefined && input.status !== null && { status: input.status }),
@@ -855,6 +857,10 @@ const serializeAws_restJson1CreateJobCommand = async (input, context) => {
855
857
  input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) }),
856
858
  ...(input.description !== undefined && input.description !== null && { description: input.description }),
857
859
  ...(input.document !== undefined && input.document !== null && { document: input.document }),
860
+ ...(input.documentParameters !== undefined &&
861
+ input.documentParameters !== null && {
862
+ documentParameters: serializeAws_restJson1ParameterMap(input.documentParameters, context),
863
+ }),
858
864
  ...(input.documentSource !== undefined &&
859
865
  input.documentSource !== null && { documentSource: input.documentSource }),
860
866
  ...(input.jobExecutionsRolloutConfig !== undefined &&
@@ -2995,6 +3001,36 @@ const serializeAws_restJson1DescribeJobTemplateCommand = async (input, context)
2995
3001
  });
2996
3002
  };
2997
3003
  exports.serializeAws_restJson1DescribeJobTemplateCommand = serializeAws_restJson1DescribeJobTemplateCommand;
3004
+ const serializeAws_restJson1DescribeManagedJobTemplateCommand = async (input, context) => {
3005
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3006
+ const headers = {};
3007
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/managed-job-templates/{templateName}";
3008
+ if (input.templateName !== undefined) {
3009
+ const labelValue = input.templateName;
3010
+ if (labelValue.length <= 0) {
3011
+ throw new Error("Empty value provided for input HTTP label: templateName.");
3012
+ }
3013
+ resolvedPath = resolvedPath.replace("{templateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
3014
+ }
3015
+ else {
3016
+ throw new Error("No value provided for input HTTP label: templateName.");
3017
+ }
3018
+ const query = {
3019
+ ...(input.templateVersion !== undefined && { templateVersion: input.templateVersion }),
3020
+ };
3021
+ let body;
3022
+ return new protocol_http_1.HttpRequest({
3023
+ protocol,
3024
+ hostname,
3025
+ port,
3026
+ method: "GET",
3027
+ headers,
3028
+ path: resolvedPath,
3029
+ query,
3030
+ body,
3031
+ });
3032
+ };
3033
+ exports.serializeAws_restJson1DescribeManagedJobTemplateCommand = serializeAws_restJson1DescribeManagedJobTemplateCommand;
2998
3034
  const serializeAws_restJson1DescribeMitigationActionCommand = async (input, context) => {
2999
3035
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3000
3036
  const headers = {};
@@ -4448,6 +4484,28 @@ const serializeAws_restJson1ListJobTemplatesCommand = async (input, context) =>
4448
4484
  });
4449
4485
  };
4450
4486
  exports.serializeAws_restJson1ListJobTemplatesCommand = serializeAws_restJson1ListJobTemplatesCommand;
4487
+ const serializeAws_restJson1ListManagedJobTemplatesCommand = async (input, context) => {
4488
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4489
+ const headers = {};
4490
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/managed-job-templates";
4491
+ const query = {
4492
+ ...(input.templateName !== undefined && { templateName: input.templateName }),
4493
+ ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
4494
+ ...(input.nextToken !== undefined && { nextToken: input.nextToken }),
4495
+ };
4496
+ let body;
4497
+ return new protocol_http_1.HttpRequest({
4498
+ protocol,
4499
+ hostname,
4500
+ port,
4501
+ method: "GET",
4502
+ headers,
4503
+ path: resolvedPath,
4504
+ query,
4505
+ body,
4506
+ });
4507
+ };
4508
+ exports.serializeAws_restJson1ListManagedJobTemplatesCommand = serializeAws_restJson1ListManagedJobTemplatesCommand;
4451
4509
  const serializeAws_restJson1ListMitigationActionsCommand = async (input, context) => {
4452
4510
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4453
4511
  const headers = {};
@@ -6050,6 +6108,8 @@ const serializeAws_restJson1UpdateAuthorizerCommand = async (input, context) =>
6050
6108
  body = JSON.stringify({
6051
6109
  ...(input.authorizerFunctionArn !== undefined &&
6052
6110
  input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn }),
6111
+ ...(input.enableCachingForHttp !== undefined &&
6112
+ input.enableCachingForHttp !== null && { enableCachingForHttp: input.enableCachingForHttp }),
6053
6113
  ...(input.status !== undefined && input.status !== null && { status: input.status }),
6054
6114
  ...(input.tokenKeyName !== undefined && input.tokenKeyName !== null && { tokenKeyName: input.tokenKeyName }),
6055
6115
  ...(input.tokenSigningPublicKeys !== undefined &&
@@ -15217,6 +15277,102 @@ const deserializeAws_restJson1DescribeJobTemplateCommandError = async (output, c
15217
15277
  delete response.Message;
15218
15278
  return Promise.reject(Object.assign(new Error(message), response));
15219
15279
  };
15280
+ const deserializeAws_restJson1DescribeManagedJobTemplateCommand = async (output, context) => {
15281
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
15282
+ return deserializeAws_restJson1DescribeManagedJobTemplateCommandError(output, context);
15283
+ }
15284
+ const contents = {
15285
+ $metadata: deserializeMetadata(output),
15286
+ description: undefined,
15287
+ document: undefined,
15288
+ documentParameters: undefined,
15289
+ environments: undefined,
15290
+ templateArn: undefined,
15291
+ templateName: undefined,
15292
+ templateVersion: undefined,
15293
+ };
15294
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15295
+ if (data.description !== undefined && data.description !== null) {
15296
+ contents.description = smithy_client_1.expectString(data.description);
15297
+ }
15298
+ if (data.document !== undefined && data.document !== null) {
15299
+ contents.document = smithy_client_1.expectString(data.document);
15300
+ }
15301
+ if (data.documentParameters !== undefined && data.documentParameters !== null) {
15302
+ contents.documentParameters = deserializeAws_restJson1DocumentParameters(data.documentParameters, context);
15303
+ }
15304
+ if (data.environments !== undefined && data.environments !== null) {
15305
+ contents.environments = deserializeAws_restJson1Environments(data.environments, context);
15306
+ }
15307
+ if (data.templateArn !== undefined && data.templateArn !== null) {
15308
+ contents.templateArn = smithy_client_1.expectString(data.templateArn);
15309
+ }
15310
+ if (data.templateName !== undefined && data.templateName !== null) {
15311
+ contents.templateName = smithy_client_1.expectString(data.templateName);
15312
+ }
15313
+ if (data.templateVersion !== undefined && data.templateVersion !== null) {
15314
+ contents.templateVersion = smithy_client_1.expectString(data.templateVersion);
15315
+ }
15316
+ return Promise.resolve(contents);
15317
+ };
15318
+ exports.deserializeAws_restJson1DescribeManagedJobTemplateCommand = deserializeAws_restJson1DescribeManagedJobTemplateCommand;
15319
+ const deserializeAws_restJson1DescribeManagedJobTemplateCommandError = async (output, context) => {
15320
+ const parsedOutput = {
15321
+ ...output,
15322
+ body: await parseBody(output.body, context),
15323
+ };
15324
+ let response;
15325
+ let errorCode = "UnknownError";
15326
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
15327
+ switch (errorCode) {
15328
+ case "InternalServerException":
15329
+ case "com.amazonaws.iot#InternalServerException":
15330
+ response = {
15331
+ ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
15332
+ name: errorCode,
15333
+ $metadata: deserializeMetadata(output),
15334
+ };
15335
+ break;
15336
+ case "InvalidRequestException":
15337
+ case "com.amazonaws.iot#InvalidRequestException":
15338
+ response = {
15339
+ ...(await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)),
15340
+ name: errorCode,
15341
+ $metadata: deserializeMetadata(output),
15342
+ };
15343
+ break;
15344
+ case "ResourceNotFoundException":
15345
+ case "com.amazonaws.iot#ResourceNotFoundException":
15346
+ response = {
15347
+ ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
15348
+ name: errorCode,
15349
+ $metadata: deserializeMetadata(output),
15350
+ };
15351
+ break;
15352
+ case "ThrottlingException":
15353
+ case "com.amazonaws.iot#ThrottlingException":
15354
+ response = {
15355
+ ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
15356
+ name: errorCode,
15357
+ $metadata: deserializeMetadata(output),
15358
+ };
15359
+ break;
15360
+ default:
15361
+ const parsedBody = parsedOutput.body;
15362
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
15363
+ response = {
15364
+ ...parsedBody,
15365
+ name: `${errorCode}`,
15366
+ message: parsedBody.message || parsedBody.Message || errorCode,
15367
+ $fault: "client",
15368
+ $metadata: deserializeMetadata(output),
15369
+ };
15370
+ }
15371
+ const message = response.message || response.Message || errorCode;
15372
+ response.message = message;
15373
+ delete response.Message;
15374
+ return Promise.reject(Object.assign(new Error(message), response));
15375
+ };
15220
15376
  const deserializeAws_restJson1DescribeMitigationActionCommand = async (output, context) => {
15221
15377
  if (output.statusCode !== 200 && output.statusCode >= 300) {
15222
15378
  return deserializeAws_restJson1DescribeMitigationActionCommandError(output, context);
@@ -20037,6 +20193,82 @@ const deserializeAws_restJson1ListJobTemplatesCommandError = async (output, cont
20037
20193
  delete response.Message;
20038
20194
  return Promise.reject(Object.assign(new Error(message), response));
20039
20195
  };
20196
+ const deserializeAws_restJson1ListManagedJobTemplatesCommand = async (output, context) => {
20197
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
20198
+ return deserializeAws_restJson1ListManagedJobTemplatesCommandError(output, context);
20199
+ }
20200
+ const contents = {
20201
+ $metadata: deserializeMetadata(output),
20202
+ managedJobTemplates: undefined,
20203
+ nextToken: undefined,
20204
+ };
20205
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
20206
+ if (data.managedJobTemplates !== undefined && data.managedJobTemplates !== null) {
20207
+ contents.managedJobTemplates = deserializeAws_restJson1ManagedJobTemplatesSummaryList(data.managedJobTemplates, context);
20208
+ }
20209
+ if (data.nextToken !== undefined && data.nextToken !== null) {
20210
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
20211
+ }
20212
+ return Promise.resolve(contents);
20213
+ };
20214
+ exports.deserializeAws_restJson1ListManagedJobTemplatesCommand = deserializeAws_restJson1ListManagedJobTemplatesCommand;
20215
+ const deserializeAws_restJson1ListManagedJobTemplatesCommandError = async (output, context) => {
20216
+ const parsedOutput = {
20217
+ ...output,
20218
+ body: await parseBody(output.body, context),
20219
+ };
20220
+ let response;
20221
+ let errorCode = "UnknownError";
20222
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
20223
+ switch (errorCode) {
20224
+ case "InternalServerException":
20225
+ case "com.amazonaws.iot#InternalServerException":
20226
+ response = {
20227
+ ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
20228
+ name: errorCode,
20229
+ $metadata: deserializeMetadata(output),
20230
+ };
20231
+ break;
20232
+ case "InvalidRequestException":
20233
+ case "com.amazonaws.iot#InvalidRequestException":
20234
+ response = {
20235
+ ...(await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)),
20236
+ name: errorCode,
20237
+ $metadata: deserializeMetadata(output),
20238
+ };
20239
+ break;
20240
+ case "ResourceNotFoundException":
20241
+ case "com.amazonaws.iot#ResourceNotFoundException":
20242
+ response = {
20243
+ ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
20244
+ name: errorCode,
20245
+ $metadata: deserializeMetadata(output),
20246
+ };
20247
+ break;
20248
+ case "ThrottlingException":
20249
+ case "com.amazonaws.iot#ThrottlingException":
20250
+ response = {
20251
+ ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
20252
+ name: errorCode,
20253
+ $metadata: deserializeMetadata(output),
20254
+ };
20255
+ break;
20256
+ default:
20257
+ const parsedBody = parsedOutput.body;
20258
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
20259
+ response = {
20260
+ ...parsedBody,
20261
+ name: `${errorCode}`,
20262
+ message: parsedBody.message || parsedBody.Message || errorCode,
20263
+ $fault: "client",
20264
+ $metadata: deserializeMetadata(output),
20265
+ };
20266
+ }
20267
+ const message = response.message || response.Message || errorCode;
20268
+ response.message = message;
20269
+ delete response.Message;
20270
+ return Promise.reject(Object.assign(new Error(message), response));
20271
+ };
20040
20272
  const deserializeAws_restJson1ListMitigationActionsCommand = async (output, context) => {
20041
20273
  if (output.statusCode !== 200 && output.statusCode >= 300) {
20042
20274
  return deserializeAws_restJson1ListMitigationActionsCommandError(output, context);
@@ -26878,6 +27110,19 @@ const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOu
26878
27110
  }
26879
27111
  return contents;
26880
27112
  };
27113
+ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
27114
+ const contents = {
27115
+ name: "InternalServerException",
27116
+ $fault: "server",
27117
+ $metadata: deserializeMetadata(parsedOutput),
27118
+ message: undefined,
27119
+ };
27120
+ const data = parsedOutput.body;
27121
+ if (data.message !== undefined && data.message !== null) {
27122
+ contents.message = smithy_client_1.expectString(data.message);
27123
+ }
27124
+ return contents;
27125
+ };
26881
27126
  const deserializeAws_restJson1InvalidAggregationExceptionResponse = async (parsedOutput, context) => {
26882
27127
  const contents = {
26883
27128
  name: "InvalidAggregationException",
@@ -28129,6 +28374,17 @@ const serializeAws_restJson1OTAUpdateFiles = (input, context) => {
28129
28374
  return serializeAws_restJson1OTAUpdateFile(entry, context);
28130
28375
  });
28131
28376
  };
28377
+ const serializeAws_restJson1ParameterMap = (input, context) => {
28378
+ return Object.entries(input).reduce((acc, [key, value]) => {
28379
+ if (value === null) {
28380
+ return acc;
28381
+ }
28382
+ return {
28383
+ ...acc,
28384
+ [key]: value,
28385
+ };
28386
+ }, {});
28387
+ };
28132
28388
  const serializeAws_restJson1Parameters = (input, context) => {
28133
28389
  return Object.entries(input).reduce((acc, [key, value]) => {
28134
28390
  if (value === null) {
@@ -28568,8 +28824,12 @@ const serializeAws_restJson1ThingIndexingConfiguration = (input, context) => {
28568
28824
  return {
28569
28825
  ...(input.customFields !== undefined &&
28570
28826
  input.customFields !== null && { customFields: serializeAws_restJson1Fields(input.customFields, context) }),
28827
+ ...(input.deviceDefenderIndexingMode !== undefined &&
28828
+ input.deviceDefenderIndexingMode !== null && { deviceDefenderIndexingMode: input.deviceDefenderIndexingMode }),
28571
28829
  ...(input.managedFields !== undefined &&
28572
28830
  input.managedFields !== null && { managedFields: serializeAws_restJson1Fields(input.managedFields, context) }),
28831
+ ...(input.namedShadowIndexingMode !== undefined &&
28832
+ input.namedShadowIndexingMode !== null && { namedShadowIndexingMode: input.namedShadowIndexingMode }),
28573
28833
  ...(input.thingConnectivityIndexingMode !== undefined &&
28574
28834
  input.thingConnectivityIndexingMode !== null && {
28575
28835
  thingConnectivityIndexingMode: input.thingConnectivityIndexingMode,
@@ -29220,6 +29480,7 @@ const deserializeAws_restJson1AuthorizerDescription = (output, context) => {
29220
29480
  creationDate: output.creationDate !== undefined && output.creationDate !== null
29221
29481
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
29222
29482
  : undefined,
29483
+ enableCachingForHttp: smithy_client_1.expectBoolean(output.enableCachingForHttp),
29223
29484
  lastModifiedDate: output.lastModifiedDate !== undefined && output.lastModifiedDate !== null
29224
29485
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedDate)))
29225
29486
  : undefined,
@@ -29715,6 +29976,25 @@ const deserializeAws_restJson1DimensionStringValues = (output, context) => {
29715
29976
  return smithy_client_1.expectString(entry);
29716
29977
  });
29717
29978
  };
29979
+ const deserializeAws_restJson1DocumentParameter = (output, context) => {
29980
+ return {
29981
+ description: smithy_client_1.expectString(output.description),
29982
+ example: smithy_client_1.expectString(output.example),
29983
+ key: smithy_client_1.expectString(output.key),
29984
+ optional: smithy_client_1.expectBoolean(output.optional),
29985
+ regex: smithy_client_1.expectString(output.regex),
29986
+ };
29987
+ };
29988
+ const deserializeAws_restJson1DocumentParameters = (output, context) => {
29989
+ return (output || [])
29990
+ .filter((e) => e != null)
29991
+ .map((entry) => {
29992
+ if (entry === null) {
29993
+ return null;
29994
+ }
29995
+ return deserializeAws_restJson1DocumentParameter(entry, context);
29996
+ });
29997
+ };
29718
29998
  const deserializeAws_restJson1DomainConfigurations = (output, context) => {
29719
29999
  return (output || [])
29720
30000
  .filter((e) => e != null)
@@ -29786,6 +30066,16 @@ const deserializeAws_restJson1EnableIoTLoggingParams = (output, context) => {
29786
30066
  roleArnForLogging: smithy_client_1.expectString(output.roleArnForLogging),
29787
30067
  };
29788
30068
  };
30069
+ const deserializeAws_restJson1Environments = (output, context) => {
30070
+ return (output || [])
30071
+ .filter((e) => e != null)
30072
+ .map((entry) => {
30073
+ if (entry === null) {
30074
+ return null;
30075
+ }
30076
+ return smithy_client_1.expectString(entry);
30077
+ });
30078
+ };
29789
30079
  const deserializeAws_restJson1ErrorInfo = (output, context) => {
29790
30080
  return {
29791
30081
  code: smithy_client_1.expectString(output.code),
@@ -29984,6 +30274,9 @@ const deserializeAws_restJson1Job = (output, context) => {
29984
30274
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
29985
30275
  : undefined,
29986
30276
  description: smithy_client_1.expectString(output.description),
30277
+ documentParameters: output.documentParameters !== undefined && output.documentParameters !== null
30278
+ ? deserializeAws_restJson1ParameterMap(output.documentParameters, context)
30279
+ : undefined,
29987
30280
  forceCanceled: smithy_client_1.expectBoolean(output.forceCanceled),
29988
30281
  jobArn: smithy_client_1.expectString(output.jobArn),
29989
30282
  jobExecutionsRolloutConfig: output.jobExecutionsRolloutConfig !== undefined && output.jobExecutionsRolloutConfig !== null
@@ -30232,6 +30525,27 @@ const deserializeAws_restJson1MachineLearningDetectionConfig = (output, context)
30232
30525
  confidenceLevel: smithy_client_1.expectString(output.confidenceLevel),
30233
30526
  };
30234
30527
  };
30528
+ const deserializeAws_restJson1ManagedJobTemplatesSummaryList = (output, context) => {
30529
+ return (output || [])
30530
+ .filter((e) => e != null)
30531
+ .map((entry) => {
30532
+ if (entry === null) {
30533
+ return null;
30534
+ }
30535
+ return deserializeAws_restJson1ManagedJobTemplateSummary(entry, context);
30536
+ });
30537
+ };
30538
+ const deserializeAws_restJson1ManagedJobTemplateSummary = (output, context) => {
30539
+ return {
30540
+ description: smithy_client_1.expectString(output.description),
30541
+ environments: output.environments !== undefined && output.environments !== null
30542
+ ? deserializeAws_restJson1Environments(output.environments, context)
30543
+ : undefined,
30544
+ templateArn: smithy_client_1.expectString(output.templateArn),
30545
+ templateName: smithy_client_1.expectString(output.templateName),
30546
+ templateVersion: smithy_client_1.expectString(output.templateVersion),
30547
+ };
30548
+ };
30235
30549
  const deserializeAws_restJson1MetricDimension = (output, context) => {
30236
30550
  return {
30237
30551
  dimensionName: smithy_client_1.expectString(output.dimensionName),
@@ -30492,6 +30806,17 @@ const deserializeAws_restJson1OutgoingCertificates = (output, context) => {
30492
30806
  return deserializeAws_restJson1OutgoingCertificate(entry, context);
30493
30807
  });
30494
30808
  };
30809
+ const deserializeAws_restJson1ParameterMap = (output, context) => {
30810
+ return Object.entries(output).reduce((acc, [key, value]) => {
30811
+ if (value === null) {
30812
+ return acc;
30813
+ }
30814
+ return {
30815
+ ...acc,
30816
+ [key]: smithy_client_1.expectString(value),
30817
+ };
30818
+ }, {});
30819
+ };
30495
30820
  const deserializeAws_restJson1Percentiles = (output, context) => {
30496
30821
  return (output || [])
30497
30822
  .filter((e) => e != null)
@@ -31231,6 +31556,7 @@ const deserializeAws_restJson1ThingDocument = (output, context) => {
31231
31556
  connectivity: output.connectivity !== undefined && output.connectivity !== null
31232
31557
  ? deserializeAws_restJson1ThingConnectivity(output.connectivity, context)
31233
31558
  : undefined,
31559
+ deviceDefender: smithy_client_1.expectString(output.deviceDefender),
31234
31560
  shadow: smithy_client_1.expectString(output.shadow),
31235
31561
  thingGroupNames: output.thingGroupNames !== undefined && output.thingGroupNames !== null
31236
31562
  ? deserializeAws_restJson1ThingGroupNameList(output.thingGroupNames, context)
@@ -31338,9 +31664,11 @@ const deserializeAws_restJson1ThingIndexingConfiguration = (output, context) =>
31338
31664
  customFields: output.customFields !== undefined && output.customFields !== null
31339
31665
  ? deserializeAws_restJson1Fields(output.customFields, context)
31340
31666
  : undefined,
31667
+ deviceDefenderIndexingMode: smithy_client_1.expectString(output.deviceDefenderIndexingMode),
31341
31668
  managedFields: output.managedFields !== undefined && output.managedFields !== null
31342
31669
  ? deserializeAws_restJson1Fields(output.managedFields, context)
31343
31670
  : undefined,
31671
+ namedShadowIndexingMode: smithy_client_1.expectString(output.namedShadowIndexingMode),
31344
31672
  thingConnectivityIndexingMode: smithy_client_1.expectString(output.thingConnectivityIndexingMode),
31345
31673
  thingIndexingMode: smithy_client_1.expectString(output.thingIndexingMode),
31346
31674
  };
package/dist-es/IoT.js CHANGED
@@ -96,6 +96,7 @@ import { DescribeIndexCommand, } from "./commands/DescribeIndexCommand";
96
96
  import { DescribeJobCommand } from "./commands/DescribeJobCommand";
97
97
  import { DescribeJobExecutionCommand, } from "./commands/DescribeJobExecutionCommand";
98
98
  import { DescribeJobTemplateCommand, } from "./commands/DescribeJobTemplateCommand";
99
+ import { DescribeManagedJobTemplateCommand, } from "./commands/DescribeManagedJobTemplateCommand";
99
100
  import { DescribeMitigationActionCommand, } from "./commands/DescribeMitigationActionCommand";
100
101
  import { DescribeProvisioningTemplateCommand, } from "./commands/DescribeProvisioningTemplateCommand";
101
102
  import { DescribeProvisioningTemplateVersionCommand, } from "./commands/DescribeProvisioningTemplateVersionCommand";
@@ -152,6 +153,7 @@ import { ListJobExecutionsForJobCommand, } from "./commands/ListJobExecutionsFor
152
153
  import { ListJobExecutionsForThingCommand, } from "./commands/ListJobExecutionsForThingCommand";
153
154
  import { ListJobsCommand } from "./commands/ListJobsCommand";
154
155
  import { ListJobTemplatesCommand, } from "./commands/ListJobTemplatesCommand";
156
+ import { ListManagedJobTemplatesCommand, } from "./commands/ListManagedJobTemplatesCommand";
155
157
  import { ListMitigationActionsCommand, } from "./commands/ListMitigationActionsCommand";
156
158
  import { ListOTAUpdatesCommand, } from "./commands/ListOTAUpdatesCommand";
157
159
  import { ListOutgoingCertificatesCommand, } from "./commands/ListOutgoingCertificatesCommand";
@@ -1597,6 +1599,20 @@ var IoT = (function (_super) {
1597
1599
  return this.send(command, optionsOrCb);
1598
1600
  }
1599
1601
  };
1602
+ IoT.prototype.describeManagedJobTemplate = function (args, optionsOrCb, cb) {
1603
+ var command = new 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
+ };
1600
1616
  IoT.prototype.describeMitigationAction = function (args, optionsOrCb, cb) {
1601
1617
  var command = new DescribeMitigationActionCommand(args);
1602
1618
  if (typeof optionsOrCb === "function") {
@@ -2381,6 +2397,20 @@ var IoT = (function (_super) {
2381
2397
  return this.send(command, optionsOrCb);
2382
2398
  }
2383
2399
  };
2400
+ IoT.prototype.listManagedJobTemplates = function (args, optionsOrCb, cb) {
2401
+ var command = new 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
+ };
2384
2414
  IoT.prototype.listMitigationActions = function (args, optionsOrCb, cb) {
2385
2415
  var command = new ListMitigationActionsCommand(args);
2386
2416
  if (typeof optionsOrCb === "function") {