Skip to content

Commit 778f859

Browse files
author
awstools
committed
feat(client-iot-managed-integrations): Add a new GetManagedThingCertificate API to expose Iot ManagedIntegrations (MI) device certificate, and add "-" support for name, properties, actions and events in the CapabilityReportCapability object.
1 parent dae81b8 commit 778f859

33 files changed

+473
-77
lines changed

clients/client-iot-managed-integrations/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,14 @@ GetManagedThingCapabilities
482482

483483
[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/)
484484

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+
485493
</details>
486494
<details>
487495
<summary>

clients/client-iot-managed-integrations/src/IoTManagedIntegrations.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ import {
172172
GetManagedThingCapabilitiesCommandInput,
173173
GetManagedThingCapabilitiesCommandOutput,
174174
} from "./commands/GetManagedThingCapabilitiesCommand";
175+
import {
176+
GetManagedThingCertificateCommand,
177+
GetManagedThingCertificateCommandInput,
178+
GetManagedThingCertificateCommandOutput,
179+
} from "./commands/GetManagedThingCertificateCommand";
175180
import {
176181
GetManagedThingCommand,
177182
GetManagedThingCommandInput,
@@ -442,6 +447,7 @@ const commands = {
442447
GetHubConfigurationCommand,
443448
GetManagedThingCommand,
444449
GetManagedThingCapabilitiesCommand,
450+
GetManagedThingCertificateCommand,
445451
GetManagedThingConnectivityDataCommand,
446452
GetManagedThingMetaDataCommand,
447453
GetManagedThingStateCommand,
@@ -1074,6 +1080,23 @@ export interface IoTManagedIntegrations {
10741080
cb: (err: any, data?: GetManagedThingCapabilitiesCommandOutput) => void
10751081
): void;
10761082

1083+
/**
1084+
* @see {@link GetManagedThingCertificateCommand}
1085+
*/
1086+
getManagedThingCertificate(
1087+
args: GetManagedThingCertificateCommandInput,
1088+
options?: __HttpHandlerOptions
1089+
): Promise<GetManagedThingCertificateCommandOutput>;
1090+
getManagedThingCertificate(
1091+
args: GetManagedThingCertificateCommandInput,
1092+
cb: (err: any, data?: GetManagedThingCertificateCommandOutput) => void
1093+
): void;
1094+
getManagedThingCertificate(
1095+
args: GetManagedThingCertificateCommandInput,
1096+
options: __HttpHandlerOptions,
1097+
cb: (err: any, data?: GetManagedThingCertificateCommandOutput) => void
1098+
): void;
1099+
10771100
/**
10781101
* @see {@link GetManagedThingConnectivityDataCommand}
10791102
*/

clients/client-iot-managed-integrations/src/IoTManagedIntegrationsClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ import {
159159
GetManagedThingCapabilitiesCommandInput,
160160
GetManagedThingCapabilitiesCommandOutput,
161161
} from "./commands/GetManagedThingCapabilitiesCommand";
162+
import {
163+
GetManagedThingCertificateCommandInput,
164+
GetManagedThingCertificateCommandOutput,
165+
} from "./commands/GetManagedThingCertificateCommand";
162166
import { GetManagedThingCommandInput, GetManagedThingCommandOutput } from "./commands/GetManagedThingCommand";
163167
import {
164168
GetManagedThingConnectivityDataCommandInput,
@@ -361,6 +365,7 @@ export type ServiceInputTypes =
361365
| GetEventLogConfigurationCommandInput
362366
| GetHubConfigurationCommandInput
363367
| GetManagedThingCapabilitiesCommandInput
368+
| GetManagedThingCertificateCommandInput
364369
| GetManagedThingCommandInput
365370
| GetManagedThingConnectivityDataCommandInput
366371
| GetManagedThingMetaDataCommandInput
@@ -448,6 +453,7 @@ export type ServiceOutputTypes =
448453
| GetEventLogConfigurationCommandOutput
449454
| GetHubConfigurationCommandOutput
450455
| GetManagedThingCapabilitiesCommandOutput
456+
| GetManagedThingCertificateCommandOutput
451457
| GetManagedThingCommandOutput
452458
| GetManagedThingConnectivityDataCommandOutput
453459
| GetManagedThingMetaDataCommandOutput

clients/client-iot-managed-integrations/src/commands/CreateAccountAssociationCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ export interface CreateAccountAssociationCommandOutput extends CreateAccountAsso
9090
* @throws {@link ThrottlingException} (client fault)
9191
* <p>The rate exceeds the limit.</p>
9292
*
93+
* @throws {@link UnauthorizedException} (client fault)
94+
* <p>You are not authorized to perform this operation.</p>
95+
*
9396
* @throws {@link ValidationException} (client fault)
9497
* <p>A validation error occurred when performing the API request.</p>
9598
*

clients/client-iot-managed-integrations/src/commands/CreateConnectorDestinationCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,15 @@ export interface CreateConnectorDestinationCommandOutput extends CreateConnector
8888
* @throws {@link InternalServerException} (server fault)
8989
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
9090
*
91+
* @throws {@link ResourceNotFoundException} (client fault)
92+
* <p>The specified resource does not exist.</p>
93+
*
9194
* @throws {@link ThrottlingException} (client fault)
9295
* <p>The rate exceeds the limit.</p>
9396
*
97+
* @throws {@link UnauthorizedException} (client fault)
98+
* <p>You are not authorized to perform this operation.</p>
99+
*
94100
* @throws {@link ValidationException} (client fault)
95101
* <p>A validation error occurred when performing the API request.</p>
96102
*

clients/client-iot-managed-integrations/src/commands/CreateCredentialLockerCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface CreateCredentialLockerCommandInput extends CreateCredentialLock
3636
export interface CreateCredentialLockerCommandOutput extends CreateCredentialLockerResponse, __MetadataBearer {}
3737

3838
/**
39-
* <p>Create a product credential locker. This operation will trigger the creation of all the manufacturing resources including the Wi-Fi setup key pair and device certificate.</p>
39+
* <p>Create a credential locker.</p> <note> <p>This operation will not trigger the creation of all the manufacturing resources.</p> </note>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-iot-managed-integrations/src/commands/CreateDestinationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface CreateDestinationCommandInput extends CreateDestinationRequest
3636
export interface CreateDestinationCommandOutput extends CreateDestinationResponse, __MetadataBearer {}
3737

3838
/**
39-
* <p> Create a destination. IoT managed integrations uses the destination to determine where to deliver notifications for a device. </p>
39+
* <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>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-iot-managed-integrations/src/commands/CreateManagedThingCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface CreateManagedThingCommandInput extends CreateManagedThingReques
3636
export interface CreateManagedThingCommandOutput extends CreateManagedThingResponse, __MetadataBearer {}
3737

3838
/**
39-
* <p>Creates a managed thing. A managed thing contains the device identifier, protocol supported, and capabilities of the device in a protocol-specific format.</p>
39+
* <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>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-iot-managed-integrations/src/commands/CreateOtaTaskCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface CreateOtaTaskCommandInput extends CreateOtaTaskRequest {}
3636
export interface CreateOtaTaskCommandOutput extends CreateOtaTaskResponse, __MetadataBearer {}
3737

3838
/**
39-
* <p>Create an over-the-air (OTA) task to update a device.</p>
39+
* <p>Create an over-the-air (OTA) task to target a device.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-iot-managed-integrations/src/commands/DeleteAccountAssociationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface DeleteAccountAssociationCommandInput extends DeleteAccountAssoc
3232
export interface DeleteAccountAssociationCommandOutput extends __MetadataBearer {}
3333

3434
/**
35-
* <p>Remove a third party account and related devices from an end user.</p>
35+
* <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>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

0 commit comments

Comments
 (0)