@aws-sdk/client-iot 3.427.0 → 3.429.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-types/models/models_0.d.ts +46 -46
- package/dist-types/models/models_1.d.ts +69 -69
- package/dist-types/models/models_2.d.ts +39 -39
- package/dist-types/ts3.4/models/models_0.d.ts +46 -46
- package/dist-types/ts3.4/models/models_1.d.ts +70 -68
- package/dist-types/ts3.4/models/models_2.d.ts +40 -37
- package/package.json +31 -31
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
-
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, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, StreamFile, Tag, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
4
|
-
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, GroupNameAndArn, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
|
|
3
|
+
import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, StreamFile, Tag, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
4
|
+
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, EventType, GroupNameAndArn, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
* <p>Describes a policy version.</p>
|
|
@@ -174,7 +174,7 @@ export interface ProvisioningTemplateSummary {
|
|
|
174
174
|
* For more information about provisioning template, see: <a href="https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html">Provisioning template</a>.
|
|
175
175
|
* </p>
|
|
176
176
|
*/
|
|
177
|
-
type?: TemplateType
|
|
177
|
+
type?: TemplateType;
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
180
|
* @public
|
|
@@ -354,7 +354,7 @@ export interface ScheduledAuditMetadata {
|
|
|
354
354
|
* @public
|
|
355
355
|
* <p>How often the scheduled audit occurs.</p>
|
|
356
356
|
*/
|
|
357
|
-
frequency?: AuditFrequency
|
|
357
|
+
frequency?: AuditFrequency;
|
|
358
358
|
/**
|
|
359
359
|
* @public
|
|
360
360
|
* <p>The day of the month on which the scheduled audit is run (if the
|
|
@@ -368,7 +368,7 @@ export interface ScheduledAuditMetadata {
|
|
|
368
368
|
* <p>The day of the week on which the scheduled audit is run (if the
|
|
369
369
|
* <code>frequency</code> is "WEEKLY" or "BIWEEKLY").</p>
|
|
370
370
|
*/
|
|
371
|
-
dayOfWeek?: DayOfWeek
|
|
371
|
+
dayOfWeek?: DayOfWeek;
|
|
372
372
|
}
|
|
373
373
|
/**
|
|
374
374
|
* @public
|
|
@@ -827,7 +827,7 @@ export interface ListThingRegistrationTaskReportsRequest {
|
|
|
827
827
|
* @public
|
|
828
828
|
* <p>The type of task report.</p>
|
|
829
829
|
*/
|
|
830
|
-
reportType: ReportType |
|
|
830
|
+
reportType: ReportType | undefined;
|
|
831
831
|
/**
|
|
832
832
|
* @public
|
|
833
833
|
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
@@ -854,7 +854,7 @@ export interface ListThingRegistrationTaskReportsResponse {
|
|
|
854
854
|
* @public
|
|
855
855
|
* <p>The type of task report.</p>
|
|
856
856
|
*/
|
|
857
|
-
reportType?: ReportType
|
|
857
|
+
reportType?: ReportType;
|
|
858
858
|
/**
|
|
859
859
|
* @public
|
|
860
860
|
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
@@ -881,7 +881,7 @@ export interface ListThingRegistrationTasksRequest {
|
|
|
881
881
|
* @public
|
|
882
882
|
* <p>The status of the bulk thing provisioning task.</p>
|
|
883
883
|
*/
|
|
884
|
-
status?: Status
|
|
884
|
+
status?: Status;
|
|
885
885
|
}
|
|
886
886
|
/**
|
|
887
887
|
* @public
|
|
@@ -1235,7 +1235,7 @@ export interface TopicRuleDestinationSummary {
|
|
|
1235
1235
|
* </dd>
|
|
1236
1236
|
* </dl>
|
|
1237
1237
|
*/
|
|
1238
|
-
status?: TopicRuleDestinationStatus
|
|
1238
|
+
status?: TopicRuleDestinationStatus;
|
|
1239
1239
|
/**
|
|
1240
1240
|
* @public
|
|
1241
1241
|
* <p>The date and time when the topic rule destination was created.</p>
|
|
@@ -1361,7 +1361,7 @@ export interface ListV2LoggingLevelsRequest {
|
|
|
1361
1361
|
* <p>The type of resource for which you are configuring logging. Must be
|
|
1362
1362
|
* <code>THING_Group</code>.</p>
|
|
1363
1363
|
*/
|
|
1364
|
-
targetType?: LogTargetType
|
|
1364
|
+
targetType?: LogTargetType;
|
|
1365
1365
|
/**
|
|
1366
1366
|
* @public
|
|
1367
1367
|
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
@@ -1384,7 +1384,7 @@ export interface LogTarget {
|
|
|
1384
1384
|
* @public
|
|
1385
1385
|
* <p>The target type.</p>
|
|
1386
1386
|
*/
|
|
1387
|
-
targetType: LogTargetType |
|
|
1387
|
+
targetType: LogTargetType | undefined;
|
|
1388
1388
|
/**
|
|
1389
1389
|
* @public
|
|
1390
1390
|
* <p>The target name.</p>
|
|
@@ -1405,7 +1405,7 @@ export interface LogTargetConfiguration {
|
|
|
1405
1405
|
* @public
|
|
1406
1406
|
* <p>The logging level.</p>
|
|
1407
1407
|
*/
|
|
1408
|
-
logLevel?: LogLevel
|
|
1408
|
+
logLevel?: LogLevel;
|
|
1409
1409
|
}
|
|
1410
1410
|
/**
|
|
1411
1411
|
* @public
|
|
@@ -1452,7 +1452,7 @@ export interface ListViolationEventsRequest {
|
|
|
1452
1452
|
* The criteria for a behavior.
|
|
1453
1453
|
* </p>
|
|
1454
1454
|
*/
|
|
1455
|
-
behaviorCriteriaType?: BehaviorCriteriaType
|
|
1455
|
+
behaviorCriteriaType?: BehaviorCriteriaType;
|
|
1456
1456
|
/**
|
|
1457
1457
|
* @public
|
|
1458
1458
|
* <p>
|
|
@@ -1464,7 +1464,7 @@ export interface ListViolationEventsRequest {
|
|
|
1464
1464
|
* @public
|
|
1465
1465
|
* <p>The verification state of the violation (detect alarm).</p>
|
|
1466
1466
|
*/
|
|
1467
|
-
verificationState?: VerificationState
|
|
1467
|
+
verificationState?: VerificationState;
|
|
1468
1468
|
/**
|
|
1469
1469
|
* @public
|
|
1470
1470
|
* <p>The token for the next set of results.</p>
|
|
@@ -1530,12 +1530,12 @@ export interface ViolationEvent {
|
|
|
1530
1530
|
* @public
|
|
1531
1531
|
* <p>The type of violation event.</p>
|
|
1532
1532
|
*/
|
|
1533
|
-
violationEventType?: ViolationEventType
|
|
1533
|
+
violationEventType?: ViolationEventType;
|
|
1534
1534
|
/**
|
|
1535
1535
|
* @public
|
|
1536
1536
|
* <p>The verification state of the violation (detect alarm).</p>
|
|
1537
1537
|
*/
|
|
1538
|
-
verificationState?: VerificationState
|
|
1538
|
+
verificationState?: VerificationState;
|
|
1539
1539
|
/**
|
|
1540
1540
|
* @public
|
|
1541
1541
|
* <p>The description of the verification state of the violation.</p>
|
|
@@ -1577,7 +1577,7 @@ export interface PutVerificationStateOnViolationRequest {
|
|
|
1577
1577
|
* @public
|
|
1578
1578
|
* <p>The verification state of the violation.</p>
|
|
1579
1579
|
*/
|
|
1580
|
-
verificationState: VerificationState |
|
|
1580
|
+
verificationState: VerificationState | undefined;
|
|
1581
1581
|
/**
|
|
1582
1582
|
* @public
|
|
1583
1583
|
* <p>The description of the verification state of the violation (detect alarm).</p>
|
|
@@ -1649,7 +1649,7 @@ export interface RegisterCACertificateRequest {
|
|
|
1649
1649
|
* certificate mode</a>.
|
|
1650
1650
|
* </p>
|
|
1651
1651
|
*/
|
|
1652
|
-
certificateMode?: CertificateMode
|
|
1652
|
+
certificateMode?: CertificateMode;
|
|
1653
1653
|
}
|
|
1654
1654
|
/**
|
|
1655
1655
|
* @public
|
|
@@ -1722,7 +1722,7 @@ export interface RegisterCertificateRequest {
|
|
|
1722
1722
|
* <p>The status of the register certificate request. Valid values that you can use include
|
|
1723
1723
|
* <code>ACTIVE</code>, <code>INACTIVE</code>, and <code>REVOKED</code>.</p>
|
|
1724
1724
|
*/
|
|
1725
|
-
status?: CertificateStatus
|
|
1725
|
+
status?: CertificateStatus;
|
|
1726
1726
|
}
|
|
1727
1727
|
/**
|
|
1728
1728
|
* @public
|
|
@@ -1753,7 +1753,7 @@ export interface RegisterCertificateWithoutCARequest {
|
|
|
1753
1753
|
* @public
|
|
1754
1754
|
* <p>The status of the register certificate request.</p>
|
|
1755
1755
|
*/
|
|
1756
|
-
status?: CertificateStatus
|
|
1756
|
+
status?: CertificateStatus;
|
|
1757
1757
|
}
|
|
1758
1758
|
/**
|
|
1759
1759
|
* @public
|
|
@@ -2117,7 +2117,7 @@ export interface LoggingOptionsPayload {
|
|
|
2117
2117
|
* @public
|
|
2118
2118
|
* <p>The log level.</p>
|
|
2119
2119
|
*/
|
|
2120
|
-
logLevel?: LogLevel
|
|
2120
|
+
logLevel?: LogLevel;
|
|
2121
2121
|
}
|
|
2122
2122
|
/**
|
|
2123
2123
|
* @public
|
|
@@ -2143,7 +2143,7 @@ export interface SetV2LoggingLevelRequest {
|
|
|
2143
2143
|
* @public
|
|
2144
2144
|
* <p>The log level.</p>
|
|
2145
2145
|
*/
|
|
2146
|
-
logLevel: LogLevel |
|
|
2146
|
+
logLevel: LogLevel | undefined;
|
|
2147
2147
|
}
|
|
2148
2148
|
/**
|
|
2149
2149
|
* @public
|
|
@@ -2158,7 +2158,7 @@ export interface SetV2LoggingOptionsRequest {
|
|
|
2158
2158
|
* @public
|
|
2159
2159
|
* <p>The default logging level.</p>
|
|
2160
2160
|
*/
|
|
2161
|
-
defaultLogLevel?: LogLevel
|
|
2161
|
+
defaultLogLevel?: LogLevel;
|
|
2162
2162
|
/**
|
|
2163
2163
|
* @public
|
|
2164
2164
|
* <p>If true all logs are disabled. The default is false.</p>
|
|
@@ -2638,7 +2638,7 @@ export interface UpdateAccountAuditConfigurationRequest {
|
|
|
2638
2638
|
* @public
|
|
2639
2639
|
* <p>Information about the targets to which audit notifications are sent.</p>
|
|
2640
2640
|
*/
|
|
2641
|
-
auditNotificationTargetConfigurations?: Record<
|
|
2641
|
+
auditNotificationTargetConfigurations?: Record<AuditNotificationType, AuditNotificationTarget>;
|
|
2642
2642
|
/**
|
|
2643
2643
|
* @public
|
|
2644
2644
|
* <p>Specifies which audit checks are enabled and disabled for this account. Use
|
|
@@ -2734,7 +2734,7 @@ export interface UpdateAuthorizerRequest {
|
|
|
2734
2734
|
* @public
|
|
2735
2735
|
* <p>The status of the update authorizer request.</p>
|
|
2736
2736
|
*/
|
|
2737
|
-
status?: AuthorizerStatus
|
|
2737
|
+
status?: AuthorizerStatus;
|
|
2738
2738
|
/**
|
|
2739
2739
|
* @public
|
|
2740
2740
|
* <p>When <code>true</code>, the result from the authorizer’s Lambda function is
|
|
@@ -2808,13 +2808,13 @@ export interface UpdateCACertificateRequest {
|
|
|
2808
2808
|
* <b>Note:</b> The status value REGISTER_INACTIVE is deprecated and
|
|
2809
2809
|
* should not be used.</p>
|
|
2810
2810
|
*/
|
|
2811
|
-
newStatus?: CACertificateStatus
|
|
2811
|
+
newStatus?: CACertificateStatus;
|
|
2812
2812
|
/**
|
|
2813
2813
|
* @public
|
|
2814
2814
|
* <p>The new value for the auto registration status. Valid values are: "ENABLE" or
|
|
2815
2815
|
* "DISABLE".</p>
|
|
2816
2816
|
*/
|
|
2817
|
-
newAutoRegistrationStatus?: AutoRegistrationStatus
|
|
2817
|
+
newAutoRegistrationStatus?: AutoRegistrationStatus;
|
|
2818
2818
|
/**
|
|
2819
2819
|
* @public
|
|
2820
2820
|
* <p>Information about the registration configuration.</p>
|
|
@@ -2848,7 +2848,7 @@ export interface UpdateCertificateRequest {
|
|
|
2848
2848
|
* <b>Note:</b> The status value REGISTER_INACTIVE is deprecated and
|
|
2849
2849
|
* should not be used.</p>
|
|
2850
2850
|
*/
|
|
2851
|
-
newStatus: CertificateStatus |
|
|
2851
|
+
newStatus: CertificateStatus | undefined;
|
|
2852
2852
|
}
|
|
2853
2853
|
/**
|
|
2854
2854
|
* @public
|
|
@@ -2898,7 +2898,7 @@ export interface UpdateCustomMetricResponse {
|
|
|
2898
2898
|
* <p>The type <code>number</code> only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.</p>
|
|
2899
2899
|
* </important>
|
|
2900
2900
|
*/
|
|
2901
|
-
metricType?: CustomMetricType
|
|
2901
|
+
metricType?: CustomMetricType;
|
|
2902
2902
|
/**
|
|
2903
2903
|
* @public
|
|
2904
2904
|
* <p>
|
|
@@ -2956,7 +2956,7 @@ export interface UpdateDimensionResponse {
|
|
|
2956
2956
|
* @public
|
|
2957
2957
|
* <p>The type of the dimension.</p>
|
|
2958
2958
|
*/
|
|
2959
|
-
type?: DimensionType
|
|
2959
|
+
type?: DimensionType;
|
|
2960
2960
|
/**
|
|
2961
2961
|
* @public
|
|
2962
2962
|
* <p>The value or list of values used to scope the dimension. For example, for topic filters, this is the pattern used to match the MQTT topic name.</p>
|
|
@@ -2991,7 +2991,7 @@ export interface UpdateDomainConfigurationRequest {
|
|
|
2991
2991
|
* @public
|
|
2992
2992
|
* <p>The status to which the domain configuration should be updated.</p>
|
|
2993
2993
|
*/
|
|
2994
|
-
domainConfigurationStatus?: DomainConfigurationStatus
|
|
2994
|
+
domainConfigurationStatus?: DomainConfigurationStatus;
|
|
2995
2995
|
/**
|
|
2996
2996
|
* @public
|
|
2997
2997
|
* <p>Removes the authorization configuration from a domain.</p>
|
|
@@ -3078,7 +3078,7 @@ export interface UpdateEventConfigurationsRequest {
|
|
|
3078
3078
|
* @public
|
|
3079
3079
|
* <p>The new event configuration values.</p>
|
|
3080
3080
|
*/
|
|
3081
|
-
eventConfigurations?: Record<
|
|
3081
|
+
eventConfigurations?: Record<EventType, Configuration>;
|
|
3082
3082
|
}
|
|
3083
3083
|
/**
|
|
3084
3084
|
* @public
|
|
@@ -3134,7 +3134,7 @@ export interface UpdateFleetMetricRequest {
|
|
|
3134
3134
|
* <p>Used to support unit transformation such as milliseconds to seconds. The unit must be
|
|
3135
3135
|
* supported by <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">CW metric</a>.</p>
|
|
3136
3136
|
*/
|
|
3137
|
-
unit?: FleetMetricUnit
|
|
3137
|
+
unit?: FleetMetricUnit;
|
|
3138
3138
|
/**
|
|
3139
3139
|
* @public
|
|
3140
3140
|
* <p>The expected version of the fleet metric record in the registry.</p>
|
|
@@ -3361,7 +3361,7 @@ export interface UpdatePackageVersionRequest {
|
|
|
3361
3361
|
* @public
|
|
3362
3362
|
* <p>The status that the package version should be assigned. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle">Package version lifecycle</a>.</p>
|
|
3363
3363
|
*/
|
|
3364
|
-
action?: PackageVersionAction
|
|
3364
|
+
action?: PackageVersionAction;
|
|
3365
3365
|
/**
|
|
3366
3366
|
* @public
|
|
3367
3367
|
* <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
|
@@ -3471,7 +3471,7 @@ export interface UpdateScheduledAuditRequest {
|
|
|
3471
3471
|
* <code>WEEKLY</code>, <code>BIWEEKLY</code>, or <code>MONTHLY</code>. The start time of each audit is determined by the
|
|
3472
3472
|
* system.</p>
|
|
3473
3473
|
*/
|
|
3474
|
-
frequency?: AuditFrequency
|
|
3474
|
+
frequency?: AuditFrequency;
|
|
3475
3475
|
/**
|
|
3476
3476
|
* @public
|
|
3477
3477
|
* <p>The day of the month on which the scheduled audit takes place.
|
|
@@ -3490,7 +3490,7 @@ export interface UpdateScheduledAuditRequest {
|
|
|
3490
3490
|
* be one of <code>SUN</code>, <code>MON</code>, <code>TUE</code>, <code>WED</code>, <code>THU</code>, <code>FRI</code>, or <code>SAT</code>. This field is required if the
|
|
3491
3491
|
* "frequency" parameter is set to <code>WEEKLY</code> or <code>BIWEEKLY</code>.</p>
|
|
3492
3492
|
*/
|
|
3493
|
-
dayOfWeek?: DayOfWeek
|
|
3493
|
+
dayOfWeek?: DayOfWeek;
|
|
3494
3494
|
/**
|
|
3495
3495
|
* @public
|
|
3496
3496
|
* <p>Which checks are performed during the scheduled audit. Checks must be enabled
|
|
@@ -3538,7 +3538,7 @@ export interface UpdateSecurityProfileRequest {
|
|
|
3538
3538
|
* @public
|
|
3539
3539
|
* <p>Where the alerts are sent. (Alerts are always sent to the console.)</p>
|
|
3540
3540
|
*/
|
|
3541
|
-
alertTargets?: Record<
|
|
3541
|
+
alertTargets?: Record<AlertTargetType, AlertTarget>;
|
|
3542
3542
|
/**
|
|
3543
3543
|
* @public
|
|
3544
3544
|
* @deprecated
|
|
@@ -3615,7 +3615,7 @@ export interface UpdateSecurityProfileResponse {
|
|
|
3615
3615
|
* @public
|
|
3616
3616
|
* <p>Where the alerts are sent. (Alerts are always sent to the console.)</p>
|
|
3617
3617
|
*/
|
|
3618
|
-
alertTargets?: Record<
|
|
3618
|
+
alertTargets?: Record<AlertTargetType, AlertTarget>;
|
|
3619
3619
|
/**
|
|
3620
3620
|
* @public
|
|
3621
3621
|
* @deprecated
|
|
@@ -3859,7 +3859,7 @@ export interface UpdateTopicRuleDestinationRequest {
|
|
|
3859
3859
|
* </dd>
|
|
3860
3860
|
* </dl>
|
|
3861
3861
|
*/
|
|
3862
|
-
status: TopicRuleDestinationStatus |
|
|
3862
|
+
status: TopicRuleDestinationStatus | undefined;
|
|
3863
3863
|
}
|
|
3864
3864
|
/**
|
|
3865
3865
|
* @public
|
|
@@ -13,8 +13,8 @@ export declare const JobExecutionFailureType: {
|
|
|
13
13
|
export type JobExecutionFailureType =
|
|
14
14
|
(typeof JobExecutionFailureType)[keyof typeof JobExecutionFailureType];
|
|
15
15
|
export interface AbortCriteria {
|
|
16
|
-
failureType: JobExecutionFailureType |
|
|
17
|
-
action: AbortAction |
|
|
16
|
+
failureType: JobExecutionFailureType | undefined;
|
|
17
|
+
action: AbortAction | undefined;
|
|
18
18
|
thresholdPercentage: number | undefined;
|
|
19
19
|
minNumberOfExecutedThings: number | undefined;
|
|
20
20
|
}
|
|
@@ -107,10 +107,10 @@ export interface DynamoDBAction {
|
|
|
107
107
|
operation?: string;
|
|
108
108
|
hashKeyField: string | undefined;
|
|
109
109
|
hashKeyValue: string | undefined;
|
|
110
|
-
hashKeyType?: DynamoKeyType
|
|
110
|
+
hashKeyType?: DynamoKeyType;
|
|
111
111
|
rangeKeyField?: string;
|
|
112
112
|
rangeKeyValue?: string;
|
|
113
|
-
rangeKeyType?: DynamoKeyType
|
|
113
|
+
rangeKeyType?: DynamoKeyType;
|
|
114
114
|
payloadField?: string;
|
|
115
115
|
}
|
|
116
116
|
export interface PutItemInput {
|
|
@@ -307,7 +307,7 @@ export interface S3Action {
|
|
|
307
307
|
roleArn: string | undefined;
|
|
308
308
|
bucketName: string | undefined;
|
|
309
309
|
key: string | undefined;
|
|
310
|
-
cannedAcl?: CannedAccessControlList
|
|
310
|
+
cannedAcl?: CannedAccessControlList;
|
|
311
311
|
}
|
|
312
312
|
export interface SalesforceAction {
|
|
313
313
|
token: string | undefined;
|
|
@@ -321,7 +321,7 @@ export type MessageFormat = (typeof MessageFormat)[keyof typeof MessageFormat];
|
|
|
321
321
|
export interface SnsAction {
|
|
322
322
|
targetArn: string | undefined;
|
|
323
323
|
roleArn: string | undefined;
|
|
324
|
-
messageFormat?: MessageFormat
|
|
324
|
+
messageFormat?: MessageFormat;
|
|
325
325
|
}
|
|
326
326
|
export interface SqsAction {
|
|
327
327
|
roleArn: string | undefined;
|
|
@@ -402,7 +402,7 @@ export declare const ConfidenceLevel: {
|
|
|
402
402
|
export type ConfidenceLevel =
|
|
403
403
|
(typeof ConfidenceLevel)[keyof typeof ConfidenceLevel];
|
|
404
404
|
export interface MachineLearningDetectionConfig {
|
|
405
|
-
confidenceLevel: ConfidenceLevel |
|
|
405
|
+
confidenceLevel: ConfidenceLevel | undefined;
|
|
406
406
|
}
|
|
407
407
|
export interface StatisticalThreshold {
|
|
408
408
|
statistic?: string;
|
|
@@ -416,7 +416,7 @@ export interface MetricValue {
|
|
|
416
416
|
strings?: string[];
|
|
417
417
|
}
|
|
418
418
|
export interface BehaviorCriteria {
|
|
419
|
-
comparisonOperator?: ComparisonOperator
|
|
419
|
+
comparisonOperator?: ComparisonOperator;
|
|
420
420
|
value?: MetricValue;
|
|
421
421
|
durationSeconds?: number;
|
|
422
422
|
consecutiveDatapointsToAlarm?: number;
|
|
@@ -432,7 +432,7 @@ export type DimensionValueOperator =
|
|
|
432
432
|
(typeof DimensionValueOperator)[keyof typeof DimensionValueOperator];
|
|
433
433
|
export interface MetricDimension {
|
|
434
434
|
dimensionName: string | undefined;
|
|
435
|
-
operator?: DimensionValueOperator
|
|
435
|
+
operator?: DimensionValueOperator;
|
|
436
436
|
}
|
|
437
437
|
export interface Behavior {
|
|
438
438
|
name: string | undefined;
|
|
@@ -450,7 +450,7 @@ export declare const VerificationState: {
|
|
|
450
450
|
export type VerificationState =
|
|
451
451
|
(typeof VerificationState)[keyof typeof VerificationState];
|
|
452
452
|
export interface ViolationEventAdditionalInfo {
|
|
453
|
-
confidenceLevel?: ConfidenceLevel
|
|
453
|
+
confidenceLevel?: ConfidenceLevel;
|
|
454
454
|
}
|
|
455
455
|
export interface ActiveViolation {
|
|
456
456
|
violationId?: string;
|
|
@@ -459,7 +459,7 @@ export interface ActiveViolation {
|
|
|
459
459
|
behavior?: Behavior;
|
|
460
460
|
lastViolationValue?: MetricValue;
|
|
461
461
|
violationEventAdditionalInfo?: ViolationEventAdditionalInfo;
|
|
462
|
-
verificationState?: VerificationState
|
|
462
|
+
verificationState?: VerificationState;
|
|
463
463
|
verificationStateDescription?: string;
|
|
464
464
|
lastViolationTime?: Date;
|
|
465
465
|
violationStartTime?: Date;
|
|
@@ -495,7 +495,7 @@ export declare const AggregationTypeName: {
|
|
|
495
495
|
export type AggregationTypeName =
|
|
496
496
|
(typeof AggregationTypeName)[keyof typeof AggregationTypeName];
|
|
497
497
|
export interface AggregationType {
|
|
498
|
-
name: AggregationTypeName |
|
|
498
|
+
name: AggregationTypeName | undefined;
|
|
499
499
|
values?: string[];
|
|
500
500
|
}
|
|
501
501
|
export interface AlertTarget {
|
|
@@ -575,7 +575,7 @@ export declare const AuditCheckRunStatus: {
|
|
|
575
575
|
export type AuditCheckRunStatus =
|
|
576
576
|
(typeof AuditCheckRunStatus)[keyof typeof AuditCheckRunStatus];
|
|
577
577
|
export interface AuditCheckDetails {
|
|
578
|
-
checkRunStatus?: AuditCheckRunStatus
|
|
578
|
+
checkRunStatus?: AuditCheckRunStatus;
|
|
579
579
|
checkCompliant?: boolean;
|
|
580
580
|
totalResourcesCount?: number;
|
|
581
581
|
nonCompliantResourcesCount?: number;
|
|
@@ -617,12 +617,12 @@ export declare const ResourceType: {
|
|
|
617
617
|
};
|
|
618
618
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
619
619
|
export interface NonCompliantResource {
|
|
620
|
-
resourceType?: ResourceType
|
|
620
|
+
resourceType?: ResourceType;
|
|
621
621
|
resourceIdentifier?: ResourceIdentifier;
|
|
622
622
|
additionalInfo?: Record<string, string>;
|
|
623
623
|
}
|
|
624
624
|
export interface RelatedResource {
|
|
625
|
-
resourceType?: ResourceType
|
|
625
|
+
resourceType?: ResourceType;
|
|
626
626
|
resourceIdentifier?: ResourceIdentifier;
|
|
627
627
|
additionalInfo?: Record<string, string>;
|
|
628
628
|
}
|
|
@@ -640,7 +640,7 @@ export interface AuditFinding {
|
|
|
640
640
|
checkName?: string;
|
|
641
641
|
taskStartTime?: Date;
|
|
642
642
|
findingTime?: Date;
|
|
643
|
-
severity?: AuditFindingSeverity
|
|
643
|
+
severity?: AuditFindingSeverity;
|
|
644
644
|
nonCompliantResource?: NonCompliantResource;
|
|
645
645
|
relatedResources?: RelatedResource[];
|
|
646
646
|
reasonForNonCompliance?: string;
|
|
@@ -670,7 +670,7 @@ export interface AuditMitigationActionExecutionMetadata {
|
|
|
670
670
|
findingId?: string;
|
|
671
671
|
actionName?: string;
|
|
672
672
|
actionId?: string;
|
|
673
|
-
status?: AuditMitigationActionsExecutionStatus
|
|
673
|
+
status?: AuditMitigationActionsExecutionStatus;
|
|
674
674
|
startTime?: Date;
|
|
675
675
|
endTime?: Date;
|
|
676
676
|
errorCode?: string;
|
|
@@ -687,7 +687,7 @@ export type AuditMitigationActionsTaskStatus =
|
|
|
687
687
|
export interface AuditMitigationActionsTaskMetadata {
|
|
688
688
|
taskId?: string;
|
|
689
689
|
startTime?: Date;
|
|
690
|
-
taskStatus?: AuditMitigationActionsTaskStatus
|
|
690
|
+
taskStatus?: AuditMitigationActionsTaskStatus;
|
|
691
691
|
}
|
|
692
692
|
export interface TaskStatisticsForAuditCheck {
|
|
693
693
|
totalFindingsCount?: number;
|
|
@@ -733,8 +733,8 @@ export declare const AuditTaskType: {
|
|
|
733
733
|
export type AuditTaskType = (typeof AuditTaskType)[keyof typeof AuditTaskType];
|
|
734
734
|
export interface AuditTaskMetadata {
|
|
735
735
|
taskId?: string;
|
|
736
|
-
taskStatus?: AuditTaskStatus
|
|
737
|
-
taskType?: AuditTaskType
|
|
736
|
+
taskStatus?: AuditTaskStatus;
|
|
737
|
+
taskType?: AuditTaskType;
|
|
738
738
|
}
|
|
739
739
|
export declare const AuthDecision: {
|
|
740
740
|
readonly ALLOWED: "ALLOWED";
|
|
@@ -743,7 +743,7 @@ export declare const AuthDecision: {
|
|
|
743
743
|
};
|
|
744
744
|
export type AuthDecision = (typeof AuthDecision)[keyof typeof AuthDecision];
|
|
745
745
|
export interface AuthInfo {
|
|
746
|
-
actionType?: ActionType
|
|
746
|
+
actionType?: ActionType;
|
|
747
747
|
resources: string[] | undefined;
|
|
748
748
|
}
|
|
749
749
|
export interface AuthorizerConfig {
|
|
@@ -762,7 +762,7 @@ export interface AuthorizerDescription {
|
|
|
762
762
|
authorizerFunctionArn?: string;
|
|
763
763
|
tokenKeyName?: string;
|
|
764
764
|
tokenSigningPublicKeys?: Record<string, string>;
|
|
765
|
-
status?: AuthorizerStatus
|
|
765
|
+
status?: AuthorizerStatus;
|
|
766
766
|
creationDate?: Date;
|
|
767
767
|
lastModifiedDate?: Date;
|
|
768
768
|
signingDisabled?: boolean;
|
|
@@ -786,7 +786,7 @@ export interface AuthResult {
|
|
|
786
786
|
authInfo?: AuthInfo;
|
|
787
787
|
allowed?: Allowed;
|
|
788
788
|
denied?: Denied;
|
|
789
|
-
authDecision?: AuthDecision
|
|
789
|
+
authDecision?: AuthDecision;
|
|
790
790
|
missingContextValues?: string[];
|
|
791
791
|
}
|
|
792
792
|
export declare const AutoRegistrationStatus: {
|
|
@@ -886,7 +886,7 @@ export interface CreateAuthorizerRequest {
|
|
|
886
886
|
authorizerFunctionArn: string | undefined;
|
|
887
887
|
tokenKeyName?: string;
|
|
888
888
|
tokenSigningPublicKeys?: Record<string, string>;
|
|
889
|
-
status?: AuthorizerStatus
|
|
889
|
+
status?: AuthorizerStatus;
|
|
890
890
|
tags?: Tag[];
|
|
891
891
|
signingDisabled?: boolean;
|
|
892
892
|
enableCachingForHttp?: boolean;
|
|
@@ -928,7 +928,7 @@ export type CustomMetricType =
|
|
|
928
928
|
export interface CreateCustomMetricRequest {
|
|
929
929
|
metricName: string | undefined;
|
|
930
930
|
displayName?: string;
|
|
931
|
-
metricType: CustomMetricType |
|
|
931
|
+
metricType: CustomMetricType | undefined;
|
|
932
932
|
tags?: Tag[];
|
|
933
933
|
clientRequestToken?: string;
|
|
934
934
|
}
|
|
@@ -942,7 +942,7 @@ export declare const DimensionType: {
|
|
|
942
942
|
export type DimensionType = (typeof DimensionType)[keyof typeof DimensionType];
|
|
943
943
|
export interface CreateDimensionRequest {
|
|
944
944
|
name: string | undefined;
|
|
945
|
-
type: DimensionType |
|
|
945
|
+
type: DimensionType | undefined;
|
|
946
946
|
stringValues: string[] | undefined;
|
|
947
947
|
tags?: Tag[];
|
|
948
948
|
clientRequestToken?: string;
|
|
@@ -973,7 +973,7 @@ export interface CreateDomainConfigurationRequest {
|
|
|
973
973
|
serverCertificateArns?: string[];
|
|
974
974
|
validationCertificateArn?: string;
|
|
975
975
|
authorizerConfig?: AuthorizerConfig;
|
|
976
|
-
serviceType?: ServiceType
|
|
976
|
+
serviceType?: ServiceType;
|
|
977
977
|
tags?: Tag[];
|
|
978
978
|
tlsConfig?: TlsConfig;
|
|
979
979
|
}
|
|
@@ -1048,7 +1048,7 @@ export interface CreateFleetMetricRequest {
|
|
|
1048
1048
|
description?: string;
|
|
1049
1049
|
queryVersion?: string;
|
|
1050
1050
|
indexName?: string;
|
|
1051
|
-
unit?: FleetMetricUnit
|
|
1051
|
+
unit?: FleetMetricUnit;
|
|
1052
1052
|
tags?: Tag[];
|
|
1053
1053
|
}
|
|
1054
1054
|
export interface CreateFleetMetricResponse {
|
|
@@ -1077,7 +1077,7 @@ export declare const RetryableFailureType: {
|
|
|
1077
1077
|
export type RetryableFailureType =
|
|
1078
1078
|
(typeof RetryableFailureType)[keyof typeof RetryableFailureType];
|
|
1079
1079
|
export interface RetryCriteria {
|
|
1080
|
-
failureType: RetryableFailureType |
|
|
1080
|
+
failureType: RetryableFailureType | undefined;
|
|
1081
1081
|
numberOfRetries: number | undefined;
|
|
1082
1082
|
}
|
|
1083
1083
|
export interface JobExecutionsRetryConfig {
|
|
@@ -1114,7 +1114,7 @@ export interface MaintenanceWindow {
|
|
|
1114
1114
|
export interface SchedulingConfig {
|
|
1115
1115
|
startTime?: string;
|
|
1116
1116
|
endTime?: string;
|
|
1117
|
-
endBehavior?: JobEndBehavior
|
|
1117
|
+
endBehavior?: JobEndBehavior;
|
|
1118
1118
|
maintenanceWindows?: MaintenanceWindow[];
|
|
1119
1119
|
}
|
|
1120
1120
|
export declare const TargetSelection: {
|
|
@@ -1133,7 +1133,7 @@ export interface CreateJobRequest {
|
|
|
1133
1133
|
document?: string;
|
|
1134
1134
|
description?: string;
|
|
1135
1135
|
presignedUrlConfig?: PresignedUrlConfig;
|
|
1136
|
-
targetSelection?: TargetSelection
|
|
1136
|
+
targetSelection?: TargetSelection;
|
|
1137
1137
|
jobExecutionsRolloutConfig?: JobExecutionsRolloutConfig;
|
|
1138
1138
|
abortConfig?: AbortConfig;
|
|
1139
1139
|
timeoutConfig?: TimeoutConfig;
|
|
@@ -1198,7 +1198,7 @@ export declare const LogLevel: {
|
|
|
1198
1198
|
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
1199
1199
|
export interface EnableIoTLoggingParams {
|
|
1200
1200
|
roleArnForLogging: string | undefined;
|
|
1201
|
-
logLevel: LogLevel |
|
|
1201
|
+
logLevel: LogLevel | undefined;
|
|
1202
1202
|
}
|
|
1203
1203
|
export interface PublishFindingToSnsParams {
|
|
1204
1204
|
topicArn: string | undefined;
|
|
@@ -1209,7 +1209,7 @@ export declare const PolicyTemplateName: {
|
|
|
1209
1209
|
export type PolicyTemplateName =
|
|
1210
1210
|
(typeof PolicyTemplateName)[keyof typeof PolicyTemplateName];
|
|
1211
1211
|
export interface ReplaceDefaultPolicyVersionParams {
|
|
1212
|
-
templateName: PolicyTemplateName |
|
|
1212
|
+
templateName: PolicyTemplateName | undefined;
|
|
1213
1213
|
}
|
|
1214
1214
|
export declare const CACertificateUpdateAction: {
|
|
1215
1215
|
readonly DEACTIVATE: "DEACTIVATE";
|
|
@@ -1217,7 +1217,7 @@ export declare const CACertificateUpdateAction: {
|
|
|
1217
1217
|
export type CACertificateUpdateAction =
|
|
1218
1218
|
(typeof CACertificateUpdateAction)[keyof typeof CACertificateUpdateAction];
|
|
1219
1219
|
export interface UpdateCACertificateParams {
|
|
1220
|
-
action: CACertificateUpdateAction |
|
|
1220
|
+
action: CACertificateUpdateAction | undefined;
|
|
1221
1221
|
}
|
|
1222
1222
|
export declare const DeviceCertificateUpdateAction: {
|
|
1223
1223
|
readonly DEACTIVATE: "DEACTIVATE";
|
|
@@ -1225,7 +1225,7 @@ export declare const DeviceCertificateUpdateAction: {
|
|
|
1225
1225
|
export type DeviceCertificateUpdateAction =
|
|
1226
1226
|
(typeof DeviceCertificateUpdateAction)[keyof typeof DeviceCertificateUpdateAction];
|
|
1227
1227
|
export interface UpdateDeviceCertificateParams {
|
|
1228
|
-
action: DeviceCertificateUpdateAction |
|
|
1228
|
+
action: DeviceCertificateUpdateAction | undefined;
|
|
1229
1229
|
}
|
|
1230
1230
|
export interface MitigationActionParams {
|
|
1231
1231
|
updateDeviceCertificateParams?: UpdateDeviceCertificateParams;
|
|
@@ -1259,8 +1259,8 @@ export declare const AwsJobAbortCriteriaFailureType: {
|
|
|
1259
1259
|
export type AwsJobAbortCriteriaFailureType =
|
|
1260
1260
|
(typeof AwsJobAbortCriteriaFailureType)[keyof typeof AwsJobAbortCriteriaFailureType];
|
|
1261
1261
|
export interface AwsJobAbortCriteria {
|
|
1262
|
-
failureType: AwsJobAbortCriteriaFailureType |
|
|
1263
|
-
action: AwsJobAbortCriteriaAbortAction |
|
|
1262
|
+
failureType: AwsJobAbortCriteriaFailureType | undefined;
|
|
1263
|
+
action: AwsJobAbortCriteriaAbortAction | undefined;
|
|
1264
1264
|
thresholdPercentage: number | undefined;
|
|
1265
1265
|
minNumberOfExecutedThings: number | undefined;
|
|
1266
1266
|
}
|
|
@@ -1351,8 +1351,8 @@ export interface CreateOTAUpdateRequest {
|
|
|
1351
1351
|
otaUpdateId: string | undefined;
|
|
1352
1352
|
description?: string;
|
|
1353
1353
|
targets: string[] | undefined;
|
|
1354
|
-
protocols?:
|
|
1355
|
-
targetSelection?: TargetSelection
|
|
1354
|
+
protocols?: Protocol[];
|
|
1355
|
+
targetSelection?: TargetSelection;
|
|
1356
1356
|
awsJobExecutionsRolloutConfig?: AwsJobExecutionsRolloutConfig;
|
|
1357
1357
|
awsJobPresignedUrlConfig?: AwsJobPresignedUrlConfig;
|
|
1358
1358
|
awsJobAbortConfig?: AwsJobAbortConfig;
|
|
@@ -1377,7 +1377,7 @@ export interface CreateOTAUpdateResponse {
|
|
|
1377
1377
|
awsIotJobId?: string;
|
|
1378
1378
|
otaUpdateArn?: string;
|
|
1379
1379
|
awsIotJobArn?: string;
|
|
1380
|
-
otaUpdateStatus?: OTAUpdateStatus
|
|
1380
|
+
otaUpdateStatus?: OTAUpdateStatus;
|
|
1381
1381
|
}
|
|
1382
1382
|
export interface CreatePackageRequest {
|
|
1383
1383
|
packageName: string | undefined;
|
|
@@ -1432,7 +1432,7 @@ export interface CreatePackageVersionResponse {
|
|
|
1432
1432
|
versionName?: string;
|
|
1433
1433
|
description?: string;
|
|
1434
1434
|
attributes?: Record<string, string>;
|
|
1435
|
-
status?: PackageVersionStatus
|
|
1435
|
+
status?: PackageVersionStatus;
|
|
1436
1436
|
errorReason?: string;
|
|
1437
1437
|
}
|
|
1438
1438
|
export interface CreatePolicyRequest {
|
|
@@ -1497,7 +1497,7 @@ export interface CreateProvisioningTemplateRequest {
|
|
|
1497
1497
|
provisioningRoleArn: string | undefined;
|
|
1498
1498
|
preProvisioningHook?: ProvisioningHook;
|
|
1499
1499
|
tags?: Tag[];
|
|
1500
|
-
type?: TemplateType
|
|
1500
|
+
type?: TemplateType;
|
|
1501
1501
|
}
|
|
1502
1502
|
export interface CreateProvisioningTemplateResponse {
|
|
1503
1503
|
templateArn?: string;
|
|
@@ -1536,9 +1536,9 @@ export declare const DayOfWeek: {
|
|
|
1536
1536
|
};
|
|
1537
1537
|
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
1538
1538
|
export interface CreateScheduledAuditRequest {
|
|
1539
|
-
frequency: AuditFrequency |
|
|
1539
|
+
frequency: AuditFrequency | undefined;
|
|
1540
1540
|
dayOfMonth?: string;
|
|
1541
|
-
dayOfWeek?: DayOfWeek
|
|
1541
|
+
dayOfWeek?: DayOfWeek;
|
|
1542
1542
|
targetCheckNames: string[] | undefined;
|
|
1543
1543
|
scheduledAuditName: string | undefined;
|
|
1544
1544
|
tags?: Tag[];
|
|
@@ -1550,7 +1550,7 @@ export interface CreateSecurityProfileRequest {
|
|
|
1550
1550
|
securityProfileName: string | undefined;
|
|
1551
1551
|
securityProfileDescription?: string;
|
|
1552
1552
|
behaviors?: Behavior[];
|
|
1553
|
-
alertTargets?: Record<
|
|
1553
|
+
alertTargets?: Record<AlertTargetType, AlertTarget>;
|
|
1554
1554
|
additionalMetricsToRetain?: string[];
|
|
1555
1555
|
additionalMetricsToRetainV2?: MetricToRetain[];
|
|
1556
1556
|
tags?: Tag[];
|
|
@@ -1666,7 +1666,7 @@ export interface VpcDestinationProperties {
|
|
|
1666
1666
|
}
|
|
1667
1667
|
export interface TopicRuleDestination {
|
|
1668
1668
|
arn?: string;
|
|
1669
|
-
status?: TopicRuleDestinationStatus
|
|
1669
|
+
status?: TopicRuleDestinationStatus;
|
|
1670
1670
|
createdAt?: Date;
|
|
1671
1671
|
lastUpdatedAt?: Date;
|
|
1672
1672
|
statusReason?: string;
|