@aws-sdk/client-iot 3.216.0 → 3.222.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/commands/DeleteProvisioningTemplateCommand.js +3 -3
- package/dist-cjs/commands/DeleteProvisioningTemplateVersionCommand.js +3 -3
- package/dist-cjs/commands/ListStreamsCommand.js +2 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTargetsForPolicyCommand.js +1 -2
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +25 -23
- package/dist-cjs/models/models_1.js +23 -22
- package/dist-cjs/models/models_2.js +19 -3
- package/dist-cjs/protocols/Aws_restJson1.js +115 -24
- package/dist-es/commands/DeleteProvisioningTemplateCommand.js +1 -1
- package/dist-es/commands/DeleteProvisioningTemplateVersionCommand.js +1 -1
- package/dist-es/commands/ListStreamsCommand.js +2 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
- package/dist-es/commands/ListTargetsForPolicyCommand.js +1 -2
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +15 -12
- package/dist-es/models/models_1.js +13 -12
- package/dist-es/models/models_2.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +115 -24
- package/dist-types/IoT.d.ts +1 -2
- package/dist-types/commands/AttachThingPrincipalCommand.d.ts +1 -2
- package/dist-types/commands/DeleteProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +130 -36
- package/dist-types/models/models_1.d.ts +45 -65
- package/dist-types/models/models_2.d.ts +63 -1
- package/dist-types/ts3.4/commands/DeleteProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +4 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +29 -21
- package/dist-types/ts3.4/models/models_1.d.ts +24 -30
- package/dist-types/ts3.4/models/models_2.d.ts +30 -0
- package/package.json +29 -28
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/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, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, RelatedResource, ResourceIdentifier, ServiceType, StreamFile,
|
|
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, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, RelatedResource, ResourceIdentifier, SchedulingConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
4
|
+
export interface DeleteProvisioningTemplateRequest {
|
|
5
|
+
/**
|
|
6
|
+
* <p>The name of the fleet provision template to delete.</p>
|
|
7
|
+
*/
|
|
8
|
+
templateName: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface DeleteProvisioningTemplateResponse {
|
|
11
|
+
}
|
|
12
|
+
export interface DeleteProvisioningTemplateVersionRequest {
|
|
13
|
+
/**
|
|
14
|
+
* <p>The name of the provisioning template version to delete.</p>
|
|
15
|
+
*/
|
|
16
|
+
templateName: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The provisioning template version ID to delete.</p>
|
|
19
|
+
*/
|
|
20
|
+
versionId: number | undefined;
|
|
21
|
+
}
|
|
22
|
+
export interface DeleteProvisioningTemplateVersionResponse {
|
|
23
|
+
}
|
|
4
24
|
/**
|
|
5
25
|
* <p>The input for the DeleteRegistrationCode operation.</p>
|
|
6
26
|
*/
|
|
@@ -1209,7 +1229,8 @@ export declare enum JobStatus {
|
|
|
1209
1229
|
CANCELED = "CANCELED",
|
|
1210
1230
|
COMPLETED = "COMPLETED",
|
|
1211
1231
|
DELETION_IN_PROGRESS = "DELETION_IN_PROGRESS",
|
|
1212
|
-
IN_PROGRESS = "IN_PROGRESS"
|
|
1232
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
1233
|
+
SCHEDULED = "SCHEDULED"
|
|
1213
1234
|
}
|
|
1214
1235
|
/**
|
|
1215
1236
|
* <p>The <code>Job</code> object contains details about a job.</p>
|
|
@@ -1335,6 +1356,11 @@ export interface Job {
|
|
|
1335
1356
|
* otherwise false.</p>
|
|
1336
1357
|
*/
|
|
1337
1358
|
isConcurrent?: boolean;
|
|
1359
|
+
/**
|
|
1360
|
+
* <p>The configuration that allows you to schedule a job for a future date and time in
|
|
1361
|
+
* addition to specifying the end behavior for each job execution.</p>
|
|
1362
|
+
*/
|
|
1363
|
+
schedulingConfig?: SchedulingConfig;
|
|
1338
1364
|
}
|
|
1339
1365
|
export interface DescribeJobResponse {
|
|
1340
1366
|
/**
|
|
@@ -2511,7 +2537,7 @@ export interface ThingGroupIndexingConfiguration {
|
|
|
2511
2537
|
thingGroupIndexingMode: ThingGroupIndexingMode | string | undefined;
|
|
2512
2538
|
/**
|
|
2513
2539
|
* <p>Contains fields that are indexed and whose types are already known by the Fleet Indexing
|
|
2514
|
-
* service
|
|
2540
|
+
* service. This is an optional field. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html#managed-field">Managed fields</a> in the <i>Amazon Web Services IoT Core Developer Guide</i>.</p>
|
|
2515
2541
|
*/
|
|
2516
2542
|
managedFields?: Field[];
|
|
2517
2543
|
/**
|
|
@@ -4946,52 +4972,22 @@ export interface StreamSummary {
|
|
|
4946
4972
|
*/
|
|
4947
4973
|
description?: string;
|
|
4948
4974
|
}
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
4966
|
-
* value from a previous response; otherwise <b>null</b> to receive
|
|
4967
|
-
* the first set of results.</p>
|
|
4968
|
-
*/
|
|
4969
|
-
nextToken?: string;
|
|
4970
|
-
}
|
|
4971
|
-
export interface ListTagsForResourceResponse {
|
|
4972
|
-
/**
|
|
4973
|
-
* <p>The list of tags assigned to the resource.</p>
|
|
4974
|
-
*/
|
|
4975
|
-
tags?: Tag[];
|
|
4976
|
-
/**
|
|
4977
|
-
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
4978
|
-
*/
|
|
4979
|
-
nextToken?: string;
|
|
4980
|
-
}
|
|
4981
|
-
export interface ListTargetsForPolicyRequest {
|
|
4982
|
-
/**
|
|
4983
|
-
* <p>The policy name.</p>
|
|
4984
|
-
*/
|
|
4985
|
-
policyName: string | undefined;
|
|
4986
|
-
/**
|
|
4987
|
-
* <p>A marker used to get the next set of results.</p>
|
|
4988
|
-
*/
|
|
4989
|
-
marker?: string;
|
|
4990
|
-
/**
|
|
4991
|
-
* <p>The maximum number of results to return at one time.</p>
|
|
4992
|
-
*/
|
|
4993
|
-
pageSize?: number;
|
|
4994
|
-
}
|
|
4975
|
+
/**
|
|
4976
|
+
* @internal
|
|
4977
|
+
*/
|
|
4978
|
+
export declare const DeleteProvisioningTemplateRequestFilterSensitiveLog: (obj: DeleteProvisioningTemplateRequest) => any;
|
|
4979
|
+
/**
|
|
4980
|
+
* @internal
|
|
4981
|
+
*/
|
|
4982
|
+
export declare const DeleteProvisioningTemplateResponseFilterSensitiveLog: (obj: DeleteProvisioningTemplateResponse) => any;
|
|
4983
|
+
/**
|
|
4984
|
+
* @internal
|
|
4985
|
+
*/
|
|
4986
|
+
export declare const DeleteProvisioningTemplateVersionRequestFilterSensitiveLog: (obj: DeleteProvisioningTemplateVersionRequest) => any;
|
|
4987
|
+
/**
|
|
4988
|
+
* @internal
|
|
4989
|
+
*/
|
|
4990
|
+
export declare const DeleteProvisioningTemplateVersionResponseFilterSensitiveLog: (obj: DeleteProvisioningTemplateVersionResponse) => any;
|
|
4995
4991
|
/**
|
|
4996
4992
|
* @internal
|
|
4997
4993
|
*/
|
|
@@ -6072,19 +6068,3 @@ export declare const ListStreamsRequestFilterSensitiveLog: (obj: ListStreamsRequ
|
|
|
6072
6068
|
* @internal
|
|
6073
6069
|
*/
|
|
6074
6070
|
export declare const StreamSummaryFilterSensitiveLog: (obj: StreamSummary) => any;
|
|
6075
|
-
/**
|
|
6076
|
-
* @internal
|
|
6077
|
-
*/
|
|
6078
|
-
export declare const ListStreamsResponseFilterSensitiveLog: (obj: ListStreamsResponse) => any;
|
|
6079
|
-
/**
|
|
6080
|
-
* @internal
|
|
6081
|
-
*/
|
|
6082
|
-
export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
6083
|
-
/**
|
|
6084
|
-
* @internal
|
|
6085
|
-
*/
|
|
6086
|
-
export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
6087
|
-
/**
|
|
6088
|
-
* @internal
|
|
6089
|
-
*/
|
|
6090
|
-
export declare const ListTargetsForPolicyRequestFilterSensitiveLog: (obj: ListTargetsForPolicyRequest) => any;
|
|
@@ -1,7 +1,53 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
3
|
import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
4
|
-
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, GroupNameAndArn, LogTargetType, RegistrationConfig, SecurityProfileTarget, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
4
|
+
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, GroupNameAndArn, LogTargetType, RegistrationConfig, SecurityProfileTarget, Status, StreamSummary, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
|
+
export interface ListStreamsResponse {
|
|
6
|
+
/**
|
|
7
|
+
* <p>A list of streams.</p>
|
|
8
|
+
*/
|
|
9
|
+
streams?: StreamSummary[];
|
|
10
|
+
/**
|
|
11
|
+
* <p>A token used to get the next set of results.</p>
|
|
12
|
+
*/
|
|
13
|
+
nextToken?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ListTagsForResourceRequest {
|
|
16
|
+
/**
|
|
17
|
+
* <p>The ARN of the resource.</p>
|
|
18
|
+
*/
|
|
19
|
+
resourceArn: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
22
|
+
* value from a previous response; otherwise <b>null</b> to receive
|
|
23
|
+
* the first set of results.</p>
|
|
24
|
+
*/
|
|
25
|
+
nextToken?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ListTagsForResourceResponse {
|
|
28
|
+
/**
|
|
29
|
+
* <p>The list of tags assigned to the resource.</p>
|
|
30
|
+
*/
|
|
31
|
+
tags?: Tag[];
|
|
32
|
+
/**
|
|
33
|
+
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
34
|
+
*/
|
|
35
|
+
nextToken?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ListTargetsForPolicyRequest {
|
|
38
|
+
/**
|
|
39
|
+
* <p>The policy name.</p>
|
|
40
|
+
*/
|
|
41
|
+
policyName: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* <p>A marker used to get the next set of results.</p>
|
|
44
|
+
*/
|
|
45
|
+
marker?: string;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The maximum number of results to return at one time.</p>
|
|
48
|
+
*/
|
|
49
|
+
pageSize?: number;
|
|
50
|
+
}
|
|
5
51
|
export interface ListTargetsForPolicyResponse {
|
|
6
52
|
/**
|
|
7
53
|
* <p>The policy targets.</p>
|
|
@@ -2397,6 +2443,22 @@ export interface ValidateSecurityProfileBehaviorsResponse {
|
|
|
2397
2443
|
*/
|
|
2398
2444
|
validationErrors?: ValidationError[];
|
|
2399
2445
|
}
|
|
2446
|
+
/**
|
|
2447
|
+
* @internal
|
|
2448
|
+
*/
|
|
2449
|
+
export declare const ListStreamsResponseFilterSensitiveLog: (obj: ListStreamsResponse) => any;
|
|
2450
|
+
/**
|
|
2451
|
+
* @internal
|
|
2452
|
+
*/
|
|
2453
|
+
export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
2454
|
+
/**
|
|
2455
|
+
* @internal
|
|
2456
|
+
*/
|
|
2457
|
+
export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
2458
|
+
/**
|
|
2459
|
+
* @internal
|
|
2460
|
+
*/
|
|
2461
|
+
export declare const ListTargetsForPolicyRequestFilterSensitiveLog: (obj: ListTargetsForPolicyRequest) => any;
|
|
2400
2462
|
/**
|
|
2401
2463
|
* @internal
|
|
2402
2464
|
*/
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
DeleteProvisioningTemplateRequest,
|
|
16
16
|
DeleteProvisioningTemplateResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface DeleteProvisioningTemplateCommandInput
|
|
19
19
|
extends DeleteProvisioningTemplateRequest {}
|
|
20
20
|
export interface DeleteProvisioningTemplateCommandOutput
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
DeleteProvisioningTemplateVersionRequest,
|
|
16
16
|
DeleteProvisioningTemplateVersionResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface DeleteProvisioningTemplateVersionCommandInput
|
|
19
19
|
extends DeleteProvisioningTemplateVersionRequest {}
|
|
20
20
|
export interface DeleteProvisioningTemplateVersionCommandOutput
|
|
@@ -11,7 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../IoTClient";
|
|
14
|
-
import { ListStreamsRequest
|
|
14
|
+
import { ListStreamsRequest } from "../models/models_1";
|
|
15
|
+
import { ListStreamsResponse } from "../models/models_2";
|
|
15
16
|
export interface ListStreamsCommandInput extends ListStreamsRequest {}
|
|
16
17
|
export interface ListStreamsCommandOutput
|
|
17
18
|
extends ListStreamsResponse,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ListTagsForResourceRequest,
|
|
16
16
|
ListTagsForResourceResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_2";
|
|
18
18
|
export interface ListTagsForResourceCommandInput
|
|
19
19
|
extends ListTagsForResourceRequest {}
|
|
20
20
|
export interface ListTagsForResourceCommandOutput
|
|
@@ -11,8 +11,10 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../IoTClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
14
|
+
import {
|
|
15
|
+
ListTargetsForPolicyRequest,
|
|
16
|
+
ListTargetsForPolicyResponse,
|
|
17
|
+
} from "../models/models_2";
|
|
16
18
|
export interface ListTargetsForPolicyCommandInput
|
|
17
19
|
extends ListTargetsForPolicyRequest {}
|
|
18
20
|
export interface ListTargetsForPolicyCommandOutput
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -263,10 +263,23 @@ export interface OpenSearchAction {
|
|
|
263
263
|
type: string | undefined;
|
|
264
264
|
id: string | undefined;
|
|
265
265
|
}
|
|
266
|
+
export interface UserProperty {
|
|
267
|
+
key: string | undefined;
|
|
268
|
+
value: string | undefined;
|
|
269
|
+
}
|
|
270
|
+
export interface MqttHeaders {
|
|
271
|
+
payloadFormatIndicator?: string;
|
|
272
|
+
contentType?: string;
|
|
273
|
+
responseTopic?: string;
|
|
274
|
+
correlationData?: string;
|
|
275
|
+
messageExpiry?: string;
|
|
276
|
+
userProperties?: UserProperty[];
|
|
277
|
+
}
|
|
266
278
|
export interface RepublishAction {
|
|
267
279
|
roleArn: string | undefined;
|
|
268
280
|
topic: string | undefined;
|
|
269
281
|
qos?: number;
|
|
282
|
+
headers?: MqttHeaders;
|
|
270
283
|
}
|
|
271
284
|
export declare enum CannedAccessControlList {
|
|
272
285
|
AuthenticatedRead = "authenticated-read",
|
|
@@ -1028,6 +1041,16 @@ export interface PresignedUrlConfig {
|
|
|
1028
1041
|
roleArn?: string;
|
|
1029
1042
|
expiresInSec?: number;
|
|
1030
1043
|
}
|
|
1044
|
+
export declare enum JobEndBehavior {
|
|
1045
|
+
CANCEL = "CANCEL",
|
|
1046
|
+
FORCE_CANCEL = "FORCE_CANCEL",
|
|
1047
|
+
STOP_ROLLOUT = "STOP_ROLLOUT",
|
|
1048
|
+
}
|
|
1049
|
+
export interface SchedulingConfig {
|
|
1050
|
+
startTime?: string;
|
|
1051
|
+
endTime?: string;
|
|
1052
|
+
endBehavior?: JobEndBehavior | string;
|
|
1053
|
+
}
|
|
1031
1054
|
export declare enum TargetSelection {
|
|
1032
1055
|
CONTINUOUS = "CONTINUOUS",
|
|
1033
1056
|
SNAPSHOT = "SNAPSHOT",
|
|
@@ -1051,6 +1074,7 @@ export interface CreateJobRequest {
|
|
|
1051
1074
|
jobTemplateArn?: string;
|
|
1052
1075
|
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
1053
1076
|
documentParameters?: Record<string, string>;
|
|
1077
|
+
schedulingConfig?: SchedulingConfig;
|
|
1054
1078
|
}
|
|
1055
1079
|
export interface CreateJobResponse {
|
|
1056
1080
|
jobArn?: string;
|
|
@@ -1597,15 +1621,6 @@ export interface DeletePolicyVersionRequest {
|
|
|
1597
1621
|
policyName: string | undefined;
|
|
1598
1622
|
policyVersionId: string | undefined;
|
|
1599
1623
|
}
|
|
1600
|
-
export interface DeleteProvisioningTemplateRequest {
|
|
1601
|
-
templateName: string | undefined;
|
|
1602
|
-
}
|
|
1603
|
-
export interface DeleteProvisioningTemplateResponse {}
|
|
1604
|
-
export interface DeleteProvisioningTemplateVersionRequest {
|
|
1605
|
-
templateName: string | undefined;
|
|
1606
|
-
versionId: number | undefined;
|
|
1607
|
-
}
|
|
1608
|
-
export interface DeleteProvisioningTemplateVersionResponse {}
|
|
1609
1624
|
export declare const AbortCriteriaFilterSensitiveLog: (
|
|
1610
1625
|
obj: AbortCriteria
|
|
1611
1626
|
) => any;
|
|
@@ -1680,6 +1695,8 @@ export declare const LocationActionFilterSensitiveLog: (
|
|
|
1680
1695
|
export declare const OpenSearchActionFilterSensitiveLog: (
|
|
1681
1696
|
obj: OpenSearchAction
|
|
1682
1697
|
) => any;
|
|
1698
|
+
export declare const UserPropertyFilterSensitiveLog: (obj: UserProperty) => any;
|
|
1699
|
+
export declare const MqttHeadersFilterSensitiveLog: (obj: MqttHeaders) => any;
|
|
1683
1700
|
export declare const RepublishActionFilterSensitiveLog: (
|
|
1684
1701
|
obj: RepublishAction
|
|
1685
1702
|
) => any;
|
|
@@ -1951,6 +1968,9 @@ export declare const JobExecutionsRolloutConfigFilterSensitiveLog: (
|
|
|
1951
1968
|
export declare const PresignedUrlConfigFilterSensitiveLog: (
|
|
1952
1969
|
obj: PresignedUrlConfig
|
|
1953
1970
|
) => any;
|
|
1971
|
+
export declare const SchedulingConfigFilterSensitiveLog: (
|
|
1972
|
+
obj: SchedulingConfig
|
|
1973
|
+
) => any;
|
|
1954
1974
|
export declare const TimeoutConfigFilterSensitiveLog: (
|
|
1955
1975
|
obj: TimeoutConfig
|
|
1956
1976
|
) => any;
|
|
@@ -2246,15 +2266,3 @@ export declare const DeletePolicyRequestFilterSensitiveLog: (
|
|
|
2246
2266
|
export declare const DeletePolicyVersionRequestFilterSensitiveLog: (
|
|
2247
2267
|
obj: DeletePolicyVersionRequest
|
|
2248
2268
|
) => any;
|
|
2249
|
-
export declare const DeleteProvisioningTemplateRequestFilterSensitiveLog: (
|
|
2250
|
-
obj: DeleteProvisioningTemplateRequest
|
|
2251
|
-
) => any;
|
|
2252
|
-
export declare const DeleteProvisioningTemplateResponseFilterSensitiveLog: (
|
|
2253
|
-
obj: DeleteProvisioningTemplateResponse
|
|
2254
|
-
) => any;
|
|
2255
|
-
export declare const DeleteProvisioningTemplateVersionRequestFilterSensitiveLog: (
|
|
2256
|
-
obj: DeleteProvisioningTemplateVersionRequest
|
|
2257
|
-
) => any;
|
|
2258
|
-
export declare const DeleteProvisioningTemplateVersionResponseFilterSensitiveLog: (
|
|
2259
|
-
obj: DeleteProvisioningTemplateVersionResponse
|
|
2260
|
-
) => any;
|
|
@@ -48,9 +48,9 @@ import {
|
|
|
48
48
|
ProvisioningHook,
|
|
49
49
|
RelatedResource,
|
|
50
50
|
ResourceIdentifier,
|
|
51
|
+
SchedulingConfig,
|
|
51
52
|
ServiceType,
|
|
52
53
|
StreamFile,
|
|
53
|
-
Tag,
|
|
54
54
|
TargetSelection,
|
|
55
55
|
TaskStatisticsForAuditCheck,
|
|
56
56
|
TemplateType,
|
|
@@ -60,6 +60,15 @@ import {
|
|
|
60
60
|
TopicRuleDestination,
|
|
61
61
|
VerificationState,
|
|
62
62
|
} from "./models_0";
|
|
63
|
+
export interface DeleteProvisioningTemplateRequest {
|
|
64
|
+
templateName: string | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface DeleteProvisioningTemplateResponse {}
|
|
67
|
+
export interface DeleteProvisioningTemplateVersionRequest {
|
|
68
|
+
templateName: string | undefined;
|
|
69
|
+
versionId: number | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface DeleteProvisioningTemplateVersionResponse {}
|
|
63
72
|
export interface DeleteRegistrationCodeRequest {}
|
|
64
73
|
export interface DeleteRegistrationCodeResponse {}
|
|
65
74
|
export interface DeleteRoleAliasRequest {
|
|
@@ -449,6 +458,7 @@ export declare enum JobStatus {
|
|
|
449
458
|
COMPLETED = "COMPLETED",
|
|
450
459
|
DELETION_IN_PROGRESS = "DELETION_IN_PROGRESS",
|
|
451
460
|
IN_PROGRESS = "IN_PROGRESS",
|
|
461
|
+
SCHEDULED = "SCHEDULED",
|
|
452
462
|
}
|
|
453
463
|
export interface Job {
|
|
454
464
|
jobArn?: string;
|
|
@@ -473,6 +483,7 @@ export interface Job {
|
|
|
473
483
|
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
474
484
|
documentParameters?: Record<string, string>;
|
|
475
485
|
isConcurrent?: boolean;
|
|
486
|
+
schedulingConfig?: SchedulingConfig;
|
|
476
487
|
}
|
|
477
488
|
export interface DescribeJobResponse {
|
|
478
489
|
documentSource?: string;
|
|
@@ -1569,23 +1580,18 @@ export interface StreamSummary {
|
|
|
1569
1580
|
streamVersion?: number;
|
|
1570
1581
|
description?: string;
|
|
1571
1582
|
}
|
|
1572
|
-
export
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
export interface ListTargetsForPolicyRequest {
|
|
1585
|
-
policyName: string | undefined;
|
|
1586
|
-
marker?: string;
|
|
1587
|
-
pageSize?: number;
|
|
1588
|
-
}
|
|
1583
|
+
export declare const DeleteProvisioningTemplateRequestFilterSensitiveLog: (
|
|
1584
|
+
obj: DeleteProvisioningTemplateRequest
|
|
1585
|
+
) => any;
|
|
1586
|
+
export declare const DeleteProvisioningTemplateResponseFilterSensitiveLog: (
|
|
1587
|
+
obj: DeleteProvisioningTemplateResponse
|
|
1588
|
+
) => any;
|
|
1589
|
+
export declare const DeleteProvisioningTemplateVersionRequestFilterSensitiveLog: (
|
|
1590
|
+
obj: DeleteProvisioningTemplateVersionRequest
|
|
1591
|
+
) => any;
|
|
1592
|
+
export declare const DeleteProvisioningTemplateVersionResponseFilterSensitiveLog: (
|
|
1593
|
+
obj: DeleteProvisioningTemplateVersionResponse
|
|
1594
|
+
) => any;
|
|
1589
1595
|
export declare const DeleteRegistrationCodeRequestFilterSensitiveLog: (
|
|
1590
1596
|
obj: DeleteRegistrationCodeRequest
|
|
1591
1597
|
) => any;
|
|
@@ -2370,15 +2376,3 @@ export declare const ListStreamsRequestFilterSensitiveLog: (
|
|
|
2370
2376
|
export declare const StreamSummaryFilterSensitiveLog: (
|
|
2371
2377
|
obj: StreamSummary
|
|
2372
2378
|
) => any;
|
|
2373
|
-
export declare const ListStreamsResponseFilterSensitiveLog: (
|
|
2374
|
-
obj: ListStreamsResponse
|
|
2375
|
-
) => any;
|
|
2376
|
-
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
2377
|
-
obj: ListTagsForResourceRequest
|
|
2378
|
-
) => any;
|
|
2379
|
-
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
2380
|
-
obj: ListTagsForResourceResponse
|
|
2381
|
-
) => any;
|
|
2382
|
-
export declare const ListTargetsForPolicyRequestFilterSensitiveLog: (
|
|
2383
|
-
obj: ListTargetsForPolicyRequest
|
|
2384
|
-
) => any;
|
|
@@ -52,11 +52,29 @@ import {
|
|
|
52
52
|
RegistrationConfig,
|
|
53
53
|
SecurityProfileTarget,
|
|
54
54
|
Status,
|
|
55
|
+
StreamSummary,
|
|
55
56
|
ThingGroupIndexingConfiguration,
|
|
56
57
|
ThingIndexingConfiguration,
|
|
57
58
|
ThingTypeMetadata,
|
|
58
59
|
ViolationEventOccurrenceRange,
|
|
59
60
|
} from "./models_1";
|
|
61
|
+
export interface ListStreamsResponse {
|
|
62
|
+
streams?: StreamSummary[];
|
|
63
|
+
nextToken?: string;
|
|
64
|
+
}
|
|
65
|
+
export interface ListTagsForResourceRequest {
|
|
66
|
+
resourceArn: string | undefined;
|
|
67
|
+
nextToken?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface ListTagsForResourceResponse {
|
|
70
|
+
tags?: Tag[];
|
|
71
|
+
nextToken?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface ListTargetsForPolicyRequest {
|
|
74
|
+
policyName: string | undefined;
|
|
75
|
+
marker?: string;
|
|
76
|
+
pageSize?: number;
|
|
77
|
+
}
|
|
60
78
|
export interface ListTargetsForPolicyResponse {
|
|
61
79
|
targets?: string[];
|
|
62
80
|
nextMarker?: string;
|
|
@@ -776,6 +794,18 @@ export interface ValidateSecurityProfileBehaviorsResponse {
|
|
|
776
794
|
valid?: boolean;
|
|
777
795
|
validationErrors?: ValidationError[];
|
|
778
796
|
}
|
|
797
|
+
export declare const ListStreamsResponseFilterSensitiveLog: (
|
|
798
|
+
obj: ListStreamsResponse
|
|
799
|
+
) => any;
|
|
800
|
+
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
801
|
+
obj: ListTagsForResourceRequest
|
|
802
|
+
) => any;
|
|
803
|
+
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
804
|
+
obj: ListTagsForResourceResponse
|
|
805
|
+
) => any;
|
|
806
|
+
export declare const ListTargetsForPolicyRequestFilterSensitiveLog: (
|
|
807
|
+
obj: ListTargetsForPolicyRequest
|
|
808
|
+
) => any;
|
|
779
809
|
export declare const ListTargetsForPolicyResponseFilterSensitiveLog: (
|
|
780
810
|
obj: ListTargetsForPolicyResponse
|
|
781
811
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.222.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,36 +19,37 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.222.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.222.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.222.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.222.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.222.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.222.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.222.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.222.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.222.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.222.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.222.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.222.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.222.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.222.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.222.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.222.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.222.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.222.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.222.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.222.0",
|
|
42
|
+
"@aws-sdk/types": "3.222.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.222.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-user-agent-
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.222.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.222.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.222.0",
|
|
50
|
+
"@aws-sdk/util-retry": "3.222.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.222.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.222.0",
|
|
52
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
54
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
55
|
"tslib": "^2.3.1",
|