@aws-sdk/client-iot 3.1117.0 → 3.1119.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.
Files changed (61) hide show
  1. package/dist-cjs/index.js +71 -9
  2. package/dist-es/models/enums.js +14 -0
  3. package/dist-es/schemas/schemas_0.js +49 -8
  4. package/dist-types/commands/AttachSecurityProfileCommand.d.ts +4 -1
  5. package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +4 -1
  6. package/dist-types/commands/CreateCustomMetricCommand.d.ts +4 -1
  7. package/dist-types/commands/CreateDimensionCommand.d.ts +4 -1
  8. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +4 -1
  9. package/dist-types/commands/CreateTopicRuleCommand.d.ts +34 -0
  10. package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +14 -0
  11. package/dist-types/commands/DeleteCustomMetricCommand.d.ts +4 -1
  12. package/dist-types/commands/DeleteDimensionCommand.d.ts +4 -1
  13. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -1
  14. package/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +2 -1
  15. package/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
  16. package/dist-types/commands/DeprecateThingTypeCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeCustomMetricCommand.d.ts +4 -1
  18. package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +4 -1
  19. package/dist-types/commands/DescribeDimensionCommand.d.ts +4 -1
  20. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +4 -1
  21. package/dist-types/commands/DetachSecurityProfileCommand.d.ts +4 -1
  22. package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +4 -1
  23. package/dist-types/commands/GetTopicRuleCommand.d.ts +34 -0
  24. package/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +7 -0
  25. package/dist-types/commands/ListActiveViolationsCommand.d.ts +4 -1
  26. package/dist-types/commands/ListCustomMetricsCommand.d.ts +4 -1
  27. package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +4 -1
  28. package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +4 -1
  29. package/dist-types/commands/ListDimensionsCommand.d.ts +4 -1
  30. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +4 -1
  31. package/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +4 -1
  32. package/dist-types/commands/ListStreamsCommand.d.ts +2 -1
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -2
  35. package/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +4 -1
  36. package/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +7 -0
  37. package/dist-types/commands/ListViolationEventsCommand.d.ts +4 -1
  38. package/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +4 -1
  39. package/dist-types/commands/ReplaceTopicRuleCommand.d.ts +34 -0
  40. package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +4 -1
  41. package/dist-types/commands/UpdateCustomMetricCommand.d.ts +4 -1
  42. package/dist-types/commands/UpdateDimensionCommand.d.ts +4 -1
  43. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +4 -1
  44. package/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +4 -1
  45. package/dist-types/models/enums.d.ts +38 -0
  46. package/dist-types/models/models_0.d.ts +195 -45
  47. package/dist-types/models/models_1.d.ts +46 -69
  48. package/dist-types/models/models_2.d.ts +112 -2
  49. package/dist-types/schemas/schemas_0.d.ts +5 -0
  50. package/dist-types/ts3.4/commands/DeleteTopicRuleDestinationCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DeprecateThingTypeCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -1
  54. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +1 -2
  56. package/dist-types/ts3.4/models/enums.d.ts +18 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +36 -11
  58. package/dist-types/ts3.4/models/models_1.d.ts +11 -18
  59. package/dist-types/ts3.4/models/models_2.d.ts +28 -0
  60. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  61. package/package.json +1 -1
@@ -32,10 +32,12 @@ import {
32
32
  DimensionValueOperator,
33
33
  DynamoKeyType,
34
34
  FleetMetricUnit,
35
+ InfluxDBSecretType,
36
+ InfluxDBTimestampUnit,
37
+ InfluxDBVersion,
35
38
  JobEndBehavior,
36
39
  JobExecutionFailureType,
37
40
  LogLevel,
38
- LogTargetType,
39
41
  MessageFormat,
40
42
  OTAUpdateStatus,
41
43
  OutputFormat,
@@ -142,6 +144,22 @@ export interface HttpAction {
142
144
  enableBatching?: boolean | undefined;
143
145
  batchConfig?: BatchConfig | undefined;
144
146
  }
147
+ export interface InfluxDBBatchConfig {
148
+ maxBatchSize?: number | undefined;
149
+ maxBatchOpenMs?: number | undefined;
150
+ maxBatchSizeBytes?: number | undefined;
151
+ batchAcrossTopics?: boolean | undefined;
152
+ }
153
+ export interface InfluxDBAction {
154
+ destinationArn: string | undefined;
155
+ roleArn: string | undefined;
156
+ databaseName: string | undefined;
157
+ tableName: string | undefined;
158
+ organization?: string | undefined;
159
+ tags?: Record<string, string> | undefined;
160
+ timestampUnit?: InfluxDBTimestampUnit | undefined;
161
+ batchConfig?: InfluxDBBatchConfig | undefined;
162
+ }
145
163
  export interface IotAnalyticsAction {
146
164
  channelArn?: string | undefined;
147
165
  channelName?: string | undefined;
@@ -345,6 +363,7 @@ export interface Action {
345
363
  kafka?: KafkaAction | undefined;
346
364
  openSearch?: OpenSearchAction | undefined;
347
365
  location?: LocationAction | undefined;
366
+ influxDB?: InfluxDBAction | undefined;
348
367
  }
349
368
  export interface MachineLearningDetectionConfig {
350
369
  confidenceLevel: ConfidenceLevel | undefined;
@@ -1315,6 +1334,13 @@ export interface CreateTopicRuleRequest {
1315
1334
  export interface HttpUrlDestinationConfiguration {
1316
1335
  confirmationUrl: string | undefined;
1317
1336
  }
1337
+ export interface InfluxDBDestinationConfiguration {
1338
+ endpoint: string | undefined;
1339
+ influxDBVersion: InfluxDBVersion | undefined;
1340
+ secretId: string | undefined;
1341
+ secretType?: InfluxDBSecretType | undefined;
1342
+ secretKey?: string | undefined;
1343
+ }
1318
1344
  export interface VpcDestinationConfiguration {
1319
1345
  subnetIds: string[] | undefined;
1320
1346
  securityGroups?: string[] | undefined;
@@ -1324,6 +1350,7 @@ export interface VpcDestinationConfiguration {
1324
1350
  export interface TopicRuleDestinationConfiguration {
1325
1351
  httpUrlConfiguration?: HttpUrlDestinationConfiguration | undefined;
1326
1352
  vpcConfiguration?: VpcDestinationConfiguration | undefined;
1353
+ influxDBConfiguration?: InfluxDBDestinationConfiguration | undefined;
1327
1354
  }
1328
1355
  export interface CreateTopicRuleDestinationRequest {
1329
1356
  destinationConfiguration: TopicRuleDestinationConfiguration | undefined;
@@ -1331,6 +1358,13 @@ export interface CreateTopicRuleDestinationRequest {
1331
1358
  export interface HttpUrlDestinationProperties {
1332
1359
  confirmationUrl?: string | undefined;
1333
1360
  }
1361
+ export interface InfluxDBDestinationProperties {
1362
+ endpoint?: string | undefined;
1363
+ influxDBVersion?: InfluxDBVersion | undefined;
1364
+ secretId?: string | undefined;
1365
+ secretType?: InfluxDBSecretType | undefined;
1366
+ secretKey?: string | undefined;
1367
+ }
1334
1368
  export interface VpcDestinationProperties {
1335
1369
  subnetIds?: string[] | undefined;
1336
1370
  securityGroups?: string[] | undefined;
@@ -1345,6 +1379,7 @@ export interface TopicRuleDestination {
1345
1379
  statusReason?: string | undefined;
1346
1380
  httpUrlProperties?: HttpUrlDestinationProperties | undefined;
1347
1381
  vpcProperties?: VpcDestinationProperties | undefined;
1382
+ influxDBProperties?: InfluxDBDestinationProperties | undefined;
1348
1383
  }
1349
1384
  export interface CreateTopicRuleDestinationResponse {
1350
1385
  topicRuleDestination?: TopicRuleDestination | undefined;
@@ -1502,13 +1537,3 @@ export interface DeleteTopicRuleRequest {
1502
1537
  export interface DeleteTopicRuleDestinationRequest {
1503
1538
  arn: string | undefined;
1504
1539
  }
1505
- export interface DeleteTopicRuleDestinationResponse {}
1506
- export interface DeleteV2LoggingLevelRequest {
1507
- targetType: LogTargetType | undefined;
1508
- targetName: string | undefined;
1509
- }
1510
- export interface DeprecateThingTypeRequest {
1511
- thingTypeName: string | undefined;
1512
- undoDeprecate?: boolean | undefined;
1513
- }
1514
- export interface DeprecateThingTypeResponse {}
@@ -38,6 +38,7 @@ import {
38
38
  JobExecutionStatus,
39
39
  JobStatus,
40
40
  LogLevel,
41
+ LogTargetType,
41
42
  MitigationActionType,
42
43
  ModelStatus,
43
44
  NamedShadowIndexingMode,
@@ -105,7 +106,6 @@ import {
105
106
  SchedulingConfig,
106
107
  ServerCertificateConfig,
107
108
  StreamFile,
108
- Tag,
109
109
  TaskStatisticsForAuditCheck,
110
110
  ThingGroupProperties,
111
111
  ThingTypeProperties,
@@ -113,6 +113,16 @@ import {
113
113
  TlsConfig,
114
114
  TopicRuleDestination,
115
115
  } from "./models_0";
116
+ export interface DeleteTopicRuleDestinationResponse {}
117
+ export interface DeleteV2LoggingLevelRequest {
118
+ targetType: LogTargetType | undefined;
119
+ targetName: string | undefined;
120
+ }
121
+ export interface DeprecateThingTypeRequest {
122
+ thingTypeName: string | undefined;
123
+ undoDeprecate?: boolean | undefined;
124
+ }
125
+ export interface DeprecateThingTypeResponse {}
116
126
  export interface DescribeAccountAuditConfigurationRequest {}
117
127
  export interface DescribeAccountAuditConfigurationResponse {
118
128
  roleArn?: string | undefined;
@@ -1710,20 +1720,3 @@ export interface StreamSummary {
1710
1720
  streamVersion?: number | undefined;
1711
1721
  description?: string | undefined;
1712
1722
  }
1713
- export interface ListStreamsResponse {
1714
- streams?: StreamSummary[] | undefined;
1715
- nextToken?: string | undefined;
1716
- }
1717
- export interface ListTagsForResourceRequest {
1718
- resourceArn: string | undefined;
1719
- nextToken?: string | undefined;
1720
- }
1721
- export interface ListTagsForResourceResponse {
1722
- tags?: Tag[] | undefined;
1723
- nextToken?: string | undefined;
1724
- }
1725
- export interface ListTargetsForPolicyRequest {
1726
- policyName: string | undefined;
1727
- marker?: string | undefined;
1728
- pageSize?: number | undefined;
1729
- }
@@ -18,6 +18,8 @@ import {
18
18
  EncryptionType,
19
19
  EventType,
20
20
  FleetMetricUnit,
21
+ InfluxDBSecretType,
22
+ InfluxDBVersion,
21
23
  LogLevel,
22
24
  LogTargetType,
23
25
  PackageVersionAction,
@@ -69,12 +71,30 @@ import {
69
71
  LogEventConfiguration,
70
72
  RegistrationConfig,
71
73
  SecurityProfileTarget,
74
+ StreamSummary,
72
75
  ThingGroupIndexingConfiguration,
73
76
  ThingIndexingConfiguration,
74
77
  ThingTypeMetadata,
75
78
  VersionUpdateByJobsConfig,
76
79
  ViolationEventOccurrenceRange,
77
80
  } from "./models_1";
81
+ export interface ListStreamsResponse {
82
+ streams?: StreamSummary[] | undefined;
83
+ nextToken?: string | undefined;
84
+ }
85
+ export interface ListTagsForResourceRequest {
86
+ resourceArn: string | undefined;
87
+ nextToken?: string | undefined;
88
+ }
89
+ export interface ListTagsForResourceResponse {
90
+ tags?: Tag[] | undefined;
91
+ nextToken?: string | undefined;
92
+ }
93
+ export interface ListTargetsForPolicyRequest {
94
+ policyName: string | undefined;
95
+ marker?: string | undefined;
96
+ pageSize?: number | undefined;
97
+ }
78
98
  export interface ListTargetsForPolicyResponse {
79
99
  targets?: string[] | undefined;
80
100
  nextMarker?: string | undefined;
@@ -211,6 +231,13 @@ export interface ListTopicRuleDestinationsRequest {
211
231
  export interface HttpUrlDestinationSummary {
212
232
  confirmationUrl?: string | undefined;
213
233
  }
234
+ export interface InfluxDBDestinationSummary {
235
+ endpoint?: string | undefined;
236
+ influxDBVersion?: InfluxDBVersion | undefined;
237
+ secretId?: string | undefined;
238
+ secretType?: InfluxDBSecretType | undefined;
239
+ secretKey?: string | undefined;
240
+ }
214
241
  export interface VpcDestinationSummary {
215
242
  subnetIds?: string[] | undefined;
216
243
  securityGroups?: string[] | undefined;
@@ -225,6 +252,7 @@ export interface TopicRuleDestinationSummary {
225
252
  statusReason?: string | undefined;
226
253
  httpUrlSummary?: HttpUrlDestinationSummary | undefined;
227
254
  vpcDestinationSummary?: VpcDestinationSummary | undefined;
255
+ influxDBSummary?: InfluxDBDestinationSummary | undefined;
228
256
  }
229
257
  export interface ListTopicRuleDestinationsResponse {
230
258
  destinationSummaries?: TopicRuleDestinationSummary[] | undefined;
@@ -420,6 +420,11 @@ export declare var HttpUrlDestinationProperties$: StaticStructureSchema;
420
420
  export declare var HttpUrlDestinationSummary$: StaticStructureSchema;
421
421
  export declare var ImplicitDeny$: StaticStructureSchema;
422
422
  export declare var IndexingFilter$: StaticStructureSchema;
423
+ export declare var InfluxDBAction$: StaticStructureSchema;
424
+ export declare var InfluxDBBatchConfig$: StaticStructureSchema;
425
+ export declare var InfluxDBDestinationConfiguration$: StaticStructureSchema;
426
+ export declare var InfluxDBDestinationProperties$: StaticStructureSchema;
427
+ export declare var InfluxDBDestinationSummary$: StaticStructureSchema;
423
428
  export declare var IotAnalyticsAction$: StaticStructureSchema;
424
429
  export declare var IotEventsAction$: StaticStructureSchema;
425
430
  export declare var IotSiteWiseAction$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot",
3
- "version": "3.1117.0",
3
+ "version": "3.1119.0",
4
4
  "description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iot",
6
6
  "license": "Apache-2.0",