@aws-sdk/client-iot-wireless 3.540.0 → 3.545.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 (41) hide show
  1. package/README.md +27 -0
  2. package/dist-cjs/index.js +256 -0
  3. package/dist-es/IoTWireless.js +6 -0
  4. package/dist-es/commands/GetMetricConfigurationCommand.js +24 -0
  5. package/dist-es/commands/GetMetricsCommand.js +24 -0
  6. package/dist-es/commands/UpdateMetricConfigurationCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +49 -0
  9. package/dist-es/protocols/Aws_restJson1.js +141 -0
  10. package/dist-types/IoTWireless.d.ts +27 -0
  11. package/dist-types/IoTWirelessClient.d.ts +8 -2
  12. package/dist-types/commands/GetMetricConfigurationCommand.d.ts +77 -0
  13. package/dist-types/commands/GetMetricsCommand.d.ts +121 -0
  14. package/dist-types/commands/ListPositionConfigurationsCommand.d.ts +2 -1
  15. package/dist-types/commands/ListQueuedMessagesCommand.d.ts +1 -1
  16. package/dist-types/commands/ListServiceProfilesCommand.d.ts +1 -1
  17. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  18. package/dist-types/commands/ListWirelessDeviceImportTasksCommand.d.ts +1 -1
  19. package/dist-types/commands/ListWirelessDevicesCommand.d.ts +1 -2
  20. package/dist-types/commands/UpdateMetricConfigurationCommand.d.ts +77 -0
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/index.d.ts +3 -0
  23. package/dist-types/models/models_0.d.ts +287 -321
  24. package/dist-types/models/models_1.d.ts +335 -1
  25. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  26. package/dist-types/ts3.4/IoTWireless.d.ts +54 -0
  27. package/dist-types/ts3.4/IoTWirelessClient.d.ts +18 -0
  28. package/dist-types/ts3.4/commands/GetMetricConfigurationCommand.d.ts +39 -0
  29. package/dist-types/ts3.4/commands/GetMetricsCommand.d.ts +35 -0
  30. package/dist-types/ts3.4/commands/ListPositionConfigurationsCommand.d.ts +2 -4
  31. package/dist-types/ts3.4/commands/ListQueuedMessagesCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/ListServiceProfilesCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/ListWirelessDeviceImportTasksCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/ListWirelessDevicesCommand.d.ts +4 -2
  36. package/dist-types/ts3.4/commands/UpdateMetricConfigurationCommand.d.ts +39 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +103 -73
  39. package/dist-types/ts3.4/models/models_1.d.ts +82 -1
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  41. package/package.json +1 -1
@@ -0,0 +1,77 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
4
+ import { UpdateMetricConfigurationRequest, UpdateMetricConfigurationResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link UpdateMetricConfigurationCommand}.
13
+ */
14
+ export interface UpdateMetricConfigurationCommandInput extends UpdateMetricConfigurationRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link UpdateMetricConfigurationCommand}.
20
+ */
21
+ export interface UpdateMetricConfigurationCommandOutput extends UpdateMetricConfigurationResponse, __MetadataBearer {
22
+ }
23
+ declare const UpdateMetricConfigurationCommand_base: {
24
+ new (input: UpdateMetricConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMetricConfigurationCommandInput, UpdateMetricConfigurationCommandOutput, IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [UpdateMetricConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<UpdateMetricConfigurationCommandInput, UpdateMetricConfigurationCommandOutput, IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Update the metric configuration.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { IoTWirelessClient, UpdateMetricConfigurationCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import
34
+ * // const { IoTWirelessClient, UpdateMetricConfigurationCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import
35
+ * const client = new IoTWirelessClient(config);
36
+ * const input = { // UpdateMetricConfigurationRequest
37
+ * SummaryMetric: { // SummaryMetricConfiguration
38
+ * Status: "Enabled" || "Disabled",
39
+ * },
40
+ * };
41
+ * const command = new UpdateMetricConfigurationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param UpdateMetricConfigurationCommandInput - {@link UpdateMetricConfigurationCommandInput}
48
+ * @returns {@link UpdateMetricConfigurationCommandOutput}
49
+ * @see {@link UpdateMetricConfigurationCommandInput} for command's `input` shape.
50
+ * @see {@link UpdateMetricConfigurationCommandOutput} for command's `response` shape.
51
+ * @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>User does not have permission to perform this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>Adding, updating, or deleting the resource can cause an inconsistent state.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>An unexpected error occurred while processing a request.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>Resource does not exist.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied because it exceeded the allowed API request rate.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The input did not meet the specified constraints.</p>
70
+ *
71
+ * @throws {@link IoTWirelessServiceException}
72
+ * <p>Base exception class for all service exceptions from IoTWireless service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class UpdateMetricConfigurationCommand extends UpdateMetricConfigurationCommand_base {
77
+ }
@@ -41,6 +41,8 @@ export * from "./GetDeviceProfileCommand";
41
41
  export * from "./GetEventConfigurationByResourceTypesCommand";
42
42
  export * from "./GetFuotaTaskCommand";
43
43
  export * from "./GetLogLevelsByResourceTypesCommand";
44
+ export * from "./GetMetricConfigurationCommand";
45
+ export * from "./GetMetricsCommand";
44
46
  export * from "./GetMulticastGroupCommand";
45
47
  export * from "./GetMulticastGroupSessionCommand";
46
48
  export * from "./GetNetworkAnalyzerConfigurationCommand";
@@ -98,6 +100,7 @@ export * from "./UpdateDestinationCommand";
98
100
  export * from "./UpdateEventConfigurationByResourceTypesCommand";
99
101
  export * from "./UpdateFuotaTaskCommand";
100
102
  export * from "./UpdateLogLevelsByResourceTypesCommand";
103
+ export * from "./UpdateMetricConfigurationCommand";
101
104
  export * from "./UpdateMulticastGroupCommand";
102
105
  export * from "./UpdateNetworkAnalyzerConfigurationCommand";
103
106
  export * from "./UpdatePartnerAccountCommand";
@@ -12,6 +12,9 @@
12
12
  * Firmware Updates Over-The-Air (FUOTA) API operations, you can create a FUOTA task and
13
13
  * schedule a session to update the firmware of individual devices or an entire group of
14
14
  * devices in a multicast group.</p>
15
+ * <p>To connect to the AWS IoT Wireless Service, use the Service endpoints as described in
16
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/iot-lorawan.html#iot-wireless_region">IoT Wireless Service
17
+ * endpoints</a> in the <i>AWS General Reference</i>.</p>
15
18
  *
16
19
  * @packageDocumentation
17
20
  */