@aws-sdk/client-iot 3.252.0 → 3.254.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -372,9 +372,7 @@ const serializeAws_restJson1CreateAuditSuppressionCommand = async (input, contex
|
|
|
372
372
|
...(input.checkName != null && { checkName: input.checkName }),
|
|
373
373
|
clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
|
|
374
374
|
...(input.description != null && { description: input.description }),
|
|
375
|
-
...(input.expirationDate != null && {
|
|
376
|
-
expirationDate: Math.round(input.expirationDate.getTime() / 1000).toString(),
|
|
377
|
-
}),
|
|
375
|
+
...(input.expirationDate != null && { expirationDate: Math.round(input.expirationDate.getTime() / 1000) }),
|
|
378
376
|
...(input.resourceIdentifier != null && {
|
|
379
377
|
resourceIdentifier: serializeAws_restJson1ResourceIdentifier(input.resourceIdentifier, context),
|
|
380
378
|
}),
|
|
@@ -2865,14 +2863,14 @@ const serializeAws_restJson1ListAuditFindingsCommand = async (input, context) =>
|
|
|
2865
2863
|
let body;
|
|
2866
2864
|
body = JSON.stringify({
|
|
2867
2865
|
...(input.checkName != null && { checkName: input.checkName }),
|
|
2868
|
-
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000)
|
|
2866
|
+
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
2869
2867
|
...(input.listSuppressedFindings != null && { listSuppressedFindings: input.listSuppressedFindings }),
|
|
2870
2868
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2871
2869
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2872
2870
|
...(input.resourceIdentifier != null && {
|
|
2873
2871
|
resourceIdentifier: serializeAws_restJson1ResourceIdentifier(input.resourceIdentifier, context),
|
|
2874
2872
|
}),
|
|
2875
|
-
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000)
|
|
2873
|
+
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
2876
2874
|
...(input.taskId != null && { taskId: input.taskId }),
|
|
2877
2875
|
});
|
|
2878
2876
|
return new protocol_http_1.HttpRequest({
|
|
@@ -2922,11 +2920,11 @@ const serializeAws_restJson1ListAuditMitigationActionsTasksCommand = async (inpu
|
|
|
2922
2920
|
nextToken: [, input.nextToken],
|
|
2923
2921
|
startTime: [
|
|
2924
2922
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
2925
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
2923
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
2926
2924
|
],
|
|
2927
2925
|
endTime: [
|
|
2928
2926
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
2929
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
2927
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
2930
2928
|
],
|
|
2931
2929
|
});
|
|
2932
2930
|
let body;
|
|
@@ -2976,11 +2974,11 @@ const serializeAws_restJson1ListAuditTasksCommand = async (input, context) => {
|
|
|
2976
2974
|
const query = map({
|
|
2977
2975
|
startTime: [
|
|
2978
2976
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
2979
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
2977
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
2980
2978
|
],
|
|
2981
2979
|
endTime: [
|
|
2982
2980
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
2983
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
2981
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
2984
2982
|
],
|
|
2985
2983
|
taskType: [, input.taskType],
|
|
2986
2984
|
taskStatus: [, input.taskStatus],
|
|
@@ -3142,8 +3140,11 @@ const serializeAws_restJson1ListDetectMitigationActionsExecutionsCommand = async
|
|
|
3142
3140
|
taskId: [, input.taskId],
|
|
3143
3141
|
violationId: [, input.violationId],
|
|
3144
3142
|
thingName: [, input.thingName],
|
|
3145
|
-
startTime: [
|
|
3146
|
-
|
|
3143
|
+
startTime: [
|
|
3144
|
+
() => input.startTime !== void 0,
|
|
3145
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3146
|
+
],
|
|
3147
|
+
endTime: [() => input.endTime !== void 0, () => (input.endTime.toISOString().split(".")[0] + "Z").toString()],
|
|
3147
3148
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
3148
3149
|
nextToken: [, input.nextToken],
|
|
3149
3150
|
});
|
|
@@ -3169,11 +3170,11 @@ const serializeAws_restJson1ListDetectMitigationActionsTasksCommand = async (inp
|
|
|
3169
3170
|
nextToken: [, input.nextToken],
|
|
3170
3171
|
startTime: [
|
|
3171
3172
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
3172
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
3173
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3173
3174
|
],
|
|
3174
3175
|
endTime: [
|
|
3175
3176
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
3176
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
3177
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3177
3178
|
],
|
|
3178
3179
|
});
|
|
3179
3180
|
let body;
|
|
@@ -3402,11 +3403,11 @@ const serializeAws_restJson1ListMetricValuesCommand = async (input, context) =>
|
|
|
3402
3403
|
dimensionValueOperator: [, input.dimensionValueOperator],
|
|
3403
3404
|
startTime: [
|
|
3404
3405
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
3405
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
3406
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3406
3407
|
],
|
|
3407
3408
|
endTime: [
|
|
3408
3409
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
3409
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
3410
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3410
3411
|
],
|
|
3411
3412
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
3412
3413
|
nextToken: [, input.nextToken],
|
|
@@ -4125,11 +4126,11 @@ const serializeAws_restJson1ListViolationEventsCommand = async (input, context)
|
|
|
4125
4126
|
const query = map({
|
|
4126
4127
|
startTime: [
|
|
4127
4128
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
4128
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
4129
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
4129
4130
|
],
|
|
4130
4131
|
endTime: [
|
|
4131
4132
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
4132
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
4133
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
4133
4134
|
],
|
|
4134
4135
|
thingName: [, input.thingName],
|
|
4135
4136
|
securityProfileName: [, input.securityProfileName],
|
|
@@ -4810,9 +4811,7 @@ const serializeAws_restJson1UpdateAuditSuppressionCommand = async (input, contex
|
|
|
4810
4811
|
body = JSON.stringify({
|
|
4811
4812
|
...(input.checkName != null && { checkName: input.checkName }),
|
|
4812
4813
|
...(input.description != null && { description: input.description }),
|
|
4813
|
-
...(input.expirationDate != null && {
|
|
4814
|
-
expirationDate: Math.round(input.expirationDate.getTime() / 1000).toString(),
|
|
4815
|
-
}),
|
|
4814
|
+
...(input.expirationDate != null && { expirationDate: Math.round(input.expirationDate.getTime() / 1000) }),
|
|
4816
4815
|
...(input.resourceIdentifier != null && {
|
|
4817
4816
|
resourceIdentifier: serializeAws_restJson1ResourceIdentifier(input.resourceIdentifier, context),
|
|
4818
4817
|
}),
|
|
@@ -18910,8 +18909,8 @@ const serializeAws_restJson1UserProperty = (input, context) => {
|
|
|
18910
18909
|
};
|
|
18911
18910
|
const serializeAws_restJson1ViolationEventOccurrenceRange = (input, context) => {
|
|
18912
18911
|
return {
|
|
18913
|
-
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000)
|
|
18914
|
-
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000)
|
|
18912
|
+
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
18913
|
+
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
18915
18914
|
};
|
|
18916
18915
|
};
|
|
18917
18916
|
const serializeAws_restJson1VpcDestinationConfiguration = (input, context) => {
|
|
@@ -344,9 +344,7 @@ export const serializeAws_restJson1CreateAuditSuppressionCommand = async (input,
|
|
|
344
344
|
...(input.checkName != null && { checkName: input.checkName }),
|
|
345
345
|
clientRequestToken: input.clientRequestToken ?? generateIdempotencyToken(),
|
|
346
346
|
...(input.description != null && { description: input.description }),
|
|
347
|
-
...(input.expirationDate != null && {
|
|
348
|
-
expirationDate: Math.round(input.expirationDate.getTime() / 1000).toString(),
|
|
349
|
-
}),
|
|
347
|
+
...(input.expirationDate != null && { expirationDate: Math.round(input.expirationDate.getTime() / 1000) }),
|
|
350
348
|
...(input.resourceIdentifier != null && {
|
|
351
349
|
resourceIdentifier: serializeAws_restJson1ResourceIdentifier(input.resourceIdentifier, context),
|
|
352
350
|
}),
|
|
@@ -2720,14 +2718,14 @@ export const serializeAws_restJson1ListAuditFindingsCommand = async (input, cont
|
|
|
2720
2718
|
let body;
|
|
2721
2719
|
body = JSON.stringify({
|
|
2722
2720
|
...(input.checkName != null && { checkName: input.checkName }),
|
|
2723
|
-
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000)
|
|
2721
|
+
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
2724
2722
|
...(input.listSuppressedFindings != null && { listSuppressedFindings: input.listSuppressedFindings }),
|
|
2725
2723
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2726
2724
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2727
2725
|
...(input.resourceIdentifier != null && {
|
|
2728
2726
|
resourceIdentifier: serializeAws_restJson1ResourceIdentifier(input.resourceIdentifier, context),
|
|
2729
2727
|
}),
|
|
2730
|
-
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000)
|
|
2728
|
+
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
2731
2729
|
...(input.taskId != null && { taskId: input.taskId }),
|
|
2732
2730
|
});
|
|
2733
2731
|
return new __HttpRequest({
|
|
@@ -2775,11 +2773,11 @@ export const serializeAws_restJson1ListAuditMitigationActionsTasksCommand = asyn
|
|
|
2775
2773
|
nextToken: [, input.nextToken],
|
|
2776
2774
|
startTime: [
|
|
2777
2775
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
2778
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
2776
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
2779
2777
|
],
|
|
2780
2778
|
endTime: [
|
|
2781
2779
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
2782
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
2780
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
2783
2781
|
],
|
|
2784
2782
|
});
|
|
2785
2783
|
let body;
|
|
@@ -2827,11 +2825,11 @@ export const serializeAws_restJson1ListAuditTasksCommand = async (input, context
|
|
|
2827
2825
|
const query = map({
|
|
2828
2826
|
startTime: [
|
|
2829
2827
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
2830
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
2828
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
2831
2829
|
],
|
|
2832
2830
|
endTime: [
|
|
2833
2831
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
2834
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
2832
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
2835
2833
|
],
|
|
2836
2834
|
taskType: [, input.taskType],
|
|
2837
2835
|
taskStatus: [, input.taskStatus],
|
|
@@ -2986,8 +2984,11 @@ export const serializeAws_restJson1ListDetectMitigationActionsExecutionsCommand
|
|
|
2986
2984
|
taskId: [, input.taskId],
|
|
2987
2985
|
violationId: [, input.violationId],
|
|
2988
2986
|
thingName: [, input.thingName],
|
|
2989
|
-
startTime: [
|
|
2990
|
-
|
|
2987
|
+
startTime: [
|
|
2988
|
+
() => input.startTime !== void 0,
|
|
2989
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
2990
|
+
],
|
|
2991
|
+
endTime: [() => input.endTime !== void 0, () => (input.endTime.toISOString().split(".")[0] + "Z").toString()],
|
|
2991
2992
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
2992
2993
|
nextToken: [, input.nextToken],
|
|
2993
2994
|
});
|
|
@@ -3012,11 +3013,11 @@ export const serializeAws_restJson1ListDetectMitigationActionsTasksCommand = asy
|
|
|
3012
3013
|
nextToken: [, input.nextToken],
|
|
3013
3014
|
startTime: [
|
|
3014
3015
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
3015
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
3016
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3016
3017
|
],
|
|
3017
3018
|
endTime: [
|
|
3018
3019
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
3019
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
3020
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3020
3021
|
],
|
|
3021
3022
|
});
|
|
3022
3023
|
let body;
|
|
@@ -3235,11 +3236,11 @@ export const serializeAws_restJson1ListMetricValuesCommand = async (input, conte
|
|
|
3235
3236
|
dimensionValueOperator: [, input.dimensionValueOperator],
|
|
3236
3237
|
startTime: [
|
|
3237
3238
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
3238
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
3239
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3239
3240
|
],
|
|
3240
3241
|
endTime: [
|
|
3241
3242
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
3242
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
3243
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3243
3244
|
],
|
|
3244
3245
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
3245
3246
|
nextToken: [, input.nextToken],
|
|
@@ -3926,11 +3927,11 @@ export const serializeAws_restJson1ListViolationEventsCommand = async (input, co
|
|
|
3926
3927
|
const query = map({
|
|
3927
3928
|
startTime: [
|
|
3928
3929
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
3929
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
3930
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3930
3931
|
],
|
|
3931
3932
|
endTime: [
|
|
3932
3933
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
3933
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
3934
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
3934
3935
|
],
|
|
3935
3936
|
thingName: [, input.thingName],
|
|
3936
3937
|
securityProfileName: [, input.securityProfileName],
|
|
@@ -4584,9 +4585,7 @@ export const serializeAws_restJson1UpdateAuditSuppressionCommand = async (input,
|
|
|
4584
4585
|
body = JSON.stringify({
|
|
4585
4586
|
...(input.checkName != null && { checkName: input.checkName }),
|
|
4586
4587
|
...(input.description != null && { description: input.description }),
|
|
4587
|
-
...(input.expirationDate != null && {
|
|
4588
|
-
expirationDate: Math.round(input.expirationDate.getTime() / 1000).toString(),
|
|
4589
|
-
}),
|
|
4588
|
+
...(input.expirationDate != null && { expirationDate: Math.round(input.expirationDate.getTime() / 1000) }),
|
|
4590
4589
|
...(input.resourceIdentifier != null && {
|
|
4591
4590
|
resourceIdentifier: serializeAws_restJson1ResourceIdentifier(input.resourceIdentifier, context),
|
|
4592
4591
|
}),
|
|
@@ -18422,8 +18421,8 @@ const serializeAws_restJson1UserProperty = (input, context) => {
|
|
|
18422
18421
|
};
|
|
18423
18422
|
const serializeAws_restJson1ViolationEventOccurrenceRange = (input, context) => {
|
|
18424
18423
|
return {
|
|
18425
|
-
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000)
|
|
18426
|
-
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000)
|
|
18424
|
+
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
18425
|
+
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
18427
18426
|
};
|
|
18428
18427
|
};
|
|
18429
18428
|
const serializeAws_restJson1VpcDestinationConfiguration = (input, context) => {
|
|
@@ -6,7 +6,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { AcceptCertificateTransferCommandInput, AcceptCertificateTransferCommandOutput } from "./commands/AcceptCertificateTransferCommand";
|
|
11
11
|
import { AddThingToBillingGroupCommandInput, AddThingToBillingGroupCommandOutput } from "./commands/AddThingToBillingGroupCommand";
|
|
12
12
|
import { AddThingToThingGroupCommandInput, AddThingToThingGroupCommandOutput } from "./commands/AddThingToThingGroupCommand";
|
|
@@ -254,11 +254,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
254
254
|
*/
|
|
255
255
|
requestHandler?: __HttpHandler;
|
|
256
256
|
/**
|
|
257
|
-
* A constructor for a class implementing the {@link
|
|
257
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
258
258
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
259
259
|
* @internal
|
|
260
260
|
*/
|
|
261
|
-
sha256?: __HashConstructor;
|
|
261
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
262
262
|
/**
|
|
263
263
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
264
264
|
* @internal
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
32
32
|
import {
|
|
33
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
34
35
|
Credentials as __Credentials,
|
|
35
36
|
Decoder as __Decoder,
|
|
36
37
|
Encoder as __Encoder,
|
|
@@ -1481,7 +1482,7 @@ export declare type ServiceOutputTypes =
|
|
|
1481
1482
|
export interface ClientDefaults
|
|
1482
1483
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
1483
1484
|
requestHandler?: __HttpHandler;
|
|
1484
|
-
sha256?: __HashConstructor;
|
|
1485
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
1485
1486
|
urlParser?: __UrlParser;
|
|
1486
1487
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
1487
1488
|
streamCollector?: __StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.254.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,39 +18,39 @@
|
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.254.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.254.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.254.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.254.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.254.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.254.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
43
|
+
"@aws-sdk/types": "3.254.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"tslib": "^2.3.1",
|