@aws-sdk/client-iot 3.44.0 → 3.47.1
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 +48 -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/endpoints.js +1 -28
- package/dist-cjs/models/models_0.js +20 -158
- package/dist-cjs/models/models_1.js +24 -36
- package/dist-cjs/models/models_2.js +21 -39
- package/dist-cjs/protocols/Aws_restJson1.js +74 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- 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/endpoints.js +1 -28
- package/dist-es/models/models_0.js +14 -104
- package/dist-es/models/models_1.js +12 -20
- package/dist-es/models/models_2.js +12 -24
- package/dist-es/protocols/Aws_restJson1.js +74 -11
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/IoTClient.d.ts +5 -1
- 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 +61 -173
- package/dist-types/models/models_1.d.ts +57 -81
- package/dist-types/models/models_2.d.ts +80 -38
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/IoTClient.d.ts +3 -1
- 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 +31 -114
- package/dist-types/ts3.4/models/models_1.d.ts +33 -47
- package/dist-types/ts3.4/models/models_2.d.ts +44 -26
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -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>
|
|
@@ -793,12 +861,6 @@ export interface RegistrationCodeValidationException extends __SmithyException,
|
|
|
793
861
|
*/
|
|
794
862
|
message?: string;
|
|
795
863
|
}
|
|
796
|
-
export declare namespace RegistrationCodeValidationException {
|
|
797
|
-
/**
|
|
798
|
-
* @internal
|
|
799
|
-
*/
|
|
800
|
-
const filterSensitiveLog: (obj: RegistrationCodeValidationException) => any;
|
|
801
|
-
}
|
|
802
864
|
/**
|
|
803
865
|
* <p>Unable to verify the CA certificate used to sign the device certificate you are
|
|
804
866
|
* attempting to register. This is happens when you have registered more than one CA
|
|
@@ -812,12 +874,6 @@ export interface CertificateConflictException extends __SmithyException, $Metada
|
|
|
812
874
|
*/
|
|
813
875
|
message?: string;
|
|
814
876
|
}
|
|
815
|
-
export declare namespace CertificateConflictException {
|
|
816
|
-
/**
|
|
817
|
-
* @internal
|
|
818
|
-
*/
|
|
819
|
-
const filterSensitiveLog: (obj: CertificateConflictException) => any;
|
|
820
|
-
}
|
|
821
877
|
/**
|
|
822
878
|
* <p>The input to the RegisterCertificate operation.</p>
|
|
823
879
|
*/
|
|
@@ -946,12 +1002,6 @@ export interface ResourceRegistrationFailureException extends __SmithyException,
|
|
|
946
1002
|
*/
|
|
947
1003
|
message?: string;
|
|
948
1004
|
}
|
|
949
|
-
export declare namespace ResourceRegistrationFailureException {
|
|
950
|
-
/**
|
|
951
|
-
* @internal
|
|
952
|
-
*/
|
|
953
|
-
const filterSensitiveLog: (obj: ResourceRegistrationFailureException) => any;
|
|
954
|
-
}
|
|
955
1005
|
/**
|
|
956
1006
|
* <p>The input for the RejectCertificateTransfer operation.</p>
|
|
957
1007
|
*/
|
|
@@ -1379,12 +1429,6 @@ export interface TaskAlreadyExistsException extends __SmithyException, $Metadata
|
|
|
1379
1429
|
$fault: "client";
|
|
1380
1430
|
message?: string;
|
|
1381
1431
|
}
|
|
1382
|
-
export declare namespace TaskAlreadyExistsException {
|
|
1383
|
-
/**
|
|
1384
|
-
* @internal
|
|
1385
|
-
*/
|
|
1386
|
-
const filterSensitiveLog: (obj: TaskAlreadyExistsException) => any;
|
|
1387
|
-
}
|
|
1388
1432
|
export interface StartDetectMitigationActionsTaskRequest {
|
|
1389
1433
|
/**
|
|
1390
1434
|
* <p>
|
|
@@ -1616,12 +1660,6 @@ export interface InvalidResponseException extends __SmithyException, $MetadataBe
|
|
|
1616
1660
|
*/
|
|
1617
1661
|
message?: string;
|
|
1618
1662
|
}
|
|
1619
|
-
export declare namespace InvalidResponseException {
|
|
1620
|
-
/**
|
|
1621
|
-
* @internal
|
|
1622
|
-
*/
|
|
1623
|
-
const filterSensitiveLog: (obj: InvalidResponseException) => any;
|
|
1624
|
-
}
|
|
1625
1663
|
/**
|
|
1626
1664
|
* <p>Specifies the HTTP context to use for the test authorizer request.</p>
|
|
1627
1665
|
*/
|
|
@@ -1793,12 +1831,6 @@ export interface TransferConflictException extends __SmithyException, $MetadataB
|
|
|
1793
1831
|
*/
|
|
1794
1832
|
message?: string;
|
|
1795
1833
|
}
|
|
1796
|
-
export declare namespace TransferConflictException {
|
|
1797
|
-
/**
|
|
1798
|
-
* @internal
|
|
1799
|
-
*/
|
|
1800
|
-
const filterSensitiveLog: (obj: TransferConflictException) => any;
|
|
1801
|
-
}
|
|
1802
1834
|
export interface UntagResourceRequest {
|
|
1803
1835
|
/**
|
|
1804
1836
|
* <p>The ARN of the resource.</p>
|
|
@@ -1942,6 +1974,12 @@ export interface UpdateAuthorizerRequest {
|
|
|
1942
1974
|
* <p>The status of the update authorizer request.</p>
|
|
1943
1975
|
*/
|
|
1944
1976
|
status?: AuthorizerStatus | string;
|
|
1977
|
+
/**
|
|
1978
|
+
* <p>When <code>true</code>, the result from the authorizer’s Lambda function is
|
|
1979
|
+
* cached for the time specified in <code>refreshAfterInSeconds</code>. The cached
|
|
1980
|
+
* result is used while the device reuses the same HTTP connection.</p>
|
|
1981
|
+
*/
|
|
1982
|
+
enableCachingForHttp?: boolean;
|
|
1945
1983
|
}
|
|
1946
1984
|
export declare namespace UpdateAuthorizerRequest {
|
|
1947
1985
|
/**
|
|
@@ -2404,6 +2442,10 @@ export interface UpdateJobRequest {
|
|
|
2404
2442
|
* </note>
|
|
2405
2443
|
*/
|
|
2406
2444
|
namespaceId?: string;
|
|
2445
|
+
/**
|
|
2446
|
+
* <p>Allows you to create the criteria to retry a job.</p>
|
|
2447
|
+
*/
|
|
2448
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
2407
2449
|
}
|
|
2408
2450
|
export declare namespace UpdateJobRequest {
|
|
2409
2451
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { IoTClientConfig } from "./IoTClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { IoTClientConfig } from "./IoTClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptCertificateTransferCommandInput, AcceptCertificateTransferCommandOutput } from "./commands/AcceptCertificateTransferCommand";
|
|
10
10
|
import { AddThingToBillingGroupCommandInput, AddThingToBillingGroupCommandOutput } from "./commands/AddThingToBillingGroupCommand";
|
|
@@ -287,6 +287,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
287
287
|
regionInfoProvider?: RegionInfoProvider;
|
|
288
288
|
|
|
289
289
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
290
|
+
|
|
291
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
290
292
|
}
|
|
291
293
|
declare type IoTClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
292
294
|
|
|
@@ -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 {
|
|
@@ -50,10 +50,6 @@ export interface InternalFailureException extends __SmithyException, $MetadataBe
|
|
|
50
50
|
|
|
51
51
|
message?: string;
|
|
52
52
|
}
|
|
53
|
-
export declare namespace InternalFailureException {
|
|
54
|
-
|
|
55
|
-
const filterSensitiveLog: (obj: InternalFailureException) => any;
|
|
56
|
-
}
|
|
57
53
|
|
|
58
54
|
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
59
55
|
name: "InvalidRequestException";
|
|
@@ -61,10 +57,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
61
57
|
|
|
62
58
|
message?: string;
|
|
63
59
|
}
|
|
64
|
-
export declare namespace InvalidRequestException {
|
|
65
|
-
|
|
66
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
67
|
-
}
|
|
68
60
|
|
|
69
61
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
70
62
|
name: "ResourceNotFoundException";
|
|
@@ -72,10 +64,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
72
64
|
|
|
73
65
|
message?: string;
|
|
74
66
|
}
|
|
75
|
-
export declare namespace ResourceNotFoundException {
|
|
76
|
-
|
|
77
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
78
|
-
}
|
|
79
67
|
|
|
80
68
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
81
69
|
name: "ServiceUnavailableException";
|
|
@@ -83,10 +71,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
83
71
|
|
|
84
72
|
message?: string;
|
|
85
73
|
}
|
|
86
|
-
export declare namespace ServiceUnavailableException {
|
|
87
|
-
|
|
88
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
89
|
-
}
|
|
90
74
|
|
|
91
75
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
92
76
|
name: "ThrottlingException";
|
|
@@ -94,10 +78,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
94
78
|
|
|
95
79
|
message?: string;
|
|
96
80
|
}
|
|
97
|
-
export declare namespace ThrottlingException {
|
|
98
|
-
|
|
99
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
100
|
-
}
|
|
101
81
|
|
|
102
82
|
export interface TransferAlreadyCompletedException extends __SmithyException, $MetadataBearer {
|
|
103
83
|
name: "TransferAlreadyCompletedException";
|
|
@@ -105,10 +85,6 @@ export interface TransferAlreadyCompletedException extends __SmithyException, $M
|
|
|
105
85
|
|
|
106
86
|
message?: string;
|
|
107
87
|
}
|
|
108
|
-
export declare namespace TransferAlreadyCompletedException {
|
|
109
|
-
|
|
110
|
-
const filterSensitiveLog: (obj: TransferAlreadyCompletedException) => any;
|
|
111
|
-
}
|
|
112
88
|
|
|
113
89
|
export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
|
|
114
90
|
name: "UnauthorizedException";
|
|
@@ -116,10 +92,6 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
|
|
|
116
92
|
|
|
117
93
|
message?: string;
|
|
118
94
|
}
|
|
119
|
-
export declare namespace UnauthorizedException {
|
|
120
|
-
|
|
121
|
-
const filterSensitiveLog: (obj: UnauthorizedException) => any;
|
|
122
|
-
}
|
|
123
95
|
|
|
124
96
|
export interface CloudwatchAlarmAction {
|
|
125
97
|
|
|
@@ -976,10 +948,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
976
948
|
|
|
977
949
|
message?: string;
|
|
978
950
|
}
|
|
979
|
-
export declare namespace LimitExceededException {
|
|
980
|
-
|
|
981
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
982
|
-
}
|
|
983
951
|
export interface AttachPolicyRequest {
|
|
984
952
|
|
|
985
953
|
policyName: string | undefined;
|
|
@@ -1024,10 +992,6 @@ export interface VersionConflictException extends __SmithyException, $MetadataBe
|
|
|
1024
992
|
|
|
1025
993
|
message?: string;
|
|
1026
994
|
}
|
|
1027
|
-
export declare namespace VersionConflictException {
|
|
1028
|
-
|
|
1029
|
-
const filterSensitiveLog: (obj: VersionConflictException) => any;
|
|
1030
|
-
}
|
|
1031
995
|
|
|
1032
996
|
export interface AttachThingPrincipalRequest {
|
|
1033
997
|
|
|
@@ -1405,6 +1369,8 @@ export interface AuthorizerDescription {
|
|
|
1405
1369
|
lastModifiedDate?: Date;
|
|
1406
1370
|
|
|
1407
1371
|
signingDisabled?: boolean;
|
|
1372
|
+
|
|
1373
|
+
enableCachingForHttp?: boolean;
|
|
1408
1374
|
}
|
|
1409
1375
|
export declare namespace AuthorizerDescription {
|
|
1410
1376
|
|
|
@@ -1573,10 +1539,6 @@ export interface InvalidStateTransitionException extends __SmithyException, $Met
|
|
|
1573
1539
|
|
|
1574
1540
|
message?: string;
|
|
1575
1541
|
}
|
|
1576
|
-
export declare namespace InvalidStateTransitionException {
|
|
1577
|
-
|
|
1578
|
-
const filterSensitiveLog: (obj: InvalidStateTransitionException) => any;
|
|
1579
|
-
}
|
|
1580
1542
|
export interface ClearDefaultAuthorizerRequest {
|
|
1581
1543
|
}
|
|
1582
1544
|
export declare namespace ClearDefaultAuthorizerRequest {
|
|
@@ -1610,10 +1572,6 @@ export interface ConflictingResourceUpdateException extends __SmithyException, $
|
|
|
1610
1572
|
|
|
1611
1573
|
message?: string;
|
|
1612
1574
|
}
|
|
1613
|
-
export declare namespace ConflictingResourceUpdateException {
|
|
1614
|
-
|
|
1615
|
-
const filterSensitiveLog: (obj: ConflictingResourceUpdateException) => any;
|
|
1616
|
-
}
|
|
1617
1575
|
|
|
1618
1576
|
export interface InternalException extends __SmithyException, $MetadataBearer {
|
|
1619
1577
|
name: "InternalException";
|
|
@@ -1621,10 +1579,6 @@ export interface InternalException extends __SmithyException, $MetadataBearer {
|
|
|
1621
1579
|
|
|
1622
1580
|
message?: string;
|
|
1623
1581
|
}
|
|
1624
|
-
export declare namespace InternalException {
|
|
1625
|
-
|
|
1626
|
-
const filterSensitiveLog: (obj: InternalException) => any;
|
|
1627
|
-
}
|
|
1628
1582
|
export interface CreateAuditSuppressionRequest {
|
|
1629
1583
|
|
|
1630
1584
|
checkName: string | undefined;
|
|
@@ -1660,10 +1614,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
|
|
|
1660
1614
|
|
|
1661
1615
|
resourceArn?: string;
|
|
1662
1616
|
}
|
|
1663
|
-
export declare namespace ResourceAlreadyExistsException {
|
|
1664
|
-
|
|
1665
|
-
const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
|
|
1666
|
-
}
|
|
1667
1617
|
|
|
1668
1618
|
export interface Tag {
|
|
1669
1619
|
|
|
@@ -1692,6 +1642,8 @@ export interface CreateAuthorizerRequest {
|
|
|
1692
1642
|
tags?: Tag[];
|
|
1693
1643
|
|
|
1694
1644
|
signingDisabled?: boolean;
|
|
1645
|
+
|
|
1646
|
+
enableCachingForHttp?: boolean;
|
|
1695
1647
|
}
|
|
1696
1648
|
export declare namespace CreateAuthorizerRequest {
|
|
1697
1649
|
|
|
@@ -1832,10 +1784,6 @@ export interface CertificateValidationException extends __SmithyException, $Meta
|
|
|
1832
1784
|
|
|
1833
1785
|
message?: string;
|
|
1834
1786
|
}
|
|
1835
|
-
export declare namespace CertificateValidationException {
|
|
1836
|
-
|
|
1837
|
-
const filterSensitiveLog: (obj: CertificateValidationException) => any;
|
|
1838
|
-
}
|
|
1839
1787
|
export declare enum ServiceType {
|
|
1840
1788
|
CREDENTIAL_PROVIDER = "CREDENTIAL_PROVIDER",
|
|
1841
1789
|
DATA = "DATA",
|
|
@@ -1925,10 +1873,6 @@ export interface InvalidQueryException extends __SmithyException, $MetadataBeare
|
|
|
1925
1873
|
|
|
1926
1874
|
message?: string;
|
|
1927
1875
|
}
|
|
1928
|
-
export declare namespace InvalidQueryException {
|
|
1929
|
-
|
|
1930
|
-
const filterSensitiveLog: (obj: InvalidQueryException) => any;
|
|
1931
|
-
}
|
|
1932
1876
|
export declare enum FleetMetricUnit {
|
|
1933
1877
|
Bits = "Bits",
|
|
1934
1878
|
BitsSecond = "Bits/Second",
|
|
@@ -2001,19 +1945,36 @@ export interface IndexNotReadyException extends __SmithyException, $MetadataBear
|
|
|
2001
1945
|
|
|
2002
1946
|
message?: string;
|
|
2003
1947
|
}
|
|
2004
|
-
export declare namespace IndexNotReadyException {
|
|
2005
|
-
|
|
2006
|
-
const filterSensitiveLog: (obj: IndexNotReadyException) => any;
|
|
2007
|
-
}
|
|
2008
1948
|
|
|
2009
1949
|
export interface InvalidAggregationException extends __SmithyException, $MetadataBearer {
|
|
2010
1950
|
name: "InvalidAggregationException";
|
|
2011
1951
|
$fault: "client";
|
|
2012
1952
|
message?: string;
|
|
2013
1953
|
}
|
|
2014
|
-
export declare
|
|
1954
|
+
export declare enum RetryableFailureType {
|
|
1955
|
+
ALL = "ALL",
|
|
1956
|
+
FAILED = "FAILED",
|
|
1957
|
+
TIMED_OUT = "TIMED_OUT"
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
export interface RetryCriteria {
|
|
1961
|
+
|
|
1962
|
+
failureType: RetryableFailureType | string | undefined;
|
|
1963
|
+
|
|
1964
|
+
numberOfRetries: number | undefined;
|
|
1965
|
+
}
|
|
1966
|
+
export declare namespace RetryCriteria {
|
|
1967
|
+
|
|
1968
|
+
const filterSensitiveLog: (obj: RetryCriteria) => any;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
export interface JobExecutionsRetryConfig {
|
|
2015
1972
|
|
|
2016
|
-
|
|
1973
|
+
criteriaList: RetryCriteria[] | undefined;
|
|
1974
|
+
}
|
|
1975
|
+
export declare namespace JobExecutionsRetryConfig {
|
|
1976
|
+
|
|
1977
|
+
const filterSensitiveLog: (obj: JobExecutionsRetryConfig) => any;
|
|
2017
1978
|
}
|
|
2018
1979
|
|
|
2019
1980
|
export interface RateIncreaseCriteria {
|
|
@@ -2102,6 +2063,8 @@ export interface CreateJobRequest {
|
|
|
2102
2063
|
|
|
2103
2064
|
jobTemplateArn?: string;
|
|
2104
2065
|
|
|
2066
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
2067
|
+
|
|
2105
2068
|
documentParameters?: {
|
|
2106
2069
|
[key: string]: string;
|
|
2107
2070
|
};
|
|
@@ -2128,10 +2091,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
2128
2091
|
$fault: "client";
|
|
2129
2092
|
message?: string;
|
|
2130
2093
|
}
|
|
2131
|
-
export declare namespace ConflictException {
|
|
2132
|
-
|
|
2133
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
2134
|
-
}
|
|
2135
2094
|
export interface CreateJobTemplateRequest {
|
|
2136
2095
|
|
|
2137
2096
|
jobTemplateId: string | undefined;
|
|
@@ -2153,6 +2112,8 @@ export interface CreateJobTemplateRequest {
|
|
|
2153
2112
|
timeoutConfig?: TimeoutConfig;
|
|
2154
2113
|
|
|
2155
2114
|
tags?: Tag[];
|
|
2115
|
+
|
|
2116
|
+
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
2156
2117
|
}
|
|
2157
2118
|
export declare namespace CreateJobTemplateRequest {
|
|
2158
2119
|
|
|
@@ -2640,10 +2601,6 @@ export interface MalformedPolicyException extends __SmithyException, $MetadataBe
|
|
|
2640
2601
|
|
|
2641
2602
|
message?: string;
|
|
2642
2603
|
}
|
|
2643
|
-
export declare namespace MalformedPolicyException {
|
|
2644
|
-
|
|
2645
|
-
const filterSensitiveLog: (obj: MalformedPolicyException) => any;
|
|
2646
|
-
}
|
|
2647
2604
|
|
|
2648
2605
|
export interface CreatePolicyVersionRequest {
|
|
2649
2606
|
|
|
@@ -2679,10 +2636,6 @@ export interface VersionsLimitExceededException extends __SmithyException, $Meta
|
|
|
2679
2636
|
|
|
2680
2637
|
message?: string;
|
|
2681
2638
|
}
|
|
2682
|
-
export declare namespace VersionsLimitExceededException {
|
|
2683
|
-
|
|
2684
|
-
const filterSensitiveLog: (obj: VersionsLimitExceededException) => any;
|
|
2685
|
-
}
|
|
2686
2639
|
export interface CreateProvisioningClaimRequest {
|
|
2687
2640
|
|
|
2688
2641
|
templateName: string | undefined;
|
|
@@ -3036,10 +2989,6 @@ export interface SqlParseException extends __SmithyException, $MetadataBearer {
|
|
|
3036
2989
|
|
|
3037
2990
|
message?: string;
|
|
3038
2991
|
}
|
|
3039
|
-
export declare namespace SqlParseException {
|
|
3040
|
-
|
|
3041
|
-
const filterSensitiveLog: (obj: SqlParseException) => any;
|
|
3042
|
-
}
|
|
3043
2992
|
|
|
3044
2993
|
export interface HttpUrlDestinationConfiguration {
|
|
3045
2994
|
|
|
@@ -3194,10 +3143,6 @@ export interface DeleteConflictException extends __SmithyException, $MetadataBea
|
|
|
3194
3143
|
|
|
3195
3144
|
message?: string;
|
|
3196
3145
|
}
|
|
3197
|
-
export declare namespace DeleteConflictException {
|
|
3198
|
-
|
|
3199
|
-
const filterSensitiveLog: (obj: DeleteConflictException) => any;
|
|
3200
|
-
}
|
|
3201
3146
|
export interface DeleteBillingGroupRequest {
|
|
3202
3147
|
|
|
3203
3148
|
billingGroupName: string | undefined;
|
|
@@ -3221,10 +3166,6 @@ export interface CertificateStateException extends __SmithyException, $MetadataB
|
|
|
3221
3166
|
|
|
3222
3167
|
message?: string;
|
|
3223
3168
|
}
|
|
3224
|
-
export declare namespace CertificateStateException {
|
|
3225
|
-
|
|
3226
|
-
const filterSensitiveLog: (obj: CertificateStateException) => any;
|
|
3227
|
-
}
|
|
3228
3169
|
|
|
3229
3170
|
export interface DeleteCACertificateRequest {
|
|
3230
3171
|
|
|
@@ -3466,27 +3407,3 @@ export declare namespace DeleteRoleAliasResponse {
|
|
|
3466
3407
|
|
|
3467
3408
|
const filterSensitiveLog: (obj: DeleteRoleAliasResponse) => any;
|
|
3468
3409
|
}
|
|
3469
|
-
export interface DeleteScheduledAuditRequest {
|
|
3470
|
-
|
|
3471
|
-
scheduledAuditName: string | undefined;
|
|
3472
|
-
}
|
|
3473
|
-
export declare namespace DeleteScheduledAuditRequest {
|
|
3474
|
-
|
|
3475
|
-
const filterSensitiveLog: (obj: DeleteScheduledAuditRequest) => any;
|
|
3476
|
-
}
|
|
3477
|
-
export interface DeleteScheduledAuditResponse {
|
|
3478
|
-
}
|
|
3479
|
-
export declare namespace DeleteScheduledAuditResponse {
|
|
3480
|
-
|
|
3481
|
-
const filterSensitiveLog: (obj: DeleteScheduledAuditResponse) => any;
|
|
3482
|
-
}
|
|
3483
|
-
export interface DeleteSecurityProfileRequest {
|
|
3484
|
-
|
|
3485
|
-
securityProfileName: string | undefined;
|
|
3486
|
-
|
|
3487
|
-
expectedVersion?: number;
|
|
3488
|
-
}
|
|
3489
|
-
export declare namespace DeleteSecurityProfileRequest {
|
|
3490
|
-
|
|
3491
|
-
const filterSensitiveLog: (obj: DeleteSecurityProfileRequest) => any;
|
|
3492
|
-
}
|