@aws-sdk/client-iot 3.52.0 → 3.54.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/IoTServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +308 -6
- package/dist-cjs/models/models_1.js +32 -5
- package/dist-cjs/models/models_2.js +82 -3
- package/dist-cjs/protocols/Aws_restJson1.js +2544 -9978
- package/dist-es/index.js +1 -0
- package/dist-es/models/IoTServiceException.js +12 -0
- package/dist-es/models/models_0.js +280 -1
- package/dist-es/models/models_1.js +26 -1
- package/dist-es/models/models_2.js +74 -1
- package/dist-es/protocols/Aws_restJson1.js +5589 -10955
- package/dist-types/IoTClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/IoTServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +123 -116
- package/dist-types/models/models_1.d.ts +14 -10
- package/dist-types/models/models_2.d.ts +34 -30
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/IoTClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/IoTServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +97 -94
- package/dist-types/ts3.4/models/models_1.d.ts +11 -9
- package/dist-types/ts3.4/models/models_2.d.ts +27 -25
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.ValidateSecurityProfileBehaviorsResponse = exports.ValidationError = exports.ValidateSecurityProfileBehaviorsRequest = exports.UpdateTopicRuleDestinationResponse = exports.UpdateTopicRuleDestinationRequest = exports.UpdateThingGroupsForThingResponse = exports.UpdateThingGroupsForThingRequest = exports.UpdateThingGroupResponse = exports.UpdateThingGroupRequest = exports.UpdateThingResponse = exports.UpdateThingRequest = exports.UpdateStreamResponse = exports.UpdateStreamRequest = exports.UpdateSecurityProfileResponse = exports.UpdateSecurityProfileRequest = exports.UpdateScheduledAuditResponse = exports.UpdateScheduledAuditRequest = exports.UpdateRoleAliasResponse = exports.UpdateRoleAliasRequest = exports.UpdateProvisioningTemplateResponse = exports.UpdateProvisioningTemplateRequest = exports.UpdateMitigationActionResponse = exports.UpdateMitigationActionRequest = exports.UpdateJobRequest = exports.UpdateIndexingConfigurationResponse = exports.UpdateIndexingConfigurationRequest = exports.UpdateFleetMetricRequest = exports.UpdateEventConfigurationsResponse = void 0;
|
|
3
|
+
exports.SearchIndexRequest = exports.ReplaceTopicRuleRequest = exports.RemoveThingFromThingGroupResponse = exports.RemoveThingFromThingGroupRequest = exports.RemoveThingFromBillingGroupResponse = exports.RemoveThingFromBillingGroupRequest = exports.RejectCertificateTransferRequest = exports.ResourceRegistrationFailureException = exports.RegisterThingResponse = exports.RegisterThingRequest = exports.RegisterCertificateWithoutCAResponse = exports.RegisterCertificateWithoutCARequest = exports.RegisterCertificateResponse = exports.RegisterCertificateRequest = exports.CertificateConflictException = exports.RegistrationCodeValidationException = exports.RegisterCACertificateResponse = exports.RegisterCACertificateRequest = exports.PutVerificationStateOnViolationResponse = exports.PutVerificationStateOnViolationRequest = exports.ListViolationEventsResponse = exports.ViolationEvent = exports.ViolationEventType = exports.ListViolationEventsRequest = exports.ListV2LoggingLevelsResponse = exports.LogTargetConfiguration = exports.LogTarget = exports.ListV2LoggingLevelsRequest = exports.ListTopicRulesResponse = exports.TopicRuleListItem = exports.ListTopicRulesRequest = exports.ListTopicRuleDestinationsResponse = exports.TopicRuleDestinationSummary = exports.VpcDestinationSummary = exports.HttpUrlDestinationSummary = exports.ListTopicRuleDestinationsRequest = exports.ListThingTypesResponse = exports.ThingTypeDefinition = exports.ListThingTypesRequest = exports.ListThingsInThingGroupResponse = exports.ListThingsInThingGroupRequest = exports.ListThingsInBillingGroupResponse = exports.ListThingsInBillingGroupRequest = exports.ListThingsResponse = exports.ThingAttribute = exports.ListThingsRequest = exports.ListThingRegistrationTasksResponse = exports.ListThingRegistrationTasksRequest = exports.ListThingRegistrationTaskReportsResponse = exports.ListThingRegistrationTaskReportsRequest = void 0;
|
|
4
|
+
exports.UpdateDimensionRequest = exports.UpdateCustomMetricResponse = exports.UpdateCustomMetricRequest = exports.UpdateCertificateRequest = exports.UpdateCACertificateRequest = exports.UpdateBillingGroupResponse = exports.UpdateBillingGroupRequest = exports.UpdateAuthorizerResponse = exports.UpdateAuthorizerRequest = exports.UpdateAuditSuppressionResponse = exports.UpdateAuditSuppressionRequest = exports.UpdateAccountAuditConfigurationResponse = exports.UpdateAccountAuditConfigurationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TransferConflictException = exports.TransferCertificateResponse = exports.TransferCertificateRequest = exports.TestInvokeAuthorizerResponse = exports.TestInvokeAuthorizerRequest = exports.TlsContext = exports.MqttContext = exports.HttpContext = exports.InvalidResponseException = exports.TestAuthorizationResponse = exports.TestAuthorizationRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopThingRegistrationTaskResponse = exports.StopThingRegistrationTaskRequest = exports.StartThingRegistrationTaskResponse = exports.StartThingRegistrationTaskRequest = exports.StartOnDemandAuditTaskResponse = exports.StartOnDemandAuditTaskRequest = exports.StartDetectMitigationActionsTaskResponse = exports.StartDetectMitigationActionsTaskRequest = exports.TaskAlreadyExistsException = exports.StartAuditMitigationActionsTaskResponse = exports.StartAuditMitigationActionsTaskRequest = exports.SetV2LoggingOptionsRequest = exports.SetV2LoggingLevelRequest = exports.SetLoggingOptionsRequest = exports.LoggingOptionsPayload = exports.SetDefaultPolicyVersionRequest = exports.SetDefaultAuthorizerResponse = exports.SetDefaultAuthorizerRequest = exports.SearchIndexResponse = exports.ThingDocument = exports.ThingConnectivity = exports.ThingGroupDocument = void 0;
|
|
5
|
+
exports.ValidateSecurityProfileBehaviorsResponse = exports.ValidationError = exports.ValidateSecurityProfileBehaviorsRequest = exports.UpdateTopicRuleDestinationResponse = exports.UpdateTopicRuleDestinationRequest = exports.UpdateThingGroupsForThingResponse = exports.UpdateThingGroupsForThingRequest = exports.UpdateThingGroupResponse = exports.UpdateThingGroupRequest = exports.UpdateThingResponse = exports.UpdateThingRequest = exports.UpdateStreamResponse = exports.UpdateStreamRequest = exports.UpdateSecurityProfileResponse = exports.UpdateSecurityProfileRequest = exports.UpdateScheduledAuditResponse = exports.UpdateScheduledAuditRequest = exports.UpdateRoleAliasResponse = exports.UpdateRoleAliasRequest = exports.UpdateProvisioningTemplateResponse = exports.UpdateProvisioningTemplateRequest = exports.UpdateMitigationActionResponse = exports.UpdateMitigationActionRequest = exports.UpdateJobRequest = exports.UpdateIndexingConfigurationResponse = exports.UpdateIndexingConfigurationRequest = exports.UpdateFleetMetricRequest = exports.UpdateEventConfigurationsResponse = exports.UpdateEventConfigurationsRequest = exports.UpdateDynamicThingGroupResponse = exports.UpdateDynamicThingGroupRequest = exports.UpdateDomainConfigurationResponse = exports.UpdateDomainConfigurationRequest = exports.UpdateDimensionResponse = void 0;
|
|
6
|
+
const IoTServiceException_1 = require("./IoTServiceException");
|
|
6
7
|
var ListThingRegistrationTaskReportsRequest;
|
|
7
8
|
(function (ListThingRegistrationTaskReportsRequest) {
|
|
8
9
|
ListThingRegistrationTaskReportsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -207,6 +208,32 @@ var RegisterCACertificateResponse;
|
|
|
207
208
|
...obj,
|
|
208
209
|
});
|
|
209
210
|
})(RegisterCACertificateResponse = exports.RegisterCACertificateResponse || (exports.RegisterCACertificateResponse = {}));
|
|
211
|
+
class RegistrationCodeValidationException extends IoTServiceException_1.IoTServiceException {
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "RegistrationCodeValidationException",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts,
|
|
217
|
+
});
|
|
218
|
+
this.name = "RegistrationCodeValidationException";
|
|
219
|
+
this.$fault = "client";
|
|
220
|
+
Object.setPrototypeOf(this, RegistrationCodeValidationException.prototype);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
exports.RegistrationCodeValidationException = RegistrationCodeValidationException;
|
|
224
|
+
class CertificateConflictException extends IoTServiceException_1.IoTServiceException {
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "CertificateConflictException",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts,
|
|
230
|
+
});
|
|
231
|
+
this.name = "CertificateConflictException";
|
|
232
|
+
this.$fault = "client";
|
|
233
|
+
Object.setPrototypeOf(this, CertificateConflictException.prototype);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
exports.CertificateConflictException = CertificateConflictException;
|
|
210
237
|
var RegisterCertificateRequest;
|
|
211
238
|
(function (RegisterCertificateRequest) {
|
|
212
239
|
RegisterCertificateRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -243,6 +270,19 @@ var RegisterThingResponse;
|
|
|
243
270
|
...obj,
|
|
244
271
|
});
|
|
245
272
|
})(RegisterThingResponse = exports.RegisterThingResponse || (exports.RegisterThingResponse = {}));
|
|
273
|
+
class ResourceRegistrationFailureException extends IoTServiceException_1.IoTServiceException {
|
|
274
|
+
constructor(opts) {
|
|
275
|
+
super({
|
|
276
|
+
name: "ResourceRegistrationFailureException",
|
|
277
|
+
$fault: "client",
|
|
278
|
+
...opts,
|
|
279
|
+
});
|
|
280
|
+
this.name = "ResourceRegistrationFailureException";
|
|
281
|
+
this.$fault = "client";
|
|
282
|
+
Object.setPrototypeOf(this, ResourceRegistrationFailureException.prototype);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
exports.ResourceRegistrationFailureException = ResourceRegistrationFailureException;
|
|
246
286
|
var RejectCertificateTransferRequest;
|
|
247
287
|
(function (RejectCertificateTransferRequest) {
|
|
248
288
|
RejectCertificateTransferRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -363,6 +403,19 @@ var StartAuditMitigationActionsTaskResponse;
|
|
|
363
403
|
...obj,
|
|
364
404
|
});
|
|
365
405
|
})(StartAuditMitigationActionsTaskResponse = exports.StartAuditMitigationActionsTaskResponse || (exports.StartAuditMitigationActionsTaskResponse = {}));
|
|
406
|
+
class TaskAlreadyExistsException extends IoTServiceException_1.IoTServiceException {
|
|
407
|
+
constructor(opts) {
|
|
408
|
+
super({
|
|
409
|
+
name: "TaskAlreadyExistsException",
|
|
410
|
+
$fault: "client",
|
|
411
|
+
...opts,
|
|
412
|
+
});
|
|
413
|
+
this.name = "TaskAlreadyExistsException";
|
|
414
|
+
this.$fault = "client";
|
|
415
|
+
Object.setPrototypeOf(this, TaskAlreadyExistsException.prototype);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
exports.TaskAlreadyExistsException = TaskAlreadyExistsException;
|
|
366
419
|
var StartDetectMitigationActionsTaskRequest;
|
|
367
420
|
(function (StartDetectMitigationActionsTaskRequest) {
|
|
368
421
|
StartDetectMitigationActionsTaskRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -435,6 +488,19 @@ var TestAuthorizationResponse;
|
|
|
435
488
|
...obj,
|
|
436
489
|
});
|
|
437
490
|
})(TestAuthorizationResponse = exports.TestAuthorizationResponse || (exports.TestAuthorizationResponse = {}));
|
|
491
|
+
class InvalidResponseException extends IoTServiceException_1.IoTServiceException {
|
|
492
|
+
constructor(opts) {
|
|
493
|
+
super({
|
|
494
|
+
name: "InvalidResponseException",
|
|
495
|
+
$fault: "client",
|
|
496
|
+
...opts,
|
|
497
|
+
});
|
|
498
|
+
this.name = "InvalidResponseException";
|
|
499
|
+
this.$fault = "client";
|
|
500
|
+
Object.setPrototypeOf(this, InvalidResponseException.prototype);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
exports.InvalidResponseException = InvalidResponseException;
|
|
438
504
|
var HttpContext;
|
|
439
505
|
(function (HttpContext) {
|
|
440
506
|
HttpContext.filterSensitiveLog = (obj) => ({
|
|
@@ -477,6 +543,19 @@ var TransferCertificateResponse;
|
|
|
477
543
|
...obj,
|
|
478
544
|
});
|
|
479
545
|
})(TransferCertificateResponse = exports.TransferCertificateResponse || (exports.TransferCertificateResponse = {}));
|
|
546
|
+
class TransferConflictException extends IoTServiceException_1.IoTServiceException {
|
|
547
|
+
constructor(opts) {
|
|
548
|
+
super({
|
|
549
|
+
name: "TransferConflictException",
|
|
550
|
+
$fault: "client",
|
|
551
|
+
...opts,
|
|
552
|
+
});
|
|
553
|
+
this.name = "TransferConflictException";
|
|
554
|
+
this.$fault = "client";
|
|
555
|
+
Object.setPrototypeOf(this, TransferConflictException.prototype);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
exports.TransferConflictException = TransferConflictException;
|
|
480
559
|
var UntagResourceRequest;
|
|
481
560
|
(function (UntagResourceRequest) {
|
|
482
561
|
UntagResourceRequest.filterSensitiveLog = (obj) => ({
|