@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.
- 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 +11 -11
|
@@ -1,14 +1,71 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.se_ListDeviceDiscoveriesCommand = exports.se_ListDestinationsCommand = exports.se_ListCredentialLockersCommand = exports.se_ListConnectorDestinationsCommand = exports.se_ListCloudConnectorsCommand = exports.se_ListAccountAssociationsCommand = exports.se_GetSchemaVersionCommand = exports.se_GetRuntimeLogConfigurationCommand = exports.se_GetProvisioningProfileCommand = exports.se_GetOtaTaskConfigurationCommand = exports.se_GetOtaTaskCommand = exports.se_GetNotificationConfigurationCommand = exports.se_GetManagedThingStateCommand = exports.se_GetManagedThingMetaDataCommand = exports.se_GetManagedThingConnectivityDataCommand = exports.se_GetManagedThingCapabilitiesCommand = exports.se_GetManagedThingCommand = exports.se_GetHubConfigurationCommand = exports.se_GetEventLogConfigurationCommand = exports.se_GetDeviceDiscoveryCommand = exports.se_GetDestinationCommand = exports.se_GetDefaultEncryptionConfigurationCommand = exports.se_GetCustomEndpointCommand = exports.se_GetCredentialLockerCommand = exports.se_GetConnectorDestinationCommand = exports.se_GetCloudConnectorCommand = exports.se_GetAccountAssociationCommand = exports.se_DeregisterAccountAssociationCommand = exports.se_DeleteProvisioningProfileCommand = exports.se_DeleteOtaTaskConfigurationCommand = exports.se_DeleteOtaTaskCommand = exports.se_DeleteNotificationConfigurationCommand = exports.se_DeleteManagedThingCommand = exports.se_DeleteEventLogConfigurationCommand = exports.se_DeleteDestinationCommand = exports.se_DeleteCredentialLockerCommand = exports.se_DeleteConnectorDestinationCommand = exports.se_DeleteCloudConnectorCommand = exports.se_DeleteAccountAssociationCommand = exports.se_CreateProvisioningProfileCommand = exports.se_CreateOtaTaskConfigurationCommand = exports.se_CreateOtaTaskCommand = exports.se_CreateNotificationConfigurationCommand = exports.se_CreateManagedThingCommand = exports.se_CreateEventLogConfigurationCommand = exports.se_CreateDestinationCommand = exports.se_CreateCredentialLockerCommand = exports.se_CreateConnectorDestinationCommand = exports.se_CreateCloudConnectorCommand = exports.se_CreateAccountAssociationCommand = void 0;
|
|
4
|
+
exports.de_DeleteManagedThingCommand = exports.de_DeleteEventLogConfigurationCommand = exports.de_DeleteDestinationCommand = exports.de_DeleteCredentialLockerCommand = exports.de_DeleteConnectorDestinationCommand = exports.de_DeleteCloudConnectorCommand = exports.de_DeleteAccountAssociationCommand = exports.de_CreateProvisioningProfileCommand = exports.de_CreateOtaTaskConfigurationCommand = exports.de_CreateOtaTaskCommand = exports.de_CreateNotificationConfigurationCommand = exports.de_CreateManagedThingCommand = exports.de_CreateEventLogConfigurationCommand = exports.de_CreateDestinationCommand = exports.de_CreateCredentialLockerCommand = exports.de_CreateConnectorDestinationCommand = exports.de_CreateCloudConnectorCommand = exports.de_CreateAccountAssociationCommand = exports.se_UpdateOtaTaskCommand = exports.se_UpdateNotificationConfigurationCommand = exports.se_UpdateManagedThingCommand = exports.se_UpdateEventLogConfigurationCommand = exports.se_UpdateDestinationCommand = exports.se_UpdateConnectorDestinationCommand = exports.se_UpdateCloudConnectorCommand = exports.se_UpdateAccountAssociationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartDeviceDiscoveryCommand = exports.se_StartAccountAssociationRefreshCommand = exports.se_SendManagedThingCommandCommand = exports.se_SendConnectorEventCommand = exports.se_ResetRuntimeLogConfigurationCommand = exports.se_RegisterCustomEndpointCommand = exports.se_RegisterAccountAssociationCommand = exports.se_PutRuntimeLogConfigurationCommand = exports.se_PutHubConfigurationCommand = exports.se_PutDefaultEncryptionConfigurationCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSchemaVersionsCommand = exports.se_ListProvisioningProfilesCommand = exports.se_ListOtaTasksCommand = exports.se_ListOtaTaskExecutionsCommand = exports.se_ListOtaTaskConfigurationsCommand = exports.se_ListNotificationConfigurationsCommand = exports.se_ListManagedThingSchemasCommand = exports.se_ListManagedThingsCommand = exports.se_ListManagedThingAccountAssociationsCommand = exports.se_ListEventLogConfigurationsCommand = exports.se_ListDiscoveredDevicesCommand = void 0;
|
|
5
|
+
exports.de_ResetRuntimeLogConfigurationCommand = exports.de_RegisterCustomEndpointCommand = exports.de_RegisterAccountAssociationCommand = exports.de_PutRuntimeLogConfigurationCommand = exports.de_PutHubConfigurationCommand = exports.de_PutDefaultEncryptionConfigurationCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSchemaVersionsCommand = exports.de_ListProvisioningProfilesCommand = exports.de_ListOtaTasksCommand = exports.de_ListOtaTaskExecutionsCommand = exports.de_ListOtaTaskConfigurationsCommand = exports.de_ListNotificationConfigurationsCommand = exports.de_ListManagedThingSchemasCommand = exports.de_ListManagedThingsCommand = exports.de_ListManagedThingAccountAssociationsCommand = exports.de_ListEventLogConfigurationsCommand = exports.de_ListDiscoveredDevicesCommand = exports.de_ListDeviceDiscoveriesCommand = exports.de_ListDestinationsCommand = exports.de_ListCredentialLockersCommand = exports.de_ListConnectorDestinationsCommand = exports.de_ListCloudConnectorsCommand = exports.de_ListAccountAssociationsCommand = exports.de_GetSchemaVersionCommand = exports.de_GetRuntimeLogConfigurationCommand = exports.de_GetProvisioningProfileCommand = exports.de_GetOtaTaskConfigurationCommand = exports.de_GetOtaTaskCommand = exports.de_GetNotificationConfigurationCommand = exports.de_GetManagedThingStateCommand = exports.de_GetManagedThingMetaDataCommand = exports.de_GetManagedThingConnectivityDataCommand = exports.de_GetManagedThingCapabilitiesCommand = exports.de_GetManagedThingCommand = exports.de_GetHubConfigurationCommand = exports.de_GetEventLogConfigurationCommand = exports.de_GetDeviceDiscoveryCommand = exports.de_GetDestinationCommand = exports.de_GetDefaultEncryptionConfigurationCommand = exports.de_GetCustomEndpointCommand = exports.de_GetCredentialLockerCommand = exports.de_GetConnectorDestinationCommand = exports.de_GetCloudConnectorCommand = exports.de_GetAccountAssociationCommand = exports.de_DeregisterAccountAssociationCommand = exports.de_DeleteProvisioningProfileCommand = exports.de_DeleteOtaTaskConfigurationCommand = exports.de_DeleteOtaTaskCommand = exports.de_DeleteNotificationConfigurationCommand = void 0;
|
|
6
|
+
exports.de_UpdateOtaTaskCommand = exports.de_UpdateNotificationConfigurationCommand = exports.de_UpdateManagedThingCommand = exports.de_UpdateEventLogConfigurationCommand = exports.de_UpdateDestinationCommand = exports.de_UpdateConnectorDestinationCommand = exports.de_UpdateCloudConnectorCommand = exports.de_UpdateAccountAssociationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartDeviceDiscoveryCommand = exports.de_StartAccountAssociationRefreshCommand = exports.de_SendManagedThingCommandCommand = exports.de_SendConnectorEventCommand = void 0;
|
|
6
7
|
const core_1 = require("@aws-sdk/core");
|
|
7
8
|
const core_2 = require("@smithy/core");
|
|
8
9
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
10
|
const uuid_1 = require("uuid");
|
|
10
11
|
const IoTManagedIntegrationsServiceException_1 = require("../models/IoTManagedIntegrationsServiceException");
|
|
11
12
|
const models_0_1 = require("../models/models_0");
|
|
13
|
+
const se_CreateAccountAssociationCommand = async (input, context) => {
|
|
14
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
15
|
+
const headers = {
|
|
16
|
+
"content-type": "application/json",
|
|
17
|
+
};
|
|
18
|
+
b.bp("/account-associations");
|
|
19
|
+
let body;
|
|
20
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
21
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
22
|
+
ConnectorDestinationId: [],
|
|
23
|
+
Description: [],
|
|
24
|
+
Name: [],
|
|
25
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
26
|
+
}));
|
|
27
|
+
b.m("POST").h(headers).b(body);
|
|
28
|
+
return b.build();
|
|
29
|
+
};
|
|
30
|
+
exports.se_CreateAccountAssociationCommand = se_CreateAccountAssociationCommand;
|
|
31
|
+
const se_CreateCloudConnectorCommand = async (input, context) => {
|
|
32
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
33
|
+
const headers = {
|
|
34
|
+
"content-type": "application/json",
|
|
35
|
+
};
|
|
36
|
+
b.bp("/cloud-connectors");
|
|
37
|
+
let body;
|
|
38
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
39
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
40
|
+
Description: [],
|
|
41
|
+
EndpointConfig: (_) => (0, smithy_client_1._json)(_),
|
|
42
|
+
EndpointType: [],
|
|
43
|
+
Name: [],
|
|
44
|
+
}));
|
|
45
|
+
b.m("POST").h(headers).b(body);
|
|
46
|
+
return b.build();
|
|
47
|
+
};
|
|
48
|
+
exports.se_CreateCloudConnectorCommand = se_CreateCloudConnectorCommand;
|
|
49
|
+
const se_CreateConnectorDestinationCommand = async (input, context) => {
|
|
50
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
51
|
+
const headers = {
|
|
52
|
+
"content-type": "application/json",
|
|
53
|
+
};
|
|
54
|
+
b.bp("/connector-destinations");
|
|
55
|
+
let body;
|
|
56
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
57
|
+
AuthConfig: (_) => (0, smithy_client_1._json)(_),
|
|
58
|
+
AuthType: [],
|
|
59
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
60
|
+
CloudConnectorId: [],
|
|
61
|
+
Description: [],
|
|
62
|
+
Name: [],
|
|
63
|
+
SecretsManager: (_) => (0, smithy_client_1._json)(_),
|
|
64
|
+
}));
|
|
65
|
+
b.m("POST").h(headers).b(body);
|
|
66
|
+
return b.build();
|
|
67
|
+
};
|
|
68
|
+
exports.se_CreateConnectorDestinationCommand = se_CreateConnectorDestinationCommand;
|
|
12
69
|
const se_CreateCredentialLockerCommand = async (input, context) => {
|
|
13
70
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
14
71
|
const headers = {
|
|
@@ -75,6 +132,7 @@ const se_CreateManagedThingCommand = async (input, context) => {
|
|
|
75
132
|
Brand: [],
|
|
76
133
|
Capabilities: [],
|
|
77
134
|
CapabilityReport: (_) => (0, smithy_client_1._json)(_),
|
|
135
|
+
CapabilitySchemas: (_) => se_CapabilitySchemas(_, context),
|
|
78
136
|
Classification: [],
|
|
79
137
|
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
80
138
|
CredentialLockerId: [],
|
|
@@ -167,6 +225,36 @@ const se_CreateProvisioningProfileCommand = async (input, context) => {
|
|
|
167
225
|
return b.build();
|
|
168
226
|
};
|
|
169
227
|
exports.se_CreateProvisioningProfileCommand = se_CreateProvisioningProfileCommand;
|
|
228
|
+
const se_DeleteAccountAssociationCommand = async (input, context) => {
|
|
229
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
230
|
+
const headers = {};
|
|
231
|
+
b.bp("/account-associations/{AccountAssociationId}");
|
|
232
|
+
b.p("AccountAssociationId", () => input.AccountAssociationId, "{AccountAssociationId}", false);
|
|
233
|
+
let body;
|
|
234
|
+
b.m("DELETE").h(headers).b(body);
|
|
235
|
+
return b.build();
|
|
236
|
+
};
|
|
237
|
+
exports.se_DeleteAccountAssociationCommand = se_DeleteAccountAssociationCommand;
|
|
238
|
+
const se_DeleteCloudConnectorCommand = async (input, context) => {
|
|
239
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
240
|
+
const headers = {};
|
|
241
|
+
b.bp("/cloud-connectors/{Identifier}");
|
|
242
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
243
|
+
let body;
|
|
244
|
+
b.m("DELETE").h(headers).b(body);
|
|
245
|
+
return b.build();
|
|
246
|
+
};
|
|
247
|
+
exports.se_DeleteCloudConnectorCommand = se_DeleteCloudConnectorCommand;
|
|
248
|
+
const se_DeleteConnectorDestinationCommand = async (input, context) => {
|
|
249
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
250
|
+
const headers = {};
|
|
251
|
+
b.bp("/connector-destinations/{Identifier}");
|
|
252
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
253
|
+
let body;
|
|
254
|
+
b.m("DELETE").h(headers).b(body);
|
|
255
|
+
return b.build();
|
|
256
|
+
};
|
|
257
|
+
exports.se_DeleteConnectorDestinationCommand = se_DeleteConnectorDestinationCommand;
|
|
170
258
|
const se_DeleteCredentialLockerCommand = async (input, context) => {
|
|
171
259
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
172
260
|
const headers = {};
|
|
@@ -250,6 +338,51 @@ const se_DeleteProvisioningProfileCommand = async (input, context) => {
|
|
|
250
338
|
return b.build();
|
|
251
339
|
};
|
|
252
340
|
exports.se_DeleteProvisioningProfileCommand = se_DeleteProvisioningProfileCommand;
|
|
341
|
+
const se_DeregisterAccountAssociationCommand = async (input, context) => {
|
|
342
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
343
|
+
const headers = {
|
|
344
|
+
"content-type": "application/json",
|
|
345
|
+
};
|
|
346
|
+
b.bp("/managed-thing-associations/deregister");
|
|
347
|
+
let body;
|
|
348
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
349
|
+
AccountAssociationId: [],
|
|
350
|
+
ManagedThingId: [],
|
|
351
|
+
}));
|
|
352
|
+
b.m("PUT").h(headers).b(body);
|
|
353
|
+
return b.build();
|
|
354
|
+
};
|
|
355
|
+
exports.se_DeregisterAccountAssociationCommand = se_DeregisterAccountAssociationCommand;
|
|
356
|
+
const se_GetAccountAssociationCommand = async (input, context) => {
|
|
357
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
358
|
+
const headers = {};
|
|
359
|
+
b.bp("/account-associations/{AccountAssociationId}");
|
|
360
|
+
b.p("AccountAssociationId", () => input.AccountAssociationId, "{AccountAssociationId}", false);
|
|
361
|
+
let body;
|
|
362
|
+
b.m("GET").h(headers).b(body);
|
|
363
|
+
return b.build();
|
|
364
|
+
};
|
|
365
|
+
exports.se_GetAccountAssociationCommand = se_GetAccountAssociationCommand;
|
|
366
|
+
const se_GetCloudConnectorCommand = async (input, context) => {
|
|
367
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
368
|
+
const headers = {};
|
|
369
|
+
b.bp("/cloud-connectors/{Identifier}");
|
|
370
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
371
|
+
let body;
|
|
372
|
+
b.m("GET").h(headers).b(body);
|
|
373
|
+
return b.build();
|
|
374
|
+
};
|
|
375
|
+
exports.se_GetCloudConnectorCommand = se_GetCloudConnectorCommand;
|
|
376
|
+
const se_GetConnectorDestinationCommand = async (input, context) => {
|
|
377
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
378
|
+
const headers = {};
|
|
379
|
+
b.bp("/connector-destinations/{Identifier}");
|
|
380
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
381
|
+
let body;
|
|
382
|
+
b.m("GET").h(headers).b(body);
|
|
383
|
+
return b.build();
|
|
384
|
+
};
|
|
385
|
+
exports.se_GetConnectorDestinationCommand = se_GetConnectorDestinationCommand;
|
|
253
386
|
const se_GetCredentialLockerCommand = async (input, context) => {
|
|
254
387
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
255
388
|
const headers = {};
|
|
@@ -431,6 +564,49 @@ const se_GetSchemaVersionCommand = async (input, context) => {
|
|
|
431
564
|
return b.build();
|
|
432
565
|
};
|
|
433
566
|
exports.se_GetSchemaVersionCommand = se_GetSchemaVersionCommand;
|
|
567
|
+
const se_ListAccountAssociationsCommand = async (input, context) => {
|
|
568
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
569
|
+
const headers = {};
|
|
570
|
+
b.bp("/account-associations");
|
|
571
|
+
const query = (0, smithy_client_1.map)({
|
|
572
|
+
[_CDI]: [, input[_CDI]],
|
|
573
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
574
|
+
[_NT]: [, input[_NT]],
|
|
575
|
+
});
|
|
576
|
+
let body;
|
|
577
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
578
|
+
return b.build();
|
|
579
|
+
};
|
|
580
|
+
exports.se_ListAccountAssociationsCommand = se_ListAccountAssociationsCommand;
|
|
581
|
+
const se_ListCloudConnectorsCommand = async (input, context) => {
|
|
582
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
583
|
+
const headers = {};
|
|
584
|
+
b.bp("/cloud-connectors");
|
|
585
|
+
const query = (0, smithy_client_1.map)({
|
|
586
|
+
[_T]: [, input[_T]],
|
|
587
|
+
[_LA]: [, input[_LA]],
|
|
588
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
589
|
+
[_NT]: [, input[_NT]],
|
|
590
|
+
});
|
|
591
|
+
let body;
|
|
592
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
593
|
+
return b.build();
|
|
594
|
+
};
|
|
595
|
+
exports.se_ListCloudConnectorsCommand = se_ListCloudConnectorsCommand;
|
|
596
|
+
const se_ListConnectorDestinationsCommand = async (input, context) => {
|
|
597
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
598
|
+
const headers = {};
|
|
599
|
+
b.bp("/connector-destinations");
|
|
600
|
+
const query = (0, smithy_client_1.map)({
|
|
601
|
+
[_CCI]: [, input[_CCI]],
|
|
602
|
+
[_NT]: [, input[_NT]],
|
|
603
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
604
|
+
});
|
|
605
|
+
let body;
|
|
606
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
607
|
+
return b.build();
|
|
608
|
+
};
|
|
609
|
+
exports.se_ListConnectorDestinationsCommand = se_ListConnectorDestinationsCommand;
|
|
434
610
|
const se_ListCredentialLockersCommand = async (input, context) => {
|
|
435
611
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
436
612
|
const headers = {};
|
|
@@ -457,6 +633,35 @@ const se_ListDestinationsCommand = async (input, context) => {
|
|
|
457
633
|
return b.build();
|
|
458
634
|
};
|
|
459
635
|
exports.se_ListDestinationsCommand = se_ListDestinationsCommand;
|
|
636
|
+
const se_ListDeviceDiscoveriesCommand = async (input, context) => {
|
|
637
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
638
|
+
const headers = {};
|
|
639
|
+
b.bp("/device-discoveries");
|
|
640
|
+
const query = (0, smithy_client_1.map)({
|
|
641
|
+
[_NT]: [, input[_NT]],
|
|
642
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
643
|
+
[_TF]: [, input[_TF]],
|
|
644
|
+
[_SF]: [, input[_SF]],
|
|
645
|
+
});
|
|
646
|
+
let body;
|
|
647
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
648
|
+
return b.build();
|
|
649
|
+
};
|
|
650
|
+
exports.se_ListDeviceDiscoveriesCommand = se_ListDeviceDiscoveriesCommand;
|
|
651
|
+
const se_ListDiscoveredDevicesCommand = async (input, context) => {
|
|
652
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
653
|
+
const headers = {};
|
|
654
|
+
b.bp("/device-discoveries/{Identifier}/devices");
|
|
655
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
656
|
+
const query = (0, smithy_client_1.map)({
|
|
657
|
+
[_NT]: [, input[_NT]],
|
|
658
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
659
|
+
});
|
|
660
|
+
let body;
|
|
661
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
662
|
+
return b.build();
|
|
663
|
+
};
|
|
664
|
+
exports.se_ListDiscoveredDevicesCommand = se_ListDiscoveredDevicesCommand;
|
|
460
665
|
const se_ListEventLogConfigurationsCommand = async (input, context) => {
|
|
461
666
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
462
667
|
const headers = {};
|
|
@@ -470,6 +675,21 @@ const se_ListEventLogConfigurationsCommand = async (input, context) => {
|
|
|
470
675
|
return b.build();
|
|
471
676
|
};
|
|
472
677
|
exports.se_ListEventLogConfigurationsCommand = se_ListEventLogConfigurationsCommand;
|
|
678
|
+
const se_ListManagedThingAccountAssociationsCommand = async (input, context) => {
|
|
679
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
680
|
+
const headers = {};
|
|
681
|
+
b.bp("/managed-thing-associations");
|
|
682
|
+
const query = (0, smithy_client_1.map)({
|
|
683
|
+
[_MTI]: [, input[_MTI]],
|
|
684
|
+
[_AAI]: [, input[_AAI]],
|
|
685
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
686
|
+
[_NT]: [, input[_NT]],
|
|
687
|
+
});
|
|
688
|
+
let body;
|
|
689
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
690
|
+
return b.build();
|
|
691
|
+
};
|
|
692
|
+
exports.se_ListManagedThingAccountAssociationsCommand = se_ListManagedThingAccountAssociationsCommand;
|
|
473
693
|
const se_ListManagedThingsCommand = async (input, context) => {
|
|
474
694
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
475
695
|
const headers = {};
|
|
@@ -480,6 +700,8 @@ const se_ListManagedThingsCommand = async (input, context) => {
|
|
|
480
700
|
[_RF]: [, input[_RF]],
|
|
481
701
|
[_PCIF]: [, input[_PCIF]],
|
|
482
702
|
[_CPIF]: [, input[_CPIF]],
|
|
703
|
+
[_CDIF]: [, input[_CDIF]],
|
|
704
|
+
[_CDIFo]: [, input[_CDIFo]],
|
|
483
705
|
[_SNF]: [, input[_SNF]],
|
|
484
706
|
[_PSF]: [, input[_PSF]],
|
|
485
707
|
[_NT]: [, input[_NT]],
|
|
@@ -590,6 +812,16 @@ const se_ListSchemaVersionsCommand = async (input, context) => {
|
|
|
590
812
|
return b.build();
|
|
591
813
|
};
|
|
592
814
|
exports.se_ListSchemaVersionsCommand = se_ListSchemaVersionsCommand;
|
|
815
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
816
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
817
|
+
const headers = {};
|
|
818
|
+
b.bp("/tags/{ResourceArn}");
|
|
819
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
820
|
+
let body;
|
|
821
|
+
b.m("GET").h(headers).b(body);
|
|
822
|
+
return b.build();
|
|
823
|
+
};
|
|
824
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
593
825
|
const se_PutDefaultEncryptionConfigurationCommand = async (input, context) => {
|
|
594
826
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
595
827
|
const headers = {
|
|
@@ -634,6 +866,22 @@ const se_PutRuntimeLogConfigurationCommand = async (input, context) => {
|
|
|
634
866
|
return b.build();
|
|
635
867
|
};
|
|
636
868
|
exports.se_PutRuntimeLogConfigurationCommand = se_PutRuntimeLogConfigurationCommand;
|
|
869
|
+
const se_RegisterAccountAssociationCommand = async (input, context) => {
|
|
870
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
871
|
+
const headers = {
|
|
872
|
+
"content-type": "application/json",
|
|
873
|
+
};
|
|
874
|
+
b.bp("/managed-thing-associations/register");
|
|
875
|
+
let body;
|
|
876
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
877
|
+
AccountAssociationId: [],
|
|
878
|
+
DeviceDiscoveryId: [],
|
|
879
|
+
ManagedThingId: [],
|
|
880
|
+
}));
|
|
881
|
+
b.m("PUT").h(headers).b(body);
|
|
882
|
+
return b.build();
|
|
883
|
+
};
|
|
884
|
+
exports.se_RegisterAccountAssociationCommand = se_RegisterAccountAssociationCommand;
|
|
637
885
|
const se_RegisterCustomEndpointCommand = async (input, context) => {
|
|
638
886
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
639
887
|
const headers = {};
|
|
@@ -653,6 +901,30 @@ const se_ResetRuntimeLogConfigurationCommand = async (input, context) => {
|
|
|
653
901
|
return b.build();
|
|
654
902
|
};
|
|
655
903
|
exports.se_ResetRuntimeLogConfigurationCommand = se_ResetRuntimeLogConfigurationCommand;
|
|
904
|
+
const se_SendConnectorEventCommand = async (input, context) => {
|
|
905
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
906
|
+
const headers = {
|
|
907
|
+
"content-type": "application/json",
|
|
908
|
+
};
|
|
909
|
+
b.bp("/connector-event/{ConnectorId}");
|
|
910
|
+
b.p("ConnectorId", () => input.ConnectorId, "{ConnectorId}", false);
|
|
911
|
+
let body;
|
|
912
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
913
|
+
ConnectorDeviceId: [],
|
|
914
|
+
DeviceDiscoveryId: [],
|
|
915
|
+
Devices: (_) => se_Devices(_, context),
|
|
916
|
+
MatterEndpoint: (_) => se_MatterEndpoint(_, context),
|
|
917
|
+
Message: [],
|
|
918
|
+
Operation: [],
|
|
919
|
+
OperationVersion: [],
|
|
920
|
+
StatusCode: [],
|
|
921
|
+
TraceId: [],
|
|
922
|
+
UserId: [],
|
|
923
|
+
}));
|
|
924
|
+
b.m("POST").h(headers).b(body);
|
|
925
|
+
return b.build();
|
|
926
|
+
};
|
|
927
|
+
exports.se_SendConnectorEventCommand = se_SendConnectorEventCommand;
|
|
656
928
|
const se_SendManagedThingCommandCommand = async (input, context) => {
|
|
657
929
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
658
930
|
const headers = {
|
|
@@ -662,6 +934,7 @@ const se_SendManagedThingCommandCommand = async (input, context) => {
|
|
|
662
934
|
b.p("ManagedThingId", () => input.ManagedThingId, "{ManagedThingId}", false);
|
|
663
935
|
let body;
|
|
664
936
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
937
|
+
AccountAssociationId: [],
|
|
665
938
|
ConnectorAssociationId: [],
|
|
666
939
|
Endpoints: (_) => se_CommandEndpoints(_, context),
|
|
667
940
|
}));
|
|
@@ -669,6 +942,16 @@ const se_SendManagedThingCommandCommand = async (input, context) => {
|
|
|
669
942
|
return b.build();
|
|
670
943
|
};
|
|
671
944
|
exports.se_SendManagedThingCommandCommand = se_SendManagedThingCommandCommand;
|
|
945
|
+
const se_StartAccountAssociationRefreshCommand = async (input, context) => {
|
|
946
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
947
|
+
const headers = {};
|
|
948
|
+
b.bp("/account-associations/{AccountAssociationId}/refresh");
|
|
949
|
+
b.p("AccountAssociationId", () => input.AccountAssociationId, "{AccountAssociationId}", false);
|
|
950
|
+
let body;
|
|
951
|
+
b.m("POST").h(headers).b(body);
|
|
952
|
+
return b.build();
|
|
953
|
+
};
|
|
954
|
+
exports.se_StartAccountAssociationRefreshCommand = se_StartAccountAssociationRefreshCommand;
|
|
672
955
|
const se_StartDeviceDiscoveryCommand = async (input, context) => {
|
|
673
956
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
674
957
|
const headers = {
|
|
@@ -677,11 +960,13 @@ const se_StartDeviceDiscoveryCommand = async (input, context) => {
|
|
|
677
960
|
b.bp("/device-discoveries");
|
|
678
961
|
let body;
|
|
679
962
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
963
|
+
AccountAssociationId: [],
|
|
680
964
|
AuthenticationMaterial: [],
|
|
681
965
|
AuthenticationMaterialType: [],
|
|
682
966
|
ClientToken: [],
|
|
683
967
|
ConnectorAssociationIdentifier: [],
|
|
684
968
|
ControllerIdentifier: [],
|
|
969
|
+
CustomProtocolDetail: (_) => (0, smithy_client_1._json)(_),
|
|
685
970
|
DiscoveryType: [],
|
|
686
971
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
687
972
|
}));
|
|
@@ -689,6 +974,85 @@ const se_StartDeviceDiscoveryCommand = async (input, context) => {
|
|
|
689
974
|
return b.build();
|
|
690
975
|
};
|
|
691
976
|
exports.se_StartDeviceDiscoveryCommand = se_StartDeviceDiscoveryCommand;
|
|
977
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
978
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
979
|
+
const headers = {
|
|
980
|
+
"content-type": "application/json",
|
|
981
|
+
};
|
|
982
|
+
b.bp("/tags/{ResourceArn}");
|
|
983
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
984
|
+
let body;
|
|
985
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
986
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
987
|
+
}));
|
|
988
|
+
b.m("POST").h(headers).b(body);
|
|
989
|
+
return b.build();
|
|
990
|
+
};
|
|
991
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
992
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
993
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
994
|
+
const headers = {};
|
|
995
|
+
b.bp("/tags/{ResourceArn}");
|
|
996
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
997
|
+
const query = (0, smithy_client_1.map)({
|
|
998
|
+
[_tK]: [(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
999
|
+
});
|
|
1000
|
+
let body;
|
|
1001
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1002
|
+
return b.build();
|
|
1003
|
+
};
|
|
1004
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1005
|
+
const se_UpdateAccountAssociationCommand = async (input, context) => {
|
|
1006
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1007
|
+
const headers = {
|
|
1008
|
+
"content-type": "application/json",
|
|
1009
|
+
};
|
|
1010
|
+
b.bp("/account-associations/{AccountAssociationId}");
|
|
1011
|
+
b.p("AccountAssociationId", () => input.AccountAssociationId, "{AccountAssociationId}", false);
|
|
1012
|
+
let body;
|
|
1013
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1014
|
+
Description: [],
|
|
1015
|
+
Name: [],
|
|
1016
|
+
}));
|
|
1017
|
+
b.m("PUT").h(headers).b(body);
|
|
1018
|
+
return b.build();
|
|
1019
|
+
};
|
|
1020
|
+
exports.se_UpdateAccountAssociationCommand = se_UpdateAccountAssociationCommand;
|
|
1021
|
+
const se_UpdateCloudConnectorCommand = async (input, context) => {
|
|
1022
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1023
|
+
const headers = {
|
|
1024
|
+
"content-type": "application/json",
|
|
1025
|
+
};
|
|
1026
|
+
b.bp("/cloud-connectors/{Identifier}");
|
|
1027
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
1028
|
+
let body;
|
|
1029
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1030
|
+
Description: [],
|
|
1031
|
+
Name: [],
|
|
1032
|
+
}));
|
|
1033
|
+
b.m("PUT").h(headers).b(body);
|
|
1034
|
+
return b.build();
|
|
1035
|
+
};
|
|
1036
|
+
exports.se_UpdateCloudConnectorCommand = se_UpdateCloudConnectorCommand;
|
|
1037
|
+
const se_UpdateConnectorDestinationCommand = async (input, context) => {
|
|
1038
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1039
|
+
const headers = {
|
|
1040
|
+
"content-type": "application/json",
|
|
1041
|
+
};
|
|
1042
|
+
b.bp("/connector-destinations/{Identifier}");
|
|
1043
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
1044
|
+
let body;
|
|
1045
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1046
|
+
AuthConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1047
|
+
AuthType: [],
|
|
1048
|
+
Description: [],
|
|
1049
|
+
Name: [],
|
|
1050
|
+
SecretsManager: (_) => (0, smithy_client_1._json)(_),
|
|
1051
|
+
}));
|
|
1052
|
+
b.m("PUT").h(headers).b(body);
|
|
1053
|
+
return b.build();
|
|
1054
|
+
};
|
|
1055
|
+
exports.se_UpdateConnectorDestinationCommand = se_UpdateConnectorDestinationCommand;
|
|
692
1056
|
const se_UpdateDestinationCommand = async (input, context) => {
|
|
693
1057
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
694
1058
|
const headers = {
|
|
@@ -734,6 +1098,7 @@ const se_UpdateManagedThingCommand = async (input, context) => {
|
|
|
734
1098
|
Brand: [],
|
|
735
1099
|
Capabilities: [],
|
|
736
1100
|
CapabilityReport: (_) => (0, smithy_client_1._json)(_),
|
|
1101
|
+
CapabilitySchemas: (_) => se_CapabilitySchemas(_, context),
|
|
737
1102
|
Classification: [],
|
|
738
1103
|
CredentialLockerId: [],
|
|
739
1104
|
HubNetworkMode: [],
|
|
@@ -778,7 +1143,7 @@ const se_UpdateOtaTaskCommand = async (input, context) => {
|
|
|
778
1143
|
return b.build();
|
|
779
1144
|
};
|
|
780
1145
|
exports.se_UpdateOtaTaskCommand = se_UpdateOtaTaskCommand;
|
|
781
|
-
const
|
|
1146
|
+
const de_CreateAccountAssociationCommand = async (output, context) => {
|
|
782
1147
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
783
1148
|
return de_CommandError(output, context);
|
|
784
1149
|
}
|
|
@@ -787,15 +1152,16 @@ const de_CreateCredentialLockerCommand = async (output, context) => {
|
|
|
787
1152
|
});
|
|
788
1153
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
789
1154
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1155
|
+
AccountAssociationId: smithy_client_1.expectString,
|
|
790
1156
|
Arn: smithy_client_1.expectString,
|
|
791
|
-
|
|
792
|
-
|
|
1157
|
+
AssociationState: smithy_client_1.expectString,
|
|
1158
|
+
OAuthAuthorizationUrl: smithy_client_1.expectString,
|
|
793
1159
|
});
|
|
794
1160
|
Object.assign(contents, doc);
|
|
795
1161
|
return contents;
|
|
796
1162
|
};
|
|
797
|
-
exports.
|
|
798
|
-
const
|
|
1163
|
+
exports.de_CreateAccountAssociationCommand = de_CreateAccountAssociationCommand;
|
|
1164
|
+
const de_CreateCloudConnectorCommand = async (output, context) => {
|
|
799
1165
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
800
1166
|
return de_CommandError(output, context);
|
|
801
1167
|
}
|
|
@@ -804,13 +1170,13 @@ const de_CreateDestinationCommand = async (output, context) => {
|
|
|
804
1170
|
});
|
|
805
1171
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
806
1172
|
const doc = (0, smithy_client_1.take)(data, {
|
|
807
|
-
|
|
1173
|
+
Id: smithy_client_1.expectString,
|
|
808
1174
|
});
|
|
809
1175
|
Object.assign(contents, doc);
|
|
810
1176
|
return contents;
|
|
811
1177
|
};
|
|
812
|
-
exports.
|
|
813
|
-
const
|
|
1178
|
+
exports.de_CreateCloudConnectorCommand = de_CreateCloudConnectorCommand;
|
|
1179
|
+
const de_CreateConnectorDestinationCommand = async (output, context) => {
|
|
814
1180
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
815
1181
|
return de_CommandError(output, context);
|
|
816
1182
|
}
|
|
@@ -824,8 +1190,8 @@ const de_CreateEventLogConfigurationCommand = async (output, context) => {
|
|
|
824
1190
|
Object.assign(contents, doc);
|
|
825
1191
|
return contents;
|
|
826
1192
|
};
|
|
827
|
-
exports.
|
|
828
|
-
const
|
|
1193
|
+
exports.de_CreateConnectorDestinationCommand = de_CreateConnectorDestinationCommand;
|
|
1194
|
+
const de_CreateCredentialLockerCommand = async (output, context) => {
|
|
829
1195
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
830
1196
|
return de_CommandError(output, context);
|
|
831
1197
|
}
|
|
@@ -841,9 +1207,56 @@ const de_CreateManagedThingCommand = async (output, context) => {
|
|
|
841
1207
|
Object.assign(contents, doc);
|
|
842
1208
|
return contents;
|
|
843
1209
|
};
|
|
844
|
-
exports.
|
|
845
|
-
const
|
|
846
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1210
|
+
exports.de_CreateCredentialLockerCommand = de_CreateCredentialLockerCommand;
|
|
1211
|
+
const de_CreateDestinationCommand = async (output, context) => {
|
|
1212
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1213
|
+
return de_CommandError(output, context);
|
|
1214
|
+
}
|
|
1215
|
+
const contents = (0, smithy_client_1.map)({
|
|
1216
|
+
$metadata: deserializeMetadata(output),
|
|
1217
|
+
});
|
|
1218
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1219
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1220
|
+
Name: smithy_client_1.expectString,
|
|
1221
|
+
});
|
|
1222
|
+
Object.assign(contents, doc);
|
|
1223
|
+
return contents;
|
|
1224
|
+
};
|
|
1225
|
+
exports.de_CreateDestinationCommand = de_CreateDestinationCommand;
|
|
1226
|
+
const de_CreateEventLogConfigurationCommand = async (output, context) => {
|
|
1227
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1228
|
+
return de_CommandError(output, context);
|
|
1229
|
+
}
|
|
1230
|
+
const contents = (0, smithy_client_1.map)({
|
|
1231
|
+
$metadata: deserializeMetadata(output),
|
|
1232
|
+
});
|
|
1233
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1234
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1235
|
+
Id: smithy_client_1.expectString,
|
|
1236
|
+
});
|
|
1237
|
+
Object.assign(contents, doc);
|
|
1238
|
+
return contents;
|
|
1239
|
+
};
|
|
1240
|
+
exports.de_CreateEventLogConfigurationCommand = de_CreateEventLogConfigurationCommand;
|
|
1241
|
+
const de_CreateManagedThingCommand = async (output, context) => {
|
|
1242
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1243
|
+
return de_CommandError(output, context);
|
|
1244
|
+
}
|
|
1245
|
+
const contents = (0, smithy_client_1.map)({
|
|
1246
|
+
$metadata: deserializeMetadata(output),
|
|
1247
|
+
});
|
|
1248
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1249
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1250
|
+
Arn: smithy_client_1.expectString,
|
|
1251
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1252
|
+
Id: smithy_client_1.expectString,
|
|
1253
|
+
});
|
|
1254
|
+
Object.assign(contents, doc);
|
|
1255
|
+
return contents;
|
|
1256
|
+
};
|
|
1257
|
+
exports.de_CreateManagedThingCommand = de_CreateManagedThingCommand;
|
|
1258
|
+
const de_CreateNotificationConfigurationCommand = async (output, context) => {
|
|
1259
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
847
1260
|
return de_CommandError(output, context);
|
|
848
1261
|
}
|
|
849
1262
|
const contents = (0, smithy_client_1.map)({
|
|
@@ -909,6 +1322,39 @@ const de_CreateProvisioningProfileCommand = async (output, context) => {
|
|
|
909
1322
|
return contents;
|
|
910
1323
|
};
|
|
911
1324
|
exports.de_CreateProvisioningProfileCommand = de_CreateProvisioningProfileCommand;
|
|
1325
|
+
const de_DeleteAccountAssociationCommand = async (output, context) => {
|
|
1326
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1327
|
+
return de_CommandError(output, context);
|
|
1328
|
+
}
|
|
1329
|
+
const contents = (0, smithy_client_1.map)({
|
|
1330
|
+
$metadata: deserializeMetadata(output),
|
|
1331
|
+
});
|
|
1332
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1333
|
+
return contents;
|
|
1334
|
+
};
|
|
1335
|
+
exports.de_DeleteAccountAssociationCommand = de_DeleteAccountAssociationCommand;
|
|
1336
|
+
const de_DeleteCloudConnectorCommand = async (output, context) => {
|
|
1337
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1338
|
+
return de_CommandError(output, context);
|
|
1339
|
+
}
|
|
1340
|
+
const contents = (0, smithy_client_1.map)({
|
|
1341
|
+
$metadata: deserializeMetadata(output),
|
|
1342
|
+
});
|
|
1343
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1344
|
+
return contents;
|
|
1345
|
+
};
|
|
1346
|
+
exports.de_DeleteCloudConnectorCommand = de_DeleteCloudConnectorCommand;
|
|
1347
|
+
const de_DeleteConnectorDestinationCommand = async (output, context) => {
|
|
1348
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1349
|
+
return de_CommandError(output, context);
|
|
1350
|
+
}
|
|
1351
|
+
const contents = (0, smithy_client_1.map)({
|
|
1352
|
+
$metadata: deserializeMetadata(output),
|
|
1353
|
+
});
|
|
1354
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1355
|
+
return contents;
|
|
1356
|
+
};
|
|
1357
|
+
exports.de_DeleteConnectorDestinationCommand = de_DeleteConnectorDestinationCommand;
|
|
912
1358
|
const de_DeleteCredentialLockerCommand = async (output, context) => {
|
|
913
1359
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
914
1360
|
return de_CommandError(output, context);
|
|
@@ -997,6 +1443,82 @@ const de_DeleteProvisioningProfileCommand = async (output, context) => {
|
|
|
997
1443
|
return contents;
|
|
998
1444
|
};
|
|
999
1445
|
exports.de_DeleteProvisioningProfileCommand = de_DeleteProvisioningProfileCommand;
|
|
1446
|
+
const de_DeregisterAccountAssociationCommand = async (output, context) => {
|
|
1447
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1448
|
+
return de_CommandError(output, context);
|
|
1449
|
+
}
|
|
1450
|
+
const contents = (0, smithy_client_1.map)({
|
|
1451
|
+
$metadata: deserializeMetadata(output),
|
|
1452
|
+
});
|
|
1453
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1454
|
+
return contents;
|
|
1455
|
+
};
|
|
1456
|
+
exports.de_DeregisterAccountAssociationCommand = de_DeregisterAccountAssociationCommand;
|
|
1457
|
+
const de_GetAccountAssociationCommand = async (output, context) => {
|
|
1458
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1459
|
+
return de_CommandError(output, context);
|
|
1460
|
+
}
|
|
1461
|
+
const contents = (0, smithy_client_1.map)({
|
|
1462
|
+
$metadata: deserializeMetadata(output),
|
|
1463
|
+
});
|
|
1464
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1465
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1466
|
+
AccountAssociationId: smithy_client_1.expectString,
|
|
1467
|
+
Arn: smithy_client_1.expectString,
|
|
1468
|
+
AssociationState: smithy_client_1.expectString,
|
|
1469
|
+
ConnectorDestinationId: smithy_client_1.expectString,
|
|
1470
|
+
Description: smithy_client_1.expectString,
|
|
1471
|
+
ErrorMessage: smithy_client_1.expectString,
|
|
1472
|
+
Name: smithy_client_1.expectString,
|
|
1473
|
+
OAuthAuthorizationUrl: smithy_client_1.expectString,
|
|
1474
|
+
Tags: smithy_client_1._json,
|
|
1475
|
+
});
|
|
1476
|
+
Object.assign(contents, doc);
|
|
1477
|
+
return contents;
|
|
1478
|
+
};
|
|
1479
|
+
exports.de_GetAccountAssociationCommand = de_GetAccountAssociationCommand;
|
|
1480
|
+
const de_GetCloudConnectorCommand = async (output, context) => {
|
|
1481
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1482
|
+
return de_CommandError(output, context);
|
|
1483
|
+
}
|
|
1484
|
+
const contents = (0, smithy_client_1.map)({
|
|
1485
|
+
$metadata: deserializeMetadata(output),
|
|
1486
|
+
});
|
|
1487
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1488
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1489
|
+
Description: smithy_client_1.expectString,
|
|
1490
|
+
EndpointConfig: smithy_client_1._json,
|
|
1491
|
+
EndpointType: smithy_client_1.expectString,
|
|
1492
|
+
Id: smithy_client_1.expectString,
|
|
1493
|
+
Name: smithy_client_1.expectString,
|
|
1494
|
+
Type: smithy_client_1.expectString,
|
|
1495
|
+
});
|
|
1496
|
+
Object.assign(contents, doc);
|
|
1497
|
+
return contents;
|
|
1498
|
+
};
|
|
1499
|
+
exports.de_GetCloudConnectorCommand = de_GetCloudConnectorCommand;
|
|
1500
|
+
const de_GetConnectorDestinationCommand = async (output, context) => {
|
|
1501
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1502
|
+
return de_CommandError(output, context);
|
|
1503
|
+
}
|
|
1504
|
+
const contents = (0, smithy_client_1.map)({
|
|
1505
|
+
$metadata: deserializeMetadata(output),
|
|
1506
|
+
});
|
|
1507
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1508
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1509
|
+
AuthConfig: smithy_client_1._json,
|
|
1510
|
+
AuthType: smithy_client_1.expectString,
|
|
1511
|
+
CloudConnectorId: smithy_client_1.expectString,
|
|
1512
|
+
Description: smithy_client_1.expectString,
|
|
1513
|
+
Id: smithy_client_1.expectString,
|
|
1514
|
+
Name: smithy_client_1.expectString,
|
|
1515
|
+
OAuthCompleteRedirectUrl: smithy_client_1.expectString,
|
|
1516
|
+
SecretsManager: smithy_client_1._json,
|
|
1517
|
+
});
|
|
1518
|
+
Object.assign(contents, doc);
|
|
1519
|
+
return contents;
|
|
1520
|
+
};
|
|
1521
|
+
exports.de_GetConnectorDestinationCommand = de_GetConnectorDestinationCommand;
|
|
1000
1522
|
const de_GetCredentialLockerCommand = async (output, context) => {
|
|
1001
1523
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1002
1524
|
return de_CommandError(output, context);
|
|
@@ -1079,6 +1601,7 @@ const de_GetDeviceDiscoveryCommand = async (output, context) => {
|
|
|
1079
1601
|
});
|
|
1080
1602
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1081
1603
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1604
|
+
AccountAssociationId: smithy_client_1.expectString,
|
|
1082
1605
|
Arn: smithy_client_1.expectString,
|
|
1083
1606
|
ConnectorAssociationId: smithy_client_1.expectString,
|
|
1084
1607
|
ControllerId: smithy_client_1.expectString,
|
|
@@ -1141,6 +1664,7 @@ const de_GetManagedThingCommand = async (output, context) => {
|
|
|
1141
1664
|
Arn: smithy_client_1.expectString,
|
|
1142
1665
|
Brand: smithy_client_1.expectString,
|
|
1143
1666
|
Classification: smithy_client_1.expectString,
|
|
1667
|
+
ConnectorDestinationId: smithy_client_1.expectString,
|
|
1144
1668
|
ConnectorDeviceId: smithy_client_1.expectString,
|
|
1145
1669
|
ConnectorPolicyId: smithy_client_1.expectString,
|
|
1146
1670
|
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
@@ -1271,6 +1795,7 @@ const de_GetOtaTaskCommand = async (output, context) => {
|
|
|
1271
1795
|
Protocol: smithy_client_1.expectString,
|
|
1272
1796
|
S3Url: smithy_client_1.expectString,
|
|
1273
1797
|
Status: smithy_client_1.expectString,
|
|
1798
|
+
Tags: smithy_client_1._json,
|
|
1274
1799
|
Target: smithy_client_1._json,
|
|
1275
1800
|
TaskArn: smithy_client_1.expectString,
|
|
1276
1801
|
TaskConfigurationId: smithy_client_1.expectString,
|
|
@@ -1357,6 +1882,54 @@ const de_GetSchemaVersionCommand = async (output, context) => {
|
|
|
1357
1882
|
return contents;
|
|
1358
1883
|
};
|
|
1359
1884
|
exports.de_GetSchemaVersionCommand = de_GetSchemaVersionCommand;
|
|
1885
|
+
const de_ListAccountAssociationsCommand = async (output, context) => {
|
|
1886
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1887
|
+
return de_CommandError(output, context);
|
|
1888
|
+
}
|
|
1889
|
+
const contents = (0, smithy_client_1.map)({
|
|
1890
|
+
$metadata: deserializeMetadata(output),
|
|
1891
|
+
});
|
|
1892
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1893
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1894
|
+
Items: smithy_client_1._json,
|
|
1895
|
+
NextToken: smithy_client_1.expectString,
|
|
1896
|
+
});
|
|
1897
|
+
Object.assign(contents, doc);
|
|
1898
|
+
return contents;
|
|
1899
|
+
};
|
|
1900
|
+
exports.de_ListAccountAssociationsCommand = de_ListAccountAssociationsCommand;
|
|
1901
|
+
const de_ListCloudConnectorsCommand = async (output, context) => {
|
|
1902
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1903
|
+
return de_CommandError(output, context);
|
|
1904
|
+
}
|
|
1905
|
+
const contents = (0, smithy_client_1.map)({
|
|
1906
|
+
$metadata: deserializeMetadata(output),
|
|
1907
|
+
});
|
|
1908
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1909
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1910
|
+
Items: smithy_client_1._json,
|
|
1911
|
+
NextToken: smithy_client_1.expectString,
|
|
1912
|
+
});
|
|
1913
|
+
Object.assign(contents, doc);
|
|
1914
|
+
return contents;
|
|
1915
|
+
};
|
|
1916
|
+
exports.de_ListCloudConnectorsCommand = de_ListCloudConnectorsCommand;
|
|
1917
|
+
const de_ListConnectorDestinationsCommand = async (output, context) => {
|
|
1918
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1919
|
+
return de_CommandError(output, context);
|
|
1920
|
+
}
|
|
1921
|
+
const contents = (0, smithy_client_1.map)({
|
|
1922
|
+
$metadata: deserializeMetadata(output),
|
|
1923
|
+
});
|
|
1924
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1925
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1926
|
+
ConnectorDestinationList: smithy_client_1._json,
|
|
1927
|
+
NextToken: smithy_client_1.expectString,
|
|
1928
|
+
});
|
|
1929
|
+
Object.assign(contents, doc);
|
|
1930
|
+
return contents;
|
|
1931
|
+
};
|
|
1932
|
+
exports.de_ListConnectorDestinationsCommand = de_ListConnectorDestinationsCommand;
|
|
1360
1933
|
const de_ListCredentialLockersCommand = async (output, context) => {
|
|
1361
1934
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1362
1935
|
return de_CommandError(output, context);
|
|
@@ -1389,6 +1962,38 @@ const de_ListDestinationsCommand = async (output, context) => {
|
|
|
1389
1962
|
return contents;
|
|
1390
1963
|
};
|
|
1391
1964
|
exports.de_ListDestinationsCommand = de_ListDestinationsCommand;
|
|
1965
|
+
const de_ListDeviceDiscoveriesCommand = async (output, context) => {
|
|
1966
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1967
|
+
return de_CommandError(output, context);
|
|
1968
|
+
}
|
|
1969
|
+
const contents = (0, smithy_client_1.map)({
|
|
1970
|
+
$metadata: deserializeMetadata(output),
|
|
1971
|
+
});
|
|
1972
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1973
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1974
|
+
Items: smithy_client_1._json,
|
|
1975
|
+
NextToken: smithy_client_1.expectString,
|
|
1976
|
+
});
|
|
1977
|
+
Object.assign(contents, doc);
|
|
1978
|
+
return contents;
|
|
1979
|
+
};
|
|
1980
|
+
exports.de_ListDeviceDiscoveriesCommand = de_ListDeviceDiscoveriesCommand;
|
|
1981
|
+
const de_ListDiscoveredDevicesCommand = async (output, context) => {
|
|
1982
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1983
|
+
return de_CommandError(output, context);
|
|
1984
|
+
}
|
|
1985
|
+
const contents = (0, smithy_client_1.map)({
|
|
1986
|
+
$metadata: deserializeMetadata(output),
|
|
1987
|
+
});
|
|
1988
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
1989
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1990
|
+
Items: (_) => de_DiscoveredDeviceListDefinition(_, context),
|
|
1991
|
+
NextToken: smithy_client_1.expectString,
|
|
1992
|
+
});
|
|
1993
|
+
Object.assign(contents, doc);
|
|
1994
|
+
return contents;
|
|
1995
|
+
};
|
|
1996
|
+
exports.de_ListDiscoveredDevicesCommand = de_ListDiscoveredDevicesCommand;
|
|
1392
1997
|
const de_ListEventLogConfigurationsCommand = async (output, context) => {
|
|
1393
1998
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1394
1999
|
return de_CommandError(output, context);
|
|
@@ -1405,6 +2010,22 @@ const de_ListEventLogConfigurationsCommand = async (output, context) => {
|
|
|
1405
2010
|
return contents;
|
|
1406
2011
|
};
|
|
1407
2012
|
exports.de_ListEventLogConfigurationsCommand = de_ListEventLogConfigurationsCommand;
|
|
2013
|
+
const de_ListManagedThingAccountAssociationsCommand = async (output, context) => {
|
|
2014
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2015
|
+
return de_CommandError(output, context);
|
|
2016
|
+
}
|
|
2017
|
+
const contents = (0, smithy_client_1.map)({
|
|
2018
|
+
$metadata: deserializeMetadata(output),
|
|
2019
|
+
});
|
|
2020
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
2021
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2022
|
+
Items: smithy_client_1._json,
|
|
2023
|
+
NextToken: smithy_client_1.expectString,
|
|
2024
|
+
});
|
|
2025
|
+
Object.assign(contents, doc);
|
|
2026
|
+
return contents;
|
|
2027
|
+
};
|
|
2028
|
+
exports.de_ListManagedThingAccountAssociationsCommand = de_ListManagedThingAccountAssociationsCommand;
|
|
1408
2029
|
const de_ListManagedThingsCommand = async (output, context) => {
|
|
1409
2030
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1410
2031
|
return de_CommandError(output, context);
|
|
@@ -1533,6 +2154,21 @@ const de_ListSchemaVersionsCommand = async (output, context) => {
|
|
|
1533
2154
|
return contents;
|
|
1534
2155
|
};
|
|
1535
2156
|
exports.de_ListSchemaVersionsCommand = de_ListSchemaVersionsCommand;
|
|
2157
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2158
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2159
|
+
return de_CommandError(output, context);
|
|
2160
|
+
}
|
|
2161
|
+
const contents = (0, smithy_client_1.map)({
|
|
2162
|
+
$metadata: deserializeMetadata(output),
|
|
2163
|
+
});
|
|
2164
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
2165
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2166
|
+
tags: smithy_client_1._json,
|
|
2167
|
+
});
|
|
2168
|
+
Object.assign(contents, doc);
|
|
2169
|
+
return contents;
|
|
2170
|
+
};
|
|
2171
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1536
2172
|
const de_PutDefaultEncryptionConfigurationCommand = async (output, context) => {
|
|
1537
2173
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1538
2174
|
return de_CommandError(output, context);
|
|
@@ -1576,6 +2212,23 @@ const de_PutRuntimeLogConfigurationCommand = async (output, context) => {
|
|
|
1576
2212
|
return contents;
|
|
1577
2213
|
};
|
|
1578
2214
|
exports.de_PutRuntimeLogConfigurationCommand = de_PutRuntimeLogConfigurationCommand;
|
|
2215
|
+
const de_RegisterAccountAssociationCommand = async (output, context) => {
|
|
2216
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2217
|
+
return de_CommandError(output, context);
|
|
2218
|
+
}
|
|
2219
|
+
const contents = (0, smithy_client_1.map)({
|
|
2220
|
+
$metadata: deserializeMetadata(output),
|
|
2221
|
+
});
|
|
2222
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
2223
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2224
|
+
AccountAssociationId: smithy_client_1.expectString,
|
|
2225
|
+
DeviceDiscoveryId: smithy_client_1.expectString,
|
|
2226
|
+
ManagedThingId: smithy_client_1.expectString,
|
|
2227
|
+
});
|
|
2228
|
+
Object.assign(contents, doc);
|
|
2229
|
+
return contents;
|
|
2230
|
+
};
|
|
2231
|
+
exports.de_RegisterAccountAssociationCommand = de_RegisterAccountAssociationCommand;
|
|
1579
2232
|
const de_RegisterCustomEndpointCommand = async (output, context) => {
|
|
1580
2233
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1581
2234
|
return de_CommandError(output, context);
|
|
@@ -1602,6 +2255,21 @@ const de_ResetRuntimeLogConfigurationCommand = async (output, context) => {
|
|
|
1602
2255
|
return contents;
|
|
1603
2256
|
};
|
|
1604
2257
|
exports.de_ResetRuntimeLogConfigurationCommand = de_ResetRuntimeLogConfigurationCommand;
|
|
2258
|
+
const de_SendConnectorEventCommand = async (output, context) => {
|
|
2259
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2260
|
+
return de_CommandError(output, context);
|
|
2261
|
+
}
|
|
2262
|
+
const contents = (0, smithy_client_1.map)({
|
|
2263
|
+
$metadata: deserializeMetadata(output),
|
|
2264
|
+
});
|
|
2265
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
2266
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2267
|
+
ConnectorId: smithy_client_1.expectString,
|
|
2268
|
+
});
|
|
2269
|
+
Object.assign(contents, doc);
|
|
2270
|
+
return contents;
|
|
2271
|
+
};
|
|
2272
|
+
exports.de_SendConnectorEventCommand = de_SendConnectorEventCommand;
|
|
1605
2273
|
const de_SendManagedThingCommandCommand = async (output, context) => {
|
|
1606
2274
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1607
2275
|
return de_CommandError(output, context);
|
|
@@ -1617,6 +2285,21 @@ const de_SendManagedThingCommandCommand = async (output, context) => {
|
|
|
1617
2285
|
return contents;
|
|
1618
2286
|
};
|
|
1619
2287
|
exports.de_SendManagedThingCommandCommand = de_SendManagedThingCommandCommand;
|
|
2288
|
+
const de_StartAccountAssociationRefreshCommand = async (output, context) => {
|
|
2289
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2290
|
+
return de_CommandError(output, context);
|
|
2291
|
+
}
|
|
2292
|
+
const contents = (0, smithy_client_1.map)({
|
|
2293
|
+
$metadata: deserializeMetadata(output),
|
|
2294
|
+
});
|
|
2295
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
2296
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2297
|
+
OAuthAuthorizationUrl: smithy_client_1.expectString,
|
|
2298
|
+
});
|
|
2299
|
+
Object.assign(contents, doc);
|
|
2300
|
+
return contents;
|
|
2301
|
+
};
|
|
2302
|
+
exports.de_StartAccountAssociationRefreshCommand = de_StartAccountAssociationRefreshCommand;
|
|
1620
2303
|
const de_StartDeviceDiscoveryCommand = async (output, context) => {
|
|
1621
2304
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1622
2305
|
return de_CommandError(output, context);
|
|
@@ -1633,6 +2316,61 @@ const de_StartDeviceDiscoveryCommand = async (output, context) => {
|
|
|
1633
2316
|
return contents;
|
|
1634
2317
|
};
|
|
1635
2318
|
exports.de_StartDeviceDiscoveryCommand = de_StartDeviceDiscoveryCommand;
|
|
2319
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
2320
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2321
|
+
return de_CommandError(output, context);
|
|
2322
|
+
}
|
|
2323
|
+
const contents = (0, smithy_client_1.map)({
|
|
2324
|
+
$metadata: deserializeMetadata(output),
|
|
2325
|
+
});
|
|
2326
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2327
|
+
return contents;
|
|
2328
|
+
};
|
|
2329
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2330
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
2331
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2332
|
+
return de_CommandError(output, context);
|
|
2333
|
+
}
|
|
2334
|
+
const contents = (0, smithy_client_1.map)({
|
|
2335
|
+
$metadata: deserializeMetadata(output),
|
|
2336
|
+
});
|
|
2337
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2338
|
+
return contents;
|
|
2339
|
+
};
|
|
2340
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2341
|
+
const de_UpdateAccountAssociationCommand = async (output, context) => {
|
|
2342
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2343
|
+
return de_CommandError(output, context);
|
|
2344
|
+
}
|
|
2345
|
+
const contents = (0, smithy_client_1.map)({
|
|
2346
|
+
$metadata: deserializeMetadata(output),
|
|
2347
|
+
});
|
|
2348
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2349
|
+
return contents;
|
|
2350
|
+
};
|
|
2351
|
+
exports.de_UpdateAccountAssociationCommand = de_UpdateAccountAssociationCommand;
|
|
2352
|
+
const de_UpdateCloudConnectorCommand = async (output, context) => {
|
|
2353
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2354
|
+
return de_CommandError(output, context);
|
|
2355
|
+
}
|
|
2356
|
+
const contents = (0, smithy_client_1.map)({
|
|
2357
|
+
$metadata: deserializeMetadata(output),
|
|
2358
|
+
});
|
|
2359
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2360
|
+
return contents;
|
|
2361
|
+
};
|
|
2362
|
+
exports.de_UpdateCloudConnectorCommand = de_UpdateCloudConnectorCommand;
|
|
2363
|
+
const de_UpdateConnectorDestinationCommand = async (output, context) => {
|
|
2364
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2365
|
+
return de_CommandError(output, context);
|
|
2366
|
+
}
|
|
2367
|
+
const contents = (0, smithy_client_1.map)({
|
|
2368
|
+
$metadata: deserializeMetadata(output),
|
|
2369
|
+
});
|
|
2370
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2371
|
+
return contents;
|
|
2372
|
+
};
|
|
2373
|
+
exports.de_UpdateConnectorDestinationCommand = de_UpdateConnectorDestinationCommand;
|
|
1636
2374
|
const de_UpdateDestinationCommand = async (output, context) => {
|
|
1637
2375
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1638
2376
|
return de_CommandError(output, context);
|
|
@@ -1704,9 +2442,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1704
2442
|
case "InternalServerException":
|
|
1705
2443
|
case "com.amazonaws.iotmanagedintegrations#InternalServerException":
|
|
1706
2444
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1707
|
-
case "
|
|
1708
|
-
case "com.amazonaws.iotmanagedintegrations#
|
|
1709
|
-
throw await
|
|
2445
|
+
case "ResourceNotFoundException":
|
|
2446
|
+
case "com.amazonaws.iotmanagedintegrations#ResourceNotFoundException":
|
|
2447
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1710
2448
|
case "ServiceUnavailableException":
|
|
1711
2449
|
case "com.amazonaws.iotmanagedintegrations#ServiceUnavailableException":
|
|
1712
2450
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
@@ -1716,15 +2454,21 @@ const de_CommandError = async (output, context) => {
|
|
|
1716
2454
|
case "ValidationException":
|
|
1717
2455
|
case "com.amazonaws.iotmanagedintegrations#ValidationException":
|
|
1718
2456
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1719
|
-
case "
|
|
1720
|
-
case "com.amazonaws.iotmanagedintegrations#
|
|
1721
|
-
throw await
|
|
2457
|
+
case "ServiceQuotaExceededException":
|
|
2458
|
+
case "com.amazonaws.iotmanagedintegrations#ServiceQuotaExceededException":
|
|
2459
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1722
2460
|
case "UnauthorizedException":
|
|
1723
2461
|
case "com.amazonaws.iotmanagedintegrations#UnauthorizedException":
|
|
1724
2462
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2463
|
+
case "LimitExceededException":
|
|
2464
|
+
case "com.amazonaws.iotmanagedintegrations#LimitExceededException":
|
|
2465
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1725
2466
|
case "InternalFailureException":
|
|
1726
2467
|
case "com.amazonaws.iotmanagedintegrations#InternalFailureException":
|
|
1727
2468
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2469
|
+
case "InvalidRequestException":
|
|
2470
|
+
case "com.amazonaws.iotmanagedintegrations#InvalidRequestException":
|
|
2471
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1728
2472
|
default:
|
|
1729
2473
|
const parsedBody = parsedOutput.body;
|
|
1730
2474
|
return throwDefaultError({
|
|
@@ -1787,11 +2531,39 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1787
2531
|
});
|
|
1788
2532
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1789
2533
|
};
|
|
2534
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
2535
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2536
|
+
const data = parsedOutput.body;
|
|
2537
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2538
|
+
Message: smithy_client_1.expectString,
|
|
2539
|
+
});
|
|
2540
|
+
Object.assign(contents, doc);
|
|
2541
|
+
const exception = new models_0_1.InvalidRequestException({
|
|
2542
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2543
|
+
...contents,
|
|
2544
|
+
});
|
|
2545
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2546
|
+
};
|
|
2547
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2548
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2549
|
+
const data = parsedOutput.body;
|
|
2550
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2551
|
+
Message: smithy_client_1.expectString,
|
|
2552
|
+
});
|
|
2553
|
+
Object.assign(contents, doc);
|
|
2554
|
+
const exception = new models_0_1.LimitExceededException({
|
|
2555
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2556
|
+
...contents,
|
|
2557
|
+
});
|
|
2558
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2559
|
+
};
|
|
1790
2560
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1791
2561
|
const contents = (0, smithy_client_1.map)({});
|
|
1792
2562
|
const data = parsedOutput.body;
|
|
1793
2563
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1794
2564
|
Message: smithy_client_1.expectString,
|
|
2565
|
+
ResourceId: smithy_client_1.expectString,
|
|
2566
|
+
ResourceType: smithy_client_1.expectString,
|
|
1795
2567
|
});
|
|
1796
2568
|
Object.assign(contents, doc);
|
|
1797
2569
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
@@ -1898,6 +2670,22 @@ const se_CapabilityActions = (input, context) => {
|
|
|
1898
2670
|
const se_CapabilityProperties = (input, context) => {
|
|
1899
2671
|
return input;
|
|
1900
2672
|
};
|
|
2673
|
+
const se_CapabilitySchemaItem = (input, context) => {
|
|
2674
|
+
return (0, smithy_client_1.take)(input, {
|
|
2675
|
+
CapabilityId: [],
|
|
2676
|
+
ExtrinsicId: [],
|
|
2677
|
+
ExtrinsicVersion: [],
|
|
2678
|
+
Format: [],
|
|
2679
|
+
Schema: (_) => se_ValidationSchema(_, context),
|
|
2680
|
+
});
|
|
2681
|
+
};
|
|
2682
|
+
const se_CapabilitySchemas = (input, context) => {
|
|
2683
|
+
return input
|
|
2684
|
+
.filter((e) => e != null)
|
|
2685
|
+
.map((entry) => {
|
|
2686
|
+
return se_CapabilitySchemaItem(entry, context);
|
|
2687
|
+
});
|
|
2688
|
+
};
|
|
1901
2689
|
const se_CommandCapabilities = (input, context) => {
|
|
1902
2690
|
return input
|
|
1903
2691
|
.filter((e) => e != null)
|
|
@@ -1926,6 +2714,25 @@ const se_CommandEndpoints = (input, context) => {
|
|
|
1926
2714
|
return se_CommandEndpoint(entry, context);
|
|
1927
2715
|
});
|
|
1928
2716
|
};
|
|
2717
|
+
const se_Device = (input, context) => {
|
|
2718
|
+
return (0, smithy_client_1.take)(input, {
|
|
2719
|
+
CapabilityReport: (_) => se_MatterCapabilityReport(_, context),
|
|
2720
|
+
CapabilitySchemas: (_) => se_CapabilitySchemas(_, context),
|
|
2721
|
+
ConnectorDeviceId: [],
|
|
2722
|
+
ConnectorDeviceName: [],
|
|
2723
|
+
DeviceMetadata: (_) => se_DeviceMetadata(_, context),
|
|
2724
|
+
});
|
|
2725
|
+
};
|
|
2726
|
+
const se_DeviceMetadata = (input, context) => {
|
|
2727
|
+
return input;
|
|
2728
|
+
};
|
|
2729
|
+
const se_Devices = (input, context) => {
|
|
2730
|
+
return input
|
|
2731
|
+
.filter((e) => e != null)
|
|
2732
|
+
.map((entry) => {
|
|
2733
|
+
return se_Device(entry, context);
|
|
2734
|
+
});
|
|
2735
|
+
};
|
|
1929
2736
|
const se_ExponentialRolloutRate = (input, context) => {
|
|
1930
2737
|
return (0, smithy_client_1.take)(input, {
|
|
1931
2738
|
BaseRatePerMinute: [],
|
|
@@ -1933,6 +2740,114 @@ const se_ExponentialRolloutRate = (input, context) => {
|
|
|
1933
2740
|
RateIncreaseCriteria: smithy_client_1._json,
|
|
1934
2741
|
});
|
|
1935
2742
|
};
|
|
2743
|
+
const se_MatterAttributes = (input, context) => {
|
|
2744
|
+
return input;
|
|
2745
|
+
};
|
|
2746
|
+
const se_MatterCapabilityReport = (input, context) => {
|
|
2747
|
+
return (0, smithy_client_1.take)(input, {
|
|
2748
|
+
endpoints: (_) => se_MatterCapabilityReportEndpoints(_, context),
|
|
2749
|
+
nodeId: [],
|
|
2750
|
+
version: [],
|
|
2751
|
+
});
|
|
2752
|
+
};
|
|
2753
|
+
const se_MatterCapabilityReportAttribute = (input, context) => {
|
|
2754
|
+
return (0, smithy_client_1.take)(input, {
|
|
2755
|
+
id: [],
|
|
2756
|
+
name: [],
|
|
2757
|
+
value: (_) => se_MatterCapabilityReportAttributeValue(_, context),
|
|
2758
|
+
});
|
|
2759
|
+
};
|
|
2760
|
+
const se_MatterCapabilityReportAttributes = (input, context) => {
|
|
2761
|
+
return input
|
|
2762
|
+
.filter((e) => e != null)
|
|
2763
|
+
.map((entry) => {
|
|
2764
|
+
return se_MatterCapabilityReportAttribute(entry, context);
|
|
2765
|
+
});
|
|
2766
|
+
};
|
|
2767
|
+
const se_MatterCapabilityReportAttributeValue = (input, context) => {
|
|
2768
|
+
return input;
|
|
2769
|
+
};
|
|
2770
|
+
const se_MatterCapabilityReportCluster = (input, context) => {
|
|
2771
|
+
return (0, smithy_client_1.take)(input, {
|
|
2772
|
+
attributes: (_) => se_MatterCapabilityReportAttributes(_, context),
|
|
2773
|
+
commands: smithy_client_1._json,
|
|
2774
|
+
events: smithy_client_1._json,
|
|
2775
|
+
fabricIndex: [],
|
|
2776
|
+
featureMap: [],
|
|
2777
|
+
generatedCommands: smithy_client_1._json,
|
|
2778
|
+
id: [],
|
|
2779
|
+
name: [],
|
|
2780
|
+
publicId: [],
|
|
2781
|
+
revision: [],
|
|
2782
|
+
specVersion: [],
|
|
2783
|
+
});
|
|
2784
|
+
};
|
|
2785
|
+
const se_MatterCapabilityReportClusters = (input, context) => {
|
|
2786
|
+
return input
|
|
2787
|
+
.filter((e) => e != null)
|
|
2788
|
+
.map((entry) => {
|
|
2789
|
+
return se_MatterCapabilityReportCluster(entry, context);
|
|
2790
|
+
});
|
|
2791
|
+
};
|
|
2792
|
+
const se_MatterCapabilityReportEndpoint = (input, context) => {
|
|
2793
|
+
return (0, smithy_client_1.take)(input, {
|
|
2794
|
+
clientClusters: smithy_client_1._json,
|
|
2795
|
+
clusters: (_) => se_MatterCapabilityReportClusters(_, context),
|
|
2796
|
+
deviceTypes: smithy_client_1._json,
|
|
2797
|
+
id: [],
|
|
2798
|
+
parts: smithy_client_1._json,
|
|
2799
|
+
semanticTags: smithy_client_1._json,
|
|
2800
|
+
});
|
|
2801
|
+
};
|
|
2802
|
+
const se_MatterCapabilityReportEndpoints = (input, context) => {
|
|
2803
|
+
return input
|
|
2804
|
+
.filter((e) => e != null)
|
|
2805
|
+
.map((entry) => {
|
|
2806
|
+
return se_MatterCapabilityReportEndpoint(entry, context);
|
|
2807
|
+
});
|
|
2808
|
+
};
|
|
2809
|
+
const se_MatterCluster = (input, context) => {
|
|
2810
|
+
return (0, smithy_client_1.take)(input, {
|
|
2811
|
+
attributes: (_) => se_MatterAttributes(_, context),
|
|
2812
|
+
commands: (_) => se_MatterCommands(_, context),
|
|
2813
|
+
events: (_) => se_MatterEvents(_, context),
|
|
2814
|
+
id: [],
|
|
2815
|
+
});
|
|
2816
|
+
};
|
|
2817
|
+
const se_MatterClusters = (input, context) => {
|
|
2818
|
+
return input
|
|
2819
|
+
.filter((e) => e != null)
|
|
2820
|
+
.map((entry) => {
|
|
2821
|
+
return se_MatterCluster(entry, context);
|
|
2822
|
+
});
|
|
2823
|
+
};
|
|
2824
|
+
const se_MatterCommands = (input, context) => {
|
|
2825
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2826
|
+
if (value === null) {
|
|
2827
|
+
return acc;
|
|
2828
|
+
}
|
|
2829
|
+
acc[key] = se_MatterFields(value, context);
|
|
2830
|
+
return acc;
|
|
2831
|
+
}, {});
|
|
2832
|
+
};
|
|
2833
|
+
const se_MatterEndpoint = (input, context) => {
|
|
2834
|
+
return (0, smithy_client_1.take)(input, {
|
|
2835
|
+
clusters: (_) => se_MatterClusters(_, context),
|
|
2836
|
+
id: [],
|
|
2837
|
+
});
|
|
2838
|
+
};
|
|
2839
|
+
const se_MatterEvents = (input, context) => {
|
|
2840
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2841
|
+
if (value === null) {
|
|
2842
|
+
return acc;
|
|
2843
|
+
}
|
|
2844
|
+
acc[key] = se_MatterFields(value, context);
|
|
2845
|
+
return acc;
|
|
2846
|
+
}, {});
|
|
2847
|
+
};
|
|
2848
|
+
const se_MatterFields = (input, context) => {
|
|
2849
|
+
return input;
|
|
2850
|
+
};
|
|
1936
2851
|
const se_OtaTaskAbortConfig = (input, context) => {
|
|
1937
2852
|
return (0, smithy_client_1.take)(input, {
|
|
1938
2853
|
AbortConfigCriteriaList: (_) => se_AbortConfigCriteriaList(_, context),
|
|
@@ -1951,6 +2866,9 @@ const se_PushConfig = (input, context) => {
|
|
|
1951
2866
|
TimeoutConfig: smithy_client_1._json,
|
|
1952
2867
|
});
|
|
1953
2868
|
};
|
|
2869
|
+
const se_ValidationSchema = (input, context) => {
|
|
2870
|
+
return input;
|
|
2871
|
+
};
|
|
1954
2872
|
const de_AbortConfigCriteria = (output, context) => {
|
|
1955
2873
|
return (0, smithy_client_1.take)(output, {
|
|
1956
2874
|
Action: smithy_client_1.expectString,
|
|
@@ -1986,6 +2904,27 @@ const de_CredentialLockerSummary = (output, context) => {
|
|
|
1986
2904
|
Name: smithy_client_1.expectString,
|
|
1987
2905
|
});
|
|
1988
2906
|
};
|
|
2907
|
+
const de_DiscoveredDeviceListDefinition = (output, context) => {
|
|
2908
|
+
const retVal = (output || [])
|
|
2909
|
+
.filter((e) => e != null)
|
|
2910
|
+
.map((entry) => {
|
|
2911
|
+
return de_DiscoveredDeviceSummary(entry, context);
|
|
2912
|
+
});
|
|
2913
|
+
return retVal;
|
|
2914
|
+
};
|
|
2915
|
+
const de_DiscoveredDeviceSummary = (output, context) => {
|
|
2916
|
+
return (0, smithy_client_1.take)(output, {
|
|
2917
|
+
AuthenticationMaterial: smithy_client_1.expectString,
|
|
2918
|
+
Brand: smithy_client_1.expectString,
|
|
2919
|
+
ConnectorDeviceId: smithy_client_1.expectString,
|
|
2920
|
+
ConnectorDeviceName: smithy_client_1.expectString,
|
|
2921
|
+
DeviceTypes: smithy_client_1._json,
|
|
2922
|
+
DiscoveredAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2923
|
+
ManagedThingId: smithy_client_1.expectString,
|
|
2924
|
+
Model: smithy_client_1.expectString,
|
|
2925
|
+
Modification: smithy_client_1.expectString,
|
|
2926
|
+
});
|
|
2927
|
+
};
|
|
1989
2928
|
const de_ExponentialRolloutRate = (output, context) => {
|
|
1990
2929
|
return (0, smithy_client_1.take)(output, {
|
|
1991
2930
|
BaseRatePerMinute: smithy_client_1.expectInt32,
|
|
@@ -2023,6 +2962,7 @@ const de_ManagedThingSummary = (output, context) => {
|
|
|
2023
2962
|
Arn: smithy_client_1.expectString,
|
|
2024
2963
|
Brand: smithy_client_1.expectString,
|
|
2025
2964
|
Classification: smithy_client_1.expectString,
|
|
2965
|
+
ConnectorDestinationId: smithy_client_1.expectString,
|
|
2026
2966
|
ConnectorDeviceId: smithy_client_1.expectString,
|
|
2027
2967
|
ConnectorPolicyId: smithy_client_1.expectString,
|
|
2028
2968
|
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
@@ -2156,13 +3096,20 @@ const deserializeMetadata = (output) => ({
|
|
|
2156
3096
|
cfId: output.headers["x-amz-cf-id"],
|
|
2157
3097
|
});
|
|
2158
3098
|
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3099
|
+
const _AAI = "AccountAssociationId";
|
|
3100
|
+
const _CCI = "CloudConnectorId";
|
|
3101
|
+
const _CDI = "ConnectorDestinationId";
|
|
3102
|
+
const _CDIF = "ConnectorDestinationIdFilter";
|
|
3103
|
+
const _CDIFo = "ConnectorDeviceIdFilter";
|
|
2159
3104
|
const _CIF = "CapabilityIdFilter";
|
|
2160
3105
|
const _CLF = "CredentialLockerFilter";
|
|
2161
3106
|
const _CPIF = "ConnectorPolicyIdFilter";
|
|
2162
3107
|
const _EIF = "EndpointIdFilter";
|
|
2163
3108
|
const _F = "Force";
|
|
2164
3109
|
const _Fo = "Format";
|
|
3110
|
+
const _LA = "LambdaArn";
|
|
2165
3111
|
const _MR = "MaxResults";
|
|
3112
|
+
const _MTI = "ManagedThingId";
|
|
2166
3113
|
const _N = "Namespace";
|
|
2167
3114
|
const _NF = "NamespaceFilter";
|
|
2168
3115
|
const _NT = "NextToken";
|
|
@@ -2170,10 +3117,15 @@ const _OF = "OwnerFilter";
|
|
|
2170
3117
|
const _PCIF = "ParentControllerIdentifierFilter";
|
|
2171
3118
|
const _PSF = "ProvisioningStatusFilter";
|
|
2172
3119
|
const _RF = "RoleFilter";
|
|
3120
|
+
const _SF = "StatusFilter";
|
|
2173
3121
|
const _SI = "SchemaId";
|
|
2174
3122
|
const _SIF = "SchemaIdFilter";
|
|
2175
3123
|
const _SNF = "SerialNumberFilter";
|
|
2176
3124
|
const _SV = "SemanticVersion";
|
|
2177
3125
|
const _SVF = "SemanticVersionFilter";
|
|
3126
|
+
const _T = "Type";
|
|
3127
|
+
const _TF = "TypeFilter";
|
|
3128
|
+
const _TK = "TagKeys";
|
|
2178
3129
|
const _V = "Visibility";
|
|
2179
3130
|
const _VF = "VisibilityFilter";
|
|
3131
|
+
const _tK = "tagKeys";
|