@aws-sdk/client-iot 3.451.0 → 3.453.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_1.js +5 -1
- package/dist-es/models/models_1.js +4 -0
- package/dist-types/commands/AttachSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/CancelAuditMitigationActionsTaskCommand.d.ts +3 -2
- package/dist-types/commands/CancelAuditTaskCommand.d.ts +1 -2
- package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +3 -1
- package/dist-types/commands/CreateCustomMetricCommand.d.ts +4 -1
- package/dist-types/commands/CreateDimensionCommand.d.ts +2 -4
- package/dist-types/commands/CreateMitigationActionCommand.d.ts +2 -4
- package/dist-types/commands/CreateScheduledAuditCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/DeleteCustomMetricCommand.d.ts +8 -4
- package/dist-types/commands/DescribeAccountAuditConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAuditFindingCommand.d.ts +3 -1
- package/dist-types/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +1 -3
- package/dist-types/commands/DescribeCustomMetricCommand.d.ts +3 -1
- package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +3 -1
- package/dist-types/commands/DetachSecurityProfileCommand.d.ts +1 -2
- package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +3 -1
- package/dist-types/commands/GetIndexingConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/ListAuditFindingsCommand.d.ts +2 -2
- package/dist-types/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +2 -1
- package/dist-types/commands/ListAuditTasksCommand.d.ts +2 -2
- package/dist-types/commands/ListCustomMetricsCommand.d.ts +3 -1
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +3 -1
- package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +3 -1
- package/dist-types/commands/ListMetricValuesCommand.d.ts +2 -2
- package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +1 -1
- 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 +1 -2
- package/dist-types/commands/ListViolationEventsCommand.d.ts +3 -3
- package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +3 -1
- package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCustomMetricCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDimensionCommand.d.ts +6 -2
- package/dist-types/commands/UpdateIndexingConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateScheduledAuditCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +64 -50
- package/dist-types/models/models_1.d.ts +272 -192
- package/dist-types/models/models_2.d.ts +216 -136
- package/dist-types/ts3.4/commands/ListPolicyPrincipalsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +11 -10
- package/dist-types/ts3.4/models/models_2.d.ts +10 -0
- package/package.json +1 -1
|
@@ -3001,8 +3001,8 @@ export interface CancelAuditMitigationActionsTaskResponse {
|
|
|
3001
3001
|
export interface CancelAuditTaskRequest {
|
|
3002
3002
|
/**
|
|
3003
3003
|
* @public
|
|
3004
|
-
* <p>The ID of the audit you want to cancel. You can only cancel an
|
|
3005
|
-
*
|
|
3004
|
+
* <p>The ID of the audit you want to cancel. You can only cancel an
|
|
3005
|
+
* audit that is "IN_PROGRESS".</p>
|
|
3006
3006
|
*/
|
|
3007
3007
|
taskId: string | undefined;
|
|
3008
3008
|
}
|
|
@@ -3029,7 +3029,9 @@ export interface CancelCertificateTransferRequest {
|
|
|
3029
3029
|
export interface CancelDetectMitigationActionsTaskRequest {
|
|
3030
3030
|
/**
|
|
3031
3031
|
* @public
|
|
3032
|
-
* <p>
|
|
3032
|
+
* <p>
|
|
3033
|
+
* The unique identifier of the task.
|
|
3034
|
+
* </p>
|
|
3033
3035
|
*/
|
|
3034
3036
|
taskId: string | undefined;
|
|
3035
3037
|
}
|
|
@@ -3491,14 +3493,18 @@ export interface CreateCustomMetricRequest {
|
|
|
3491
3493
|
metricType: CustomMetricType | undefined;
|
|
3492
3494
|
/**
|
|
3493
3495
|
* @public
|
|
3494
|
-
* <p>
|
|
3496
|
+
* <p>
|
|
3497
|
+
* Metadata that can be used to manage the custom metric.
|
|
3498
|
+
* </p>
|
|
3495
3499
|
*/
|
|
3496
3500
|
tags?: Tag[];
|
|
3497
3501
|
/**
|
|
3498
3502
|
* @public
|
|
3499
|
-
* <p>Each custom
|
|
3500
|
-
*
|
|
3501
|
-
*
|
|
3503
|
+
* <p>Each custom
|
|
3504
|
+
* metric must have a unique client request token. If you try to create a new custom metric that
|
|
3505
|
+
* already exists with a different token,
|
|
3506
|
+
* an exception
|
|
3507
|
+
* occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request. </p>
|
|
3502
3508
|
*/
|
|
3503
3509
|
clientRequestToken?: string;
|
|
3504
3510
|
}
|
|
@@ -3508,7 +3514,9 @@ export interface CreateCustomMetricRequest {
|
|
|
3508
3514
|
export interface CreateCustomMetricResponse {
|
|
3509
3515
|
/**
|
|
3510
3516
|
* @public
|
|
3511
|
-
* <p>
|
|
3517
|
+
* <p>
|
|
3518
|
+
* The name of the custom metric to be used in the metric report.
|
|
3519
|
+
* </p>
|
|
3512
3520
|
*/
|
|
3513
3521
|
metricName?: string;
|
|
3514
3522
|
/**
|
|
@@ -3537,8 +3545,7 @@ export type DimensionType = (typeof DimensionType)[keyof typeof DimensionType];
|
|
|
3537
3545
|
export interface CreateDimensionRequest {
|
|
3538
3546
|
/**
|
|
3539
3547
|
* @public
|
|
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>
|
|
3548
|
+
* <p>A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.</p>
|
|
3542
3549
|
*/
|
|
3543
3550
|
name: string | undefined;
|
|
3544
3551
|
/**
|
|
@@ -3549,8 +3556,7 @@ export interface CreateDimensionRequest {
|
|
|
3549
3556
|
type: DimensionType | undefined;
|
|
3550
3557
|
/**
|
|
3551
3558
|
* @public
|
|
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>
|
|
3559
|
+
* <p>Specifies the value or list of values for the dimension. For <code>TOPIC_FILTER</code> dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").</p>
|
|
3554
3560
|
*/
|
|
3555
3561
|
stringValues: string[] | undefined;
|
|
3556
3562
|
/**
|
|
@@ -3560,9 +3566,8 @@ export interface CreateDimensionRequest {
|
|
|
3560
3566
|
tags?: Tag[];
|
|
3561
3567
|
/**
|
|
3562
3568
|
* @public
|
|
3563
|
-
* <p>Each dimension must have a unique client request token. If you try to create a new
|
|
3564
|
-
*
|
|
3565
|
-
* omit this value, Amazon Web Services SDKs will automatically generate a unique client request.</p>
|
|
3569
|
+
* <p>Each dimension must have a unique client request token. If you try to create a new dimension with the same token as a dimension that already exists, an exception occurs.
|
|
3570
|
+
* If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.</p>
|
|
3566
3571
|
*/
|
|
3567
3572
|
clientRequestToken?: string;
|
|
3568
3573
|
}
|
|
@@ -3577,7 +3582,10 @@ export interface CreateDimensionResponse {
|
|
|
3577
3582
|
name?: string;
|
|
3578
3583
|
/**
|
|
3579
3584
|
* @public
|
|
3580
|
-
* <p>The Amazon Resource Name
|
|
3585
|
+
* <p>The Amazon Resource Name
|
|
3586
|
+
* (ARN)
|
|
3587
|
+
* of
|
|
3588
|
+
* the created dimension.</p>
|
|
3581
3589
|
*/
|
|
3582
3590
|
arn?: string;
|
|
3583
3591
|
}
|
|
@@ -4272,8 +4280,8 @@ export interface CreateJobRequest {
|
|
|
4272
4280
|
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
4273
4281
|
* job successfully completes. </p>
|
|
4274
4282
|
* <p>
|
|
4275
|
-
* <b>Note:</b>The following Length Constraints relates to a single
|
|
4276
|
-
* Up to
|
|
4283
|
+
* <b>Note:</b>The following Length Constraints relates to a single ARN.
|
|
4284
|
+
* Up to 25 package version ARNs are allowed.</p>
|
|
4277
4285
|
*/
|
|
4278
4286
|
destinationPackageVersions?: string[];
|
|
4279
4287
|
}
|
|
@@ -4387,10 +4395,11 @@ export interface CreateJobTemplateRequest {
|
|
|
4387
4395
|
maintenanceWindows?: MaintenanceWindow[];
|
|
4388
4396
|
/**
|
|
4389
4397
|
* @public
|
|
4390
|
-
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
4398
|
+
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
4399
|
+
* job successfully completes. </p>
|
|
4391
4400
|
* <p>
|
|
4392
|
-
* <b>Note:</b>The following Length Constraints relates to a single
|
|
4393
|
-
*
|
|
4401
|
+
* <b>Note:</b>The following Length Constraints relates to a single ARN.
|
|
4402
|
+
* Up to 25 package version ARNs are allowed.</p>
|
|
4394
4403
|
*/
|
|
4395
4404
|
destinationPackageVersions?: string[];
|
|
4396
4405
|
}
|
|
@@ -4614,8 +4623,7 @@ export interface MitigationActionParams {
|
|
|
4614
4623
|
export interface CreateMitigationActionRequest {
|
|
4615
4624
|
/**
|
|
4616
4625
|
* @public
|
|
4617
|
-
* <p>A friendly name for the action. Choose a friendly name that accurately describes the
|
|
4618
|
-
* action (for example, <code>EnableLoggingAction</code>).</p>
|
|
4626
|
+
* <p>A friendly name for the action. Choose a friendly name that accurately describes the action (for example, <code>EnableLoggingAction</code>).</p>
|
|
4619
4627
|
*/
|
|
4620
4628
|
actionName: string | undefined;
|
|
4621
4629
|
/**
|
|
@@ -5742,33 +5750,41 @@ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
|
5742
5750
|
export interface CreateScheduledAuditRequest {
|
|
5743
5751
|
/**
|
|
5744
5752
|
* @public
|
|
5745
|
-
* <p>How often the scheduled audit takes
|
|
5746
|
-
*
|
|
5747
|
-
*
|
|
5753
|
+
* <p>How often the scheduled audit takes
|
|
5754
|
+
* place, either
|
|
5755
|
+
* <code>DAILY</code>,
|
|
5756
|
+
* <code>WEEKLY</code>, <code>BIWEEKLY</code> or <code>MONTHLY</code>. The start time of each audit is
|
|
5757
|
+
* determined by the system.</p>
|
|
5748
5758
|
*/
|
|
5749
5759
|
frequency: AuditFrequency | undefined;
|
|
5750
5760
|
/**
|
|
5751
5761
|
* @public
|
|
5752
|
-
* <p>The day of the month on which the scheduled audit takes place.
|
|
5753
|
-
*
|
|
5754
|
-
*
|
|
5755
|
-
*
|
|
5762
|
+
* <p>The day of the month on which the scheduled audit takes place.
|
|
5763
|
+
* This
|
|
5764
|
+
* can be "1" through "31" or "LAST". This field is required if the "frequency"
|
|
5765
|
+
* parameter is set to <code>MONTHLY</code>. If days
|
|
5766
|
+
* 29
|
|
5767
|
+
* to 31 are specified, and the month
|
|
5768
|
+
* doesn't
|
|
5769
|
+
* have that many days, the audit takes place on the <code>LAST</code> day of the month.</p>
|
|
5756
5770
|
*/
|
|
5757
5771
|
dayOfMonth?: string;
|
|
5758
5772
|
/**
|
|
5759
5773
|
* @public
|
|
5760
|
-
* <p>The day of the week on which the scheduled audit takes
|
|
5761
|
-
*
|
|
5762
|
-
*
|
|
5763
|
-
*
|
|
5774
|
+
* <p>The day of the week on which the scheduled audit takes
|
|
5775
|
+
* place,
|
|
5776
|
+
* either
|
|
5777
|
+
* <code>SUN</code>,
|
|
5778
|
+
* <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>
|
|
5779
|
+
* parameter is set to <code>WEEKLY</code> or <code>BIWEEKLY</code>.</p>
|
|
5764
5780
|
*/
|
|
5765
5781
|
dayOfWeek?: DayOfWeek;
|
|
5766
5782
|
/**
|
|
5767
5783
|
* @public
|
|
5768
|
-
* <p>Which checks are performed during the scheduled audit. Checks must be enabled
|
|
5769
|
-
*
|
|
5770
|
-
*
|
|
5771
|
-
*
|
|
5784
|
+
* <p>Which checks are performed during the scheduled audit. Checks must be enabled
|
|
5785
|
+
* for your account. (Use <code>DescribeAccountAuditConfiguration</code> to see the list
|
|
5786
|
+
* of all checks, including those that are enabled or use <code>UpdateAccountAuditConfiguration</code>
|
|
5787
|
+
* to select which checks are enabled.)</p>
|
|
5772
5788
|
*/
|
|
5773
5789
|
targetCheckNames: string[] | undefined;
|
|
5774
5790
|
/**
|
|
@@ -5826,14 +5842,13 @@ export interface CreateSecurityProfileRequest {
|
|
|
5826
5842
|
securityProfileDescription?: string;
|
|
5827
5843
|
/**
|
|
5828
5844
|
* @public
|
|
5829
|
-
* <p>Specifies the behaviors that, when violated by a device (thing), cause an
|
|
5830
|
-
* alert.</p>
|
|
5845
|
+
* <p>Specifies the behaviors that, when violated by a device (thing), cause an alert.</p>
|
|
5831
5846
|
*/
|
|
5832
5847
|
behaviors?: Behavior[];
|
|
5833
5848
|
/**
|
|
5834
5849
|
* @public
|
|
5835
5850
|
* <p>Specifies the destinations to which alerts are sent. (Alerts are always sent to the
|
|
5836
|
-
*
|
|
5851
|
+
* console.) Alerts are generated when a device (thing) violates a behavior.</p>
|
|
5837
5852
|
*/
|
|
5838
5853
|
alertTargets?: Partial<Record<AlertTargetType, AlertTarget>>;
|
|
5839
5854
|
/**
|
|
@@ -5841,19 +5856,16 @@ export interface CreateSecurityProfileRequest {
|
|
|
5841
5856
|
* @deprecated
|
|
5842
5857
|
*
|
|
5843
5858
|
* <p>
|
|
5844
|
-
* <i>Please use <a>CreateSecurityProfileRequest$additionalMetricsToRetainV2</a>
|
|
5845
|
-
* instead.</i>
|
|
5859
|
+
* <i>Please use <a>CreateSecurityProfileRequest$additionalMetricsToRetainV2</a> instead.</i>
|
|
5846
5860
|
* </p>
|
|
5847
|
-
* <p>A list of metrics whose data is retained (stored). By default, data is retained
|
|
5848
|
-
*
|
|
5849
|
-
*
|
|
5861
|
+
* <p>A list of metrics whose data is retained (stored). By default, data is retained
|
|
5862
|
+
* for any metric used in the profile's <code>behaviors</code>, but it is also retained for
|
|
5863
|
+
* any metric specified here. Can be used with custom metrics; cannot be used with dimensions.</p>
|
|
5850
5864
|
*/
|
|
5851
5865
|
additionalMetricsToRetain?: string[];
|
|
5852
5866
|
/**
|
|
5853
5867
|
* @public
|
|
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>
|
|
5868
|
+
* <p>A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's <code>behaviors</code>, but it is also retained for any metric specified here. Can be used with custom metrics; cannot be used with dimensions.</p>
|
|
5857
5869
|
*/
|
|
5858
5870
|
additionalMetricsToRetainV2?: MetricToRetain[];
|
|
5859
5871
|
/**
|
|
@@ -6531,7 +6543,9 @@ export interface DeleteCertificateRequest {
|
|
|
6531
6543
|
export interface DeleteCustomMetricRequest {
|
|
6532
6544
|
/**
|
|
6533
6545
|
* @public
|
|
6534
|
-
* <p>
|
|
6546
|
+
* <p>
|
|
6547
|
+
* The name of the custom metric.
|
|
6548
|
+
* </p>
|
|
6535
6549
|
*/
|
|
6536
6550
|
metricName: string | undefined;
|
|
6537
6551
|
}
|