@aws-sdk/client-iot 3.44.0 → 3.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/dist-cjs/commands/DeleteScheduledAuditCommand.js +3 -3
- package/dist-cjs/commands/DeleteSecurityProfileCommand.js +1 -2
- package/dist-cjs/commands/ListThingRegistrationTaskReportsCommand.js +3 -3
- package/dist-cjs/commands/ListThingRegistrationTasksCommand.js +1 -2
- package/dist-cjs/endpoints.js +1 -28
- package/dist-cjs/models/models_0.js +20 -158
- package/dist-cjs/models/models_1.js +24 -36
- package/dist-cjs/models/models_2.js +21 -39
- package/dist-cjs/protocols/Aws_restJson1.js +74 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/commands/DeleteScheduledAuditCommand.js +1 -1
- package/dist-es/commands/DeleteSecurityProfileCommand.js +1 -2
- package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +1 -1
- package/dist-es/commands/ListThingRegistrationTasksCommand.js +1 -2
- package/dist-es/endpoints.js +1 -28
- package/dist-es/models/models_0.js +14 -104
- package/dist-es/models/models_1.js +12 -20
- package/dist-es/models/models_2.js +12 -24
- package/dist-es/protocols/Aws_restJson1.js +74 -11
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/IoTClient.d.ts +5 -1
- package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
- package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +61 -173
- package/dist-types/models/models_1.d.ts +57 -81
- package/dist-types/models/models_2.d.ts +80 -38
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/IoTClient.d.ts +3 -1
- package/dist-types/ts3.4/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +31 -114
- package/dist-types/ts3.4/models/models_1.d.ts +33 -47
- package/dist-types/ts3.4/models/models_2.d.ts +44 -26
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
2
|
+
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
3
|
+
export interface DeleteScheduledAuditRequest {
|
|
4
|
+
|
|
5
|
+
scheduledAuditName: string | undefined;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace DeleteScheduledAuditRequest {
|
|
8
|
+
|
|
9
|
+
const filterSensitiveLog: (obj: DeleteScheduledAuditRequest) => any;
|
|
10
|
+
}
|
|
11
|
+
export interface DeleteScheduledAuditResponse {
|
|
12
|
+
}
|
|
13
|
+
export declare namespace DeleteScheduledAuditResponse {
|
|
14
|
+
|
|
15
|
+
const filterSensitiveLog: (obj: DeleteScheduledAuditResponse) => any;
|
|
16
|
+
}
|
|
17
|
+
export interface DeleteSecurityProfileRequest {
|
|
18
|
+
|
|
19
|
+
securityProfileName: string | undefined;
|
|
20
|
+
|
|
21
|
+
expectedVersion?: number;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace DeleteSecurityProfileRequest {
|
|
24
|
+
|
|
25
|
+
const filterSensitiveLog: (obj: DeleteSecurityProfileRequest) => any;
|
|
26
|
+
}
|
|
3
27
|
export interface DeleteSecurityProfileResponse {
|
|
4
28
|
}
|
|
5
29
|
export declare namespace DeleteSecurityProfileResponse {
|
|
@@ -908,6 +932,8 @@ export interface Job {
|
|
|
908
932
|
|
|
909
933
|
jobTemplateArn?: string;
|
|
910
934
|
|
|
935
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
936
|
+
|
|
911
937
|
documentParameters?: {
|
|
912
938
|
[key: string]: string;
|
|
913
939
|
};
|
|
@@ -1025,6 +1051,8 @@ export interface DescribeJobTemplateResponse {
|
|
|
1025
1051
|
abortConfig?: AbortConfig;
|
|
1026
1052
|
|
|
1027
1053
|
timeoutConfig?: TimeoutConfig;
|
|
1054
|
+
|
|
1055
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
1028
1056
|
}
|
|
1029
1057
|
export declare namespace DescribeJobTemplateResponse {
|
|
1030
1058
|
|
|
@@ -1083,10 +1111,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
1083
1111
|
$fault: "server";
|
|
1084
1112
|
message?: string;
|
|
1085
1113
|
}
|
|
1086
|
-
export declare namespace InternalServerException {
|
|
1087
|
-
|
|
1088
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
1089
|
-
}
|
|
1090
1114
|
export interface DescribeMitigationActionRequest {
|
|
1091
1115
|
|
|
1092
1116
|
actionName: string | undefined;
|
|
@@ -2162,10 +2186,6 @@ export interface NotConfiguredException extends __SmithyException, $MetadataBear
|
|
|
2162
2186
|
|
|
2163
2187
|
message?: string;
|
|
2164
2188
|
}
|
|
2165
|
-
export declare namespace NotConfiguredException {
|
|
2166
|
-
|
|
2167
|
-
const filterSensitiveLog: (obj: NotConfiguredException) => any;
|
|
2168
|
-
}
|
|
2169
2189
|
export declare enum BehaviorCriteriaType {
|
|
2170
2190
|
MACHINE_LEARNING = "MACHINE_LEARNING",
|
|
2171
2191
|
STATIC = "STATIC",
|
|
@@ -2756,6 +2776,8 @@ export interface JobExecutionSummary {
|
|
|
2756
2776
|
lastUpdatedAt?: Date;
|
|
2757
2777
|
|
|
2758
2778
|
executionNumber?: number;
|
|
2779
|
+
|
|
2780
|
+
retryAttempt?: number;
|
|
2759
2781
|
}
|
|
2760
2782
|
export declare namespace JobExecutionSummary {
|
|
2761
2783
|
|
|
@@ -2793,6 +2815,8 @@ export interface ListJobExecutionsForThingRequest {
|
|
|
2793
2815
|
maxResults?: number;
|
|
2794
2816
|
|
|
2795
2817
|
nextToken?: string;
|
|
2818
|
+
|
|
2819
|
+
jobId?: string;
|
|
2796
2820
|
}
|
|
2797
2821
|
export declare namespace ListJobExecutionsForThingRequest {
|
|
2798
2822
|
|
|
@@ -3579,41 +3603,3 @@ export declare enum ReportType {
|
|
|
3579
3603
|
ERRORS = "ERRORS",
|
|
3580
3604
|
RESULTS = "RESULTS"
|
|
3581
3605
|
}
|
|
3582
|
-
export interface ListThingRegistrationTaskReportsRequest {
|
|
3583
|
-
|
|
3584
|
-
taskId: string | undefined;
|
|
3585
|
-
|
|
3586
|
-
reportType: ReportType | string | undefined;
|
|
3587
|
-
|
|
3588
|
-
nextToken?: string;
|
|
3589
|
-
|
|
3590
|
-
maxResults?: number;
|
|
3591
|
-
}
|
|
3592
|
-
export declare namespace ListThingRegistrationTaskReportsRequest {
|
|
3593
|
-
|
|
3594
|
-
const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsRequest) => any;
|
|
3595
|
-
}
|
|
3596
|
-
export interface ListThingRegistrationTaskReportsResponse {
|
|
3597
|
-
|
|
3598
|
-
resourceLinks?: string[];
|
|
3599
|
-
|
|
3600
|
-
reportType?: ReportType | string;
|
|
3601
|
-
|
|
3602
|
-
nextToken?: string;
|
|
3603
|
-
}
|
|
3604
|
-
export declare namespace ListThingRegistrationTaskReportsResponse {
|
|
3605
|
-
|
|
3606
|
-
const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsResponse) => any;
|
|
3607
|
-
}
|
|
3608
|
-
export interface ListThingRegistrationTasksRequest {
|
|
3609
|
-
|
|
3610
|
-
nextToken?: string;
|
|
3611
|
-
|
|
3612
|
-
maxResults?: number;
|
|
3613
|
-
|
|
3614
|
-
status?: Status | string;
|
|
3615
|
-
}
|
|
3616
|
-
export declare namespace ListThingRegistrationTasksRequest {
|
|
3617
|
-
|
|
3618
|
-
const filterSensitiveLog: (obj: ListThingRegistrationTasksRequest) => any;
|
|
3619
|
-
}
|
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
3
|
-
import { BehaviorCriteriaType, CACertificateStatus, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
2
|
+
import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
3
|
+
import { BehaviorCriteriaType, CACertificateStatus, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, ReportType, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
4
|
+
export interface ListThingRegistrationTaskReportsRequest {
|
|
5
|
+
|
|
6
|
+
taskId: string | undefined;
|
|
7
|
+
|
|
8
|
+
reportType: ReportType | string | undefined;
|
|
9
|
+
|
|
10
|
+
nextToken?: string;
|
|
11
|
+
|
|
12
|
+
maxResults?: number;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace ListThingRegistrationTaskReportsRequest {
|
|
15
|
+
|
|
16
|
+
const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsRequest) => any;
|
|
17
|
+
}
|
|
18
|
+
export interface ListThingRegistrationTaskReportsResponse {
|
|
19
|
+
|
|
20
|
+
resourceLinks?: string[];
|
|
21
|
+
|
|
22
|
+
reportType?: ReportType | string;
|
|
23
|
+
|
|
24
|
+
nextToken?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace ListThingRegistrationTaskReportsResponse {
|
|
27
|
+
|
|
28
|
+
const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsResponse) => any;
|
|
29
|
+
}
|
|
30
|
+
export interface ListThingRegistrationTasksRequest {
|
|
31
|
+
|
|
32
|
+
nextToken?: string;
|
|
33
|
+
|
|
34
|
+
maxResults?: number;
|
|
35
|
+
|
|
36
|
+
status?: Status | string;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace ListThingRegistrationTasksRequest {
|
|
39
|
+
|
|
40
|
+
const filterSensitiveLog: (obj: ListThingRegistrationTasksRequest) => any;
|
|
41
|
+
}
|
|
4
42
|
export interface ListThingRegistrationTasksResponse {
|
|
5
43
|
|
|
6
44
|
taskIds?: string[];
|
|
@@ -418,10 +456,6 @@ export interface RegistrationCodeValidationException extends __SmithyException,
|
|
|
418
456
|
|
|
419
457
|
message?: string;
|
|
420
458
|
}
|
|
421
|
-
export declare namespace RegistrationCodeValidationException {
|
|
422
|
-
|
|
423
|
-
const filterSensitiveLog: (obj: RegistrationCodeValidationException) => any;
|
|
424
|
-
}
|
|
425
459
|
|
|
426
460
|
export interface CertificateConflictException extends __SmithyException, $MetadataBearer {
|
|
427
461
|
name: "CertificateConflictException";
|
|
@@ -429,10 +463,6 @@ export interface CertificateConflictException extends __SmithyException, $Metada
|
|
|
429
463
|
|
|
430
464
|
message?: string;
|
|
431
465
|
}
|
|
432
|
-
export declare namespace CertificateConflictException {
|
|
433
|
-
|
|
434
|
-
const filterSensitiveLog: (obj: CertificateConflictException) => any;
|
|
435
|
-
}
|
|
436
466
|
|
|
437
467
|
export interface RegisterCertificateRequest {
|
|
438
468
|
|
|
@@ -510,10 +540,6 @@ export interface ResourceRegistrationFailureException extends __SmithyException,
|
|
|
510
540
|
|
|
511
541
|
message?: string;
|
|
512
542
|
}
|
|
513
|
-
export declare namespace ResourceRegistrationFailureException {
|
|
514
|
-
|
|
515
|
-
const filterSensitiveLog: (obj: ResourceRegistrationFailureException) => any;
|
|
516
|
-
}
|
|
517
543
|
|
|
518
544
|
export interface RejectCertificateTransferRequest {
|
|
519
545
|
|
|
@@ -762,10 +788,6 @@ export interface TaskAlreadyExistsException extends __SmithyException, $Metadata
|
|
|
762
788
|
$fault: "client";
|
|
763
789
|
message?: string;
|
|
764
790
|
}
|
|
765
|
-
export declare namespace TaskAlreadyExistsException {
|
|
766
|
-
|
|
767
|
-
const filterSensitiveLog: (obj: TaskAlreadyExistsException) => any;
|
|
768
|
-
}
|
|
769
791
|
export interface StartDetectMitigationActionsTaskRequest {
|
|
770
792
|
|
|
771
793
|
taskId: string | undefined;
|
|
@@ -895,10 +917,6 @@ export interface InvalidResponseException extends __SmithyException, $MetadataBe
|
|
|
895
917
|
|
|
896
918
|
message?: string;
|
|
897
919
|
}
|
|
898
|
-
export declare namespace InvalidResponseException {
|
|
899
|
-
|
|
900
|
-
const filterSensitiveLog: (obj: InvalidResponseException) => any;
|
|
901
|
-
}
|
|
902
920
|
|
|
903
921
|
export interface HttpContext {
|
|
904
922
|
|
|
@@ -997,10 +1015,6 @@ export interface TransferConflictException extends __SmithyException, $MetadataB
|
|
|
997
1015
|
|
|
998
1016
|
message?: string;
|
|
999
1017
|
}
|
|
1000
|
-
export declare namespace TransferConflictException {
|
|
1001
|
-
|
|
1002
|
-
const filterSensitiveLog: (obj: TransferConflictException) => any;
|
|
1003
|
-
}
|
|
1004
1018
|
export interface UntagResourceRequest {
|
|
1005
1019
|
|
|
1006
1020
|
resourceArn: string | undefined;
|
|
@@ -1074,6 +1088,8 @@ export interface UpdateAuthorizerRequest {
|
|
|
1074
1088
|
};
|
|
1075
1089
|
|
|
1076
1090
|
status?: AuthorizerStatus | string;
|
|
1091
|
+
|
|
1092
|
+
enableCachingForHttp?: boolean;
|
|
1077
1093
|
}
|
|
1078
1094
|
export declare namespace UpdateAuthorizerRequest {
|
|
1079
1095
|
|
|
@@ -1316,6 +1332,8 @@ export interface UpdateJobRequest {
|
|
|
1316
1332
|
timeoutConfig?: TimeoutConfig;
|
|
1317
1333
|
|
|
1318
1334
|
namespaceId?: string;
|
|
1335
|
+
|
|
1336
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
1319
1337
|
}
|
|
1320
1338
|
export declare namespace UpdateJobRequest {
|
|
1321
1339
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { IoTClientConfig } from "./IoTClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { IoTClientConfig } from "./IoTClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
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.47.1",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,50 +18,46 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.1",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.1",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.1",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.1",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.1",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.1",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.1",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.1",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.1",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.1",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.1",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.1",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.1",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.1",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.1",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.1",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.1",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.1",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.1",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.1",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.1",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.1",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.1",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.1",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.1",
|
|
52
51
|
"tslib": "^2.3.0",
|
|
53
52
|
"uuid": "^8.3.2"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
57
56
|
"@types/node": "^12.7.5",
|
|
58
|
-
"@types/uuid": "^8.3.0"
|
|
59
|
-
"downlevel-dts": "0.7.0",
|
|
60
|
-
"jest": "^26.1.0",
|
|
61
|
-
"rimraf": "^3.0.0",
|
|
62
|
-
"ts-jest": "^26.4.1",
|
|
63
|
-
"typedoc": "^0.19.2",
|
|
64
|
-
"typescript": "~4.3.5"
|
|
57
|
+
"@types/uuid": "^8.3.0"
|
|
65
58
|
},
|
|
66
59
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
60
|
+
"node": ">=12.0.0"
|
|
68
61
|
},
|
|
69
62
|
"typesVersions": {
|
|
70
63
|
"<4.0": {
|