@aws-sdk/client-iot 3.428.0 → 3.430.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.
@@ -1,6 +1,6 @@
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, 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, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, SchedulingConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestination, VerificationState } from "./models_0";
3
+ import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AlertTargetType, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, SchedulingConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestination, VerificationState } from "./models_0";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -462,7 +462,7 @@ export interface DeleteV2LoggingLevelRequest {
462
462
  * <p>The type of resource for which you are configuring logging. Must be
463
463
  * <code>THING_Group</code>.</p>
464
464
  */
465
- targetType: LogTargetType | string | undefined;
465
+ targetType: LogTargetType | undefined;
466
466
  /**
467
467
  * @public
468
468
  * <p>The name of the resource for which you are configuring logging.</p>
@@ -515,7 +515,7 @@ export interface DescribeAccountAuditConfigurationResponse {
515
515
  * <p>Information about the targets to which audit notifications are sent for
516
516
  * this account.</p>
517
517
  */
518
- auditNotificationTargetConfigurations?: Record<string, AuditNotificationTarget>;
518
+ auditNotificationTargetConfigurations?: Record<AuditNotificationType, AuditNotificationTarget>;
519
519
  /**
520
520
  * @public
521
521
  * <p>Which audit checks are enabled and disabled for this account.</p>
@@ -586,7 +586,7 @@ export interface DescribeAuditMitigationActionsTaskResponse {
586
586
  * @public
587
587
  * <p>The current status of the task.</p>
588
588
  */
589
- taskStatus?: AuditMitigationActionsTaskStatus | string;
589
+ taskStatus?: AuditMitigationActionsTaskStatus;
590
590
  /**
591
591
  * @public
592
592
  * <p>The date and time when the task was started.</p>
@@ -735,12 +735,12 @@ export interface DescribeAuditTaskResponse {
735
735
  * <p>The status of the audit: one of "IN_PROGRESS", "COMPLETED",
736
736
  * "FAILED", or "CANCELED".</p>
737
737
  */
738
- taskStatus?: AuditTaskStatus | string;
738
+ taskStatus?: AuditTaskStatus;
739
739
  /**
740
740
  * @public
741
741
  * <p>The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".</p>
742
742
  */
743
- taskType?: AuditTaskType | string;
743
+ taskType?: AuditTaskType;
744
744
  /**
745
745
  * @public
746
746
  * <p>The time the audit started.</p>
@@ -908,7 +908,7 @@ export interface CACertificateDescription {
908
908
  * @public
909
909
  * <p>The status of a CA certificate.</p>
910
910
  */
911
- status?: CACertificateStatus | string;
911
+ status?: CACertificateStatus;
912
912
  /**
913
913
  * @public
914
914
  * <p>The CA certificate data, in PEM format.</p>
@@ -929,7 +929,7 @@ export interface CACertificateDescription {
929
929
  * <p>Whether the CA certificate configured for auto registration of device certificates.
930
930
  * Valid values are "ENABLE" and "DISABLE"</p>
931
931
  */
932
- autoRegistrationStatus?: AutoRegistrationStatus | string;
932
+ autoRegistrationStatus?: AutoRegistrationStatus;
933
933
  /**
934
934
  * @public
935
935
  * <p>The date the CA certificate was last modified.</p>
@@ -956,7 +956,7 @@ export interface CACertificateDescription {
956
956
  * <p>All the device certificates that are registered using this CA will be registered
957
957
  * in the same mode as the CA. For more information about certificate mode for device certificates, see <a href="https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode">certificate mode</a>.</p>
958
958
  */
959
- certificateMode?: CertificateMode | string;
959
+ certificateMode?: CertificateMode;
960
960
  }
961
961
  /**
962
962
  * @public
@@ -1078,7 +1078,7 @@ export interface CertificateDescription {
1078
1078
  * @public
1079
1079
  * <p>The status of the certificate.</p>
1080
1080
  */
1081
- status?: CertificateStatus | string;
1081
+ status?: CertificateStatus;
1082
1082
  /**
1083
1083
  * @public
1084
1084
  * <p>The certificate data, in PEM format.</p>
@@ -1139,7 +1139,7 @@ export interface CertificateDescription {
1139
1139
  * in <code>SNI_ONLY</code> mode must send the SNI extension when connecting to Amazon Web Services IoT Core. </p>
1140
1140
  * <p>For more information about the value for SNI extension, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/transport-security.html">Transport security in IoT</a>.</p>
1141
1141
  */
1142
- certificateMode?: CertificateMode | string;
1142
+ certificateMode?: CertificateMode;
1143
1143
  }
1144
1144
  /**
1145
1145
  * @public
@@ -1189,7 +1189,7 @@ export interface DescribeCustomMetricResponse {
1189
1189
  * <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>
1190
1190
  * </important>
1191
1191
  */
1192
- metricType?: CustomMetricType | string;
1192
+ metricType?: CustomMetricType;
1193
1193
  /**
1194
1194
  * @public
1195
1195
  * <p>
@@ -1353,7 +1353,7 @@ export interface DetectMitigationActionsTaskSummary {
1353
1353
  * The status of the task.
1354
1354
  * </p>
1355
1355
  */
1356
- taskStatus?: DetectMitigationActionsTaskStatus | string;
1356
+ taskStatus?: DetectMitigationActionsTaskStatus;
1357
1357
  /**
1358
1358
  * @public
1359
1359
  * <p>
@@ -1454,7 +1454,7 @@ export interface DescribeDimensionResponse {
1454
1454
  * @public
1455
1455
  * <p>The type of the dimension.</p>
1456
1456
  */
1457
- type?: DimensionType | string;
1457
+ type?: DimensionType;
1458
1458
  /**
1459
1459
  * @public
1460
1460
  * <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>
@@ -1532,7 +1532,7 @@ export interface ServerCertificateSummary {
1532
1532
  * @public
1533
1533
  * <p>The status of the server certificate.</p>
1534
1534
  */
1535
- serverCertificateStatus?: ServerCertificateStatus | string;
1535
+ serverCertificateStatus?: ServerCertificateStatus;
1536
1536
  /**
1537
1537
  * @public
1538
1538
  * <p>Details that explain the status of the server certificate.</p>
@@ -1572,17 +1572,17 @@ export interface DescribeDomainConfigurationResponse {
1572
1572
  * @public
1573
1573
  * <p>A Boolean value that specifies the current state of the domain configuration.</p>
1574
1574
  */
1575
- domainConfigurationStatus?: DomainConfigurationStatus | string;
1575
+ domainConfigurationStatus?: DomainConfigurationStatus;
1576
1576
  /**
1577
1577
  * @public
1578
1578
  * <p>The type of service delivered by the endpoint.</p>
1579
1579
  */
1580
- serviceType?: ServiceType | string;
1580
+ serviceType?: ServiceType;
1581
1581
  /**
1582
1582
  * @public
1583
1583
  * <p>The type of the domain.</p>
1584
1584
  */
1585
- domainType?: DomainType | string;
1585
+ domainType?: DomainType;
1586
1586
  /**
1587
1587
  * @public
1588
1588
  * <p>The date and time the domain configuration's status was last changed.</p>
@@ -1691,7 +1691,7 @@ export interface DescribeEventConfigurationsResponse {
1691
1691
  * @public
1692
1692
  * <p>The event configurations.</p>
1693
1693
  */
1694
- eventConfigurations?: Record<string, Configuration>;
1694
+ eventConfigurations?: Record<EventType, Configuration>;
1695
1695
  /**
1696
1696
  * @public
1697
1697
  * <p>The creation date of the event configuration.</p>
@@ -1772,7 +1772,7 @@ export interface DescribeFleetMetricResponse {
1772
1772
  * <p>Used to support unit transformation such as milliseconds to seconds. The unit must be
1773
1773
  * supported by <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">CW metric</a>.</p>
1774
1774
  */
1775
- unit?: FleetMetricUnit | string;
1775
+ unit?: FleetMetricUnit;
1776
1776
  /**
1777
1777
  * @public
1778
1778
  * <p>The version of the fleet metric.</p>
@@ -1820,7 +1820,7 @@ export interface DescribeIndexResponse {
1820
1820
  * @public
1821
1821
  * <p>The index status.</p>
1822
1822
  */
1823
- indexStatus?: IndexStatus | string;
1823
+ indexStatus?: IndexStatus;
1824
1824
  /**
1825
1825
  * @public
1826
1826
  * <p>Contains a value that specifies the type of indexing performed. Valid values
@@ -1964,13 +1964,13 @@ export interface Job {
1964
1964
  * been created.</p>
1965
1965
  * </note>
1966
1966
  */
1967
- targetSelection?: TargetSelection | string;
1967
+ targetSelection?: TargetSelection;
1968
1968
  /**
1969
1969
  * @public
1970
1970
  * <p>The status of the job, one of <code>IN_PROGRESS</code>, <code>CANCELED</code>,
1971
1971
  * <code>DELETION_IN_PROGRESS</code> or <code>COMPLETED</code>. </p>
1972
1972
  */
1973
- status?: JobStatus | string;
1973
+ status?: JobStatus;
1974
1974
  /**
1975
1975
  * @public
1976
1976
  * <p>Will be <code>true</code> if the job was canceled with the optional <code>force</code> parameter set to
@@ -2183,7 +2183,7 @@ export interface JobExecution {
2183
2183
  * <p>The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT,
2184
2184
  * CANCELED, or REJECTED).</p>
2185
2185
  */
2186
- status?: JobExecutionStatus | string;
2186
+ status?: JobExecutionStatus;
2187
2187
  /**
2188
2188
  * @public
2189
2189
  * <p>Will be <code>true</code> if the job execution was canceled with the optional <code>force</code>
@@ -2480,7 +2480,7 @@ export interface DescribeMitigationActionResponse {
2480
2480
  * @public
2481
2481
  * <p>The type of mitigation action.</p>
2482
2482
  */
2483
- actionType?: MitigationActionType | string;
2483
+ actionType?: MitigationActionType;
2484
2484
  /**
2485
2485
  * @public
2486
2486
  * <p>The ARN that identifies this migration action.</p>
@@ -2584,7 +2584,7 @@ export interface DescribeProvisioningTemplateResponse {
2584
2584
  * For more information about provisioning template, see: <a href="https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html">Provisioning template</a>.
2585
2585
  * </p>
2586
2586
  */
2587
- type?: TemplateType | string;
2587
+ type?: TemplateType;
2588
2588
  }
2589
2589
  /**
2590
2590
  * @public
@@ -2709,7 +2709,7 @@ export interface DescribeScheduledAuditResponse {
2709
2709
  * <code>WEEKLY</code>, <code>BIWEEKLY</code>, or <code>MONTHLY</code>. The start time of each audit is determined by the
2710
2710
  * system.</p>
2711
2711
  */
2712
- frequency?: AuditFrequency | string;
2712
+ frequency?: AuditFrequency;
2713
2713
  /**
2714
2714
  * @public
2715
2715
  * <p>The day of the month on which the scheduled audit takes place.
@@ -2728,7 +2728,7 @@ export interface DescribeScheduledAuditResponse {
2728
2728
  * either one of
2729
2729
  * <code>SUN</code>, <code>MON</code>, <code>TUE</code>, <code>WED</code>, <code>THU</code>, <code>FRI</code>, or <code>SAT</code>.</p>
2730
2730
  */
2731
- dayOfWeek?: DayOfWeek | string;
2731
+ dayOfWeek?: DayOfWeek;
2732
2732
  /**
2733
2733
  * @public
2734
2734
  * <p>Which checks are performed during the scheduled audit. Checks must be
@@ -2788,7 +2788,7 @@ export interface DescribeSecurityProfileResponse {
2788
2788
  * @public
2789
2789
  * <p>Where the alerts are sent. (Alerts are always sent to the console.)</p>
2790
2790
  */
2791
- alertTargets?: Record<string, AlertTarget>;
2791
+ alertTargets?: Record<AlertTargetType, AlertTarget>;
2792
2792
  /**
2793
2793
  * @public
2794
2794
  * @deprecated
@@ -3074,7 +3074,7 @@ export interface DescribeThingGroupResponse {
3074
3074
  * @public
3075
3075
  * <p>The dynamic thing group status.</p>
3076
3076
  */
3077
- status?: DynamicGroupStatus | string;
3077
+ status?: DynamicGroupStatus;
3078
3078
  }
3079
3079
  /**
3080
3080
  * @public
@@ -3144,7 +3144,7 @@ export interface DescribeThingRegistrationTaskResponse {
3144
3144
  * @public
3145
3145
  * <p>The status of the bulk thing provisioning task.</p>
3146
3146
  */
3147
- status?: Status | string;
3147
+ status?: Status;
3148
3148
  /**
3149
3149
  * @public
3150
3150
  * <p>The message.</p>
@@ -3406,7 +3406,7 @@ export interface BehaviorModelTrainingSummary {
3406
3406
  * The status of the behavior model.
3407
3407
  * </p>
3408
3408
  */
3409
- modelStatus?: ModelStatus | string;
3409
+ modelStatus?: ModelStatus;
3410
3410
  /**
3411
3411
  * @public
3412
3412
  * <p>
@@ -3646,7 +3646,7 @@ export interface Field {
3646
3646
  * @public
3647
3647
  * <p>The data type of the field.</p>
3648
3648
  */
3649
- type?: FieldType | string;
3649
+ type?: FieldType;
3650
3650
  }
3651
3651
  /**
3652
3652
  * @public
@@ -3669,7 +3669,7 @@ export interface ThingGroupIndexingConfiguration {
3669
3669
  * @public
3670
3670
  * <p>Thing group indexing mode.</p>
3671
3671
  */
3672
- thingGroupIndexingMode: ThingGroupIndexingMode | string | undefined;
3672
+ thingGroupIndexingMode: ThingGroupIndexingMode | undefined;
3673
3673
  /**
3674
3674
  * @public
3675
3675
  * <p>Contains fields that are indexed and whose types are already known by the Fleet Indexing
@@ -3770,7 +3770,7 @@ export interface ThingIndexingConfiguration {
3770
3770
  * </li>
3771
3771
  * </ul>
3772
3772
  */
3773
- thingIndexingMode: ThingIndexingMode | string | undefined;
3773
+ thingIndexingMode: ThingIndexingMode | undefined;
3774
3774
  /**
3775
3775
  * @public
3776
3776
  * <p>Thing connectivity indexing mode. Valid values are: </p>
@@ -3785,7 +3785,7 @@ export interface ThingIndexingConfiguration {
3785
3785
  * </li>
3786
3786
  * </ul>
3787
3787
  */
3788
- thingConnectivityIndexingMode?: ThingConnectivityIndexingMode | string;
3788
+ thingConnectivityIndexingMode?: ThingConnectivityIndexingMode;
3789
3789
  /**
3790
3790
  * @public
3791
3791
  * <p>Device Defender indexing mode. Valid values are:</p>
@@ -3802,7 +3802,7 @@ export interface ThingIndexingConfiguration {
3802
3802
  * <p>For more information about Device Defender violations, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-detect.html">Device Defender Detect.</a>
3803
3803
  * </p>
3804
3804
  */
3805
- deviceDefenderIndexingMode?: DeviceDefenderIndexingMode | string;
3805
+ deviceDefenderIndexingMode?: DeviceDefenderIndexingMode;
3806
3806
  /**
3807
3807
  * @public
3808
3808
  * <p>Named shadow indexing mode. Valid values are:</p>
@@ -3819,7 +3819,7 @@ export interface ThingIndexingConfiguration {
3819
3819
  * <p>For more information about Shadows, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html">IoT Device Shadow service.</a>
3820
3820
  * </p>
3821
3821
  */
3822
- namedShadowIndexingMode?: NamedShadowIndexingMode | string;
3822
+ namedShadowIndexingMode?: NamedShadowIndexingMode;
3823
3823
  /**
3824
3824
  * @public
3825
3825
  * <p>Contains fields that are indexed and whose types are already known by the Fleet Indexing
@@ -3894,7 +3894,7 @@ export interface GetLoggingOptionsResponse {
3894
3894
  * @public
3895
3895
  * <p>The logging level.</p>
3896
3896
  */
3897
- logLevel?: LogLevel | string;
3897
+ logLevel?: LogLevel;
3898
3898
  }
3899
3899
  /**
3900
3900
  * @public
@@ -3962,7 +3962,7 @@ export interface OTAUpdateInfo {
3962
3962
  * <p>The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both
3963
3963
  * HTTP and MQTT are specified, the target device can choose the protocol.</p>
3964
3964
  */
3965
- protocols?: (Protocol | string)[];
3965
+ protocols?: Protocol[];
3966
3966
  /**
3967
3967
  * @public
3968
3968
  * <p>Configuration for the rollout of OTA updates.</p>
@@ -3982,7 +3982,7 @@ export interface OTAUpdateInfo {
3982
3982
  * the thing is added to a target group, even after the OTA update was completed by all things originally in
3983
3983
  * the group. </p>
3984
3984
  */
3985
- targetSelection?: TargetSelection | string;
3985
+ targetSelection?: TargetSelection;
3986
3986
  /**
3987
3987
  * @public
3988
3988
  * <p>A list of files associated with the OTA update.</p>
@@ -3992,7 +3992,7 @@ export interface OTAUpdateInfo {
3992
3992
  * @public
3993
3993
  * <p>The status of the OTA update.</p>
3994
3994
  */
3995
- otaUpdateStatus?: OTAUpdateStatus | string;
3995
+ otaUpdateStatus?: OTAUpdateStatus;
3996
3996
  /**
3997
3997
  * @public
3998
3998
  * <p>The IoT job ID associated with the OTA update.</p>
@@ -4152,7 +4152,7 @@ export interface GetPackageVersionResponse {
4152
4152
  * @public
4153
4153
  * <p>The status associated to the package version. 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>
4154
4154
  */
4155
- status?: PackageVersionStatus | string;
4155
+ status?: PackageVersionStatus;
4156
4156
  /**
4157
4157
  * @public
4158
4158
  * <p>Error reason for a package version failure during creation or update.</p>
@@ -4553,7 +4553,7 @@ export interface GetV2LoggingOptionsResponse {
4553
4553
  * @public
4554
4554
  * <p>The default log level.</p>
4555
4555
  */
4556
- defaultLogLevel?: LogLevel | string;
4556
+ defaultLogLevel?: LogLevel;
4557
4557
  /**
4558
4558
  * @public
4559
4559
  * <p>Disables all logs.</p>
@@ -4605,7 +4605,7 @@ export interface ListActiveViolationsRequest {
4605
4605
  * The criteria for a behavior.
4606
4606
  * </p>
4607
4607
  */
4608
- behaviorCriteriaType?: BehaviorCriteriaType | string;
4608
+ behaviorCriteriaType?: BehaviorCriteriaType;
4609
4609
  /**
4610
4610
  * @public
4611
4611
  * <p>
@@ -4617,7 +4617,7 @@ export interface ListActiveViolationsRequest {
4617
4617
  * @public
4618
4618
  * <p>The verification state of the violation (detect alarm).</p>
4619
4619
  */
4620
- verificationState?: VerificationState | string;
4620
+ verificationState?: VerificationState;
4621
4621
  /**
4622
4622
  * @public
4623
4623
  * <p>The token for the next set of results.</p>
@@ -4765,7 +4765,7 @@ export interface ListAuditMitigationActionsExecutionsRequest {
4765
4765
  * @public
4766
4766
  * <p>Specify this filter to limit results to those with a specific status.</p>
4767
4767
  */
4768
- actionStatus?: AuditMitigationActionsExecutionStatus | string;
4768
+ actionStatus?: AuditMitigationActionsExecutionStatus;
4769
4769
  /**
4770
4770
  * @public
4771
4771
  * <p>Specify this filter to limit results to those that were applied to a specific audit finding.</p>
@@ -4815,7 +4815,7 @@ export interface ListAuditMitigationActionsTasksRequest {
4815
4815
  * @public
4816
4816
  * <p>Specify this filter to limit results to tasks that are in a specific state.</p>
4817
4817
  */
4818
- taskStatus?: AuditMitigationActionsTaskStatus | string;
4818
+ taskStatus?: AuditMitigationActionsTaskStatus;
4819
4819
  /**
4820
4820
  * @public
4821
4821
  * <p>The maximum number of results to return at one time. The default is 25.</p>
@@ -4931,13 +4931,13 @@ export interface ListAuditTasksRequest {
4931
4931
  * <p>A filter to limit the output to the specified type of audit: can be one of
4932
4932
  * "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".</p>
4933
4933
  */
4934
- taskType?: AuditTaskType | string;
4934
+ taskType?: AuditTaskType;
4935
4935
  /**
4936
4936
  * @public
4937
4937
  * <p>A filter to limit the output to audits with the specified completion
4938
4938
  * status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".</p>
4939
4939
  */
4940
- taskStatus?: AuditTaskStatus | string;
4940
+ taskStatus?: AuditTaskStatus;
4941
4941
  /**
4942
4942
  * @public
4943
4943
  * <p>The token for the next set of results.</p>
@@ -4988,7 +4988,7 @@ export interface ListAuthorizersRequest {
4988
4988
  * @public
4989
4989
  * <p>The status of the list authorizers request.</p>
4990
4990
  */
4991
- status?: AuthorizerStatus | string;
4991
+ status?: AuthorizerStatus;
4992
4992
  }
4993
4993
  /**
4994
4994
  * @public
@@ -5088,7 +5088,7 @@ export interface CACertificate {
5088
5088
  * <p>The status of the CA certificate.</p>
5089
5089
  * <p>The status value REGISTER_INACTIVE is deprecated and should not be used.</p>
5090
5090
  */
5091
- status?: CACertificateStatus | string;
5091
+ status?: CACertificateStatus;
5092
5092
  /**
5093
5093
  * @public
5094
5094
  * <p>The date the CA certificate was created.</p>
@@ -5154,7 +5154,7 @@ export interface Certificate {
5154
5154
  * <p>The status of the certificate.</p>
5155
5155
  * <p>The status value REGISTER_INACTIVE is deprecated and should not be used.</p>
5156
5156
  */
5157
- status?: CertificateStatus | string;
5157
+ status?: CertificateStatus;
5158
5158
  /**
5159
5159
  * @public
5160
5160
  * <p>The mode of the certificate.</p>
@@ -5169,7 +5169,7 @@ export interface Certificate {
5169
5169
  * <code>SNI_ONLY</code>: A certificate in <code>SNI_ONLY</code> mode is registered without an issuer CA. Devices with certificates
5170
5170
  * in <code>SNI_ONLY</code> mode must send the SNI extension when connecting to Amazon Web Services IoT Core. </p>
5171
5171
  */
5172
- certificateMode?: CertificateMode | string;
5172
+ certificateMode?: CertificateMode;
5173
5173
  /**
5174
5174
  * @public
5175
5175
  * <p>The date and time the certificate was created.</p>
@@ -5401,7 +5401,7 @@ export interface DetectMitigationActionExecution {
5401
5401
  * The status of a mitigation action.
5402
5402
  * </p>
5403
5403
  */
5404
- status?: DetectMitigationActionExecutionStatus | string;
5404
+ status?: DetectMitigationActionExecutionStatus;
5405
5405
  /**
5406
5406
  * @public
5407
5407
  * <p>
@@ -5535,7 +5535,7 @@ export interface ListDomainConfigurationsRequest {
5535
5535
  * @public
5536
5536
  * <p>The type of service delivered by the endpoint.</p>
5537
5537
  */
5538
- serviceType?: ServiceType | string;
5538
+ serviceType?: ServiceType;
5539
5539
  }
5540
5540
  /**
5541
5541
  * @public
@@ -5569,7 +5569,7 @@ export interface DomainConfigurationSummary {
5569
5569
  * @public
5570
5570
  * <p>The type of service delivered by the endpoint.</p>
5571
5571
  */
5572
- serviceType?: ServiceType | string;
5572
+ serviceType?: ServiceType;
5573
5573
  }
5574
5574
  /**
5575
5575
  * @public
@@ -5679,7 +5679,7 @@ export interface ListJobExecutionsForJobRequest {
5679
5679
  * @public
5680
5680
  * <p>The status of the job.</p>
5681
5681
  */
5682
- status?: JobExecutionStatus | string;
5682
+ status?: JobExecutionStatus;
5683
5683
  /**
5684
5684
  * @public
5685
5685
  * <p>The maximum number of results to be returned per request.</p>
@@ -5700,7 +5700,7 @@ export interface JobExecutionSummary {
5700
5700
  * @public
5701
5701
  * <p>The status of the job execution.</p>
5702
5702
  */
5703
- status?: JobExecutionStatus | string;
5703
+ status?: JobExecutionStatus;
5704
5704
  /**
5705
5705
  * @public
5706
5706
  * <p>The time, in seconds since the epoch, when the job execution was queued.</p>
@@ -5775,7 +5775,7 @@ export interface ListJobExecutionsForThingRequest {
5775
5775
  * @public
5776
5776
  * <p>An optional filter that lets you search for jobs that have the specified status.</p>
5777
5777
  */
5778
- status?: JobExecutionStatus | string;
5778
+ status?: JobExecutionStatus;
5779
5779
  /**
5780
5780
  * @public
5781
5781
  * <p>The namespace used to indicate that a job is a customer-managed job.</p>
@@ -5845,7 +5845,7 @@ export interface ListJobsRequest {
5845
5845
  * @public
5846
5846
  * <p>An optional filter that lets you search for jobs that have the specified status.</p>
5847
5847
  */
5848
- status?: JobStatus | string;
5848
+ status?: JobStatus;
5849
5849
  /**
5850
5850
  * @public
5851
5851
  * <p>Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things
@@ -5858,7 +5858,7 @@ export interface ListJobsRequest {
5858
5858
  * been created.</p>
5859
5859
  * </note>
5860
5860
  */
5861
- targetSelection?: TargetSelection | string;
5861
+ targetSelection?: TargetSelection;
5862
5862
  /**
5863
5863
  * @public
5864
5864
  * <p>The maximum number of results to return per request.</p>
@@ -5925,12 +5925,12 @@ export interface JobSummary {
5925
5925
  * been created.</p>
5926
5926
  * </note>
5927
5927
  */
5928
- targetSelection?: TargetSelection | string;
5928
+ targetSelection?: TargetSelection;
5929
5929
  /**
5930
5930
  * @public
5931
5931
  * <p>The job summary status.</p>
5932
5932
  */
5933
- status?: JobStatus | string;
5933
+ status?: JobStatus;
5934
5934
  /**
5935
5935
  * @public
5936
5936
  * <p>The time, in seconds since the epoch, when the job was created.</p>
@@ -6117,7 +6117,7 @@ export interface ListMetricValuesRequest {
6117
6117
  * @public
6118
6118
  * <p>The dimension value operator.</p>
6119
6119
  */
6120
- dimensionValueOperator?: DimensionValueOperator | string;
6120
+ dimensionValueOperator?: DimensionValueOperator;
6121
6121
  /**
6122
6122
  * @public
6123
6123
  * <p>The start of the time period for which metric values are returned.</p>
@@ -6179,7 +6179,7 @@ export interface ListMitigationActionsRequest {
6179
6179
  * @public
6180
6180
  * <p>Specify a value to limit the result to mitigation actions with a specific action type.</p>
6181
6181
  */
6182
- actionType?: MitigationActionType | string;
6182
+ actionType?: MitigationActionType;
6183
6183
  /**
6184
6184
  * @public
6185
6185
  * <p>The maximum number of results to return at one time. The default is 25.</p>
@@ -6245,7 +6245,7 @@ export interface ListOTAUpdatesRequest {
6245
6245
  * @public
6246
6246
  * <p>The OTA update job status.</p>
6247
6247
  */
6248
- otaUpdateStatus?: OTAUpdateStatus | string;
6248
+ otaUpdateStatus?: OTAUpdateStatus;
6249
6249
  }
6250
6250
  /**
6251
6251
  * @public
@@ -6426,7 +6426,7 @@ export interface ListPackageVersionsRequest {
6426
6426
  * @public
6427
6427
  * <p>The status of the package version. 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>
6428
6428
  */
6429
- status?: PackageVersionStatus | string;
6429
+ status?: PackageVersionStatus;
6430
6430
  /**
6431
6431
  * @public
6432
6432
  * <p>The maximum number of results to return at one time.</p>
@@ -6457,7 +6457,7 @@ export interface PackageVersionSummary {
6457
6457
  * @public
6458
6458
  * <p>The status of the package version. 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>
6459
6459
  */
6460
- status?: PackageVersionStatus | string;
6460
+ status?: PackageVersionStatus;
6461
6461
  /**
6462
6462
  * @public
6463
6463
  * <p>The date that the package version was created.</p>