@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
|
@@ -23,34 +23,6 @@ export var AcceptCertificateTransferRequest;
|
|
|
23
23
|
(function (AcceptCertificateTransferRequest) {
|
|
24
24
|
AcceptCertificateTransferRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
25
25
|
})(AcceptCertificateTransferRequest || (AcceptCertificateTransferRequest = {}));
|
|
26
|
-
export var InternalFailureException;
|
|
27
|
-
(function (InternalFailureException) {
|
|
28
|
-
InternalFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
-
})(InternalFailureException || (InternalFailureException = {}));
|
|
30
|
-
export var InvalidRequestException;
|
|
31
|
-
(function (InvalidRequestException) {
|
|
32
|
-
InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
-
})(InvalidRequestException || (InvalidRequestException = {}));
|
|
34
|
-
export var ResourceNotFoundException;
|
|
35
|
-
(function (ResourceNotFoundException) {
|
|
36
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
38
|
-
export var ServiceUnavailableException;
|
|
39
|
-
(function (ServiceUnavailableException) {
|
|
40
|
-
ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
-
})(ServiceUnavailableException || (ServiceUnavailableException = {}));
|
|
42
|
-
export var ThrottlingException;
|
|
43
|
-
(function (ThrottlingException) {
|
|
44
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
46
|
-
export var TransferAlreadyCompletedException;
|
|
47
|
-
(function (TransferAlreadyCompletedException) {
|
|
48
|
-
TransferAlreadyCompletedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
-
})(TransferAlreadyCompletedException || (TransferAlreadyCompletedException = {}));
|
|
50
|
-
export var UnauthorizedException;
|
|
51
|
-
(function (UnauthorizedException) {
|
|
52
|
-
UnauthorizedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
|
-
})(UnauthorizedException || (UnauthorizedException = {}));
|
|
54
26
|
export var CloudwatchAlarmAction;
|
|
55
27
|
(function (CloudwatchAlarmAction) {
|
|
56
28
|
CloudwatchAlarmAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -357,10 +329,6 @@ export var AssociateTargetsWithJobResponse;
|
|
|
357
329
|
(function (AssociateTargetsWithJobResponse) {
|
|
358
330
|
AssociateTargetsWithJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
359
331
|
})(AssociateTargetsWithJobResponse || (AssociateTargetsWithJobResponse = {}));
|
|
360
|
-
export var LimitExceededException;
|
|
361
|
-
(function (LimitExceededException) {
|
|
362
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
363
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
364
332
|
export var AttachPolicyRequest;
|
|
365
333
|
(function (AttachPolicyRequest) {
|
|
366
334
|
AttachPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -377,10 +345,6 @@ export var AttachSecurityProfileResponse;
|
|
|
377
345
|
(function (AttachSecurityProfileResponse) {
|
|
378
346
|
AttachSecurityProfileResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
379
347
|
})(AttachSecurityProfileResponse || (AttachSecurityProfileResponse = {}));
|
|
380
|
-
export var VersionConflictException;
|
|
381
|
-
(function (VersionConflictException) {
|
|
382
|
-
VersionConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
383
|
-
})(VersionConflictException || (VersionConflictException = {}));
|
|
384
348
|
export var AttachThingPrincipalRequest;
|
|
385
349
|
(function (AttachThingPrincipalRequest) {
|
|
386
350
|
AttachThingPrincipalRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -603,10 +567,6 @@ export var CancelJobExecutionRequest;
|
|
|
603
567
|
(function (CancelJobExecutionRequest) {
|
|
604
568
|
CancelJobExecutionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
605
569
|
})(CancelJobExecutionRequest || (CancelJobExecutionRequest = {}));
|
|
606
|
-
export var InvalidStateTransitionException;
|
|
607
|
-
(function (InvalidStateTransitionException) {
|
|
608
|
-
InvalidStateTransitionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
609
|
-
})(InvalidStateTransitionException || (InvalidStateTransitionException = {}));
|
|
610
570
|
export var ClearDefaultAuthorizerRequest;
|
|
611
571
|
(function (ClearDefaultAuthorizerRequest) {
|
|
612
572
|
ClearDefaultAuthorizerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -623,14 +583,6 @@ export var ConfirmTopicRuleDestinationResponse;
|
|
|
623
583
|
(function (ConfirmTopicRuleDestinationResponse) {
|
|
624
584
|
ConfirmTopicRuleDestinationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
625
585
|
})(ConfirmTopicRuleDestinationResponse || (ConfirmTopicRuleDestinationResponse = {}));
|
|
626
|
-
export var ConflictingResourceUpdateException;
|
|
627
|
-
(function (ConflictingResourceUpdateException) {
|
|
628
|
-
ConflictingResourceUpdateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
629
|
-
})(ConflictingResourceUpdateException || (ConflictingResourceUpdateException = {}));
|
|
630
|
-
export var InternalException;
|
|
631
|
-
(function (InternalException) {
|
|
632
|
-
InternalException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
633
|
-
})(InternalException || (InternalException = {}));
|
|
634
586
|
export var CreateAuditSuppressionRequest;
|
|
635
587
|
(function (CreateAuditSuppressionRequest) {
|
|
636
588
|
CreateAuditSuppressionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -639,10 +591,6 @@ export var CreateAuditSuppressionResponse;
|
|
|
639
591
|
(function (CreateAuditSuppressionResponse) {
|
|
640
592
|
CreateAuditSuppressionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
641
593
|
})(CreateAuditSuppressionResponse || (CreateAuditSuppressionResponse = {}));
|
|
642
|
-
export var ResourceAlreadyExistsException;
|
|
643
|
-
(function (ResourceAlreadyExistsException) {
|
|
644
|
-
ResourceAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
645
|
-
})(ResourceAlreadyExistsException || (ResourceAlreadyExistsException = {}));
|
|
646
594
|
export var Tag;
|
|
647
595
|
(function (Tag) {
|
|
648
596
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -702,10 +650,6 @@ export var CreateDimensionResponse;
|
|
|
702
650
|
(function (CreateDimensionResponse) {
|
|
703
651
|
CreateDimensionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
704
652
|
})(CreateDimensionResponse || (CreateDimensionResponse = {}));
|
|
705
|
-
export var CertificateValidationException;
|
|
706
|
-
(function (CertificateValidationException) {
|
|
707
|
-
CertificateValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
708
|
-
})(CertificateValidationException || (CertificateValidationException = {}));
|
|
709
653
|
export var ServiceType;
|
|
710
654
|
(function (ServiceType) {
|
|
711
655
|
ServiceType["CREDENTIAL_PROVIDER"] = "CREDENTIAL_PROVIDER";
|
|
@@ -732,10 +676,6 @@ export var CreateDynamicThingGroupResponse;
|
|
|
732
676
|
(function (CreateDynamicThingGroupResponse) {
|
|
733
677
|
CreateDynamicThingGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
734
678
|
})(CreateDynamicThingGroupResponse || (CreateDynamicThingGroupResponse = {}));
|
|
735
|
-
export var InvalidQueryException;
|
|
736
|
-
(function (InvalidQueryException) {
|
|
737
|
-
InvalidQueryException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
738
|
-
})(InvalidQueryException || (InvalidQueryException = {}));
|
|
739
679
|
export var FleetMetricUnit;
|
|
740
680
|
(function (FleetMetricUnit) {
|
|
741
681
|
FleetMetricUnit["Bits"] = "Bits";
|
|
@@ -774,14 +714,20 @@ export var CreateFleetMetricResponse;
|
|
|
774
714
|
(function (CreateFleetMetricResponse) {
|
|
775
715
|
CreateFleetMetricResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
776
716
|
})(CreateFleetMetricResponse || (CreateFleetMetricResponse = {}));
|
|
777
|
-
export var
|
|
778
|
-
(function (
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
(
|
|
783
|
-
|
|
784
|
-
|
|
717
|
+
export var RetryableFailureType;
|
|
718
|
+
(function (RetryableFailureType) {
|
|
719
|
+
RetryableFailureType["ALL"] = "ALL";
|
|
720
|
+
RetryableFailureType["FAILED"] = "FAILED";
|
|
721
|
+
RetryableFailureType["TIMED_OUT"] = "TIMED_OUT";
|
|
722
|
+
})(RetryableFailureType || (RetryableFailureType = {}));
|
|
723
|
+
export var RetryCriteria;
|
|
724
|
+
(function (RetryCriteria) {
|
|
725
|
+
RetryCriteria.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
726
|
+
})(RetryCriteria || (RetryCriteria = {}));
|
|
727
|
+
export var JobExecutionsRetryConfig;
|
|
728
|
+
(function (JobExecutionsRetryConfig) {
|
|
729
|
+
JobExecutionsRetryConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
730
|
+
})(JobExecutionsRetryConfig || (JobExecutionsRetryConfig = {}));
|
|
785
731
|
export var RateIncreaseCriteria;
|
|
786
732
|
(function (RateIncreaseCriteria) {
|
|
787
733
|
RateIncreaseCriteria.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -815,10 +761,6 @@ export var CreateJobResponse;
|
|
|
815
761
|
(function (CreateJobResponse) {
|
|
816
762
|
CreateJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
817
763
|
})(CreateJobResponse || (CreateJobResponse = {}));
|
|
818
|
-
export var ConflictException;
|
|
819
|
-
(function (ConflictException) {
|
|
820
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
821
|
-
})(ConflictException || (ConflictException = {}));
|
|
822
764
|
export var CreateJobTemplateRequest;
|
|
823
765
|
(function (CreateJobTemplateRequest) {
|
|
824
766
|
CreateJobTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1006,10 +948,6 @@ export var CreatePolicyResponse;
|
|
|
1006
948
|
(function (CreatePolicyResponse) {
|
|
1007
949
|
CreatePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1008
950
|
})(CreatePolicyResponse || (CreatePolicyResponse = {}));
|
|
1009
|
-
export var MalformedPolicyException;
|
|
1010
|
-
(function (MalformedPolicyException) {
|
|
1011
|
-
MalformedPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1012
|
-
})(MalformedPolicyException || (MalformedPolicyException = {}));
|
|
1013
951
|
export var CreatePolicyVersionRequest;
|
|
1014
952
|
(function (CreatePolicyVersionRequest) {
|
|
1015
953
|
CreatePolicyVersionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1018,10 +956,6 @@ export var CreatePolicyVersionResponse;
|
|
|
1018
956
|
(function (CreatePolicyVersionResponse) {
|
|
1019
957
|
CreatePolicyVersionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1020
958
|
})(CreatePolicyVersionResponse || (CreatePolicyVersionResponse = {}));
|
|
1021
|
-
export var VersionsLimitExceededException;
|
|
1022
|
-
(function (VersionsLimitExceededException) {
|
|
1023
|
-
VersionsLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1024
|
-
})(VersionsLimitExceededException || (VersionsLimitExceededException = {}));
|
|
1025
959
|
export var CreateProvisioningClaimRequest;
|
|
1026
960
|
(function (CreateProvisioningClaimRequest) {
|
|
1027
961
|
CreateProvisioningClaimRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1132,10 +1066,6 @@ export var CreateTopicRuleRequest;
|
|
|
1132
1066
|
(function (CreateTopicRuleRequest) {
|
|
1133
1067
|
CreateTopicRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1134
1068
|
})(CreateTopicRuleRequest || (CreateTopicRuleRequest = {}));
|
|
1135
|
-
export var SqlParseException;
|
|
1136
|
-
(function (SqlParseException) {
|
|
1137
|
-
SqlParseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1138
|
-
})(SqlParseException || (SqlParseException = {}));
|
|
1139
1069
|
export var HttpUrlDestinationConfiguration;
|
|
1140
1070
|
(function (HttpUrlDestinationConfiguration) {
|
|
1141
1071
|
HttpUrlDestinationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1200,10 +1130,6 @@ export var DeleteAuthorizerResponse;
|
|
|
1200
1130
|
(function (DeleteAuthorizerResponse) {
|
|
1201
1131
|
DeleteAuthorizerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1202
1132
|
})(DeleteAuthorizerResponse || (DeleteAuthorizerResponse = {}));
|
|
1203
|
-
export var DeleteConflictException;
|
|
1204
|
-
(function (DeleteConflictException) {
|
|
1205
|
-
DeleteConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1206
|
-
})(DeleteConflictException || (DeleteConflictException = {}));
|
|
1207
1133
|
export var DeleteBillingGroupRequest;
|
|
1208
1134
|
(function (DeleteBillingGroupRequest) {
|
|
1209
1135
|
DeleteBillingGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1212,10 +1138,6 @@ export var DeleteBillingGroupResponse;
|
|
|
1212
1138
|
(function (DeleteBillingGroupResponse) {
|
|
1213
1139
|
DeleteBillingGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1214
1140
|
})(DeleteBillingGroupResponse || (DeleteBillingGroupResponse = {}));
|
|
1215
|
-
export var CertificateStateException;
|
|
1216
|
-
(function (CertificateStateException) {
|
|
1217
|
-
CertificateStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1218
|
-
})(CertificateStateException || (CertificateStateException = {}));
|
|
1219
1141
|
export var DeleteCACertificateRequest;
|
|
1220
1142
|
(function (DeleteCACertificateRequest) {
|
|
1221
1143
|
DeleteCACertificateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1332,15 +1254,3 @@ export var DeleteRoleAliasResponse;
|
|
|
1332
1254
|
(function (DeleteRoleAliasResponse) {
|
|
1333
1255
|
DeleteRoleAliasResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1334
1256
|
})(DeleteRoleAliasResponse || (DeleteRoleAliasResponse = {}));
|
|
1335
|
-
export var DeleteScheduledAuditRequest;
|
|
1336
|
-
(function (DeleteScheduledAuditRequest) {
|
|
1337
|
-
DeleteScheduledAuditRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1338
|
-
})(DeleteScheduledAuditRequest || (DeleteScheduledAuditRequest = {}));
|
|
1339
|
-
export var DeleteScheduledAuditResponse;
|
|
1340
|
-
(function (DeleteScheduledAuditResponse) {
|
|
1341
|
-
DeleteScheduledAuditResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1342
|
-
})(DeleteScheduledAuditResponse || (DeleteScheduledAuditResponse = {}));
|
|
1343
|
-
export var DeleteSecurityProfileRequest;
|
|
1344
|
-
(function (DeleteSecurityProfileRequest) {
|
|
1345
|
-
DeleteSecurityProfileRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1346
|
-
})(DeleteSecurityProfileRequest || (DeleteSecurityProfileRequest = {}));
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var DeleteScheduledAuditRequest;
|
|
3
|
+
(function (DeleteScheduledAuditRequest) {
|
|
4
|
+
DeleteScheduledAuditRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(DeleteScheduledAuditRequest || (DeleteScheduledAuditRequest = {}));
|
|
6
|
+
export var DeleteScheduledAuditResponse;
|
|
7
|
+
(function (DeleteScheduledAuditResponse) {
|
|
8
|
+
DeleteScheduledAuditResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(DeleteScheduledAuditResponse || (DeleteScheduledAuditResponse = {}));
|
|
10
|
+
export var DeleteSecurityProfileRequest;
|
|
11
|
+
(function (DeleteSecurityProfileRequest) {
|
|
12
|
+
DeleteSecurityProfileRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
+
})(DeleteSecurityProfileRequest || (DeleteSecurityProfileRequest = {}));
|
|
2
14
|
export var DeleteSecurityProfileResponse;
|
|
3
15
|
(function (DeleteSecurityProfileResponse) {
|
|
4
16
|
DeleteSecurityProfileResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -396,10 +408,6 @@ export var DescribeManagedJobTemplateResponse;
|
|
|
396
408
|
(function (DescribeManagedJobTemplateResponse) {
|
|
397
409
|
DescribeManagedJobTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
398
410
|
})(DescribeManagedJobTemplateResponse || (DescribeManagedJobTemplateResponse = {}));
|
|
399
|
-
export var InternalServerException;
|
|
400
|
-
(function (InternalServerException) {
|
|
401
|
-
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
402
|
-
})(InternalServerException || (InternalServerException = {}));
|
|
403
411
|
export var DescribeMitigationActionRequest;
|
|
404
412
|
(function (DescribeMitigationActionRequest) {
|
|
405
413
|
DescribeMitigationActionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -781,10 +789,6 @@ export var GetV2LoggingOptionsResponse;
|
|
|
781
789
|
(function (GetV2LoggingOptionsResponse) {
|
|
782
790
|
GetV2LoggingOptionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
783
791
|
})(GetV2LoggingOptionsResponse || (GetV2LoggingOptionsResponse = {}));
|
|
784
|
-
export var NotConfiguredException;
|
|
785
|
-
(function (NotConfiguredException) {
|
|
786
|
-
NotConfiguredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
787
|
-
})(NotConfiguredException || (NotConfiguredException = {}));
|
|
788
792
|
export var BehaviorCriteriaType;
|
|
789
793
|
(function (BehaviorCriteriaType) {
|
|
790
794
|
BehaviorCriteriaType["MACHINE_LEARNING"] = "MACHINE_LEARNING";
|
|
@@ -1251,15 +1255,3 @@ export var ReportType;
|
|
|
1251
1255
|
ReportType["ERRORS"] = "ERRORS";
|
|
1252
1256
|
ReportType["RESULTS"] = "RESULTS";
|
|
1253
1257
|
})(ReportType || (ReportType = {}));
|
|
1254
|
-
export var ListThingRegistrationTaskReportsRequest;
|
|
1255
|
-
(function (ListThingRegistrationTaskReportsRequest) {
|
|
1256
|
-
ListThingRegistrationTaskReportsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1257
|
-
})(ListThingRegistrationTaskReportsRequest || (ListThingRegistrationTaskReportsRequest = {}));
|
|
1258
|
-
export var ListThingRegistrationTaskReportsResponse;
|
|
1259
|
-
(function (ListThingRegistrationTaskReportsResponse) {
|
|
1260
|
-
ListThingRegistrationTaskReportsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1261
|
-
})(ListThingRegistrationTaskReportsResponse || (ListThingRegistrationTaskReportsResponse = {}));
|
|
1262
|
-
export var ListThingRegistrationTasksRequest;
|
|
1263
|
-
(function (ListThingRegistrationTasksRequest) {
|
|
1264
|
-
ListThingRegistrationTasksRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1265
|
-
})(ListThingRegistrationTasksRequest || (ListThingRegistrationTasksRequest = {}));
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var ListThingRegistrationTaskReportsRequest;
|
|
3
|
+
(function (ListThingRegistrationTaskReportsRequest) {
|
|
4
|
+
ListThingRegistrationTaskReportsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(ListThingRegistrationTaskReportsRequest || (ListThingRegistrationTaskReportsRequest = {}));
|
|
6
|
+
export var ListThingRegistrationTaskReportsResponse;
|
|
7
|
+
(function (ListThingRegistrationTaskReportsResponse) {
|
|
8
|
+
ListThingRegistrationTaskReportsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(ListThingRegistrationTaskReportsResponse || (ListThingRegistrationTaskReportsResponse = {}));
|
|
10
|
+
export var ListThingRegistrationTasksRequest;
|
|
11
|
+
(function (ListThingRegistrationTasksRequest) {
|
|
12
|
+
ListThingRegistrationTasksRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
+
})(ListThingRegistrationTasksRequest || (ListThingRegistrationTasksRequest = {}));
|
|
2
14
|
export var ListThingRegistrationTasksResponse;
|
|
3
15
|
(function (ListThingRegistrationTasksResponse) {
|
|
4
16
|
ListThingRegistrationTasksResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -125,14 +137,6 @@ export var RegisterCACertificateResponse;
|
|
|
125
137
|
(function (RegisterCACertificateResponse) {
|
|
126
138
|
RegisterCACertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
139
|
})(RegisterCACertificateResponse || (RegisterCACertificateResponse = {}));
|
|
128
|
-
export var RegistrationCodeValidationException;
|
|
129
|
-
(function (RegistrationCodeValidationException) {
|
|
130
|
-
RegistrationCodeValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
-
})(RegistrationCodeValidationException || (RegistrationCodeValidationException = {}));
|
|
132
|
-
export var CertificateConflictException;
|
|
133
|
-
(function (CertificateConflictException) {
|
|
134
|
-
CertificateConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
135
|
-
})(CertificateConflictException || (CertificateConflictException = {}));
|
|
136
140
|
export var RegisterCertificateRequest;
|
|
137
141
|
(function (RegisterCertificateRequest) {
|
|
138
142
|
RegisterCertificateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -157,10 +161,6 @@ export var RegisterThingResponse;
|
|
|
157
161
|
(function (RegisterThingResponse) {
|
|
158
162
|
RegisterThingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
159
163
|
})(RegisterThingResponse || (RegisterThingResponse = {}));
|
|
160
|
-
export var ResourceRegistrationFailureException;
|
|
161
|
-
(function (ResourceRegistrationFailureException) {
|
|
162
|
-
ResourceRegistrationFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
-
})(ResourceRegistrationFailureException || (ResourceRegistrationFailureException = {}));
|
|
164
164
|
export var RejectCertificateTransferRequest;
|
|
165
165
|
(function (RejectCertificateTransferRequest) {
|
|
166
166
|
RejectCertificateTransferRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -241,10 +241,6 @@ export var StartAuditMitigationActionsTaskResponse;
|
|
|
241
241
|
(function (StartAuditMitigationActionsTaskResponse) {
|
|
242
242
|
StartAuditMitigationActionsTaskResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
243
243
|
})(StartAuditMitigationActionsTaskResponse || (StartAuditMitigationActionsTaskResponse = {}));
|
|
244
|
-
export var TaskAlreadyExistsException;
|
|
245
|
-
(function (TaskAlreadyExistsException) {
|
|
246
|
-
TaskAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
247
|
-
})(TaskAlreadyExistsException || (TaskAlreadyExistsException = {}));
|
|
248
244
|
export var StartDetectMitigationActionsTaskRequest;
|
|
249
245
|
(function (StartDetectMitigationActionsTaskRequest) {
|
|
250
246
|
StartDetectMitigationActionsTaskRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -293,10 +289,6 @@ export var TestAuthorizationResponse;
|
|
|
293
289
|
(function (TestAuthorizationResponse) {
|
|
294
290
|
TestAuthorizationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
295
291
|
})(TestAuthorizationResponse || (TestAuthorizationResponse = {}));
|
|
296
|
-
export var InvalidResponseException;
|
|
297
|
-
(function (InvalidResponseException) {
|
|
298
|
-
InvalidResponseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
299
|
-
})(InvalidResponseException || (InvalidResponseException = {}));
|
|
300
292
|
export var HttpContext;
|
|
301
293
|
(function (HttpContext) {
|
|
302
294
|
HttpContext.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -325,10 +317,6 @@ export var TransferCertificateResponse;
|
|
|
325
317
|
(function (TransferCertificateResponse) {
|
|
326
318
|
TransferCertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
327
319
|
})(TransferCertificateResponse || (TransferCertificateResponse = {}));
|
|
328
|
-
export var TransferConflictException;
|
|
329
|
-
(function (TransferConflictException) {
|
|
330
|
-
TransferConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
331
|
-
})(TransferConflictException || (TransferConflictException = {}));
|
|
332
320
|
export var UntagResourceRequest;
|
|
333
321
|
(function (UntagResourceRequest) {
|
|
334
322
|
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -578,8 +578,9 @@ export var serializeAws_restJson1CreateAuthorizerCommand = function (input, cont
|
|
|
578
578
|
else {
|
|
579
579
|
throw new Error("No value provided for input HTTP label: authorizerName.");
|
|
580
580
|
}
|
|
581
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.authorizerFunctionArn !== undefined &&
|
|
582
|
-
input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn })), (input.
|
|
581
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.authorizerFunctionArn !== undefined &&
|
|
582
|
+
input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn })), (input.enableCachingForHttp !== undefined &&
|
|
583
|
+
input.enableCachingForHttp !== null && { enableCachingForHttp: input.enableCachingForHttp })), (input.signingDisabled !== undefined &&
|
|
583
584
|
input.signingDisabled !== null && { signingDisabled: input.signingDisabled })), (input.status !== undefined && input.status !== null && { status: input.status })), (input.tags !== undefined &&
|
|
584
585
|
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })), (input.tokenKeyName !== undefined && input.tokenKeyName !== null && { tokenKeyName: input.tokenKeyName })), (input.tokenSigningPublicKeys !== undefined &&
|
|
585
586
|
input.tokenSigningPublicKeys !== null && {
|
|
@@ -878,12 +879,15 @@ export var serializeAws_restJson1CreateJobCommand = function (input, context) {
|
|
|
878
879
|
else {
|
|
879
880
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
880
881
|
}
|
|
881
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
882
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
882
883
|
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentParameters !== undefined &&
|
|
883
884
|
input.documentParameters !== null && {
|
|
884
885
|
documentParameters: serializeAws_restJson1ParameterMap(input.documentParameters, context),
|
|
885
886
|
})), (input.documentSource !== undefined &&
|
|
886
|
-
input.documentSource !== null && { documentSource: input.documentSource })), (input.
|
|
887
|
+
input.documentSource !== null && { documentSource: input.documentSource })), (input.jobExecutionsRetryConfig !== undefined &&
|
|
888
|
+
input.jobExecutionsRetryConfig !== null && {
|
|
889
|
+
jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
|
|
890
|
+
})), (input.jobExecutionsRolloutConfig !== undefined &&
|
|
887
891
|
input.jobExecutionsRolloutConfig !== null && {
|
|
888
892
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
889
893
|
})), (input.jobTemplateArn !== undefined &&
|
|
@@ -930,9 +934,12 @@ export var serializeAws_restJson1CreateJobTemplateCommand = function (input, con
|
|
|
930
934
|
else {
|
|
931
935
|
throw new Error("No value provided for input HTTP label: jobTemplateId.");
|
|
932
936
|
}
|
|
933
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
937
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
934
938
|
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentSource !== undefined &&
|
|
935
|
-
input.documentSource !== null && { documentSource: input.documentSource })), (input.jobArn !== undefined && input.jobArn !== null && { jobArn: input.jobArn })), (input.
|
|
939
|
+
input.documentSource !== null && { documentSource: input.documentSource })), (input.jobArn !== undefined && input.jobArn !== null && { jobArn: input.jobArn })), (input.jobExecutionsRetryConfig !== undefined &&
|
|
940
|
+
input.jobExecutionsRetryConfig !== null && {
|
|
941
|
+
jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
|
|
942
|
+
})), (input.jobExecutionsRolloutConfig !== undefined &&
|
|
936
943
|
input.jobExecutionsRolloutConfig !== null && {
|
|
937
944
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
938
945
|
})), (input.presignedUrlConfig !== undefined &&
|
|
@@ -4792,7 +4799,7 @@ export var serializeAws_restJson1ListJobExecutionsForThingCommand = function (in
|
|
|
4792
4799
|
else {
|
|
4793
4800
|
throw new Error("No value provided for input HTTP label: thingName.");
|
|
4794
4801
|
}
|
|
4795
|
-
query = __assign(__assign(__assign(__assign({}, (input.status !== undefined && { status: input.status })), (input.namespaceId !== undefined && { namespaceId: input.namespaceId })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
4802
|
+
query = __assign(__assign(__assign(__assign(__assign({}, (input.status !== undefined && { status: input.status })), (input.namespaceId !== undefined && { namespaceId: input.namespaceId })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.jobId !== undefined && { jobId: input.jobId }));
|
|
4796
4803
|
return [2, new __HttpRequest({
|
|
4797
4804
|
protocol: protocol,
|
|
4798
4805
|
hostname: hostname,
|
|
@@ -6537,8 +6544,9 @@ export var serializeAws_restJson1UpdateAuthorizerCommand = function (input, cont
|
|
|
6537
6544
|
else {
|
|
6538
6545
|
throw new Error("No value provided for input HTTP label: authorizerName.");
|
|
6539
6546
|
}
|
|
6540
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.authorizerFunctionArn !== undefined &&
|
|
6541
|
-
input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn })), (input.
|
|
6547
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.authorizerFunctionArn !== undefined &&
|
|
6548
|
+
input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn })), (input.enableCachingForHttp !== undefined &&
|
|
6549
|
+
input.enableCachingForHttp !== null && { enableCachingForHttp: input.enableCachingForHttp })), (input.status !== undefined && input.status !== null && { status: input.status })), (input.tokenKeyName !== undefined && input.tokenKeyName !== null && { tokenKeyName: input.tokenKeyName })), (input.tokenSigningPublicKeys !== undefined &&
|
|
6542
6550
|
input.tokenSigningPublicKeys !== null && {
|
|
6543
6551
|
tokenSigningPublicKeys: serializeAws_restJson1PublicKeyMap(input.tokenSigningPublicKeys, context),
|
|
6544
6552
|
})));
|
|
@@ -6934,8 +6942,11 @@ export var serializeAws_restJson1UpdateJobCommand = function (input, context) {
|
|
|
6934
6942
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
6935
6943
|
}
|
|
6936
6944
|
query = __assign({}, (input.namespaceId !== undefined && { namespaceId: input.namespaceId }));
|
|
6937
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
6938
|
-
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.
|
|
6945
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
6946
|
+
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.jobExecutionsRetryConfig !== undefined &&
|
|
6947
|
+
input.jobExecutionsRetryConfig !== null && {
|
|
6948
|
+
jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
|
|
6949
|
+
})), (input.jobExecutionsRolloutConfig !== undefined &&
|
|
6939
6950
|
input.jobExecutionsRolloutConfig !== null && {
|
|
6940
6951
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
6941
6952
|
})), (input.presignedUrlConfig !== undefined &&
|
|
@@ -16869,6 +16880,7 @@ export var deserializeAws_restJson1DescribeJobTemplateCommand = function (output
|
|
|
16869
16880
|
description: undefined,
|
|
16870
16881
|
document: undefined,
|
|
16871
16882
|
documentSource: undefined,
|
|
16883
|
+
jobExecutionsRetryConfig: undefined,
|
|
16872
16884
|
jobExecutionsRolloutConfig: undefined,
|
|
16873
16885
|
jobTemplateArn: undefined,
|
|
16874
16886
|
jobTemplateId: undefined,
|
|
@@ -16895,6 +16907,9 @@ export var deserializeAws_restJson1DescribeJobTemplateCommand = function (output
|
|
|
16895
16907
|
if (data.documentSource !== undefined && data.documentSource !== null) {
|
|
16896
16908
|
contents.documentSource = __expectString(data.documentSource);
|
|
16897
16909
|
}
|
|
16910
|
+
if (data.jobExecutionsRetryConfig !== undefined && data.jobExecutionsRetryConfig !== null) {
|
|
16911
|
+
contents.jobExecutionsRetryConfig = deserializeAws_restJson1JobExecutionsRetryConfig(data.jobExecutionsRetryConfig, context);
|
|
16912
|
+
}
|
|
16898
16913
|
if (data.jobExecutionsRolloutConfig !== undefined && data.jobExecutionsRolloutConfig !== null) {
|
|
16899
16914
|
contents.jobExecutionsRolloutConfig = deserializeAws_restJson1JobExecutionsRolloutConfig(data.jobExecutionsRolloutConfig, context);
|
|
16900
16915
|
}
|
|
@@ -31654,6 +31669,12 @@ var serializeAws_restJson1IotSiteWiseAction = function (input, context) {
|
|
|
31654
31669
|
putAssetPropertyValueEntries: serializeAws_restJson1PutAssetPropertyValueEntryList(input.putAssetPropertyValueEntries, context),
|
|
31655
31670
|
})), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }));
|
|
31656
31671
|
};
|
|
31672
|
+
var serializeAws_restJson1JobExecutionsRetryConfig = function (input, context) {
|
|
31673
|
+
return __assign({}, (input.criteriaList !== undefined &&
|
|
31674
|
+
input.criteriaList !== null && {
|
|
31675
|
+
criteriaList: serializeAws_restJson1RetryCriteriaList(input.criteriaList, context),
|
|
31676
|
+
}));
|
|
31677
|
+
};
|
|
31657
31678
|
var serializeAws_restJson1JobExecutionsRolloutConfig = function (input, context) {
|
|
31658
31679
|
return __assign(__assign({}, (input.exponentialRate !== undefined &&
|
|
31659
31680
|
input.exponentialRate !== null && {
|
|
@@ -31919,6 +31940,20 @@ var serializeAws_restJson1Resources = function (input, context) {
|
|
|
31919
31940
|
return entry;
|
|
31920
31941
|
});
|
|
31921
31942
|
};
|
|
31943
|
+
var serializeAws_restJson1RetryCriteria = function (input, context) {
|
|
31944
|
+
return __assign(__assign({}, (input.failureType !== undefined && input.failureType !== null && { failureType: input.failureType })), (input.numberOfRetries !== undefined &&
|
|
31945
|
+
input.numberOfRetries !== null && { numberOfRetries: input.numberOfRetries }));
|
|
31946
|
+
};
|
|
31947
|
+
var serializeAws_restJson1RetryCriteriaList = function (input, context) {
|
|
31948
|
+
return input
|
|
31949
|
+
.filter(function (e) { return e != null; })
|
|
31950
|
+
.map(function (entry) {
|
|
31951
|
+
if (entry === null) {
|
|
31952
|
+
return null;
|
|
31953
|
+
}
|
|
31954
|
+
return serializeAws_restJson1RetryCriteria(entry, context);
|
|
31955
|
+
});
|
|
31956
|
+
};
|
|
31922
31957
|
var serializeAws_restJson1S3Action = function (input, context) {
|
|
31923
31958
|
return __assign(__assign(__assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.cannedAcl !== undefined && input.cannedAcl !== null && { cannedAcl: input.cannedAcl })), (input.key !== undefined && input.key !== null && { key: input.key })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }));
|
|
31924
31959
|
};
|
|
@@ -32719,6 +32754,7 @@ var deserializeAws_restJson1AuthorizerDescription = function (output, context) {
|
|
|
32719
32754
|
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
32720
32755
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
32721
32756
|
: undefined,
|
|
32757
|
+
enableCachingForHttp: __expectBoolean(output.enableCachingForHttp),
|
|
32722
32758
|
lastModifiedDate: output.lastModifiedDate !== undefined && output.lastModifiedDate !== null
|
|
32723
32759
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedDate)))
|
|
32724
32760
|
: undefined,
|
|
@@ -33514,6 +33550,9 @@ var deserializeAws_restJson1Job = function (output, context) {
|
|
|
33514
33550
|
: undefined,
|
|
33515
33551
|
forceCanceled: __expectBoolean(output.forceCanceled),
|
|
33516
33552
|
jobArn: __expectString(output.jobArn),
|
|
33553
|
+
jobExecutionsRetryConfig: output.jobExecutionsRetryConfig !== undefined && output.jobExecutionsRetryConfig !== null
|
|
33554
|
+
? deserializeAws_restJson1JobExecutionsRetryConfig(output.jobExecutionsRetryConfig, context)
|
|
33555
|
+
: undefined,
|
|
33517
33556
|
jobExecutionsRolloutConfig: output.jobExecutionsRolloutConfig !== undefined && output.jobExecutionsRolloutConfig !== null
|
|
33518
33557
|
? deserializeAws_restJson1JobExecutionsRolloutConfig(output.jobExecutionsRolloutConfig, context)
|
|
33519
33558
|
: undefined,
|
|
@@ -33563,6 +33602,13 @@ var deserializeAws_restJson1JobExecution = function (output, context) {
|
|
|
33563
33602
|
versionNumber: __expectLong(output.versionNumber),
|
|
33564
33603
|
};
|
|
33565
33604
|
};
|
|
33605
|
+
var deserializeAws_restJson1JobExecutionsRetryConfig = function (output, context) {
|
|
33606
|
+
return {
|
|
33607
|
+
criteriaList: output.criteriaList !== undefined && output.criteriaList !== null
|
|
33608
|
+
? deserializeAws_restJson1RetryCriteriaList(output.criteriaList, context)
|
|
33609
|
+
: undefined,
|
|
33610
|
+
};
|
|
33611
|
+
};
|
|
33566
33612
|
var deserializeAws_restJson1JobExecutionsRolloutConfig = function (output, context) {
|
|
33567
33613
|
return {
|
|
33568
33614
|
exponentialRate: output.exponentialRate !== undefined && output.exponentialRate !== null
|
|
@@ -33587,6 +33633,7 @@ var deserializeAws_restJson1JobExecutionSummary = function (output, context) {
|
|
|
33587
33633
|
queuedAt: output.queuedAt !== undefined && output.queuedAt !== null
|
|
33588
33634
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.queuedAt)))
|
|
33589
33635
|
: undefined,
|
|
33636
|
+
retryAttempt: __expectInt32(output.retryAttempt),
|
|
33590
33637
|
startedAt: output.startedAt !== undefined && output.startedAt !== null
|
|
33591
33638
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt)))
|
|
33592
33639
|
: undefined,
|
|
@@ -34353,6 +34400,22 @@ var deserializeAws_restJson1Resources = function (output, context) {
|
|
|
34353
34400
|
return __expectString(entry);
|
|
34354
34401
|
});
|
|
34355
34402
|
};
|
|
34403
|
+
var deserializeAws_restJson1RetryCriteria = function (output, context) {
|
|
34404
|
+
return {
|
|
34405
|
+
failureType: __expectString(output.failureType),
|
|
34406
|
+
numberOfRetries: __expectInt32(output.numberOfRetries),
|
|
34407
|
+
};
|
|
34408
|
+
};
|
|
34409
|
+
var deserializeAws_restJson1RetryCriteriaList = function (output, context) {
|
|
34410
|
+
return (output || [])
|
|
34411
|
+
.filter(function (e) { return e != null; })
|
|
34412
|
+
.map(function (entry) {
|
|
34413
|
+
if (entry === null) {
|
|
34414
|
+
return null;
|
|
34415
|
+
}
|
|
34416
|
+
return deserializeAws_restJson1RetryCriteria(entry, context);
|
|
34417
|
+
});
|
|
34418
|
+
};
|
|
34356
34419
|
var deserializeAws_restJson1RoleAliasDescription = function (output, context) {
|
|
34357
34420
|
return {
|
|
34358
34421
|
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|