@aws-sdk/client-iot 3.651.1 → 3.652.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.
- package/README.md +24 -0
- package/dist-cjs/index.js +276 -91
- package/dist-es/IoT.js +6 -0
- package/dist-es/commands/AssociateSbomWithPackageVersionCommand.js +22 -0
- package/dist-es/commands/DisassociateSbomFromPackageVersionCommand.js +22 -0
- package/dist-es/commands/ListSbomValidationResultsCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +55 -49
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/models/models_2.js +9 -0
- package/dist-es/pagination/ListSbomValidationResultsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +118 -14
- package/dist-types/IoT.d.ts +21 -0
- package/dist-types/IoTClient.d.ts +5 -2
- package/dist-types/commands/AssociateSbomWithPackageVersionCommand.d.ts +98 -0
- package/dist-types/commands/CreatePackageVersionCommand.d.ts +8 -0
- package/dist-types/commands/DeleteCACertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCertificateProviderCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateSbomFromPackageVersionCommand.d.ts +77 -0
- package/dist-types/commands/GetJobDocumentCommand.d.ts +1 -0
- package/dist-types/commands/GetPackageVersionCommand.d.ts +16 -0
- package/dist-types/commands/ListMetricValuesCommand.d.ts +2 -1
- package/dist-types/commands/ListMitigationActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListOTAUpdatesCommand.d.ts +1 -1
- package/dist-types/commands/ListSbomValidationResultsCommand.d.ts +86 -0
- package/dist-types/commands/UpdatePackageVersionCommand.d.ts +8 -0
- package/dist-types/commands/UpdateStreamCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +171 -121
- package/dist-types/models/models_1.d.ts +109 -129
- package/dist-types/models/models_2.d.ts +238 -2
- package/dist-types/pagination/ListSbomValidationResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/IoT.d.ts +57 -0
- package/dist-types/ts3.4/IoTClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateSbomWithPackageVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteCACertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCertificateProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateSbomFromPackageVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListMetricValuesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListMitigationActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOTAUpdatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSbomValidationResultsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -43
- package/dist-types/ts3.4/models/models_1.d.ts +27 -32
- package/dist-types/ts3.4/models/models_2.d.ts +67 -0
- package/dist-types/ts3.4/pagination/ListSbomValidationResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ListOTAUpdatesRequest,
|
|
10
10
|
ListOTAUpdatesResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_2";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ListOTAUpdatesCommandInput extends ListOTAUpdatesRequest {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IoTClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IoTClient";
|
|
8
|
+
import {
|
|
9
|
+
ListSbomValidationResultsRequest,
|
|
10
|
+
ListSbomValidationResultsResponse,
|
|
11
|
+
} from "../models/models_2";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListSbomValidationResultsCommandInput
|
|
15
|
+
extends ListSbomValidationResultsRequest {}
|
|
16
|
+
export interface ListSbomValidationResultsCommandOutput
|
|
17
|
+
extends ListSbomValidationResultsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListSbomValidationResultsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListSbomValidationResultsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListSbomValidationResultsCommandInput,
|
|
24
|
+
ListSbomValidationResultsCommandOutput,
|
|
25
|
+
IoTClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListSbomValidationResultsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListSbomValidationResultsCommandInput,
|
|
33
|
+
ListSbomValidationResultsCommandOutput,
|
|
34
|
+
IoTClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListSbomValidationResultsCommand extends ListSbomValidationResultsCommand_base {}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AcceptCertificateTransferCommand";
|
|
2
2
|
export * from "./AddThingToBillingGroupCommand";
|
|
3
3
|
export * from "./AddThingToThingGroupCommand";
|
|
4
|
+
export * from "./AssociateSbomWithPackageVersionCommand";
|
|
4
5
|
export * from "./AssociateTargetsWithJobCommand";
|
|
5
6
|
export * from "./AttachPolicyCommand";
|
|
6
7
|
export * from "./AttachPrincipalPolicyCommand";
|
|
@@ -119,6 +120,7 @@ export * from "./DetachPrincipalPolicyCommand";
|
|
|
119
120
|
export * from "./DetachSecurityProfileCommand";
|
|
120
121
|
export * from "./DetachThingPrincipalCommand";
|
|
121
122
|
export * from "./DisableTopicRuleCommand";
|
|
123
|
+
export * from "./DisassociateSbomFromPackageVersionCommand";
|
|
122
124
|
export * from "./EnableTopicRuleCommand";
|
|
123
125
|
export * from "./GetBehaviorModelTrainingSummariesCommand";
|
|
124
126
|
export * from "./GetBucketsAggregationCommand";
|
|
@@ -179,6 +181,7 @@ export * from "./ListProvisioningTemplateVersionsCommand";
|
|
|
179
181
|
export * from "./ListProvisioningTemplatesCommand";
|
|
180
182
|
export * from "./ListRelatedResourcesForAuditFindingCommand";
|
|
181
183
|
export * from "./ListRoleAliasesCommand";
|
|
184
|
+
export * from "./ListSbomValidationResultsCommand";
|
|
182
185
|
export * from "./ListScheduledAuditsCommand";
|
|
183
186
|
export * from "./ListSecurityProfilesCommand";
|
|
184
187
|
export * from "./ListSecurityProfilesForTargetCommand";
|
|
@@ -516,6 +516,60 @@ export interface Policy {
|
|
|
516
516
|
export interface Allowed {
|
|
517
517
|
policies?: Policy[];
|
|
518
518
|
}
|
|
519
|
+
export interface S3Location {
|
|
520
|
+
bucket?: string;
|
|
521
|
+
key?: string;
|
|
522
|
+
version?: string;
|
|
523
|
+
}
|
|
524
|
+
export interface Sbom {
|
|
525
|
+
s3Location?: S3Location;
|
|
526
|
+
}
|
|
527
|
+
export interface AssociateSbomWithPackageVersionRequest {
|
|
528
|
+
packageName: string | undefined;
|
|
529
|
+
versionName: string | undefined;
|
|
530
|
+
sbom: Sbom | undefined;
|
|
531
|
+
clientToken?: string;
|
|
532
|
+
}
|
|
533
|
+
export declare const SbomValidationStatus: {
|
|
534
|
+
readonly FAILED: "FAILED";
|
|
535
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
536
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
537
|
+
};
|
|
538
|
+
export type SbomValidationStatus =
|
|
539
|
+
(typeof SbomValidationStatus)[keyof typeof SbomValidationStatus];
|
|
540
|
+
export interface AssociateSbomWithPackageVersionResponse {
|
|
541
|
+
packageName?: string;
|
|
542
|
+
versionName?: string;
|
|
543
|
+
sbom?: Sbom;
|
|
544
|
+
sbomValidationStatus?: SbomValidationStatus;
|
|
545
|
+
}
|
|
546
|
+
export declare class ConflictException extends __BaseException {
|
|
547
|
+
readonly name: "ConflictException";
|
|
548
|
+
readonly $fault: "client";
|
|
549
|
+
resourceId?: string;
|
|
550
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
551
|
+
}
|
|
552
|
+
export declare class InternalServerException extends __BaseException {
|
|
553
|
+
readonly name: "InternalServerException";
|
|
554
|
+
readonly $fault: "server";
|
|
555
|
+
constructor(
|
|
556
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
557
|
+
);
|
|
558
|
+
}
|
|
559
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
560
|
+
readonly name: "ServiceQuotaExceededException";
|
|
561
|
+
readonly $fault: "client";
|
|
562
|
+
constructor(
|
|
563
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
564
|
+
);
|
|
565
|
+
}
|
|
566
|
+
export declare class ValidationException extends __BaseException {
|
|
567
|
+
readonly name: "ValidationException";
|
|
568
|
+
readonly $fault: "client";
|
|
569
|
+
constructor(
|
|
570
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
571
|
+
);
|
|
572
|
+
}
|
|
519
573
|
export interface AssociateTargetsWithJobRequest {
|
|
520
574
|
targets: string[] | undefined;
|
|
521
575
|
jobId: string | undefined;
|
|
@@ -1172,12 +1226,6 @@ export interface CreateJobResponse {
|
|
|
1172
1226
|
jobId?: string;
|
|
1173
1227
|
description?: string;
|
|
1174
1228
|
}
|
|
1175
|
-
export declare class ConflictException extends __BaseException {
|
|
1176
|
-
readonly name: "ConflictException";
|
|
1177
|
-
readonly $fault: "client";
|
|
1178
|
-
resourceId?: string;
|
|
1179
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
1180
|
-
}
|
|
1181
1229
|
export interface CreateJobTemplateRequest {
|
|
1182
1230
|
jobTemplateId: string | undefined;
|
|
1183
1231
|
jobArn?: string;
|
|
@@ -1343,11 +1391,6 @@ export interface CodeSigning {
|
|
|
1343
1391
|
startSigningJobParameter?: StartSigningJobParameter;
|
|
1344
1392
|
customCodeSigning?: CustomCodeSigning;
|
|
1345
1393
|
}
|
|
1346
|
-
export interface S3Location {
|
|
1347
|
-
bucket?: string;
|
|
1348
|
-
key?: string;
|
|
1349
|
-
version?: string;
|
|
1350
|
-
}
|
|
1351
1394
|
export interface _Stream {
|
|
1352
1395
|
streamId?: string;
|
|
1353
1396
|
fileId?: number;
|
|
@@ -1412,32 +1455,16 @@ export interface CreatePackageResponse {
|
|
|
1412
1455
|
packageArn?: string;
|
|
1413
1456
|
description?: string;
|
|
1414
1457
|
}
|
|
1415
|
-
export
|
|
1416
|
-
|
|
1417
|
-
readonly $fault: "server";
|
|
1418
|
-
constructor(
|
|
1419
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
1420
|
-
);
|
|
1421
|
-
}
|
|
1422
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1423
|
-
readonly name: "ServiceQuotaExceededException";
|
|
1424
|
-
readonly $fault: "client";
|
|
1425
|
-
constructor(
|
|
1426
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
1427
|
-
);
|
|
1428
|
-
}
|
|
1429
|
-
export declare class ValidationException extends __BaseException {
|
|
1430
|
-
readonly name: "ValidationException";
|
|
1431
|
-
readonly $fault: "client";
|
|
1432
|
-
constructor(
|
|
1433
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
1434
|
-
);
|
|
1458
|
+
export interface PackageVersionArtifact {
|
|
1459
|
+
s3Location?: S3Location;
|
|
1435
1460
|
}
|
|
1436
1461
|
export interface CreatePackageVersionRequest {
|
|
1437
1462
|
packageName: string | undefined;
|
|
1438
1463
|
versionName: string | undefined;
|
|
1439
1464
|
description?: string;
|
|
1440
1465
|
attributes?: Record<string, string>;
|
|
1466
|
+
artifact?: PackageVersionArtifact;
|
|
1467
|
+
recipe?: string;
|
|
1441
1468
|
tags?: Record<string, string>;
|
|
1442
1469
|
clientToken?: string;
|
|
1443
1470
|
}
|
|
@@ -1735,18 +1762,6 @@ export declare class CertificateStateException extends __BaseException {
|
|
|
1735
1762
|
opts: __ExceptionOptionType<CertificateStateException, __BaseException>
|
|
1736
1763
|
);
|
|
1737
1764
|
}
|
|
1738
|
-
export interface DeleteCACertificateRequest {
|
|
1739
|
-
certificateId: string | undefined;
|
|
1740
|
-
}
|
|
1741
|
-
export interface DeleteCACertificateResponse {}
|
|
1742
|
-
export interface DeleteCertificateRequest {
|
|
1743
|
-
certificateId: string | undefined;
|
|
1744
|
-
forceDelete?: boolean;
|
|
1745
|
-
}
|
|
1746
|
-
export interface DeleteCertificateProviderRequest {
|
|
1747
|
-
certificateProviderName: string | undefined;
|
|
1748
|
-
}
|
|
1749
|
-
export interface DeleteCertificateProviderResponse {}
|
|
1750
1765
|
export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
|
|
1751
1766
|
export declare const CreateKeysAndCertificateResponseFilterSensitiveLog: (
|
|
1752
1767
|
obj: CreateKeysAndCertificateResponse
|
|
@@ -47,12 +47,15 @@ import {
|
|
|
47
47
|
MitigationActionParams,
|
|
48
48
|
OTAUpdateFile,
|
|
49
49
|
OTAUpdateStatus,
|
|
50
|
+
PackageVersionArtifact,
|
|
50
51
|
PackageVersionStatus,
|
|
51
52
|
Policy,
|
|
52
53
|
PresignedUrlConfig,
|
|
53
54
|
Protocol,
|
|
54
55
|
ProvisioningHook,
|
|
55
56
|
ResourceIdentifier,
|
|
57
|
+
Sbom,
|
|
58
|
+
SbomValidationStatus,
|
|
56
59
|
SchedulingConfig,
|
|
57
60
|
ServerCertificateConfig,
|
|
58
61
|
ServiceType,
|
|
@@ -67,6 +70,18 @@ import {
|
|
|
67
70
|
TopicRuleDestination,
|
|
68
71
|
VerificationState,
|
|
69
72
|
} from "./models_0";
|
|
73
|
+
export interface DeleteCACertificateRequest {
|
|
74
|
+
certificateId: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface DeleteCACertificateResponse {}
|
|
77
|
+
export interface DeleteCertificateRequest {
|
|
78
|
+
certificateId: string | undefined;
|
|
79
|
+
forceDelete?: boolean;
|
|
80
|
+
}
|
|
81
|
+
export interface DeleteCertificateProviderRequest {
|
|
82
|
+
certificateProviderName: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface DeleteCertificateProviderResponse {}
|
|
70
85
|
export interface DeleteCustomMetricRequest {
|
|
71
86
|
metricName: string | undefined;
|
|
72
87
|
}
|
|
@@ -540,6 +555,7 @@ export interface DescribeIndexResponse {
|
|
|
540
555
|
}
|
|
541
556
|
export interface DescribeJobRequest {
|
|
542
557
|
jobId: string | undefined;
|
|
558
|
+
beforeSubstitution?: boolean;
|
|
543
559
|
}
|
|
544
560
|
export interface JobProcessDetails {
|
|
545
561
|
processingTargets?: string[];
|
|
@@ -880,6 +896,12 @@ export interface DetachThingPrincipalResponse {}
|
|
|
880
896
|
export interface DisableTopicRuleRequest {
|
|
881
897
|
ruleName: string | undefined;
|
|
882
898
|
}
|
|
899
|
+
export interface DisassociateSbomFromPackageVersionRequest {
|
|
900
|
+
packageName: string | undefined;
|
|
901
|
+
versionName: string | undefined;
|
|
902
|
+
clientToken?: string;
|
|
903
|
+
}
|
|
904
|
+
export interface DisassociateSbomFromPackageVersionResponse {}
|
|
883
905
|
export interface EnableTopicRuleRequest {
|
|
884
906
|
ruleName: string | undefined;
|
|
885
907
|
}
|
|
@@ -1025,6 +1047,7 @@ export interface GetIndexingConfigurationResponse {
|
|
|
1025
1047
|
}
|
|
1026
1048
|
export interface GetJobDocumentRequest {
|
|
1027
1049
|
jobId: string | undefined;
|
|
1050
|
+
beforeSubstitution?: boolean;
|
|
1028
1051
|
}
|
|
1029
1052
|
export interface GetJobDocumentResponse {
|
|
1030
1053
|
document?: string;
|
|
@@ -1091,10 +1114,14 @@ export interface GetPackageVersionResponse {
|
|
|
1091
1114
|
versionName?: string;
|
|
1092
1115
|
description?: string;
|
|
1093
1116
|
attributes?: Record<string, string>;
|
|
1117
|
+
artifact?: PackageVersionArtifact;
|
|
1094
1118
|
status?: PackageVersionStatus;
|
|
1095
1119
|
errorReason?: string;
|
|
1096
1120
|
creationDate?: Date;
|
|
1097
1121
|
lastModifiedDate?: Date;
|
|
1122
|
+
sbom?: Sbom;
|
|
1123
|
+
sbomValidationStatus?: SbomValidationStatus;
|
|
1124
|
+
recipe?: string;
|
|
1098
1125
|
}
|
|
1099
1126
|
export interface GetPercentilesRequest {
|
|
1100
1127
|
indexName?: string;
|
|
@@ -1557,38 +1584,6 @@ export interface MetricDatum {
|
|
|
1557
1584
|
timestamp?: Date;
|
|
1558
1585
|
value?: MetricValue;
|
|
1559
1586
|
}
|
|
1560
|
-
export interface ListMetricValuesResponse {
|
|
1561
|
-
metricDatumList?: MetricDatum[];
|
|
1562
|
-
nextToken?: string;
|
|
1563
|
-
}
|
|
1564
|
-
export interface ListMitigationActionsRequest {
|
|
1565
|
-
actionType?: MitigationActionType;
|
|
1566
|
-
maxResults?: number;
|
|
1567
|
-
nextToken?: string;
|
|
1568
|
-
}
|
|
1569
|
-
export interface MitigationActionIdentifier {
|
|
1570
|
-
actionName?: string;
|
|
1571
|
-
actionArn?: string;
|
|
1572
|
-
creationDate?: Date;
|
|
1573
|
-
}
|
|
1574
|
-
export interface ListMitigationActionsResponse {
|
|
1575
|
-
actionIdentifiers?: MitigationActionIdentifier[];
|
|
1576
|
-
nextToken?: string;
|
|
1577
|
-
}
|
|
1578
|
-
export interface ListOTAUpdatesRequest {
|
|
1579
|
-
maxResults?: number;
|
|
1580
|
-
nextToken?: string;
|
|
1581
|
-
otaUpdateStatus?: OTAUpdateStatus;
|
|
1582
|
-
}
|
|
1583
|
-
export interface OTAUpdateSummary {
|
|
1584
|
-
otaUpdateId?: string;
|
|
1585
|
-
otaUpdateArn?: string;
|
|
1586
|
-
creationDate?: Date;
|
|
1587
|
-
}
|
|
1588
|
-
export interface ListOTAUpdatesResponse {
|
|
1589
|
-
otaUpdates?: OTAUpdateSummary[];
|
|
1590
|
-
nextToken?: string;
|
|
1591
|
-
}
|
|
1592
1587
|
export declare const GetPackageResponseFilterSensitiveLog: (
|
|
1593
1588
|
obj: GetPackageResponse
|
|
1594
1589
|
) => any;
|
|
@@ -30,6 +30,8 @@ import {
|
|
|
30
30
|
MetricToRetain,
|
|
31
31
|
MetricValue,
|
|
32
32
|
MitigationActionParams,
|
|
33
|
+
OTAUpdateStatus,
|
|
34
|
+
PackageVersionArtifact,
|
|
33
35
|
PackageVersionStatus,
|
|
34
36
|
Policy,
|
|
35
37
|
PresignedUrlConfig,
|
|
@@ -60,6 +62,8 @@ import {
|
|
|
60
62
|
EventType,
|
|
61
63
|
GroupNameAndArn,
|
|
62
64
|
LogTargetType,
|
|
65
|
+
MetricDatum,
|
|
66
|
+
MitigationActionType,
|
|
63
67
|
RegistrationConfig,
|
|
64
68
|
Status,
|
|
65
69
|
ThingGroupIndexingConfiguration,
|
|
@@ -68,6 +72,38 @@ import {
|
|
|
68
72
|
VersionUpdateByJobsConfig,
|
|
69
73
|
ViolationEventOccurrenceRange,
|
|
70
74
|
} from "./models_1";
|
|
75
|
+
export interface ListMetricValuesResponse {
|
|
76
|
+
metricDatumList?: MetricDatum[];
|
|
77
|
+
nextToken?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface ListMitigationActionsRequest {
|
|
80
|
+
actionType?: MitigationActionType;
|
|
81
|
+
maxResults?: number;
|
|
82
|
+
nextToken?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface MitigationActionIdentifier {
|
|
85
|
+
actionName?: string;
|
|
86
|
+
actionArn?: string;
|
|
87
|
+
creationDate?: Date;
|
|
88
|
+
}
|
|
89
|
+
export interface ListMitigationActionsResponse {
|
|
90
|
+
actionIdentifiers?: MitigationActionIdentifier[];
|
|
91
|
+
nextToken?: string;
|
|
92
|
+
}
|
|
93
|
+
export interface ListOTAUpdatesRequest {
|
|
94
|
+
maxResults?: number;
|
|
95
|
+
nextToken?: string;
|
|
96
|
+
otaUpdateStatus?: OTAUpdateStatus;
|
|
97
|
+
}
|
|
98
|
+
export interface OTAUpdateSummary {
|
|
99
|
+
otaUpdateId?: string;
|
|
100
|
+
otaUpdateArn?: string;
|
|
101
|
+
creationDate?: Date;
|
|
102
|
+
}
|
|
103
|
+
export interface ListOTAUpdatesResponse {
|
|
104
|
+
otaUpdates?: OTAUpdateSummary[];
|
|
105
|
+
nextToken?: string;
|
|
106
|
+
}
|
|
71
107
|
export interface ListOutgoingCertificatesRequest {
|
|
72
108
|
pageSize?: number;
|
|
73
109
|
marker?: string;
|
|
@@ -214,6 +250,35 @@ export interface ListRoleAliasesResponse {
|
|
|
214
250
|
roleAliases?: string[];
|
|
215
251
|
nextMarker?: string;
|
|
216
252
|
}
|
|
253
|
+
export declare const SbomValidationResult: {
|
|
254
|
+
readonly FAILED: "FAILED";
|
|
255
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
256
|
+
};
|
|
257
|
+
export type SbomValidationResult =
|
|
258
|
+
(typeof SbomValidationResult)[keyof typeof SbomValidationResult];
|
|
259
|
+
export interface ListSbomValidationResultsRequest {
|
|
260
|
+
packageName: string | undefined;
|
|
261
|
+
versionName: string | undefined;
|
|
262
|
+
validationResult?: SbomValidationResult;
|
|
263
|
+
maxResults?: number;
|
|
264
|
+
nextToken?: string;
|
|
265
|
+
}
|
|
266
|
+
export declare const SbomValidationErrorCode: {
|
|
267
|
+
readonly FILE_SIZE_LIMIT_EXCEEDED: "FILE_SIZE_LIMIT_EXCEEDED";
|
|
268
|
+
readonly INCOMPATIBLE_FORMAT: "INCOMPATIBLE_FORMAT";
|
|
269
|
+
};
|
|
270
|
+
export type SbomValidationErrorCode =
|
|
271
|
+
(typeof SbomValidationErrorCode)[keyof typeof SbomValidationErrorCode];
|
|
272
|
+
export interface SbomValidationResultSummary {
|
|
273
|
+
fileName?: string;
|
|
274
|
+
validationResult?: SbomValidationResult;
|
|
275
|
+
errorCode?: SbomValidationErrorCode;
|
|
276
|
+
errorMessage?: string;
|
|
277
|
+
}
|
|
278
|
+
export interface ListSbomValidationResultsResponse {
|
|
279
|
+
validationResultSummaries?: SbomValidationResultSummary[];
|
|
280
|
+
nextToken?: string;
|
|
281
|
+
}
|
|
217
282
|
export interface ListScheduledAuditsRequest {
|
|
218
283
|
nextToken?: string;
|
|
219
284
|
maxResults?: number;
|
|
@@ -941,7 +1006,9 @@ export interface UpdatePackageVersionRequest {
|
|
|
941
1006
|
versionName: string | undefined;
|
|
942
1007
|
description?: string;
|
|
943
1008
|
attributes?: Record<string, string>;
|
|
1009
|
+
artifact?: PackageVersionArtifact;
|
|
944
1010
|
action?: PackageVersionAction;
|
|
1011
|
+
recipe?: string;
|
|
945
1012
|
clientToken?: string;
|
|
946
1013
|
}
|
|
947
1014
|
export interface UpdatePackageVersionResponse {}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListSbomValidationResultsCommandInput,
|
|
4
|
+
ListSbomValidationResultsCommandOutput,
|
|
5
|
+
} from "../commands/ListSbomValidationResultsCommand";
|
|
6
|
+
import { IoTPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListSbomValidationResults: (
|
|
8
|
+
config: IoTPaginationConfiguration,
|
|
9
|
+
input: ListSbomValidationResultsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSbomValidationResultsCommandOutput>;
|
|
@@ -38,6 +38,7 @@ export * from "./ListProvisioningTemplateVersionsPaginator";
|
|
|
38
38
|
export * from "./ListProvisioningTemplatesPaginator";
|
|
39
39
|
export * from "./ListRelatedResourcesForAuditFindingPaginator";
|
|
40
40
|
export * from "./ListRoleAliasesPaginator";
|
|
41
|
+
export * from "./ListSbomValidationResultsPaginator";
|
|
41
42
|
export * from "./ListScheduledAuditsPaginator";
|
|
42
43
|
export * from "./ListSecurityProfilesForTargetPaginator";
|
|
43
44
|
export * from "./ListSecurityProfilesPaginator";
|
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
AddThingToThingGroupCommandInput,
|
|
16
16
|
AddThingToThingGroupCommandOutput,
|
|
17
17
|
} from "../commands/AddThingToThingGroupCommand";
|
|
18
|
+
import {
|
|
19
|
+
AssociateSbomWithPackageVersionCommandInput,
|
|
20
|
+
AssociateSbomWithPackageVersionCommandOutput,
|
|
21
|
+
} from "../commands/AssociateSbomWithPackageVersionCommand";
|
|
18
22
|
import {
|
|
19
23
|
AssociateTargetsWithJobCommandInput,
|
|
20
24
|
AssociateTargetsWithJobCommandOutput,
|
|
@@ -487,6 +491,10 @@ import {
|
|
|
487
491
|
DisableTopicRuleCommandInput,
|
|
488
492
|
DisableTopicRuleCommandOutput,
|
|
489
493
|
} from "../commands/DisableTopicRuleCommand";
|
|
494
|
+
import {
|
|
495
|
+
DisassociateSbomFromPackageVersionCommandInput,
|
|
496
|
+
DisassociateSbomFromPackageVersionCommandOutput,
|
|
497
|
+
} from "../commands/DisassociateSbomFromPackageVersionCommand";
|
|
490
498
|
import {
|
|
491
499
|
EnableTopicRuleCommandInput,
|
|
492
500
|
EnableTopicRuleCommandOutput,
|
|
@@ -727,6 +735,10 @@ import {
|
|
|
727
735
|
ListRoleAliasesCommandInput,
|
|
728
736
|
ListRoleAliasesCommandOutput,
|
|
729
737
|
} from "../commands/ListRoleAliasesCommand";
|
|
738
|
+
import {
|
|
739
|
+
ListSbomValidationResultsCommandInput,
|
|
740
|
+
ListSbomValidationResultsCommandOutput,
|
|
741
|
+
} from "../commands/ListSbomValidationResultsCommand";
|
|
730
742
|
import {
|
|
731
743
|
ListScheduledAuditsCommandInput,
|
|
732
744
|
ListScheduledAuditsCommandOutput,
|
|
@@ -1035,6 +1047,10 @@ export declare const se_AddThingToThingGroupCommand: (
|
|
|
1035
1047
|
input: AddThingToThingGroupCommandInput,
|
|
1036
1048
|
context: __SerdeContext
|
|
1037
1049
|
) => Promise<__HttpRequest>;
|
|
1050
|
+
export declare const se_AssociateSbomWithPackageVersionCommand: (
|
|
1051
|
+
input: AssociateSbomWithPackageVersionCommandInput,
|
|
1052
|
+
context: __SerdeContext
|
|
1053
|
+
) => Promise<__HttpRequest>;
|
|
1038
1054
|
export declare const se_AssociateTargetsWithJobCommand: (
|
|
1039
1055
|
input: AssociateTargetsWithJobCommandInput,
|
|
1040
1056
|
context: __SerdeContext
|
|
@@ -1507,6 +1523,10 @@ export declare const se_DisableTopicRuleCommand: (
|
|
|
1507
1523
|
input: DisableTopicRuleCommandInput,
|
|
1508
1524
|
context: __SerdeContext
|
|
1509
1525
|
) => Promise<__HttpRequest>;
|
|
1526
|
+
export declare const se_DisassociateSbomFromPackageVersionCommand: (
|
|
1527
|
+
input: DisassociateSbomFromPackageVersionCommandInput,
|
|
1528
|
+
context: __SerdeContext
|
|
1529
|
+
) => Promise<__HttpRequest>;
|
|
1510
1530
|
export declare const se_EnableTopicRuleCommand: (
|
|
1511
1531
|
input: EnableTopicRuleCommandInput,
|
|
1512
1532
|
context: __SerdeContext
|
|
@@ -1747,6 +1767,10 @@ export declare const se_ListRoleAliasesCommand: (
|
|
|
1747
1767
|
input: ListRoleAliasesCommandInput,
|
|
1748
1768
|
context: __SerdeContext
|
|
1749
1769
|
) => Promise<__HttpRequest>;
|
|
1770
|
+
export declare const se_ListSbomValidationResultsCommand: (
|
|
1771
|
+
input: ListSbomValidationResultsCommandInput,
|
|
1772
|
+
context: __SerdeContext
|
|
1773
|
+
) => Promise<__HttpRequest>;
|
|
1750
1774
|
export declare const se_ListScheduledAuditsCommand: (
|
|
1751
1775
|
input: ListScheduledAuditsCommandInput,
|
|
1752
1776
|
context: __SerdeContext
|
|
@@ -2055,6 +2079,10 @@ export declare const de_AddThingToThingGroupCommand: (
|
|
|
2055
2079
|
output: __HttpResponse,
|
|
2056
2080
|
context: __SerdeContext
|
|
2057
2081
|
) => Promise<AddThingToThingGroupCommandOutput>;
|
|
2082
|
+
export declare const de_AssociateSbomWithPackageVersionCommand: (
|
|
2083
|
+
output: __HttpResponse,
|
|
2084
|
+
context: __SerdeContext
|
|
2085
|
+
) => Promise<AssociateSbomWithPackageVersionCommandOutput>;
|
|
2058
2086
|
export declare const de_AssociateTargetsWithJobCommand: (
|
|
2059
2087
|
output: __HttpResponse,
|
|
2060
2088
|
context: __SerdeContext
|
|
@@ -2527,6 +2555,10 @@ export declare const de_DisableTopicRuleCommand: (
|
|
|
2527
2555
|
output: __HttpResponse,
|
|
2528
2556
|
context: __SerdeContext
|
|
2529
2557
|
) => Promise<DisableTopicRuleCommandOutput>;
|
|
2558
|
+
export declare const de_DisassociateSbomFromPackageVersionCommand: (
|
|
2559
|
+
output: __HttpResponse,
|
|
2560
|
+
context: __SerdeContext
|
|
2561
|
+
) => Promise<DisassociateSbomFromPackageVersionCommandOutput>;
|
|
2530
2562
|
export declare const de_EnableTopicRuleCommand: (
|
|
2531
2563
|
output: __HttpResponse,
|
|
2532
2564
|
context: __SerdeContext
|
|
@@ -2767,6 +2799,10 @@ export declare const de_ListRoleAliasesCommand: (
|
|
|
2767
2799
|
output: __HttpResponse,
|
|
2768
2800
|
context: __SerdeContext
|
|
2769
2801
|
) => Promise<ListRoleAliasesCommandOutput>;
|
|
2802
|
+
export declare const de_ListSbomValidationResultsCommand: (
|
|
2803
|
+
output: __HttpResponse,
|
|
2804
|
+
context: __SerdeContext
|
|
2805
|
+
) => Promise<ListSbomValidationResultsCommandOutput>;
|
|
2770
2806
|
export declare const de_ListScheduledAuditsCommand: (
|
|
2771
2807
|
output: __HttpResponse,
|
|
2772
2808
|
context: __SerdeContext
|
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.652.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iot",
|