@aws-sdk/client-iot 3.449.0 → 3.451.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/README.md +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +7 -0
- package/dist-types/commands/AttachSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/CancelAuditMitigationActionsTaskCommand.d.ts +2 -3
- package/dist-types/commands/CancelAuditTaskCommand.d.ts +2 -1
- package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +1 -3
- package/dist-types/commands/CreateCustomMetricCommand.d.ts +1 -4
- package/dist-types/commands/CreateDimensionCommand.d.ts +4 -2
- package/dist-types/commands/CreateMitigationActionCommand.d.ts +4 -2
- package/dist-types/commands/CreateScheduledAuditCommand.d.ts +1 -2
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +6 -0
- package/dist-types/commands/CreateThingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +3 -2
- package/dist-types/commands/DeleteCustomMetricCommand.d.ts +4 -8
- package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAccountAuditConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAuditFindingCommand.d.ts +1 -3
- package/dist-types/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +3 -1
- package/dist-types/commands/DescribeCustomMetricCommand.d.ts +1 -3
- package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +1 -3
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +6 -0
- package/dist-types/commands/DetachSecurityProfileCommand.d.ts +2 -1
- package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +1 -3
- package/dist-types/commands/ListActiveViolationsCommand.d.ts +1 -0
- package/dist-types/commands/ListAuditFindingsCommand.d.ts +2 -2
- package/dist-types/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +1 -2
- package/dist-types/commands/ListAuditTasksCommand.d.ts +2 -2
- package/dist-types/commands/ListCustomMetricsCommand.d.ts +1 -3
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +1 -3
- package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -3
- package/dist-types/commands/ListMetricValuesCommand.d.ts +2 -2
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -2
- package/dist-types/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +6 -6
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +4 -4
- package/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +2 -1
- package/dist-types/commands/ListViolationEventsCommand.d.ts +4 -3
- package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +1 -3
- package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCustomMetricCommand.d.ts +1 -2
- package/dist-types/commands/UpdateDimensionCommand.d.ts +2 -6
- package/dist-types/commands/UpdateScheduledAuditCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +13 -0
- package/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +79 -73
- package/dist-types/models/models_1.d.ts +164 -203
- package/dist-types/models/models_2.d.ts +163 -172
- package/dist-types/ts3.4/commands/DeleteDynamicThingGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +7 -4
- package/dist-types/ts3.4/models/models_1.d.ts +6 -3
- package/dist-types/ts3.4/models/models_2.d.ts +7 -0
- package/package.json +35 -35
|
@@ -23,9 +23,9 @@ export interface UpdateAccountAuditConfigurationCommandOutput extends UpdateAcco
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Configures or reconfigures the Device Defender audit settings for this account.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* <p>Configures or reconfigures the Device Defender audit settings for this account. Settings
|
|
27
|
+
* include how audit notifications are sent and which audit checks are enabled or
|
|
28
|
+
* disabled.</p>
|
|
29
29
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdateAccountAuditConfiguration</a> action.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,8 +23,7 @@ export interface UpdateCustomMetricCommandOutput extends UpdateCustomMetricRespo
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Updates a
|
|
27
|
-
* Device Defender detect custom metric. </p>
|
|
26
|
+
* <p>Updates a Device Defender detect custom metric. </p>
|
|
28
27
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdateCustomMetric</a> action.</p>
|
|
29
28
|
* @example
|
|
30
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,12 +23,8 @@ export interface UpdateDimensionCommandOutput extends UpdateDimensionResponse, _
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Updates the definition for a dimension. You
|
|
27
|
-
*
|
|
28
|
-
* change the type of a dimension after
|
|
29
|
-
* it is created (you can delete it and
|
|
30
|
-
* recreate
|
|
31
|
-
* it).</p>
|
|
26
|
+
* <p>Updates the definition for a dimension. You cannot change the type of a dimension after it
|
|
27
|
+
* is created (you can delete it and recreate it).</p>
|
|
32
28
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdateDimension</a> action.</p>
|
|
33
29
|
* @example
|
|
34
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,8 +23,8 @@ export interface UpdateScheduledAuditCommandOutput extends UpdateScheduledAuditR
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Updates a scheduled audit, including which checks are performed and
|
|
27
|
-
*
|
|
26
|
+
* <p>Updates a scheduled audit, including which checks are performed and how often the audit
|
|
27
|
+
* takes place.</p>
|
|
28
28
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdateScheduledAudit</a> action.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -71,6 +71,7 @@ export interface UpdateSecurityProfileCommandOutput extends UpdateSecurityProfil
|
|
|
71
71
|
* },
|
|
72
72
|
* },
|
|
73
73
|
* suppressAlerts: true || false,
|
|
74
|
+
* exportMetric: true || false,
|
|
74
75
|
* },
|
|
75
76
|
* ],
|
|
76
77
|
* alertTargets: { // AlertTargets
|
|
@@ -89,12 +90,18 @@ export interface UpdateSecurityProfileCommandOutput extends UpdateSecurityProfil
|
|
|
89
90
|
* dimensionName: "STRING_VALUE", // required
|
|
90
91
|
* operator: "IN" || "NOT_IN",
|
|
91
92
|
* },
|
|
93
|
+
* exportMetric: true || false,
|
|
92
94
|
* },
|
|
93
95
|
* ],
|
|
94
96
|
* deleteBehaviors: true || false,
|
|
95
97
|
* deleteAlertTargets: true || false,
|
|
96
98
|
* deleteAdditionalMetricsToRetain: true || false,
|
|
97
99
|
* expectedVersion: Number("long"),
|
|
100
|
+
* metricsExportConfig: { // MetricsExportConfig
|
|
101
|
+
* mqttTopic: "STRING_VALUE", // required
|
|
102
|
+
* roleArn: "STRING_VALUE", // required
|
|
103
|
+
* },
|
|
104
|
+
* deleteMetricsExportConfig: true || false,
|
|
98
105
|
* };
|
|
99
106
|
* const command = new UpdateSecurityProfileCommand(input);
|
|
100
107
|
* const response = await client.send(command);
|
|
@@ -139,6 +146,7 @@ export interface UpdateSecurityProfileCommandOutput extends UpdateSecurityProfil
|
|
|
139
146
|
* // },
|
|
140
147
|
* // },
|
|
141
148
|
* // suppressAlerts: true || false,
|
|
149
|
+
* // exportMetric: true || false,
|
|
142
150
|
* // },
|
|
143
151
|
* // ],
|
|
144
152
|
* // alertTargets: { // AlertTargets
|
|
@@ -157,11 +165,16 @@ export interface UpdateSecurityProfileCommandOutput extends UpdateSecurityProfil
|
|
|
157
165
|
* // dimensionName: "STRING_VALUE", // required
|
|
158
166
|
* // operator: "IN" || "NOT_IN",
|
|
159
167
|
* // },
|
|
168
|
+
* // exportMetric: true || false,
|
|
160
169
|
* // },
|
|
161
170
|
* // ],
|
|
162
171
|
* // version: Number("long"),
|
|
163
172
|
* // creationDate: new Date("TIMESTAMP"),
|
|
164
173
|
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
174
|
+
* // metricsExportConfig: { // MetricsExportConfig
|
|
175
|
+
* // mqttTopic: "STRING_VALUE", // required
|
|
176
|
+
* // roleArn: "STRING_VALUE", // required
|
|
177
|
+
* // },
|
|
165
178
|
* // };
|
|
166
179
|
*
|
|
167
180
|
* ```
|
|
@@ -1703,6 +1703,11 @@ export interface Behavior {
|
|
|
1703
1703
|
* </p>
|
|
1704
1704
|
*/
|
|
1705
1705
|
suppressAlerts?: boolean;
|
|
1706
|
+
/**
|
|
1707
|
+
* @public
|
|
1708
|
+
* <p>Value indicates exporting metrics related to the behavior when it is true.</p>
|
|
1709
|
+
*/
|
|
1710
|
+
exportMetric?: boolean;
|
|
1706
1711
|
}
|
|
1707
1712
|
/**
|
|
1708
1713
|
* @public
|
|
@@ -1806,6 +1811,12 @@ export interface MetricToRetain {
|
|
|
1806
1811
|
* <p>The dimension of a metric. This can't be used with custom metrics.</p>
|
|
1807
1812
|
*/
|
|
1808
1813
|
metricDimension?: MetricDimension;
|
|
1814
|
+
/**
|
|
1815
|
+
* @public
|
|
1816
|
+
* <p>Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if Device
|
|
1817
|
+
* Defender Detect should export the corresponding metrics.</p>
|
|
1818
|
+
*/
|
|
1819
|
+
exportMetric?: boolean;
|
|
1809
1820
|
}
|
|
1810
1821
|
/**
|
|
1811
1822
|
* @public
|
|
@@ -2990,8 +3001,8 @@ export interface CancelAuditMitigationActionsTaskResponse {
|
|
|
2990
3001
|
export interface CancelAuditTaskRequest {
|
|
2991
3002
|
/**
|
|
2992
3003
|
* @public
|
|
2993
|
-
* <p>The ID of the audit you want to cancel. You can only cancel an
|
|
2994
|
-
*
|
|
3004
|
+
* <p>The ID of the audit you want to cancel. You can only cancel an audit that is
|
|
3005
|
+
* "IN_PROGRESS".</p>
|
|
2995
3006
|
*/
|
|
2996
3007
|
taskId: string | undefined;
|
|
2997
3008
|
}
|
|
@@ -3018,9 +3029,7 @@ export interface CancelCertificateTransferRequest {
|
|
|
3018
3029
|
export interface CancelDetectMitigationActionsTaskRequest {
|
|
3019
3030
|
/**
|
|
3020
3031
|
* @public
|
|
3021
|
-
* <p>
|
|
3022
|
-
* The unique identifier of the task.
|
|
3023
|
-
* </p>
|
|
3032
|
+
* <p> The unique identifier of the task. </p>
|
|
3024
3033
|
*/
|
|
3025
3034
|
taskId: string | undefined;
|
|
3026
3035
|
}
|
|
@@ -3482,18 +3491,14 @@ export interface CreateCustomMetricRequest {
|
|
|
3482
3491
|
metricType: CustomMetricType | undefined;
|
|
3483
3492
|
/**
|
|
3484
3493
|
* @public
|
|
3485
|
-
* <p>
|
|
3486
|
-
* Metadata that can be used to manage the custom metric.
|
|
3487
|
-
* </p>
|
|
3494
|
+
* <p> Metadata that can be used to manage the custom metric. </p>
|
|
3488
3495
|
*/
|
|
3489
3496
|
tags?: Tag[];
|
|
3490
3497
|
/**
|
|
3491
3498
|
* @public
|
|
3492
|
-
* <p>Each custom
|
|
3493
|
-
* metric
|
|
3494
|
-
*
|
|
3495
|
-
* an exception
|
|
3496
|
-
* occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request. </p>
|
|
3499
|
+
* <p>Each custom metric must have a unique client request token. If you try to create a new
|
|
3500
|
+
* custom metric that already exists with a different token, an exception occurs. If you omit
|
|
3501
|
+
* this value, Amazon Web Services SDKs will automatically generate a unique client request. </p>
|
|
3497
3502
|
*/
|
|
3498
3503
|
clientRequestToken?: string;
|
|
3499
3504
|
}
|
|
@@ -3503,9 +3508,7 @@ export interface CreateCustomMetricRequest {
|
|
|
3503
3508
|
export interface CreateCustomMetricResponse {
|
|
3504
3509
|
/**
|
|
3505
3510
|
* @public
|
|
3506
|
-
* <p>
|
|
3507
|
-
* The name of the custom metric to be used in the metric report.
|
|
3508
|
-
* </p>
|
|
3511
|
+
* <p> The name of the custom metric to be used in the metric report. </p>
|
|
3509
3512
|
*/
|
|
3510
3513
|
metricName?: string;
|
|
3511
3514
|
/**
|
|
@@ -3534,7 +3537,8 @@ export type DimensionType = (typeof DimensionType)[keyof typeof DimensionType];
|
|
|
3534
3537
|
export interface CreateDimensionRequest {
|
|
3535
3538
|
/**
|
|
3536
3539
|
* @public
|
|
3537
|
-
* <p>A unique identifier for the dimension. Choose something that describes the type and value
|
|
3540
|
+
* <p>A unique identifier for the dimension. Choose something that describes the type and value
|
|
3541
|
+
* to make it easy to remember what it does.</p>
|
|
3538
3542
|
*/
|
|
3539
3543
|
name: string | undefined;
|
|
3540
3544
|
/**
|
|
@@ -3545,7 +3549,8 @@ export interface CreateDimensionRequest {
|
|
|
3545
3549
|
type: DimensionType | undefined;
|
|
3546
3550
|
/**
|
|
3547
3551
|
* @public
|
|
3548
|
-
* <p>Specifies the value or list of values for the dimension. For <code>TOPIC_FILTER</code>
|
|
3552
|
+
* <p>Specifies the value or list of values for the dimension. For <code>TOPIC_FILTER</code>
|
|
3553
|
+
* dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").</p>
|
|
3549
3554
|
*/
|
|
3550
3555
|
stringValues: string[] | undefined;
|
|
3551
3556
|
/**
|
|
@@ -3555,8 +3560,9 @@ export interface CreateDimensionRequest {
|
|
|
3555
3560
|
tags?: Tag[];
|
|
3556
3561
|
/**
|
|
3557
3562
|
* @public
|
|
3558
|
-
* <p>Each dimension must have a unique client request token. If you try to create a new
|
|
3559
|
-
*
|
|
3563
|
+
* <p>Each dimension must have a unique client request token. If you try to create a new
|
|
3564
|
+
* dimension with the same token as a dimension that already exists, an exception occurs. If you
|
|
3565
|
+
* omit this value, Amazon Web Services SDKs will automatically generate a unique client request.</p>
|
|
3560
3566
|
*/
|
|
3561
3567
|
clientRequestToken?: string;
|
|
3562
3568
|
}
|
|
@@ -3571,10 +3577,7 @@ export interface CreateDimensionResponse {
|
|
|
3571
3577
|
name?: string;
|
|
3572
3578
|
/**
|
|
3573
3579
|
* @public
|
|
3574
|
-
* <p>The Amazon Resource Name
|
|
3575
|
-
* (ARN)
|
|
3576
|
-
* of
|
|
3577
|
-
* the created dimension.</p>
|
|
3580
|
+
* <p>The Amazon Resource Name (ARN) of the created dimension.</p>
|
|
3578
3581
|
*/
|
|
3579
3582
|
arn?: string;
|
|
3580
3583
|
}
|
|
@@ -4611,7 +4614,8 @@ export interface MitigationActionParams {
|
|
|
4611
4614
|
export interface CreateMitigationActionRequest {
|
|
4612
4615
|
/**
|
|
4613
4616
|
* @public
|
|
4614
|
-
* <p>A friendly name for the action. Choose a friendly name that accurately describes the
|
|
4617
|
+
* <p>A friendly name for the action. Choose a friendly name that accurately describes the
|
|
4618
|
+
* action (for example, <code>EnableLoggingAction</code>).</p>
|
|
4615
4619
|
*/
|
|
4616
4620
|
actionName: string | undefined;
|
|
4617
4621
|
/**
|
|
@@ -5738,41 +5742,33 @@ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
|
5738
5742
|
export interface CreateScheduledAuditRequest {
|
|
5739
5743
|
/**
|
|
5740
5744
|
* @public
|
|
5741
|
-
* <p>How often the scheduled audit takes
|
|
5742
|
-
*
|
|
5743
|
-
*
|
|
5744
|
-
* <code>WEEKLY</code>, <code>BIWEEKLY</code> or <code>MONTHLY</code>. The start time of each audit is
|
|
5745
|
-
* determined by the system.</p>
|
|
5745
|
+
* <p>How often the scheduled audit takes place, either <code>DAILY</code>, <code>WEEKLY</code>,
|
|
5746
|
+
* <code>BIWEEKLY</code> or <code>MONTHLY</code>. The start time of each audit is determined by
|
|
5747
|
+
* the system.</p>
|
|
5746
5748
|
*/
|
|
5747
5749
|
frequency: AuditFrequency | undefined;
|
|
5748
5750
|
/**
|
|
5749
5751
|
* @public
|
|
5750
|
-
* <p>The day of the month on which the scheduled audit takes place.
|
|
5751
|
-
* This
|
|
5752
|
-
*
|
|
5753
|
-
*
|
|
5754
|
-
* 29
|
|
5755
|
-
* to 31 are specified, and the month
|
|
5756
|
-
* doesn't
|
|
5757
|
-
* have that many days, the audit takes place on the <code>LAST</code> day of the month.</p>
|
|
5752
|
+
* <p>The day of the month on which the scheduled audit takes place. This can be "1" through
|
|
5753
|
+
* "31" or "LAST". This field is required if the "frequency" parameter is set to
|
|
5754
|
+
* <code>MONTHLY</code>. If days 29 to 31 are specified, and the month doesn't have that many
|
|
5755
|
+
* days, the audit takes place on the <code>LAST</code> day of the month.</p>
|
|
5758
5756
|
*/
|
|
5759
5757
|
dayOfMonth?: string;
|
|
5760
5758
|
/**
|
|
5761
5759
|
* @public
|
|
5762
|
-
* <p>The day of the week on which the scheduled audit takes
|
|
5763
|
-
*
|
|
5764
|
-
*
|
|
5765
|
-
*
|
|
5766
|
-
* <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 <code>frequency</code>
|
|
5767
|
-
* parameter is set to <code>WEEKLY</code> or <code>BIWEEKLY</code>.</p>
|
|
5760
|
+
* <p>The day of the week on which the scheduled audit takes place, either <code>SUN</code>,
|
|
5761
|
+
* <code>MON</code>, <code>TUE</code>, <code>WED</code>, <code>THU</code>, <code>FRI</code>, or
|
|
5762
|
+
* <code>SAT</code>. This field is required if the <code>frequency</code> parameter is set to
|
|
5763
|
+
* <code>WEEKLY</code> or <code>BIWEEKLY</code>.</p>
|
|
5768
5764
|
*/
|
|
5769
5765
|
dayOfWeek?: DayOfWeek;
|
|
5770
5766
|
/**
|
|
5771
5767
|
* @public
|
|
5772
|
-
* <p>Which checks are performed during the scheduled audit. Checks must be enabled
|
|
5773
|
-
*
|
|
5774
|
-
*
|
|
5775
|
-
*
|
|
5768
|
+
* <p>Which checks are performed during the scheduled audit. Checks must be enabled for your
|
|
5769
|
+
* account. (Use <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
|
|
5770
|
+
* including those that are enabled or use <code>UpdateAccountAuditConfiguration</code> to select
|
|
5771
|
+
* which checks are enabled.)</p>
|
|
5776
5772
|
*/
|
|
5777
5773
|
targetCheckNames: string[] | undefined;
|
|
5778
5774
|
/**
|
|
@@ -5796,6 +5792,24 @@ export interface CreateScheduledAuditResponse {
|
|
|
5796
5792
|
*/
|
|
5797
5793
|
scheduledAuditArn?: string;
|
|
5798
5794
|
}
|
|
5795
|
+
/**
|
|
5796
|
+
* @public
|
|
5797
|
+
* <p>Set configurations for metrics export.</p>
|
|
5798
|
+
*/
|
|
5799
|
+
export interface MetricsExportConfig {
|
|
5800
|
+
/**
|
|
5801
|
+
* @public
|
|
5802
|
+
* <p>The MQTT topic that Device Defender Detect should publish messages to for metrics
|
|
5803
|
+
* export.</p>
|
|
5804
|
+
*/
|
|
5805
|
+
mqttTopic: string | undefined;
|
|
5806
|
+
/**
|
|
5807
|
+
* @public
|
|
5808
|
+
* <p>This role ARN has permission to publish MQTT messages, after which Device Defender Detect
|
|
5809
|
+
* can assume the role and publish messages on your behalf.</p>
|
|
5810
|
+
*/
|
|
5811
|
+
roleArn: string | undefined;
|
|
5812
|
+
}
|
|
5799
5813
|
/**
|
|
5800
5814
|
* @public
|
|
5801
5815
|
*/
|
|
@@ -5812,13 +5826,14 @@ export interface CreateSecurityProfileRequest {
|
|
|
5812
5826
|
securityProfileDescription?: string;
|
|
5813
5827
|
/**
|
|
5814
5828
|
* @public
|
|
5815
|
-
* <p>Specifies the behaviors that, when violated by a device (thing), cause an
|
|
5829
|
+
* <p>Specifies the behaviors that, when violated by a device (thing), cause an
|
|
5830
|
+
* alert.</p>
|
|
5816
5831
|
*/
|
|
5817
5832
|
behaviors?: Behavior[];
|
|
5818
5833
|
/**
|
|
5819
5834
|
* @public
|
|
5820
5835
|
* <p>Specifies the destinations to which alerts are sent. (Alerts are always sent to the
|
|
5821
|
-
*
|
|
5836
|
+
* console.) Alerts are generated when a device (thing) violates a behavior.</p>
|
|
5822
5837
|
*/
|
|
5823
5838
|
alertTargets?: Partial<Record<AlertTargetType, AlertTarget>>;
|
|
5824
5839
|
/**
|
|
@@ -5826,16 +5841,19 @@ export interface CreateSecurityProfileRequest {
|
|
|
5826
5841
|
* @deprecated
|
|
5827
5842
|
*
|
|
5828
5843
|
* <p>
|
|
5829
|
-
* <i>Please use <a>CreateSecurityProfileRequest$additionalMetricsToRetainV2</a>
|
|
5844
|
+
* <i>Please use <a>CreateSecurityProfileRequest$additionalMetricsToRetainV2</a>
|
|
5845
|
+
* instead.</i>
|
|
5830
5846
|
* </p>
|
|
5831
|
-
* <p>A list of metrics whose data is retained (stored). By default, data is retained
|
|
5832
|
-
*
|
|
5833
|
-
*
|
|
5847
|
+
* <p>A list of metrics whose data is retained (stored). By default, data is retained for any
|
|
5848
|
+
* metric used in the profile's <code>behaviors</code>, but it is also retained for any metric
|
|
5849
|
+
* specified here. Can be used with custom metrics; cannot be used with dimensions.</p>
|
|
5834
5850
|
*/
|
|
5835
5851
|
additionalMetricsToRetain?: string[];
|
|
5836
5852
|
/**
|
|
5837
5853
|
* @public
|
|
5838
|
-
* <p>A list of metrics whose data is retained (stored). By default, data is retained for any
|
|
5854
|
+
* <p>A list of metrics whose data is retained (stored). By default, data is retained for any
|
|
5855
|
+
* metric used in the profile's <code>behaviors</code>, but it is also retained for any metric
|
|
5856
|
+
* specified here. Can be used with custom metrics; cannot be used with dimensions.</p>
|
|
5839
5857
|
*/
|
|
5840
5858
|
additionalMetricsToRetainV2?: MetricToRetain[];
|
|
5841
5859
|
/**
|
|
@@ -5843,6 +5861,11 @@ export interface CreateSecurityProfileRequest {
|
|
|
5843
5861
|
* <p>Metadata that can be used to manage the security profile.</p>
|
|
5844
5862
|
*/
|
|
5845
5863
|
tags?: Tag[];
|
|
5864
|
+
/**
|
|
5865
|
+
* @public
|
|
5866
|
+
* <p>Specifies the MQTT topic and role ARN required for metric export.</p>
|
|
5867
|
+
*/
|
|
5868
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
5846
5869
|
}
|
|
5847
5870
|
/**
|
|
5848
5871
|
* @public
|
|
@@ -6508,9 +6531,7 @@ export interface DeleteCertificateRequest {
|
|
|
6508
6531
|
export interface DeleteCustomMetricRequest {
|
|
6509
6532
|
/**
|
|
6510
6533
|
* @public
|
|
6511
|
-
* <p>
|
|
6512
|
-
* The name of the custom metric.
|
|
6513
|
-
* </p>
|
|
6534
|
+
* <p> The name of the custom metric. </p>
|
|
6514
6535
|
*/
|
|
6515
6536
|
metricName: string | undefined;
|
|
6516
6537
|
}
|
|
@@ -6549,21 +6570,6 @@ export interface DeleteDomainConfigurationRequest {
|
|
|
6549
6570
|
*/
|
|
6550
6571
|
export interface DeleteDomainConfigurationResponse {
|
|
6551
6572
|
}
|
|
6552
|
-
/**
|
|
6553
|
-
* @public
|
|
6554
|
-
*/
|
|
6555
|
-
export interface DeleteDynamicThingGroupRequest {
|
|
6556
|
-
/**
|
|
6557
|
-
* @public
|
|
6558
|
-
* <p>The name of the dynamic thing group to delete.</p>
|
|
6559
|
-
*/
|
|
6560
|
-
thingGroupName: string | undefined;
|
|
6561
|
-
/**
|
|
6562
|
-
* @public
|
|
6563
|
-
* <p>The expected version of the dynamic thing group to delete.</p>
|
|
6564
|
-
*/
|
|
6565
|
-
expectedVersion?: number;
|
|
6566
|
-
}
|
|
6567
6573
|
/**
|
|
6568
6574
|
* @internal
|
|
6569
6575
|
*/
|