@aws-sdk/client-iot-managed-integrations 3.835.0 → 3.839.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.
Files changed (206) hide show
  1. package/README.md +200 -0
  2. package/dist-cjs/IoTManagedIntegrations.js +50 -0
  3. package/dist-cjs/commands/CreateAccountAssociationCommand.js +27 -0
  4. package/dist-cjs/commands/CreateCloudConnectorCommand.js +26 -0
  5. package/dist-cjs/commands/CreateConnectorDestinationCommand.js +26 -0
  6. package/dist-cjs/commands/DeleteAccountAssociationCommand.js +26 -0
  7. package/dist-cjs/commands/DeleteCloudConnectorCommand.js +26 -0
  8. package/dist-cjs/commands/DeleteConnectorDestinationCommand.js +26 -0
  9. package/dist-cjs/commands/DeregisterAccountAssociationCommand.js +26 -0
  10. package/dist-cjs/commands/GetAccountAssociationCommand.js +27 -0
  11. package/dist-cjs/commands/GetCloudConnectorCommand.js +26 -0
  12. package/dist-cjs/commands/GetConnectorDestinationCommand.js +26 -0
  13. package/dist-cjs/commands/GetOtaTaskCommand.js +2 -1
  14. package/dist-cjs/commands/ListAccountAssociationsCommand.js +26 -0
  15. package/dist-cjs/commands/ListCloudConnectorsCommand.js +26 -0
  16. package/dist-cjs/commands/ListConnectorDestinationsCommand.js +26 -0
  17. package/dist-cjs/commands/ListDeviceDiscoveriesCommand.js +26 -0
  18. package/dist-cjs/commands/ListDiscoveredDevicesCommand.js +27 -0
  19. package/dist-cjs/commands/ListManagedThingAccountAssociationsCommand.js +26 -0
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +27 -0
  21. package/dist-cjs/commands/RegisterAccountAssociationCommand.js +26 -0
  22. package/dist-cjs/commands/SendConnectorEventCommand.js +27 -0
  23. package/dist-cjs/commands/StartAccountAssociationRefreshCommand.js +27 -0
  24. package/dist-cjs/commands/TagResourceCommand.js +27 -0
  25. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  26. package/dist-cjs/commands/UpdateAccountAssociationCommand.js +26 -0
  27. package/dist-cjs/commands/UpdateCloudConnectorCommand.js +26 -0
  28. package/dist-cjs/commands/UpdateConnectorDestinationCommand.js +26 -0
  29. package/dist-cjs/commands/index.js +25 -0
  30. package/dist-cjs/models/models_0.js +187 -36
  31. package/dist-cjs/pagination/ListAccountAssociationsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListCloudConnectorsPaginator.js +7 -0
  33. package/dist-cjs/pagination/ListConnectorDestinationsPaginator.js +7 -0
  34. package/dist-cjs/pagination/ListDeviceDiscoveriesPaginator.js +7 -0
  35. package/dist-cjs/pagination/ListDiscoveredDevicesPaginator.js +7 -0
  36. package/dist-cjs/pagination/ListManagedThingAccountAssociationsPaginator.js +7 -0
  37. package/dist-cjs/pagination/index.js +6 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +974 -22
  39. package/dist-es/IoTManagedIntegrations.js +50 -0
  40. package/dist-es/commands/CreateAccountAssociationCommand.js +23 -0
  41. package/dist-es/commands/CreateCloudConnectorCommand.js +22 -0
  42. package/dist-es/commands/CreateConnectorDestinationCommand.js +22 -0
  43. package/dist-es/commands/DeleteAccountAssociationCommand.js +22 -0
  44. package/dist-es/commands/DeleteCloudConnectorCommand.js +22 -0
  45. package/dist-es/commands/DeleteConnectorDestinationCommand.js +22 -0
  46. package/dist-es/commands/DeregisterAccountAssociationCommand.js +22 -0
  47. package/dist-es/commands/GetAccountAssociationCommand.js +23 -0
  48. package/dist-es/commands/GetCloudConnectorCommand.js +22 -0
  49. package/dist-es/commands/GetConnectorDestinationCommand.js +22 -0
  50. package/dist-es/commands/GetOtaTaskCommand.js +2 -1
  51. package/dist-es/commands/ListAccountAssociationsCommand.js +22 -0
  52. package/dist-es/commands/ListCloudConnectorsCommand.js +22 -0
  53. package/dist-es/commands/ListConnectorDestinationsCommand.js +22 -0
  54. package/dist-es/commands/ListDeviceDiscoveriesCommand.js +22 -0
  55. package/dist-es/commands/ListDiscoveredDevicesCommand.js +23 -0
  56. package/dist-es/commands/ListManagedThingAccountAssociationsCommand.js +22 -0
  57. package/dist-es/commands/ListTagsForResourceCommand.js +23 -0
  58. package/dist-es/commands/RegisterAccountAssociationCommand.js +22 -0
  59. package/dist-es/commands/SendConnectorEventCommand.js +23 -0
  60. package/dist-es/commands/StartAccountAssociationRefreshCommand.js +23 -0
  61. package/dist-es/commands/TagResourceCommand.js +23 -0
  62. package/dist-es/commands/UntagResourceCommand.js +22 -0
  63. package/dist-es/commands/UpdateAccountAssociationCommand.js +22 -0
  64. package/dist-es/commands/UpdateCloudConnectorCommand.js +22 -0
  65. package/dist-es/commands/UpdateConnectorDestinationCommand.js +22 -0
  66. package/dist-es/commands/index.js +25 -0
  67. package/dist-es/models/models_0.js +168 -32
  68. package/dist-es/pagination/ListAccountAssociationsPaginator.js +4 -0
  69. package/dist-es/pagination/ListCloudConnectorsPaginator.js +4 -0
  70. package/dist-es/pagination/ListConnectorDestinationsPaginator.js +4 -0
  71. package/dist-es/pagination/ListDeviceDiscoveriesPaginator.js +4 -0
  72. package/dist-es/pagination/ListDiscoveredDevicesPaginator.js +4 -0
  73. package/dist-es/pagination/ListManagedThingAccountAssociationsPaginator.js +4 -0
  74. package/dist-es/pagination/index.js +6 -0
  75. package/dist-es/protocols/Aws_restJson1.js +918 -17
  76. package/dist-types/IoTManagedIntegrations.d.ts +180 -0
  77. package/dist-types/IoTManagedIntegrationsClient.d.ts +27 -2
  78. package/dist-types/commands/CreateAccountAssociationCommand.d.ts +102 -0
  79. package/dist-types/commands/CreateCloudConnectorCommand.d.ts +159 -0
  80. package/dist-types/commands/CreateConnectorDestinationCommand.d.ts +108 -0
  81. package/dist-types/commands/CreateCredentialLockerCommand.d.ts +2 -4
  82. package/dist-types/commands/CreateDestinationCommand.d.ts +2 -4
  83. package/dist-types/commands/CreateEventLogConfigurationCommand.d.ts +2 -4
  84. package/dist-types/commands/CreateManagedThingCommand.d.ts +12 -5
  85. package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +4 -6
  86. package/dist-types/commands/CreateOtaTaskCommand.d.ts +7 -2
  87. package/dist-types/commands/CreateOtaTaskConfigurationCommand.d.ts +1 -2
  88. package/dist-types/commands/CreateProvisioningProfileCommand.d.ts +5 -5
  89. package/dist-types/commands/DeleteAccountAssociationCommand.d.ts +88 -0
  90. package/dist-types/commands/DeleteCloudConnectorCommand.d.ts +85 -0
  91. package/dist-types/commands/DeleteConnectorDestinationCommand.d.ts +85 -0
  92. package/dist-types/commands/DeleteCredentialLockerCommand.d.ts +2 -7
  93. package/dist-types/commands/DeleteDestinationCommand.d.ts +1 -2
  94. package/dist-types/commands/DeleteEventLogConfigurationCommand.d.ts +1 -2
  95. package/dist-types/commands/DeleteManagedThingCommand.d.ts +2 -5
  96. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +2 -3
  97. package/dist-types/commands/DeleteOtaTaskCommand.d.ts +4 -2
  98. package/dist-types/commands/DeleteOtaTaskConfigurationCommand.d.ts +1 -2
  99. package/dist-types/commands/DeleteProvisioningProfileCommand.d.ts +1 -2
  100. package/dist-types/commands/DeregisterAccountAssociationCommand.d.ts +86 -0
  101. package/dist-types/commands/GetAccountAssociationCommand.d.ts +100 -0
  102. package/dist-types/commands/GetCloudConnectorCommand.d.ts +151 -0
  103. package/dist-types/commands/GetConnectorDestinationCommand.d.ts +109 -0
  104. package/dist-types/commands/GetCredentialLockerCommand.d.ts +1 -2
  105. package/dist-types/commands/GetCustomEndpointCommand.d.ts +1 -2
  106. package/dist-types/commands/GetDefaultEncryptionConfigurationCommand.d.ts +1 -3
  107. package/dist-types/commands/GetDestinationCommand.d.ts +1 -2
  108. package/dist-types/commands/GetDeviceDiscoveryCommand.d.ts +3 -3
  109. package/dist-types/commands/GetEventLogConfigurationCommand.d.ts +1 -2
  110. package/dist-types/commands/GetHubConfigurationCommand.d.ts +1 -2
  111. package/dist-types/commands/GetManagedThingCapabilitiesCommand.d.ts +1 -2
  112. package/dist-types/commands/GetManagedThingCommand.d.ts +2 -2
  113. package/dist-types/commands/GetManagedThingConnectivityDataCommand.d.ts +1 -2
  114. package/dist-types/commands/GetManagedThingMetaDataCommand.d.ts +2 -3
  115. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +3 -4
  116. package/dist-types/commands/GetOtaTaskCommand.d.ts +4 -2
  117. package/dist-types/commands/GetOtaTaskConfigurationCommand.d.ts +1 -2
  118. package/dist-types/commands/GetProvisioningProfileCommand.d.ts +1 -2
  119. package/dist-types/commands/GetRuntimeLogConfigurationCommand.d.ts +2 -4
  120. package/dist-types/commands/GetSchemaVersionCommand.d.ts +7 -14
  121. package/dist-types/commands/ListAccountAssociationsCommand.d.ts +100 -0
  122. package/dist-types/commands/ListCloudConnectorsCommand.d.ts +150 -0
  123. package/dist-types/commands/ListConnectorDestinationsCommand.d.ts +94 -0
  124. package/dist-types/commands/ListCredentialLockersCommand.d.ts +1 -2
  125. package/dist-types/commands/ListDestinationsCommand.d.ts +1 -2
  126. package/dist-types/commands/ListDeviceDiscoveriesCommand.d.ts +100 -0
  127. package/dist-types/commands/ListDiscoveredDevicesCommand.d.ts +110 -0
  128. package/dist-types/commands/ListEventLogConfigurationsCommand.d.ts +1 -2
  129. package/dist-types/commands/ListManagedThingAccountAssociationsCommand.d.ts +93 -0
  130. package/dist-types/commands/ListManagedThingSchemasCommand.d.ts +1 -2
  131. package/dist-types/commands/ListManagedThingsCommand.d.ts +5 -3
  132. package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +2 -3
  133. package/dist-types/commands/ListOtaTaskConfigurationsCommand.d.ts +1 -2
  134. package/dist-types/commands/ListOtaTaskExecutionsCommand.d.ts +4 -2
  135. package/dist-types/commands/ListOtaTasksCommand.d.ts +4 -2
  136. package/dist-types/commands/ListProvisioningProfilesCommand.d.ts +1 -2
  137. package/dist-types/commands/ListSchemaVersionsCommand.d.ts +7 -8
  138. package/dist-types/commands/ListTagsForResourceCommand.d.ts +86 -0
  139. package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +1 -3
  140. package/dist-types/commands/PutHubConfigurationCommand.d.ts +1 -2
  141. package/dist-types/commands/PutRuntimeLogConfigurationCommand.d.ts +2 -4
  142. package/dist-types/commands/RegisterAccountAssociationCommand.d.ts +94 -0
  143. package/dist-types/commands/RegisterCustomEndpointCommand.d.ts +2 -4
  144. package/dist-types/commands/ResetRuntimeLogConfigurationCommand.d.ts +2 -4
  145. package/dist-types/commands/SendConnectorEventCommand.d.ts +309 -0
  146. package/dist-types/commands/SendManagedThingCommandCommand.d.ts +5 -2
  147. package/dist-types/commands/StartAccountAssociationRefreshCommand.d.ts +90 -0
  148. package/dist-types/commands/StartDeviceDiscoveryCommand.d.ts +7 -6
  149. package/dist-types/commands/TagResourceCommand.d.ts +88 -0
  150. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  151. package/dist-types/commands/UpdateAccountAssociationCommand.d.ts +93 -0
  152. package/dist-types/commands/UpdateCloudConnectorCommand.d.ts +115 -0
  153. package/dist-types/commands/UpdateConnectorDestinationCommand.d.ts +101 -0
  154. package/dist-types/commands/UpdateDestinationCommand.d.ts +1 -2
  155. package/dist-types/commands/UpdateEventLogConfigurationCommand.d.ts +1 -2
  156. package/dist-types/commands/UpdateManagedThingCommand.d.ts +10 -2
  157. package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +2 -3
  158. package/dist-types/commands/UpdateOtaTaskCommand.d.ts +1 -2
  159. package/dist-types/commands/index.d.ts +25 -0
  160. package/dist-types/models/models_0.d.ts +1953 -394
  161. package/dist-types/pagination/ListAccountAssociationsPaginator.d.ts +7 -0
  162. package/dist-types/pagination/ListCloudConnectorsPaginator.d.ts +7 -0
  163. package/dist-types/pagination/ListConnectorDestinationsPaginator.d.ts +7 -0
  164. package/dist-types/pagination/ListDeviceDiscoveriesPaginator.d.ts +7 -0
  165. package/dist-types/pagination/ListDiscoveredDevicesPaginator.d.ts +7 -0
  166. package/dist-types/pagination/ListManagedThingAccountAssociationsPaginator.d.ts +7 -0
  167. package/dist-types/pagination/index.d.ts +6 -0
  168. package/dist-types/protocols/Aws_restJson1.d.ts +225 -0
  169. package/dist-types/ts3.4/IoTManagedIntegrations.d.ts +436 -0
  170. package/dist-types/ts3.4/IoTManagedIntegrationsClient.d.ts +150 -0
  171. package/dist-types/ts3.4/commands/CreateAccountAssociationCommand.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/CreateCloudConnectorCommand.d.ts +51 -0
  173. package/dist-types/ts3.4/commands/CreateConnectorDestinationCommand.d.ts +51 -0
  174. package/dist-types/ts3.4/commands/DeleteAccountAssociationCommand.d.ts +47 -0
  175. package/dist-types/ts3.4/commands/DeleteCloudConnectorCommand.d.ts +46 -0
  176. package/dist-types/ts3.4/commands/DeleteConnectorDestinationCommand.d.ts +47 -0
  177. package/dist-types/ts3.4/commands/DeregisterAccountAssociationCommand.d.ts +47 -0
  178. package/dist-types/ts3.4/commands/GetAccountAssociationCommand.d.ts +51 -0
  179. package/dist-types/ts3.4/commands/GetCloudConnectorCommand.d.ts +51 -0
  180. package/dist-types/ts3.4/commands/GetConnectorDestinationCommand.d.ts +51 -0
  181. package/dist-types/ts3.4/commands/ListAccountAssociationsCommand.d.ts +51 -0
  182. package/dist-types/ts3.4/commands/ListCloudConnectorsCommand.d.ts +51 -0
  183. package/dist-types/ts3.4/commands/ListConnectorDestinationsCommand.d.ts +51 -0
  184. package/dist-types/ts3.4/commands/ListDeviceDiscoveriesCommand.d.ts +51 -0
  185. package/dist-types/ts3.4/commands/ListDiscoveredDevicesCommand.d.ts +51 -0
  186. package/dist-types/ts3.4/commands/ListManagedThingAccountAssociationsCommand.d.ts +51 -0
  187. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  188. package/dist-types/ts3.4/commands/RegisterAccountAssociationCommand.d.ts +51 -0
  189. package/dist-types/ts3.4/commands/SendConnectorEventCommand.d.ts +51 -0
  190. package/dist-types/ts3.4/commands/StartAccountAssociationRefreshCommand.d.ts +51 -0
  191. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  192. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  193. package/dist-types/ts3.4/commands/UpdateAccountAssociationCommand.d.ts +47 -0
  194. package/dist-types/ts3.4/commands/UpdateCloudConnectorCommand.d.ts +46 -0
  195. package/dist-types/ts3.4/commands/UpdateConnectorDestinationCommand.d.ts +47 -0
  196. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  197. package/dist-types/ts3.4/models/models_0.d.ts +510 -54
  198. package/dist-types/ts3.4/pagination/ListAccountAssociationsPaginator.d.ts +11 -0
  199. package/dist-types/ts3.4/pagination/ListCloudConnectorsPaginator.d.ts +11 -0
  200. package/dist-types/ts3.4/pagination/ListConnectorDestinationsPaginator.d.ts +11 -0
  201. package/dist-types/ts3.4/pagination/ListDeviceDiscoveriesPaginator.d.ts +11 -0
  202. package/dist-types/ts3.4/pagination/ListDiscoveredDevicesPaginator.d.ts +11 -0
  203. package/dist-types/ts3.4/pagination/ListManagedThingAccountAssociationsPaginator.d.ts +11 -0
  204. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  205. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +300 -0
  206. package/package.json +11 -11
@@ -0,0 +1,94 @@
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 { RegisterAccountAssociationRequest, RegisterAccountAssociationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RegisterAccountAssociationCommand}.
14
+ */
15
+ export interface RegisterAccountAssociationCommandInput extends RegisterAccountAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RegisterAccountAssociationCommand}.
21
+ */
22
+ export interface RegisterAccountAssociationCommandOutput extends RegisterAccountAssociationResponse, __MetadataBearer {
23
+ }
24
+ declare const RegisterAccountAssociationCommand_base: {
25
+ new (input: RegisterAccountAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterAccountAssociationCommandInput, RegisterAccountAssociationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RegisterAccountAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterAccountAssociationCommandInput, RegisterAccountAssociationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Registers an account association with a managed thing, establishing a connection between a device and a third-party account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTManagedIntegrationsClient, RegisterAccountAssociationCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
35
+ * // const { IoTManagedIntegrationsClient, RegisterAccountAssociationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
36
+ * const client = new IoTManagedIntegrationsClient(config);
37
+ * const input = { // RegisterAccountAssociationRequest
38
+ * ManagedThingId: "STRING_VALUE", // required
39
+ * AccountAssociationId: "STRING_VALUE", // required
40
+ * DeviceDiscoveryId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new RegisterAccountAssociationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // RegisterAccountAssociationResponse
45
+ * // AccountAssociationId: "STRING_VALUE",
46
+ * // DeviceDiscoveryId: "STRING_VALUE",
47
+ * // ManagedThingId: "STRING_VALUE",
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param RegisterAccountAssociationCommandInput - {@link RegisterAccountAssociationCommandInput}
53
+ * @returns {@link RegisterAccountAssociationCommandOutput}
54
+ * @see {@link RegisterAccountAssociationCommandInput} for command's `input` shape.
55
+ * @see {@link RegisterAccountAssociationCommandOutput} for command's `response` shape.
56
+ * @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>User is not authorized.</p>
60
+ *
61
+ * @throws {@link ConflictException} (client fault)
62
+ * <p>There is a conflict with the request.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The specified resource does not exist.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The rate exceeds the limit.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>A validation error occurred when performing the API request.</p>
75
+ *
76
+ * @throws {@link IoTManagedIntegrationsServiceException}
77
+ * <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class RegisterAccountAssociationCommand extends RegisterAccountAssociationCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: RegisterAccountAssociationRequest;
87
+ output: RegisterAccountAssociationResponse;
88
+ };
89
+ sdk: {
90
+ input: RegisterAccountAssociationCommandInput;
91
+ output: RegisterAccountAssociationCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -27,8 +27,7 @@ declare const RegisterCustomEndpointCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Customers can request IoT managed integrations to manage the server trust for them or bring their own
31
- * external server trusts for the custom domain. Returns an IoT managed integrations endpoint.</p>
30
+ * <p>Customers can request IoT managed integrations to manage the server trust for them or bring their own external server trusts for the custom domain. Returns an IoT managed integrations endpoint.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -57,8 +56,7 @@ declare const RegisterCustomEndpointCommand_base: {
57
56
  * <p>There is a conflict with the request.</p>
58
57
  *
59
58
  * @throws {@link InternalServerException} (server fault)
60
- * <p>Internal error from the service that indicates an unexpected error or that the service
61
- * is unavailable.</p>
59
+ * <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
62
60
  *
63
61
  * @throws {@link ServiceUnavailableException} (server fault)
64
62
  * <p>The service is temporarily unavailable.</p>
@@ -27,8 +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 or for all managed things
31
- * as a group.</p>
30
+ * <p>Reset a runtime log configuration for a specific managed thing or for all managed things as a group.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -54,8 +53,7 @@ declare const ResetRuntimeLogConfigurationCommand_base: {
54
53
  * <p>User is not authorized.</p>
55
54
  *
56
55
  * @throws {@link InternalServerException} (server fault)
57
- * <p>Internal error from the service that indicates an unexpected error or that the service
58
- * is unavailable.</p>
56
+ * <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
59
57
  *
60
58
  * @throws {@link ResourceNotFoundException} (client fault)
61
59
  * <p>The specified resource does not exist.</p>
@@ -0,0 +1,309 @@
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 { SendConnectorEventRequest, SendConnectorEventResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SendConnectorEventCommand}.
14
+ */
15
+ export interface SendConnectorEventCommandInput extends SendConnectorEventRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SendConnectorEventCommand}.
21
+ */
22
+ export interface SendConnectorEventCommandOutput extends SendConnectorEventResponse, __MetadataBearer {
23
+ }
24
+ declare const SendConnectorEventCommand_base: {
25
+ new (input: SendConnectorEventCommandInput): import("@smithy/smithy-client").CommandImpl<SendConnectorEventCommandInput, SendConnectorEventCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: SendConnectorEventCommandInput): import("@smithy/smithy-client").CommandImpl<SendConnectorEventCommandInput, SendConnectorEventCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Relays third-party device events for a connector such as a new device or a device state change event.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTManagedIntegrationsClient, SendConnectorEventCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
35
+ * // const { IoTManagedIntegrationsClient, SendConnectorEventCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
36
+ * const client = new IoTManagedIntegrationsClient(config);
37
+ * const input = { // SendConnectorEventRequest
38
+ * ConnectorId: "STRING_VALUE", // required
39
+ * UserId: "STRING_VALUE",
40
+ * Operation: "DEVICE_COMMAND_RESPONSE" || "DEVICE_DISCOVERY" || "DEVICE_EVENT" || "DEVICE_COMMAND_REQUEST", // required
41
+ * OperationVersion: "STRING_VALUE",
42
+ * StatusCode: Number("int"),
43
+ * Message: "STRING_VALUE",
44
+ * DeviceDiscoveryId: "STRING_VALUE",
45
+ * ConnectorDeviceId: "STRING_VALUE",
46
+ * TraceId: "STRING_VALUE",
47
+ * Devices: [ // Devices
48
+ * { // Device
49
+ * ConnectorDeviceId: "STRING_VALUE", // required
50
+ * ConnectorDeviceName: "STRING_VALUE",
51
+ * CapabilityReport: { // MatterCapabilityReport
52
+ * version: "STRING_VALUE", // required
53
+ * nodeId: "STRING_VALUE",
54
+ * endpoints: [ // MatterCapabilityReportEndpoints // required
55
+ * { // MatterCapabilityReportEndpoint
56
+ * id: "STRING_VALUE", // required
57
+ * deviceTypes: [ // DeviceTypes // required
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * clusters: [ // MatterCapabilityReportClusters // required
61
+ * { // MatterCapabilityReportCluster
62
+ * id: "STRING_VALUE", // required
63
+ * revision: Number("int"), // required
64
+ * publicId: "STRING_VALUE",
65
+ * name: "STRING_VALUE",
66
+ * specVersion: "STRING_VALUE",
67
+ * attributes: [ // MatterCapabilityReportAttributes
68
+ * { // MatterCapabilityReportAttribute
69
+ * id: "STRING_VALUE",
70
+ * name: "STRING_VALUE",
71
+ * value: "DOCUMENT_VALUE",
72
+ * },
73
+ * ],
74
+ * commands: [ // MatterCapabilityReportCommands
75
+ * "STRING_VALUE",
76
+ * ],
77
+ * events: [ // MatterCapabilityReportEvents
78
+ * "STRING_VALUE",
79
+ * ],
80
+ * featureMap: Number("long"),
81
+ * generatedCommands: [ // MatterCapabilityReportGeneratedCommands
82
+ * "STRING_VALUE",
83
+ * ],
84
+ * fabricIndex: Number("int"),
85
+ * },
86
+ * ],
87
+ * parts: [ // MatterCapabilityReportEndpointParts
88
+ * "STRING_VALUE",
89
+ * ],
90
+ * semanticTags: [ // MatterCapabilityReportEndpointSemanticTags
91
+ * "STRING_VALUE",
92
+ * ],
93
+ * clientClusters: [ // MatterCapabilityReportEndpointClientClusters
94
+ * "STRING_VALUE",
95
+ * ],
96
+ * },
97
+ * ],
98
+ * },
99
+ * CapabilitySchemas: [ // CapabilitySchemas
100
+ * { // CapabilitySchemaItem
101
+ * Format: "AWS" || "ZCL" || "CONNECTOR", // required
102
+ * CapabilityId: "STRING_VALUE", // required
103
+ * ExtrinsicId: "STRING_VALUE", // required
104
+ * ExtrinsicVersion: Number("int"), // required
105
+ * Schema: "DOCUMENT_VALUE", // required
106
+ * },
107
+ * ],
108
+ * DeviceMetadata: "DOCUMENT_VALUE",
109
+ * },
110
+ * ],
111
+ * MatterEndpoint: { // MatterEndpoint
112
+ * id: "STRING_VALUE",
113
+ * clusters: [ // MatterClusters
114
+ * { // MatterCluster
115
+ * id: "STRING_VALUE",
116
+ * attributes: "DOCUMENT_VALUE",
117
+ * commands: { // MatterCommands
118
+ * "<keys>": "DOCUMENT_VALUE",
119
+ * },
120
+ * events: { // MatterEvents
121
+ * "<keys>": "DOCUMENT_VALUE",
122
+ * },
123
+ * },
124
+ * ],
125
+ * },
126
+ * };
127
+ * const command = new SendConnectorEventCommand(input);
128
+ * const response = await client.send(command);
129
+ * // { // SendConnectorEventResponse
130
+ * // ConnectorId: "STRING_VALUE", // required
131
+ * // };
132
+ *
133
+ * ```
134
+ *
135
+ * @param SendConnectorEventCommandInput - {@link SendConnectorEventCommandInput}
136
+ * @returns {@link SendConnectorEventCommandOutput}
137
+ * @see {@link SendConnectorEventCommandInput} for command's `input` shape.
138
+ * @see {@link SendConnectorEventCommandOutput} for command's `response` shape.
139
+ * @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
140
+ *
141
+ * @throws {@link AccessDeniedException} (client fault)
142
+ * <p>User is not authorized.</p>
143
+ *
144
+ * @throws {@link InternalServerException} (server fault)
145
+ * <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
146
+ *
147
+ * @throws {@link ResourceNotFoundException} (client fault)
148
+ * <p>The specified resource does not exist.</p>
149
+ *
150
+ * @throws {@link ServiceUnavailableException} (server fault)
151
+ * <p>The service is temporarily unavailable.</p>
152
+ *
153
+ * @throws {@link ThrottlingException} (client fault)
154
+ * <p>The rate exceeds the limit.</p>
155
+ *
156
+ * @throws {@link ValidationException} (client fault)
157
+ * <p>A validation error occurred when performing the API request.</p>
158
+ *
159
+ * @throws {@link IoTManagedIntegrationsServiceException}
160
+ * <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
161
+ *
162
+ *
163
+ * @example SendConnectorEvent happy path for device discovery
164
+ * ```javascript
165
+ * //
166
+ * const input = {
167
+ * ConnectorId: "MockConnectorId",
168
+ * DeviceDiscoveryId: "358275hbk3qr",
169
+ * Devices: [
170
+ * {
171
+ * CapabilityReport: {
172
+ * endpoints: [
173
+ * {
174
+ * clusters: [
175
+ * {
176
+ * attributes: [
177
+ * {
178
+ * id: "0x0000",
179
+ * value: "exampleString"
180
+ * },
181
+ * {
182
+ * id: "0x0001"
183
+ * },
184
+ * {
185
+ * id: "0x0002"
186
+ * }
187
+ * ],
188
+ * commands: [
189
+ * "0x00",
190
+ * "0x01"
191
+ * ],
192
+ * events: [],
193
+ * id: "0x0201",
194
+ * revision: 1
195
+ * }
196
+ * ],
197
+ * deviceTypes: [
198
+ * "Refrigerator"
199
+ * ],
200
+ * id: "EP1"
201
+ * }
202
+ * ],
203
+ * nodeId: "1",
204
+ * version: "1.0.0"
205
+ * },
206
+ * ConnectorDeviceId: "Mock-Connector-DeviceId-1",
207
+ * ConnectorDeviceName: "Sample-User-device-1"
208
+ * }
209
+ * ],
210
+ * Message: "Sample ConnectorEventMessage",
211
+ * Operation: "DEVICE_DISCOVERY",
212
+ * OperationVersion: "1.0",
213
+ * StatusCode: 200,
214
+ * UserId: "MockThirdPartyUserId"
215
+ * };
216
+ * const command = new SendConnectorEventCommand(input);
217
+ * const response = await client.send(command);
218
+ * /* response is
219
+ * {
220
+ * ConnectorId: "MockConnectorId"
221
+ * }
222
+ * *\/
223
+ * ```
224
+ *
225
+ * @example SendConnectorEvent happy path for device command response
226
+ * ```javascript
227
+ * //
228
+ * const input = {
229
+ * ConnectorId: "MockConnectorId",
230
+ * MatterEndpoint: {
231
+ * clusters: [
232
+ * {
233
+ * attributes: {
234
+ * 0x0000: [
235
+ * 73
236
+ * ],
237
+ * 0x15570003: "exampleString"
238
+ * },
239
+ * commands: {
240
+ * 0x03: { /* empty *\/ }
241
+ * },
242
+ * id: "0x1003"
243
+ * }
244
+ * ],
245
+ * id: "1"
246
+ * },
247
+ * Message: "Sample ConnectorEventMessage",
248
+ * Operation: "DEVICE_COMMAND_RESPONSE",
249
+ * OperationVersion: "1.0",
250
+ * StatusCode: 200,
251
+ * TraceId: "9b75f3839b6140f=_1",
252
+ * UserId: "MockThirdPartyUserId"
253
+ * };
254
+ * const command = new SendConnectorEventCommand(input);
255
+ * const response = await client.send(command);
256
+ * /* response is
257
+ * {
258
+ * ConnectorId: "MockConnectorId"
259
+ * }
260
+ * *\/
261
+ * ```
262
+ *
263
+ * @example SendConnectorEvent happy path for device event
264
+ * ```javascript
265
+ * //
266
+ * const input = {
267
+ * ConnectorId: "MockConnectorId",
268
+ * MatterEndpoint: {
269
+ * clusters: [
270
+ * {
271
+ * attributes: {
272
+ * 0x0000: 73
273
+ * },
274
+ * id: "0x1003"
275
+ * }
276
+ * ],
277
+ * id: "1"
278
+ * },
279
+ * Message: "Sample ConnectorEventMessage",
280
+ * Operation: "DEVICE_EVENT",
281
+ * OperationVersion: "1.0",
282
+ * StatusCode: 200,
283
+ * TraceId: "TraceId-Sample",
284
+ * UserId: "MockThirdPartyUserId"
285
+ * };
286
+ * const command = new SendConnectorEventCommand(input);
287
+ * const response = await client.send(command);
288
+ * /* response is
289
+ * {
290
+ * ConnectorId: "MockConnectorId"
291
+ * }
292
+ * *\/
293
+ * ```
294
+ *
295
+ * @public
296
+ */
297
+ export declare class SendConnectorEventCommand extends SendConnectorEventCommand_base {
298
+ /** @internal type navigation helper, not in runtime. */
299
+ protected static __types: {
300
+ api: {
301
+ input: SendConnectorEventRequest;
302
+ output: SendConnectorEventResponse;
303
+ };
304
+ sdk: {
305
+ input: SendConnectorEventCommandInput;
306
+ output: SendConnectorEventCommandOutput;
307
+ };
308
+ };
309
+ }
@@ -57,6 +57,7 @@ declare const SendManagedThingCommandCommand_base: {
57
57
  * },
58
58
  * ],
59
59
  * ConnectorAssociationId: "STRING_VALUE",
60
+ * AccountAssociationId: "STRING_VALUE",
60
61
  * };
61
62
  * const command = new SendManagedThingCommandCommand(input);
62
63
  * const response = await client.send(command);
@@ -76,8 +77,7 @@ declare const SendManagedThingCommandCommand_base: {
76
77
  * <p>User is not authorized.</p>
77
78
  *
78
79
  * @throws {@link InternalServerException} (server fault)
79
- * <p>Internal error from the service that indicates an unexpected error or that the service
80
- * is unavailable.</p>
80
+ * <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
81
81
  *
82
82
  * @throws {@link ResourceNotFoundException} (client fault)
83
83
  * <p>The specified resource does not exist.</p>
@@ -88,6 +88,9 @@ declare const SendManagedThingCommandCommand_base: {
88
88
  * @throws {@link ThrottlingException} (client fault)
89
89
  * <p>The rate exceeds the limit.</p>
90
90
  *
91
+ * @throws {@link UnauthorizedException} (client fault)
92
+ * <p>You are not authorized to perform this operation.</p>
93
+ *
91
94
  * @throws {@link ValidationException} (client fault)
92
95
  * <p>A validation error occurred when performing the API request.</p>
93
96
  *
@@ -0,0 +1,90 @@
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 { StartAccountAssociationRefreshRequest, StartAccountAssociationRefreshResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartAccountAssociationRefreshCommand}.
14
+ */
15
+ export interface StartAccountAssociationRefreshCommandInput extends StartAccountAssociationRefreshRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartAccountAssociationRefreshCommand}.
21
+ */
22
+ export interface StartAccountAssociationRefreshCommandOutput extends StartAccountAssociationRefreshResponse, __MetadataBearer {
23
+ }
24
+ declare const StartAccountAssociationRefreshCommand_base: {
25
+ new (input: StartAccountAssociationRefreshCommandInput): import("@smithy/smithy-client").CommandImpl<StartAccountAssociationRefreshCommandInput, StartAccountAssociationRefreshCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartAccountAssociationRefreshCommandInput): import("@smithy/smithy-client").CommandImpl<StartAccountAssociationRefreshCommandInput, StartAccountAssociationRefreshCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Initiates a refresh of an existing account association to update its authorization and connection status.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTManagedIntegrationsClient, StartAccountAssociationRefreshCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
35
+ * // const { IoTManagedIntegrationsClient, StartAccountAssociationRefreshCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
36
+ * const client = new IoTManagedIntegrationsClient(config);
37
+ * const input = { // StartAccountAssociationRefreshRequest
38
+ * AccountAssociationId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new StartAccountAssociationRefreshCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // StartAccountAssociationRefreshResponse
43
+ * // OAuthAuthorizationUrl: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param StartAccountAssociationRefreshCommandInput - {@link StartAccountAssociationRefreshCommandInput}
49
+ * @returns {@link StartAccountAssociationRefreshCommandOutput}
50
+ * @see {@link StartAccountAssociationRefreshCommandInput} for command's `input` shape.
51
+ * @see {@link StartAccountAssociationRefreshCommandOutput} for command's `response` shape.
52
+ * @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>User is not authorized.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource does not exist.</p>
62
+ *
63
+ * @throws {@link ServiceUnavailableException} (server fault)
64
+ * <p>The service is temporarily unavailable.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The rate exceeds the limit.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>A validation error occurred when performing the API request.</p>
71
+ *
72
+ * @throws {@link IoTManagedIntegrationsServiceException}
73
+ * <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class StartAccountAssociationRefreshCommand extends StartAccountAssociationRefreshCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: StartAccountAssociationRefreshRequest;
83
+ output: StartAccountAssociationRefreshResponse;
84
+ };
85
+ sdk: {
86
+ input: StartAccountAssociationRefreshCommandInput;
87
+ output: StartAccountAssociationRefreshCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -27,9 +27,7 @@ declare const StartDeviceDiscoveryCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p> During user-guided setup, this is used to start device discovery. The authentication
31
- * material (install code) is passed as a message to the controller telling it to start the
32
- * discovery.</p>
30
+ * <p> This API is used to start device discovery for hub-connected and third-party-connected devices. The authentication material (install code) is passed as a message to the controller telling it to start the discovery.</p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -37,9 +35,13 @@ declare const StartDeviceDiscoveryCommand_base: {
37
35
  * // const { IoTManagedIntegrationsClient, StartDeviceDiscoveryCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
38
36
  * const client = new IoTManagedIntegrationsClient(config);
39
37
  * const input = { // StartDeviceDiscoveryRequest
40
- * DiscoveryType: "ZWAVE" || "ZIGBEE" || "CLOUD", // required
38
+ * DiscoveryType: "ZWAVE" || "ZIGBEE" || "CLOUD" || "CUSTOM", // required
39
+ * CustomProtocolDetail: { // CustomProtocolDetail
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
41
42
  * ControllerIdentifier: "STRING_VALUE",
42
43
  * ConnectorAssociationIdentifier: "STRING_VALUE",
44
+ * AccountAssociationId: "STRING_VALUE",
43
45
  * AuthenticationMaterial: "STRING_VALUE",
44
46
  * AuthenticationMaterialType: "ZWAVE_INSTALL_CODE",
45
47
  * ClientToken: "STRING_VALUE",
@@ -69,8 +71,7 @@ declare const StartDeviceDiscoveryCommand_base: {
69
71
  * <p>There is a conflict with the request.</p>
70
72
  *
71
73
  * @throws {@link InternalServerException} (server fault)
72
- * <p>Internal error from the service that indicates an unexpected error or that the service
73
- * is unavailable.</p>
74
+ * <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
74
75
  *
75
76
  * @throws {@link ResourceNotFoundException} (client fault)
76
77
  * <p>The specified resource does not exist.</p>