@aws-sdk/client-iot 3.39.0 → 3.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/dist-cjs/IoT.js +30 -0
- package/dist-cjs/commands/DescribeManagedJobTemplateCommand.js +36 -0
- package/dist-cjs/commands/ListManagedJobTemplatesCommand.js +36 -0
- package/dist-cjs/commands/ListThingTypesCommand.js +1 -2
- package/dist-cjs/commands/ListThingsCommand.js +2 -1
- package/dist-cjs/commands/ListThingsInBillingGroupCommand.js +3 -3
- package/dist-cjs/commands/ListThingsInThingGroupCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +151 -26
- package/dist-cjs/models/models_1.js +47 -47
- package/dist-cjs/models/models_2.js +45 -3
- package/dist-cjs/protocols/Aws_restJson1.js +325 -9
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/IoT.js +30 -0
- package/dist-es/commands/DescribeManagedJobTemplateCommand.js +39 -0
- package/dist-es/commands/ListManagedJobTemplatesCommand.js +39 -0
- package/dist-es/commands/ListThingTypesCommand.js +1 -2
- package/dist-es/commands/ListThingsCommand.js +2 -1
- package/dist-es/commands/ListThingsInBillingGroupCommand.js +1 -1
- package/dist-es/commands/ListThingsInThingGroupCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +151 -26
- package/dist-es/models/models_1.js +28 -28
- package/dist-es/models/models_2.js +28 -0
- package/dist-es/protocols/Aws_restJson1.js +350 -2
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/IoT.d.ts +24 -3
- package/dist-types/IoTClient.d.ts +12 -2
- package/dist-types/commands/AcceptCertificateTransferCommand.d.ts +1 -1
- package/dist-types/commands/AddThingToBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/AddThingToThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +1 -1
- package/dist-types/commands/AttachPolicyCommand.d.ts +1 -1
- package/dist-types/commands/AttachPrincipalPolicyCommand.d.ts +1 -1
- package/dist-types/commands/AttachSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/AttachThingPrincipalCommand.d.ts +1 -1
- package/dist-types/commands/CancelAuditMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/CancelAuditTaskCommand.d.ts +1 -1
- package/dist-types/commands/CancelCertificateTransferCommand.d.ts +1 -1
- package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CancelJobExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ClearDefaultAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/ConfirmTopicRuleDestinationCommand.d.ts +1 -1
- package/dist-types/commands/CreateAuditSuppressionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +4 -3
- package/dist-types/commands/CreateCustomMetricCommand.d.ts +1 -1
- package/dist-types/commands/CreateDimensionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateDynamicThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateFleetMetricCommand.d.ts +1 -1
- package/dist-types/commands/CreateJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeysAndCertificateCommand.d.ts +1 -1
- package/dist-types/commands/CreateMitigationActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateProvisioningClaimCommand.d.ts +1 -1
- package/dist-types/commands/CreateProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateRoleAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateStreamCommand.d.ts +1 -1
- package/dist-types/commands/CreateThingCommand.d.ts +1 -1
- package/dist-types/commands/CreateThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/CreateTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuditSuppressionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCACertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomMetricCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDimensionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFleetMetricCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMitigationActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRegistrationCodeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRoleAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
- package/dist-types/commands/DeprecateThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountAuditConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuditFindingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuditSuppressionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuditTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCACertificateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCustomMetricCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDefaultAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDimensionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetMetricCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +35 -0
- package/dist-types/commands/DescribeMitigationActionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRoleAliasCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStreamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingRegistrationTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DetachPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DetachPrincipalPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DetachSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/DetachThingPrincipalCommand.d.ts +1 -1
- package/dist-types/commands/DisableTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/EnableTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketsAggregationCommand.d.ts +1 -1
- package/dist-types/commands/GetCardinalityCommand.d.ts +1 -1
- package/dist-types/commands/GetEffectivePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/GetIndexingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetJobDocumentCommand.d.ts +1 -1
- package/dist-types/commands/GetLoggingOptionsCommand.d.ts +1 -1
- package/dist-types/commands/GetOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/GetPercentilesCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistrationCodeCommand.d.ts +1 -1
- package/dist-types/commands/GetStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +1 -1
- package/dist-types/commands/GetV2LoggingOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ListActiveViolationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAttachedPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListAuditFindingsCommand.d.ts +1 -1
- package/dist-types/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAuditMitigationActionsTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListAuditSuppressionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAuditTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListAuthorizersCommand.d.ts +1 -1
- package/dist-types/commands/ListBillingGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListCACertificatesCommand.d.ts +1 -1
- package/dist-types/commands/ListCertificatesByCACommand.d.ts +1 -1
- package/dist-types/commands/ListCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/ListCustomMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListDimensionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListFleetMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +35 -0
- package/dist-types/commands/ListMitigationActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListOTAUpdatesCommand.d.ts +1 -1
- package/dist-types/commands/ListOutgoingCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPrincipalThingsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListRoleAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledAuditsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/ListThingGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +1 -1
- package/dist-types/commands/ListThingPrincipalsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListThingTypesCommand.d.ts +2 -3
- package/dist-types/commands/ListThingsCommand.d.ts +3 -2
- package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +2 -2
- package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +2 -2
- package/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTopicRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListV2LoggingLevelsCommand.d.ts +1 -1
- package/dist-types/commands/ListViolationEventsCommand.d.ts +1 -1
- package/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +1 -1
- package/dist-types/commands/RegisterCACertificateCommand.d.ts +1 -1
- package/dist-types/commands/RegisterCertificateCommand.d.ts +1 -1
- package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +5 -2
- package/dist-types/commands/RegisterThingCommand.d.ts +1 -1
- package/dist-types/commands/RejectCertificateTransferCommand.d.ts +1 -1
- package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +4 -1
- package/dist-types/commands/RemoveThingFromThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/SearchIndexCommand.d.ts +1 -1
- package/dist-types/commands/SetDefaultAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/SetLoggingOptionsCommand.d.ts +1 -1
- package/dist-types/commands/SetV2LoggingLevelCommand.d.ts +1 -1
- package/dist-types/commands/SetV2LoggingOptionsCommand.d.ts +1 -1
- package/dist-types/commands/StartAuditMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/StartOnDemandAuditTaskCommand.d.ts +1 -1
- package/dist-types/commands/StartThingRegistrationTaskCommand.d.ts +1 -1
- package/dist-types/commands/StopThingRegistrationTaskCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestAuthorizationCommand.d.ts +1 -1
- package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/TransferCertificateCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAuditSuppressionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCACertificateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCertificateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCustomMetricCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDimensionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDynamicThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEventConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFleetMetricCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIndexingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMitigationActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoleAliasCommand.d.ts +1 -1
- package/dist-types/commands/UpdateScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStreamCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThingGroupsForThingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTopicRuleDestinationCommand.d.ts +1 -1
- package/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +11 -3
- package/dist-types/models/models_1.d.ts +188 -164
- package/dist-types/models/models_2.d.ts +159 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/IoT.d.ts +10 -0
- package/dist-types/ts3.4/IoTClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/DescribeManagedJobTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListThingTypesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListThingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingsInThingGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +100 -89
- package/dist-types/ts3.4/models/models_2.d.ts +89 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -1,8 +1,50 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.ValidateSecurityProfileBehaviorsResponse = exports.ValidationError = exports.ValidateSecurityProfileBehaviorsRequest = exports.UpdateTopicRuleDestinationResponse = exports.UpdateTopicRuleDestinationRequest = exports.UpdateThingGroupsForThingResponse = exports.UpdateThingGroupsForThingRequest = exports.UpdateThingGroupResponse = exports.UpdateThingGroupRequest = exports.UpdateThingResponse = exports.UpdateThingRequest = exports.UpdateStreamResponse = exports.UpdateStreamRequest = exports.UpdateSecurityProfileResponse = exports.UpdateSecurityProfileRequest = exports.UpdateScheduledAuditResponse = exports.UpdateScheduledAuditRequest = exports.UpdateRoleAliasResponse = exports.UpdateRoleAliasRequest = exports.UpdateProvisioningTemplateResponse = exports.UpdateProvisioningTemplateRequest = exports.UpdateMitigationActionResponse = void 0;
|
|
3
|
+
exports.SetDefaultAuthorizerRequest = exports.SearchIndexResponse = exports.ThingDocument = exports.ThingConnectivity = exports.ThingGroupDocument = exports.SearchIndexRequest = exports.ReplaceTopicRuleRequest = exports.RemoveThingFromThingGroupResponse = exports.RemoveThingFromThingGroupRequest = exports.RemoveThingFromBillingGroupResponse = exports.RemoveThingFromBillingGroupRequest = exports.RejectCertificateTransferRequest = exports.ResourceRegistrationFailureException = exports.RegisterThingResponse = exports.RegisterThingRequest = exports.RegisterCertificateWithoutCAResponse = exports.RegisterCertificateWithoutCARequest = exports.RegisterCertificateResponse = exports.RegisterCertificateRequest = exports.CertificateConflictException = exports.RegistrationCodeValidationException = exports.RegisterCACertificateResponse = exports.RegisterCACertificateRequest = exports.PutVerificationStateOnViolationResponse = exports.PutVerificationStateOnViolationRequest = exports.ListViolationEventsResponse = exports.ViolationEvent = exports.ViolationEventType = exports.ListViolationEventsRequest = exports.ListV2LoggingLevelsResponse = exports.LogTargetConfiguration = exports.LogTarget = exports.ListV2LoggingLevelsRequest = exports.ListTopicRulesResponse = exports.TopicRuleListItem = exports.ListTopicRulesRequest = exports.ListTopicRuleDestinationsResponse = exports.TopicRuleDestinationSummary = exports.VpcDestinationSummary = exports.HttpUrlDestinationSummary = exports.ListTopicRuleDestinationsRequest = exports.ListThingTypesResponse = exports.ThingTypeDefinition = exports.ListThingTypesRequest = exports.ListThingsInThingGroupResponse = exports.ListThingsInThingGroupRequest = exports.ListThingsInBillingGroupResponse = exports.ListThingsInBillingGroupRequest = exports.ListThingsResponse = exports.ThingAttribute = void 0;
|
|
4
|
+
exports.UpdateDynamicThingGroupResponse = exports.UpdateDynamicThingGroupRequest = exports.UpdateDomainConfigurationResponse = exports.UpdateDomainConfigurationRequest = exports.UpdateDimensionResponse = exports.UpdateDimensionRequest = exports.UpdateCustomMetricResponse = exports.UpdateCustomMetricRequest = exports.UpdateCertificateRequest = exports.UpdateCACertificateRequest = exports.UpdateBillingGroupResponse = exports.UpdateBillingGroupRequest = exports.UpdateAuthorizerResponse = exports.UpdateAuthorizerRequest = exports.UpdateAuditSuppressionResponse = exports.UpdateAuditSuppressionRequest = exports.UpdateAccountAuditConfigurationResponse = exports.UpdateAccountAuditConfigurationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TransferConflictException = exports.TransferCertificateResponse = exports.TransferCertificateRequest = exports.TestInvokeAuthorizerResponse = exports.TestInvokeAuthorizerRequest = exports.TlsContext = exports.MqttContext = exports.HttpContext = exports.InvalidResponseException = exports.TestAuthorizationResponse = exports.TestAuthorizationRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopThingRegistrationTaskResponse = exports.StopThingRegistrationTaskRequest = exports.StartThingRegistrationTaskResponse = exports.StartThingRegistrationTaskRequest = exports.StartOnDemandAuditTaskResponse = exports.StartOnDemandAuditTaskRequest = exports.StartDetectMitigationActionsTaskResponse = exports.StartDetectMitigationActionsTaskRequest = exports.TaskAlreadyExistsException = exports.StartAuditMitigationActionsTaskResponse = exports.StartAuditMitigationActionsTaskRequest = exports.SetV2LoggingOptionsRequest = exports.SetV2LoggingLevelRequest = exports.SetLoggingOptionsRequest = exports.LoggingOptionsPayload = exports.SetDefaultPolicyVersionRequest = exports.SetDefaultAuthorizerResponse = void 0;
|
|
5
|
+
exports.ValidateSecurityProfileBehaviorsResponse = exports.ValidationError = exports.ValidateSecurityProfileBehaviorsRequest = exports.UpdateTopicRuleDestinationResponse = exports.UpdateTopicRuleDestinationRequest = exports.UpdateThingGroupsForThingResponse = exports.UpdateThingGroupsForThingRequest = exports.UpdateThingGroupResponse = exports.UpdateThingGroupRequest = exports.UpdateThingResponse = exports.UpdateThingRequest = exports.UpdateStreamResponse = exports.UpdateStreamRequest = exports.UpdateSecurityProfileResponse = exports.UpdateSecurityProfileRequest = exports.UpdateScheduledAuditResponse = exports.UpdateScheduledAuditRequest = exports.UpdateRoleAliasResponse = exports.UpdateRoleAliasRequest = exports.UpdateProvisioningTemplateResponse = exports.UpdateProvisioningTemplateRequest = exports.UpdateMitigationActionResponse = exports.UpdateMitigationActionRequest = exports.UpdateJobRequest = exports.UpdateIndexingConfigurationResponse = exports.UpdateIndexingConfigurationRequest = exports.UpdateFleetMetricRequest = exports.UpdateEventConfigurationsResponse = exports.UpdateEventConfigurationsRequest = void 0;
|
|
6
|
+
var ThingAttribute;
|
|
7
|
+
(function (ThingAttribute) {
|
|
8
|
+
ThingAttribute.filterSensitiveLog = (obj) => ({
|
|
9
|
+
...obj,
|
|
10
|
+
});
|
|
11
|
+
})(ThingAttribute = exports.ThingAttribute || (exports.ThingAttribute = {}));
|
|
12
|
+
var ListThingsResponse;
|
|
13
|
+
(function (ListThingsResponse) {
|
|
14
|
+
ListThingsResponse.filterSensitiveLog = (obj) => ({
|
|
15
|
+
...obj,
|
|
16
|
+
});
|
|
17
|
+
})(ListThingsResponse = exports.ListThingsResponse || (exports.ListThingsResponse = {}));
|
|
18
|
+
var ListThingsInBillingGroupRequest;
|
|
19
|
+
(function (ListThingsInBillingGroupRequest) {
|
|
20
|
+
ListThingsInBillingGroupRequest.filterSensitiveLog = (obj) => ({
|
|
21
|
+
...obj,
|
|
22
|
+
});
|
|
23
|
+
})(ListThingsInBillingGroupRequest = exports.ListThingsInBillingGroupRequest || (exports.ListThingsInBillingGroupRequest = {}));
|
|
24
|
+
var ListThingsInBillingGroupResponse;
|
|
25
|
+
(function (ListThingsInBillingGroupResponse) {
|
|
26
|
+
ListThingsInBillingGroupResponse.filterSensitiveLog = (obj) => ({
|
|
27
|
+
...obj,
|
|
28
|
+
});
|
|
29
|
+
})(ListThingsInBillingGroupResponse = exports.ListThingsInBillingGroupResponse || (exports.ListThingsInBillingGroupResponse = {}));
|
|
30
|
+
var ListThingsInThingGroupRequest;
|
|
31
|
+
(function (ListThingsInThingGroupRequest) {
|
|
32
|
+
ListThingsInThingGroupRequest.filterSensitiveLog = (obj) => ({
|
|
33
|
+
...obj,
|
|
34
|
+
});
|
|
35
|
+
})(ListThingsInThingGroupRequest = exports.ListThingsInThingGroupRequest || (exports.ListThingsInThingGroupRequest = {}));
|
|
36
|
+
var ListThingsInThingGroupResponse;
|
|
37
|
+
(function (ListThingsInThingGroupResponse) {
|
|
38
|
+
ListThingsInThingGroupResponse.filterSensitiveLog = (obj) => ({
|
|
39
|
+
...obj,
|
|
40
|
+
});
|
|
41
|
+
})(ListThingsInThingGroupResponse = exports.ListThingsInThingGroupResponse || (exports.ListThingsInThingGroupResponse = {}));
|
|
42
|
+
var ListThingTypesRequest;
|
|
43
|
+
(function (ListThingTypesRequest) {
|
|
44
|
+
ListThingTypesRequest.filterSensitiveLog = (obj) => ({
|
|
45
|
+
...obj,
|
|
46
|
+
});
|
|
47
|
+
})(ListThingTypesRequest = exports.ListThingTypesRequest || (exports.ListThingTypesRequest = {}));
|
|
6
48
|
var ThingTypeDefinition;
|
|
7
49
|
(function (ThingTypeDefinition) {
|
|
8
50
|
ThingTypeDefinition.filterSensitiveLog = (obj) => ({
|
|
@@ -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.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
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");
|
|
@@ -855,6 +855,10 @@ const serializeAws_restJson1CreateJobCommand = async (input, context) => {
|
|
|
855
855
|
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) }),
|
|
856
856
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
857
857
|
...(input.document !== undefined && input.document !== null && { document: input.document }),
|
|
858
|
+
...(input.documentParameters !== undefined &&
|
|
859
|
+
input.documentParameters !== null && {
|
|
860
|
+
documentParameters: serializeAws_restJson1ParameterMap(input.documentParameters, context),
|
|
861
|
+
}),
|
|
858
862
|
...(input.documentSource !== undefined &&
|
|
859
863
|
input.documentSource !== null && { documentSource: input.documentSource }),
|
|
860
864
|
...(input.jobExecutionsRolloutConfig !== undefined &&
|
|
@@ -2995,6 +2999,36 @@ const serializeAws_restJson1DescribeJobTemplateCommand = async (input, context)
|
|
|
2995
2999
|
});
|
|
2996
3000
|
};
|
|
2997
3001
|
exports.serializeAws_restJson1DescribeJobTemplateCommand = serializeAws_restJson1DescribeJobTemplateCommand;
|
|
3002
|
+
const serializeAws_restJson1DescribeManagedJobTemplateCommand = async (input, context) => {
|
|
3003
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3004
|
+
const headers = {};
|
|
3005
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/managed-job-templates/{templateName}";
|
|
3006
|
+
if (input.templateName !== undefined) {
|
|
3007
|
+
const labelValue = input.templateName;
|
|
3008
|
+
if (labelValue.length <= 0) {
|
|
3009
|
+
throw new Error("Empty value provided for input HTTP label: templateName.");
|
|
3010
|
+
}
|
|
3011
|
+
resolvedPath = resolvedPath.replace("{templateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3012
|
+
}
|
|
3013
|
+
else {
|
|
3014
|
+
throw new Error("No value provided for input HTTP label: templateName.");
|
|
3015
|
+
}
|
|
3016
|
+
const query = {
|
|
3017
|
+
...(input.templateVersion !== undefined && { templateVersion: input.templateVersion }),
|
|
3018
|
+
};
|
|
3019
|
+
let body;
|
|
3020
|
+
return new protocol_http_1.HttpRequest({
|
|
3021
|
+
protocol,
|
|
3022
|
+
hostname,
|
|
3023
|
+
port,
|
|
3024
|
+
method: "GET",
|
|
3025
|
+
headers,
|
|
3026
|
+
path: resolvedPath,
|
|
3027
|
+
query,
|
|
3028
|
+
body,
|
|
3029
|
+
});
|
|
3030
|
+
};
|
|
3031
|
+
exports.serializeAws_restJson1DescribeManagedJobTemplateCommand = serializeAws_restJson1DescribeManagedJobTemplateCommand;
|
|
2998
3032
|
const serializeAws_restJson1DescribeMitigationActionCommand = async (input, context) => {
|
|
2999
3033
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3000
3034
|
const headers = {};
|
|
@@ -4448,6 +4482,28 @@ const serializeAws_restJson1ListJobTemplatesCommand = async (input, context) =>
|
|
|
4448
4482
|
});
|
|
4449
4483
|
};
|
|
4450
4484
|
exports.serializeAws_restJson1ListJobTemplatesCommand = serializeAws_restJson1ListJobTemplatesCommand;
|
|
4485
|
+
const serializeAws_restJson1ListManagedJobTemplatesCommand = async (input, context) => {
|
|
4486
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4487
|
+
const headers = {};
|
|
4488
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/managed-job-templates";
|
|
4489
|
+
const query = {
|
|
4490
|
+
...(input.templateName !== undefined && { templateName: input.templateName }),
|
|
4491
|
+
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
4492
|
+
...(input.nextToken !== undefined && { nextToken: input.nextToken }),
|
|
4493
|
+
};
|
|
4494
|
+
let body;
|
|
4495
|
+
return new protocol_http_1.HttpRequest({
|
|
4496
|
+
protocol,
|
|
4497
|
+
hostname,
|
|
4498
|
+
port,
|
|
4499
|
+
method: "GET",
|
|
4500
|
+
headers,
|
|
4501
|
+
path: resolvedPath,
|
|
4502
|
+
query,
|
|
4503
|
+
body,
|
|
4504
|
+
});
|
|
4505
|
+
};
|
|
4506
|
+
exports.serializeAws_restJson1ListManagedJobTemplatesCommand = serializeAws_restJson1ListManagedJobTemplatesCommand;
|
|
4451
4507
|
const serializeAws_restJson1ListMitigationActionsCommand = async (input, context) => {
|
|
4452
4508
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4453
4509
|
const headers = {};
|
|
@@ -15217,6 +15273,102 @@ const deserializeAws_restJson1DescribeJobTemplateCommandError = async (output, c
|
|
|
15217
15273
|
delete response.Message;
|
|
15218
15274
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
15219
15275
|
};
|
|
15276
|
+
const deserializeAws_restJson1DescribeManagedJobTemplateCommand = async (output, context) => {
|
|
15277
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15278
|
+
return deserializeAws_restJson1DescribeManagedJobTemplateCommandError(output, context);
|
|
15279
|
+
}
|
|
15280
|
+
const contents = {
|
|
15281
|
+
$metadata: deserializeMetadata(output),
|
|
15282
|
+
description: undefined,
|
|
15283
|
+
document: undefined,
|
|
15284
|
+
documentParameters: undefined,
|
|
15285
|
+
environments: undefined,
|
|
15286
|
+
templateArn: undefined,
|
|
15287
|
+
templateName: undefined,
|
|
15288
|
+
templateVersion: undefined,
|
|
15289
|
+
};
|
|
15290
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
15291
|
+
if (data.description !== undefined && data.description !== null) {
|
|
15292
|
+
contents.description = smithy_client_1.expectString(data.description);
|
|
15293
|
+
}
|
|
15294
|
+
if (data.document !== undefined && data.document !== null) {
|
|
15295
|
+
contents.document = smithy_client_1.expectString(data.document);
|
|
15296
|
+
}
|
|
15297
|
+
if (data.documentParameters !== undefined && data.documentParameters !== null) {
|
|
15298
|
+
contents.documentParameters = deserializeAws_restJson1DocumentParameters(data.documentParameters, context);
|
|
15299
|
+
}
|
|
15300
|
+
if (data.environments !== undefined && data.environments !== null) {
|
|
15301
|
+
contents.environments = deserializeAws_restJson1Environments(data.environments, context);
|
|
15302
|
+
}
|
|
15303
|
+
if (data.templateArn !== undefined && data.templateArn !== null) {
|
|
15304
|
+
contents.templateArn = smithy_client_1.expectString(data.templateArn);
|
|
15305
|
+
}
|
|
15306
|
+
if (data.templateName !== undefined && data.templateName !== null) {
|
|
15307
|
+
contents.templateName = smithy_client_1.expectString(data.templateName);
|
|
15308
|
+
}
|
|
15309
|
+
if (data.templateVersion !== undefined && data.templateVersion !== null) {
|
|
15310
|
+
contents.templateVersion = smithy_client_1.expectString(data.templateVersion);
|
|
15311
|
+
}
|
|
15312
|
+
return Promise.resolve(contents);
|
|
15313
|
+
};
|
|
15314
|
+
exports.deserializeAws_restJson1DescribeManagedJobTemplateCommand = deserializeAws_restJson1DescribeManagedJobTemplateCommand;
|
|
15315
|
+
const deserializeAws_restJson1DescribeManagedJobTemplateCommandError = async (output, context) => {
|
|
15316
|
+
const parsedOutput = {
|
|
15317
|
+
...output,
|
|
15318
|
+
body: await parseBody(output.body, context),
|
|
15319
|
+
};
|
|
15320
|
+
let response;
|
|
15321
|
+
let errorCode = "UnknownError";
|
|
15322
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
15323
|
+
switch (errorCode) {
|
|
15324
|
+
case "InternalServerException":
|
|
15325
|
+
case "com.amazonaws.iot#InternalServerException":
|
|
15326
|
+
response = {
|
|
15327
|
+
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
|
|
15328
|
+
name: errorCode,
|
|
15329
|
+
$metadata: deserializeMetadata(output),
|
|
15330
|
+
};
|
|
15331
|
+
break;
|
|
15332
|
+
case "InvalidRequestException":
|
|
15333
|
+
case "com.amazonaws.iot#InvalidRequestException":
|
|
15334
|
+
response = {
|
|
15335
|
+
...(await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
15336
|
+
name: errorCode,
|
|
15337
|
+
$metadata: deserializeMetadata(output),
|
|
15338
|
+
};
|
|
15339
|
+
break;
|
|
15340
|
+
case "ResourceNotFoundException":
|
|
15341
|
+
case "com.amazonaws.iot#ResourceNotFoundException":
|
|
15342
|
+
response = {
|
|
15343
|
+
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
15344
|
+
name: errorCode,
|
|
15345
|
+
$metadata: deserializeMetadata(output),
|
|
15346
|
+
};
|
|
15347
|
+
break;
|
|
15348
|
+
case "ThrottlingException":
|
|
15349
|
+
case "com.amazonaws.iot#ThrottlingException":
|
|
15350
|
+
response = {
|
|
15351
|
+
...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
|
|
15352
|
+
name: errorCode,
|
|
15353
|
+
$metadata: deserializeMetadata(output),
|
|
15354
|
+
};
|
|
15355
|
+
break;
|
|
15356
|
+
default:
|
|
15357
|
+
const parsedBody = parsedOutput.body;
|
|
15358
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
15359
|
+
response = {
|
|
15360
|
+
...parsedBody,
|
|
15361
|
+
name: `${errorCode}`,
|
|
15362
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
15363
|
+
$fault: "client",
|
|
15364
|
+
$metadata: deserializeMetadata(output),
|
|
15365
|
+
};
|
|
15366
|
+
}
|
|
15367
|
+
const message = response.message || response.Message || errorCode;
|
|
15368
|
+
response.message = message;
|
|
15369
|
+
delete response.Message;
|
|
15370
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
15371
|
+
};
|
|
15220
15372
|
const deserializeAws_restJson1DescribeMitigationActionCommand = async (output, context) => {
|
|
15221
15373
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15222
15374
|
return deserializeAws_restJson1DescribeMitigationActionCommandError(output, context);
|
|
@@ -20037,6 +20189,82 @@ const deserializeAws_restJson1ListJobTemplatesCommandError = async (output, cont
|
|
|
20037
20189
|
delete response.Message;
|
|
20038
20190
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
20039
20191
|
};
|
|
20192
|
+
const deserializeAws_restJson1ListManagedJobTemplatesCommand = async (output, context) => {
|
|
20193
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
20194
|
+
return deserializeAws_restJson1ListManagedJobTemplatesCommandError(output, context);
|
|
20195
|
+
}
|
|
20196
|
+
const contents = {
|
|
20197
|
+
$metadata: deserializeMetadata(output),
|
|
20198
|
+
managedJobTemplates: undefined,
|
|
20199
|
+
nextToken: undefined,
|
|
20200
|
+
};
|
|
20201
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
20202
|
+
if (data.managedJobTemplates !== undefined && data.managedJobTemplates !== null) {
|
|
20203
|
+
contents.managedJobTemplates = deserializeAws_restJson1ManagedJobTemplatesSummaryList(data.managedJobTemplates, context);
|
|
20204
|
+
}
|
|
20205
|
+
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
20206
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
20207
|
+
}
|
|
20208
|
+
return Promise.resolve(contents);
|
|
20209
|
+
};
|
|
20210
|
+
exports.deserializeAws_restJson1ListManagedJobTemplatesCommand = deserializeAws_restJson1ListManagedJobTemplatesCommand;
|
|
20211
|
+
const deserializeAws_restJson1ListManagedJobTemplatesCommandError = async (output, context) => {
|
|
20212
|
+
const parsedOutput = {
|
|
20213
|
+
...output,
|
|
20214
|
+
body: await parseBody(output.body, context),
|
|
20215
|
+
};
|
|
20216
|
+
let response;
|
|
20217
|
+
let errorCode = "UnknownError";
|
|
20218
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
20219
|
+
switch (errorCode) {
|
|
20220
|
+
case "InternalServerException":
|
|
20221
|
+
case "com.amazonaws.iot#InternalServerException":
|
|
20222
|
+
response = {
|
|
20223
|
+
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
|
|
20224
|
+
name: errorCode,
|
|
20225
|
+
$metadata: deserializeMetadata(output),
|
|
20226
|
+
};
|
|
20227
|
+
break;
|
|
20228
|
+
case "InvalidRequestException":
|
|
20229
|
+
case "com.amazonaws.iot#InvalidRequestException":
|
|
20230
|
+
response = {
|
|
20231
|
+
...(await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
20232
|
+
name: errorCode,
|
|
20233
|
+
$metadata: deserializeMetadata(output),
|
|
20234
|
+
};
|
|
20235
|
+
break;
|
|
20236
|
+
case "ResourceNotFoundException":
|
|
20237
|
+
case "com.amazonaws.iot#ResourceNotFoundException":
|
|
20238
|
+
response = {
|
|
20239
|
+
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
20240
|
+
name: errorCode,
|
|
20241
|
+
$metadata: deserializeMetadata(output),
|
|
20242
|
+
};
|
|
20243
|
+
break;
|
|
20244
|
+
case "ThrottlingException":
|
|
20245
|
+
case "com.amazonaws.iot#ThrottlingException":
|
|
20246
|
+
response = {
|
|
20247
|
+
...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
|
|
20248
|
+
name: errorCode,
|
|
20249
|
+
$metadata: deserializeMetadata(output),
|
|
20250
|
+
};
|
|
20251
|
+
break;
|
|
20252
|
+
default:
|
|
20253
|
+
const parsedBody = parsedOutput.body;
|
|
20254
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
20255
|
+
response = {
|
|
20256
|
+
...parsedBody,
|
|
20257
|
+
name: `${errorCode}`,
|
|
20258
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
20259
|
+
$fault: "client",
|
|
20260
|
+
$metadata: deserializeMetadata(output),
|
|
20261
|
+
};
|
|
20262
|
+
}
|
|
20263
|
+
const message = response.message || response.Message || errorCode;
|
|
20264
|
+
response.message = message;
|
|
20265
|
+
delete response.Message;
|
|
20266
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
20267
|
+
};
|
|
20040
20268
|
const deserializeAws_restJson1ListMitigationActionsCommand = async (output, context) => {
|
|
20041
20269
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
20042
20270
|
return deserializeAws_restJson1ListMitigationActionsCommandError(output, context);
|
|
@@ -26878,6 +27106,19 @@ const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOu
|
|
|
26878
27106
|
}
|
|
26879
27107
|
return contents;
|
|
26880
27108
|
};
|
|
27109
|
+
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
27110
|
+
const contents = {
|
|
27111
|
+
name: "InternalServerException",
|
|
27112
|
+
$fault: "server",
|
|
27113
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
27114
|
+
message: undefined,
|
|
27115
|
+
};
|
|
27116
|
+
const data = parsedOutput.body;
|
|
27117
|
+
if (data.message !== undefined && data.message !== null) {
|
|
27118
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
27119
|
+
}
|
|
27120
|
+
return contents;
|
|
27121
|
+
};
|
|
26881
27122
|
const deserializeAws_restJson1InvalidAggregationExceptionResponse = async (parsedOutput, context) => {
|
|
26882
27123
|
const contents = {
|
|
26883
27124
|
name: "InvalidAggregationException",
|
|
@@ -28129,6 +28370,17 @@ const serializeAws_restJson1OTAUpdateFiles = (input, context) => {
|
|
|
28129
28370
|
return serializeAws_restJson1OTAUpdateFile(entry, context);
|
|
28130
28371
|
});
|
|
28131
28372
|
};
|
|
28373
|
+
const serializeAws_restJson1ParameterMap = (input, context) => {
|
|
28374
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
28375
|
+
if (value === null) {
|
|
28376
|
+
return acc;
|
|
28377
|
+
}
|
|
28378
|
+
return {
|
|
28379
|
+
...acc,
|
|
28380
|
+
[key]: value,
|
|
28381
|
+
};
|
|
28382
|
+
}, {});
|
|
28383
|
+
};
|
|
28132
28384
|
const serializeAws_restJson1Parameters = (input, context) => {
|
|
28133
28385
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
28134
28386
|
if (value === null) {
|
|
@@ -29715,6 +29967,25 @@ const deserializeAws_restJson1DimensionStringValues = (output, context) => {
|
|
|
29715
29967
|
return smithy_client_1.expectString(entry);
|
|
29716
29968
|
});
|
|
29717
29969
|
};
|
|
29970
|
+
const deserializeAws_restJson1DocumentParameter = (output, context) => {
|
|
29971
|
+
return {
|
|
29972
|
+
description: smithy_client_1.expectString(output.description),
|
|
29973
|
+
example: smithy_client_1.expectString(output.example),
|
|
29974
|
+
key: smithy_client_1.expectString(output.key),
|
|
29975
|
+
optional: smithy_client_1.expectBoolean(output.optional),
|
|
29976
|
+
regex: smithy_client_1.expectString(output.regex),
|
|
29977
|
+
};
|
|
29978
|
+
};
|
|
29979
|
+
const deserializeAws_restJson1DocumentParameters = (output, context) => {
|
|
29980
|
+
return (output || [])
|
|
29981
|
+
.filter((e) => e != null)
|
|
29982
|
+
.map((entry) => {
|
|
29983
|
+
if (entry === null) {
|
|
29984
|
+
return null;
|
|
29985
|
+
}
|
|
29986
|
+
return deserializeAws_restJson1DocumentParameter(entry, context);
|
|
29987
|
+
});
|
|
29988
|
+
};
|
|
29718
29989
|
const deserializeAws_restJson1DomainConfigurations = (output, context) => {
|
|
29719
29990
|
return (output || [])
|
|
29720
29991
|
.filter((e) => e != null)
|
|
@@ -29786,6 +30057,16 @@ const deserializeAws_restJson1EnableIoTLoggingParams = (output, context) => {
|
|
|
29786
30057
|
roleArnForLogging: smithy_client_1.expectString(output.roleArnForLogging),
|
|
29787
30058
|
};
|
|
29788
30059
|
};
|
|
30060
|
+
const deserializeAws_restJson1Environments = (output, context) => {
|
|
30061
|
+
return (output || [])
|
|
30062
|
+
.filter((e) => e != null)
|
|
30063
|
+
.map((entry) => {
|
|
30064
|
+
if (entry === null) {
|
|
30065
|
+
return null;
|
|
30066
|
+
}
|
|
30067
|
+
return smithy_client_1.expectString(entry);
|
|
30068
|
+
});
|
|
30069
|
+
};
|
|
29789
30070
|
const deserializeAws_restJson1ErrorInfo = (output, context) => {
|
|
29790
30071
|
return {
|
|
29791
30072
|
code: smithy_client_1.expectString(output.code),
|
|
@@ -29984,6 +30265,9 @@ const deserializeAws_restJson1Job = (output, context) => {
|
|
|
29984
30265
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
29985
30266
|
: undefined,
|
|
29986
30267
|
description: smithy_client_1.expectString(output.description),
|
|
30268
|
+
documentParameters: output.documentParameters !== undefined && output.documentParameters !== null
|
|
30269
|
+
? deserializeAws_restJson1ParameterMap(output.documentParameters, context)
|
|
30270
|
+
: undefined,
|
|
29987
30271
|
forceCanceled: smithy_client_1.expectBoolean(output.forceCanceled),
|
|
29988
30272
|
jobArn: smithy_client_1.expectString(output.jobArn),
|
|
29989
30273
|
jobExecutionsRolloutConfig: output.jobExecutionsRolloutConfig !== undefined && output.jobExecutionsRolloutConfig !== null
|
|
@@ -30232,6 +30516,27 @@ const deserializeAws_restJson1MachineLearningDetectionConfig = (output, context)
|
|
|
30232
30516
|
confidenceLevel: smithy_client_1.expectString(output.confidenceLevel),
|
|
30233
30517
|
};
|
|
30234
30518
|
};
|
|
30519
|
+
const deserializeAws_restJson1ManagedJobTemplatesSummaryList = (output, context) => {
|
|
30520
|
+
return (output || [])
|
|
30521
|
+
.filter((e) => e != null)
|
|
30522
|
+
.map((entry) => {
|
|
30523
|
+
if (entry === null) {
|
|
30524
|
+
return null;
|
|
30525
|
+
}
|
|
30526
|
+
return deserializeAws_restJson1ManagedJobTemplateSummary(entry, context);
|
|
30527
|
+
});
|
|
30528
|
+
};
|
|
30529
|
+
const deserializeAws_restJson1ManagedJobTemplateSummary = (output, context) => {
|
|
30530
|
+
return {
|
|
30531
|
+
description: smithy_client_1.expectString(output.description),
|
|
30532
|
+
environments: output.environments !== undefined && output.environments !== null
|
|
30533
|
+
? deserializeAws_restJson1Environments(output.environments, context)
|
|
30534
|
+
: undefined,
|
|
30535
|
+
templateArn: smithy_client_1.expectString(output.templateArn),
|
|
30536
|
+
templateName: smithy_client_1.expectString(output.templateName),
|
|
30537
|
+
templateVersion: smithy_client_1.expectString(output.templateVersion),
|
|
30538
|
+
};
|
|
30539
|
+
};
|
|
30235
30540
|
const deserializeAws_restJson1MetricDimension = (output, context) => {
|
|
30236
30541
|
return {
|
|
30237
30542
|
dimensionName: smithy_client_1.expectString(output.dimensionName),
|
|
@@ -30492,6 +30797,17 @@ const deserializeAws_restJson1OutgoingCertificates = (output, context) => {
|
|
|
30492
30797
|
return deserializeAws_restJson1OutgoingCertificate(entry, context);
|
|
30493
30798
|
});
|
|
30494
30799
|
};
|
|
30800
|
+
const deserializeAws_restJson1ParameterMap = (output, context) => {
|
|
30801
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
30802
|
+
if (value === null) {
|
|
30803
|
+
return acc;
|
|
30804
|
+
}
|
|
30805
|
+
return {
|
|
30806
|
+
...acc,
|
|
30807
|
+
[key]: smithy_client_1.expectString(value),
|
|
30808
|
+
};
|
|
30809
|
+
}, {});
|
|
30810
|
+
};
|
|
30495
30811
|
const deserializeAws_restJson1Percentiles = (output, context) => {
|
|
30496
30812
|
return (output || [])
|
|
30497
30813
|
.filter((e) => e != null)
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|