@aws-sdk/client-iot 3.44.0 → 3.47.1
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 +48 -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 +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 +24 -36
- package/dist-cjs/models/models_2.js +21 -39
- package/dist-cjs/protocols/Aws_restJson1.js +74 -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 -2
- package/dist-es/endpoints.js +1 -28
- package/dist-es/models/models_0.js +14 -104
- package/dist-es/models/models_1.js +12 -20
- package/dist-es/models/models_2.js +12 -24
- package/dist-es/protocols/Aws_restJson1.js +74 -11
- 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 -2
- package/dist-types/models/models_0.d.ts +61 -173
- package/dist-types/models/models_1.d.ts +57 -81
- package/dist-types/models/models_2.d.ts +80 -38
- 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 -2
- package/dist-types/ts3.4/models/models_0.d.ts +31 -114
- package/dist-types/ts3.4/models/models_1.d.ts +33 -47
- package/dist-types/ts3.4/models/models_2.d.ts +44 -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 +39 -46
|
@@ -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) => ({
|
|
@@ -1106,12 +1118,6 @@ var GetV2LoggingOptionsResponse;
|
|
|
1106
1118
|
...obj,
|
|
1107
1119
|
});
|
|
1108
1120
|
})(GetV2LoggingOptionsResponse = exports.GetV2LoggingOptionsResponse || (exports.GetV2LoggingOptionsResponse = {}));
|
|
1109
|
-
var NotConfiguredException;
|
|
1110
|
-
(function (NotConfiguredException) {
|
|
1111
|
-
NotConfiguredException.filterSensitiveLog = (obj) => ({
|
|
1112
|
-
...obj,
|
|
1113
|
-
});
|
|
1114
|
-
})(NotConfiguredException = exports.NotConfiguredException || (exports.NotConfiguredException = {}));
|
|
1115
1121
|
var BehaviorCriteriaType;
|
|
1116
1122
|
(function (BehaviorCriteriaType) {
|
|
1117
1123
|
BehaviorCriteriaType["MACHINE_LEARNING"] = "MACHINE_LEARNING";
|
|
@@ -1802,21 +1808,3 @@ var ReportType;
|
|
|
1802
1808
|
ReportType["ERRORS"] = "ERRORS";
|
|
1803
1809
|
ReportType["RESULTS"] = "RESULTS";
|
|
1804
1810
|
})(ReportType = exports.ReportType || (exports.ReportType = {}));
|
|
1805
|
-
var ListThingRegistrationTaskReportsRequest;
|
|
1806
|
-
(function (ListThingRegistrationTaskReportsRequest) {
|
|
1807
|
-
ListThingRegistrationTaskReportsRequest.filterSensitiveLog = (obj) => ({
|
|
1808
|
-
...obj,
|
|
1809
|
-
});
|
|
1810
|
-
})(ListThingRegistrationTaskReportsRequest = exports.ListThingRegistrationTaskReportsRequest || (exports.ListThingRegistrationTaskReportsRequest = {}));
|
|
1811
|
-
var ListThingRegistrationTaskReportsResponse;
|
|
1812
|
-
(function (ListThingRegistrationTaskReportsResponse) {
|
|
1813
|
-
ListThingRegistrationTaskReportsResponse.filterSensitiveLog = (obj) => ({
|
|
1814
|
-
...obj,
|
|
1815
|
-
});
|
|
1816
|
-
})(ListThingRegistrationTaskReportsResponse = exports.ListThingRegistrationTaskReportsResponse || (exports.ListThingRegistrationTaskReportsResponse = {}));
|
|
1817
|
-
var ListThingRegistrationTasksRequest;
|
|
1818
|
-
(function (ListThingRegistrationTasksRequest) {
|
|
1819
|
-
ListThingRegistrationTasksRequest.filterSensitiveLog = (obj) => ({
|
|
1820
|
-
...obj,
|
|
1821
|
-
});
|
|
1822
|
-
})(ListThingRegistrationTasksRequest = exports.ListThingRegistrationTasksRequest || (exports.ListThingRegistrationTasksRequest = {}));
|
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ThingDocument = exports.ThingConnectivity = exports.ThingGroupDocument = exports.SearchIndexRequest = exports.ReplaceTopicRuleRequest = exports.RemoveThingFromThingGroupResponse = exports.RemoveThingFromThingGroupRequest = exports.RemoveThingFromBillingGroupResponse = exports.RemoveThingFromBillingGroupRequest = exports.RejectCertificateTransferRequest = exports.
|
|
4
|
-
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 = {}));
|
|
6
24
|
var ListThingRegistrationTasksResponse;
|
|
7
25
|
(function (ListThingRegistrationTasksResponse) {
|
|
8
26
|
ListThingRegistrationTasksResponse.filterSensitiveLog = (obj) => ({
|
|
@@ -189,18 +207,6 @@ var RegisterCACertificateResponse;
|
|
|
189
207
|
...obj,
|
|
190
208
|
});
|
|
191
209
|
})(RegisterCACertificateResponse = exports.RegisterCACertificateResponse || (exports.RegisterCACertificateResponse = {}));
|
|
192
|
-
var RegistrationCodeValidationException;
|
|
193
|
-
(function (RegistrationCodeValidationException) {
|
|
194
|
-
RegistrationCodeValidationException.filterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
});
|
|
197
|
-
})(RegistrationCodeValidationException = exports.RegistrationCodeValidationException || (exports.RegistrationCodeValidationException = {}));
|
|
198
|
-
var CertificateConflictException;
|
|
199
|
-
(function (CertificateConflictException) {
|
|
200
|
-
CertificateConflictException.filterSensitiveLog = (obj) => ({
|
|
201
|
-
...obj,
|
|
202
|
-
});
|
|
203
|
-
})(CertificateConflictException = exports.CertificateConflictException || (exports.CertificateConflictException = {}));
|
|
204
210
|
var RegisterCertificateRequest;
|
|
205
211
|
(function (RegisterCertificateRequest) {
|
|
206
212
|
RegisterCertificateRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -237,12 +243,6 @@ var RegisterThingResponse;
|
|
|
237
243
|
...obj,
|
|
238
244
|
});
|
|
239
245
|
})(RegisterThingResponse = exports.RegisterThingResponse || (exports.RegisterThingResponse = {}));
|
|
240
|
-
var ResourceRegistrationFailureException;
|
|
241
|
-
(function (ResourceRegistrationFailureException) {
|
|
242
|
-
ResourceRegistrationFailureException.filterSensitiveLog = (obj) => ({
|
|
243
|
-
...obj,
|
|
244
|
-
});
|
|
245
|
-
})(ResourceRegistrationFailureException = exports.ResourceRegistrationFailureException || (exports.ResourceRegistrationFailureException = {}));
|
|
246
246
|
var RejectCertificateTransferRequest;
|
|
247
247
|
(function (RejectCertificateTransferRequest) {
|
|
248
248
|
RejectCertificateTransferRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -363,12 +363,6 @@ var StartAuditMitigationActionsTaskResponse;
|
|
|
363
363
|
...obj,
|
|
364
364
|
});
|
|
365
365
|
})(StartAuditMitigationActionsTaskResponse = exports.StartAuditMitigationActionsTaskResponse || (exports.StartAuditMitigationActionsTaskResponse = {}));
|
|
366
|
-
var TaskAlreadyExistsException;
|
|
367
|
-
(function (TaskAlreadyExistsException) {
|
|
368
|
-
TaskAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
369
|
-
...obj,
|
|
370
|
-
});
|
|
371
|
-
})(TaskAlreadyExistsException = exports.TaskAlreadyExistsException || (exports.TaskAlreadyExistsException = {}));
|
|
372
366
|
var StartDetectMitigationActionsTaskRequest;
|
|
373
367
|
(function (StartDetectMitigationActionsTaskRequest) {
|
|
374
368
|
StartDetectMitigationActionsTaskRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -441,12 +435,6 @@ var TestAuthorizationResponse;
|
|
|
441
435
|
...obj,
|
|
442
436
|
});
|
|
443
437
|
})(TestAuthorizationResponse = exports.TestAuthorizationResponse || (exports.TestAuthorizationResponse = {}));
|
|
444
|
-
var InvalidResponseException;
|
|
445
|
-
(function (InvalidResponseException) {
|
|
446
|
-
InvalidResponseException.filterSensitiveLog = (obj) => ({
|
|
447
|
-
...obj,
|
|
448
|
-
});
|
|
449
|
-
})(InvalidResponseException = exports.InvalidResponseException || (exports.InvalidResponseException = {}));
|
|
450
438
|
var HttpContext;
|
|
451
439
|
(function (HttpContext) {
|
|
452
440
|
HttpContext.filterSensitiveLog = (obj) => ({
|
|
@@ -489,12 +477,6 @@ var TransferCertificateResponse;
|
|
|
489
477
|
...obj,
|
|
490
478
|
});
|
|
491
479
|
})(TransferCertificateResponse = exports.TransferCertificateResponse || (exports.TransferCertificateResponse = {}));
|
|
492
|
-
var TransferConflictException;
|
|
493
|
-
(function (TransferConflictException) {
|
|
494
|
-
TransferConflictException.filterSensitiveLog = (obj) => ({
|
|
495
|
-
...obj,
|
|
496
|
-
});
|
|
497
|
-
})(TransferConflictException = exports.TransferConflictException || (exports.TransferConflictException = {}));
|
|
498
480
|
var UntagResourceRequest;
|
|
499
481
|
(function (UntagResourceRequest) {
|
|
500
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 }),
|
|
@@ -29476,6 +29522,7 @@ const deserializeAws_restJson1AuthorizerDescription = (output, context) => {
|
|
|
29476
29522
|
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
29477
29523
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
|
|
29478
29524
|
: undefined,
|
|
29525
|
+
enableCachingForHttp: smithy_client_1.expectBoolean(output.enableCachingForHttp),
|
|
29479
29526
|
lastModifiedDate: output.lastModifiedDate !== undefined && output.lastModifiedDate !== null
|
|
29480
29527
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedDate)))
|
|
29481
29528
|
: undefined,
|
|
@@ -30274,6 +30321,9 @@ const deserializeAws_restJson1Job = (output, context) => {
|
|
|
30274
30321
|
: undefined,
|
|
30275
30322
|
forceCanceled: smithy_client_1.expectBoolean(output.forceCanceled),
|
|
30276
30323
|
jobArn: smithy_client_1.expectString(output.jobArn),
|
|
30324
|
+
jobExecutionsRetryConfig: output.jobExecutionsRetryConfig !== undefined && output.jobExecutionsRetryConfig !== null
|
|
30325
|
+
? deserializeAws_restJson1JobExecutionsRetryConfig(output.jobExecutionsRetryConfig, context)
|
|
30326
|
+
: undefined,
|
|
30277
30327
|
jobExecutionsRolloutConfig: output.jobExecutionsRolloutConfig !== undefined && output.jobExecutionsRolloutConfig !== null
|
|
30278
30328
|
? deserializeAws_restJson1JobExecutionsRolloutConfig(output.jobExecutionsRolloutConfig, context)
|
|
30279
30329
|
: undefined,
|
|
@@ -30323,6 +30373,13 @@ const deserializeAws_restJson1JobExecution = (output, context) => {
|
|
|
30323
30373
|
versionNumber: smithy_client_1.expectLong(output.versionNumber),
|
|
30324
30374
|
};
|
|
30325
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
|
+
};
|
|
30326
30383
|
const deserializeAws_restJson1JobExecutionsRolloutConfig = (output, context) => {
|
|
30327
30384
|
return {
|
|
30328
30385
|
exponentialRate: output.exponentialRate !== undefined && output.exponentialRate !== null
|
|
@@ -30347,6 +30404,7 @@ const deserializeAws_restJson1JobExecutionSummary = (output, context) => {
|
|
|
30347
30404
|
queuedAt: output.queuedAt !== undefined && output.queuedAt !== null
|
|
30348
30405
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.queuedAt)))
|
|
30349
30406
|
: undefined,
|
|
30407
|
+
retryAttempt: smithy_client_1.expectInt32(output.retryAttempt),
|
|
30350
30408
|
startedAt: output.startedAt !== undefined && output.startedAt !== null
|
|
30351
30409
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startedAt)))
|
|
30352
30410
|
: undefined,
|
|
@@ -31116,6 +31174,22 @@ const deserializeAws_restJson1Resources = (output, context) => {
|
|
|
31116
31174
|
return smithy_client_1.expectString(entry);
|
|
31117
31175
|
});
|
|
31118
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
|
+
};
|
|
31119
31193
|
const deserializeAws_restJson1RoleAliasDescription = (output, context) => {
|
|
31120
31194
|
return {
|
|
31121
31195
|
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
@@ -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,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 { ListThingRegistrationTasksRequest } from "../models/
|
|
5
|
-
import { ListThingRegistrationTasksResponse } from "../models/models_2";
|
|
4
|
+
import { ListThingRegistrationTasksRequest, ListThingRegistrationTasksResponse } from "../models/models_2";
|
|
6
5
|
import { deserializeAws_restJson1ListThingRegistrationTasksCommand, serializeAws_restJson1ListThingRegistrationTasksCommand, } from "../protocols/Aws_restJson1";
|
|
7
6
|
var ListThingRegistrationTasksCommand = (function (_super) {
|
|
8
7
|
__extends(ListThingRegistrationTasksCommand, _super);
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"ca-central-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "iot.ca-central-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "iot-fips.ca-central-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-1": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "iot.us-east-1.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "iot-fips.us-east-1.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-east-2": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "iot.us-east-2.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "iot-fips.us-east-2.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-gov-east-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "iot.us-gov-east-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "iot-fips.us-gov-east-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-gov-west-1": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "iot.us-gov-west-1.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "iot-fips.us-gov-west-1.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -63,10 +43,6 @@ var regionHash = {
|
|
|
63
43
|
},
|
|
64
44
|
"us-west-1": {
|
|
65
45
|
variants: [
|
|
66
|
-
{
|
|
67
|
-
hostname: "iot.us-west-1.amazonaws.com",
|
|
68
|
-
tags: [],
|
|
69
|
-
},
|
|
70
46
|
{
|
|
71
47
|
hostname: "iot-fips.us-west-1.amazonaws.com",
|
|
72
48
|
tags: ["fips"],
|
|
@@ -75,10 +51,6 @@ var regionHash = {
|
|
|
75
51
|
},
|
|
76
52
|
"us-west-2": {
|
|
77
53
|
variants: [
|
|
78
|
-
{
|
|
79
|
-
hostname: "iot.us-west-2.amazonaws.com",
|
|
80
|
-
tags: [],
|
|
81
|
-
},
|
|
82
54
|
{
|
|
83
55
|
hostname: "iot-fips.us-west-2.amazonaws.com",
|
|
84
56
|
tags: ["fips"],
|
|
@@ -97,6 +69,7 @@ var partitionHash = {
|
|
|
97
69
|
"ap-south-1",
|
|
98
70
|
"ap-southeast-1",
|
|
99
71
|
"ap-southeast-2",
|
|
72
|
+
"ap-southeast-3",
|
|
100
73
|
"ca-central-1",
|
|
101
74
|
"eu-central-1",
|
|
102
75
|
"eu-north-1",
|