@aws-sdk/client-iot-managed-integrations 3.920.0 → 3.921.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 +8 -0
- package/dist-cjs/index.js +60 -17
- package/dist-es/IoTManagedIntegrations.js +2 -0
- package/dist-es/commands/GetManagedThingCertificateCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +14 -14
- package/dist-es/protocols/Aws_restJson1.js +27 -3
- package/dist-types/IoTManagedIntegrations.d.ts +7 -0
- package/dist-types/IoTManagedIntegrationsClient.d.ts +3 -2
- package/dist-types/commands/CreateAccountAssociationCommand.d.ts +3 -0
- package/dist-types/commands/CreateConnectorDestinationCommand.d.ts +6 -0
- package/dist-types/commands/CreateCredentialLockerCommand.d.ts +1 -1
- package/dist-types/commands/CreateDestinationCommand.d.ts +1 -1
- package/dist-types/commands/CreateManagedThingCommand.d.ts +1 -1
- package/dist-types/commands/CreateOtaTaskCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAccountAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCloudConnectorCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConnectorDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteManagedThingCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterAccountAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudConnectorCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectorDestinationCommand.d.ts +1 -1
- package/dist-types/commands/GetDestinationCommand.d.ts +1 -1
- package/dist-types/commands/GetManagedThingCertificateCommand.d.ts +114 -0
- package/dist-types/commands/GetManagedThingCommand.d.ts +1 -1
- package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetOtaTaskCommand.d.ts +1 -1
- package/dist-types/commands/GetRuntimeLogConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListCloudConnectorsCommand.d.ts +1 -1
- package/dist-types/commands/ListDestinationsCommand.d.ts +1 -1
- package/dist-types/commands/ResetRuntimeLogConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/StartDeviceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCloudConnectorCommand.d.ts +3 -0
- package/dist-types/commands/UpdateDestinationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +41 -16
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/IoTManagedIntegrations.d.ts +17 -0
- package/dist-types/ts3.4/IoTManagedIntegrationsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetManagedThingCertificateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -8
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -482,6 +482,14 @@ GetManagedThingCapabilities
|
|
|
482
482
|
|
|
483
483
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-managed-integrations/command/GetManagedThingCapabilitiesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-managed-integrations/Interface/GetManagedThingCapabilitiesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-managed-integrations/Interface/GetManagedThingCapabilitiesCommandOutput/)
|
|
484
484
|
|
|
485
|
+
</details>
|
|
486
|
+
<details>
|
|
487
|
+
<summary>
|
|
488
|
+
GetManagedThingCertificate
|
|
489
|
+
</summary>
|
|
490
|
+
|
|
491
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-managed-integrations/command/GetManagedThingCertificateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-managed-integrations/Interface/GetManagedThingCertificateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-managed-integrations/Interface/GetManagedThingCertificateCommandOutput/)
|
|
492
|
+
|
|
485
493
|
</details>
|
|
486
494
|
<details>
|
|
487
495
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -220,6 +220,20 @@ class ThrottlingException extends IoTManagedIntegrationsServiceException {
|
|
|
220
220
|
this.Message = opts.Message;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
+
class UnauthorizedException extends IoTManagedIntegrationsServiceException {
|
|
224
|
+
name = "UnauthorizedException";
|
|
225
|
+
$fault = "client";
|
|
226
|
+
Message;
|
|
227
|
+
constructor(opts) {
|
|
228
|
+
super({
|
|
229
|
+
name: "UnauthorizedException",
|
|
230
|
+
$fault: "client",
|
|
231
|
+
...opts,
|
|
232
|
+
});
|
|
233
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
234
|
+
this.Message = opts.Message;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
223
237
|
class ValidationException extends IoTManagedIntegrationsServiceException {
|
|
224
238
|
name = "ValidationException";
|
|
225
239
|
$fault = "client";
|
|
@@ -298,20 +312,6 @@ const Role = {
|
|
|
298
312
|
CONTROLLER: "CONTROLLER",
|
|
299
313
|
DEVICE: "DEVICE",
|
|
300
314
|
};
|
|
301
|
-
class UnauthorizedException extends IoTManagedIntegrationsServiceException {
|
|
302
|
-
name = "UnauthorizedException";
|
|
303
|
-
$fault = "client";
|
|
304
|
-
Message;
|
|
305
|
-
constructor(opts) {
|
|
306
|
-
super({
|
|
307
|
-
name: "UnauthorizedException",
|
|
308
|
-
$fault: "client",
|
|
309
|
-
...opts,
|
|
310
|
-
});
|
|
311
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
312
|
-
this.Message = opts.Message;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
315
|
const EventType = {
|
|
316
316
|
ACCOUNT_ASSOCIATION: "ACCOUNT_ASSOCIATION",
|
|
317
317
|
CONNECTOR_ASSOCIATION: "CONNECTOR_ASSOCIATION",
|
|
@@ -1115,6 +1115,15 @@ const se_GetManagedThingCapabilitiesCommand = async (input, context) => {
|
|
|
1115
1115
|
b.m("GET").h(headers).b(body);
|
|
1116
1116
|
return b.build();
|
|
1117
1117
|
};
|
|
1118
|
+
const se_GetManagedThingCertificateCommand = async (input, context) => {
|
|
1119
|
+
const b = core.requestBuilder(input, context);
|
|
1120
|
+
const headers = {};
|
|
1121
|
+
b.bp("/managed-things-certificate/{Identifier}");
|
|
1122
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
1123
|
+
let body;
|
|
1124
|
+
b.m("GET").h(headers).b(body);
|
|
1125
|
+
return b.build();
|
|
1126
|
+
};
|
|
1118
1127
|
const se_GetManagedThingConnectivityDataCommand = async (input, context) => {
|
|
1119
1128
|
const b = core.requestBuilder(input, context);
|
|
1120
1129
|
const headers = {};
|
|
@@ -2270,6 +2279,21 @@ const de_GetManagedThingCapabilitiesCommand = async (output, context) => {
|
|
|
2270
2279
|
Object.assign(contents, doc);
|
|
2271
2280
|
return contents;
|
|
2272
2281
|
};
|
|
2282
|
+
const de_GetManagedThingCertificateCommand = async (output, context) => {
|
|
2283
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2284
|
+
return de_CommandError(output, context);
|
|
2285
|
+
}
|
|
2286
|
+
const contents = smithyClient.map({
|
|
2287
|
+
$metadata: deserializeMetadata(output),
|
|
2288
|
+
});
|
|
2289
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
2290
|
+
const doc = smithyClient.take(data, {
|
|
2291
|
+
CertificatePem: smithyClient.expectString,
|
|
2292
|
+
ManagedThingId: smithyClient.expectString,
|
|
2293
|
+
});
|
|
2294
|
+
Object.assign(contents, doc);
|
|
2295
|
+
return contents;
|
|
2296
|
+
};
|
|
2273
2297
|
const de_GetManagedThingConnectivityDataCommand = async (output, context) => {
|
|
2274
2298
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2275
2299
|
return de_CommandError(output, context);
|
|
@@ -2967,15 +2991,15 @@ const de_CommandError = async (output, context) => {
|
|
|
2967
2991
|
case "ThrottlingException":
|
|
2968
2992
|
case "com.amazonaws.iotmanagedintegrations#ThrottlingException":
|
|
2969
2993
|
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
2994
|
+
case "UnauthorizedException":
|
|
2995
|
+
case "com.amazonaws.iotmanagedintegrations#UnauthorizedException":
|
|
2996
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput);
|
|
2970
2997
|
case "ValidationException":
|
|
2971
2998
|
case "com.amazonaws.iotmanagedintegrations#ValidationException":
|
|
2972
2999
|
throw await de_ValidationExceptionRes(parsedOutput);
|
|
2973
3000
|
case "ServiceQuotaExceededException":
|
|
2974
3001
|
case "com.amazonaws.iotmanagedintegrations#ServiceQuotaExceededException":
|
|
2975
3002
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
2976
|
-
case "UnauthorizedException":
|
|
2977
|
-
case "com.amazonaws.iotmanagedintegrations#UnauthorizedException":
|
|
2978
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput);
|
|
2979
3003
|
case "LimitExceededException":
|
|
2980
3004
|
case "com.amazonaws.iotmanagedintegrations#LimitExceededException":
|
|
2981
3005
|
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
@@ -4223,6 +4247,23 @@ class GetManagedThingCapabilitiesCommand extends smithyClient.Command
|
|
|
4223
4247
|
.build() {
|
|
4224
4248
|
}
|
|
4225
4249
|
|
|
4250
|
+
class GetManagedThingCertificateCommand extends smithyClient.Command
|
|
4251
|
+
.classBuilder()
|
|
4252
|
+
.ep(commonParams)
|
|
4253
|
+
.m(function (Command, cs, config, o) {
|
|
4254
|
+
return [
|
|
4255
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
4256
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
4257
|
+
];
|
|
4258
|
+
})
|
|
4259
|
+
.s("IotManagedIntegrations", "GetManagedThingCertificate", {})
|
|
4260
|
+
.n("IoTManagedIntegrationsClient", "GetManagedThingCertificateCommand")
|
|
4261
|
+
.f(void 0, void 0)
|
|
4262
|
+
.ser(se_GetManagedThingCertificateCommand)
|
|
4263
|
+
.de(de_GetManagedThingCertificateCommand)
|
|
4264
|
+
.build() {
|
|
4265
|
+
}
|
|
4266
|
+
|
|
4226
4267
|
class GetManagedThingCommand extends smithyClient.Command
|
|
4227
4268
|
.classBuilder()
|
|
4228
4269
|
.ep(commonParams)
|
|
@@ -5075,6 +5116,7 @@ const commands = {
|
|
|
5075
5116
|
GetHubConfigurationCommand,
|
|
5076
5117
|
GetManagedThingCommand,
|
|
5077
5118
|
GetManagedThingCapabilitiesCommand,
|
|
5119
|
+
GetManagedThingCertificateCommand,
|
|
5078
5120
|
GetManagedThingConnectivityDataCommand,
|
|
5079
5121
|
GetManagedThingMetaDataCommand,
|
|
5080
5122
|
GetManagedThingStateCommand,
|
|
@@ -5242,6 +5284,7 @@ exports.GetDeviceDiscoveryResponseFilterSensitiveLog = GetDeviceDiscoveryRespons
|
|
|
5242
5284
|
exports.GetEventLogConfigurationCommand = GetEventLogConfigurationCommand;
|
|
5243
5285
|
exports.GetHubConfigurationCommand = GetHubConfigurationCommand;
|
|
5244
5286
|
exports.GetManagedThingCapabilitiesCommand = GetManagedThingCapabilitiesCommand;
|
|
5287
|
+
exports.GetManagedThingCertificateCommand = GetManagedThingCertificateCommand;
|
|
5245
5288
|
exports.GetManagedThingCommand = GetManagedThingCommand;
|
|
5246
5289
|
exports.GetManagedThingConnectivityDataCommand = GetManagedThingConnectivityDataCommand;
|
|
5247
5290
|
exports.GetManagedThingMetaDataCommand = GetManagedThingMetaDataCommand;
|
|
@@ -33,6 +33,7 @@ import { GetDeviceDiscoveryCommand, } from "./commands/GetDeviceDiscoveryCommand
|
|
|
33
33
|
import { GetEventLogConfigurationCommand, } from "./commands/GetEventLogConfigurationCommand";
|
|
34
34
|
import { GetHubConfigurationCommand, } from "./commands/GetHubConfigurationCommand";
|
|
35
35
|
import { GetManagedThingCapabilitiesCommand, } from "./commands/GetManagedThingCapabilitiesCommand";
|
|
36
|
+
import { GetManagedThingCertificateCommand, } from "./commands/GetManagedThingCertificateCommand";
|
|
36
37
|
import { GetManagedThingCommand, } from "./commands/GetManagedThingCommand";
|
|
37
38
|
import { GetManagedThingConnectivityDataCommand, } from "./commands/GetManagedThingConnectivityDataCommand";
|
|
38
39
|
import { GetManagedThingMetaDataCommand, } from "./commands/GetManagedThingMetaDataCommand";
|
|
@@ -118,6 +119,7 @@ const commands = {
|
|
|
118
119
|
GetHubConfigurationCommand,
|
|
119
120
|
GetManagedThingCommand,
|
|
120
121
|
GetManagedThingCapabilitiesCommand,
|
|
122
|
+
GetManagedThingCertificateCommand,
|
|
121
123
|
GetManagedThingConnectivityDataCommand,
|
|
122
124
|
GetManagedThingMetaDataCommand,
|
|
123
125
|
GetManagedThingStateCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetManagedThingCertificateCommand, se_GetManagedThingCertificateCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetManagedThingCertificateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("IotManagedIntegrations", "GetManagedThingCertificate", {})
|
|
17
|
+
.n("IoTManagedIntegrationsClient", "GetManagedThingCertificateCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetManagedThingCertificateCommand)
|
|
20
|
+
.de(de_GetManagedThingCertificateCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -32,6 +32,7 @@ export * from "./GetDeviceDiscoveryCommand";
|
|
|
32
32
|
export * from "./GetEventLogConfigurationCommand";
|
|
33
33
|
export * from "./GetHubConfigurationCommand";
|
|
34
34
|
export * from "./GetManagedThingCapabilitiesCommand";
|
|
35
|
+
export * from "./GetManagedThingCertificateCommand";
|
|
35
36
|
export * from "./GetManagedThingCommand";
|
|
36
37
|
export * from "./GetManagedThingConnectivityDataCommand";
|
|
37
38
|
export * from "./GetManagedThingMetaDataCommand";
|
|
@@ -104,6 +104,20 @@ export class ThrottlingException extends __BaseException {
|
|
|
104
104
|
this.Message = opts.Message;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
+
export class UnauthorizedException extends __BaseException {
|
|
108
|
+
name = "UnauthorizedException";
|
|
109
|
+
$fault = "client";
|
|
110
|
+
Message;
|
|
111
|
+
constructor(opts) {
|
|
112
|
+
super({
|
|
113
|
+
name: "UnauthorizedException",
|
|
114
|
+
$fault: "client",
|
|
115
|
+
...opts,
|
|
116
|
+
});
|
|
117
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
118
|
+
this.Message = opts.Message;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
107
121
|
export class ValidationException extends __BaseException {
|
|
108
122
|
name = "ValidationException";
|
|
109
123
|
$fault = "client";
|
|
@@ -182,20 +196,6 @@ export const Role = {
|
|
|
182
196
|
CONTROLLER: "CONTROLLER",
|
|
183
197
|
DEVICE: "DEVICE",
|
|
184
198
|
};
|
|
185
|
-
export class UnauthorizedException extends __BaseException {
|
|
186
|
-
name = "UnauthorizedException";
|
|
187
|
-
$fault = "client";
|
|
188
|
-
Message;
|
|
189
|
-
constructor(opts) {
|
|
190
|
-
super({
|
|
191
|
-
name: "UnauthorizedException",
|
|
192
|
-
$fault: "client",
|
|
193
|
-
...opts,
|
|
194
|
-
});
|
|
195
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
196
|
-
this.Message = opts.Message;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
199
|
export const EventType = {
|
|
200
200
|
ACCOUNT_ASSOCIATION: "ACCOUNT_ASSOCIATION",
|
|
201
201
|
CONNECTOR_ASSOCIATION: "CONNECTOR_ASSOCIATION",
|
|
@@ -429,6 +429,15 @@ export const se_GetManagedThingCapabilitiesCommand = async (input, context) => {
|
|
|
429
429
|
b.m("GET").h(headers).b(body);
|
|
430
430
|
return b.build();
|
|
431
431
|
};
|
|
432
|
+
export const se_GetManagedThingCertificateCommand = async (input, context) => {
|
|
433
|
+
const b = rb(input, context);
|
|
434
|
+
const headers = {};
|
|
435
|
+
b.bp("/managed-things-certificate/{Identifier}");
|
|
436
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
437
|
+
let body;
|
|
438
|
+
b.m("GET").h(headers).b(body);
|
|
439
|
+
return b.build();
|
|
440
|
+
};
|
|
432
441
|
export const se_GetManagedThingConnectivityDataCommand = async (input, context) => {
|
|
433
442
|
const b = rb(input, context);
|
|
434
443
|
const headers = {};
|
|
@@ -1584,6 +1593,21 @@ export const de_GetManagedThingCapabilitiesCommand = async (output, context) =>
|
|
|
1584
1593
|
Object.assign(contents, doc);
|
|
1585
1594
|
return contents;
|
|
1586
1595
|
};
|
|
1596
|
+
export const de_GetManagedThingCertificateCommand = async (output, context) => {
|
|
1597
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1598
|
+
return de_CommandError(output, context);
|
|
1599
|
+
}
|
|
1600
|
+
const contents = map({
|
|
1601
|
+
$metadata: deserializeMetadata(output),
|
|
1602
|
+
});
|
|
1603
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1604
|
+
const doc = take(data, {
|
|
1605
|
+
CertificatePem: __expectString,
|
|
1606
|
+
ManagedThingId: __expectString,
|
|
1607
|
+
});
|
|
1608
|
+
Object.assign(contents, doc);
|
|
1609
|
+
return contents;
|
|
1610
|
+
};
|
|
1587
1611
|
export const de_GetManagedThingConnectivityDataCommand = async (output, context) => {
|
|
1588
1612
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1589
1613
|
return de_CommandError(output, context);
|
|
@@ -2281,15 +2305,15 @@ const de_CommandError = async (output, context) => {
|
|
|
2281
2305
|
case "ThrottlingException":
|
|
2282
2306
|
case "com.amazonaws.iotmanagedintegrations#ThrottlingException":
|
|
2283
2307
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2308
|
+
case "UnauthorizedException":
|
|
2309
|
+
case "com.amazonaws.iotmanagedintegrations#UnauthorizedException":
|
|
2310
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2284
2311
|
case "ValidationException":
|
|
2285
2312
|
case "com.amazonaws.iotmanagedintegrations#ValidationException":
|
|
2286
2313
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2287
2314
|
case "ServiceQuotaExceededException":
|
|
2288
2315
|
case "com.amazonaws.iotmanagedintegrations#ServiceQuotaExceededException":
|
|
2289
2316
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2290
|
-
case "UnauthorizedException":
|
|
2291
|
-
case "com.amazonaws.iotmanagedintegrations#UnauthorizedException":
|
|
2292
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2293
2317
|
case "LimitExceededException":
|
|
2294
2318
|
case "com.amazonaws.iotmanagedintegrations#LimitExceededException":
|
|
2295
2319
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
@@ -33,6 +33,7 @@ import { GetDeviceDiscoveryCommandInput, GetDeviceDiscoveryCommandOutput } from
|
|
|
33
33
|
import { GetEventLogConfigurationCommandInput, GetEventLogConfigurationCommandOutput } from "./commands/GetEventLogConfigurationCommand";
|
|
34
34
|
import { GetHubConfigurationCommandInput, GetHubConfigurationCommandOutput } from "./commands/GetHubConfigurationCommand";
|
|
35
35
|
import { GetManagedThingCapabilitiesCommandInput, GetManagedThingCapabilitiesCommandOutput } from "./commands/GetManagedThingCapabilitiesCommand";
|
|
36
|
+
import { GetManagedThingCertificateCommandInput, GetManagedThingCertificateCommandOutput } from "./commands/GetManagedThingCertificateCommand";
|
|
36
37
|
import { GetManagedThingCommandInput, GetManagedThingCommandOutput } from "./commands/GetManagedThingCommand";
|
|
37
38
|
import { GetManagedThingConnectivityDataCommandInput, GetManagedThingConnectivityDataCommandOutput } from "./commands/GetManagedThingConnectivityDataCommand";
|
|
38
39
|
import { GetManagedThingMetaDataCommandInput, GetManagedThingMetaDataCommandOutput } from "./commands/GetManagedThingMetaDataCommand";
|
|
@@ -298,6 +299,12 @@ export interface IoTManagedIntegrations {
|
|
|
298
299
|
getManagedThingCapabilities(args: GetManagedThingCapabilitiesCommandInput, options?: __HttpHandlerOptions): Promise<GetManagedThingCapabilitiesCommandOutput>;
|
|
299
300
|
getManagedThingCapabilities(args: GetManagedThingCapabilitiesCommandInput, cb: (err: any, data?: GetManagedThingCapabilitiesCommandOutput) => void): void;
|
|
300
301
|
getManagedThingCapabilities(args: GetManagedThingCapabilitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetManagedThingCapabilitiesCommandOutput) => void): void;
|
|
302
|
+
/**
|
|
303
|
+
* @see {@link GetManagedThingCertificateCommand}
|
|
304
|
+
*/
|
|
305
|
+
getManagedThingCertificate(args: GetManagedThingCertificateCommandInput, options?: __HttpHandlerOptions): Promise<GetManagedThingCertificateCommandOutput>;
|
|
306
|
+
getManagedThingCertificate(args: GetManagedThingCertificateCommandInput, cb: (err: any, data?: GetManagedThingCertificateCommandOutput) => void): void;
|
|
307
|
+
getManagedThingCertificate(args: GetManagedThingCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetManagedThingCertificateCommandOutput) => void): void;
|
|
301
308
|
/**
|
|
302
309
|
* @see {@link GetManagedThingConnectivityDataCommand}
|
|
303
310
|
*/
|
|
@@ -41,6 +41,7 @@ import { GetDeviceDiscoveryCommandInput, GetDeviceDiscoveryCommandOutput } from
|
|
|
41
41
|
import { GetEventLogConfigurationCommandInput, GetEventLogConfigurationCommandOutput } from "./commands/GetEventLogConfigurationCommand";
|
|
42
42
|
import { GetHubConfigurationCommandInput, GetHubConfigurationCommandOutput } from "./commands/GetHubConfigurationCommand";
|
|
43
43
|
import { GetManagedThingCapabilitiesCommandInput, GetManagedThingCapabilitiesCommandOutput } from "./commands/GetManagedThingCapabilitiesCommand";
|
|
44
|
+
import { GetManagedThingCertificateCommandInput, GetManagedThingCertificateCommandOutput } from "./commands/GetManagedThingCertificateCommand";
|
|
44
45
|
import { GetManagedThingCommandInput, GetManagedThingCommandOutput } from "./commands/GetManagedThingCommand";
|
|
45
46
|
import { GetManagedThingConnectivityDataCommandInput, GetManagedThingConnectivityDataCommandOutput } from "./commands/GetManagedThingConnectivityDataCommand";
|
|
46
47
|
import { GetManagedThingMetaDataCommandInput, GetManagedThingMetaDataCommandOutput } from "./commands/GetManagedThingMetaDataCommand";
|
|
@@ -95,11 +96,11 @@ export { __Client };
|
|
|
95
96
|
/**
|
|
96
97
|
* @public
|
|
97
98
|
*/
|
|
98
|
-
export type ServiceInputTypes = CreateAccountAssociationCommandInput | CreateCloudConnectorCommandInput | CreateConnectorDestinationCommandInput | CreateCredentialLockerCommandInput | CreateDestinationCommandInput | CreateEventLogConfigurationCommandInput | CreateManagedThingCommandInput | CreateNotificationConfigurationCommandInput | CreateOtaTaskCommandInput | CreateOtaTaskConfigurationCommandInput | CreateProvisioningProfileCommandInput | DeleteAccountAssociationCommandInput | DeleteCloudConnectorCommandInput | DeleteConnectorDestinationCommandInput | DeleteCredentialLockerCommandInput | DeleteDestinationCommandInput | DeleteEventLogConfigurationCommandInput | DeleteManagedThingCommandInput | DeleteNotificationConfigurationCommandInput | DeleteOtaTaskCommandInput | DeleteOtaTaskConfigurationCommandInput | DeleteProvisioningProfileCommandInput | DeregisterAccountAssociationCommandInput | GetAccountAssociationCommandInput | GetCloudConnectorCommandInput | GetConnectorDestinationCommandInput | GetCredentialLockerCommandInput | GetCustomEndpointCommandInput | GetDefaultEncryptionConfigurationCommandInput | GetDestinationCommandInput | GetDeviceDiscoveryCommandInput | GetEventLogConfigurationCommandInput | GetHubConfigurationCommandInput | GetManagedThingCapabilitiesCommandInput | GetManagedThingCommandInput | GetManagedThingConnectivityDataCommandInput | GetManagedThingMetaDataCommandInput | GetManagedThingStateCommandInput | GetNotificationConfigurationCommandInput | GetOtaTaskCommandInput | GetOtaTaskConfigurationCommandInput | GetProvisioningProfileCommandInput | GetRuntimeLogConfigurationCommandInput | GetSchemaVersionCommandInput | ListAccountAssociationsCommandInput | ListCloudConnectorsCommandInput | ListConnectorDestinationsCommandInput | ListCredentialLockersCommandInput | ListDestinationsCommandInput | ListDeviceDiscoveriesCommandInput | ListDiscoveredDevicesCommandInput | ListEventLogConfigurationsCommandInput | ListManagedThingAccountAssociationsCommandInput | ListManagedThingSchemasCommandInput | ListManagedThingsCommandInput | ListNotificationConfigurationsCommandInput | ListOtaTaskConfigurationsCommandInput | ListOtaTaskExecutionsCommandInput | ListOtaTasksCommandInput | ListProvisioningProfilesCommandInput | ListSchemaVersionsCommandInput | ListTagsForResourceCommandInput | PutDefaultEncryptionConfigurationCommandInput | PutHubConfigurationCommandInput | PutRuntimeLogConfigurationCommandInput | RegisterAccountAssociationCommandInput | RegisterCustomEndpointCommandInput | ResetRuntimeLogConfigurationCommandInput | SendConnectorEventCommandInput | SendManagedThingCommandCommandInput | StartAccountAssociationRefreshCommandInput | StartDeviceDiscoveryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountAssociationCommandInput | UpdateCloudConnectorCommandInput | UpdateConnectorDestinationCommandInput | UpdateDestinationCommandInput | UpdateEventLogConfigurationCommandInput | UpdateManagedThingCommandInput | UpdateNotificationConfigurationCommandInput | UpdateOtaTaskCommandInput;
|
|
99
|
+
export type ServiceInputTypes = CreateAccountAssociationCommandInput | CreateCloudConnectorCommandInput | CreateConnectorDestinationCommandInput | CreateCredentialLockerCommandInput | CreateDestinationCommandInput | CreateEventLogConfigurationCommandInput | CreateManagedThingCommandInput | CreateNotificationConfigurationCommandInput | CreateOtaTaskCommandInput | CreateOtaTaskConfigurationCommandInput | CreateProvisioningProfileCommandInput | DeleteAccountAssociationCommandInput | DeleteCloudConnectorCommandInput | DeleteConnectorDestinationCommandInput | DeleteCredentialLockerCommandInput | DeleteDestinationCommandInput | DeleteEventLogConfigurationCommandInput | DeleteManagedThingCommandInput | DeleteNotificationConfigurationCommandInput | DeleteOtaTaskCommandInput | DeleteOtaTaskConfigurationCommandInput | DeleteProvisioningProfileCommandInput | DeregisterAccountAssociationCommandInput | GetAccountAssociationCommandInput | GetCloudConnectorCommandInput | GetConnectorDestinationCommandInput | GetCredentialLockerCommandInput | GetCustomEndpointCommandInput | GetDefaultEncryptionConfigurationCommandInput | GetDestinationCommandInput | GetDeviceDiscoveryCommandInput | GetEventLogConfigurationCommandInput | GetHubConfigurationCommandInput | GetManagedThingCapabilitiesCommandInput | GetManagedThingCertificateCommandInput | GetManagedThingCommandInput | GetManagedThingConnectivityDataCommandInput | GetManagedThingMetaDataCommandInput | GetManagedThingStateCommandInput | GetNotificationConfigurationCommandInput | GetOtaTaskCommandInput | GetOtaTaskConfigurationCommandInput | GetProvisioningProfileCommandInput | GetRuntimeLogConfigurationCommandInput | GetSchemaVersionCommandInput | ListAccountAssociationsCommandInput | ListCloudConnectorsCommandInput | ListConnectorDestinationsCommandInput | ListCredentialLockersCommandInput | ListDestinationsCommandInput | ListDeviceDiscoveriesCommandInput | ListDiscoveredDevicesCommandInput | ListEventLogConfigurationsCommandInput | ListManagedThingAccountAssociationsCommandInput | ListManagedThingSchemasCommandInput | ListManagedThingsCommandInput | ListNotificationConfigurationsCommandInput | ListOtaTaskConfigurationsCommandInput | ListOtaTaskExecutionsCommandInput | ListOtaTasksCommandInput | ListProvisioningProfilesCommandInput | ListSchemaVersionsCommandInput | ListTagsForResourceCommandInput | PutDefaultEncryptionConfigurationCommandInput | PutHubConfigurationCommandInput | PutRuntimeLogConfigurationCommandInput | RegisterAccountAssociationCommandInput | RegisterCustomEndpointCommandInput | ResetRuntimeLogConfigurationCommandInput | SendConnectorEventCommandInput | SendManagedThingCommandCommandInput | StartAccountAssociationRefreshCommandInput | StartDeviceDiscoveryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountAssociationCommandInput | UpdateCloudConnectorCommandInput | UpdateConnectorDestinationCommandInput | UpdateDestinationCommandInput | UpdateEventLogConfigurationCommandInput | UpdateManagedThingCommandInput | UpdateNotificationConfigurationCommandInput | UpdateOtaTaskCommandInput;
|
|
99
100
|
/**
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
|
-
export type ServiceOutputTypes = CreateAccountAssociationCommandOutput | CreateCloudConnectorCommandOutput | CreateConnectorDestinationCommandOutput | CreateCredentialLockerCommandOutput | CreateDestinationCommandOutput | CreateEventLogConfigurationCommandOutput | CreateManagedThingCommandOutput | CreateNotificationConfigurationCommandOutput | CreateOtaTaskCommandOutput | CreateOtaTaskConfigurationCommandOutput | CreateProvisioningProfileCommandOutput | DeleteAccountAssociationCommandOutput | DeleteCloudConnectorCommandOutput | DeleteConnectorDestinationCommandOutput | DeleteCredentialLockerCommandOutput | DeleteDestinationCommandOutput | DeleteEventLogConfigurationCommandOutput | DeleteManagedThingCommandOutput | DeleteNotificationConfigurationCommandOutput | DeleteOtaTaskCommandOutput | DeleteOtaTaskConfigurationCommandOutput | DeleteProvisioningProfileCommandOutput | DeregisterAccountAssociationCommandOutput | GetAccountAssociationCommandOutput | GetCloudConnectorCommandOutput | GetConnectorDestinationCommandOutput | GetCredentialLockerCommandOutput | GetCustomEndpointCommandOutput | GetDefaultEncryptionConfigurationCommandOutput | GetDestinationCommandOutput | GetDeviceDiscoveryCommandOutput | GetEventLogConfigurationCommandOutput | GetHubConfigurationCommandOutput | GetManagedThingCapabilitiesCommandOutput | GetManagedThingCommandOutput | GetManagedThingConnectivityDataCommandOutput | GetManagedThingMetaDataCommandOutput | GetManagedThingStateCommandOutput | GetNotificationConfigurationCommandOutput | GetOtaTaskCommandOutput | GetOtaTaskConfigurationCommandOutput | GetProvisioningProfileCommandOutput | GetRuntimeLogConfigurationCommandOutput | GetSchemaVersionCommandOutput | ListAccountAssociationsCommandOutput | ListCloudConnectorsCommandOutput | ListConnectorDestinationsCommandOutput | ListCredentialLockersCommandOutput | ListDestinationsCommandOutput | ListDeviceDiscoveriesCommandOutput | ListDiscoveredDevicesCommandOutput | ListEventLogConfigurationsCommandOutput | ListManagedThingAccountAssociationsCommandOutput | ListManagedThingSchemasCommandOutput | ListManagedThingsCommandOutput | ListNotificationConfigurationsCommandOutput | ListOtaTaskConfigurationsCommandOutput | ListOtaTaskExecutionsCommandOutput | ListOtaTasksCommandOutput | ListProvisioningProfilesCommandOutput | ListSchemaVersionsCommandOutput | ListTagsForResourceCommandOutput | PutDefaultEncryptionConfigurationCommandOutput | PutHubConfigurationCommandOutput | PutRuntimeLogConfigurationCommandOutput | RegisterAccountAssociationCommandOutput | RegisterCustomEndpointCommandOutput | ResetRuntimeLogConfigurationCommandOutput | SendConnectorEventCommandOutput | SendManagedThingCommandCommandOutput | StartAccountAssociationRefreshCommandOutput | StartDeviceDiscoveryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountAssociationCommandOutput | UpdateCloudConnectorCommandOutput | UpdateConnectorDestinationCommandOutput | UpdateDestinationCommandOutput | UpdateEventLogConfigurationCommandOutput | UpdateManagedThingCommandOutput | UpdateNotificationConfigurationCommandOutput | UpdateOtaTaskCommandOutput;
|
|
103
|
+
export type ServiceOutputTypes = CreateAccountAssociationCommandOutput | CreateCloudConnectorCommandOutput | CreateConnectorDestinationCommandOutput | CreateCredentialLockerCommandOutput | CreateDestinationCommandOutput | CreateEventLogConfigurationCommandOutput | CreateManagedThingCommandOutput | CreateNotificationConfigurationCommandOutput | CreateOtaTaskCommandOutput | CreateOtaTaskConfigurationCommandOutput | CreateProvisioningProfileCommandOutput | DeleteAccountAssociationCommandOutput | DeleteCloudConnectorCommandOutput | DeleteConnectorDestinationCommandOutput | DeleteCredentialLockerCommandOutput | DeleteDestinationCommandOutput | DeleteEventLogConfigurationCommandOutput | DeleteManagedThingCommandOutput | DeleteNotificationConfigurationCommandOutput | DeleteOtaTaskCommandOutput | DeleteOtaTaskConfigurationCommandOutput | DeleteProvisioningProfileCommandOutput | DeregisterAccountAssociationCommandOutput | GetAccountAssociationCommandOutput | GetCloudConnectorCommandOutput | GetConnectorDestinationCommandOutput | GetCredentialLockerCommandOutput | GetCustomEndpointCommandOutput | GetDefaultEncryptionConfigurationCommandOutput | GetDestinationCommandOutput | GetDeviceDiscoveryCommandOutput | GetEventLogConfigurationCommandOutput | GetHubConfigurationCommandOutput | GetManagedThingCapabilitiesCommandOutput | GetManagedThingCertificateCommandOutput | GetManagedThingCommandOutput | GetManagedThingConnectivityDataCommandOutput | GetManagedThingMetaDataCommandOutput | GetManagedThingStateCommandOutput | GetNotificationConfigurationCommandOutput | GetOtaTaskCommandOutput | GetOtaTaskConfigurationCommandOutput | GetProvisioningProfileCommandOutput | GetRuntimeLogConfigurationCommandOutput | GetSchemaVersionCommandOutput | ListAccountAssociationsCommandOutput | ListCloudConnectorsCommandOutput | ListConnectorDestinationsCommandOutput | ListCredentialLockersCommandOutput | ListDestinationsCommandOutput | ListDeviceDiscoveriesCommandOutput | ListDiscoveredDevicesCommandOutput | ListEventLogConfigurationsCommandOutput | ListManagedThingAccountAssociationsCommandOutput | ListManagedThingSchemasCommandOutput | ListManagedThingsCommandOutput | ListNotificationConfigurationsCommandOutput | ListOtaTaskConfigurationsCommandOutput | ListOtaTaskExecutionsCommandOutput | ListOtaTasksCommandOutput | ListProvisioningProfilesCommandOutput | ListSchemaVersionsCommandOutput | ListTagsForResourceCommandOutput | PutDefaultEncryptionConfigurationCommandOutput | PutHubConfigurationCommandOutput | PutRuntimeLogConfigurationCommandOutput | RegisterAccountAssociationCommandOutput | RegisterCustomEndpointCommandOutput | ResetRuntimeLogConfigurationCommandOutput | SendConnectorEventCommandOutput | SendManagedThingCommandCommandOutput | StartAccountAssociationRefreshCommandOutput | StartDeviceDiscoveryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountAssociationCommandOutput | UpdateCloudConnectorCommandOutput | UpdateConnectorDestinationCommandOutput | UpdateDestinationCommandOutput | UpdateEventLogConfigurationCommandOutput | UpdateManagedThingCommandOutput | UpdateNotificationConfigurationCommandOutput | UpdateOtaTaskCommandOutput;
|
|
103
104
|
/**
|
|
104
105
|
* @public
|
|
105
106
|
*/
|
|
@@ -80,6 +80,9 @@ declare const CreateAccountAssociationCommand_base: {
|
|
|
80
80
|
* @throws {@link ThrottlingException} (client fault)
|
|
81
81
|
* <p>The rate exceeds the limit.</p>
|
|
82
82
|
*
|
|
83
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
84
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
85
|
+
*
|
|
83
86
|
* @throws {@link ValidationException} (client fault)
|
|
84
87
|
* <p>A validation error occurred when performing the API request.</p>
|
|
85
88
|
*
|
|
@@ -83,9 +83,15 @@ declare const CreateConnectorDestinationCommand_base: {
|
|
|
83
83
|
* @throws {@link InternalServerException} (server fault)
|
|
84
84
|
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
85
85
|
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>The specified resource does not exist.</p>
|
|
88
|
+
*
|
|
86
89
|
* @throws {@link ThrottlingException} (client fault)
|
|
87
90
|
* <p>The rate exceeds the limit.</p>
|
|
88
91
|
*
|
|
92
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
93
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
94
|
+
*
|
|
89
95
|
* @throws {@link ValidationException} (client fault)
|
|
90
96
|
* <p>A validation error occurred when performing the API request.</p>
|
|
91
97
|
*
|
|
@@ -27,7 +27,7 @@ declare const CreateCredentialLockerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Create a
|
|
30
|
+
* <p>Create a credential locker.</p> <note> <p>This operation will not trigger the creation of all the manufacturing resources.</p> </note>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const CreateDestinationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> Create a destination
|
|
30
|
+
* <p> Create a notification destination such as Kinesis Data Streams that receive events and notifications from Managed integrations. Managed integrations uses the destination to determine where to deliver notifications.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const CreateManagedThingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a managed thing. A managed thing contains the device identifier, protocol supported, and capabilities of the device in a
|
|
30
|
+
* <p>Creates a managed thing. A managed thing contains the device identifier, protocol supported, and capabilities of the device in a data model format defined by Managed integrations.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const CreateOtaTaskCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Create an over-the-air (OTA) task to
|
|
30
|
+
* <p>Create an over-the-air (OTA) task to target a device.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteAccountAssociationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Remove a third
|
|
30
|
+
* <p>Remove a third-party account association for an end user.</p> <note> <p>You must first call the <code>DeregisterAccountAssociation</code> to remove the connection between the managed thing and the third-party account before calling the <code>DeleteAccountAssociation</code> API.</p> </note>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -63,6 +63,9 @@ declare const DeleteCloudConnectorCommand_base: {
|
|
|
63
63
|
* @throws {@link ThrottlingException} (client fault)
|
|
64
64
|
* <p>The rate exceeds the limit.</p>
|
|
65
65
|
*
|
|
66
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
67
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
68
|
+
*
|
|
66
69
|
* @throws {@link ValidationException} (client fault)
|
|
67
70
|
* <p>A validation error occurred when performing the API request.</p>
|
|
68
71
|
*
|
|
@@ -27,7 +27,7 @@ declare const DeleteConnectorDestinationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Delete a connector destination
|
|
30
|
+
* <p>Delete a connector destination linked to a cloud-to-cloud (C2C) connector.</p> <note> <p>Deletion can't be done if the account association has used this connector destination.</p> </note>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteDestinationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a
|
|
30
|
+
* <p>Deletes a notification destination specified by name. </p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteManagedThingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Delete a managed thing.
|
|
30
|
+
* <p>Delete a managed thing. For direct-connected and hub-connected devices connecting with Managed integrations via a controller, all of the devices connected to it will have their status changed to <code>PENDING</code>. It is not possible to remove a cloud-to-cloud device.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeregisterAccountAssociationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Deregister an account association from a managed thing.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetCloudConnectorCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Get configuration details for a cloud connector.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetConnectorDestinationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Get
|
|
30
|
+
* <p>Get connector destination details linked to a cloud-to-cloud (C2C) connector.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetDestinationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Gets a destination by
|
|
30
|
+
* <p>Gets a destination by name. </p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTManagedIntegrationsClient";
|
|
4
|
+
import { GetManagedThingCertificateRequest, GetManagedThingCertificateResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetManagedThingCertificateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetManagedThingCertificateCommandInput extends GetManagedThingCertificateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetManagedThingCertificateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetManagedThingCertificateCommandOutput extends GetManagedThingCertificateResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetManagedThingCertificateCommand_base: {
|
|
25
|
+
new (input: GetManagedThingCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedThingCertificateCommandInput, GetManagedThingCertificateCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetManagedThingCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedThingCertificateCommandInput, GetManagedThingCertificateCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the certificate PEM for a managed IoT thing.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, GetManagedThingCertificateCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, GetManagedThingCertificateCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* // import type { IoTManagedIntegrationsClientConfig } from "@aws-sdk/client-iot-managed-integrations";
|
|
37
|
+
* const config = {}; // type is IoTManagedIntegrationsClientConfig
|
|
38
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
39
|
+
* const input = { // GetManagedThingCertificateRequest
|
|
40
|
+
* Identifier: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetManagedThingCertificateCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetManagedThingCertificateResponse
|
|
45
|
+
* // ManagedThingId: "STRING_VALUE",
|
|
46
|
+
* // CertificatePem: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param GetManagedThingCertificateCommandInput - {@link GetManagedThingCertificateCommandInput}
|
|
52
|
+
* @returns {@link GetManagedThingCertificateCommandOutput}
|
|
53
|
+
* @see {@link GetManagedThingCertificateCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link GetManagedThingCertificateCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>User is not authorized.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The specified resource does not exist.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
67
|
+
* <p>The service is temporarily unavailable.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The rate exceeds the limit.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
73
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @example Get managed thing certificate
|
|
83
|
+
* ```javascript
|
|
84
|
+
* //
|
|
85
|
+
* const input = {
|
|
86
|
+
* Identifier: "example-managed-thing-id"
|
|
87
|
+
* };
|
|
88
|
+
* const command = new GetManagedThingCertificateCommand(input);
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* {
|
|
92
|
+
* CertificatePem: "-----BEGIN CERTIFICATE-----
|
|
93
|
+
* MIIBkTCB+wIJAKHHH...
|
|
94
|
+
* -----END CERTIFICATE-----",
|
|
95
|
+
* ManagedThingId: "example-managed-thing-id"
|
|
96
|
+
* }
|
|
97
|
+
* *\/
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class GetManagedThingCertificateCommand extends GetManagedThingCertificateCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: GetManagedThingCertificateRequest;
|
|
107
|
+
output: GetManagedThingCertificateResponse;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: GetManagedThingCertificateCommandInput;
|
|
111
|
+
output: GetManagedThingCertificateCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const GetManagedThingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> Get
|
|
30
|
+
* <p> Get details of a managed thing including its attributes and capabilities.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetNotificationConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> Get a notification configuration.</p>
|
|
30
|
+
* <p> Get a notification configuration for a specified event type.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetOtaTaskCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Get the over-the-air (OTA) task.</p>
|
|
30
|
+
* <p>Get details of the over-the-air (OTA) task by its task id.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetRuntimeLogConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Get the runtime log configuration for a specific managed thing
|
|
30
|
+
* <p>Get the runtime log configuration for a specific managed thing.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ListCloudConnectorsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of connectors
|
|
30
|
+
* <p>Returns a list of connectors filtered by its Lambda Amazon Resource Name (ARN) and <code>type</code>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ListDestinationsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> List all
|
|
30
|
+
* <p> List all notification destinations.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ResetRuntimeLogConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Reset a runtime log configuration for a specific managed thing
|
|
30
|
+
* <p>Reset a runtime log configuration for a specific managed thing.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const StartDeviceDiscoveryCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> This API is used to start device discovery for hub-connected and third-party-connected devices. The authentication material (install code) is
|
|
30
|
+
* <p> This API is used to start device discovery for hub-connected and third-party-connected devices. The authentication material (install code) is delivered as a message to the controller instructing it to start the discovery.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -65,6 +65,9 @@ declare const UpdateCloudConnectorCommand_base: {
|
|
|
65
65
|
* @throws {@link ThrottlingException} (client fault)
|
|
66
66
|
* <p>The rate exceeds the limit.</p>
|
|
67
67
|
*
|
|
68
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
69
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
70
|
+
*
|
|
68
71
|
* @throws {@link ValidationException} (client fault)
|
|
69
72
|
* <p>A validation error occurred when performing the API request.</p>
|
|
70
73
|
*
|
|
@@ -27,7 +27,7 @@ declare const UpdateDestinationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> Update a destination specified by
|
|
30
|
+
* <p> Update a destination specified by name. </p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -32,6 +32,7 @@ export * from "./GetDeviceDiscoveryCommand";
|
|
|
32
32
|
export * from "./GetEventLogConfigurationCommand";
|
|
33
33
|
export * from "./GetHubConfigurationCommand";
|
|
34
34
|
export * from "./GetManagedThingCapabilitiesCommand";
|
|
35
|
+
export * from "./GetManagedThingCertificateCommand";
|
|
35
36
|
export * from "./GetManagedThingCommand";
|
|
36
37
|
export * from "./GetManagedThingConnectivityDataCommand";
|
|
37
38
|
export * from "./GetManagedThingMetaDataCommand";
|
|
@@ -251,6 +251,19 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
251
251
|
*/
|
|
252
252
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
253
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
259
|
+
readonly name: "UnauthorizedException";
|
|
260
|
+
readonly $fault: "client";
|
|
261
|
+
Message?: string | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* @internal
|
|
264
|
+
*/
|
|
265
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
266
|
+
}
|
|
254
267
|
/**
|
|
255
268
|
* <p>A validation error occurred when performing the API request.</p>
|
|
256
269
|
* @public
|
|
@@ -1531,19 +1544,6 @@ export interface CreateManagedThingResponse {
|
|
|
1531
1544
|
*/
|
|
1532
1545
|
CreatedAt?: Date | undefined;
|
|
1533
1546
|
}
|
|
1534
|
-
/**
|
|
1535
|
-
* <p>You are not authorized to perform this operation.</p>
|
|
1536
|
-
* @public
|
|
1537
|
-
*/
|
|
1538
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
1539
|
-
readonly name: "UnauthorizedException";
|
|
1540
|
-
readonly $fault: "client";
|
|
1541
|
-
Message?: string | undefined;
|
|
1542
|
-
/**
|
|
1543
|
-
* @internal
|
|
1544
|
-
*/
|
|
1545
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
1546
|
-
}
|
|
1547
1547
|
/**
|
|
1548
1548
|
* @public
|
|
1549
1549
|
* @enum
|
|
@@ -3310,6 +3310,31 @@ export interface GetManagedThingCapabilitiesResponse {
|
|
|
3310
3310
|
*/
|
|
3311
3311
|
CapabilityReport?: CapabilityReport | undefined;
|
|
3312
3312
|
}
|
|
3313
|
+
/**
|
|
3314
|
+
* @public
|
|
3315
|
+
*/
|
|
3316
|
+
export interface GetManagedThingCertificateRequest {
|
|
3317
|
+
/**
|
|
3318
|
+
* <p>The identifier of the managed thing.</p>
|
|
3319
|
+
* @public
|
|
3320
|
+
*/
|
|
3321
|
+
Identifier: string | undefined;
|
|
3322
|
+
}
|
|
3323
|
+
/**
|
|
3324
|
+
* @public
|
|
3325
|
+
*/
|
|
3326
|
+
export interface GetManagedThingCertificateResponse {
|
|
3327
|
+
/**
|
|
3328
|
+
* <p>The identifier of the managed thing.</p>
|
|
3329
|
+
* @public
|
|
3330
|
+
*/
|
|
3331
|
+
ManagedThingId?: string | undefined;
|
|
3332
|
+
/**
|
|
3333
|
+
* <p>The PEM-encoded certificate for the managed thing.</p>
|
|
3334
|
+
* @public
|
|
3335
|
+
*/
|
|
3336
|
+
CertificatePem?: string | undefined;
|
|
3337
|
+
}
|
|
3313
3338
|
/**
|
|
3314
3339
|
* @public
|
|
3315
3340
|
*/
|
|
@@ -3710,7 +3735,7 @@ export interface GetProvisioningProfileResponse {
|
|
|
3710
3735
|
*/
|
|
3711
3736
|
ProvisioningType?: ProvisioningType | undefined;
|
|
3712
3737
|
/**
|
|
3713
|
-
* <p>The provisioning profile id
|
|
3738
|
+
* <p>The provisioning profile id.</p>
|
|
3714
3739
|
* @public
|
|
3715
3740
|
*/
|
|
3716
3741
|
Id?: string | undefined;
|
|
@@ -4096,7 +4121,7 @@ export interface SendManagedThingCommandRequest {
|
|
|
4096
4121
|
*/
|
|
4097
4122
|
export interface SendManagedThingCommandResponse {
|
|
4098
4123
|
/**
|
|
4099
|
-
* <p>The trace request identifier. This is
|
|
4124
|
+
* <p>The trace request identifier. This is generated by IoT managed integrations and can be used to trace this command and its related operations in CloudWatch.</p>
|
|
4100
4125
|
* @public
|
|
4101
4126
|
*/
|
|
4102
4127
|
TraceId?: string | undefined;
|
|
@@ -4994,7 +5019,7 @@ export interface SendConnectorEventRequest {
|
|
|
4994
5019
|
*/
|
|
4995
5020
|
ConnectorDeviceId?: string | undefined;
|
|
4996
5021
|
/**
|
|
4997
|
-
* <p>The trace request identifier
|
|
5022
|
+
* <p>The trace request identifier. This is generated by IoT managed integrations and can be used to trace this command and its related operations in CloudWatch.</p>
|
|
4998
5023
|
* @public
|
|
4999
5024
|
*/
|
|
5000
5025
|
TraceId?: string | undefined;
|
|
@@ -34,6 +34,7 @@ import { GetDeviceDiscoveryCommandInput, GetDeviceDiscoveryCommandOutput } from
|
|
|
34
34
|
import { GetEventLogConfigurationCommandInput, GetEventLogConfigurationCommandOutput } from "../commands/GetEventLogConfigurationCommand";
|
|
35
35
|
import { GetHubConfigurationCommandInput, GetHubConfigurationCommandOutput } from "../commands/GetHubConfigurationCommand";
|
|
36
36
|
import { GetManagedThingCapabilitiesCommandInput, GetManagedThingCapabilitiesCommandOutput } from "../commands/GetManagedThingCapabilitiesCommand";
|
|
37
|
+
import { GetManagedThingCertificateCommandInput, GetManagedThingCertificateCommandOutput } from "../commands/GetManagedThingCertificateCommand";
|
|
37
38
|
import { GetManagedThingCommandInput, GetManagedThingCommandOutput } from "../commands/GetManagedThingCommand";
|
|
38
39
|
import { GetManagedThingConnectivityDataCommandInput, GetManagedThingConnectivityDataCommandOutput } from "../commands/GetManagedThingConnectivityDataCommand";
|
|
39
40
|
import { GetManagedThingMetaDataCommandInput, GetManagedThingMetaDataCommandOutput } from "../commands/GetManagedThingMetaDataCommand";
|
|
@@ -222,6 +223,10 @@ export declare const se_GetManagedThingCommand: (input: GetManagedThingCommandIn
|
|
|
222
223
|
* serializeAws_restJson1GetManagedThingCapabilitiesCommand
|
|
223
224
|
*/
|
|
224
225
|
export declare const se_GetManagedThingCapabilitiesCommand: (input: GetManagedThingCapabilitiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
226
|
+
/**
|
|
227
|
+
* serializeAws_restJson1GetManagedThingCertificateCommand
|
|
228
|
+
*/
|
|
229
|
+
export declare const se_GetManagedThingCertificateCommand: (input: GetManagedThingCertificateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
225
230
|
/**
|
|
226
231
|
* serializeAws_restJson1GetManagedThingConnectivityDataCommand
|
|
227
232
|
*/
|
|
@@ -550,6 +555,10 @@ export declare const de_GetManagedThingCommand: (output: __HttpResponse, context
|
|
|
550
555
|
* deserializeAws_restJson1GetManagedThingCapabilitiesCommand
|
|
551
556
|
*/
|
|
552
557
|
export declare const de_GetManagedThingCapabilitiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetManagedThingCapabilitiesCommandOutput>;
|
|
558
|
+
/**
|
|
559
|
+
* deserializeAws_restJson1GetManagedThingCertificateCommand
|
|
560
|
+
*/
|
|
561
|
+
export declare const de_GetManagedThingCertificateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetManagedThingCertificateCommandOutput>;
|
|
553
562
|
/**
|
|
554
563
|
* deserializeAws_restJson1GetManagedThingConnectivityDataCommand
|
|
555
564
|
*/
|
|
@@ -135,6 +135,10 @@ import {
|
|
|
135
135
|
GetManagedThingCapabilitiesCommandInput,
|
|
136
136
|
GetManagedThingCapabilitiesCommandOutput,
|
|
137
137
|
} from "./commands/GetManagedThingCapabilitiesCommand";
|
|
138
|
+
import {
|
|
139
|
+
GetManagedThingCertificateCommandInput,
|
|
140
|
+
GetManagedThingCertificateCommandOutput,
|
|
141
|
+
} from "./commands/GetManagedThingCertificateCommand";
|
|
138
142
|
import {
|
|
139
143
|
GetManagedThingCommandInput,
|
|
140
144
|
GetManagedThingCommandOutput,
|
|
@@ -795,6 +799,19 @@ export interface IoTManagedIntegrations {
|
|
|
795
799
|
options: __HttpHandlerOptions,
|
|
796
800
|
cb: (err: any, data?: GetManagedThingCapabilitiesCommandOutput) => void
|
|
797
801
|
): void;
|
|
802
|
+
getManagedThingCertificate(
|
|
803
|
+
args: GetManagedThingCertificateCommandInput,
|
|
804
|
+
options?: __HttpHandlerOptions
|
|
805
|
+
): Promise<GetManagedThingCertificateCommandOutput>;
|
|
806
|
+
getManagedThingCertificate(
|
|
807
|
+
args: GetManagedThingCertificateCommandInput,
|
|
808
|
+
cb: (err: any, data?: GetManagedThingCertificateCommandOutput) => void
|
|
809
|
+
): void;
|
|
810
|
+
getManagedThingCertificate(
|
|
811
|
+
args: GetManagedThingCertificateCommandInput,
|
|
812
|
+
options: __HttpHandlerOptions,
|
|
813
|
+
cb: (err: any, data?: GetManagedThingCertificateCommandOutput) => void
|
|
814
|
+
): void;
|
|
798
815
|
getManagedThingConnectivityData(
|
|
799
816
|
args: GetManagedThingConnectivityDataCommandInput,
|
|
800
817
|
options?: __HttpHandlerOptions
|
|
@@ -181,6 +181,10 @@ import {
|
|
|
181
181
|
GetManagedThingCapabilitiesCommandInput,
|
|
182
182
|
GetManagedThingCapabilitiesCommandOutput,
|
|
183
183
|
} from "./commands/GetManagedThingCapabilitiesCommand";
|
|
184
|
+
import {
|
|
185
|
+
GetManagedThingCertificateCommandInput,
|
|
186
|
+
GetManagedThingCertificateCommandOutput,
|
|
187
|
+
} from "./commands/GetManagedThingCertificateCommand";
|
|
184
188
|
import {
|
|
185
189
|
GetManagedThingCommandInput,
|
|
186
190
|
GetManagedThingCommandOutput,
|
|
@@ -415,6 +419,7 @@ export type ServiceInputTypes =
|
|
|
415
419
|
| GetEventLogConfigurationCommandInput
|
|
416
420
|
| GetHubConfigurationCommandInput
|
|
417
421
|
| GetManagedThingCapabilitiesCommandInput
|
|
422
|
+
| GetManagedThingCertificateCommandInput
|
|
418
423
|
| GetManagedThingCommandInput
|
|
419
424
|
| GetManagedThingConnectivityDataCommandInput
|
|
420
425
|
| GetManagedThingMetaDataCommandInput
|
|
@@ -498,6 +503,7 @@ export type ServiceOutputTypes =
|
|
|
498
503
|
| GetEventLogConfigurationCommandOutput
|
|
499
504
|
| GetHubConfigurationCommandOutput
|
|
500
505
|
| GetManagedThingCapabilitiesCommandOutput
|
|
506
|
+
| GetManagedThingCertificateCommandOutput
|
|
501
507
|
| GetManagedThingCommandOutput
|
|
502
508
|
| GetManagedThingConnectivityDataCommandOutput
|
|
503
509
|
| GetManagedThingMetaDataCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IoTManagedIntegrationsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IoTManagedIntegrationsClient";
|
|
8
|
+
import {
|
|
9
|
+
GetManagedThingCertificateRequest,
|
|
10
|
+
GetManagedThingCertificateResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetManagedThingCertificateCommandInput
|
|
15
|
+
extends GetManagedThingCertificateRequest {}
|
|
16
|
+
export interface GetManagedThingCertificateCommandOutput
|
|
17
|
+
extends GetManagedThingCertificateResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetManagedThingCertificateCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetManagedThingCertificateCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetManagedThingCertificateCommandInput,
|
|
24
|
+
GetManagedThingCertificateCommandOutput,
|
|
25
|
+
IoTManagedIntegrationsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetManagedThingCertificateCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetManagedThingCertificateCommandInput,
|
|
33
|
+
GetManagedThingCertificateCommandOutput,
|
|
34
|
+
IoTManagedIntegrationsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetManagedThingCertificateCommand extends GetManagedThingCertificateCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetManagedThingCertificateRequest;
|
|
44
|
+
output: GetManagedThingCertificateResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetManagedThingCertificateCommandInput;
|
|
48
|
+
output: GetManagedThingCertificateCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -32,6 +32,7 @@ export * from "./GetDeviceDiscoveryCommand";
|
|
|
32
32
|
export * from "./GetEventLogConfigurationCommand";
|
|
33
33
|
export * from "./GetHubConfigurationCommand";
|
|
34
34
|
export * from "./GetManagedThingCapabilitiesCommand";
|
|
35
|
+
export * from "./GetManagedThingCertificateCommand";
|
|
35
36
|
export * from "./GetManagedThingCommand";
|
|
36
37
|
export * from "./GetManagedThingConnectivityDataCommand";
|
|
37
38
|
export * from "./GetManagedThingMetaDataCommand";
|
|
@@ -99,6 +99,14 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
99
99
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
103
|
+
readonly name: "UnauthorizedException";
|
|
104
|
+
readonly $fault: "client";
|
|
105
|
+
Message?: string | undefined;
|
|
106
|
+
constructor(
|
|
107
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
108
|
+
);
|
|
109
|
+
}
|
|
102
110
|
export declare class ValidationException extends __BaseException {
|
|
103
111
|
readonly name: "ValidationException";
|
|
104
112
|
readonly $fault: "client";
|
|
@@ -455,14 +463,6 @@ export interface CreateManagedThingResponse {
|
|
|
455
463
|
Arn?: string | undefined;
|
|
456
464
|
CreatedAt?: Date | undefined;
|
|
457
465
|
}
|
|
458
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
459
|
-
readonly name: "UnauthorizedException";
|
|
460
|
-
readonly $fault: "client";
|
|
461
|
-
Message?: string | undefined;
|
|
462
|
-
constructor(
|
|
463
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
464
|
-
);
|
|
465
|
-
}
|
|
466
466
|
export declare const EventType: {
|
|
467
467
|
readonly ACCOUNT_ASSOCIATION: "ACCOUNT_ASSOCIATION";
|
|
468
468
|
readonly CONNECTOR_ASSOCIATION: "CONNECTOR_ASSOCIATION";
|
|
@@ -959,6 +959,13 @@ export interface GetManagedThingCapabilitiesResponse {
|
|
|
959
959
|
Capabilities?: string | undefined;
|
|
960
960
|
CapabilityReport?: CapabilityReport | undefined;
|
|
961
961
|
}
|
|
962
|
+
export interface GetManagedThingCertificateRequest {
|
|
963
|
+
Identifier: string | undefined;
|
|
964
|
+
}
|
|
965
|
+
export interface GetManagedThingCertificateResponse {
|
|
966
|
+
ManagedThingId?: string | undefined;
|
|
967
|
+
CertificatePem?: string | undefined;
|
|
968
|
+
}
|
|
962
969
|
export interface GetManagedThingConnectivityDataRequest {
|
|
963
970
|
Identifier: string | undefined;
|
|
964
971
|
}
|
|
@@ -139,6 +139,10 @@ import {
|
|
|
139
139
|
GetManagedThingCapabilitiesCommandInput,
|
|
140
140
|
GetManagedThingCapabilitiesCommandOutput,
|
|
141
141
|
} from "../commands/GetManagedThingCapabilitiesCommand";
|
|
142
|
+
import {
|
|
143
|
+
GetManagedThingCertificateCommandInput,
|
|
144
|
+
GetManagedThingCertificateCommandOutput,
|
|
145
|
+
} from "../commands/GetManagedThingCertificateCommand";
|
|
142
146
|
import {
|
|
143
147
|
GetManagedThingCommandInput,
|
|
144
148
|
GetManagedThingCommandOutput,
|
|
@@ -471,6 +475,10 @@ export declare const se_GetManagedThingCapabilitiesCommand: (
|
|
|
471
475
|
input: GetManagedThingCapabilitiesCommandInput,
|
|
472
476
|
context: __SerdeContext
|
|
473
477
|
) => Promise<__HttpRequest>;
|
|
478
|
+
export declare const se_GetManagedThingCertificateCommand: (
|
|
479
|
+
input: GetManagedThingCertificateCommandInput,
|
|
480
|
+
context: __SerdeContext
|
|
481
|
+
) => Promise<__HttpRequest>;
|
|
474
482
|
export declare const se_GetManagedThingConnectivityDataCommand: (
|
|
475
483
|
input: GetManagedThingConnectivityDataCommandInput,
|
|
476
484
|
context: __SerdeContext
|
|
@@ -799,6 +807,10 @@ export declare const de_GetManagedThingCapabilitiesCommand: (
|
|
|
799
807
|
output: __HttpResponse,
|
|
800
808
|
context: __SerdeContext
|
|
801
809
|
) => Promise<GetManagedThingCapabilitiesCommandOutput>;
|
|
810
|
+
export declare const de_GetManagedThingCertificateCommand: (
|
|
811
|
+
output: __HttpResponse,
|
|
812
|
+
context: __SerdeContext
|
|
813
|
+
) => Promise<GetManagedThingCertificateCommandOutput>;
|
|
802
814
|
export declare const de_GetManagedThingConnectivityDataCommand: (
|
|
803
815
|
output: __HttpResponse,
|
|
804
816
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-managed-integrations",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Managed Integrations Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.921.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iot-managed-integrations",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.17.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.8.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.921.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.921.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.921.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.921.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.921.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.921.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.921.0",
|
|
30
|
+
"@aws-sdk/types": "3.921.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.921.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.921.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.921.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.1",
|
|
35
|
+
"@smithy/core": "^3.17.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.5",
|
|
37
|
+
"@smithy/hash-node": "^4.2.4",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.4",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.4",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.6",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.4",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.4",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.4",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.4",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.4",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.2",
|
|
48
|
+
"@smithy/types": "^4.8.1",
|
|
49
|
+
"@smithy/url-parser": "^4.2.4",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.5",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.7",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.4",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.4",
|
|
57
|
+
"@smithy/util-retry": "^4.2.4",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"@smithy/uuid": "^1.1.0",
|
|
60
60
|
"tslib": "^2.6.2"
|