@aws-sdk/client-iot-events-data 3.948.0 → 3.953.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist-cjs/index.js +251 -167
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/BatchAcknowledgeAlarmCommand.js +2 -2
  4. package/dist-es/commands/BatchDeleteDetectorCommand.js +2 -2
  5. package/dist-es/commands/BatchDisableAlarmCommand.js +2 -2
  6. package/dist-es/commands/BatchEnableAlarmCommand.js +2 -2
  7. package/dist-es/commands/BatchPutMessageCommand.js +2 -2
  8. package/dist-es/commands/BatchResetAlarmCommand.js +2 -2
  9. package/dist-es/commands/BatchSnoozeAlarmCommand.js +2 -2
  10. package/dist-es/commands/BatchUpdateDetectorCommand.js +2 -2
  11. package/dist-es/commands/DescribeAlarmCommand.js +2 -2
  12. package/dist-es/commands/DescribeDetectorCommand.js +2 -2
  13. package/dist-es/commands/ListAlarmsCommand.js +2 -2
  14. package/dist-es/commands/ListDetectorsCommand.js +2 -2
  15. package/dist-es/index.js +1 -0
  16. package/dist-es/runtimeConfig.shared.js +6 -1
  17. package/dist-es/schemas/schemas_0.js +146 -139
  18. package/dist-types/IoTEventsDataClient.d.ts +1 -10
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  21. package/dist-types/runtimeConfig.d.ts +6 -2
  22. package/dist-types/runtimeConfig.native.d.ts +6 -2
  23. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  24. package/dist-types/schemas/schemas_0.d.ts +78 -96
  25. package/dist-types/ts3.4/IoTEventsDataClient.d.ts +0 -4
  26. package/dist-types/ts3.4/index.d.ts +1 -0
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +77 -96
  32. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ioteventsdata" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.ioteventsdata",
32
+ version: "2018-10-23",
33
+ serviceTarget: "IotColumboDataService",
34
+ },
30
35
  serviceId: config?.serviceId ?? "IoT Events Data",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchAcknowledgeAlarm } from "../schemas/schemas_0";
4
+ import { BatchAcknowledgeAlarm$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchAcknowledgeAlarmCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchAcknowledgeAlarmCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "BatchAcknowledgeAlarm", {})
13
13
  .n("IoTEventsDataClient", "BatchAcknowledgeAlarmCommand")
14
- .sc(BatchAcknowledgeAlarm)
14
+ .sc(BatchAcknowledgeAlarm$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchDeleteDetector } from "../schemas/schemas_0";
4
+ import { BatchDeleteDetector$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchDeleteDetectorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchDeleteDetectorCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "BatchDeleteDetector", {})
13
13
  .n("IoTEventsDataClient", "BatchDeleteDetectorCommand")
14
- .sc(BatchDeleteDetector)
14
+ .sc(BatchDeleteDetector$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchDisableAlarm } from "../schemas/schemas_0";
4
+ import { BatchDisableAlarm$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchDisableAlarmCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchDisableAlarmCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "BatchDisableAlarm", {})
13
13
  .n("IoTEventsDataClient", "BatchDisableAlarmCommand")
14
- .sc(BatchDisableAlarm)
14
+ .sc(BatchDisableAlarm$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchEnableAlarm } from "../schemas/schemas_0";
4
+ import { BatchEnableAlarm$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchEnableAlarmCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchEnableAlarmCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "BatchEnableAlarm", {})
13
13
  .n("IoTEventsDataClient", "BatchEnableAlarmCommand")
14
- .sc(BatchEnableAlarm)
14
+ .sc(BatchEnableAlarm$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchPutMessage } from "../schemas/schemas_0";
4
+ import { BatchPutMessage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchPutMessageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchPutMessageCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "BatchPutMessage", {})
13
13
  .n("IoTEventsDataClient", "BatchPutMessageCommand")
14
- .sc(BatchPutMessage)
14
+ .sc(BatchPutMessage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchResetAlarm } from "../schemas/schemas_0";
4
+ import { BatchResetAlarm$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchResetAlarmCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchResetAlarmCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "BatchResetAlarm", {})
13
13
  .n("IoTEventsDataClient", "BatchResetAlarmCommand")
14
- .sc(BatchResetAlarm)
14
+ .sc(BatchResetAlarm$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchSnoozeAlarm } from "../schemas/schemas_0";
4
+ import { BatchSnoozeAlarm$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchSnoozeAlarmCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchSnoozeAlarmCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "BatchSnoozeAlarm", {})
13
13
  .n("IoTEventsDataClient", "BatchSnoozeAlarmCommand")
14
- .sc(BatchSnoozeAlarm)
14
+ .sc(BatchSnoozeAlarm$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchUpdateDetector } from "../schemas/schemas_0";
4
+ import { BatchUpdateDetector$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchUpdateDetectorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchUpdateDetectorCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "BatchUpdateDetector", {})
13
13
  .n("IoTEventsDataClient", "BatchUpdateDetectorCommand")
14
- .sc(BatchUpdateDetector)
14
+ .sc(BatchUpdateDetector$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeAlarm } from "../schemas/schemas_0";
4
+ import { DescribeAlarm$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAlarmCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAlarmCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "DescribeAlarm", {})
13
13
  .n("IoTEventsDataClient", "DescribeAlarmCommand")
14
- .sc(DescribeAlarm)
14
+ .sc(DescribeAlarm$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeDetector } from "../schemas/schemas_0";
4
+ import { DescribeDetector$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeDetectorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeDetectorCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "DescribeDetector", {})
13
13
  .n("IoTEventsDataClient", "DescribeDetectorCommand")
14
- .sc(DescribeDetector)
14
+ .sc(DescribeDetector$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAlarms } from "../schemas/schemas_0";
4
+ import { ListAlarms$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListAlarmsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListAlarmsCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "ListAlarms", {})
13
13
  .n("IoTEventsDataClient", "ListAlarmsCommand")
14
- .sc(ListAlarms)
14
+ .sc(ListAlarms$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListDetectors } from "../schemas/schemas_0";
4
+ import { ListDetectors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListDetectorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListDetectorsCommand extends $Command
11
11
  })
12
12
  .s("IotColumboDataService", "ListDetectors", {})
13
13
  .n("IoTEventsDataClient", "ListDetectorsCommand")
14
- .sc(ListDetectors)
14
+ .sc(ListDetectors$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./IoTEventsDataClient";
2
2
  export * from "./IoTEventsData";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { IoTEventsDataServiceException } from "./models/IoTEventsDataServiceException";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ioteventsdata" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.ioteventsdata",
29
+ version: "2018-10-23",
30
+ serviceTarget: "IotColumboDataService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "IoT Events Data",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,