@aws-sdk/client-iot-managed-integrations 3.835.0 → 3.838.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 +200 -0
- package/dist-cjs/IoTManagedIntegrations.js +50 -0
- package/dist-cjs/commands/CreateAccountAssociationCommand.js +27 -0
- package/dist-cjs/commands/CreateCloudConnectorCommand.js +26 -0
- package/dist-cjs/commands/CreateConnectorDestinationCommand.js +26 -0
- package/dist-cjs/commands/DeleteAccountAssociationCommand.js +26 -0
- package/dist-cjs/commands/DeleteCloudConnectorCommand.js +26 -0
- package/dist-cjs/commands/DeleteConnectorDestinationCommand.js +26 -0
- package/dist-cjs/commands/DeregisterAccountAssociationCommand.js +26 -0
- package/dist-cjs/commands/GetAccountAssociationCommand.js +27 -0
- package/dist-cjs/commands/GetCloudConnectorCommand.js +26 -0
- package/dist-cjs/commands/GetConnectorDestinationCommand.js +26 -0
- package/dist-cjs/commands/GetOtaTaskCommand.js +2 -1
- package/dist-cjs/commands/ListAccountAssociationsCommand.js +26 -0
- package/dist-cjs/commands/ListCloudConnectorsCommand.js +26 -0
- package/dist-cjs/commands/ListConnectorDestinationsCommand.js +26 -0
- package/dist-cjs/commands/ListDeviceDiscoveriesCommand.js +26 -0
- package/dist-cjs/commands/ListDiscoveredDevicesCommand.js +27 -0
- package/dist-cjs/commands/ListManagedThingAccountAssociationsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +27 -0
- package/dist-cjs/commands/RegisterAccountAssociationCommand.js +26 -0
- package/dist-cjs/commands/SendConnectorEventCommand.js +27 -0
- package/dist-cjs/commands/StartAccountAssociationRefreshCommand.js +27 -0
- package/dist-cjs/commands/TagResourceCommand.js +27 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateAccountAssociationCommand.js +26 -0
- package/dist-cjs/commands/UpdateCloudConnectorCommand.js +26 -0
- package/dist-cjs/commands/UpdateConnectorDestinationCommand.js +26 -0
- package/dist-cjs/commands/index.js +25 -0
- package/dist-cjs/models/models_0.js +187 -36
- package/dist-cjs/pagination/ListAccountAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListCloudConnectorsPaginator.js +7 -0
- package/dist-cjs/pagination/ListConnectorDestinationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListDeviceDiscoveriesPaginator.js +7 -0
- package/dist-cjs/pagination/ListDiscoveredDevicesPaginator.js +7 -0
- package/dist-cjs/pagination/ListManagedThingAccountAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +974 -22
- package/dist-es/IoTManagedIntegrations.js +50 -0
- package/dist-es/commands/CreateAccountAssociationCommand.js +23 -0
- package/dist-es/commands/CreateCloudConnectorCommand.js +22 -0
- package/dist-es/commands/CreateConnectorDestinationCommand.js +22 -0
- package/dist-es/commands/DeleteAccountAssociationCommand.js +22 -0
- package/dist-es/commands/DeleteCloudConnectorCommand.js +22 -0
- package/dist-es/commands/DeleteConnectorDestinationCommand.js +22 -0
- package/dist-es/commands/DeregisterAccountAssociationCommand.js +22 -0
- package/dist-es/commands/GetAccountAssociationCommand.js +23 -0
- package/dist-es/commands/GetCloudConnectorCommand.js +22 -0
- package/dist-es/commands/GetConnectorDestinationCommand.js +22 -0
- package/dist-es/commands/GetOtaTaskCommand.js +2 -1
- package/dist-es/commands/ListAccountAssociationsCommand.js +22 -0
- package/dist-es/commands/ListCloudConnectorsCommand.js +22 -0
- package/dist-es/commands/ListConnectorDestinationsCommand.js +22 -0
- package/dist-es/commands/ListDeviceDiscoveriesCommand.js +22 -0
- package/dist-es/commands/ListDiscoveredDevicesCommand.js +23 -0
- package/dist-es/commands/ListManagedThingAccountAssociationsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +23 -0
- package/dist-es/commands/RegisterAccountAssociationCommand.js +22 -0
- package/dist-es/commands/SendConnectorEventCommand.js +23 -0
- package/dist-es/commands/StartAccountAssociationRefreshCommand.js +23 -0
- package/dist-es/commands/TagResourceCommand.js +23 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateAccountAssociationCommand.js +22 -0
- package/dist-es/commands/UpdateCloudConnectorCommand.js +22 -0
- package/dist-es/commands/UpdateConnectorDestinationCommand.js +22 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/models/models_0.js +168 -32
- package/dist-es/pagination/ListAccountAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListCloudConnectorsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectorDestinationsPaginator.js +4 -0
- package/dist-es/pagination/ListDeviceDiscoveriesPaginator.js +4 -0
- package/dist-es/pagination/ListDiscoveredDevicesPaginator.js +4 -0
- package/dist-es/pagination/ListManagedThingAccountAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +918 -17
- package/dist-types/IoTManagedIntegrations.d.ts +180 -0
- package/dist-types/IoTManagedIntegrationsClient.d.ts +27 -2
- package/dist-types/commands/CreateAccountAssociationCommand.d.ts +102 -0
- package/dist-types/commands/CreateCloudConnectorCommand.d.ts +159 -0
- package/dist-types/commands/CreateConnectorDestinationCommand.d.ts +108 -0
- package/dist-types/commands/CreateCredentialLockerCommand.d.ts +2 -4
- package/dist-types/commands/CreateDestinationCommand.d.ts +2 -4
- package/dist-types/commands/CreateEventLogConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/CreateManagedThingCommand.d.ts +12 -5
- package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +4 -6
- package/dist-types/commands/CreateOtaTaskCommand.d.ts +7 -2
- package/dist-types/commands/CreateOtaTaskConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/CreateProvisioningProfileCommand.d.ts +5 -5
- package/dist-types/commands/DeleteAccountAssociationCommand.d.ts +88 -0
- package/dist-types/commands/DeleteCloudConnectorCommand.d.ts +85 -0
- package/dist-types/commands/DeleteConnectorDestinationCommand.d.ts +85 -0
- package/dist-types/commands/DeleteCredentialLockerCommand.d.ts +2 -7
- package/dist-types/commands/DeleteDestinationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteEventLogConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteManagedThingCommand.d.ts +2 -5
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/DeleteOtaTaskCommand.d.ts +4 -2
- package/dist-types/commands/DeleteOtaTaskConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteProvisioningProfileCommand.d.ts +1 -2
- package/dist-types/commands/DeregisterAccountAssociationCommand.d.ts +86 -0
- package/dist-types/commands/GetAccountAssociationCommand.d.ts +100 -0
- package/dist-types/commands/GetCloudConnectorCommand.d.ts +151 -0
- package/dist-types/commands/GetConnectorDestinationCommand.d.ts +109 -0
- package/dist-types/commands/GetCredentialLockerCommand.d.ts +1 -2
- package/dist-types/commands/GetCustomEndpointCommand.d.ts +1 -2
- package/dist-types/commands/GetDefaultEncryptionConfigurationCommand.d.ts +1 -3
- package/dist-types/commands/GetDestinationCommand.d.ts +1 -2
- package/dist-types/commands/GetDeviceDiscoveryCommand.d.ts +3 -3
- package/dist-types/commands/GetEventLogConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetHubConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetManagedThingCapabilitiesCommand.d.ts +1 -2
- package/dist-types/commands/GetManagedThingCommand.d.ts +2 -2
- package/dist-types/commands/GetManagedThingConnectivityDataCommand.d.ts +1 -2
- package/dist-types/commands/GetManagedThingMetaDataCommand.d.ts +2 -3
- package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +3 -4
- package/dist-types/commands/GetOtaTaskCommand.d.ts +4 -2
- package/dist-types/commands/GetOtaTaskConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetProvisioningProfileCommand.d.ts +1 -2
- package/dist-types/commands/GetRuntimeLogConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/GetSchemaVersionCommand.d.ts +7 -14
- package/dist-types/commands/ListAccountAssociationsCommand.d.ts +100 -0
- package/dist-types/commands/ListCloudConnectorsCommand.d.ts +150 -0
- package/dist-types/commands/ListConnectorDestinationsCommand.d.ts +94 -0
- package/dist-types/commands/ListCredentialLockersCommand.d.ts +1 -2
- package/dist-types/commands/ListDestinationsCommand.d.ts +1 -2
- package/dist-types/commands/ListDeviceDiscoveriesCommand.d.ts +100 -0
- package/dist-types/commands/ListDiscoveredDevicesCommand.d.ts +110 -0
- package/dist-types/commands/ListEventLogConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/ListManagedThingAccountAssociationsCommand.d.ts +93 -0
- package/dist-types/commands/ListManagedThingSchemasCommand.d.ts +1 -2
- package/dist-types/commands/ListManagedThingsCommand.d.ts +5 -3
- package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +2 -3
- package/dist-types/commands/ListOtaTaskConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/ListOtaTaskExecutionsCommand.d.ts +4 -2
- package/dist-types/commands/ListOtaTasksCommand.d.ts +4 -2
- package/dist-types/commands/ListProvisioningProfilesCommand.d.ts +1 -2
- package/dist-types/commands/ListSchemaVersionsCommand.d.ts +7 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +86 -0
- package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +1 -3
- package/dist-types/commands/PutHubConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/PutRuntimeLogConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/RegisterAccountAssociationCommand.d.ts +94 -0
- package/dist-types/commands/RegisterCustomEndpointCommand.d.ts +2 -4
- package/dist-types/commands/ResetRuntimeLogConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/SendConnectorEventCommand.d.ts +309 -0
- package/dist-types/commands/SendManagedThingCommandCommand.d.ts +5 -2
- package/dist-types/commands/StartAccountAssociationRefreshCommand.d.ts +90 -0
- package/dist-types/commands/StartDeviceDiscoveryCommand.d.ts +7 -6
- package/dist-types/commands/TagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateAccountAssociationCommand.d.ts +93 -0
- package/dist-types/commands/UpdateCloudConnectorCommand.d.ts +115 -0
- package/dist-types/commands/UpdateConnectorDestinationCommand.d.ts +101 -0
- package/dist-types/commands/UpdateDestinationCommand.d.ts +1 -2
- package/dist-types/commands/UpdateEventLogConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/UpdateManagedThingCommand.d.ts +10 -2
- package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/UpdateOtaTaskCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +1953 -394
- package/dist-types/pagination/ListAccountAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCloudConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectorDestinationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDeviceDiscoveriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDiscoveredDevicesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListManagedThingAccountAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +225 -0
- package/dist-types/ts3.4/IoTManagedIntegrations.d.ts +436 -0
- package/dist-types/ts3.4/IoTManagedIntegrationsClient.d.ts +150 -0
- package/dist-types/ts3.4/commands/CreateAccountAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCloudConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectorDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAccountAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteCloudConnectorCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteConnectorDestinationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeregisterAccountAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAccountAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCloudConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectorDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAccountAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCloudConnectorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConnectorDestinationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDeviceDiscoveriesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDiscoveredDevicesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedThingAccountAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterAccountAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendConnectorEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartAccountAssociationRefreshCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAccountAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCloudConnectorCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/UpdateConnectorDestinationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/models/models_0.d.ts +510 -54
- package/dist-types/ts3.4/pagination/ListAccountAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCloudConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectorDestinationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDeviceDiscoveriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDiscoveredDevicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedThingAccountAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +300 -0
- package/package.json +1 -1
|
@@ -61,8 +61,7 @@ declare const GetCredentialLockerCommand_base: {
|
|
|
61
61
|
* <p>User is not authorized.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link InternalServerException} (server fault)
|
|
64
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
65
|
-
* is unavailable.</p>
|
|
64
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
66
65
|
*
|
|
67
66
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
67
|
* <p>The specified resource does not exist.</p>
|
|
@@ -53,8 +53,7 @@ declare const GetCustomEndpointCommand_base: {
|
|
|
53
53
|
* <p>User is not authorized.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
57
|
-
* is unavailable.</p>
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
59
|
* <p>The specified resource does not exist.</p>
|
|
@@ -27,9 +27,7 @@ declare const GetDefaultEncryptionConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> Retrieves information about the default encryption configuration for the Amazon Web Services account
|
|
31
|
-
* in the default or specified region. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/key-management.html">Key
|
|
32
|
-
* management</a> in the <i>AWS IoT SiteWise User Guide</i>.</p>
|
|
30
|
+
* <p> Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified region. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/key-management.html">Key management</a> in the <i>AWS IoT SiteWise User Guide</i>.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -64,8 +64,7 @@ declare const GetDestinationCommand_base: {
|
|
|
64
64
|
* <p>User is not authorized.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link InternalServerException} (server fault)
|
|
67
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
68
|
-
* is unavailable.</p>
|
|
67
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
69
68
|
*
|
|
70
69
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
70
|
* <p>The specified resource does not exist.</p>
|
|
@@ -42,11 +42,12 @@ declare const GetDeviceDiscoveryCommand_base: {
|
|
|
42
42
|
* // { // GetDeviceDiscoveryResponse
|
|
43
43
|
* // Id: "STRING_VALUE", // required
|
|
44
44
|
* // Arn: "STRING_VALUE", // required
|
|
45
|
-
* // DiscoveryType: "ZWAVE" || "ZIGBEE" || "CLOUD", // required
|
|
45
|
+
* // DiscoveryType: "ZWAVE" || "ZIGBEE" || "CLOUD" || "CUSTOM", // required
|
|
46
46
|
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT", // required
|
|
47
47
|
* // StartedAt: new Date("TIMESTAMP"), // required
|
|
48
48
|
* // ControllerId: "STRING_VALUE",
|
|
49
49
|
* // ConnectorAssociationId: "STRING_VALUE",
|
|
50
|
+
* // AccountAssociationId: "STRING_VALUE",
|
|
50
51
|
* // FinishedAt: new Date("TIMESTAMP"),
|
|
51
52
|
* // Tags: { // TagsMap
|
|
52
53
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -65,8 +66,7 @@ declare const GetDeviceDiscoveryCommand_base: {
|
|
|
65
66
|
* <p>User is not authorized.</p>
|
|
66
67
|
*
|
|
67
68
|
* @throws {@link InternalServerException} (server fault)
|
|
68
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
69
|
-
* is unavailable.</p>
|
|
69
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
72
|
* <p>The specified resource does not exist.</p>
|
|
@@ -58,8 +58,7 @@ declare const GetEventLogConfigurationCommand_base: {
|
|
|
58
58
|
* <p>User is not authorized.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InternalServerException} (server fault)
|
|
61
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
62
|
-
* is unavailable.</p>
|
|
61
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
63
62
|
*
|
|
64
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
64
|
* <p>The specified resource does not exist.</p>
|
|
@@ -54,8 +54,7 @@ declare const GetHubConfigurationCommand_base: {
|
|
|
54
54
|
* <p>User is not authorized.</p>
|
|
55
55
|
*
|
|
56
56
|
* @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>
|
|
57
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
59
58
|
*
|
|
60
59
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
60
|
* <p>The specified resource does not exist.</p>
|
|
@@ -84,8 +84,7 @@ declare const GetManagedThingCapabilitiesCommand_base: {
|
|
|
84
84
|
* <p>User is not authorized.</p>
|
|
85
85
|
*
|
|
86
86
|
* @throws {@link InternalServerException} (server fault)
|
|
87
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
88
|
-
* is unavailable.</p>
|
|
87
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
89
88
|
*
|
|
90
89
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
90
|
* <p>The specified resource does not exist.</p>
|
|
@@ -54,6 +54,7 @@ declare const GetManagedThingCommand_base: {
|
|
|
54
54
|
* // UniversalProductCode: "STRING_VALUE",
|
|
55
55
|
* // InternationalArticleNumber: "STRING_VALUE",
|
|
56
56
|
* // ConnectorPolicyId: "STRING_VALUE",
|
|
57
|
+
* // ConnectorDestinationId: "STRING_VALUE",
|
|
57
58
|
* // ConnectorDeviceId: "STRING_VALUE",
|
|
58
59
|
* // DeviceSpecificKey: "STRING_VALUE",
|
|
59
60
|
* // MacAddress: "STRING_VALUE",
|
|
@@ -83,8 +84,7 @@ declare const GetManagedThingCommand_base: {
|
|
|
83
84
|
* <p>User is not authorized.</p>
|
|
84
85
|
*
|
|
85
86
|
* @throws {@link InternalServerException} (server fault)
|
|
86
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
87
|
-
* is unavailable.</p>
|
|
87
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
88
88
|
*
|
|
89
89
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
90
|
* <p>The specified resource does not exist.</p>
|
|
@@ -58,8 +58,7 @@ declare const GetManagedThingConnectivityDataCommand_base: {
|
|
|
58
58
|
* <p>User is not authorized.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InternalServerException} (server fault)
|
|
61
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
62
|
-
* is unavailable.</p>
|
|
61
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
63
62
|
*
|
|
64
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
64
|
* <p>The specified resource does not exist.</p>
|
|
@@ -27,7 +27,7 @@ declare const GetManagedThingMetaDataCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Get the metadata information for a managed thing.</p>
|
|
30
|
+
* <p>Get the metadata information for a managed thing.</p> <note> <p>The <code>managedThing</code> <code>metadata</code> parameter is used for associating attributes with a <code>managedThing</code> that can be used for grouping over-the-air (OTA) tasks. Name value pairs in <code>metadata</code> can be used in the <code>OtaTargetQueryString</code> parameter for the <code>CreateOtaTask</code> API operation.</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
|
|
@@ -58,8 +58,7 @@ declare const GetManagedThingMetaDataCommand_base: {
|
|
|
58
58
|
* <p>User is not authorized.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InternalServerException} (server fault)
|
|
61
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
62
|
-
* is unavailable.</p>
|
|
61
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
63
62
|
*
|
|
64
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
64
|
* <p>The specified resource does not exist.</p>
|
|
@@ -35,12 +35,12 @@ declare const GetNotificationConfigurationCommand_base: {
|
|
|
35
35
|
* // const { IoTManagedIntegrationsClient, GetNotificationConfigurationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
36
|
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
37
|
* const input = { // GetNotificationConfigurationRequest
|
|
38
|
-
* EventType: "DEVICE_COMMAND" || "DEVICE_COMMAND_REQUEST" || "DEVICE_EVENT" || "DEVICE_LIFE_CYCLE" || "DEVICE_STATE" || "DEVICE_OTA" || "CONNECTOR_ASSOCIATION" || "CONNECTOR_ERROR_REPORT", // required
|
|
38
|
+
* EventType: "DEVICE_COMMAND" || "DEVICE_COMMAND_REQUEST" || "DEVICE_DISCOVERY_STATUS" || "DEVICE_EVENT" || "DEVICE_LIFE_CYCLE" || "DEVICE_STATE" || "DEVICE_OTA" || "CONNECTOR_ASSOCIATION" || "ACCOUNT_ASSOCIATION" || "CONNECTOR_ERROR_REPORT", // required
|
|
39
39
|
* };
|
|
40
40
|
* const command = new GetNotificationConfigurationCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
42
|
* // { // GetNotificationConfigurationResponse
|
|
43
|
-
* // EventType: "DEVICE_COMMAND" || "DEVICE_COMMAND_REQUEST" || "DEVICE_EVENT" || "DEVICE_LIFE_CYCLE" || "DEVICE_STATE" || "DEVICE_OTA" || "CONNECTOR_ASSOCIATION" || "CONNECTOR_ERROR_REPORT",
|
|
43
|
+
* // EventType: "DEVICE_COMMAND" || "DEVICE_COMMAND_REQUEST" || "DEVICE_DISCOVERY_STATUS" || "DEVICE_EVENT" || "DEVICE_LIFE_CYCLE" || "DEVICE_STATE" || "DEVICE_OTA" || "CONNECTOR_ASSOCIATION" || "ACCOUNT_ASSOCIATION" || "CONNECTOR_ERROR_REPORT",
|
|
44
44
|
* // DestinationName: "STRING_VALUE",
|
|
45
45
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
46
46
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
@@ -61,8 +61,7 @@ declare const GetNotificationConfigurationCommand_base: {
|
|
|
61
61
|
* <p>User is not authorized.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link InternalServerException} (server fault)
|
|
64
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
65
|
-
* is unavailable.</p>
|
|
64
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
66
65
|
*
|
|
67
66
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
67
|
* <p>The specified resource does not exist.</p>
|
|
@@ -87,6 +87,9 @@ declare const GetOtaTaskCommand_base: {
|
|
|
87
87
|
* // ],
|
|
88
88
|
* // },
|
|
89
89
|
* // Status: "IN_PROGRESS" || "CANCELED" || "COMPLETED" || "DELETION_IN_PROGRESS" || "SCHEDULED",
|
|
90
|
+
* // Tags: { // TagsMap
|
|
91
|
+
* // "<keys>": "STRING_VALUE",
|
|
92
|
+
* // },
|
|
90
93
|
* // };
|
|
91
94
|
*
|
|
92
95
|
* ```
|
|
@@ -101,8 +104,7 @@ declare const GetOtaTaskCommand_base: {
|
|
|
101
104
|
* <p>User is not authorized.</p>
|
|
102
105
|
*
|
|
103
106
|
* @throws {@link InternalServerException} (server fault)
|
|
104
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
105
|
-
* is unavailable.</p>
|
|
107
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
106
108
|
*
|
|
107
109
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
108
110
|
* <p>The specified resource does not exist.</p>
|
|
@@ -84,8 +84,7 @@ declare const GetOtaTaskConfigurationCommand_base: {
|
|
|
84
84
|
* <p>User is not authorized.</p>
|
|
85
85
|
*
|
|
86
86
|
* @throws {@link InternalServerException} (server fault)
|
|
87
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
88
|
-
* is unavailable.</p>
|
|
87
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
89
88
|
*
|
|
90
89
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
90
|
* <p>The specified resource does not exist.</p>
|
|
@@ -62,8 +62,7 @@ declare const GetProvisioningProfileCommand_base: {
|
|
|
62
62
|
* <p>User is not authorized.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link InternalServerException} (server fault)
|
|
65
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
66
|
-
* is unavailable.</p>
|
|
65
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
67
66
|
*
|
|
68
67
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
68
|
* <p>The specified resource does not exist.</p>
|
|
@@ -27,8 +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 or for all managed things
|
|
31
|
-
* as a group.</p>
|
|
30
|
+
* <p>Get the 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
|
|
@@ -66,8 +65,7 @@ declare const GetRuntimeLogConfigurationCommand_base: {
|
|
|
66
65
|
* <p>User is not authorized.</p>
|
|
67
66
|
*
|
|
68
67
|
* @throws {@link InternalServerException} (server fault)
|
|
69
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
70
|
-
* is unavailable.</p>
|
|
68
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
71
69
|
*
|
|
72
70
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
71
|
* <p>The specified resource does not exist.</p>
|
|
@@ -66,8 +66,7 @@ declare const GetSchemaVersionCommand_base: {
|
|
|
66
66
|
* <p>There is a conflict with the request.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link InternalServerException} (server fault)
|
|
69
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
70
|
-
* is unavailable.</p>
|
|
69
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
71
70
|
*
|
|
72
71
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
72
|
* <p>The specified resource does not exist.</p>
|
|
@@ -89,7 +88,7 @@ declare const GetSchemaVersionCommand_base: {
|
|
|
89
88
|
* ```javascript
|
|
90
89
|
* //
|
|
91
90
|
* const input = {
|
|
92
|
-
* SchemaVersionedId: "matter.ColorControl
|
|
91
|
+
* SchemaVersionedId: "matter.ColorControl@1.4",
|
|
93
92
|
* Type: "capability"
|
|
94
93
|
* };
|
|
95
94
|
* const command = new GetSchemaVersionCommand(input);
|
|
@@ -100,16 +99,10 @@ declare const GetSchemaVersionCommand_base: {
|
|
|
100
99
|
* Namespace: "matter",
|
|
101
100
|
* Schema: {
|
|
102
101
|
* $defs: { /* empty *\/ },
|
|
103
|
-
* $id: "matter.ColorControl@1.
|
|
104
|
-
* $ref: "aws.capability@1.0",
|
|
102
|
+
* $id: "/schema-versions/capability/matter.ColorControl@1.4",
|
|
103
|
+
* $ref: "/schema-versions/definition/aws.capability@1.0",
|
|
105
104
|
* actions: [
|
|
106
105
|
* {
|
|
107
|
-
* $ref: "aws.action.ReadState@1.0"
|
|
108
|
-
* },
|
|
109
|
-
* {
|
|
110
|
-
* $ref: "aws.action.UpdateState@1.0"
|
|
111
|
-
* },
|
|
112
|
-
* {
|
|
113
106
|
* extrinsicId: "0x00",
|
|
114
107
|
* name: "MoveToHue",
|
|
115
108
|
* request: {
|
|
@@ -140,7 +133,7 @@ declare const GetSchemaVersionCommand_base: {
|
|
|
140
133
|
* title: "Color Control Cluster"
|
|
141
134
|
* },
|
|
142
135
|
* SchemaId: "matter.ColorControl",
|
|
143
|
-
* SemanticVersion: "1.
|
|
136
|
+
* SemanticVersion: "1.4",
|
|
144
137
|
* Type: "capability"
|
|
145
138
|
* }
|
|
146
139
|
* *\/
|
|
@@ -151,7 +144,7 @@ declare const GetSchemaVersionCommand_base: {
|
|
|
151
144
|
* //
|
|
152
145
|
* const input = {
|
|
153
146
|
* Format: "ZCL",
|
|
154
|
-
* SchemaVersionedId: "matter.ColorControl@1.
|
|
147
|
+
* SchemaVersionedId: "matter.ColorControl@1.4",
|
|
155
148
|
* Type: "capability"
|
|
156
149
|
* };
|
|
157
150
|
* const command = new GetSchemaVersionCommand(input);
|
|
@@ -162,7 +155,7 @@ declare const GetSchemaVersionCommand_base: {
|
|
|
162
155
|
* Namespace: "matter",
|
|
163
156
|
* Schema: { /* empty *\/ },
|
|
164
157
|
* SchemaId: "matter.ColorControl",
|
|
165
|
-
* SemanticVersion: "1.
|
|
158
|
+
* SemanticVersion: "1.4",
|
|
166
159
|
* Type: "capability"
|
|
167
160
|
* }
|
|
168
161
|
* *\/
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { ListAccountAssociationsRequest, ListAccountAssociationsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAccountAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAccountAssociationsCommandInput extends ListAccountAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAccountAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAccountAssociationsCommandOutput extends ListAccountAssociationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAccountAssociationsCommand_base: {
|
|
25
|
+
new (input: ListAccountAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountAssociationsCommandInput, ListAccountAssociationsCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAccountAssociationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAccountAssociationsCommandInput, ListAccountAssociationsCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all account associations, with optional filtering by connector destination ID.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, ListAccountAssociationsCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, ListAccountAssociationsCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // ListAccountAssociationsRequest
|
|
38
|
+
* ConnectorDestinationId: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListAccountAssociationsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListAccountAssociationsResponse
|
|
45
|
+
* // Items: [ // AccountAssociationListDefinition
|
|
46
|
+
* // { // AccountAssociationItem
|
|
47
|
+
* // AccountAssociationId: "STRING_VALUE", // required
|
|
48
|
+
* // AssociationState: "ASSOCIATION_IN_PROGRESS" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCEEDED" || "ASSOCIATION_DELETING" || "REFRESH_TOKEN_EXPIRED", // required
|
|
49
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
50
|
+
* // ConnectorDestinationId: "STRING_VALUE",
|
|
51
|
+
* // Name: "STRING_VALUE",
|
|
52
|
+
* // Description: "STRING_VALUE",
|
|
53
|
+
* // Arn: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // NextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListAccountAssociationsCommandInput - {@link ListAccountAssociationsCommandInput}
|
|
62
|
+
* @returns {@link ListAccountAssociationsCommandOutput}
|
|
63
|
+
* @see {@link ListAccountAssociationsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListAccountAssociationsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>User is not authorized.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
|
+
* <p>The service is temporarily unavailable.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The rate exceeds the limit.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListAccountAssociationsCommand extends ListAccountAssociationsCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListAccountAssociationsRequest;
|
|
93
|
+
output: ListAccountAssociationsResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListAccountAssociationsCommandInput;
|
|
97
|
+
output: ListAccountAssociationsCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
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 { ListCloudConnectorsRequest, ListCloudConnectorsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListCloudConnectorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListCloudConnectorsCommandInput extends ListCloudConnectorsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListCloudConnectorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListCloudConnectorsCommandOutput extends ListCloudConnectorsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListCloudConnectorsCommand_base: {
|
|
25
|
+
new (input: ListCloudConnectorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCloudConnectorsCommandInput, ListCloudConnectorsCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListCloudConnectorsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCloudConnectorsCommandInput, ListCloudConnectorsCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of connectors based on permissions. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, ListCloudConnectorsCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, ListCloudConnectorsCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // ListCloudConnectorsRequest
|
|
38
|
+
* Type: "LISTED" || "UNLISTED",
|
|
39
|
+
* LambdaArn: "STRING_VALUE",
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListCloudConnectorsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListCloudConnectorsResponse
|
|
46
|
+
* // Items: [ // ConnectorList
|
|
47
|
+
* // { // ConnectorItem
|
|
48
|
+
* // Name: "STRING_VALUE", // required
|
|
49
|
+
* // EndpointConfig: { // EndpointConfig
|
|
50
|
+
* // lambda: { // LambdaConfig
|
|
51
|
+
* // arn: "STRING_VALUE", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // Description: "STRING_VALUE",
|
|
55
|
+
* // EndpointType: "LAMBDA",
|
|
56
|
+
* // Id: "STRING_VALUE",
|
|
57
|
+
* // Type: "LISTED" || "UNLISTED",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListCloudConnectorsCommandInput - {@link ListCloudConnectorsCommandInput}
|
|
66
|
+
* @returns {@link ListCloudConnectorsCommandOutput}
|
|
67
|
+
* @see {@link ListCloudConnectorsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListCloudConnectorsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>User is not authorized.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>The rate exceeds the limit.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @example ListCloudConnectors happy path to get a list of connector resources
|
|
88
|
+
* ```javascript
|
|
89
|
+
* //
|
|
90
|
+
* const input = {
|
|
91
|
+
* MaxResults: 5
|
|
92
|
+
* };
|
|
93
|
+
* const command = new ListCloudConnectorsCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* {
|
|
97
|
+
* Items: [
|
|
98
|
+
* {
|
|
99
|
+
* Description: "Description for TP Link Cloud V2",
|
|
100
|
+
* EndpointConfig: {
|
|
101
|
+
* lambda: {
|
|
102
|
+
* arn: "arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion"
|
|
103
|
+
* }
|
|
104
|
+
* },
|
|
105
|
+
* EndpointType: "LAMBDA",
|
|
106
|
+
* Name: "Connector for TP Link Cloud V2"
|
|
107
|
+
* },
|
|
108
|
+
* {
|
|
109
|
+
* Description: "Description for Ring Cloud",
|
|
110
|
+
* EndpointConfig: {
|
|
111
|
+
* lambda: {
|
|
112
|
+
* arn: "arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion"
|
|
113
|
+
* }
|
|
114
|
+
* },
|
|
115
|
+
* EndpointType: "LAMBDA",
|
|
116
|
+
* Name: "Connector for Ring Cloud"
|
|
117
|
+
* }
|
|
118
|
+
* ]
|
|
119
|
+
* }
|
|
120
|
+
* *\/
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @example ListCloudConnectors error path for unauthorized user
|
|
124
|
+
* ```javascript
|
|
125
|
+
* //
|
|
126
|
+
* const input = {
|
|
127
|
+
* MaxResults: 5
|
|
128
|
+
* };
|
|
129
|
+
* const command = new ListCloudConnectorsCommand(input);
|
|
130
|
+
* const response = await client.send(command);
|
|
131
|
+
* /* response is
|
|
132
|
+
* { /* metadata only *\/ }
|
|
133
|
+
* *\/
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class ListCloudConnectorsCommand extends ListCloudConnectorsCommand_base {
|
|
139
|
+
/** @internal type navigation helper, not in runtime. */
|
|
140
|
+
protected static __types: {
|
|
141
|
+
api: {
|
|
142
|
+
input: ListCloudConnectorsRequest;
|
|
143
|
+
output: ListCloudConnectorsResponse;
|
|
144
|
+
};
|
|
145
|
+
sdk: {
|
|
146
|
+
input: ListCloudConnectorsCommandInput;
|
|
147
|
+
output: ListCloudConnectorsCommandOutput;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}
|
|
@@ -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 { ListConnectorDestinationsRequest, ListConnectorDestinationsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListConnectorDestinationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConnectorDestinationsCommandInput extends ListConnectorDestinationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConnectorDestinationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConnectorDestinationsCommandOutput extends ListConnectorDestinationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListConnectorDestinationsCommand_base: {
|
|
25
|
+
new (input: ListConnectorDestinationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectorDestinationsCommandInput, ListConnectorDestinationsCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListConnectorDestinationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListConnectorDestinationsCommandInput, ListConnectorDestinationsCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all connector destinations, with optional filtering by cloud connector ID.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, ListConnectorDestinationsCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, ListConnectorDestinationsCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // ListConnectorDestinationsRequest
|
|
38
|
+
* CloudConnectorId: "STRING_VALUE",
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListConnectorDestinationsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListConnectorDestinationsResponse
|
|
45
|
+
* // ConnectorDestinationList: [ // ConnectorDestinationListDefinition
|
|
46
|
+
* // { // ConnectorDestinationSummary
|
|
47
|
+
* // Name: "STRING_VALUE",
|
|
48
|
+
* // Description: "STRING_VALUE",
|
|
49
|
+
* // CloudConnectorId: "STRING_VALUE",
|
|
50
|
+
* // Id: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ListConnectorDestinationsCommandInput - {@link ListConnectorDestinationsCommandInput}
|
|
59
|
+
* @returns {@link ListConnectorDestinationsCommandOutput}
|
|
60
|
+
* @see {@link ListConnectorDestinationsCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ListConnectorDestinationsCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>User is not authorized.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</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 ListConnectorDestinationsCommand extends ListConnectorDestinationsCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: ListConnectorDestinationsRequest;
|
|
87
|
+
output: ListConnectorDestinationsResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: ListConnectorDestinationsCommandInput;
|
|
91
|
+
output: ListConnectorDestinationsCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|