@aws-sdk/client-iot 3.692.0 → 3.694.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/index.js +177 -19
- package/dist-es/IoT.js +6 -0
- package/dist-es/commands/ListPrincipalThingsV2Command.js +22 -0
- package/dist-es/commands/ListThingPrincipalsV2Command.js +22 -0
- package/dist-es/commands/UpdateThingTypeCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +4 -12
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/pagination/ListPrincipalThingsV2Paginator.js +4 -0
- package/dist-es/pagination/ListThingPrincipalsV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +90 -3
- package/dist-types/IoT.d.ts +21 -0
- package/dist-types/IoTClient.d.ts +5 -2
- package/dist-types/commands/AttachThingPrincipalCommand.d.ts +1 -0
- package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/CreateThingTypeCommand.d.ts +9 -0
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeThingTypeCommand.d.ts +9 -0
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +2 -1
- package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +1 -2
- package/dist-types/commands/ListPrincipalThingsV2Command.d.ts +100 -0
- package/dist-types/commands/ListThingPrincipalsV2Command.d.ts +100 -0
- package/dist-types/commands/ListThingTypesCommand.d.ts +9 -0
- package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateThingTypeCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +91 -30
- package/dist-types/models/models_1.d.ts +29 -69
- package/dist-types/models/models_2.d.ts +272 -2
- package/dist-types/pagination/ListPrincipalThingsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/ListThingPrincipalsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/IoT.d.ts +51 -0
- package/dist-types/ts3.4/IoTClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListPrincipalThingsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListThingPrincipalsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateThingTypeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -11
- package/dist-types/ts3.4/models/models_1.d.ts +11 -16
- package/dist-types/ts3.4/models/models_2.d.ts +51 -1
- package/dist-types/ts3.4/pagination/ListPrincipalThingsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThingPrincipalsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +13 -13
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
+
import { ListThingPrincipalsV2Request, ListThingPrincipalsV2Response } from "../models/models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListThingPrincipalsV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListThingPrincipalsV2CommandInput extends ListThingPrincipalsV2Request {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListThingPrincipalsV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListThingPrincipalsV2CommandOutput extends ListThingPrincipalsV2Response, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListThingPrincipalsV2Command_base: {
|
|
25
|
+
new (input: ListThingPrincipalsV2CommandInput): import("@smithy/smithy-client").CommandImpl<ListThingPrincipalsV2CommandInput, ListThingPrincipalsV2CommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListThingPrincipalsV2CommandInput): import("@smithy/smithy-client").CommandImpl<ListThingPrincipalsV2CommandInput, ListThingPrincipalsV2CommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the principals associated with the specified thing. A principal can be an X.509
|
|
31
|
+
* certificate or an Amazon Cognito ID.</p>
|
|
32
|
+
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListThingPrincipals</a> action.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { IoTClient, ListThingPrincipalsV2Command } from "@aws-sdk/client-iot"; // ES Modules import
|
|
37
|
+
* // const { IoTClient, ListThingPrincipalsV2Command } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
38
|
+
* const client = new IoTClient(config);
|
|
39
|
+
* const input = { // ListThingPrincipalsV2Request
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* thingName: "STRING_VALUE", // required
|
|
43
|
+
* thingPrincipalType: "EXCLUSIVE_THING" || "NON_EXCLUSIVE_THING",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListThingPrincipalsV2Command(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListThingPrincipalsV2Response
|
|
48
|
+
* // thingPrincipalObjects: [ // ThingPrincipalObjects
|
|
49
|
+
* // { // ThingPrincipalObject
|
|
50
|
+
* // principal: "STRING_VALUE", // required
|
|
51
|
+
* // thingPrincipalType: "EXCLUSIVE_THING" || "NON_EXCLUSIVE_THING",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // nextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListThingPrincipalsV2CommandInput - {@link ListThingPrincipalsV2CommandInput}
|
|
60
|
+
* @returns {@link ListThingPrincipalsV2CommandOutput}
|
|
61
|
+
* @see {@link ListThingPrincipalsV2CommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListThingPrincipalsV2CommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
66
|
+
* <p>An unexpected error has occurred.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
69
|
+
* <p>The request is not valid.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The specified resource does not exist.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
75
|
+
* <p>The service is temporarily unavailable.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>The rate exceeds the limit.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
81
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link IoTServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListThingPrincipalsV2Command extends ListThingPrincipalsV2Command_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListThingPrincipalsV2Request;
|
|
93
|
+
output: ListThingPrincipalsV2Response;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListThingPrincipalsV2CommandInput;
|
|
97
|
+
output: ListThingPrincipalsV2CommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -52,6 +52,15 @@ declare const ListThingTypesCommand_base: {
|
|
|
52
52
|
* // searchableAttributes: [ // SearchableAttributes
|
|
53
53
|
* // "STRING_VALUE",
|
|
54
54
|
* // ],
|
|
55
|
+
* // mqtt5Configuration: { // Mqtt5Configuration
|
|
56
|
+
* // propagatingAttributes: [ // PropagatingAttributeList
|
|
57
|
+
* // { // PropagatingAttribute
|
|
58
|
+
* // userPropertyKey: "STRING_VALUE",
|
|
59
|
+
* // thingAttribute: "STRING_VALUE",
|
|
60
|
+
* // connectionAttribute: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
55
64
|
* // },
|
|
56
65
|
* // thingTypeMetadata: { // ThingTypeMetadata
|
|
57
66
|
* // deprecated: true || false,
|
|
@@ -49,6 +49,8 @@ declare const UpdateDomainConfigurationCommand_base: {
|
|
|
49
49
|
* },
|
|
50
50
|
* serverCertificateConfig: { // ServerCertificateConfig
|
|
51
51
|
* enableOCSPCheck: true || false,
|
|
52
|
+
* ocspLambdaArn: "STRING_VALUE",
|
|
53
|
+
* ocspAuthorizedResponderArn: "STRING_VALUE",
|
|
52
54
|
* },
|
|
53
55
|
* authenticationType: "CUSTOM_AUTH_X509" || "CUSTOM_AUTH" || "AWS_X509" || "AWS_SIGV4" || "DEFAULT",
|
|
54
56
|
* applicationProtocol: "SECURE_MQTT" || "MQTT_WSS" || "HTTPS" || "DEFAULT",
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
+
import { UpdateThingTypeRequest, UpdateThingTypeResponse } from "../models/models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateThingTypeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateThingTypeCommandInput extends UpdateThingTypeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateThingTypeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateThingTypeCommandOutput extends UpdateThingTypeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateThingTypeCommand_base: {
|
|
25
|
+
new (input: UpdateThingTypeCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateThingTypeCommandInput, UpdateThingTypeCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateThingTypeCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateThingTypeCommandInput, UpdateThingTypeCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates a thing type.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTClient, UpdateThingTypeCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
35
|
+
* // const { IoTClient, UpdateThingTypeCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
36
|
+
* const client = new IoTClient(config);
|
|
37
|
+
* const input = { // UpdateThingTypeRequest
|
|
38
|
+
* thingTypeName: "STRING_VALUE", // required
|
|
39
|
+
* thingTypeProperties: { // ThingTypeProperties
|
|
40
|
+
* thingTypeDescription: "STRING_VALUE",
|
|
41
|
+
* searchableAttributes: [ // SearchableAttributes
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* mqtt5Configuration: { // Mqtt5Configuration
|
|
45
|
+
* propagatingAttributes: [ // PropagatingAttributeList
|
|
46
|
+
* { // PropagatingAttribute
|
|
47
|
+
* userPropertyKey: "STRING_VALUE",
|
|
48
|
+
* thingAttribute: "STRING_VALUE",
|
|
49
|
+
* connectionAttribute: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* };
|
|
55
|
+
* const command = new UpdateThingTypeCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // {};
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param UpdateThingTypeCommandInput - {@link UpdateThingTypeCommandInput}
|
|
62
|
+
* @returns {@link UpdateThingTypeCommandOutput}
|
|
63
|
+
* @see {@link UpdateThingTypeCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link UpdateThingTypeCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
68
|
+
* <p>An unexpected error has occurred.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
71
|
+
* <p>The request is not valid.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The specified resource does not exist.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
77
|
+
* <p>The service is temporarily unavailable.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The rate exceeds the limit.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
83
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link IoTServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class UpdateThingTypeCommand extends UpdateThingTypeCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: UpdateThingTypeRequest;
|
|
95
|
+
output: {};
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: UpdateThingTypeCommandInput;
|
|
99
|
+
output: UpdateThingTypeCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -177,6 +177,7 @@ export * from "./ListPolicyPrincipalsCommand";
|
|
|
177
177
|
export * from "./ListPolicyVersionsCommand";
|
|
178
178
|
export * from "./ListPrincipalPoliciesCommand";
|
|
179
179
|
export * from "./ListPrincipalThingsCommand";
|
|
180
|
+
export * from "./ListPrincipalThingsV2Command";
|
|
180
181
|
export * from "./ListProvisioningTemplateVersionsCommand";
|
|
181
182
|
export * from "./ListProvisioningTemplatesCommand";
|
|
182
183
|
export * from "./ListRelatedResourcesForAuditFindingCommand";
|
|
@@ -192,6 +193,7 @@ export * from "./ListTargetsForSecurityProfileCommand";
|
|
|
192
193
|
export * from "./ListThingGroupsCommand";
|
|
193
194
|
export * from "./ListThingGroupsForThingCommand";
|
|
194
195
|
export * from "./ListThingPrincipalsCommand";
|
|
196
|
+
export * from "./ListThingPrincipalsV2Command";
|
|
195
197
|
export * from "./ListThingRegistrationTaskReportsCommand";
|
|
196
198
|
export * from "./ListThingRegistrationTasksCommand";
|
|
197
199
|
export * from "./ListThingTypesCommand";
|
|
@@ -254,5 +256,6 @@ export * from "./UpdateStreamCommand";
|
|
|
254
256
|
export * from "./UpdateThingCommand";
|
|
255
257
|
export * from "./UpdateThingGroupCommand";
|
|
256
258
|
export * from "./UpdateThingGroupsForThingCommand";
|
|
259
|
+
export * from "./UpdateThingTypeCommand";
|
|
257
260
|
export * from "./UpdateTopicRuleDestinationCommand";
|
|
258
261
|
export * from "./ValidateSecurityProfileBehaviorsCommand";
|
|
@@ -2288,6 +2288,18 @@ export declare class VersionConflictException extends __BaseException {
|
|
|
2288
2288
|
*/
|
|
2289
2289
|
constructor(opts: __ExceptionOptionType<VersionConflictException, __BaseException>);
|
|
2290
2290
|
}
|
|
2291
|
+
/**
|
|
2292
|
+
* @public
|
|
2293
|
+
* @enum
|
|
2294
|
+
*/
|
|
2295
|
+
export declare const ThingPrincipalType: {
|
|
2296
|
+
readonly EXCLUSIVE_THING: "EXCLUSIVE_THING";
|
|
2297
|
+
readonly NON_EXCLUSIVE_THING: "NON_EXCLUSIVE_THING";
|
|
2298
|
+
};
|
|
2299
|
+
/**
|
|
2300
|
+
* @public
|
|
2301
|
+
*/
|
|
2302
|
+
export type ThingPrincipalType = (typeof ThingPrincipalType)[keyof typeof ThingPrincipalType];
|
|
2291
2303
|
/**
|
|
2292
2304
|
* <p>The input for the AttachThingPrincipal operation.</p>
|
|
2293
2305
|
* @public
|
|
@@ -2304,6 +2316,25 @@ export interface AttachThingPrincipalRequest {
|
|
|
2304
2316
|
* @public
|
|
2305
2317
|
*/
|
|
2306
2318
|
principal: string | undefined;
|
|
2319
|
+
/**
|
|
2320
|
+
* <p>The type of the relation you want to specify when you attach a principal to a thing.</p>
|
|
2321
|
+
* <ul>
|
|
2322
|
+
* <li>
|
|
2323
|
+
* <p>
|
|
2324
|
+
* <code>EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing, exclusively.
|
|
2325
|
+
* The thing will be the only thing that’s attached to the principal.</p>
|
|
2326
|
+
* </li>
|
|
2327
|
+
* </ul>
|
|
2328
|
+
* <ul>
|
|
2329
|
+
* <li>
|
|
2330
|
+
* <p>
|
|
2331
|
+
* <code>NON_EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing.
|
|
2332
|
+
* Multiple things can be attached to the principal.</p>
|
|
2333
|
+
* </li>
|
|
2334
|
+
* </ul>
|
|
2335
|
+
* @public
|
|
2336
|
+
*/
|
|
2337
|
+
thingPrincipalType?: ThingPrincipalType | undefined;
|
|
2307
2338
|
}
|
|
2308
2339
|
/**
|
|
2309
2340
|
* <p>The output from the AttachThingPrincipal operation.</p>
|
|
@@ -3861,11 +3892,32 @@ export interface ServerCertificateConfig {
|
|
|
3861
3892
|
/**
|
|
3862
3893
|
* <p>A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server
|
|
3863
3894
|
* certificate check is enabled or not.</p>
|
|
3864
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-endpoints-cert-config.html">
|
|
3865
|
-
* configuration</a> from Amazon Web Services IoT Core Developer Guide.</p>
|
|
3895
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-endpoints-cert-config.html">
|
|
3896
|
+
* Server certificate configuration for OCSP stapling</a> from Amazon Web Services IoT Core Developer Guide.</p>
|
|
3866
3897
|
* @public
|
|
3867
3898
|
*/
|
|
3868
3899
|
enableOCSPCheck?: boolean | undefined;
|
|
3900
|
+
/**
|
|
3901
|
+
* <p>The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments
|
|
3902
|
+
* (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic
|
|
3903
|
+
* OCSP responses. The Lambda function accepts a JSON string that's Base64-encoded.
|
|
3904
|
+
* Therefore, you must convert your OCSP response, which is typically in the Distinguished
|
|
3905
|
+
* Encoding Rules (DER) format, into a JSON string that's Base64-encoded. The Lambda
|
|
3906
|
+
* function's response is also a Base64-encoded JSON string and the response payload must not
|
|
3907
|
+
* exceed 8 kilobytes (KiB) in size. The Lambda function must be in the same Amazon Web Services region and
|
|
3908
|
+
* account as the domain configuration.</p>
|
|
3909
|
+
* @public
|
|
3910
|
+
*/
|
|
3911
|
+
ocspLambdaArn?: string | undefined;
|
|
3912
|
+
/**
|
|
3913
|
+
* <p>The Amazon Resource Name (ARN) for an X.509 certificate stored in Amazon Web Services Certificate Manager (ACM).
|
|
3914
|
+
* If provided, Amazon Web Services IoT Core will use this certificate to validate the signature of the received OCSP response.
|
|
3915
|
+
* The OCSP responder must sign responses using either this authorized responder certificate or the issuing certificate,
|
|
3916
|
+
* depending on whether the ARN is provided or not. The certificate must be in the same Amazon Web Services region and account as the domain configuration.
|
|
3917
|
+
* </p>
|
|
3918
|
+
* @public
|
|
3919
|
+
*/
|
|
3920
|
+
ocspAuthorizedResponderArn?: string | undefined;
|
|
3869
3921
|
}
|
|
3870
3922
|
/**
|
|
3871
3923
|
* @public
|
|
@@ -6358,6 +6410,38 @@ export interface CreateThingGroupResponse {
|
|
|
6358
6410
|
*/
|
|
6359
6411
|
thingGroupId?: string | undefined;
|
|
6360
6412
|
}
|
|
6413
|
+
/**
|
|
6414
|
+
* <p>An object that represents the connection attribute, thing attribute, and the user property key.</p>
|
|
6415
|
+
* @public
|
|
6416
|
+
*/
|
|
6417
|
+
export interface PropagatingAttribute {
|
|
6418
|
+
/**
|
|
6419
|
+
* <p>The key of the user property key-value pair.</p>
|
|
6420
|
+
* @public
|
|
6421
|
+
*/
|
|
6422
|
+
userPropertyKey?: string | undefined;
|
|
6423
|
+
/**
|
|
6424
|
+
* <p>The user-defined thing attribute that is propagating for MQTT 5 message enrichment.</p>
|
|
6425
|
+
* @public
|
|
6426
|
+
*/
|
|
6427
|
+
thingAttribute?: string | undefined;
|
|
6428
|
+
/**
|
|
6429
|
+
* <p>The attribute associated with the connection between a device and Amazon Web Services IoT Core.</p>
|
|
6430
|
+
* @public
|
|
6431
|
+
*/
|
|
6432
|
+
connectionAttribute?: string | undefined;
|
|
6433
|
+
}
|
|
6434
|
+
/**
|
|
6435
|
+
* <p>The configuration to add user-defined properties to enrich MQTT 5 messages.</p>
|
|
6436
|
+
* @public
|
|
6437
|
+
*/
|
|
6438
|
+
export interface Mqtt5Configuration {
|
|
6439
|
+
/**
|
|
6440
|
+
* <p>An object that represents the propagating thing attributes and the connection attributes.</p>
|
|
6441
|
+
* @public
|
|
6442
|
+
*/
|
|
6443
|
+
propagatingAttributes?: PropagatingAttribute[] | undefined;
|
|
6444
|
+
}
|
|
6361
6445
|
/**
|
|
6362
6446
|
* <p>The ThingTypeProperties contains information about the thing type including: a thing type description,
|
|
6363
6447
|
* and a list of searchable thing attribute names.</p>
|
|
@@ -6374,6 +6458,11 @@ export interface ThingTypeProperties {
|
|
|
6374
6458
|
* @public
|
|
6375
6459
|
*/
|
|
6376
6460
|
searchableAttributes?: string[] | undefined;
|
|
6461
|
+
/**
|
|
6462
|
+
* <p>The configuration to add user-defined properties to enrich MQTT 5 messages.</p>
|
|
6463
|
+
* @public
|
|
6464
|
+
*/
|
|
6465
|
+
mqtt5Configuration?: Mqtt5Configuration | undefined;
|
|
6377
6466
|
}
|
|
6378
6467
|
/**
|
|
6379
6468
|
* <p>The input for the CreateThingType operation.</p>
|
|
@@ -6733,34 +6822,6 @@ export interface DeleteAuditSuppressionRequest {
|
|
|
6733
6822
|
*/
|
|
6734
6823
|
export interface DeleteAuditSuppressionResponse {
|
|
6735
6824
|
}
|
|
6736
|
-
/**
|
|
6737
|
-
* @public
|
|
6738
|
-
*/
|
|
6739
|
-
export interface DeleteAuthorizerRequest {
|
|
6740
|
-
/**
|
|
6741
|
-
* <p>The name of the authorizer to delete.</p>
|
|
6742
|
-
* @public
|
|
6743
|
-
*/
|
|
6744
|
-
authorizerName: string | undefined;
|
|
6745
|
-
}
|
|
6746
|
-
/**
|
|
6747
|
-
* @public
|
|
6748
|
-
*/
|
|
6749
|
-
export interface DeleteAuthorizerResponse {
|
|
6750
|
-
}
|
|
6751
|
-
/**
|
|
6752
|
-
* <p>You can't delete the resource because it is attached to one or more
|
|
6753
|
-
* resources.</p>
|
|
6754
|
-
* @public
|
|
6755
|
-
*/
|
|
6756
|
-
export declare class DeleteConflictException extends __BaseException {
|
|
6757
|
-
readonly name: "DeleteConflictException";
|
|
6758
|
-
readonly $fault: "client";
|
|
6759
|
-
/**
|
|
6760
|
-
* @internal
|
|
6761
|
-
*/
|
|
6762
|
-
constructor(opts: __ExceptionOptionType<DeleteConflictException, __BaseException>);
|
|
6763
|
-
}
|
|
6764
6825
|
/**
|
|
6765
6826
|
* @internal
|
|
6766
6827
|
*/
|
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
3
|
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AlertTargetType, ApplicationProtocol, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthenticationType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CertificateProviderOperation, ClientCertificateConfig, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricsExportConfig, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionArtifact, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, Sbom, SbomValidationStatus, SchedulingConfig, ServerCertificateConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteAuthorizerRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The name of the authorizer to delete.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
authorizerName: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteAuthorizerResponse {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>You can't delete the resource because it is attached to one or more
|
|
21
|
+
* resources.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export declare class DeleteConflictException extends __BaseException {
|
|
25
|
+
readonly name: "DeleteConflictException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
constructor(opts: __ExceptionOptionType<DeleteConflictException, __BaseException>);
|
|
31
|
+
}
|
|
4
32
|
/**
|
|
5
33
|
* @public
|
|
6
34
|
*/
|
|
@@ -3514,7 +3542,7 @@ export interface DescribeThingTypeResponse {
|
|
|
3514
3542
|
thingTypeArn?: string | undefined;
|
|
3515
3543
|
/**
|
|
3516
3544
|
* <p>The ThingTypeProperties contains information about the thing type including
|
|
3517
|
-
* description,
|
|
3545
|
+
* description, a list of searchable thing attribute names, and MQTT5 configuration.</p>
|
|
3518
3546
|
* @public
|
|
3519
3547
|
*/
|
|
3520
3548
|
thingTypeProperties?: ThingTypeProperties | undefined;
|
|
@@ -6479,74 +6507,6 @@ export interface JobTemplateSummary {
|
|
|
6479
6507
|
*/
|
|
6480
6508
|
createdAt?: Date | undefined;
|
|
6481
6509
|
}
|
|
6482
|
-
/**
|
|
6483
|
-
* @public
|
|
6484
|
-
*/
|
|
6485
|
-
export interface ListJobTemplatesResponse {
|
|
6486
|
-
/**
|
|
6487
|
-
* <p>A list of objects that contain information about the job templates.</p>
|
|
6488
|
-
* @public
|
|
6489
|
-
*/
|
|
6490
|
-
jobTemplates?: JobTemplateSummary[] | undefined;
|
|
6491
|
-
/**
|
|
6492
|
-
* <p>The token for the next set of results, or <b>null</b> if there are no
|
|
6493
|
-
* additional results.</p>
|
|
6494
|
-
* @public
|
|
6495
|
-
*/
|
|
6496
|
-
nextToken?: string | undefined;
|
|
6497
|
-
}
|
|
6498
|
-
/**
|
|
6499
|
-
* @public
|
|
6500
|
-
*/
|
|
6501
|
-
export interface ListManagedJobTemplatesRequest {
|
|
6502
|
-
/**
|
|
6503
|
-
* <p>An optional parameter for template name. If specified, only the versions of the
|
|
6504
|
-
* managed job templates that have the specified template name will be returned.</p>
|
|
6505
|
-
* @public
|
|
6506
|
-
*/
|
|
6507
|
-
templateName?: string | undefined;
|
|
6508
|
-
/**
|
|
6509
|
-
* <p>Maximum number of entries that can be returned.</p>
|
|
6510
|
-
* @public
|
|
6511
|
-
*/
|
|
6512
|
-
maxResults?: number | undefined;
|
|
6513
|
-
/**
|
|
6514
|
-
* <p>The token to retrieve the next set of results.</p>
|
|
6515
|
-
* @public
|
|
6516
|
-
*/
|
|
6517
|
-
nextToken?: string | undefined;
|
|
6518
|
-
}
|
|
6519
|
-
/**
|
|
6520
|
-
* <p>An object that contains information about the managed template.</p>
|
|
6521
|
-
* @public
|
|
6522
|
-
*/
|
|
6523
|
-
export interface ManagedJobTemplateSummary {
|
|
6524
|
-
/**
|
|
6525
|
-
* <p>The Amazon Resource Name (ARN) for a managed template.</p>
|
|
6526
|
-
* @public
|
|
6527
|
-
*/
|
|
6528
|
-
templateArn?: string | undefined;
|
|
6529
|
-
/**
|
|
6530
|
-
* <p>The unique Name for a managed template.</p>
|
|
6531
|
-
* @public
|
|
6532
|
-
*/
|
|
6533
|
-
templateName?: string | undefined;
|
|
6534
|
-
/**
|
|
6535
|
-
* <p>The description for a managed template.</p>
|
|
6536
|
-
* @public
|
|
6537
|
-
*/
|
|
6538
|
-
description?: string | undefined;
|
|
6539
|
-
/**
|
|
6540
|
-
* <p>A list of environments that are supported with the managed job template.</p>
|
|
6541
|
-
* @public
|
|
6542
|
-
*/
|
|
6543
|
-
environments?: string[] | undefined;
|
|
6544
|
-
/**
|
|
6545
|
-
* <p>The version for a managed template.</p>
|
|
6546
|
-
* @public
|
|
6547
|
-
*/
|
|
6548
|
-
templateVersion?: string | undefined;
|
|
6549
|
-
}
|
|
6550
6510
|
/**
|
|
6551
6511
|
* @internal
|
|
6552
6512
|
*/
|