@aws-sdk/client-iot 3.301.0 → 3.306.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.
@@ -2,19 +2,29 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { IoTServiceException as __BaseException } from "./IoTServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum AbortAction {
7
- CANCEL = "CANCEL"
8
- }
7
+ export declare const AbortAction: {
8
+ readonly CANCEL: "CANCEL";
9
+ };
9
10
  /**
10
11
  * @public
11
12
  */
12
- export declare enum JobExecutionFailureType {
13
- ALL = "ALL",
14
- FAILED = "FAILED",
15
- REJECTED = "REJECTED",
16
- TIMED_OUT = "TIMED_OUT"
17
- }
13
+ export type AbortAction = (typeof AbortAction)[keyof typeof AbortAction];
14
+ /**
15
+ * @public
16
+ * @enum
17
+ */
18
+ export declare const JobExecutionFailureType: {
19
+ readonly ALL: "ALL";
20
+ readonly FAILED: "FAILED";
21
+ readonly REJECTED: "REJECTED";
22
+ readonly TIMED_OUT: "TIMED_OUT";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type JobExecutionFailureType = (typeof JobExecutionFailureType)[keyof typeof JobExecutionFailureType];
18
28
  /**
19
29
  * @public
20
30
  * <p>The criteria that determine when and how a job abort takes place.</p>
@@ -224,11 +234,16 @@ export interface CloudwatchMetricAction {
224
234
  }
225
235
  /**
226
236
  * @public
237
+ * @enum
227
238
  */
228
- export declare enum DynamoKeyType {
229
- NUMBER = "NUMBER",
230
- STRING = "STRING"
231
- }
239
+ export declare const DynamoKeyType: {
240
+ readonly NUMBER: "NUMBER";
241
+ readonly STRING: "STRING";
242
+ };
243
+ /**
244
+ * @public
245
+ */
246
+ export type DynamoKeyType = (typeof DynamoKeyType)[keyof typeof DynamoKeyType];
232
247
  /**
233
248
  * @public
234
249
  * <p>Describes an action to write to a DynamoDB table.</p>
@@ -921,17 +936,22 @@ export interface RepublishAction {
921
936
  }
922
937
  /**
923
938
  * @public
939
+ * @enum
924
940
  */
925
- export declare enum CannedAccessControlList {
926
- AuthenticatedRead = "authenticated-read",
927
- AwsExecRead = "aws-exec-read",
928
- BucketOwnerFullControl = "bucket-owner-full-control",
929
- BucketOwnerRead = "bucket-owner-read",
930
- LogDeliveryWrite = "log-delivery-write",
931
- Private = "private",
932
- PublicRead = "public-read",
933
- PublicReadWrite = "public-read-write"
934
- }
941
+ export declare const CannedAccessControlList: {
942
+ readonly AuthenticatedRead: "authenticated-read";
943
+ readonly AwsExecRead: "aws-exec-read";
944
+ readonly BucketOwnerFullControl: "bucket-owner-full-control";
945
+ readonly BucketOwnerRead: "bucket-owner-read";
946
+ readonly LogDeliveryWrite: "log-delivery-write";
947
+ readonly Private: "private";
948
+ readonly PublicRead: "public-read";
949
+ readonly PublicReadWrite: "public-read-write";
950
+ };
951
+ /**
952
+ * @public
953
+ */
954
+ export type CannedAccessControlList = (typeof CannedAccessControlList)[keyof typeof CannedAccessControlList];
935
955
  /**
936
956
  * @public
937
957
  * <p>Describes an action to write data to an Amazon S3 bucket.</p>
@@ -975,11 +995,16 @@ export interface SalesforceAction {
975
995
  }
976
996
  /**
977
997
  * @public
998
+ * @enum
978
999
  */
979
- export declare enum MessageFormat {
980
- JSON = "JSON",
981
- RAW = "RAW"
982
- }
1000
+ export declare const MessageFormat: {
1001
+ readonly JSON: "JSON";
1002
+ readonly RAW: "RAW";
1003
+ };
1004
+ /**
1005
+ * @public
1006
+ */
1007
+ export type MessageFormat = (typeof MessageFormat)[keyof typeof MessageFormat];
983
1008
  /**
984
1009
  * @public
985
1010
  * <p>Describes an action to publish to an Amazon SNS topic.</p>
@@ -1227,36 +1252,51 @@ export interface Action {
1227
1252
  }
1228
1253
  /**
1229
1254
  * @public
1255
+ * @enum
1230
1256
  */
1231
- export declare enum ActionType {
1232
- CONNECT = "CONNECT",
1233
- PUBLISH = "PUBLISH",
1234
- RECEIVE = "RECEIVE",
1235
- SUBSCRIBE = "SUBSCRIBE"
1236
- }
1257
+ export declare const ActionType: {
1258
+ readonly CONNECT: "CONNECT";
1259
+ readonly PUBLISH: "PUBLISH";
1260
+ readonly RECEIVE: "RECEIVE";
1261
+ readonly SUBSCRIBE: "SUBSCRIBE";
1262
+ };
1237
1263
  /**
1238
1264
  * @public
1239
1265
  */
1240
- export declare enum ComparisonOperator {
1241
- GREATER_THAN = "greater-than",
1242
- GREATER_THAN_EQUALS = "greater-than-equals",
1243
- IN_CIDR_SET = "in-cidr-set",
1244
- IN_PORT_SET = "in-port-set",
1245
- IN_SET = "in-set",
1246
- LESS_THAN = "less-than",
1247
- LESS_THAN_EQUALS = "less-than-equals",
1248
- NOT_IN_CIDR_SET = "not-in-cidr-set",
1249
- NOT_IN_PORT_SET = "not-in-port-set",
1250
- NOT_IN_SET = "not-in-set"
1251
- }
1266
+ export type ActionType = (typeof ActionType)[keyof typeof ActionType];
1252
1267
  /**
1253
1268
  * @public
1269
+ * @enum
1254
1270
  */
1255
- export declare enum ConfidenceLevel {
1256
- HIGH = "HIGH",
1257
- LOW = "LOW",
1258
- MEDIUM = "MEDIUM"
1259
- }
1271
+ export declare const ComparisonOperator: {
1272
+ readonly GREATER_THAN: "greater-than";
1273
+ readonly GREATER_THAN_EQUALS: "greater-than-equals";
1274
+ readonly IN_CIDR_SET: "in-cidr-set";
1275
+ readonly IN_PORT_SET: "in-port-set";
1276
+ readonly IN_SET: "in-set";
1277
+ readonly LESS_THAN: "less-than";
1278
+ readonly LESS_THAN_EQUALS: "less-than-equals";
1279
+ readonly NOT_IN_CIDR_SET: "not-in-cidr-set";
1280
+ readonly NOT_IN_PORT_SET: "not-in-port-set";
1281
+ readonly NOT_IN_SET: "not-in-set";
1282
+ };
1283
+ /**
1284
+ * @public
1285
+ */
1286
+ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
1287
+ /**
1288
+ * @public
1289
+ * @enum
1290
+ */
1291
+ export declare const ConfidenceLevel: {
1292
+ readonly HIGH: "HIGH";
1293
+ readonly LOW: "LOW";
1294
+ readonly MEDIUM: "MEDIUM";
1295
+ };
1296
+ /**
1297
+ * @public
1298
+ */
1299
+ export type ConfidenceLevel = (typeof ConfidenceLevel)[keyof typeof ConfidenceLevel];
1260
1300
  /**
1261
1301
  * @public
1262
1302
  * <p>
@@ -1400,11 +1440,16 @@ export interface BehaviorCriteria {
1400
1440
  }
1401
1441
  /**
1402
1442
  * @public
1443
+ * @enum
1403
1444
  */
1404
- export declare enum DimensionValueOperator {
1405
- IN = "IN",
1406
- NOT_IN = "NOT_IN"
1407
- }
1445
+ export declare const DimensionValueOperator: {
1446
+ readonly IN: "IN";
1447
+ readonly NOT_IN: "NOT_IN";
1448
+ };
1449
+ /**
1450
+ * @public
1451
+ */
1452
+ export type DimensionValueOperator = (typeof DimensionValueOperator)[keyof typeof DimensionValueOperator];
1408
1453
  /**
1409
1454
  * @public
1410
1455
  * <p>The dimension of a metric.</p>
@@ -1452,13 +1497,18 @@ export interface Behavior {
1452
1497
  }
1453
1498
  /**
1454
1499
  * @public
1500
+ * @enum
1455
1501
  */
1456
- export declare enum VerificationState {
1457
- BENIGN_POSITIVE = "BENIGN_POSITIVE",
1458
- FALSE_POSITIVE = "FALSE_POSITIVE",
1459
- TRUE_POSITIVE = "TRUE_POSITIVE",
1460
- UNKNOWN = "UNKNOWN"
1461
- }
1502
+ export declare const VerificationState: {
1503
+ readonly BENIGN_POSITIVE: "BENIGN_POSITIVE";
1504
+ readonly FALSE_POSITIVE: "FALSE_POSITIVE";
1505
+ readonly TRUE_POSITIVE: "TRUE_POSITIVE";
1506
+ readonly UNKNOWN: "UNKNOWN";
1507
+ };
1508
+ /**
1509
+ * @public
1510
+ */
1511
+ export type VerificationState = (typeof VerificationState)[keyof typeof VerificationState];
1462
1512
  /**
1463
1513
  * @public
1464
1514
  * <p>
@@ -1613,12 +1663,17 @@ export interface AddThingToThingGroupResponse {
1613
1663
  }
1614
1664
  /**
1615
1665
  * @public
1666
+ * @enum
1616
1667
  */
1617
- export declare enum AggregationTypeName {
1618
- CARDINALITY = "Cardinality",
1619
- PERCENTILES = "Percentiles",
1620
- STATISTICS = "Statistics"
1621
- }
1668
+ export declare const AggregationTypeName: {
1669
+ readonly CARDINALITY: "Cardinality";
1670
+ readonly PERCENTILES: "Percentiles";
1671
+ readonly STATISTICS: "Statistics";
1672
+ };
1673
+ /**
1674
+ * @public
1675
+ */
1676
+ export type AggregationTypeName = (typeof AggregationTypeName)[keyof typeof AggregationTypeName];
1622
1677
  /**
1623
1678
  * @public
1624
1679
  * <p>The type of aggregation queries.</p>
@@ -1650,10 +1705,15 @@ export interface AlertTarget {
1650
1705
  }
1651
1706
  /**
1652
1707
  * @public
1708
+ * @enum
1653
1709
  */
1654
- export declare enum AlertTargetType {
1655
- SNS = "SNS"
1656
- }
1710
+ export declare const AlertTargetType: {
1711
+ readonly SNS: "SNS";
1712
+ };
1713
+ /**
1714
+ * @public
1715
+ */
1716
+ export type AlertTargetType = (typeof AlertTargetType)[keyof typeof AlertTargetType];
1657
1717
  /**
1658
1718
  * @public
1659
1719
  * <p>Describes an IoT policy.</p>
@@ -1851,15 +1911,20 @@ export interface AuditCheckConfiguration {
1851
1911
  }
1852
1912
  /**
1853
1913
  * @public
1914
+ * @enum
1854
1915
  */
1855
- export declare enum AuditCheckRunStatus {
1856
- CANCELED = "CANCELED",
1857
- COMPLETED_COMPLIANT = "COMPLETED_COMPLIANT",
1858
- COMPLETED_NON_COMPLIANT = "COMPLETED_NON_COMPLIANT",
1859
- FAILED = "FAILED",
1860
- IN_PROGRESS = "IN_PROGRESS",
1861
- WAITING_FOR_DATA_COLLECTION = "WAITING_FOR_DATA_COLLECTION"
1862
- }
1916
+ export declare const AuditCheckRunStatus: {
1917
+ readonly CANCELED: "CANCELED";
1918
+ readonly COMPLETED_COMPLIANT: "COMPLETED_COMPLIANT";
1919
+ readonly COMPLETED_NON_COMPLIANT: "COMPLETED_NON_COMPLIANT";
1920
+ readonly FAILED: "FAILED";
1921
+ readonly IN_PROGRESS: "IN_PROGRESS";
1922
+ readonly WAITING_FOR_DATA_COLLECTION: "WAITING_FOR_DATA_COLLECTION";
1923
+ };
1924
+ /**
1925
+ * @public
1926
+ */
1927
+ export type AuditCheckRunStatus = (typeof AuditCheckRunStatus)[keyof typeof AuditCheckRunStatus];
1863
1928
  /**
1864
1929
  * @public
1865
1930
  * <p>Information about the audit check.</p>
@@ -1978,18 +2043,23 @@ export interface ResourceIdentifier {
1978
2043
  }
1979
2044
  /**
1980
2045
  * @public
2046
+ * @enum
1981
2047
  */
1982
- export declare enum ResourceType {
1983
- ACCOUNT_SETTINGS = "ACCOUNT_SETTINGS",
1984
- CA_CERTIFICATE = "CA_CERTIFICATE",
1985
- CLIENT_ID = "CLIENT_ID",
1986
- COGNITO_IDENTITY_POOL = "COGNITO_IDENTITY_POOL",
1987
- DEVICE_CERTIFICATE = "DEVICE_CERTIFICATE",
1988
- IAM_ROLE = "IAM_ROLE",
1989
- IOT_POLICY = "IOT_POLICY",
1990
- ISSUER_CERTIFICATE = "ISSUER_CERTIFICATE",
1991
- ROLE_ALIAS = "ROLE_ALIAS"
1992
- }
2048
+ export declare const ResourceType: {
2049
+ readonly ACCOUNT_SETTINGS: "ACCOUNT_SETTINGS";
2050
+ readonly CA_CERTIFICATE: "CA_CERTIFICATE";
2051
+ readonly CLIENT_ID: "CLIENT_ID";
2052
+ readonly COGNITO_IDENTITY_POOL: "COGNITO_IDENTITY_POOL";
2053
+ readonly DEVICE_CERTIFICATE: "DEVICE_CERTIFICATE";
2054
+ readonly IAM_ROLE: "IAM_ROLE";
2055
+ readonly IOT_POLICY: "IOT_POLICY";
2056
+ readonly ISSUER_CERTIFICATE: "ISSUER_CERTIFICATE";
2057
+ readonly ROLE_ALIAS: "ROLE_ALIAS";
2058
+ };
2059
+ /**
2060
+ * @public
2061
+ */
2062
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
1993
2063
  /**
1994
2064
  * @public
1995
2065
  * <p>Information about the resource that was noncompliant with the audit check.</p>
@@ -2028,13 +2098,18 @@ export interface RelatedResource {
2028
2098
  }
2029
2099
  /**
2030
2100
  * @public
2101
+ * @enum
2031
2102
  */
2032
- export declare enum AuditFindingSeverity {
2033
- CRITICAL = "CRITICAL",
2034
- HIGH = "HIGH",
2035
- LOW = "LOW",
2036
- MEDIUM = "MEDIUM"
2037
- }
2103
+ export declare const AuditFindingSeverity: {
2104
+ readonly CRITICAL: "CRITICAL";
2105
+ readonly HIGH: "HIGH";
2106
+ readonly LOW: "LOW";
2107
+ readonly MEDIUM: "MEDIUM";
2108
+ };
2109
+ /**
2110
+ * @public
2111
+ */
2112
+ export type AuditFindingSeverity = (typeof AuditFindingSeverity)[keyof typeof AuditFindingSeverity];
2038
2113
  /**
2039
2114
  * @public
2040
2115
  * <p>The findings (results) of the audit.</p>
@@ -2091,24 +2166,34 @@ export interface AuditFinding {
2091
2166
  }
2092
2167
  /**
2093
2168
  * @public
2169
+ * @enum
2094
2170
  */
2095
- export declare enum AuditFrequency {
2096
- BIWEEKLY = "BIWEEKLY",
2097
- DAILY = "DAILY",
2098
- MONTHLY = "MONTHLY",
2099
- WEEKLY = "WEEKLY"
2100
- }
2171
+ export declare const AuditFrequency: {
2172
+ readonly BIWEEKLY: "BIWEEKLY";
2173
+ readonly DAILY: "DAILY";
2174
+ readonly MONTHLY: "MONTHLY";
2175
+ readonly WEEKLY: "WEEKLY";
2176
+ };
2101
2177
  /**
2102
2178
  * @public
2103
2179
  */
2104
- export declare enum AuditMitigationActionsExecutionStatus {
2105
- CANCELED = "CANCELED",
2106
- COMPLETED = "COMPLETED",
2107
- FAILED = "FAILED",
2108
- IN_PROGRESS = "IN_PROGRESS",
2109
- PENDING = "PENDING",
2110
- SKIPPED = "SKIPPED"
2111
- }
2180
+ export type AuditFrequency = (typeof AuditFrequency)[keyof typeof AuditFrequency];
2181
+ /**
2182
+ * @public
2183
+ * @enum
2184
+ */
2185
+ export declare const AuditMitigationActionsExecutionStatus: {
2186
+ readonly CANCELED: "CANCELED";
2187
+ readonly COMPLETED: "COMPLETED";
2188
+ readonly FAILED: "FAILED";
2189
+ readonly IN_PROGRESS: "IN_PROGRESS";
2190
+ readonly PENDING: "PENDING";
2191
+ readonly SKIPPED: "SKIPPED";
2192
+ };
2193
+ /**
2194
+ * @public
2195
+ */
2196
+ export type AuditMitigationActionsExecutionStatus = (typeof AuditMitigationActionsExecutionStatus)[keyof typeof AuditMitigationActionsExecutionStatus];
2112
2197
  /**
2113
2198
  * @public
2114
2199
  * <p>Returned by ListAuditMitigationActionsTask, this object contains information that describes a mitigation action that has been started.</p>
@@ -2153,13 +2238,18 @@ export interface AuditMitigationActionExecutionMetadata {
2153
2238
  }
2154
2239
  /**
2155
2240
  * @public
2241
+ * @enum
2156
2242
  */
2157
- export declare enum AuditMitigationActionsTaskStatus {
2158
- CANCELED = "CANCELED",
2159
- COMPLETED = "COMPLETED",
2160
- FAILED = "FAILED",
2161
- IN_PROGRESS = "IN_PROGRESS"
2162
- }
2243
+ export declare const AuditMitigationActionsTaskStatus: {
2244
+ readonly CANCELED: "CANCELED";
2245
+ readonly COMPLETED: "COMPLETED";
2246
+ readonly FAILED: "FAILED";
2247
+ readonly IN_PROGRESS: "IN_PROGRESS";
2248
+ };
2249
+ /**
2250
+ * @public
2251
+ */
2252
+ export type AuditMitigationActionsTaskStatus = (typeof AuditMitigationActionsTaskStatus)[keyof typeof AuditMitigationActionsTaskStatus];
2163
2253
  /**
2164
2254
  * @public
2165
2255
  * <p>Information about an audit mitigation actions task that is returned by <code>ListAuditMitigationActionsTasks</code>.</p>
@@ -2242,10 +2332,15 @@ export interface AuditNotificationTarget {
2242
2332
  }
2243
2333
  /**
2244
2334
  * @public
2335
+ * @enum
2245
2336
  */
2246
- export declare enum AuditNotificationType {
2247
- SNS = "SNS"
2248
- }
2337
+ export declare const AuditNotificationType: {
2338
+ readonly SNS: "SNS";
2339
+ };
2340
+ /**
2341
+ * @public
2342
+ */
2343
+ export type AuditNotificationType = (typeof AuditNotificationType)[keyof typeof AuditNotificationType];
2249
2344
  /**
2250
2345
  * @public
2251
2346
  * <p> Filters out specific findings of a Device Defender audit. </p>
@@ -2283,20 +2378,30 @@ export interface AuditSuppression {
2283
2378
  }
2284
2379
  /**
2285
2380
  * @public
2381
+ * @enum
2286
2382
  */
2287
- export declare enum AuditTaskStatus {
2288
- CANCELED = "CANCELED",
2289
- COMPLETED = "COMPLETED",
2290
- FAILED = "FAILED",
2291
- IN_PROGRESS = "IN_PROGRESS"
2292
- }
2383
+ export declare const AuditTaskStatus: {
2384
+ readonly CANCELED: "CANCELED";
2385
+ readonly COMPLETED: "COMPLETED";
2386
+ readonly FAILED: "FAILED";
2387
+ readonly IN_PROGRESS: "IN_PROGRESS";
2388
+ };
2293
2389
  /**
2294
2390
  * @public
2295
2391
  */
2296
- export declare enum AuditTaskType {
2297
- ON_DEMAND_AUDIT_TASK = "ON_DEMAND_AUDIT_TASK",
2298
- SCHEDULED_AUDIT_TASK = "SCHEDULED_AUDIT_TASK"
2299
- }
2392
+ export type AuditTaskStatus = (typeof AuditTaskStatus)[keyof typeof AuditTaskStatus];
2393
+ /**
2394
+ * @public
2395
+ * @enum
2396
+ */
2397
+ export declare const AuditTaskType: {
2398
+ readonly ON_DEMAND_AUDIT_TASK: "ON_DEMAND_AUDIT_TASK";
2399
+ readonly SCHEDULED_AUDIT_TASK: "SCHEDULED_AUDIT_TASK";
2400
+ };
2401
+ /**
2402
+ * @public
2403
+ */
2404
+ export type AuditTaskType = (typeof AuditTaskType)[keyof typeof AuditTaskType];
2300
2405
  /**
2301
2406
  * @public
2302
2407
  * <p>The audits that were performed.</p>
@@ -2318,12 +2423,17 @@ export interface AuditTaskMetadata {
2318
2423
  }
2319
2424
  /**
2320
2425
  * @public
2426
+ * @enum
2321
2427
  */
2322
- export declare enum AuthDecision {
2323
- ALLOWED = "ALLOWED",
2324
- EXPLICIT_DENY = "EXPLICIT_DENY",
2325
- IMPLICIT_DENY = "IMPLICIT_DENY"
2326
- }
2428
+ export declare const AuthDecision: {
2429
+ readonly ALLOWED: "ALLOWED";
2430
+ readonly EXPLICIT_DENY: "EXPLICIT_DENY";
2431
+ readonly IMPLICIT_DENY: "IMPLICIT_DENY";
2432
+ };
2433
+ /**
2434
+ * @public
2435
+ */
2436
+ export type AuthDecision = (typeof AuthDecision)[keyof typeof AuthDecision];
2327
2437
  /**
2328
2438
  * @public
2329
2439
  * <p>A collection of authorization information.</p>
@@ -2355,11 +2465,16 @@ export interface AuthorizerConfig {
2355
2465
  }
2356
2466
  /**
2357
2467
  * @public
2468
+ * @enum
2358
2469
  */
2359
- export declare enum AuthorizerStatus {
2360
- ACTIVE = "ACTIVE",
2361
- INACTIVE = "INACTIVE"
2362
- }
2470
+ export declare const AuthorizerStatus: {
2471
+ readonly ACTIVE: "ACTIVE";
2472
+ readonly INACTIVE: "INACTIVE";
2473
+ };
2474
+ /**
2475
+ * @public
2476
+ */
2477
+ export type AuthorizerStatus = (typeof AuthorizerStatus)[keyof typeof AuthorizerStatus];
2363
2478
  /**
2364
2479
  * @public
2365
2480
  * <p>The authorizer description.</p>
@@ -2491,11 +2606,16 @@ export interface AuthResult {
2491
2606
  }
2492
2607
  /**
2493
2608
  * @public
2609
+ * @enum
2494
2610
  */
2495
- export declare enum AutoRegistrationStatus {
2496
- DISABLE = "DISABLE",
2497
- ENABLE = "ENABLE"
2498
- }
2611
+ export declare const AutoRegistrationStatus: {
2612
+ readonly DISABLE: "DISABLE";
2613
+ readonly ENABLE: "ENABLE";
2614
+ };
2615
+ /**
2616
+ * @public
2617
+ */
2618
+ export type AutoRegistrationStatus = (typeof AutoRegistrationStatus)[keyof typeof AutoRegistrationStatus];
2499
2619
  /**
2500
2620
  * @public
2501
2621
  */
@@ -2918,13 +3038,18 @@ export interface CreateCertificateFromCsrResponse {
2918
3038
  }
2919
3039
  /**
2920
3040
  * @public
3041
+ * @enum
2921
3042
  */
2922
- export declare enum CustomMetricType {
2923
- IP_ADDRESS_LIST = "ip-address-list",
2924
- NUMBER = "number",
2925
- NUMBER_LIST = "number-list",
2926
- STRING_LIST = "string-list"
2927
- }
3043
+ export declare const CustomMetricType: {
3044
+ readonly IP_ADDRESS_LIST: "ip-address-list";
3045
+ readonly NUMBER: "number";
3046
+ readonly NUMBER_LIST: "number-list";
3047
+ readonly STRING_LIST: "string-list";
3048
+ };
3049
+ /**
3050
+ * @public
3051
+ */
3052
+ export type CustomMetricType = (typeof CustomMetricType)[keyof typeof CustomMetricType];
2928
3053
  /**
2929
3054
  * @public
2930
3055
  */
@@ -2985,10 +3110,15 @@ export interface CreateCustomMetricResponse {
2985
3110
  }
2986
3111
  /**
2987
3112
  * @public
3113
+ * @enum
2988
3114
  */
2989
- export declare enum DimensionType {
2990
- TOPIC_FILTER = "TOPIC_FILTER"
2991
- }
3115
+ export declare const DimensionType: {
3116
+ readonly TOPIC_FILTER: "TOPIC_FILTER";
3117
+ };
3118
+ /**
3119
+ * @public
3120
+ */
3121
+ export type DimensionType = (typeof DimensionType)[keyof typeof DimensionType];
2992
3122
  /**
2993
3123
  * @public
2994
3124
  */
@@ -3046,12 +3176,17 @@ export declare class CertificateValidationException extends __BaseException {
3046
3176
  }
3047
3177
  /**
3048
3178
  * @public
3179
+ * @enum
3049
3180
  */
3050
- export declare enum ServiceType {
3051
- CREDENTIAL_PROVIDER = "CREDENTIAL_PROVIDER",
3052
- DATA = "DATA",
3053
- JOBS = "JOBS"
3054
- }
3181
+ export declare const ServiceType: {
3182
+ readonly CREDENTIAL_PROVIDER: "CREDENTIAL_PROVIDER";
3183
+ readonly DATA: "DATA";
3184
+ readonly JOBS: "JOBS";
3185
+ };
3186
+ /**
3187
+ * @public
3188
+ */
3189
+ export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
3055
3190
  /**
3056
3191
  * @public
3057
3192
  */
@@ -3204,36 +3339,41 @@ export declare class InvalidQueryException extends __BaseException {
3204
3339
  }
3205
3340
  /**
3206
3341
  * @public
3342
+ * @enum
3207
3343
  */
3208
- export declare enum FleetMetricUnit {
3209
- Bits = "Bits",
3210
- BitsSecond = "Bits/Second",
3211
- Bytes = "Bytes",
3212
- BytesSecond = "Bytes/Second",
3213
- Count = "Count",
3214
- CountSecond = "Count/Second",
3215
- Gigabits = "Gigabits",
3216
- GigabitsSecond = "Gigabits/Second",
3217
- Gigabytes = "Gigabytes",
3218
- GigabytesSecond = "Gigabytes/Second",
3219
- Kilobits = "Kilobits",
3220
- KilobitsSecond = "Kilobits/Second",
3221
- Kilobytes = "Kilobytes",
3222
- KilobytesSecond = "Kilobytes/Second",
3223
- Megabits = "Megabits",
3224
- MegabitsSecond = "Megabits/Second",
3225
- Megabytes = "Megabytes",
3226
- MegabytesSecond = "Megabytes/Second",
3227
- Microseconds = "Microseconds",
3228
- Milliseconds = "Milliseconds",
3229
- None = "None",
3230
- Percent = "Percent",
3231
- Seconds = "Seconds",
3232
- Terabits = "Terabits",
3233
- TerabitsSecond = "Terabits/Second",
3234
- Terabytes = "Terabytes",
3235
- TerabytesSecond = "Terabytes/Second"
3236
- }
3344
+ export declare const FleetMetricUnit: {
3345
+ readonly Bits: "Bits";
3346
+ readonly BitsSecond: "Bits/Second";
3347
+ readonly Bytes: "Bytes";
3348
+ readonly BytesSecond: "Bytes/Second";
3349
+ readonly Count: "Count";
3350
+ readonly CountSecond: "Count/Second";
3351
+ readonly Gigabits: "Gigabits";
3352
+ readonly GigabitsSecond: "Gigabits/Second";
3353
+ readonly Gigabytes: "Gigabytes";
3354
+ readonly GigabytesSecond: "Gigabytes/Second";
3355
+ readonly Kilobits: "Kilobits";
3356
+ readonly KilobitsSecond: "Kilobits/Second";
3357
+ readonly Kilobytes: "Kilobytes";
3358
+ readonly KilobytesSecond: "Kilobytes/Second";
3359
+ readonly Megabits: "Megabits";
3360
+ readonly MegabitsSecond: "Megabits/Second";
3361
+ readonly Megabytes: "Megabytes";
3362
+ readonly MegabytesSecond: "Megabytes/Second";
3363
+ readonly Microseconds: "Microseconds";
3364
+ readonly Milliseconds: "Milliseconds";
3365
+ readonly None: "None";
3366
+ readonly Percent: "Percent";
3367
+ readonly Seconds: "Seconds";
3368
+ readonly Terabits: "Terabits";
3369
+ readonly TerabitsSecond: "Terabits/Second";
3370
+ readonly Terabytes: "Terabytes";
3371
+ readonly TerabytesSecond: "Terabytes/Second";
3372
+ };
3373
+ /**
3374
+ * @public
3375
+ */
3376
+ export type FleetMetricUnit = (typeof FleetMetricUnit)[keyof typeof FleetMetricUnit];
3237
3377
  /**
3238
3378
  * @public
3239
3379
  */
@@ -3319,12 +3459,17 @@ export declare class InvalidAggregationException extends __BaseException {
3319
3459
  }
3320
3460
  /**
3321
3461
  * @public
3462
+ * @enum
3322
3463
  */
3323
- export declare enum RetryableFailureType {
3324
- ALL = "ALL",
3325
- FAILED = "FAILED",
3326
- TIMED_OUT = "TIMED_OUT"
3327
- }
3464
+ export declare const RetryableFailureType: {
3465
+ readonly ALL: "ALL";
3466
+ readonly FAILED: "FAILED";
3467
+ readonly TIMED_OUT: "TIMED_OUT";
3468
+ };
3469
+ /**
3470
+ * @public
3471
+ */
3472
+ export type RetryableFailureType = (typeof RetryableFailureType)[keyof typeof RetryableFailureType];
3328
3473
  /**
3329
3474
  * @public
3330
3475
  * <p>The criteria that determines how many retries are allowed for each failure
@@ -3424,12 +3569,17 @@ export interface PresignedUrlConfig {
3424
3569
  }
3425
3570
  /**
3426
3571
  * @public
3572
+ * @enum
3427
3573
  */
3428
- export declare enum JobEndBehavior {
3429
- CANCEL = "CANCEL",
3430
- FORCE_CANCEL = "FORCE_CANCEL",
3431
- STOP_ROLLOUT = "STOP_ROLLOUT"
3432
- }
3574
+ export declare const JobEndBehavior: {
3575
+ readonly CANCEL: "CANCEL";
3576
+ readonly FORCE_CANCEL: "FORCE_CANCEL";
3577
+ readonly STOP_ROLLOUT: "STOP_ROLLOUT";
3578
+ };
3579
+ /**
3580
+ * @public
3581
+ */
3582
+ export type JobEndBehavior = (typeof JobEndBehavior)[keyof typeof JobEndBehavior];
3433
3583
  /**
3434
3584
  * @public
3435
3585
  * <p>An optional configuration within the <code>SchedulingConfig</code> to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.</p>
@@ -3480,11 +3630,16 @@ export interface SchedulingConfig {
3480
3630
  }
3481
3631
  /**
3482
3632
  * @public
3633
+ * @enum
3483
3634
  */
3484
- export declare enum TargetSelection {
3485
- CONTINUOUS = "CONTINUOUS",
3486
- SNAPSHOT = "SNAPSHOT"
3487
- }
3635
+ export declare const TargetSelection: {
3636
+ readonly CONTINUOUS: "CONTINUOUS";
3637
+ readonly SNAPSHOT: "SNAPSHOT";
3638
+ };
3639
+ /**
3640
+ * @public
3641
+ */
3642
+ export type TargetSelection = (typeof TargetSelection)[keyof typeof TargetSelection];
3488
3643
  /**
3489
3644
  * @public
3490
3645
  * <p>Specifies the amount of time each device has to finish its execution of the job. A timer
@@ -3763,14 +3918,19 @@ export interface CreateKeysAndCertificateResponse {
3763
3918
  }
3764
3919
  /**
3765
3920
  * @public
3921
+ * @enum
3766
3922
  */
3767
- export declare enum LogLevel {
3768
- DEBUG = "DEBUG",
3769
- DISABLED = "DISABLED",
3770
- ERROR = "ERROR",
3771
- INFO = "INFO",
3772
- WARN = "WARN"
3773
- }
3923
+ export declare const LogLevel: {
3924
+ readonly DEBUG: "DEBUG";
3925
+ readonly DISABLED: "DISABLED";
3926
+ readonly ERROR: "ERROR";
3927
+ readonly INFO: "INFO";
3928
+ readonly WARN: "WARN";
3929
+ };
3930
+ /**
3931
+ * @public
3932
+ */
3933
+ export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
3774
3934
  /**
3775
3935
  * @public
3776
3936
  * <p>Parameters used when defining a mitigation action that enable Amazon Web Services IoT Core logging.</p>
@@ -3797,10 +3957,15 @@ export interface PublishFindingToSnsParams {
3797
3957
  }
3798
3958
  /**
3799
3959
  * @public
3960
+ * @enum
3800
3961
  */
3801
- export declare enum PolicyTemplateName {
3802
- BLANK_POLICY = "BLANK_POLICY"
3803
- }
3962
+ export declare const PolicyTemplateName: {
3963
+ readonly BLANK_POLICY: "BLANK_POLICY";
3964
+ };
3965
+ /**
3966
+ * @public
3967
+ */
3968
+ export type PolicyTemplateName = (typeof PolicyTemplateName)[keyof typeof PolicyTemplateName];
3804
3969
  /**
3805
3970
  * @public
3806
3971
  * <p>Parameters to define a mitigation action that adds a blank policy to restrict permissions.</p>
@@ -3813,10 +3978,15 @@ export interface ReplaceDefaultPolicyVersionParams {
3813
3978
  }
3814
3979
  /**
3815
3980
  * @public
3981
+ * @enum
3816
3982
  */
3817
- export declare enum CACertificateUpdateAction {
3818
- DEACTIVATE = "DEACTIVATE"
3819
- }
3983
+ export declare const CACertificateUpdateAction: {
3984
+ readonly DEACTIVATE: "DEACTIVATE";
3985
+ };
3986
+ /**
3987
+ * @public
3988
+ */
3989
+ export type CACertificateUpdateAction = (typeof CACertificateUpdateAction)[keyof typeof CACertificateUpdateAction];
3820
3990
  /**
3821
3991
  * @public
3822
3992
  * <p>Parameters to define a mitigation action that changes the state of the CA certificate to inactive.</p>
@@ -3829,10 +3999,15 @@ export interface UpdateCACertificateParams {
3829
3999
  }
3830
4000
  /**
3831
4001
  * @public
4002
+ * @enum
3832
4003
  */
3833
- export declare enum DeviceCertificateUpdateAction {
3834
- DEACTIVATE = "DEACTIVATE"
3835
- }
4004
+ export declare const DeviceCertificateUpdateAction: {
4005
+ readonly DEACTIVATE: "DEACTIVATE";
4006
+ };
4007
+ /**
4008
+ * @public
4009
+ */
4010
+ export type DeviceCertificateUpdateAction = (typeof DeviceCertificateUpdateAction)[keyof typeof DeviceCertificateUpdateAction];
3836
4011
  /**
3837
4012
  * @public
3838
4013
  * <p>Parameters to define a mitigation action that changes the state of the device certificate to inactive.</p>
@@ -3909,19 +4084,29 @@ export interface CreateMitigationActionResponse {
3909
4084
  }
3910
4085
  /**
3911
4086
  * @public
4087
+ * @enum
3912
4088
  */
3913
- export declare enum AwsJobAbortCriteriaAbortAction {
3914
- CANCEL = "CANCEL"
3915
- }
4089
+ export declare const AwsJobAbortCriteriaAbortAction: {
4090
+ readonly CANCEL: "CANCEL";
4091
+ };
3916
4092
  /**
3917
4093
  * @public
3918
4094
  */
3919
- export declare enum AwsJobAbortCriteriaFailureType {
3920
- ALL = "ALL",
3921
- FAILED = "FAILED",
3922
- REJECTED = "REJECTED",
3923
- TIMED_OUT = "TIMED_OUT"
3924
- }
4095
+ export type AwsJobAbortCriteriaAbortAction = (typeof AwsJobAbortCriteriaAbortAction)[keyof typeof AwsJobAbortCriteriaAbortAction];
4096
+ /**
4097
+ * @public
4098
+ * @enum
4099
+ */
4100
+ export declare const AwsJobAbortCriteriaFailureType: {
4101
+ readonly ALL: "ALL";
4102
+ readonly FAILED: "FAILED";
4103
+ readonly REJECTED: "REJECTED";
4104
+ readonly TIMED_OUT: "TIMED_OUT";
4105
+ };
4106
+ /**
4107
+ * @public
4108
+ */
4109
+ export type AwsJobAbortCriteriaFailureType = (typeof AwsJobAbortCriteriaFailureType)[keyof typeof AwsJobAbortCriteriaFailureType];
3925
4110
  /**
3926
4111
  * @public
3927
4112
  * <p>The criteria that determine when and how a job abort takes place.</p>
@@ -4241,11 +4426,16 @@ export interface OTAUpdateFile {
4241
4426
  }
4242
4427
  /**
4243
4428
  * @public
4429
+ * @enum
4244
4430
  */
4245
- export declare enum Protocol {
4246
- HTTP = "HTTP",
4247
- MQTT = "MQTT"
4248
- }
4431
+ export declare const Protocol: {
4432
+ readonly HTTP: "HTTP";
4433
+ readonly MQTT: "MQTT";
4434
+ };
4435
+ /**
4436
+ * @public
4437
+ */
4438
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
4249
4439
  /**
4250
4440
  * @public
4251
4441
  */
@@ -4314,13 +4504,18 @@ export interface CreateOTAUpdateRequest {
4314
4504
  }
4315
4505
  /**
4316
4506
  * @public
4507
+ * @enum
4317
4508
  */
4318
- export declare enum OTAUpdateStatus {
4319
- CREATE_COMPLETE = "CREATE_COMPLETE",
4320
- CREATE_FAILED = "CREATE_FAILED",
4321
- CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
4322
- CREATE_PENDING = "CREATE_PENDING"
4323
- }
4509
+ export declare const OTAUpdateStatus: {
4510
+ readonly CREATE_COMPLETE: "CREATE_COMPLETE";
4511
+ readonly CREATE_FAILED: "CREATE_FAILED";
4512
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
4513
+ readonly CREATE_PENDING: "CREATE_PENDING";
4514
+ };
4515
+ /**
4516
+ * @public
4517
+ */
4518
+ export type OTAUpdateStatus = (typeof OTAUpdateStatus)[keyof typeof OTAUpdateStatus];
4324
4519
  /**
4325
4520
  * @public
4326
4521
  */
@@ -4512,11 +4707,16 @@ export interface ProvisioningHook {
4512
4707
  }
4513
4708
  /**
4514
4709
  * @public
4710
+ * @enum
4515
4711
  */
4516
- export declare enum TemplateType {
4517
- FLEET_PROVISIONING = "FLEET_PROVISIONING",
4518
- JITP = "JITP"
4519
- }
4712
+ export declare const TemplateType: {
4713
+ readonly FLEET_PROVISIONING: "FLEET_PROVISIONING";
4714
+ readonly JITP: "JITP";
4715
+ };
4716
+ /**
4717
+ * @public
4718
+ */
4719
+ export type TemplateType = (typeof TemplateType)[keyof typeof TemplateType];
4520
4720
  /**
4521
4721
  * @public
4522
4722
  */
@@ -4669,16 +4869,21 @@ export interface CreateRoleAliasResponse {
4669
4869
  }
4670
4870
  /**
4671
4871
  * @public
4872
+ * @enum
4672
4873
  */
4673
- export declare enum DayOfWeek {
4674
- FRI = "FRI",
4675
- MON = "MON",
4676
- SAT = "SAT",
4677
- SUN = "SUN",
4678
- THU = "THU",
4679
- TUE = "TUE",
4680
- WED = "WED"
4681
- }
4874
+ export declare const DayOfWeek: {
4875
+ readonly FRI: "FRI";
4876
+ readonly MON: "MON";
4877
+ readonly SAT: "SAT";
4878
+ readonly SUN: "SUN";
4879
+ readonly THU: "THU";
4880
+ readonly TUE: "TUE";
4881
+ readonly WED: "WED";
4882
+ };
4883
+ /**
4884
+ * @public
4885
+ */
4886
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
4682
4887
  /**
4683
4888
  * @public
4684
4889
  */
@@ -5123,14 +5328,19 @@ export interface HttpUrlDestinationProperties {
5123
5328
  }
5124
5329
  /**
5125
5330
  * @public
5331
+ * @enum
5126
5332
  */
5127
- export declare enum TopicRuleDestinationStatus {
5128
- DELETING = "DELETING",
5129
- DISABLED = "DISABLED",
5130
- ENABLED = "ENABLED",
5131
- ERROR = "ERROR",
5132
- IN_PROGRESS = "IN_PROGRESS"
5133
- }
5333
+ export declare const TopicRuleDestinationStatus: {
5334
+ readonly DELETING: "DELETING";
5335
+ readonly DISABLED: "DISABLED";
5336
+ readonly ENABLED: "ENABLED";
5337
+ readonly ERROR: "ERROR";
5338
+ readonly IN_PROGRESS: "IN_PROGRESS";
5339
+ };
5340
+ /**
5341
+ * @public
5342
+ */
5343
+ export type TopicRuleDestinationStatus = (typeof TopicRuleDestinationStatus)[keyof typeof TopicRuleDestinationStatus];
5134
5344
  /**
5135
5345
  * @public
5136
5346
  * <p>The properties of a virtual private cloud (VPC) destination.</p>