@aws-sdk/client-iot 3.750.0 → 3.756.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/dist-cjs/index.js +6 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-types/commands/DescribeAccountAuditConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/ListCustomMetricsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +17 -26
- package/dist-types/models/models_1.d.ts +27 -21
- package/dist-types/models/models_2.d.ts +20 -0
- package/dist-types/ts3.4/commands/ListCustomMetricsCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +6 -6
- package/dist-types/ts3.4/models/models_1.d.ts +6 -5
- package/dist-types/ts3.4/models/models_2.d.ts +4 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -71,6 +71,7 @@ __export(src_exports, {
|
|
|
71
71
|
CommandNamespace: () => CommandNamespace,
|
|
72
72
|
ComparisonOperator: () => ComparisonOperator,
|
|
73
73
|
ConfidenceLevel: () => ConfidenceLevel,
|
|
74
|
+
ConfigName: () => ConfigName,
|
|
74
75
|
ConfirmTopicRuleDestinationCommand: () => ConfirmTopicRuleDestinationCommand,
|
|
75
76
|
ConflictException: () => ConflictException,
|
|
76
77
|
ConflictingResourceUpdateException: () => ConflictingResourceUpdateException,
|
|
@@ -1002,6 +1003,10 @@ var ThingPrincipalType = {
|
|
|
1002
1003
|
EXCLUSIVE_THING: "EXCLUSIVE_THING",
|
|
1003
1004
|
NON_EXCLUSIVE_THING: "NON_EXCLUSIVE_THING"
|
|
1004
1005
|
};
|
|
1006
|
+
var ConfigName = {
|
|
1007
|
+
CERT_AGE_THRESHOLD_IN_DAYS: "CERT_AGE_THRESHOLD_IN_DAYS",
|
|
1008
|
+
CERT_EXPIRATION_THRESHOLD_IN_DAYS: "CERT_EXPIRATION_THRESHOLD_IN_DAYS"
|
|
1009
|
+
};
|
|
1005
1010
|
var AuditCheckRunStatus = {
|
|
1006
1011
|
CANCELED: "CANCELED",
|
|
1007
1012
|
COMPLETED_COMPLIANT: "COMPLETED_COMPLIANT",
|
|
@@ -16157,6 +16162,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
16157
16162
|
LimitExceededException,
|
|
16158
16163
|
VersionConflictException,
|
|
16159
16164
|
ThingPrincipalType,
|
|
16165
|
+
ConfigName,
|
|
16160
16166
|
AuditCheckRunStatus,
|
|
16161
16167
|
ResourceType,
|
|
16162
16168
|
AuditFindingSeverity,
|
|
@@ -255,6 +255,10 @@ export const ThingPrincipalType = {
|
|
|
255
255
|
EXCLUSIVE_THING: "EXCLUSIVE_THING",
|
|
256
256
|
NON_EXCLUSIVE_THING: "NON_EXCLUSIVE_THING",
|
|
257
257
|
};
|
|
258
|
+
export const ConfigName = {
|
|
259
|
+
CERT_AGE_THRESHOLD_IN_DAYS: "CERT_AGE_THRESHOLD_IN_DAYS",
|
|
260
|
+
CERT_EXPIRATION_THRESHOLD_IN_DAYS: "CERT_EXPIRATION_THRESHOLD_IN_DAYS",
|
|
261
|
+
};
|
|
258
262
|
export const AuditCheckRunStatus = {
|
|
259
263
|
CANCELED: "CANCELED",
|
|
260
264
|
COMPLETED_COMPLIANT: "COMPLETED_COMPLIANT",
|
|
@@ -52,6 +52,9 @@ declare const DescribeAccountAuditConfigurationCommand_base: {
|
|
|
52
52
|
* // auditCheckConfigurations: { // AuditCheckConfigurations
|
|
53
53
|
* // "<keys>": { // AuditCheckConfiguration
|
|
54
54
|
* // enabled: true || false,
|
|
55
|
+
* // configuration: { // CheckCustomConfiguration
|
|
56
|
+
* // "<keys>": "STRING_VALUE",
|
|
57
|
+
* // },
|
|
55
58
|
* // },
|
|
56
59
|
* // },
|
|
57
60
|
* // };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListCustomMetricsRequest
|
|
4
|
+
import { ListCustomMetricsRequest } from "../models/models_1";
|
|
5
|
+
import { ListCustomMetricsResponse } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -49,6 +49,9 @@ declare const UpdateAccountAuditConfigurationCommand_base: {
|
|
|
49
49
|
* auditCheckConfigurations: { // AuditCheckConfigurations
|
|
50
50
|
* "<keys>": { // AuditCheckConfiguration
|
|
51
51
|
* enabled: true || false,
|
|
52
|
+
* configuration: { // CheckCustomConfiguration
|
|
53
|
+
* "<keys>": "STRING_VALUE",
|
|
54
|
+
* },
|
|
52
55
|
* },
|
|
53
56
|
* },
|
|
54
57
|
* };
|
|
@@ -2368,6 +2368,18 @@ export interface AttributePayload {
|
|
|
2368
2368
|
*/
|
|
2369
2369
|
merge?: boolean | undefined;
|
|
2370
2370
|
}
|
|
2371
|
+
/**
|
|
2372
|
+
* @public
|
|
2373
|
+
* @enum
|
|
2374
|
+
*/
|
|
2375
|
+
export declare const ConfigName: {
|
|
2376
|
+
readonly CERT_AGE_THRESHOLD_IN_DAYS: "CERT_AGE_THRESHOLD_IN_DAYS";
|
|
2377
|
+
readonly CERT_EXPIRATION_THRESHOLD_IN_DAYS: "CERT_EXPIRATION_THRESHOLD_IN_DAYS";
|
|
2378
|
+
};
|
|
2379
|
+
/**
|
|
2380
|
+
* @public
|
|
2381
|
+
*/
|
|
2382
|
+
export type ConfigName = (typeof ConfigName)[keyof typeof ConfigName];
|
|
2371
2383
|
/**
|
|
2372
2384
|
* <p>Which audit checks are enabled and disabled for this account.</p>
|
|
2373
2385
|
* @public
|
|
@@ -2378,6 +2390,11 @@ export interface AuditCheckConfiguration {
|
|
|
2378
2390
|
* @public
|
|
2379
2391
|
*/
|
|
2380
2392
|
enabled?: boolean | undefined;
|
|
2393
|
+
/**
|
|
2394
|
+
* <p>A structure containing the configName and corresponding configValue for configuring audit checks.</p>
|
|
2395
|
+
* @public
|
|
2396
|
+
*/
|
|
2397
|
+
configuration?: Partial<Record<ConfigName, string>> | undefined;
|
|
2381
2398
|
}
|
|
2382
2399
|
/**
|
|
2383
2400
|
* @public
|
|
@@ -6895,32 +6912,6 @@ export declare const TopicRuleDestinationStatus: {
|
|
|
6895
6912
|
* @public
|
|
6896
6913
|
*/
|
|
6897
6914
|
export type TopicRuleDestinationStatus = (typeof TopicRuleDestinationStatus)[keyof typeof TopicRuleDestinationStatus];
|
|
6898
|
-
/**
|
|
6899
|
-
* <p>The properties of a virtual private cloud (VPC) destination.</p>
|
|
6900
|
-
* @public
|
|
6901
|
-
*/
|
|
6902
|
-
export interface VpcDestinationProperties {
|
|
6903
|
-
/**
|
|
6904
|
-
* <p>The subnet IDs of the VPC destination.</p>
|
|
6905
|
-
* @public
|
|
6906
|
-
*/
|
|
6907
|
-
subnetIds?: string[] | undefined;
|
|
6908
|
-
/**
|
|
6909
|
-
* <p>The security groups of the VPC destination.</p>
|
|
6910
|
-
* @public
|
|
6911
|
-
*/
|
|
6912
|
-
securityGroups?: string[] | undefined;
|
|
6913
|
-
/**
|
|
6914
|
-
* <p>The ID of the VPC.</p>
|
|
6915
|
-
* @public
|
|
6916
|
-
*/
|
|
6917
|
-
vpcId?: string | undefined;
|
|
6918
|
-
/**
|
|
6919
|
-
* <p>The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).</p>
|
|
6920
|
-
* @public
|
|
6921
|
-
*/
|
|
6922
|
-
roleArn?: string | undefined;
|
|
6923
|
-
}
|
|
6924
6915
|
/**
|
|
6925
6916
|
* @internal
|
|
6926
6917
|
*/
|
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
-
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AlertTargetType, ApplicationProtocol, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthenticationType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CertificateProviderOperation, ClientCertificateConfig, CommandNamespace, CommandParameter, CommandParameterValue, CommandPayload, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, HttpUrlDestinationProperties, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricsExportConfig, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionArtifact, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, Sbom, SbomValidationStatus, SchedulingConfig, ServerCertificateConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, VerificationState
|
|
3
|
+
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AlertTargetType, ApplicationProtocol, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthenticationType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CertificateProviderOperation, ClientCertificateConfig, CommandNamespace, CommandParameter, CommandParameterValue, CommandPayload, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, HttpUrlDestinationProperties, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricsExportConfig, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionArtifact, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, Sbom, SbomValidationStatus, SchedulingConfig, ServerCertificateConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, VerificationState } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>The properties of a virtual private cloud (VPC) destination.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface VpcDestinationProperties {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The subnet IDs of the VPC destination.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
subnetIds?: string[] | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The security groups of the VPC destination.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
securityGroups?: string[] | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The ID of the VPC.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
vpcId?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
roleArn?: string | undefined;
|
|
29
|
+
}
|
|
4
30
|
/**
|
|
5
31
|
* <p>A topic rule destination.</p>
|
|
6
32
|
* @public
|
|
@@ -6504,26 +6530,6 @@ export interface ListCustomMetricsRequest {
|
|
|
6504
6530
|
*/
|
|
6505
6531
|
maxResults?: number | undefined;
|
|
6506
6532
|
}
|
|
6507
|
-
/**
|
|
6508
|
-
* @public
|
|
6509
|
-
*/
|
|
6510
|
-
export interface ListCustomMetricsResponse {
|
|
6511
|
-
/**
|
|
6512
|
-
* <p>
|
|
6513
|
-
* The name of the custom metric.
|
|
6514
|
-
* </p>
|
|
6515
|
-
* @public
|
|
6516
|
-
*/
|
|
6517
|
-
metricNames?: string[] | undefined;
|
|
6518
|
-
/**
|
|
6519
|
-
* <p>
|
|
6520
|
-
* A token that can be used to retrieve the next set of results,
|
|
6521
|
-
* or <code>null</code> if there are no additional results.
|
|
6522
|
-
* </p>
|
|
6523
|
-
* @public
|
|
6524
|
-
*/
|
|
6525
|
-
nextToken?: string | undefined;
|
|
6526
|
-
}
|
|
6527
6533
|
/**
|
|
6528
6534
|
* @internal
|
|
6529
6535
|
*/
|
|
@@ -2,6 +2,26 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
3
|
import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, ApplicationProtocol, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthenticationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CertificateProviderOperation, ClientCertificateConfig, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateStatus, PackageVersionArtifact, PackageVersionStatus, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, ServerCertificateConfig, ServiceType, StreamFile, Tag, TargetSelection, TemplateType, ThingGroupProperties, ThingPrincipalType, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
4
4
|
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskSummary, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, EventType, GroupNameAndArn, JobExecutionStatus, JobStatus, LogTargetType, MitigationActionType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ListCustomMetricsResponse {
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* The name of the custom metric.
|
|
12
|
+
* </p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
metricNames?: string[] | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>
|
|
18
|
+
* A token that can be used to retrieve the next set of results,
|
|
19
|
+
* or <code>null</code> if there are no additional results.
|
|
20
|
+
* </p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
nextToken?: string | undefined;
|
|
24
|
+
}
|
|
5
25
|
/**
|
|
6
26
|
* @public
|
|
7
27
|
*/
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IoTClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
ListCustomMetricsResponse,
|
|
11
|
-
} from "../models/models_1";
|
|
8
|
+
import { ListCustomMetricsRequest } from "../models/models_1";
|
|
9
|
+
import { ListCustomMetricsResponse } from "../models/models_2";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface ListCustomMetricsCommandInput
|
|
@@ -632,8 +632,14 @@ export interface AttributePayload {
|
|
|
632
632
|
attributes?: Record<string, string> | undefined;
|
|
633
633
|
merge?: boolean | undefined;
|
|
634
634
|
}
|
|
635
|
+
export declare const ConfigName: {
|
|
636
|
+
readonly CERT_AGE_THRESHOLD_IN_DAYS: "CERT_AGE_THRESHOLD_IN_DAYS";
|
|
637
|
+
readonly CERT_EXPIRATION_THRESHOLD_IN_DAYS: "CERT_EXPIRATION_THRESHOLD_IN_DAYS";
|
|
638
|
+
};
|
|
639
|
+
export type ConfigName = (typeof ConfigName)[keyof typeof ConfigName];
|
|
635
640
|
export interface AuditCheckConfiguration {
|
|
636
641
|
enabled?: boolean | undefined;
|
|
642
|
+
configuration?: Partial<Record<ConfigName, string>> | undefined;
|
|
637
643
|
}
|
|
638
644
|
export declare const AuditCheckRunStatus: {
|
|
639
645
|
readonly CANCELED: "CANCELED";
|
|
@@ -1794,12 +1800,6 @@ export declare const TopicRuleDestinationStatus: {
|
|
|
1794
1800
|
};
|
|
1795
1801
|
export type TopicRuleDestinationStatus =
|
|
1796
1802
|
(typeof TopicRuleDestinationStatus)[keyof typeof TopicRuleDestinationStatus];
|
|
1797
|
-
export interface VpcDestinationProperties {
|
|
1798
|
-
subnetIds?: string[] | undefined;
|
|
1799
|
-
securityGroups?: string[] | undefined;
|
|
1800
|
-
vpcId?: string | undefined;
|
|
1801
|
-
roleArn?: string | undefined;
|
|
1802
|
-
}
|
|
1803
1803
|
export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
|
|
1804
1804
|
export declare const CreateKeysAndCertificateResponseFilterSensitiveLog: (
|
|
1805
1805
|
obj: CreateKeysAndCertificateResponse
|
|
@@ -75,8 +75,13 @@ import {
|
|
|
75
75
|
TlsConfig,
|
|
76
76
|
TopicRuleDestinationStatus,
|
|
77
77
|
VerificationState,
|
|
78
|
-
VpcDestinationProperties,
|
|
79
78
|
} from "./models_0";
|
|
79
|
+
export interface VpcDestinationProperties {
|
|
80
|
+
subnetIds?: string[] | undefined;
|
|
81
|
+
securityGroups?: string[] | undefined;
|
|
82
|
+
vpcId?: string | undefined;
|
|
83
|
+
roleArn?: string | undefined;
|
|
84
|
+
}
|
|
80
85
|
export interface TopicRuleDestination {
|
|
81
86
|
arn?: string | undefined;
|
|
82
87
|
status?: TopicRuleDestinationStatus | undefined;
|
|
@@ -1593,10 +1598,6 @@ export interface ListCustomMetricsRequest {
|
|
|
1593
1598
|
nextToken?: string | undefined;
|
|
1594
1599
|
maxResults?: number | undefined;
|
|
1595
1600
|
}
|
|
1596
|
-
export interface ListCustomMetricsResponse {
|
|
1597
|
-
metricNames?: string[] | undefined;
|
|
1598
|
-
nextToken?: string | undefined;
|
|
1599
|
-
}
|
|
1600
1601
|
export declare const GetPackageResponseFilterSensitiveLog: (
|
|
1601
1602
|
obj: GetPackageResponse
|
|
1602
1603
|
) => any;
|
|
@@ -81,6 +81,10 @@ import {
|
|
|
81
81
|
VersionUpdateByJobsConfig,
|
|
82
82
|
ViolationEventOccurrenceRange,
|
|
83
83
|
} from "./models_1";
|
|
84
|
+
export interface ListCustomMetricsResponse {
|
|
85
|
+
metricNames?: string[] | undefined;
|
|
86
|
+
nextToken?: string | undefined;
|
|
87
|
+
}
|
|
84
88
|
export interface ListDetectMitigationActionsExecutionsRequest {
|
|
85
89
|
taskId?: string | undefined;
|
|
86
90
|
violationId?: string | undefined;
|
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.756.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",
|