@aws-sdk/client-iot 3.43.0 → 3.47.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 +51 -0
- package/dist-cjs/commands/DeleteScheduledAuditCommand.js +3 -3
- package/dist-cjs/commands/DeleteSecurityProfileCommand.js +1 -2
- package/dist-cjs/commands/ListThingRegistrationTaskReportsCommand.js +3 -3
- package/dist-cjs/commands/ListThingRegistrationTasksCommand.js +3 -3
- package/dist-cjs/commands/ListThingsCommand.js +1 -2
- package/dist-cjs/endpoints.js +1 -28
- package/dist-cjs/models/models_0.js +20 -158
- package/dist-cjs/models/models_1.js +34 -48
- package/dist-cjs/models/models_2.js +33 -39
- package/dist-cjs/protocols/Aws_restJson1.js +81 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/commands/DeleteScheduledAuditCommand.js +1 -1
- package/dist-es/commands/DeleteSecurityProfileCommand.js +1 -2
- package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +1 -1
- package/dist-es/commands/ListThingRegistrationTasksCommand.js +1 -1
- package/dist-es/commands/ListThingsCommand.js +1 -2
- package/dist-es/endpoints.js +1 -28
- package/dist-es/models/models_0.js +14 -104
- package/dist-es/models/models_1.js +22 -28
- package/dist-es/models/models_2.js +20 -24
- package/dist-es/protocols/Aws_restJson1.js +82 -14
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/IoTClient.d.ts +5 -1
- package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
- package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListThingsCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +61 -173
- package/dist-types/models/models_1.d.ts +101 -138
- package/dist-types/models/models_2.d.ts +146 -40
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/IoTClient.d.ts +3 -1
- package/dist-types/ts3.4/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingsCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +31 -114
- package/dist-types/ts3.4/models/models_1.d.ts +45 -76
- package/dist-types/ts3.4/models/models_2.d.ts +75 -26
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
3
|
+
exports.DescribeCustomMetricResponse = exports.DescribeCustomMetricRequest = exports.DescribeCertificateResponse = exports.CertificateDescription = exports.TransferData = exports.CertificateStatus = exports.CertificateMode = exports.DescribeCertificateRequest = exports.DescribeCACertificateResponse = exports.RegistrationConfig = exports.CACertificateDescription = exports.CertificateValidity = exports.CACertificateStatus = exports.DescribeCACertificateRequest = exports.DescribeBillingGroupResponse = exports.BillingGroupMetadata = exports.DescribeBillingGroupRequest = exports.DescribeAuthorizerResponse = exports.DescribeAuthorizerRequest = exports.DescribeAuditTaskResponse = exports.TaskStatistics = exports.DescribeAuditTaskRequest = exports.DescribeAuditSuppressionResponse = exports.DescribeAuditSuppressionRequest = exports.DescribeAuditMitigationActionsTaskResponse = exports.MitigationAction = exports.DescribeAuditMitigationActionsTaskRequest = exports.DescribeAuditFindingResponse = exports.DescribeAuditFindingRequest = exports.DescribeAccountAuditConfigurationResponse = exports.DescribeAccountAuditConfigurationRequest = exports.DeprecateThingTypeResponse = exports.DeprecateThingTypeRequest = exports.DeleteV2LoggingLevelRequest = exports.LogTargetType = exports.DeleteTopicRuleDestinationResponse = exports.DeleteTopicRuleDestinationRequest = exports.DeleteTopicRuleRequest = exports.DeleteThingTypeResponse = exports.DeleteThingTypeRequest = exports.DeleteThingGroupResponse = exports.DeleteThingGroupRequest = exports.DeleteThingResponse = exports.DeleteThingRequest = exports.DeleteStreamResponse = exports.DeleteStreamRequest = exports.DeleteSecurityProfileResponse = exports.DeleteSecurityProfileRequest = exports.DeleteScheduledAuditResponse = exports.DeleteScheduledAuditRequest = void 0;
|
|
4
|
+
exports.DescribeProvisioningTemplateVersionResponse = exports.DescribeProvisioningTemplateVersionRequest = exports.DescribeProvisioningTemplateResponse = exports.DescribeProvisioningTemplateRequest = exports.DescribeMitigationActionResponse = exports.MitigationActionType = exports.DescribeMitigationActionRequest = exports.DescribeManagedJobTemplateResponse = exports.DocumentParameter = exports.DescribeManagedJobTemplateRequest = exports.DescribeJobTemplateResponse = exports.DescribeJobTemplateRequest = exports.DescribeJobExecutionResponse = exports.JobExecution = exports.JobExecutionStatusDetails = exports.JobExecutionStatus = exports.DescribeJobExecutionRequest = exports.DescribeJobResponse = exports.Job = exports.JobStatus = exports.JobProcessDetails = exports.DescribeJobRequest = exports.DescribeIndexResponse = exports.IndexStatus = exports.DescribeIndexRequest = exports.DescribeFleetMetricResponse = exports.DescribeFleetMetricRequest = exports.DescribeEventConfigurationsResponse = exports.Configuration = exports.EventType = exports.DescribeEventConfigurationsRequest = exports.DescribeEndpointResponse = exports.DescribeEndpointRequest = exports.DescribeDomainConfigurationResponse = exports.ServerCertificateSummary = exports.ServerCertificateStatus = exports.DomainType = exports.DomainConfigurationStatus = exports.DescribeDomainConfigurationRequest = exports.DescribeDimensionResponse = exports.DescribeDimensionRequest = exports.DescribeDetectMitigationActionsTaskResponse = exports.DetectMitigationActionsTaskSummary = exports.ViolationEventOccurrenceRange = exports.DetectMitigationActionsTaskStatus = exports.DetectMitigationActionsTaskStatistics = exports.DetectMitigationActionsTaskTarget = exports.DescribeDetectMitigationActionsTaskRequest = exports.DescribeDefaultAuthorizerResponse = exports.DescribeDefaultAuthorizerRequest = void 0;
|
|
5
|
+
exports.ThingGroupIndexingConfiguration = exports.ThingGroupIndexingMode = exports.Field = exports.FieldType = exports.GetIndexingConfigurationRequest = exports.GetEffectivePoliciesResponse = exports.EffectivePolicy = exports.GetEffectivePoliciesRequest = exports.GetCardinalityResponse = exports.GetCardinalityRequest = exports.GetBucketsAggregationResponse = exports.Bucket = exports.GetBucketsAggregationRequest = exports.BucketsAggregationType = exports.TermsAggregation = exports.GetBehaviorModelTrainingSummariesResponse = exports.BehaviorModelTrainingSummary = exports.ModelStatus = exports.GetBehaviorModelTrainingSummariesRequest = exports.EnableTopicRuleRequest = exports.DisableTopicRuleRequest = exports.DetachThingPrincipalResponse = exports.DetachThingPrincipalRequest = exports.DetachSecurityProfileResponse = exports.DetachSecurityProfileRequest = exports.DetachPrincipalPolicyRequest = exports.DetachPolicyRequest = exports.DescribeThingTypeResponse = exports.ThingTypeMetadata = exports.DescribeThingTypeRequest = exports.DescribeThingRegistrationTaskResponse = exports.Status = exports.DescribeThingRegistrationTaskRequest = exports.DescribeThingGroupResponse = exports.ThingGroupMetadata = exports.GroupNameAndArn = exports.DynamicGroupStatus = exports.DescribeThingGroupRequest = exports.DescribeThingResponse = exports.DescribeThingRequest = exports.DescribeStreamResponse = exports.StreamInfo = exports.DescribeStreamRequest = exports.DescribeSecurityProfileResponse = exports.DescribeSecurityProfileRequest = exports.DescribeScheduledAuditResponse = exports.DescribeScheduledAuditRequest = exports.DescribeRoleAliasResponse = exports.RoleAliasDescription = exports.DescribeRoleAliasRequest = void 0;
|
|
6
|
+
exports.ListAuthorizersResponse = exports.ListAuthorizersRequest = exports.ListAuditTasksResponse = exports.ListAuditTasksRequest = exports.ListAuditSuppressionsResponse = exports.ListAuditSuppressionsRequest = exports.ListAuditMitigationActionsTasksResponse = exports.ListAuditMitigationActionsTasksRequest = exports.ListAuditMitigationActionsExecutionsResponse = exports.ListAuditMitigationActionsExecutionsRequest = exports.ListAuditFindingsResponse = exports.ListAuditFindingsRequest = exports.ListAttachedPoliciesResponse = exports.ListAttachedPoliciesRequest = exports.ListActiveViolationsResponse = exports.ListActiveViolationsRequest = exports.BehaviorCriteriaType = exports.GetV2LoggingOptionsResponse = exports.GetV2LoggingOptionsRequest = exports.GetTopicRuleDestinationResponse = exports.GetTopicRuleDestinationRequest = exports.GetTopicRuleResponse = exports.TopicRule = exports.GetTopicRuleRequest = exports.GetStatisticsResponse = exports.Statistics = exports.GetStatisticsRequest = exports.GetRegistrationCodeResponse = exports.GetRegistrationCodeRequest = exports.GetPolicyVersionResponse = exports.GetPolicyVersionRequest = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetPercentilesResponse = exports.PercentPair = exports.GetPercentilesRequest = exports.GetOTAUpdateResponse = exports.OTAUpdateInfo = exports.ErrorInfo = exports.GetOTAUpdateRequest = exports.GetLoggingOptionsResponse = exports.GetLoggingOptionsRequest = exports.GetJobDocumentResponse = exports.GetJobDocumentRequest = exports.GetIndexingConfigurationResponse = exports.ThingIndexingConfiguration = exports.ThingIndexingMode = exports.ThingConnectivityIndexingMode = exports.NamedShadowIndexingMode = exports.DeviceDefenderIndexingMode = void 0;
|
|
7
|
+
exports.ListOTAUpdatesResponse = exports.OTAUpdateSummary = exports.ListOTAUpdatesRequest = exports.ListMitigationActionsResponse = exports.MitigationActionIdentifier = exports.ListMitigationActionsRequest = exports.ListManagedJobTemplatesResponse = exports.ManagedJobTemplateSummary = exports.ListManagedJobTemplatesRequest = exports.ListJobTemplatesResponse = exports.JobTemplateSummary = exports.ListJobTemplatesRequest = exports.ListJobsResponse = exports.JobSummary = exports.ListJobsRequest = exports.ListJobExecutionsForThingResponse = exports.JobExecutionSummaryForThing = exports.ListJobExecutionsForThingRequest = exports.ListJobExecutionsForJobResponse = exports.JobExecutionSummaryForJob = exports.JobExecutionSummary = exports.ListJobExecutionsForJobRequest = exports.ListIndicesResponse = exports.ListIndicesRequest = exports.ListFleetMetricsResponse = exports.FleetMetricNameAndArn = exports.ListFleetMetricsRequest = exports.ListDomainConfigurationsResponse = exports.DomainConfigurationSummary = exports.ListDomainConfigurationsRequest = exports.ListDimensionsResponse = exports.ListDimensionsRequest = exports.ListDetectMitigationActionsTasksResponse = exports.ListDetectMitigationActionsTasksRequest = exports.ListDetectMitigationActionsExecutionsResponse = exports.DetectMitigationActionExecution = exports.DetectMitigationActionExecutionStatus = exports.ListDetectMitigationActionsExecutionsRequest = exports.ListCustomMetricsResponse = exports.ListCustomMetricsRequest = exports.ListCertificatesByCAResponse = exports.ListCertificatesByCARequest = exports.ListCertificatesResponse = exports.Certificate = exports.ListCertificatesRequest = exports.ListCACertificatesResponse = exports.CACertificate = exports.ListCACertificatesRequest = exports.ListBillingGroupsResponse = exports.ListBillingGroupsRequest = void 0;
|
|
8
|
+
exports.ReportType = exports.ListThingPrincipalsResponse = exports.ListThingPrincipalsRequest = exports.ListThingGroupsForThingResponse = exports.ListThingGroupsForThingRequest = exports.ListThingGroupsResponse = exports.ListThingGroupsRequest = exports.ListTargetsForSecurityProfileResponse = exports.ListTargetsForSecurityProfileRequest = exports.ListTargetsForPolicyResponse = exports.ListTargetsForPolicyRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListStreamsResponse = exports.StreamSummary = exports.ListStreamsRequest = exports.ListSecurityProfilesForTargetResponse = exports.SecurityProfileTargetMapping = exports.SecurityProfileTarget = exports.ListSecurityProfilesForTargetRequest = exports.ListSecurityProfilesResponse = exports.SecurityProfileIdentifier = exports.ListSecurityProfilesRequest = exports.ListScheduledAuditsResponse = exports.ScheduledAuditMetadata = exports.ListScheduledAuditsRequest = exports.ListRoleAliasesResponse = exports.ListRoleAliasesRequest = exports.ListProvisioningTemplateVersionsResponse = exports.ProvisioningTemplateVersionSummary = exports.ListProvisioningTemplateVersionsRequest = exports.ListProvisioningTemplatesResponse = exports.ProvisioningTemplateSummary = exports.ListProvisioningTemplatesRequest = exports.ListPrincipalThingsResponse = exports.ListPrincipalThingsRequest = exports.ListPrincipalPoliciesResponse = exports.ListPrincipalPoliciesRequest = exports.ListPolicyVersionsResponse = exports.PolicyVersion = exports.ListPolicyVersionsRequest = exports.ListPolicyPrincipalsResponse = exports.ListPolicyPrincipalsRequest = exports.ListPoliciesResponse = exports.ListPoliciesRequest = exports.ListOutgoingCertificatesResponse = exports.OutgoingCertificate = exports.ListOutgoingCertificatesRequest = void 0;
|
|
9
|
+
var DeleteScheduledAuditRequest;
|
|
10
|
+
(function (DeleteScheduledAuditRequest) {
|
|
11
|
+
DeleteScheduledAuditRequest.filterSensitiveLog = (obj) => ({
|
|
12
|
+
...obj,
|
|
13
|
+
});
|
|
14
|
+
})(DeleteScheduledAuditRequest = exports.DeleteScheduledAuditRequest || (exports.DeleteScheduledAuditRequest = {}));
|
|
15
|
+
var DeleteScheduledAuditResponse;
|
|
16
|
+
(function (DeleteScheduledAuditResponse) {
|
|
17
|
+
DeleteScheduledAuditResponse.filterSensitiveLog = (obj) => ({
|
|
18
|
+
...obj,
|
|
19
|
+
});
|
|
20
|
+
})(DeleteScheduledAuditResponse = exports.DeleteScheduledAuditResponse || (exports.DeleteScheduledAuditResponse = {}));
|
|
21
|
+
var DeleteSecurityProfileRequest;
|
|
22
|
+
(function (DeleteSecurityProfileRequest) {
|
|
23
|
+
DeleteSecurityProfileRequest.filterSensitiveLog = (obj) => ({
|
|
24
|
+
...obj,
|
|
25
|
+
});
|
|
26
|
+
})(DeleteSecurityProfileRequest = exports.DeleteSecurityProfileRequest || (exports.DeleteSecurityProfileRequest = {}));
|
|
9
27
|
var DeleteSecurityProfileResponse;
|
|
10
28
|
(function (DeleteSecurityProfileResponse) {
|
|
11
29
|
DeleteSecurityProfileResponse.filterSensitiveLog = (obj) => ({
|
|
@@ -559,12 +577,6 @@ var DescribeManagedJobTemplateResponse;
|
|
|
559
577
|
...obj,
|
|
560
578
|
});
|
|
561
579
|
})(DescribeManagedJobTemplateResponse = exports.DescribeManagedJobTemplateResponse || (exports.DescribeManagedJobTemplateResponse = {}));
|
|
562
|
-
var InternalServerException;
|
|
563
|
-
(function (InternalServerException) {
|
|
564
|
-
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
565
|
-
...obj,
|
|
566
|
-
});
|
|
567
|
-
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
568
580
|
var DescribeMitigationActionRequest;
|
|
569
581
|
(function (DescribeMitigationActionRequest) {
|
|
570
582
|
DescribeMitigationActionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -911,6 +923,16 @@ var ThingGroupIndexingConfiguration;
|
|
|
911
923
|
...obj,
|
|
912
924
|
});
|
|
913
925
|
})(ThingGroupIndexingConfiguration = exports.ThingGroupIndexingConfiguration || (exports.ThingGroupIndexingConfiguration = {}));
|
|
926
|
+
var DeviceDefenderIndexingMode;
|
|
927
|
+
(function (DeviceDefenderIndexingMode) {
|
|
928
|
+
DeviceDefenderIndexingMode["OFF"] = "OFF";
|
|
929
|
+
DeviceDefenderIndexingMode["VIOLATIONS"] = "VIOLATIONS";
|
|
930
|
+
})(DeviceDefenderIndexingMode = exports.DeviceDefenderIndexingMode || (exports.DeviceDefenderIndexingMode = {}));
|
|
931
|
+
var NamedShadowIndexingMode;
|
|
932
|
+
(function (NamedShadowIndexingMode) {
|
|
933
|
+
NamedShadowIndexingMode["OFF"] = "OFF";
|
|
934
|
+
NamedShadowIndexingMode["ON"] = "ON";
|
|
935
|
+
})(NamedShadowIndexingMode = exports.NamedShadowIndexingMode || (exports.NamedShadowIndexingMode = {}));
|
|
914
936
|
var ThingConnectivityIndexingMode;
|
|
915
937
|
(function (ThingConnectivityIndexingMode) {
|
|
916
938
|
ThingConnectivityIndexingMode["OFF"] = "OFF";
|
|
@@ -1096,12 +1118,6 @@ var GetV2LoggingOptionsResponse;
|
|
|
1096
1118
|
...obj,
|
|
1097
1119
|
});
|
|
1098
1120
|
})(GetV2LoggingOptionsResponse = exports.GetV2LoggingOptionsResponse || (exports.GetV2LoggingOptionsResponse = {}));
|
|
1099
|
-
var NotConfiguredException;
|
|
1100
|
-
(function (NotConfiguredException) {
|
|
1101
|
-
NotConfiguredException.filterSensitiveLog = (obj) => ({
|
|
1102
|
-
...obj,
|
|
1103
|
-
});
|
|
1104
|
-
})(NotConfiguredException = exports.NotConfiguredException || (exports.NotConfiguredException = {}));
|
|
1105
1121
|
var BehaviorCriteriaType;
|
|
1106
1122
|
(function (BehaviorCriteriaType) {
|
|
1107
1123
|
BehaviorCriteriaType["MACHINE_LEARNING"] = "MACHINE_LEARNING";
|
|
@@ -1792,33 +1808,3 @@ var ReportType;
|
|
|
1792
1808
|
ReportType["ERRORS"] = "ERRORS";
|
|
1793
1809
|
ReportType["RESULTS"] = "RESULTS";
|
|
1794
1810
|
})(ReportType = exports.ReportType || (exports.ReportType = {}));
|
|
1795
|
-
var ListThingRegistrationTaskReportsRequest;
|
|
1796
|
-
(function (ListThingRegistrationTaskReportsRequest) {
|
|
1797
|
-
ListThingRegistrationTaskReportsRequest.filterSensitiveLog = (obj) => ({
|
|
1798
|
-
...obj,
|
|
1799
|
-
});
|
|
1800
|
-
})(ListThingRegistrationTaskReportsRequest = exports.ListThingRegistrationTaskReportsRequest || (exports.ListThingRegistrationTaskReportsRequest = {}));
|
|
1801
|
-
var ListThingRegistrationTaskReportsResponse;
|
|
1802
|
-
(function (ListThingRegistrationTaskReportsResponse) {
|
|
1803
|
-
ListThingRegistrationTaskReportsResponse.filterSensitiveLog = (obj) => ({
|
|
1804
|
-
...obj,
|
|
1805
|
-
});
|
|
1806
|
-
})(ListThingRegistrationTaskReportsResponse = exports.ListThingRegistrationTaskReportsResponse || (exports.ListThingRegistrationTaskReportsResponse = {}));
|
|
1807
|
-
var ListThingRegistrationTasksRequest;
|
|
1808
|
-
(function (ListThingRegistrationTasksRequest) {
|
|
1809
|
-
ListThingRegistrationTasksRequest.filterSensitiveLog = (obj) => ({
|
|
1810
|
-
...obj,
|
|
1811
|
-
});
|
|
1812
|
-
})(ListThingRegistrationTasksRequest = exports.ListThingRegistrationTasksRequest || (exports.ListThingRegistrationTasksRequest = {}));
|
|
1813
|
-
var ListThingRegistrationTasksResponse;
|
|
1814
|
-
(function (ListThingRegistrationTasksResponse) {
|
|
1815
|
-
ListThingRegistrationTasksResponse.filterSensitiveLog = (obj) => ({
|
|
1816
|
-
...obj,
|
|
1817
|
-
});
|
|
1818
|
-
})(ListThingRegistrationTasksResponse = exports.ListThingRegistrationTasksResponse || (exports.ListThingRegistrationTasksResponse = {}));
|
|
1819
|
-
var ListThingsRequest;
|
|
1820
|
-
(function (ListThingsRequest) {
|
|
1821
|
-
ListThingsRequest.filterSensitiveLog = (obj) => ({
|
|
1822
|
-
...obj,
|
|
1823
|
-
});
|
|
1824
|
-
})(ListThingsRequest = exports.ListThingsRequest || (exports.ListThingsRequest = {}));
|
|
@@ -1,8 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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.
|
|
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 =
|
|
3
|
+
exports.ThingDocument = exports.ThingConnectivity = exports.ThingGroupDocument = exports.SearchIndexRequest = exports.ReplaceTopicRuleRequest = exports.RemoveThingFromThingGroupResponse = exports.RemoveThingFromThingGroupRequest = exports.RemoveThingFromBillingGroupResponse = exports.RemoveThingFromBillingGroupRequest = exports.RejectCertificateTransferRequest = exports.RegisterThingResponse = exports.RegisterThingRequest = exports.RegisterCertificateWithoutCAResponse = exports.RegisterCertificateWithoutCARequest = exports.RegisterCertificateResponse = exports.RegisterCertificateRequest = 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 = exports.ListThingsRequest = exports.ListThingRegistrationTasksResponse = exports.ListThingRegistrationTasksRequest = exports.ListThingRegistrationTaskReportsResponse = exports.ListThingRegistrationTaskReportsRequest = void 0;
|
|
4
|
+
exports.UpdateEventConfigurationsRequest = 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.TransferCertificateResponse = exports.TransferCertificateRequest = exports.TestInvokeAuthorizerResponse = exports.TestInvokeAuthorizerRequest = exports.TlsContext = exports.MqttContext = exports.HttpContext = 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.StartAuditMitigationActionsTaskResponse = exports.StartAuditMitigationActionsTaskRequest = exports.SetV2LoggingOptionsRequest = exports.SetV2LoggingLevelRequest = exports.SetLoggingOptionsRequest = exports.LoggingOptionsPayload = exports.SetDefaultPolicyVersionRequest = exports.SetDefaultAuthorizerResponse = exports.SetDefaultAuthorizerRequest = exports.SearchIndexResponse = 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 = void 0;
|
|
6
|
+
var ListThingRegistrationTaskReportsRequest;
|
|
7
|
+
(function (ListThingRegistrationTaskReportsRequest) {
|
|
8
|
+
ListThingRegistrationTaskReportsRequest.filterSensitiveLog = (obj) => ({
|
|
9
|
+
...obj,
|
|
10
|
+
});
|
|
11
|
+
})(ListThingRegistrationTaskReportsRequest = exports.ListThingRegistrationTaskReportsRequest || (exports.ListThingRegistrationTaskReportsRequest = {}));
|
|
12
|
+
var ListThingRegistrationTaskReportsResponse;
|
|
13
|
+
(function (ListThingRegistrationTaskReportsResponse) {
|
|
14
|
+
ListThingRegistrationTaskReportsResponse.filterSensitiveLog = (obj) => ({
|
|
15
|
+
...obj,
|
|
16
|
+
});
|
|
17
|
+
})(ListThingRegistrationTaskReportsResponse = exports.ListThingRegistrationTaskReportsResponse || (exports.ListThingRegistrationTaskReportsResponse = {}));
|
|
18
|
+
var ListThingRegistrationTasksRequest;
|
|
19
|
+
(function (ListThingRegistrationTasksRequest) {
|
|
20
|
+
ListThingRegistrationTasksRequest.filterSensitiveLog = (obj) => ({
|
|
21
|
+
...obj,
|
|
22
|
+
});
|
|
23
|
+
})(ListThingRegistrationTasksRequest = exports.ListThingRegistrationTasksRequest || (exports.ListThingRegistrationTasksRequest = {}));
|
|
24
|
+
var ListThingRegistrationTasksResponse;
|
|
25
|
+
(function (ListThingRegistrationTasksResponse) {
|
|
26
|
+
ListThingRegistrationTasksResponse.filterSensitiveLog = (obj) => ({
|
|
27
|
+
...obj,
|
|
28
|
+
});
|
|
29
|
+
})(ListThingRegistrationTasksResponse = exports.ListThingRegistrationTasksResponse || (exports.ListThingRegistrationTasksResponse = {}));
|
|
30
|
+
var ListThingsRequest;
|
|
31
|
+
(function (ListThingsRequest) {
|
|
32
|
+
ListThingsRequest.filterSensitiveLog = (obj) => ({
|
|
33
|
+
...obj,
|
|
34
|
+
});
|
|
35
|
+
})(ListThingsRequest = exports.ListThingsRequest || (exports.ListThingsRequest = {}));
|
|
6
36
|
var ThingAttribute;
|
|
7
37
|
(function (ThingAttribute) {
|
|
8
38
|
ThingAttribute.filterSensitiveLog = (obj) => ({
|
|
@@ -177,18 +207,6 @@ var RegisterCACertificateResponse;
|
|
|
177
207
|
...obj,
|
|
178
208
|
});
|
|
179
209
|
})(RegisterCACertificateResponse = exports.RegisterCACertificateResponse || (exports.RegisterCACertificateResponse = {}));
|
|
180
|
-
var RegistrationCodeValidationException;
|
|
181
|
-
(function (RegistrationCodeValidationException) {
|
|
182
|
-
RegistrationCodeValidationException.filterSensitiveLog = (obj) => ({
|
|
183
|
-
...obj,
|
|
184
|
-
});
|
|
185
|
-
})(RegistrationCodeValidationException = exports.RegistrationCodeValidationException || (exports.RegistrationCodeValidationException = {}));
|
|
186
|
-
var CertificateConflictException;
|
|
187
|
-
(function (CertificateConflictException) {
|
|
188
|
-
CertificateConflictException.filterSensitiveLog = (obj) => ({
|
|
189
|
-
...obj,
|
|
190
|
-
});
|
|
191
|
-
})(CertificateConflictException = exports.CertificateConflictException || (exports.CertificateConflictException = {}));
|
|
192
210
|
var RegisterCertificateRequest;
|
|
193
211
|
(function (RegisterCertificateRequest) {
|
|
194
212
|
RegisterCertificateRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -225,12 +243,6 @@ var RegisterThingResponse;
|
|
|
225
243
|
...obj,
|
|
226
244
|
});
|
|
227
245
|
})(RegisterThingResponse = exports.RegisterThingResponse || (exports.RegisterThingResponse = {}));
|
|
228
|
-
var ResourceRegistrationFailureException;
|
|
229
|
-
(function (ResourceRegistrationFailureException) {
|
|
230
|
-
ResourceRegistrationFailureException.filterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
});
|
|
233
|
-
})(ResourceRegistrationFailureException = exports.ResourceRegistrationFailureException || (exports.ResourceRegistrationFailureException = {}));
|
|
234
246
|
var RejectCertificateTransferRequest;
|
|
235
247
|
(function (RejectCertificateTransferRequest) {
|
|
236
248
|
RejectCertificateTransferRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -351,12 +363,6 @@ var StartAuditMitigationActionsTaskResponse;
|
|
|
351
363
|
...obj,
|
|
352
364
|
});
|
|
353
365
|
})(StartAuditMitigationActionsTaskResponse = exports.StartAuditMitigationActionsTaskResponse || (exports.StartAuditMitigationActionsTaskResponse = {}));
|
|
354
|
-
var TaskAlreadyExistsException;
|
|
355
|
-
(function (TaskAlreadyExistsException) {
|
|
356
|
-
TaskAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
357
|
-
...obj,
|
|
358
|
-
});
|
|
359
|
-
})(TaskAlreadyExistsException = exports.TaskAlreadyExistsException || (exports.TaskAlreadyExistsException = {}));
|
|
360
366
|
var StartDetectMitigationActionsTaskRequest;
|
|
361
367
|
(function (StartDetectMitigationActionsTaskRequest) {
|
|
362
368
|
StartDetectMitigationActionsTaskRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -429,12 +435,6 @@ var TestAuthorizationResponse;
|
|
|
429
435
|
...obj,
|
|
430
436
|
});
|
|
431
437
|
})(TestAuthorizationResponse = exports.TestAuthorizationResponse || (exports.TestAuthorizationResponse = {}));
|
|
432
|
-
var InvalidResponseException;
|
|
433
|
-
(function (InvalidResponseException) {
|
|
434
|
-
InvalidResponseException.filterSensitiveLog = (obj) => ({
|
|
435
|
-
...obj,
|
|
436
|
-
});
|
|
437
|
-
})(InvalidResponseException = exports.InvalidResponseException || (exports.InvalidResponseException = {}));
|
|
438
438
|
var HttpContext;
|
|
439
439
|
(function (HttpContext) {
|
|
440
440
|
HttpContext.filterSensitiveLog = (obj) => ({
|
|
@@ -477,12 +477,6 @@ var TransferCertificateResponse;
|
|
|
477
477
|
...obj,
|
|
478
478
|
});
|
|
479
479
|
})(TransferCertificateResponse = exports.TransferCertificateResponse || (exports.TransferCertificateResponse = {}));
|
|
480
|
-
var TransferConflictException;
|
|
481
|
-
(function (TransferConflictException) {
|
|
482
|
-
TransferConflictException.filterSensitiveLog = (obj) => ({
|
|
483
|
-
...obj,
|
|
484
|
-
});
|
|
485
|
-
})(TransferConflictException = exports.TransferConflictException || (exports.TransferConflictException = {}));
|
|
486
480
|
var UntagResourceRequest;
|
|
487
481
|
(function (UntagResourceRequest) {
|
|
488
482
|
UntagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -546,6 +546,8 @@ const serializeAws_restJson1CreateAuthorizerCommand = async (input, context) =>
|
|
|
546
546
|
body = JSON.stringify({
|
|
547
547
|
...(input.authorizerFunctionArn !== undefined &&
|
|
548
548
|
input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn }),
|
|
549
|
+
...(input.enableCachingForHttp !== undefined &&
|
|
550
|
+
input.enableCachingForHttp !== null && { enableCachingForHttp: input.enableCachingForHttp }),
|
|
549
551
|
...(input.signingDisabled !== undefined &&
|
|
550
552
|
input.signingDisabled !== null && { signingDisabled: input.signingDisabled }),
|
|
551
553
|
...(input.status !== undefined && input.status !== null && { status: input.status }),
|
|
@@ -861,6 +863,10 @@ const serializeAws_restJson1CreateJobCommand = async (input, context) => {
|
|
|
861
863
|
}),
|
|
862
864
|
...(input.documentSource !== undefined &&
|
|
863
865
|
input.documentSource !== null && { documentSource: input.documentSource }),
|
|
866
|
+
...(input.jobExecutionsRetryConfig !== undefined &&
|
|
867
|
+
input.jobExecutionsRetryConfig !== null && {
|
|
868
|
+
jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
|
|
869
|
+
}),
|
|
864
870
|
...(input.jobExecutionsRolloutConfig !== undefined &&
|
|
865
871
|
input.jobExecutionsRolloutConfig !== null && {
|
|
866
872
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
@@ -919,6 +925,10 @@ const serializeAws_restJson1CreateJobTemplateCommand = async (input, context) =>
|
|
|
919
925
|
...(input.documentSource !== undefined &&
|
|
920
926
|
input.documentSource !== null && { documentSource: input.documentSource }),
|
|
921
927
|
...(input.jobArn !== undefined && input.jobArn !== null && { jobArn: input.jobArn }),
|
|
928
|
+
...(input.jobExecutionsRetryConfig !== undefined &&
|
|
929
|
+
input.jobExecutionsRetryConfig !== null && {
|
|
930
|
+
jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
|
|
931
|
+
}),
|
|
922
932
|
...(input.jobExecutionsRolloutConfig !== undefined &&
|
|
923
933
|
input.jobExecutionsRolloutConfig !== null && {
|
|
924
934
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
@@ -4421,6 +4431,7 @@ const serializeAws_restJson1ListJobExecutionsForThingCommand = async (input, con
|
|
|
4421
4431
|
...(input.namespaceId !== undefined && { namespaceId: input.namespaceId }),
|
|
4422
4432
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
4423
4433
|
...(input.nextToken !== undefined && { nextToken: input.nextToken }),
|
|
4434
|
+
...(input.jobId !== undefined && { jobId: input.jobId }),
|
|
4424
4435
|
};
|
|
4425
4436
|
let body;
|
|
4426
4437
|
return new protocol_http_1.HttpRequest({
|
|
@@ -6106,6 +6117,8 @@ const serializeAws_restJson1UpdateAuthorizerCommand = async (input, context) =>
|
|
|
6106
6117
|
body = JSON.stringify({
|
|
6107
6118
|
...(input.authorizerFunctionArn !== undefined &&
|
|
6108
6119
|
input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn }),
|
|
6120
|
+
...(input.enableCachingForHttp !== undefined &&
|
|
6121
|
+
input.enableCachingForHttp !== null && { enableCachingForHttp: input.enableCachingForHttp }),
|
|
6109
6122
|
...(input.status !== undefined && input.status !== null && { status: input.status }),
|
|
6110
6123
|
...(input.tokenKeyName !== undefined && input.tokenKeyName !== null && { tokenKeyName: input.tokenKeyName }),
|
|
6111
6124
|
...(input.tokenSigningPublicKeys !== undefined &&
|
|
@@ -6496,6 +6509,10 @@ const serializeAws_restJson1UpdateJobCommand = async (input, context) => {
|
|
|
6496
6509
|
...(input.abortConfig !== undefined &&
|
|
6497
6510
|
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) }),
|
|
6498
6511
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
6512
|
+
...(input.jobExecutionsRetryConfig !== undefined &&
|
|
6513
|
+
input.jobExecutionsRetryConfig !== null && {
|
|
6514
|
+
jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
|
|
6515
|
+
}),
|
|
6499
6516
|
...(input.jobExecutionsRolloutConfig !== undefined &&
|
|
6500
6517
|
input.jobExecutionsRolloutConfig !== null && {
|
|
6501
6518
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
@@ -15176,6 +15193,7 @@ const deserializeAws_restJson1DescribeJobTemplateCommand = async (output, contex
|
|
|
15176
15193
|
description: undefined,
|
|
15177
15194
|
document: undefined,
|
|
15178
15195
|
documentSource: undefined,
|
|
15196
|
+
jobExecutionsRetryConfig: undefined,
|
|
15179
15197
|
jobExecutionsRolloutConfig: undefined,
|
|
15180
15198
|
jobTemplateArn: undefined,
|
|
15181
15199
|
jobTemplateId: undefined,
|
|
@@ -15198,6 +15216,9 @@ const deserializeAws_restJson1DescribeJobTemplateCommand = async (output, contex
|
|
|
15198
15216
|
if (data.documentSource !== undefined && data.documentSource !== null) {
|
|
15199
15217
|
contents.documentSource = smithy_client_1.expectString(data.documentSource);
|
|
15200
15218
|
}
|
|
15219
|
+
if (data.jobExecutionsRetryConfig !== undefined && data.jobExecutionsRetryConfig !== null) {
|
|
15220
|
+
contents.jobExecutionsRetryConfig = deserializeAws_restJson1JobExecutionsRetryConfig(data.jobExecutionsRetryConfig, context);
|
|
15221
|
+
}
|
|
15201
15222
|
if (data.jobExecutionsRolloutConfig !== undefined && data.jobExecutionsRolloutConfig !== null) {
|
|
15202
15223
|
contents.jobExecutionsRolloutConfig = deserializeAws_restJson1JobExecutionsRolloutConfig(data.jobExecutionsRolloutConfig, context);
|
|
15203
15224
|
}
|
|
@@ -28191,6 +28212,14 @@ const serializeAws_restJson1IotSiteWiseAction = (input, context) => {
|
|
|
28191
28212
|
...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
|
|
28192
28213
|
};
|
|
28193
28214
|
};
|
|
28215
|
+
const serializeAws_restJson1JobExecutionsRetryConfig = (input, context) => {
|
|
28216
|
+
return {
|
|
28217
|
+
...(input.criteriaList !== undefined &&
|
|
28218
|
+
input.criteriaList !== null && {
|
|
28219
|
+
criteriaList: serializeAws_restJson1RetryCriteriaList(input.criteriaList, context),
|
|
28220
|
+
}),
|
|
28221
|
+
};
|
|
28222
|
+
};
|
|
28194
28223
|
const serializeAws_restJson1JobExecutionsRolloutConfig = (input, context) => {
|
|
28195
28224
|
return {
|
|
28196
28225
|
...(input.exponentialRate !== undefined &&
|
|
@@ -28559,6 +28588,23 @@ const serializeAws_restJson1Resources = (input, context) => {
|
|
|
28559
28588
|
return entry;
|
|
28560
28589
|
});
|
|
28561
28590
|
};
|
|
28591
|
+
const serializeAws_restJson1RetryCriteria = (input, context) => {
|
|
28592
|
+
return {
|
|
28593
|
+
...(input.failureType !== undefined && input.failureType !== null && { failureType: input.failureType }),
|
|
28594
|
+
...(input.numberOfRetries !== undefined &&
|
|
28595
|
+
input.numberOfRetries !== null && { numberOfRetries: input.numberOfRetries }),
|
|
28596
|
+
};
|
|
28597
|
+
};
|
|
28598
|
+
const serializeAws_restJson1RetryCriteriaList = (input, context) => {
|
|
28599
|
+
return input
|
|
28600
|
+
.filter((e) => e != null)
|
|
28601
|
+
.map((entry) => {
|
|
28602
|
+
if (entry === null) {
|
|
28603
|
+
return null;
|
|
28604
|
+
}
|
|
28605
|
+
return serializeAws_restJson1RetryCriteria(entry, context);
|
|
28606
|
+
});
|
|
28607
|
+
};
|
|
28562
28608
|
const serializeAws_restJson1S3Action = (input, context) => {
|
|
28563
28609
|
return {
|
|
28564
28610
|
...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
|
|
@@ -28820,8 +28866,12 @@ const serializeAws_restJson1ThingIndexingConfiguration = (input, context) => {
|
|
|
28820
28866
|
return {
|
|
28821
28867
|
...(input.customFields !== undefined &&
|
|
28822
28868
|
input.customFields !== null && { customFields: serializeAws_restJson1Fields(input.customFields, context) }),
|
|
28869
|
+
...(input.deviceDefenderIndexingMode !== undefined &&
|
|
28870
|
+
input.deviceDefenderIndexingMode !== null && { deviceDefenderIndexingMode: input.deviceDefenderIndexingMode }),
|
|
28823
28871
|
...(input.managedFields !== undefined &&
|
|
28824
28872
|
input.managedFields !== null && { managedFields: serializeAws_restJson1Fields(input.managedFields, context) }),
|
|
28873
|
+
...(input.namedShadowIndexingMode !== undefined &&
|
|
28874
|
+
input.namedShadowIndexingMode !== null && { namedShadowIndexingMode: input.namedShadowIndexingMode }),
|
|
28825
28875
|
...(input.thingConnectivityIndexingMode !== undefined &&
|
|
28826
28876
|
input.thingConnectivityIndexingMode !== null && {
|
|
28827
28877
|
thingConnectivityIndexingMode: input.thingConnectivityIndexingMode,
|
|
@@ -29472,6 +29522,7 @@ const deserializeAws_restJson1AuthorizerDescription = (output, context) => {
|
|
|
29472
29522
|
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
29473
29523
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
|
|
29474
29524
|
: undefined,
|
|
29525
|
+
enableCachingForHttp: smithy_client_1.expectBoolean(output.enableCachingForHttp),
|
|
29475
29526
|
lastModifiedDate: output.lastModifiedDate !== undefined && output.lastModifiedDate !== null
|
|
29476
29527
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedDate)))
|
|
29477
29528
|
: undefined,
|
|
@@ -30270,6 +30321,9 @@ const deserializeAws_restJson1Job = (output, context) => {
|
|
|
30270
30321
|
: undefined,
|
|
30271
30322
|
forceCanceled: smithy_client_1.expectBoolean(output.forceCanceled),
|
|
30272
30323
|
jobArn: smithy_client_1.expectString(output.jobArn),
|
|
30324
|
+
jobExecutionsRetryConfig: output.jobExecutionsRetryConfig !== undefined && output.jobExecutionsRetryConfig !== null
|
|
30325
|
+
? deserializeAws_restJson1JobExecutionsRetryConfig(output.jobExecutionsRetryConfig, context)
|
|
30326
|
+
: undefined,
|
|
30273
30327
|
jobExecutionsRolloutConfig: output.jobExecutionsRolloutConfig !== undefined && output.jobExecutionsRolloutConfig !== null
|
|
30274
30328
|
? deserializeAws_restJson1JobExecutionsRolloutConfig(output.jobExecutionsRolloutConfig, context)
|
|
30275
30329
|
: undefined,
|
|
@@ -30319,6 +30373,13 @@ const deserializeAws_restJson1JobExecution = (output, context) => {
|
|
|
30319
30373
|
versionNumber: smithy_client_1.expectLong(output.versionNumber),
|
|
30320
30374
|
};
|
|
30321
30375
|
};
|
|
30376
|
+
const deserializeAws_restJson1JobExecutionsRetryConfig = (output, context) => {
|
|
30377
|
+
return {
|
|
30378
|
+
criteriaList: output.criteriaList !== undefined && output.criteriaList !== null
|
|
30379
|
+
? deserializeAws_restJson1RetryCriteriaList(output.criteriaList, context)
|
|
30380
|
+
: undefined,
|
|
30381
|
+
};
|
|
30382
|
+
};
|
|
30322
30383
|
const deserializeAws_restJson1JobExecutionsRolloutConfig = (output, context) => {
|
|
30323
30384
|
return {
|
|
30324
30385
|
exponentialRate: output.exponentialRate !== undefined && output.exponentialRate !== null
|
|
@@ -30343,6 +30404,7 @@ const deserializeAws_restJson1JobExecutionSummary = (output, context) => {
|
|
|
30343
30404
|
queuedAt: output.queuedAt !== undefined && output.queuedAt !== null
|
|
30344
30405
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.queuedAt)))
|
|
30345
30406
|
: undefined,
|
|
30407
|
+
retryAttempt: smithy_client_1.expectInt32(output.retryAttempt),
|
|
30346
30408
|
startedAt: output.startedAt !== undefined && output.startedAt !== null
|
|
30347
30409
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startedAt)))
|
|
30348
30410
|
: undefined,
|
|
@@ -31112,6 +31174,22 @@ const deserializeAws_restJson1Resources = (output, context) => {
|
|
|
31112
31174
|
return smithy_client_1.expectString(entry);
|
|
31113
31175
|
});
|
|
31114
31176
|
};
|
|
31177
|
+
const deserializeAws_restJson1RetryCriteria = (output, context) => {
|
|
31178
|
+
return {
|
|
31179
|
+
failureType: smithy_client_1.expectString(output.failureType),
|
|
31180
|
+
numberOfRetries: smithy_client_1.expectInt32(output.numberOfRetries),
|
|
31181
|
+
};
|
|
31182
|
+
};
|
|
31183
|
+
const deserializeAws_restJson1RetryCriteriaList = (output, context) => {
|
|
31184
|
+
return (output || [])
|
|
31185
|
+
.filter((e) => e != null)
|
|
31186
|
+
.map((entry) => {
|
|
31187
|
+
if (entry === null) {
|
|
31188
|
+
return null;
|
|
31189
|
+
}
|
|
31190
|
+
return deserializeAws_restJson1RetryCriteria(entry, context);
|
|
31191
|
+
});
|
|
31192
|
+
};
|
|
31115
31193
|
const deserializeAws_restJson1RoleAliasDescription = (output, context) => {
|
|
31116
31194
|
return {
|
|
31117
31195
|
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
@@ -31547,6 +31625,7 @@ const deserializeAws_restJson1ThingDocument = (output, context) => {
|
|
|
31547
31625
|
connectivity: output.connectivity !== undefined && output.connectivity !== null
|
|
31548
31626
|
? deserializeAws_restJson1ThingConnectivity(output.connectivity, context)
|
|
31549
31627
|
: undefined,
|
|
31628
|
+
deviceDefender: smithy_client_1.expectString(output.deviceDefender),
|
|
31550
31629
|
shadow: smithy_client_1.expectString(output.shadow),
|
|
31551
31630
|
thingGroupNames: output.thingGroupNames !== undefined && output.thingGroupNames !== null
|
|
31552
31631
|
? deserializeAws_restJson1ThingGroupNameList(output.thingGroupNames, context)
|
|
@@ -31654,9 +31733,11 @@ const deserializeAws_restJson1ThingIndexingConfiguration = (output, context) =>
|
|
|
31654
31733
|
customFields: output.customFields !== undefined && output.customFields !== null
|
|
31655
31734
|
? deserializeAws_restJson1Fields(output.customFields, context)
|
|
31656
31735
|
: undefined,
|
|
31736
|
+
deviceDefenderIndexingMode: smithy_client_1.expectString(output.deviceDefenderIndexingMode),
|
|
31657
31737
|
managedFields: output.managedFields !== undefined && output.managedFields !== null
|
|
31658
31738
|
? deserializeAws_restJson1Fields(output.managedFields, context)
|
|
31659
31739
|
: undefined,
|
|
31740
|
+
namedShadowIndexingMode: smithy_client_1.expectString(output.namedShadowIndexingMode),
|
|
31660
31741
|
thingConnectivityIndexingMode: smithy_client_1.expectString(output.thingConnectivityIndexingMode),
|
|
31661
31742
|
thingIndexingMode: smithy_client_1.expectString(output.thingIndexingMode),
|
|
31662
31743
|
};
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
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)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteScheduledAuditRequest, DeleteScheduledAuditResponse } from "../models/
|
|
4
|
+
import { DeleteScheduledAuditRequest, DeleteScheduledAuditResponse } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1DeleteScheduledAuditCommand, serializeAws_restJson1DeleteScheduledAuditCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteScheduledAuditCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteScheduledAuditCommand, _super);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteSecurityProfileRequest } from "../models/
|
|
5
|
-
import { DeleteSecurityProfileResponse } from "../models/models_1";
|
|
4
|
+
import { DeleteSecurityProfileRequest, DeleteSecurityProfileResponse } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_restJson1DeleteSecurityProfileCommand, serializeAws_restJson1DeleteSecurityProfileCommand, } from "../protocols/Aws_restJson1";
|
|
7
6
|
var DeleteSecurityProfileCommand = (function (_super) {
|
|
8
7
|
__extends(DeleteSecurityProfileCommand, _super);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListThingRegistrationTaskReportsRequest, ListThingRegistrationTaskReportsResponse } from "../models/
|
|
4
|
+
import { ListThingRegistrationTaskReportsRequest, ListThingRegistrationTaskReportsResponse } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1ListThingRegistrationTaskReportsCommand, serializeAws_restJson1ListThingRegistrationTaskReportsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var ListThingRegistrationTaskReportsCommand = (function (_super) {
|
|
7
7
|
__extends(ListThingRegistrationTaskReportsCommand, _super);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListThingRegistrationTasksRequest, ListThingRegistrationTasksResponse } from "../models/
|
|
4
|
+
import { ListThingRegistrationTasksRequest, ListThingRegistrationTasksResponse } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1ListThingRegistrationTasksCommand, serializeAws_restJson1ListThingRegistrationTasksCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var ListThingRegistrationTasksCommand = (function (_super) {
|
|
7
7
|
__extends(ListThingRegistrationTasksCommand, _super);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListThingsRequest } from "../models/
|
|
5
|
-
import { ListThingsResponse } from "../models/models_2";
|
|
4
|
+
import { ListThingsRequest, ListThingsResponse } from "../models/models_2";
|
|
6
5
|
import { deserializeAws_restJson1ListThingsCommand, serializeAws_restJson1ListThingsCommand, } from "../protocols/Aws_restJson1";
|
|
7
6
|
var ListThingsCommand = (function (_super) {
|
|
8
7
|
__extends(ListThingsCommand, _super);
|