@aws-sdk/client-iot 3.45.0 → 3.46.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/CHANGELOG.md +18 -0
- package/dist-cjs/commands/DeleteScheduledAuditCommand.js +3 -3
- package/dist-cjs/commands/DeleteSecurityProfileCommand.js +1 -2
- package/dist-cjs/commands/ListThingRegistrationTaskReportsCommand.js +3 -3
- package/dist-cjs/commands/ListThingRegistrationTasksCommand.js +1 -2
- package/dist-cjs/models/models_0.js +21 -21
- package/dist-cjs/models/models_1.js +24 -24
- package/dist-cjs/models/models_2.js +21 -3
- package/dist-cjs/protocols/Aws_restJson1.js +69 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/commands/DeleteScheduledAuditCommand.js +1 -1
- package/dist-es/commands/DeleteSecurityProfileCommand.js +1 -2
- package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +1 -1
- package/dist-es/commands/ListThingRegistrationTasksCommand.js +1 -2
- package/dist-es/models/models_0.js +14 -12
- package/dist-es/models/models_1.js +12 -12
- package/dist-es/models/models_2.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +67 -7
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
- package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +51 -39
- package/dist-types/models/models_1.d.ts +57 -69
- package/dist-types/models/models_2.d.ts +74 -2
- package/dist-types/ts3.4/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +29 -24
- package/dist-types/ts3.4/models/models_1.d.ts +33 -39
- package/dist-types/ts3.4/models/models_2.d.ts +42 -2
- package/package.json +36 -43
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var ListThingRegistrationTaskReportsRequest;
|
|
3
|
+
(function (ListThingRegistrationTaskReportsRequest) {
|
|
4
|
+
ListThingRegistrationTaskReportsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(ListThingRegistrationTaskReportsRequest || (ListThingRegistrationTaskReportsRequest = {}));
|
|
6
|
+
export var ListThingRegistrationTaskReportsResponse;
|
|
7
|
+
(function (ListThingRegistrationTaskReportsResponse) {
|
|
8
|
+
ListThingRegistrationTaskReportsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(ListThingRegistrationTaskReportsResponse || (ListThingRegistrationTaskReportsResponse = {}));
|
|
10
|
+
export var ListThingRegistrationTasksRequest;
|
|
11
|
+
(function (ListThingRegistrationTasksRequest) {
|
|
12
|
+
ListThingRegistrationTasksRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
+
})(ListThingRegistrationTasksRequest || (ListThingRegistrationTasksRequest = {}));
|
|
2
14
|
export var ListThingRegistrationTasksResponse;
|
|
3
15
|
(function (ListThingRegistrationTasksResponse) {
|
|
4
16
|
ListThingRegistrationTasksResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -879,12 +879,15 @@ export var serializeAws_restJson1CreateJobCommand = function (input, context) {
|
|
|
879
879
|
else {
|
|
880
880
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
881
881
|
}
|
|
882
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
882
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
883
883
|
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentParameters !== undefined &&
|
|
884
884
|
input.documentParameters !== null && {
|
|
885
885
|
documentParameters: serializeAws_restJson1ParameterMap(input.documentParameters, context),
|
|
886
886
|
})), (input.documentSource !== undefined &&
|
|
887
|
-
input.documentSource !== null && { documentSource: input.documentSource })), (input.
|
|
887
|
+
input.documentSource !== null && { documentSource: input.documentSource })), (input.jobExecutionsRetryConfig !== undefined &&
|
|
888
|
+
input.jobExecutionsRetryConfig !== null && {
|
|
889
|
+
jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
|
|
890
|
+
})), (input.jobExecutionsRolloutConfig !== undefined &&
|
|
888
891
|
input.jobExecutionsRolloutConfig !== null && {
|
|
889
892
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
890
893
|
})), (input.jobTemplateArn !== undefined &&
|
|
@@ -931,9 +934,12 @@ export var serializeAws_restJson1CreateJobTemplateCommand = function (input, con
|
|
|
931
934
|
else {
|
|
932
935
|
throw new Error("No value provided for input HTTP label: jobTemplateId.");
|
|
933
936
|
}
|
|
934
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
937
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
935
938
|
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentSource !== undefined &&
|
|
936
|
-
input.documentSource !== null && { documentSource: input.documentSource })), (input.jobArn !== undefined && input.jobArn !== null && { jobArn: input.jobArn })), (input.
|
|
939
|
+
input.documentSource !== null && { documentSource: input.documentSource })), (input.jobArn !== undefined && input.jobArn !== null && { jobArn: input.jobArn })), (input.jobExecutionsRetryConfig !== undefined &&
|
|
940
|
+
input.jobExecutionsRetryConfig !== null && {
|
|
941
|
+
jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
|
|
942
|
+
})), (input.jobExecutionsRolloutConfig !== undefined &&
|
|
937
943
|
input.jobExecutionsRolloutConfig !== null && {
|
|
938
944
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
939
945
|
})), (input.presignedUrlConfig !== undefined &&
|
|
@@ -4793,7 +4799,7 @@ export var serializeAws_restJson1ListJobExecutionsForThingCommand = function (in
|
|
|
4793
4799
|
else {
|
|
4794
4800
|
throw new Error("No value provided for input HTTP label: thingName.");
|
|
4795
4801
|
}
|
|
4796
|
-
query = __assign(__assign(__assign(__assign({}, (input.status !== undefined && { status: input.status })), (input.namespaceId !== undefined && { namespaceId: input.namespaceId })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
4802
|
+
query = __assign(__assign(__assign(__assign(__assign({}, (input.status !== undefined && { status: input.status })), (input.namespaceId !== undefined && { namespaceId: input.namespaceId })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.jobId !== undefined && { jobId: input.jobId }));
|
|
4797
4803
|
return [2, new __HttpRequest({
|
|
4798
4804
|
protocol: protocol,
|
|
4799
4805
|
hostname: hostname,
|
|
@@ -6936,8 +6942,11 @@ export var serializeAws_restJson1UpdateJobCommand = function (input, context) {
|
|
|
6936
6942
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
6937
6943
|
}
|
|
6938
6944
|
query = __assign({}, (input.namespaceId !== undefined && { namespaceId: input.namespaceId }));
|
|
6939
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
6940
|
-
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.
|
|
6945
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
|
|
6946
|
+
input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.jobExecutionsRetryConfig !== undefined &&
|
|
6947
|
+
input.jobExecutionsRetryConfig !== null && {
|
|
6948
|
+
jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
|
|
6949
|
+
})), (input.jobExecutionsRolloutConfig !== undefined &&
|
|
6941
6950
|
input.jobExecutionsRolloutConfig !== null && {
|
|
6942
6951
|
jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
|
|
6943
6952
|
})), (input.presignedUrlConfig !== undefined &&
|
|
@@ -16871,6 +16880,7 @@ export var deserializeAws_restJson1DescribeJobTemplateCommand = function (output
|
|
|
16871
16880
|
description: undefined,
|
|
16872
16881
|
document: undefined,
|
|
16873
16882
|
documentSource: undefined,
|
|
16883
|
+
jobExecutionsRetryConfig: undefined,
|
|
16874
16884
|
jobExecutionsRolloutConfig: undefined,
|
|
16875
16885
|
jobTemplateArn: undefined,
|
|
16876
16886
|
jobTemplateId: undefined,
|
|
@@ -16897,6 +16907,9 @@ export var deserializeAws_restJson1DescribeJobTemplateCommand = function (output
|
|
|
16897
16907
|
if (data.documentSource !== undefined && data.documentSource !== null) {
|
|
16898
16908
|
contents.documentSource = __expectString(data.documentSource);
|
|
16899
16909
|
}
|
|
16910
|
+
if (data.jobExecutionsRetryConfig !== undefined && data.jobExecutionsRetryConfig !== null) {
|
|
16911
|
+
contents.jobExecutionsRetryConfig = deserializeAws_restJson1JobExecutionsRetryConfig(data.jobExecutionsRetryConfig, context);
|
|
16912
|
+
}
|
|
16900
16913
|
if (data.jobExecutionsRolloutConfig !== undefined && data.jobExecutionsRolloutConfig !== null) {
|
|
16901
16914
|
contents.jobExecutionsRolloutConfig = deserializeAws_restJson1JobExecutionsRolloutConfig(data.jobExecutionsRolloutConfig, context);
|
|
16902
16915
|
}
|
|
@@ -31656,6 +31669,12 @@ var serializeAws_restJson1IotSiteWiseAction = function (input, context) {
|
|
|
31656
31669
|
putAssetPropertyValueEntries: serializeAws_restJson1PutAssetPropertyValueEntryList(input.putAssetPropertyValueEntries, context),
|
|
31657
31670
|
})), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }));
|
|
31658
31671
|
};
|
|
31672
|
+
var serializeAws_restJson1JobExecutionsRetryConfig = function (input, context) {
|
|
31673
|
+
return __assign({}, (input.criteriaList !== undefined &&
|
|
31674
|
+
input.criteriaList !== null && {
|
|
31675
|
+
criteriaList: serializeAws_restJson1RetryCriteriaList(input.criteriaList, context),
|
|
31676
|
+
}));
|
|
31677
|
+
};
|
|
31659
31678
|
var serializeAws_restJson1JobExecutionsRolloutConfig = function (input, context) {
|
|
31660
31679
|
return __assign(__assign({}, (input.exponentialRate !== undefined &&
|
|
31661
31680
|
input.exponentialRate !== null && {
|
|
@@ -31921,6 +31940,20 @@ var serializeAws_restJson1Resources = function (input, context) {
|
|
|
31921
31940
|
return entry;
|
|
31922
31941
|
});
|
|
31923
31942
|
};
|
|
31943
|
+
var serializeAws_restJson1RetryCriteria = function (input, context) {
|
|
31944
|
+
return __assign(__assign({}, (input.failureType !== undefined && input.failureType !== null && { failureType: input.failureType })), (input.numberOfRetries !== undefined &&
|
|
31945
|
+
input.numberOfRetries !== null && { numberOfRetries: input.numberOfRetries }));
|
|
31946
|
+
};
|
|
31947
|
+
var serializeAws_restJson1RetryCriteriaList = function (input, context) {
|
|
31948
|
+
return input
|
|
31949
|
+
.filter(function (e) { return e != null; })
|
|
31950
|
+
.map(function (entry) {
|
|
31951
|
+
if (entry === null) {
|
|
31952
|
+
return null;
|
|
31953
|
+
}
|
|
31954
|
+
return serializeAws_restJson1RetryCriteria(entry, context);
|
|
31955
|
+
});
|
|
31956
|
+
};
|
|
31924
31957
|
var serializeAws_restJson1S3Action = function (input, context) {
|
|
31925
31958
|
return __assign(__assign(__assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.cannedAcl !== undefined && input.cannedAcl !== null && { cannedAcl: input.cannedAcl })), (input.key !== undefined && input.key !== null && { key: input.key })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }));
|
|
31926
31959
|
};
|
|
@@ -33517,6 +33550,9 @@ var deserializeAws_restJson1Job = function (output, context) {
|
|
|
33517
33550
|
: undefined,
|
|
33518
33551
|
forceCanceled: __expectBoolean(output.forceCanceled),
|
|
33519
33552
|
jobArn: __expectString(output.jobArn),
|
|
33553
|
+
jobExecutionsRetryConfig: output.jobExecutionsRetryConfig !== undefined && output.jobExecutionsRetryConfig !== null
|
|
33554
|
+
? deserializeAws_restJson1JobExecutionsRetryConfig(output.jobExecutionsRetryConfig, context)
|
|
33555
|
+
: undefined,
|
|
33520
33556
|
jobExecutionsRolloutConfig: output.jobExecutionsRolloutConfig !== undefined && output.jobExecutionsRolloutConfig !== null
|
|
33521
33557
|
? deserializeAws_restJson1JobExecutionsRolloutConfig(output.jobExecutionsRolloutConfig, context)
|
|
33522
33558
|
: undefined,
|
|
@@ -33566,6 +33602,13 @@ var deserializeAws_restJson1JobExecution = function (output, context) {
|
|
|
33566
33602
|
versionNumber: __expectLong(output.versionNumber),
|
|
33567
33603
|
};
|
|
33568
33604
|
};
|
|
33605
|
+
var deserializeAws_restJson1JobExecutionsRetryConfig = function (output, context) {
|
|
33606
|
+
return {
|
|
33607
|
+
criteriaList: output.criteriaList !== undefined && output.criteriaList !== null
|
|
33608
|
+
? deserializeAws_restJson1RetryCriteriaList(output.criteriaList, context)
|
|
33609
|
+
: undefined,
|
|
33610
|
+
};
|
|
33611
|
+
};
|
|
33569
33612
|
var deserializeAws_restJson1JobExecutionsRolloutConfig = function (output, context) {
|
|
33570
33613
|
return {
|
|
33571
33614
|
exponentialRate: output.exponentialRate !== undefined && output.exponentialRate !== null
|
|
@@ -33590,6 +33633,7 @@ var deserializeAws_restJson1JobExecutionSummary = function (output, context) {
|
|
|
33590
33633
|
queuedAt: output.queuedAt !== undefined && output.queuedAt !== null
|
|
33591
33634
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.queuedAt)))
|
|
33592
33635
|
: undefined,
|
|
33636
|
+
retryAttempt: __expectInt32(output.retryAttempt),
|
|
33593
33637
|
startedAt: output.startedAt !== undefined && output.startedAt !== null
|
|
33594
33638
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt)))
|
|
33595
33639
|
: undefined,
|
|
@@ -34356,6 +34400,22 @@ var deserializeAws_restJson1Resources = function (output, context) {
|
|
|
34356
34400
|
return __expectString(entry);
|
|
34357
34401
|
});
|
|
34358
34402
|
};
|
|
34403
|
+
var deserializeAws_restJson1RetryCriteria = function (output, context) {
|
|
34404
|
+
return {
|
|
34405
|
+
failureType: __expectString(output.failureType),
|
|
34406
|
+
numberOfRetries: __expectInt32(output.numberOfRetries),
|
|
34407
|
+
};
|
|
34408
|
+
};
|
|
34409
|
+
var deserializeAws_restJson1RetryCriteriaList = function (output, context) {
|
|
34410
|
+
return (output || [])
|
|
34411
|
+
.filter(function (e) { return e != null; })
|
|
34412
|
+
.map(function (entry) {
|
|
34413
|
+
if (entry === null) {
|
|
34414
|
+
return null;
|
|
34415
|
+
}
|
|
34416
|
+
return deserializeAws_restJson1RetryCriteria(entry, context);
|
|
34417
|
+
});
|
|
34418
|
+
};
|
|
34359
34419
|
var deserializeAws_restJson1RoleAliasDescription = function (output, context) {
|
|
34360
34420
|
return {
|
|
34361
34421
|
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
15
|
export var getRuntimeConfig = function (config) {
|
|
17
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
19
17
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
18
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
19
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { DeleteScheduledAuditRequest, DeleteScheduledAuditResponse } from "../models/
|
|
4
|
+
import { DeleteScheduledAuditRequest, DeleteScheduledAuditResponse } from "../models/models_1";
|
|
5
5
|
export interface DeleteScheduledAuditCommandInput extends DeleteScheduledAuditRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteScheduledAuditCommandOutput extends DeleteScheduledAuditResponse, __MetadataBearer {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { DeleteSecurityProfileRequest } from "../models/
|
|
5
|
-
import { DeleteSecurityProfileResponse } from "../models/models_1";
|
|
4
|
+
import { DeleteSecurityProfileRequest, DeleteSecurityProfileResponse } from "../models/models_1";
|
|
6
5
|
export interface DeleteSecurityProfileCommandInput extends DeleteSecurityProfileRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface DeleteSecurityProfileCommandOutput extends DeleteSecurityProfileResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListThingRegistrationTaskReportsRequest, ListThingRegistrationTaskReportsResponse } from "../models/
|
|
4
|
+
import { ListThingRegistrationTaskReportsRequest, ListThingRegistrationTaskReportsResponse } from "../models/models_2";
|
|
5
5
|
export interface ListThingRegistrationTaskReportsCommandInput extends ListThingRegistrationTaskReportsRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListThingRegistrationTaskReportsCommandOutput extends ListThingRegistrationTaskReportsResponse, __MetadataBearer {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListThingRegistrationTasksRequest } from "../models/
|
|
5
|
-
import { ListThingRegistrationTasksResponse } from "../models/models_2";
|
|
4
|
+
import { ListThingRegistrationTasksRequest, ListThingRegistrationTasksResponse } from "../models/models_2";
|
|
6
5
|
export interface ListThingRegistrationTasksCommandInput extends ListThingRegistrationTasksRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface ListThingRegistrationTasksCommandOutput extends ListThingRegistrationTasksResponse, __MetadataBearer {
|
|
@@ -3675,6 +3675,48 @@ export declare namespace InvalidAggregationException {
|
|
|
3675
3675
|
*/
|
|
3676
3676
|
const filterSensitiveLog: (obj: InvalidAggregationException) => any;
|
|
3677
3677
|
}
|
|
3678
|
+
export declare enum RetryableFailureType {
|
|
3679
|
+
ALL = "ALL",
|
|
3680
|
+
FAILED = "FAILED",
|
|
3681
|
+
TIMED_OUT = "TIMED_OUT"
|
|
3682
|
+
}
|
|
3683
|
+
/**
|
|
3684
|
+
* <p>The criteria that determines how many retries are allowed for each failure
|
|
3685
|
+
* type for a job.</p>
|
|
3686
|
+
*/
|
|
3687
|
+
export interface RetryCriteria {
|
|
3688
|
+
/**
|
|
3689
|
+
* <p>The type of job execution failures that can initiate a job retry.</p>
|
|
3690
|
+
*/
|
|
3691
|
+
failureType: RetryableFailureType | string | undefined;
|
|
3692
|
+
/**
|
|
3693
|
+
* <p>The number of retries allowed for a failure type for the job.</p>
|
|
3694
|
+
*/
|
|
3695
|
+
numberOfRetries: number | undefined;
|
|
3696
|
+
}
|
|
3697
|
+
export declare namespace RetryCriteria {
|
|
3698
|
+
/**
|
|
3699
|
+
* @internal
|
|
3700
|
+
*/
|
|
3701
|
+
const filterSensitiveLog: (obj: RetryCriteria) => any;
|
|
3702
|
+
}
|
|
3703
|
+
/**
|
|
3704
|
+
* <p>The configuration that determines how many retries are allowed for each failure
|
|
3705
|
+
* type for a job.</p>
|
|
3706
|
+
*/
|
|
3707
|
+
export interface JobExecutionsRetryConfig {
|
|
3708
|
+
/**
|
|
3709
|
+
* <p>The list of criteria that determines how many retries are allowed for each failure
|
|
3710
|
+
* type for a job.</p>
|
|
3711
|
+
*/
|
|
3712
|
+
criteriaList: RetryCriteria[] | undefined;
|
|
3713
|
+
}
|
|
3714
|
+
export declare namespace JobExecutionsRetryConfig {
|
|
3715
|
+
/**
|
|
3716
|
+
* @internal
|
|
3717
|
+
*/
|
|
3718
|
+
const filterSensitiveLog: (obj: JobExecutionsRetryConfig) => any;
|
|
3719
|
+
}
|
|
3678
3720
|
/**
|
|
3679
3721
|
* <p>Allows you to define a criteria to initiate the increase in rate of rollout for a job.</p>
|
|
3680
3722
|
*/
|
|
@@ -3833,7 +3875,7 @@ export interface CreateJobRequest {
|
|
|
3833
3875
|
*/
|
|
3834
3876
|
jobExecutionsRolloutConfig?: JobExecutionsRolloutConfig;
|
|
3835
3877
|
/**
|
|
3836
|
-
* <p>Allows you to create criteria to abort a job.</p>
|
|
3878
|
+
* <p>Allows you to create the criteria to abort a job.</p>
|
|
3837
3879
|
*/
|
|
3838
3880
|
abortConfig?: AbortConfig;
|
|
3839
3881
|
/**
|
|
@@ -3863,6 +3905,10 @@ export interface CreateJobRequest {
|
|
|
3863
3905
|
* <p>The ARN of the job template used to create the job.</p>
|
|
3864
3906
|
*/
|
|
3865
3907
|
jobTemplateArn?: string;
|
|
3908
|
+
/**
|
|
3909
|
+
* <p>Allows you to create the criteria to retry a job.</p>
|
|
3910
|
+
*/
|
|
3911
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
3866
3912
|
/**
|
|
3867
3913
|
* <p>Parameters of a managed template that you can specify to create the job document.</p>
|
|
3868
3914
|
*/
|
|
@@ -3963,6 +4009,10 @@ export interface CreateJobTemplateRequest {
|
|
|
3963
4009
|
* <p>Metadata that can be used to manage the job template.</p>
|
|
3964
4010
|
*/
|
|
3965
4011
|
tags?: Tag[];
|
|
4012
|
+
/**
|
|
4013
|
+
* <p>Allows you to create the criteria to retry a job.</p>
|
|
4014
|
+
*/
|
|
4015
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
3966
4016
|
}
|
|
3967
4017
|
export declare namespace CreateJobTemplateRequest {
|
|
3968
4018
|
/**
|
|
@@ -6321,41 +6371,3 @@ export declare namespace DeleteRoleAliasResponse {
|
|
|
6321
6371
|
*/
|
|
6322
6372
|
const filterSensitiveLog: (obj: DeleteRoleAliasResponse) => any;
|
|
6323
6373
|
}
|
|
6324
|
-
export interface DeleteScheduledAuditRequest {
|
|
6325
|
-
/**
|
|
6326
|
-
* <p>The name of the scheduled audit you want to delete.</p>
|
|
6327
|
-
*/
|
|
6328
|
-
scheduledAuditName: string | undefined;
|
|
6329
|
-
}
|
|
6330
|
-
export declare namespace DeleteScheduledAuditRequest {
|
|
6331
|
-
/**
|
|
6332
|
-
* @internal
|
|
6333
|
-
*/
|
|
6334
|
-
const filterSensitiveLog: (obj: DeleteScheduledAuditRequest) => any;
|
|
6335
|
-
}
|
|
6336
|
-
export interface DeleteScheduledAuditResponse {
|
|
6337
|
-
}
|
|
6338
|
-
export declare namespace DeleteScheduledAuditResponse {
|
|
6339
|
-
/**
|
|
6340
|
-
* @internal
|
|
6341
|
-
*/
|
|
6342
|
-
const filterSensitiveLog: (obj: DeleteScheduledAuditResponse) => any;
|
|
6343
|
-
}
|
|
6344
|
-
export interface DeleteSecurityProfileRequest {
|
|
6345
|
-
/**
|
|
6346
|
-
* <p>The name of the security profile to be deleted.</p>
|
|
6347
|
-
*/
|
|
6348
|
-
securityProfileName: string | undefined;
|
|
6349
|
-
/**
|
|
6350
|
-
* <p>The expected version of the security profile. A new version is generated whenever
|
|
6351
|
-
* the security profile is updated. If you specify a value that is different from the actual
|
|
6352
|
-
* version, a <code>VersionConflictException</code> is thrown.</p>
|
|
6353
|
-
*/
|
|
6354
|
-
expectedVersion?: number;
|
|
6355
|
-
}
|
|
6356
|
-
export declare namespace DeleteSecurityProfileRequest {
|
|
6357
|
-
/**
|
|
6358
|
-
* @internal
|
|
6359
|
-
*/
|
|
6360
|
-
const filterSensitiveLog: (obj: DeleteSecurityProfileRequest) => any;
|
|
6361
|
-
}
|
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
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, FleetMetricUnit, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
2
|
+
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, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
3
|
+
export interface DeleteScheduledAuditRequest {
|
|
4
|
+
/**
|
|
5
|
+
* <p>The name of the scheduled audit you want to delete.</p>
|
|
6
|
+
*/
|
|
7
|
+
scheduledAuditName: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace DeleteScheduledAuditRequest {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
const filterSensitiveLog: (obj: DeleteScheduledAuditRequest) => any;
|
|
14
|
+
}
|
|
15
|
+
export interface DeleteScheduledAuditResponse {
|
|
16
|
+
}
|
|
17
|
+
export declare namespace DeleteScheduledAuditResponse {
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
const filterSensitiveLog: (obj: DeleteScheduledAuditResponse) => any;
|
|
22
|
+
}
|
|
23
|
+
export interface DeleteSecurityProfileRequest {
|
|
24
|
+
/**
|
|
25
|
+
* <p>The name of the security profile to be deleted.</p>
|
|
26
|
+
*/
|
|
27
|
+
securityProfileName: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The expected version of the security profile. A new version is generated whenever
|
|
30
|
+
* the security profile is updated. If you specify a value that is different from the actual
|
|
31
|
+
* version, a <code>VersionConflictException</code> is thrown.</p>
|
|
32
|
+
*/
|
|
33
|
+
expectedVersion?: number;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace DeleteSecurityProfileRequest {
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
const filterSensitiveLog: (obj: DeleteSecurityProfileRequest) => any;
|
|
40
|
+
}
|
|
3
41
|
export interface DeleteSecurityProfileResponse {
|
|
4
42
|
}
|
|
5
43
|
export declare namespace DeleteSecurityProfileResponse {
|
|
@@ -1658,6 +1696,10 @@ export interface Job {
|
|
|
1658
1696
|
* <p>The ARN of the job template used to create the job.</p>
|
|
1659
1697
|
*/
|
|
1660
1698
|
jobTemplateArn?: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* <p>The configuration for the criteria to retry the job.</p>
|
|
1701
|
+
*/
|
|
1702
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
1661
1703
|
/**
|
|
1662
1704
|
* <p>A key-value map that pairs the patterns that need to be replaced in a managed
|
|
1663
1705
|
* template job document schema. You can use the description of each key as a guidance
|
|
@@ -1868,6 +1910,11 @@ export interface DescribeJobTemplateResponse {
|
|
|
1868
1910
|
* be automatically set to <code>TIMED_OUT</code>.</p>
|
|
1869
1911
|
*/
|
|
1870
1912
|
timeoutConfig?: TimeoutConfig;
|
|
1913
|
+
/**
|
|
1914
|
+
* <p>The configuration that determines how many retries are allowed for each failure type
|
|
1915
|
+
* for a job.</p>
|
|
1916
|
+
*/
|
|
1917
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
1871
1918
|
}
|
|
1872
1919
|
export declare namespace DescribeJobTemplateResponse {
|
|
1873
1920
|
/**
|
|
@@ -5057,6 +5104,11 @@ export interface JobExecutionSummary {
|
|
|
5057
5104
|
* information.</p>
|
|
5058
5105
|
*/
|
|
5059
5106
|
executionNumber?: number;
|
|
5107
|
+
/**
|
|
5108
|
+
* <p>The number that indicates how many retry attempts have been completed for this
|
|
5109
|
+
* job on this device.</p>
|
|
5110
|
+
*/
|
|
5111
|
+
retryAttempt?: number;
|
|
5060
5112
|
}
|
|
5061
5113
|
export declare namespace JobExecutionSummary {
|
|
5062
5114
|
/**
|
|
@@ -5129,6 +5181,10 @@ export interface ListJobExecutionsForThingRequest {
|
|
|
5129
5181
|
* <p>The token to retrieve the next set of results.</p>
|
|
5130
5182
|
*/
|
|
5131
5183
|
nextToken?: string;
|
|
5184
|
+
/**
|
|
5185
|
+
* <p>The unique identifier you assigned to this job when it was created.</p>
|
|
5186
|
+
*/
|
|
5187
|
+
jobId?: string;
|
|
5132
5188
|
}
|
|
5133
5189
|
export declare namespace ListJobExecutionsForThingRequest {
|
|
5134
5190
|
/**
|
|
@@ -6515,71 +6571,3 @@ export declare enum ReportType {
|
|
|
6515
6571
|
ERRORS = "ERRORS",
|
|
6516
6572
|
RESULTS = "RESULTS"
|
|
6517
6573
|
}
|
|
6518
|
-
export interface ListThingRegistrationTaskReportsRequest {
|
|
6519
|
-
/**
|
|
6520
|
-
* <p>The id of the task.</p>
|
|
6521
|
-
*/
|
|
6522
|
-
taskId: string | undefined;
|
|
6523
|
-
/**
|
|
6524
|
-
* <p>The type of task report.</p>
|
|
6525
|
-
*/
|
|
6526
|
-
reportType: ReportType | string | undefined;
|
|
6527
|
-
/**
|
|
6528
|
-
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
6529
|
-
* value from a previous response; otherwise <b>null</b> to receive
|
|
6530
|
-
* the first set of results.</p>
|
|
6531
|
-
*/
|
|
6532
|
-
nextToken?: string;
|
|
6533
|
-
/**
|
|
6534
|
-
* <p>The maximum number of results to return per request.</p>
|
|
6535
|
-
*/
|
|
6536
|
-
maxResults?: number;
|
|
6537
|
-
}
|
|
6538
|
-
export declare namespace ListThingRegistrationTaskReportsRequest {
|
|
6539
|
-
/**
|
|
6540
|
-
* @internal
|
|
6541
|
-
*/
|
|
6542
|
-
const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsRequest) => any;
|
|
6543
|
-
}
|
|
6544
|
-
export interface ListThingRegistrationTaskReportsResponse {
|
|
6545
|
-
/**
|
|
6546
|
-
* <p>Links to the task resources.</p>
|
|
6547
|
-
*/
|
|
6548
|
-
resourceLinks?: string[];
|
|
6549
|
-
/**
|
|
6550
|
-
* <p>The type of task report.</p>
|
|
6551
|
-
*/
|
|
6552
|
-
reportType?: ReportType | string;
|
|
6553
|
-
/**
|
|
6554
|
-
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
6555
|
-
*/
|
|
6556
|
-
nextToken?: string;
|
|
6557
|
-
}
|
|
6558
|
-
export declare namespace ListThingRegistrationTaskReportsResponse {
|
|
6559
|
-
/**
|
|
6560
|
-
* @internal
|
|
6561
|
-
*/
|
|
6562
|
-
const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsResponse) => any;
|
|
6563
|
-
}
|
|
6564
|
-
export interface ListThingRegistrationTasksRequest {
|
|
6565
|
-
/**
|
|
6566
|
-
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
6567
|
-
* value from a previous response; otherwise <b>null</b> to receive
|
|
6568
|
-
* the first set of results.</p>
|
|
6569
|
-
*/
|
|
6570
|
-
nextToken?: string;
|
|
6571
|
-
/**
|
|
6572
|
-
* <p>The maximum number of results to return at one time.</p>
|
|
6573
|
-
*/
|
|
6574
|
-
maxResults?: number;
|
|
6575
|
-
/**
|
|
6576
|
-
* <p>The status of the bulk thing provisioning task.</p>
|
|
6577
|
-
*/
|
|
6578
|
-
status?: Status | string;
|
|
6579
|
-
}
|
|
6580
|
-
export declare namespace ListThingRegistrationTasksRequest {
|
|
6581
|
-
/**
|
|
6582
|
-
* @internal
|
|
6583
|
-
*/
|
|
6584
|
-
const filterSensitiveLog: (obj: ListThingRegistrationTasksRequest) => any;
|
|
6585
|
-
}
|
|
@@ -1,6 +1,74 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
3
|
-
import { BehaviorCriteriaType, CACertificateStatus, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
2
|
+
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";
|
|
3
|
+
import { BehaviorCriteriaType, CACertificateStatus, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, ReportType, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
4
|
+
export interface ListThingRegistrationTaskReportsRequest {
|
|
5
|
+
/**
|
|
6
|
+
* <p>The id of the task.</p>
|
|
7
|
+
*/
|
|
8
|
+
taskId: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* <p>The type of task report.</p>
|
|
11
|
+
*/
|
|
12
|
+
reportType: ReportType | string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
15
|
+
* value from a previous response; otherwise <b>null</b> to receive
|
|
16
|
+
* the first set of results.</p>
|
|
17
|
+
*/
|
|
18
|
+
nextToken?: string;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The maximum number of results to return per request.</p>
|
|
21
|
+
*/
|
|
22
|
+
maxResults?: number;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace ListThingRegistrationTaskReportsRequest {
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsRequest) => any;
|
|
29
|
+
}
|
|
30
|
+
export interface ListThingRegistrationTaskReportsResponse {
|
|
31
|
+
/**
|
|
32
|
+
* <p>Links to the task resources.</p>
|
|
33
|
+
*/
|
|
34
|
+
resourceLinks?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* <p>The type of task report.</p>
|
|
37
|
+
*/
|
|
38
|
+
reportType?: ReportType | string;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
41
|
+
*/
|
|
42
|
+
nextToken?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace ListThingRegistrationTaskReportsResponse {
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsResponse) => any;
|
|
49
|
+
}
|
|
50
|
+
export interface ListThingRegistrationTasksRequest {
|
|
51
|
+
/**
|
|
52
|
+
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
53
|
+
* value from a previous response; otherwise <b>null</b> to receive
|
|
54
|
+
* the first set of results.</p>
|
|
55
|
+
*/
|
|
56
|
+
nextToken?: string;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The maximum number of results to return at one time.</p>
|
|
59
|
+
*/
|
|
60
|
+
maxResults?: number;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The status of the bulk thing provisioning task.</p>
|
|
63
|
+
*/
|
|
64
|
+
status?: Status | string;
|
|
65
|
+
}
|
|
66
|
+
export declare namespace ListThingRegistrationTasksRequest {
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
const filterSensitiveLog: (obj: ListThingRegistrationTasksRequest) => any;
|
|
71
|
+
}
|
|
4
72
|
export interface ListThingRegistrationTasksResponse {
|
|
5
73
|
/**
|
|
6
74
|
* <p>A list of bulk thing provisioning task IDs.</p>
|
|
@@ -2410,6 +2478,10 @@ export interface UpdateJobRequest {
|
|
|
2410
2478
|
* </note>
|
|
2411
2479
|
*/
|
|
2412
2480
|
namespaceId?: string;
|
|
2481
|
+
/**
|
|
2482
|
+
* <p>Allows you to create the criteria to retry a job.</p>
|
|
2483
|
+
*/
|
|
2484
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
2413
2485
|
}
|
|
2414
2486
|
export declare namespace UpdateJobRequest {
|
|
2415
2487
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { DeleteScheduledAuditRequest, DeleteScheduledAuditResponse } from "../models/
|
|
4
|
+
import { DeleteScheduledAuditRequest, DeleteScheduledAuditResponse } from "../models/models_1";
|
|
5
5
|
export interface DeleteScheduledAuditCommandInput extends DeleteScheduledAuditRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteScheduledAuditCommandOutput extends DeleteScheduledAuditResponse, __MetadataBearer {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { DeleteSecurityProfileRequest } from "../models/
|
|
5
|
-
import { DeleteSecurityProfileResponse } from "../models/models_1";
|
|
4
|
+
import { DeleteSecurityProfileRequest, DeleteSecurityProfileResponse } from "../models/models_1";
|
|
6
5
|
export interface DeleteSecurityProfileCommandInput extends DeleteSecurityProfileRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface DeleteSecurityProfileCommandOutput extends DeleteSecurityProfileResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListThingRegistrationTaskReportsRequest, ListThingRegistrationTaskReportsResponse } from "../models/
|
|
4
|
+
import { ListThingRegistrationTaskReportsRequest, ListThingRegistrationTaskReportsResponse } from "../models/models_2";
|
|
5
5
|
export interface ListThingRegistrationTaskReportsCommandInput extends ListThingRegistrationTaskReportsRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListThingRegistrationTaskReportsCommandOutput extends ListThingRegistrationTaskReportsResponse, __MetadataBearer {
|