@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
|
@@ -878,8 +878,11 @@ export var serializeAws_restJson1CreateJobCommand = function (input, context) {
|
|
|
878
878
|
else {
|
|
879
879
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
880
880
|
}
|
|
881
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
882
|
-
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.
|
|
881
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
882
|
+
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentParameters !== undefined &&
|
|
883
|
+
input.documentParameters !== null && {
|
|
884
|
+
documentParameters: serializeAws_restJson1ParameterMap(input.documentParameters, context),
|
|
885
|
+
})), (input.documentSource !== undefined &&
|
|
883
886
|
input.documentSource !== null && { documentSource: input.documentSource })), (input.jobExecutionsRolloutConfig !== undefined &&
|
|
884
887
|
input.jobExecutionsRolloutConfig !== null && {
|
|
885
888
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
@@ -3240,6 +3243,39 @@ export var serializeAws_restJson1DescribeJobTemplateCommand = function (input, c
|
|
|
3240
3243
|
}
|
|
3241
3244
|
});
|
|
3242
3245
|
}); };
|
|
3246
|
+
export var serializeAws_restJson1DescribeManagedJobTemplateCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3247
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
3248
|
+
return __generator(this, function (_c) {
|
|
3249
|
+
switch (_c.label) {
|
|
3250
|
+
case 0: return [4, context.endpoint()];
|
|
3251
|
+
case 1:
|
|
3252
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3253
|
+
headers = {};
|
|
3254
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/managed-job-templates/{templateName}";
|
|
3255
|
+
if (input.templateName !== undefined) {
|
|
3256
|
+
labelValue = input.templateName;
|
|
3257
|
+
if (labelValue.length <= 0) {
|
|
3258
|
+
throw new Error("Empty value provided for input HTTP label: templateName.");
|
|
3259
|
+
}
|
|
3260
|
+
resolvedPath = resolvedPath.replace("{templateName}", __extendedEncodeURIComponent(labelValue));
|
|
3261
|
+
}
|
|
3262
|
+
else {
|
|
3263
|
+
throw new Error("No value provided for input HTTP label: templateName.");
|
|
3264
|
+
}
|
|
3265
|
+
query = __assign({}, (input.templateVersion !== undefined && { templateVersion: input.templateVersion }));
|
|
3266
|
+
return [2, new __HttpRequest({
|
|
3267
|
+
protocol: protocol,
|
|
3268
|
+
hostname: hostname,
|
|
3269
|
+
port: port,
|
|
3270
|
+
method: "GET",
|
|
3271
|
+
headers: headers,
|
|
3272
|
+
path: resolvedPath,
|
|
3273
|
+
query: query,
|
|
3274
|
+
body: body,
|
|
3275
|
+
})];
|
|
3276
|
+
}
|
|
3277
|
+
});
|
|
3278
|
+
}); };
|
|
3243
3279
|
export var serializeAws_restJson1DescribeMitigationActionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3244
3280
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
3245
3281
|
return __generator(this, function (_c) {
|
|
@@ -4816,6 +4852,29 @@ export var serializeAws_restJson1ListJobTemplatesCommand = function (input, cont
|
|
|
4816
4852
|
}
|
|
4817
4853
|
});
|
|
4818
4854
|
}); };
|
|
4855
|
+
export var serializeAws_restJson1ListManagedJobTemplatesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4856
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
4857
|
+
return __generator(this, function (_c) {
|
|
4858
|
+
switch (_c.label) {
|
|
4859
|
+
case 0: return [4, context.endpoint()];
|
|
4860
|
+
case 1:
|
|
4861
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4862
|
+
headers = {};
|
|
4863
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/managed-job-templates";
|
|
4864
|
+
query = __assign(__assign(__assign({}, (input.templateName !== undefined && { templateName: input.templateName })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
4865
|
+
return [2, new __HttpRequest({
|
|
4866
|
+
protocol: protocol,
|
|
4867
|
+
hostname: hostname,
|
|
4868
|
+
port: port,
|
|
4869
|
+
method: "GET",
|
|
4870
|
+
headers: headers,
|
|
4871
|
+
path: resolvedPath,
|
|
4872
|
+
query: query,
|
|
4873
|
+
body: body,
|
|
4874
|
+
})];
|
|
4875
|
+
}
|
|
4876
|
+
});
|
|
4877
|
+
}); };
|
|
4819
4878
|
export var serializeAws_restJson1ListMitigationActionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4820
4879
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
4821
4880
|
return __generator(this, function (_c) {
|
|
@@ -16917,6 +16976,116 @@ var deserializeAws_restJson1DescribeJobTemplateCommandError = function (output,
|
|
|
16917
16976
|
}
|
|
16918
16977
|
});
|
|
16919
16978
|
}); };
|
|
16979
|
+
export var deserializeAws_restJson1DescribeManagedJobTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16980
|
+
var contents, data, _a, _b;
|
|
16981
|
+
return __generator(this, function (_c) {
|
|
16982
|
+
switch (_c.label) {
|
|
16983
|
+
case 0:
|
|
16984
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
16985
|
+
return [2, deserializeAws_restJson1DescribeManagedJobTemplateCommandError(output, context)];
|
|
16986
|
+
}
|
|
16987
|
+
contents = {
|
|
16988
|
+
$metadata: deserializeMetadata(output),
|
|
16989
|
+
description: undefined,
|
|
16990
|
+
document: undefined,
|
|
16991
|
+
documentParameters: undefined,
|
|
16992
|
+
environments: undefined,
|
|
16993
|
+
templateArn: undefined,
|
|
16994
|
+
templateName: undefined,
|
|
16995
|
+
templateVersion: undefined,
|
|
16996
|
+
};
|
|
16997
|
+
_a = __expectNonNull;
|
|
16998
|
+
_b = __expectObject;
|
|
16999
|
+
return [4, parseBody(output.body, context)];
|
|
17000
|
+
case 1:
|
|
17001
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
17002
|
+
if (data.description !== undefined && data.description !== null) {
|
|
17003
|
+
contents.description = __expectString(data.description);
|
|
17004
|
+
}
|
|
17005
|
+
if (data.document !== undefined && data.document !== null) {
|
|
17006
|
+
contents.document = __expectString(data.document);
|
|
17007
|
+
}
|
|
17008
|
+
if (data.documentParameters !== undefined && data.documentParameters !== null) {
|
|
17009
|
+
contents.documentParameters = deserializeAws_restJson1DocumentParameters(data.documentParameters, context);
|
|
17010
|
+
}
|
|
17011
|
+
if (data.environments !== undefined && data.environments !== null) {
|
|
17012
|
+
contents.environments = deserializeAws_restJson1Environments(data.environments, context);
|
|
17013
|
+
}
|
|
17014
|
+
if (data.templateArn !== undefined && data.templateArn !== null) {
|
|
17015
|
+
contents.templateArn = __expectString(data.templateArn);
|
|
17016
|
+
}
|
|
17017
|
+
if (data.templateName !== undefined && data.templateName !== null) {
|
|
17018
|
+
contents.templateName = __expectString(data.templateName);
|
|
17019
|
+
}
|
|
17020
|
+
if (data.templateVersion !== undefined && data.templateVersion !== null) {
|
|
17021
|
+
contents.templateVersion = __expectString(data.templateVersion);
|
|
17022
|
+
}
|
|
17023
|
+
return [2, Promise.resolve(contents)];
|
|
17024
|
+
}
|
|
17025
|
+
});
|
|
17026
|
+
}); };
|
|
17027
|
+
var deserializeAws_restJson1DescribeManagedJobTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
17028
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
|
|
17029
|
+
var _g;
|
|
17030
|
+
return __generator(this, function (_h) {
|
|
17031
|
+
switch (_h.label) {
|
|
17032
|
+
case 0:
|
|
17033
|
+
_a = [__assign({}, output)];
|
|
17034
|
+
_g = {};
|
|
17035
|
+
return [4, parseBody(output.body, context)];
|
|
17036
|
+
case 1:
|
|
17037
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
17038
|
+
errorCode = "UnknownError";
|
|
17039
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
17040
|
+
_b = errorCode;
|
|
17041
|
+
switch (_b) {
|
|
17042
|
+
case "InternalServerException": return [3, 2];
|
|
17043
|
+
case "com.amazonaws.iot#InternalServerException": return [3, 2];
|
|
17044
|
+
case "InvalidRequestException": return [3, 4];
|
|
17045
|
+
case "com.amazonaws.iot#InvalidRequestException": return [3, 4];
|
|
17046
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
17047
|
+
case "com.amazonaws.iot#ResourceNotFoundException": return [3, 6];
|
|
17048
|
+
case "ThrottlingException": return [3, 8];
|
|
17049
|
+
case "com.amazonaws.iot#ThrottlingException": return [3, 8];
|
|
17050
|
+
}
|
|
17051
|
+
return [3, 10];
|
|
17052
|
+
case 2:
|
|
17053
|
+
_c = [{}];
|
|
17054
|
+
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
17055
|
+
case 3:
|
|
17056
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
17057
|
+
return [3, 11];
|
|
17058
|
+
case 4:
|
|
17059
|
+
_d = [{}];
|
|
17060
|
+
return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
17061
|
+
case 5:
|
|
17062
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
17063
|
+
return [3, 11];
|
|
17064
|
+
case 6:
|
|
17065
|
+
_e = [{}];
|
|
17066
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
17067
|
+
case 7:
|
|
17068
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
17069
|
+
return [3, 11];
|
|
17070
|
+
case 8:
|
|
17071
|
+
_f = [{}];
|
|
17072
|
+
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
17073
|
+
case 9:
|
|
17074
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
17075
|
+
return [3, 11];
|
|
17076
|
+
case 10:
|
|
17077
|
+
parsedBody = parsedOutput.body;
|
|
17078
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
17079
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
17080
|
+
_h.label = 11;
|
|
17081
|
+
case 11:
|
|
17082
|
+
message = response.message || response.Message || errorCode;
|
|
17083
|
+
response.message = message;
|
|
17084
|
+
delete response.Message;
|
|
17085
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
17086
|
+
}
|
|
17087
|
+
});
|
|
17088
|
+
}); };
|
|
16920
17089
|
export var deserializeAws_restJson1DescribeMitigationActionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16921
17090
|
var contents, data, _a, _b;
|
|
16922
17091
|
return __generator(this, function (_c) {
|
|
@@ -22509,6 +22678,96 @@ var deserializeAws_restJson1ListJobTemplatesCommandError = function (output, con
|
|
|
22509
22678
|
}
|
|
22510
22679
|
});
|
|
22511
22680
|
}); };
|
|
22681
|
+
export var deserializeAws_restJson1ListManagedJobTemplatesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
22682
|
+
var contents, data, _a, _b;
|
|
22683
|
+
return __generator(this, function (_c) {
|
|
22684
|
+
switch (_c.label) {
|
|
22685
|
+
case 0:
|
|
22686
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
22687
|
+
return [2, deserializeAws_restJson1ListManagedJobTemplatesCommandError(output, context)];
|
|
22688
|
+
}
|
|
22689
|
+
contents = {
|
|
22690
|
+
$metadata: deserializeMetadata(output),
|
|
22691
|
+
managedJobTemplates: undefined,
|
|
22692
|
+
nextToken: undefined,
|
|
22693
|
+
};
|
|
22694
|
+
_a = __expectNonNull;
|
|
22695
|
+
_b = __expectObject;
|
|
22696
|
+
return [4, parseBody(output.body, context)];
|
|
22697
|
+
case 1:
|
|
22698
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
22699
|
+
if (data.managedJobTemplates !== undefined && data.managedJobTemplates !== null) {
|
|
22700
|
+
contents.managedJobTemplates = deserializeAws_restJson1ManagedJobTemplatesSummaryList(data.managedJobTemplates, context);
|
|
22701
|
+
}
|
|
22702
|
+
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
22703
|
+
contents.nextToken = __expectString(data.nextToken);
|
|
22704
|
+
}
|
|
22705
|
+
return [2, Promise.resolve(contents)];
|
|
22706
|
+
}
|
|
22707
|
+
});
|
|
22708
|
+
}); };
|
|
22709
|
+
var deserializeAws_restJson1ListManagedJobTemplatesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
22710
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
|
|
22711
|
+
var _g;
|
|
22712
|
+
return __generator(this, function (_h) {
|
|
22713
|
+
switch (_h.label) {
|
|
22714
|
+
case 0:
|
|
22715
|
+
_a = [__assign({}, output)];
|
|
22716
|
+
_g = {};
|
|
22717
|
+
return [4, parseBody(output.body, context)];
|
|
22718
|
+
case 1:
|
|
22719
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
22720
|
+
errorCode = "UnknownError";
|
|
22721
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
22722
|
+
_b = errorCode;
|
|
22723
|
+
switch (_b) {
|
|
22724
|
+
case "InternalServerException": return [3, 2];
|
|
22725
|
+
case "com.amazonaws.iot#InternalServerException": return [3, 2];
|
|
22726
|
+
case "InvalidRequestException": return [3, 4];
|
|
22727
|
+
case "com.amazonaws.iot#InvalidRequestException": return [3, 4];
|
|
22728
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
22729
|
+
case "com.amazonaws.iot#ResourceNotFoundException": return [3, 6];
|
|
22730
|
+
case "ThrottlingException": return [3, 8];
|
|
22731
|
+
case "com.amazonaws.iot#ThrottlingException": return [3, 8];
|
|
22732
|
+
}
|
|
22733
|
+
return [3, 10];
|
|
22734
|
+
case 2:
|
|
22735
|
+
_c = [{}];
|
|
22736
|
+
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
22737
|
+
case 3:
|
|
22738
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
22739
|
+
return [3, 11];
|
|
22740
|
+
case 4:
|
|
22741
|
+
_d = [{}];
|
|
22742
|
+
return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
22743
|
+
case 5:
|
|
22744
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
22745
|
+
return [3, 11];
|
|
22746
|
+
case 6:
|
|
22747
|
+
_e = [{}];
|
|
22748
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
22749
|
+
case 7:
|
|
22750
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
22751
|
+
return [3, 11];
|
|
22752
|
+
case 8:
|
|
22753
|
+
_f = [{}];
|
|
22754
|
+
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
22755
|
+
case 9:
|
|
22756
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
22757
|
+
return [3, 11];
|
|
22758
|
+
case 10:
|
|
22759
|
+
parsedBody = parsedOutput.body;
|
|
22760
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
22761
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
22762
|
+
_h.label = 11;
|
|
22763
|
+
case 11:
|
|
22764
|
+
message = response.message || response.Message || errorCode;
|
|
22765
|
+
response.message = message;
|
|
22766
|
+
delete response.Message;
|
|
22767
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
22768
|
+
}
|
|
22769
|
+
});
|
|
22770
|
+
}); };
|
|
22512
22771
|
export var deserializeAws_restJson1ListMitigationActionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
22513
22772
|
var contents, data, _a, _b;
|
|
22514
22773
|
return __generator(this, function (_c) {
|
|
@@ -30463,6 +30722,22 @@ var deserializeAws_restJson1InternalFailureExceptionResponse = function (parsedO
|
|
|
30463
30722
|
return [2, contents];
|
|
30464
30723
|
});
|
|
30465
30724
|
}); };
|
|
30725
|
+
var deserializeAws_restJson1InternalServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
30726
|
+
var contents, data;
|
|
30727
|
+
return __generator(this, function (_a) {
|
|
30728
|
+
contents = {
|
|
30729
|
+
name: "InternalServerException",
|
|
30730
|
+
$fault: "server",
|
|
30731
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
30732
|
+
message: undefined,
|
|
30733
|
+
};
|
|
30734
|
+
data = parsedOutput.body;
|
|
30735
|
+
if (data.message !== undefined && data.message !== null) {
|
|
30736
|
+
contents.message = __expectString(data.message);
|
|
30737
|
+
}
|
|
30738
|
+
return [2, contents];
|
|
30739
|
+
});
|
|
30740
|
+
}); };
|
|
30466
30741
|
var deserializeAws_restJson1InvalidAggregationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
30467
30742
|
var contents, data;
|
|
30468
30743
|
return __generator(this, function (_a) {
|
|
@@ -31498,6 +31773,16 @@ var serializeAws_restJson1OTAUpdateFiles = function (input, context) {
|
|
|
31498
31773
|
return serializeAws_restJson1OTAUpdateFile(entry, context);
|
|
31499
31774
|
});
|
|
31500
31775
|
};
|
|
31776
|
+
var serializeAws_restJson1ParameterMap = function (input, context) {
|
|
31777
|
+
return Object.entries(input).reduce(function (acc, _a) {
|
|
31778
|
+
var _b;
|
|
31779
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
31780
|
+
if (value === null) {
|
|
31781
|
+
return acc;
|
|
31782
|
+
}
|
|
31783
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
31784
|
+
}, {});
|
|
31785
|
+
};
|
|
31501
31786
|
var serializeAws_restJson1Parameters = function (input, context) {
|
|
31502
31787
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
31503
31788
|
var _b;
|
|
@@ -32925,6 +33210,25 @@ var deserializeAws_restJson1DimensionStringValues = function (output, context) {
|
|
|
32925
33210
|
return __expectString(entry);
|
|
32926
33211
|
});
|
|
32927
33212
|
};
|
|
33213
|
+
var deserializeAws_restJson1DocumentParameter = function (output, context) {
|
|
33214
|
+
return {
|
|
33215
|
+
description: __expectString(output.description),
|
|
33216
|
+
example: __expectString(output.example),
|
|
33217
|
+
key: __expectString(output.key),
|
|
33218
|
+
optional: __expectBoolean(output.optional),
|
|
33219
|
+
regex: __expectString(output.regex),
|
|
33220
|
+
};
|
|
33221
|
+
};
|
|
33222
|
+
var deserializeAws_restJson1DocumentParameters = function (output, context) {
|
|
33223
|
+
return (output || [])
|
|
33224
|
+
.filter(function (e) { return e != null; })
|
|
33225
|
+
.map(function (entry) {
|
|
33226
|
+
if (entry === null) {
|
|
33227
|
+
return null;
|
|
33228
|
+
}
|
|
33229
|
+
return deserializeAws_restJson1DocumentParameter(entry, context);
|
|
33230
|
+
});
|
|
33231
|
+
};
|
|
32928
33232
|
var deserializeAws_restJson1DomainConfigurations = function (output, context) {
|
|
32929
33233
|
return (output || [])
|
|
32930
33234
|
.filter(function (e) { return e != null; })
|
|
@@ -32996,6 +33300,16 @@ var deserializeAws_restJson1EnableIoTLoggingParams = function (output, context)
|
|
|
32996
33300
|
roleArnForLogging: __expectString(output.roleArnForLogging),
|
|
32997
33301
|
};
|
|
32998
33302
|
};
|
|
33303
|
+
var deserializeAws_restJson1Environments = function (output, context) {
|
|
33304
|
+
return (output || [])
|
|
33305
|
+
.filter(function (e) { return e != null; })
|
|
33306
|
+
.map(function (entry) {
|
|
33307
|
+
if (entry === null) {
|
|
33308
|
+
return null;
|
|
33309
|
+
}
|
|
33310
|
+
return __expectString(entry);
|
|
33311
|
+
});
|
|
33312
|
+
};
|
|
32999
33313
|
var deserializeAws_restJson1ErrorInfo = function (output, context) {
|
|
33000
33314
|
return {
|
|
33001
33315
|
code: __expectString(output.code),
|
|
@@ -33193,6 +33507,9 @@ var deserializeAws_restJson1Job = function (output, context) {
|
|
|
33193
33507
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
33194
33508
|
: undefined,
|
|
33195
33509
|
description: __expectString(output.description),
|
|
33510
|
+
documentParameters: output.documentParameters !== undefined && output.documentParameters !== null
|
|
33511
|
+
? deserializeAws_restJson1ParameterMap(output.documentParameters, context)
|
|
33512
|
+
: undefined,
|
|
33196
33513
|
forceCanceled: __expectBoolean(output.forceCanceled),
|
|
33197
33514
|
jobArn: __expectString(output.jobArn),
|
|
33198
33515
|
jobExecutionsRolloutConfig: output.jobExecutionsRolloutConfig !== undefined && output.jobExecutionsRolloutConfig !== null
|
|
@@ -33441,6 +33758,27 @@ var deserializeAws_restJson1MachineLearningDetectionConfig = function (output, c
|
|
|
33441
33758
|
confidenceLevel: __expectString(output.confidenceLevel),
|
|
33442
33759
|
};
|
|
33443
33760
|
};
|
|
33761
|
+
var deserializeAws_restJson1ManagedJobTemplatesSummaryList = function (output, context) {
|
|
33762
|
+
return (output || [])
|
|
33763
|
+
.filter(function (e) { return e != null; })
|
|
33764
|
+
.map(function (entry) {
|
|
33765
|
+
if (entry === null) {
|
|
33766
|
+
return null;
|
|
33767
|
+
}
|
|
33768
|
+
return deserializeAws_restJson1ManagedJobTemplateSummary(entry, context);
|
|
33769
|
+
});
|
|
33770
|
+
};
|
|
33771
|
+
var deserializeAws_restJson1ManagedJobTemplateSummary = function (output, context) {
|
|
33772
|
+
return {
|
|
33773
|
+
description: __expectString(output.description),
|
|
33774
|
+
environments: output.environments !== undefined && output.environments !== null
|
|
33775
|
+
? deserializeAws_restJson1Environments(output.environments, context)
|
|
33776
|
+
: undefined,
|
|
33777
|
+
templateArn: __expectString(output.templateArn),
|
|
33778
|
+
templateName: __expectString(output.templateName),
|
|
33779
|
+
templateVersion: __expectString(output.templateVersion),
|
|
33780
|
+
};
|
|
33781
|
+
};
|
|
33444
33782
|
var deserializeAws_restJson1MetricDimension = function (output, context) {
|
|
33445
33783
|
return {
|
|
33446
33784
|
dimensionName: __expectString(output.dimensionName),
|
|
@@ -33701,6 +34039,16 @@ var deserializeAws_restJson1OutgoingCertificates = function (output, context) {
|
|
|
33701
34039
|
return deserializeAws_restJson1OutgoingCertificate(entry, context);
|
|
33702
34040
|
});
|
|
33703
34041
|
};
|
|
34042
|
+
var deserializeAws_restJson1ParameterMap = function (output, context) {
|
|
34043
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
34044
|
+
var _b;
|
|
34045
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
34046
|
+
if (value === null) {
|
|
34047
|
+
return acc;
|
|
34048
|
+
}
|
|
34049
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
34050
|
+
}, {});
|
|
34051
|
+
};
|
|
33704
34052
|
var deserializeAws_restJson1Percentiles = function (output, context) {
|
|
33705
34053
|
return (output || [])
|
|
33706
34054
|
.filter(function (e) { return e != null; })
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
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;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
21
|
};
|
package/dist-types/IoT.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "./command
|
|
|
96
96
|
import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand";
|
|
97
97
|
import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
|
|
98
98
|
import { DescribeJobTemplateCommandInput, DescribeJobTemplateCommandOutput } from "./commands/DescribeJobTemplateCommand";
|
|
99
|
+
import { DescribeManagedJobTemplateCommandInput, DescribeManagedJobTemplateCommandOutput } from "./commands/DescribeManagedJobTemplateCommand";
|
|
99
100
|
import { DescribeMitigationActionCommandInput, DescribeMitigationActionCommandOutput } from "./commands/DescribeMitigationActionCommand";
|
|
100
101
|
import { DescribeProvisioningTemplateCommandInput, DescribeProvisioningTemplateCommandOutput } from "./commands/DescribeProvisioningTemplateCommand";
|
|
101
102
|
import { DescribeProvisioningTemplateVersionCommandInput, DescribeProvisioningTemplateVersionCommandOutput } from "./commands/DescribeProvisioningTemplateVersionCommand";
|
|
@@ -152,6 +153,7 @@ import { ListJobExecutionsForJobCommandInput, ListJobExecutionsForJobCommandOutp
|
|
|
152
153
|
import { ListJobExecutionsForThingCommandInput, ListJobExecutionsForThingCommandOutput } from "./commands/ListJobExecutionsForThingCommand";
|
|
153
154
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
154
155
|
import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "./commands/ListJobTemplatesCommand";
|
|
156
|
+
import { ListManagedJobTemplatesCommandInput, ListManagedJobTemplatesCommandOutput } from "./commands/ListManagedJobTemplatesCommand";
|
|
155
157
|
import { ListMitigationActionsCommandInput, ListMitigationActionsCommandOutput } from "./commands/ListMitigationActionsCommand";
|
|
156
158
|
import { ListOTAUpdatesCommandInput, ListOTAUpdatesCommandOutput } from "./commands/ListOTAUpdatesCommand";
|
|
157
159
|
import { ListOutgoingCertificatesCommandInput, ListOutgoingCertificatesCommandOutput } from "./commands/ListOutgoingCertificatesCommand";
|
|
@@ -431,8 +433,9 @@ export declare class IoT extends IoTClient {
|
|
|
431
433
|
* request.</p>
|
|
432
434
|
* <p>
|
|
433
435
|
* <b>Note:</b> The CSR must include a public key that is either an
|
|
434
|
-
* RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-
|
|
435
|
-
* curves.
|
|
436
|
+
* RSA key with a length of at least 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-512
|
|
437
|
+
* curves. For supported certificates, consult <a href="https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms">
|
|
438
|
+
* Certificate signing algorithms supported by IoT</a>.</p>
|
|
436
439
|
* <p>
|
|
437
440
|
* <b>Note:</b> Reusing the same certificate signing request (CSR)
|
|
438
441
|
* results in a distinct certificate.</p>
|
|
@@ -1091,6 +1094,12 @@ export declare class IoT extends IoTClient {
|
|
|
1091
1094
|
describeJobTemplate(args: DescribeJobTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobTemplateCommandOutput>;
|
|
1092
1095
|
describeJobTemplate(args: DescribeJobTemplateCommandInput, cb: (err: any, data?: DescribeJobTemplateCommandOutput) => void): void;
|
|
1093
1096
|
describeJobTemplate(args: DescribeJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobTemplateCommandOutput) => void): void;
|
|
1097
|
+
/**
|
|
1098
|
+
* <p>View details of a managed job template.</p>
|
|
1099
|
+
*/
|
|
1100
|
+
describeManagedJobTemplate(args: DescribeManagedJobTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeManagedJobTemplateCommandOutput>;
|
|
1101
|
+
describeManagedJobTemplate(args: DescribeManagedJobTemplateCommandInput, cb: (err: any, data?: DescribeManagedJobTemplateCommandOutput) => void): void;
|
|
1102
|
+
describeManagedJobTemplate(args: DescribeManagedJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeManagedJobTemplateCommandOutput) => void): void;
|
|
1094
1103
|
/**
|
|
1095
1104
|
* <p>Gets information about a mitigation action.</p>
|
|
1096
1105
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DescribeMitigationAction</a> action.</p>
|
|
@@ -1530,6 +1539,12 @@ export declare class IoT extends IoTClient {
|
|
|
1530
1539
|
listJobTemplates(args: ListJobTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListJobTemplatesCommandOutput>;
|
|
1531
1540
|
listJobTemplates(args: ListJobTemplatesCommandInput, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
|
|
1532
1541
|
listJobTemplates(args: ListJobTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
|
|
1542
|
+
/**
|
|
1543
|
+
* <p>Returns a list of managed job templates.</p>
|
|
1544
|
+
*/
|
|
1545
|
+
listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedJobTemplatesCommandOutput>;
|
|
1546
|
+
listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, cb: (err: any, data?: ListManagedJobTemplatesCommandOutput) => void): void;
|
|
1547
|
+
listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedJobTemplatesCommandOutput) => void): void;
|
|
1533
1548
|
/**
|
|
1534
1549
|
* <p>Gets a list of all mitigation actions that match the specified filter criteria.</p>
|
|
1535
1550
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListMitigationActions</a> action.</p>
|
|
@@ -1804,7 +1819,10 @@ export declare class IoT extends IoTClient {
|
|
|
1804
1819
|
registerCertificate(args: RegisterCertificateCommandInput, cb: (err: any, data?: RegisterCertificateCommandOutput) => void): void;
|
|
1805
1820
|
registerCertificate(args: RegisterCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterCertificateCommandOutput) => void): void;
|
|
1806
1821
|
/**
|
|
1807
|
-
* <p>Register a certificate that does not have a certificate authority (CA)
|
|
1822
|
+
* <p>Register a certificate that does not have a certificate authority (CA).
|
|
1823
|
+
* For supported certificates, consult <a href="https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms">
|
|
1824
|
+
* Certificate signing algorithms supported by IoT</a>.
|
|
1825
|
+
* </p>
|
|
1808
1826
|
*/
|
|
1809
1827
|
registerCertificateWithoutCA(args: RegisterCertificateWithoutCACommandInput, options?: __HttpHandlerOptions): Promise<RegisterCertificateWithoutCACommandOutput>;
|
|
1810
1828
|
registerCertificateWithoutCA(args: RegisterCertificateWithoutCACommandInput, cb: (err: any, data?: RegisterCertificateWithoutCACommandOutput) => void): void;
|
|
@@ -1835,6 +1853,9 @@ export declare class IoT extends IoTClient {
|
|
|
1835
1853
|
/**
|
|
1836
1854
|
* <p>Removes the given thing from the billing group.</p>
|
|
1837
1855
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">RemoveThingFromBillingGroup</a> action.</p>
|
|
1856
|
+
* <note>
|
|
1857
|
+
* <p>This call is asynchronous. It might take several seconds for the detachment to propagate.</p>
|
|
1858
|
+
* </note>
|
|
1838
1859
|
*/
|
|
1839
1860
|
removeThingFromBillingGroup(args: RemoveThingFromBillingGroupCommandInput, options?: __HttpHandlerOptions): Promise<RemoveThingFromBillingGroupCommandOutput>;
|
|
1840
1861
|
removeThingFromBillingGroup(args: RemoveThingFromBillingGroupCommandInput, cb: (err: any, data?: RemoveThingFromBillingGroupCommandOutput) => void): void;
|