@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.
- package/README.md +27 -0
- package/dist-cjs/index.js +256 -0
- package/dist-es/IoTWireless.js +6 -0
- package/dist-es/commands/GetMetricConfigurationCommand.js +24 -0
- package/dist-es/commands/GetMetricsCommand.js +24 -0
- package/dist-es/commands/UpdateMetricConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +49 -0
- package/dist-es/protocols/Aws_restJson1.js +141 -0
- package/dist-types/IoTWireless.d.ts +27 -0
- package/dist-types/IoTWirelessClient.d.ts +8 -2
- package/dist-types/commands/GetMetricConfigurationCommand.d.ts +77 -0
- package/dist-types/commands/GetMetricsCommand.d.ts +121 -0
- package/dist-types/commands/ListPositionConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListQueuedMessagesCommand.d.ts +1 -1
- package/dist-types/commands/ListServiceProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWirelessDeviceImportTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListWirelessDevicesCommand.d.ts +1 -2
- package/dist-types/commands/UpdateMetricConfigurationCommand.d.ts +77 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +287 -321
- package/dist-types/models/models_1.d.ts +335 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/IoTWireless.d.ts +54 -0
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetMetricConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetMetricsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListPositionConfigurationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListQueuedMessagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListServiceProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWirelessDeviceImportTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWirelessDevicesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateMetricConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +103 -73
- package/dist-types/ts3.4/models/models_1.d.ts +82 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -535,6 +535,30 @@ export const se_GetLogLevelsByResourceTypesCommand = async (input, context) => {
|
|
|
535
535
|
b.m("GET").h(headers).b(body);
|
|
536
536
|
return b.build();
|
|
537
537
|
};
|
|
538
|
+
export const se_GetMetricConfigurationCommand = async (input, context) => {
|
|
539
|
+
const b = rb(input, context);
|
|
540
|
+
const headers = {
|
|
541
|
+
"content-type": "application/json",
|
|
542
|
+
};
|
|
543
|
+
b.bp("/metric-configuration");
|
|
544
|
+
let body;
|
|
545
|
+
body = "";
|
|
546
|
+
b.m("GET").h(headers).b(body);
|
|
547
|
+
return b.build();
|
|
548
|
+
};
|
|
549
|
+
export const se_GetMetricsCommand = async (input, context) => {
|
|
550
|
+
const b = rb(input, context);
|
|
551
|
+
const headers = {
|
|
552
|
+
"content-type": "application/json",
|
|
553
|
+
};
|
|
554
|
+
b.bp("/metrics");
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify(take(input, {
|
|
557
|
+
SummaryMetricQueries: (_) => se_SummaryMetricQueries(_, context),
|
|
558
|
+
}));
|
|
559
|
+
b.m("POST").h(headers).b(body);
|
|
560
|
+
return b.build();
|
|
561
|
+
};
|
|
538
562
|
export const se_GetMulticastGroupCommand = async (input, context) => {
|
|
539
563
|
const b = rb(input, context);
|
|
540
564
|
const headers = {};
|
|
@@ -1267,6 +1291,19 @@ export const se_UpdateLogLevelsByResourceTypesCommand = async (input, context) =
|
|
|
1267
1291
|
b.m("POST").h(headers).b(body);
|
|
1268
1292
|
return b.build();
|
|
1269
1293
|
};
|
|
1294
|
+
export const se_UpdateMetricConfigurationCommand = async (input, context) => {
|
|
1295
|
+
const b = rb(input, context);
|
|
1296
|
+
const headers = {
|
|
1297
|
+
"content-type": "application/json",
|
|
1298
|
+
};
|
|
1299
|
+
b.bp("/metric-configuration");
|
|
1300
|
+
let body;
|
|
1301
|
+
body = JSON.stringify(take(input, {
|
|
1302
|
+
SummaryMetric: (_) => _json(_),
|
|
1303
|
+
}));
|
|
1304
|
+
b.m("PUT").h(headers).b(body);
|
|
1305
|
+
return b.build();
|
|
1306
|
+
};
|
|
1270
1307
|
export const se_UpdateMulticastGroupCommand = async (input, context) => {
|
|
1271
1308
|
const b = rb(input, context);
|
|
1272
1309
|
const headers = {
|
|
@@ -1962,6 +1999,34 @@ export const de_GetLogLevelsByResourceTypesCommand = async (output, context) =>
|
|
|
1962
1999
|
Object.assign(contents, doc);
|
|
1963
2000
|
return contents;
|
|
1964
2001
|
};
|
|
2002
|
+
export const de_GetMetricConfigurationCommand = async (output, context) => {
|
|
2003
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2004
|
+
return de_CommandError(output, context);
|
|
2005
|
+
}
|
|
2006
|
+
const contents = map({
|
|
2007
|
+
$metadata: deserializeMetadata(output),
|
|
2008
|
+
});
|
|
2009
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2010
|
+
const doc = take(data, {
|
|
2011
|
+
SummaryMetric: _json,
|
|
2012
|
+
});
|
|
2013
|
+
Object.assign(contents, doc);
|
|
2014
|
+
return contents;
|
|
2015
|
+
};
|
|
2016
|
+
export const de_GetMetricsCommand = async (output, context) => {
|
|
2017
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2018
|
+
return de_CommandError(output, context);
|
|
2019
|
+
}
|
|
2020
|
+
const contents = map({
|
|
2021
|
+
$metadata: deserializeMetadata(output),
|
|
2022
|
+
});
|
|
2023
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2024
|
+
const doc = take(data, {
|
|
2025
|
+
SummaryMetricQueryResults: (_) => de_SummaryMetricQueryResults(_, context),
|
|
2026
|
+
});
|
|
2027
|
+
Object.assign(contents, doc);
|
|
2028
|
+
return contents;
|
|
2029
|
+
};
|
|
1965
2030
|
export const de_GetMulticastGroupCommand = async (output, context) => {
|
|
1966
2031
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1967
2032
|
return de_CommandError(output, context);
|
|
@@ -2784,6 +2849,16 @@ export const de_UpdateLogLevelsByResourceTypesCommand = async (output, context)
|
|
|
2784
2849
|
await collectBody(output.body, context);
|
|
2785
2850
|
return contents;
|
|
2786
2851
|
};
|
|
2852
|
+
export const de_UpdateMetricConfigurationCommand = async (output, context) => {
|
|
2853
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2854
|
+
return de_CommandError(output, context);
|
|
2855
|
+
}
|
|
2856
|
+
const contents = map({
|
|
2857
|
+
$metadata: deserializeMetadata(output),
|
|
2858
|
+
});
|
|
2859
|
+
await collectBody(output.body, context);
|
|
2860
|
+
return contents;
|
|
2861
|
+
};
|
|
2787
2862
|
export const de_UpdateMulticastGroupCommand = async (output, context) => {
|
|
2788
2863
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2789
2864
|
return de_CommandError(output, context);
|
|
@@ -3123,6 +3198,23 @@ const se_PositionCoordinate = (input, context) => {
|
|
|
3123
3198
|
return __serializeFloat(entry);
|
|
3124
3199
|
});
|
|
3125
3200
|
};
|
|
3201
|
+
const se_SummaryMetricQueries = (input, context) => {
|
|
3202
|
+
return input
|
|
3203
|
+
.filter((e) => e != null)
|
|
3204
|
+
.map((entry) => {
|
|
3205
|
+
return se_SummaryMetricQuery(entry, context);
|
|
3206
|
+
});
|
|
3207
|
+
};
|
|
3208
|
+
const se_SummaryMetricQuery = (input, context) => {
|
|
3209
|
+
return take(input, {
|
|
3210
|
+
AggregationPeriod: [],
|
|
3211
|
+
Dimensions: _json,
|
|
3212
|
+
EndTimestamp: (_) => Math.round(_.getTime() / 1000),
|
|
3213
|
+
MetricName: [],
|
|
3214
|
+
QueryId: [],
|
|
3215
|
+
StartTimestamp: (_) => Math.round(_.getTime() / 1000),
|
|
3216
|
+
});
|
|
3217
|
+
};
|
|
3126
3218
|
const de_Accuracy = (output, context) => {
|
|
3127
3219
|
return take(output, {
|
|
3128
3220
|
HorizontalAccuracy: __limitedParseFloat32,
|
|
@@ -3201,6 +3293,32 @@ const de_LoRaWANMulticastSession = (output, context) => {
|
|
|
3201
3293
|
SessionTimeout: __expectInt32,
|
|
3202
3294
|
});
|
|
3203
3295
|
};
|
|
3296
|
+
const de_MetricQueryTimestamps = (output, context) => {
|
|
3297
|
+
const retVal = (output || [])
|
|
3298
|
+
.filter((e) => e != null)
|
|
3299
|
+
.map((entry) => {
|
|
3300
|
+
return __expectNonNull(__parseEpochTimestamp(__expectNumber(entry)));
|
|
3301
|
+
});
|
|
3302
|
+
return retVal;
|
|
3303
|
+
};
|
|
3304
|
+
const de_MetricQueryValue = (output, context) => {
|
|
3305
|
+
return take(output, {
|
|
3306
|
+
Avg: __limitedParseDouble,
|
|
3307
|
+
Max: __limitedParseDouble,
|
|
3308
|
+
Min: __limitedParseDouble,
|
|
3309
|
+
P90: __limitedParseDouble,
|
|
3310
|
+
Std: __limitedParseDouble,
|
|
3311
|
+
Sum: __limitedParseDouble,
|
|
3312
|
+
});
|
|
3313
|
+
};
|
|
3314
|
+
const de_MetricQueryValues = (output, context) => {
|
|
3315
|
+
const retVal = (output || [])
|
|
3316
|
+
.filter((e) => e != null)
|
|
3317
|
+
.map((entry) => {
|
|
3318
|
+
return de_MetricQueryValue(entry, context);
|
|
3319
|
+
});
|
|
3320
|
+
return retVal;
|
|
3321
|
+
};
|
|
3204
3322
|
const de_PositionCoordinate = (output, context) => {
|
|
3205
3323
|
const retVal = (output || [])
|
|
3206
3324
|
.filter((e) => e != null)
|
|
@@ -3209,6 +3327,29 @@ const de_PositionCoordinate = (output, context) => {
|
|
|
3209
3327
|
});
|
|
3210
3328
|
return retVal;
|
|
3211
3329
|
};
|
|
3330
|
+
const de_SummaryMetricQueryResult = (output, context) => {
|
|
3331
|
+
return take(output, {
|
|
3332
|
+
AggregationPeriod: __expectString,
|
|
3333
|
+
Dimensions: _json,
|
|
3334
|
+
EndTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3335
|
+
Error: __expectString,
|
|
3336
|
+
MetricName: __expectString,
|
|
3337
|
+
QueryId: __expectString,
|
|
3338
|
+
QueryStatus: __expectString,
|
|
3339
|
+
StartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3340
|
+
Timestamps: (_) => de_MetricQueryTimestamps(_, context),
|
|
3341
|
+
Unit: __expectString,
|
|
3342
|
+
Values: (_) => de_MetricQueryValues(_, context),
|
|
3343
|
+
});
|
|
3344
|
+
};
|
|
3345
|
+
const de_SummaryMetricQueryResults = (output, context) => {
|
|
3346
|
+
const retVal = (output || [])
|
|
3347
|
+
.filter((e) => e != null)
|
|
3348
|
+
.map((entry) => {
|
|
3349
|
+
return de_SummaryMetricQueryResult(entry, context);
|
|
3350
|
+
});
|
|
3351
|
+
return retVal;
|
|
3352
|
+
};
|
|
3212
3353
|
const de_WirelessDeviceImportTask = (output, context) => {
|
|
3213
3354
|
return take(output, {
|
|
3214
3355
|
Arn: __expectString,
|
|
@@ -42,6 +42,8 @@ import { GetDeviceProfileCommandInput, GetDeviceProfileCommandOutput } from "./c
|
|
|
42
42
|
import { GetEventConfigurationByResourceTypesCommandInput, GetEventConfigurationByResourceTypesCommandOutput } from "./commands/GetEventConfigurationByResourceTypesCommand";
|
|
43
43
|
import { GetFuotaTaskCommandInput, GetFuotaTaskCommandOutput } from "./commands/GetFuotaTaskCommand";
|
|
44
44
|
import { GetLogLevelsByResourceTypesCommandInput, GetLogLevelsByResourceTypesCommandOutput } from "./commands/GetLogLevelsByResourceTypesCommand";
|
|
45
|
+
import { GetMetricConfigurationCommandInput, GetMetricConfigurationCommandOutput } from "./commands/GetMetricConfigurationCommand";
|
|
46
|
+
import { GetMetricsCommandInput, GetMetricsCommandOutput } from "./commands/GetMetricsCommand";
|
|
45
47
|
import { GetMulticastGroupCommandInput, GetMulticastGroupCommandOutput } from "./commands/GetMulticastGroupCommand";
|
|
46
48
|
import { GetMulticastGroupSessionCommandInput, GetMulticastGroupSessionCommandOutput } from "./commands/GetMulticastGroupSessionCommand";
|
|
47
49
|
import { GetNetworkAnalyzerConfigurationCommandInput, GetNetworkAnalyzerConfigurationCommandOutput } from "./commands/GetNetworkAnalyzerConfigurationCommand";
|
|
@@ -99,6 +101,7 @@ import { UpdateDestinationCommandInput, UpdateDestinationCommandOutput } from ".
|
|
|
99
101
|
import { UpdateEventConfigurationByResourceTypesCommandInput, UpdateEventConfigurationByResourceTypesCommandOutput } from "./commands/UpdateEventConfigurationByResourceTypesCommand";
|
|
100
102
|
import { UpdateFuotaTaskCommandInput, UpdateFuotaTaskCommandOutput } from "./commands/UpdateFuotaTaskCommand";
|
|
101
103
|
import { UpdateLogLevelsByResourceTypesCommandInput, UpdateLogLevelsByResourceTypesCommandOutput } from "./commands/UpdateLogLevelsByResourceTypesCommand";
|
|
104
|
+
import { UpdateMetricConfigurationCommandInput, UpdateMetricConfigurationCommandOutput } from "./commands/UpdateMetricConfigurationCommand";
|
|
102
105
|
import { UpdateMulticastGroupCommandInput, UpdateMulticastGroupCommandOutput } from "./commands/UpdateMulticastGroupCommand";
|
|
103
106
|
import { UpdateNetworkAnalyzerConfigurationCommandInput, UpdateNetworkAnalyzerConfigurationCommandOutput } from "./commands/UpdateNetworkAnalyzerConfigurationCommand";
|
|
104
107
|
import { UpdatePartnerAccountCommandInput, UpdatePartnerAccountCommandOutput } from "./commands/UpdatePartnerAccountCommand";
|
|
@@ -372,6 +375,20 @@ export interface IoTWireless {
|
|
|
372
375
|
getLogLevelsByResourceTypes(args: GetLogLevelsByResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<GetLogLevelsByResourceTypesCommandOutput>;
|
|
373
376
|
getLogLevelsByResourceTypes(args: GetLogLevelsByResourceTypesCommandInput, cb: (err: any, data?: GetLogLevelsByResourceTypesCommandOutput) => void): void;
|
|
374
377
|
getLogLevelsByResourceTypes(args: GetLogLevelsByResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogLevelsByResourceTypesCommandOutput) => void): void;
|
|
378
|
+
/**
|
|
379
|
+
* @see {@link GetMetricConfigurationCommand}
|
|
380
|
+
*/
|
|
381
|
+
getMetricConfiguration(): Promise<GetMetricConfigurationCommandOutput>;
|
|
382
|
+
getMetricConfiguration(args: GetMetricConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricConfigurationCommandOutput>;
|
|
383
|
+
getMetricConfiguration(args: GetMetricConfigurationCommandInput, cb: (err: any, data?: GetMetricConfigurationCommandOutput) => void): void;
|
|
384
|
+
getMetricConfiguration(args: GetMetricConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricConfigurationCommandOutput) => void): void;
|
|
385
|
+
/**
|
|
386
|
+
* @see {@link GetMetricsCommand}
|
|
387
|
+
*/
|
|
388
|
+
getMetrics(): Promise<GetMetricsCommandOutput>;
|
|
389
|
+
getMetrics(args: GetMetricsCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricsCommandOutput>;
|
|
390
|
+
getMetrics(args: GetMetricsCommandInput, cb: (err: any, data?: GetMetricsCommandOutput) => void): void;
|
|
391
|
+
getMetrics(args: GetMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricsCommandOutput) => void): void;
|
|
375
392
|
/**
|
|
376
393
|
* @see {@link GetMulticastGroupCommand}
|
|
377
394
|
*/
|
|
@@ -731,6 +748,13 @@ export interface IoTWireless {
|
|
|
731
748
|
updateLogLevelsByResourceTypes(args: UpdateLogLevelsByResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLogLevelsByResourceTypesCommandOutput>;
|
|
732
749
|
updateLogLevelsByResourceTypes(args: UpdateLogLevelsByResourceTypesCommandInput, cb: (err: any, data?: UpdateLogLevelsByResourceTypesCommandOutput) => void): void;
|
|
733
750
|
updateLogLevelsByResourceTypes(args: UpdateLogLevelsByResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLogLevelsByResourceTypesCommandOutput) => void): void;
|
|
751
|
+
/**
|
|
752
|
+
* @see {@link UpdateMetricConfigurationCommand}
|
|
753
|
+
*/
|
|
754
|
+
updateMetricConfiguration(): Promise<UpdateMetricConfigurationCommandOutput>;
|
|
755
|
+
updateMetricConfiguration(args: UpdateMetricConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMetricConfigurationCommandOutput>;
|
|
756
|
+
updateMetricConfiguration(args: UpdateMetricConfigurationCommandInput, cb: (err: any, data?: UpdateMetricConfigurationCommandOutput) => void): void;
|
|
757
|
+
updateMetricConfiguration(args: UpdateMetricConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMetricConfigurationCommandOutput) => void): void;
|
|
734
758
|
/**
|
|
735
759
|
* @see {@link UpdateMulticastGroupCommand}
|
|
736
760
|
*/
|
|
@@ -800,6 +824,9 @@ export interface IoTWireless {
|
|
|
800
824
|
* Firmware Updates Over-The-Air (FUOTA) API operations, you can create a FUOTA task and
|
|
801
825
|
* schedule a session to update the firmware of individual devices or an entire group of
|
|
802
826
|
* devices in a multicast group.</p>
|
|
827
|
+
* <p>To connect to the AWS IoT Wireless Service, use the Service endpoints as described in
|
|
828
|
+
* <a href="https://docs.aws.amazon.com/general/latest/gr/iot-lorawan.html#iot-wireless_region">IoT Wireless Service
|
|
829
|
+
* endpoints</a> in the <i>AWS General Reference</i>.</p>
|
|
803
830
|
* @public
|
|
804
831
|
*/
|
|
805
832
|
export declare class IoTWireless extends IoTWirelessClient implements IoTWireless {
|
|
@@ -50,6 +50,8 @@ import { GetDeviceProfileCommandInput, GetDeviceProfileCommandOutput } from "./c
|
|
|
50
50
|
import { GetEventConfigurationByResourceTypesCommandInput, GetEventConfigurationByResourceTypesCommandOutput } from "./commands/GetEventConfigurationByResourceTypesCommand";
|
|
51
51
|
import { GetFuotaTaskCommandInput, GetFuotaTaskCommandOutput } from "./commands/GetFuotaTaskCommand";
|
|
52
52
|
import { GetLogLevelsByResourceTypesCommandInput, GetLogLevelsByResourceTypesCommandOutput } from "./commands/GetLogLevelsByResourceTypesCommand";
|
|
53
|
+
import { GetMetricConfigurationCommandInput, GetMetricConfigurationCommandOutput } from "./commands/GetMetricConfigurationCommand";
|
|
54
|
+
import { GetMetricsCommandInput, GetMetricsCommandOutput } from "./commands/GetMetricsCommand";
|
|
53
55
|
import { GetMulticastGroupCommandInput, GetMulticastGroupCommandOutput } from "./commands/GetMulticastGroupCommand";
|
|
54
56
|
import { GetMulticastGroupSessionCommandInput, GetMulticastGroupSessionCommandOutput } from "./commands/GetMulticastGroupSessionCommand";
|
|
55
57
|
import { GetNetworkAnalyzerConfigurationCommandInput, GetNetworkAnalyzerConfigurationCommandOutput } from "./commands/GetNetworkAnalyzerConfigurationCommand";
|
|
@@ -107,6 +109,7 @@ import { UpdateDestinationCommandInput, UpdateDestinationCommandOutput } from ".
|
|
|
107
109
|
import { UpdateEventConfigurationByResourceTypesCommandInput, UpdateEventConfigurationByResourceTypesCommandOutput } from "./commands/UpdateEventConfigurationByResourceTypesCommand";
|
|
108
110
|
import { UpdateFuotaTaskCommandInput, UpdateFuotaTaskCommandOutput } from "./commands/UpdateFuotaTaskCommand";
|
|
109
111
|
import { UpdateLogLevelsByResourceTypesCommandInput, UpdateLogLevelsByResourceTypesCommandOutput } from "./commands/UpdateLogLevelsByResourceTypesCommand";
|
|
112
|
+
import { UpdateMetricConfigurationCommandInput, UpdateMetricConfigurationCommandOutput } from "./commands/UpdateMetricConfigurationCommand";
|
|
110
113
|
import { UpdateMulticastGroupCommandInput, UpdateMulticastGroupCommandOutput } from "./commands/UpdateMulticastGroupCommand";
|
|
111
114
|
import { UpdateNetworkAnalyzerConfigurationCommandInput, UpdateNetworkAnalyzerConfigurationCommandOutput } from "./commands/UpdateNetworkAnalyzerConfigurationCommand";
|
|
112
115
|
import { UpdatePartnerAccountCommandInput, UpdatePartnerAccountCommandOutput } from "./commands/UpdatePartnerAccountCommand";
|
|
@@ -122,11 +125,11 @@ export { __Client };
|
|
|
122
125
|
/**
|
|
123
126
|
* @public
|
|
124
127
|
*/
|
|
125
|
-
export type ServiceInputTypes = AssociateAwsAccountWithPartnerAccountCommandInput | AssociateMulticastGroupWithFuotaTaskCommandInput | AssociateWirelessDeviceWithFuotaTaskCommandInput | AssociateWirelessDeviceWithMulticastGroupCommandInput | AssociateWirelessDeviceWithThingCommandInput | AssociateWirelessGatewayWithCertificateCommandInput | AssociateWirelessGatewayWithThingCommandInput | CancelMulticastGroupSessionCommandInput | CreateDestinationCommandInput | CreateDeviceProfileCommandInput | CreateFuotaTaskCommandInput | CreateMulticastGroupCommandInput | CreateNetworkAnalyzerConfigurationCommandInput | CreateServiceProfileCommandInput | CreateWirelessDeviceCommandInput | CreateWirelessGatewayCommandInput | CreateWirelessGatewayTaskCommandInput | CreateWirelessGatewayTaskDefinitionCommandInput | DeleteDestinationCommandInput | DeleteDeviceProfileCommandInput | DeleteFuotaTaskCommandInput | DeleteMulticastGroupCommandInput | DeleteNetworkAnalyzerConfigurationCommandInput | DeleteQueuedMessagesCommandInput | DeleteServiceProfileCommandInput | DeleteWirelessDeviceCommandInput | DeleteWirelessDeviceImportTaskCommandInput | DeleteWirelessGatewayCommandInput | DeleteWirelessGatewayTaskCommandInput | DeleteWirelessGatewayTaskDefinitionCommandInput | DeregisterWirelessDeviceCommandInput | DisassociateAwsAccountFromPartnerAccountCommandInput | DisassociateMulticastGroupFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromMulticastGroupCommandInput | DisassociateWirelessDeviceFromThingCommandInput | DisassociateWirelessGatewayFromCertificateCommandInput | DisassociateWirelessGatewayFromThingCommandInput | GetDestinationCommandInput | GetDeviceProfileCommandInput | GetEventConfigurationByResourceTypesCommandInput | GetFuotaTaskCommandInput | GetLogLevelsByResourceTypesCommandInput | GetMulticastGroupCommandInput | GetMulticastGroupSessionCommandInput | GetNetworkAnalyzerConfigurationCommandInput | GetPartnerAccountCommandInput | GetPositionCommandInput | GetPositionConfigurationCommandInput | GetPositionEstimateCommandInput | GetResourceEventConfigurationCommandInput | GetResourceLogLevelCommandInput | GetResourcePositionCommandInput | GetServiceEndpointCommandInput | GetServiceProfileCommandInput | GetWirelessDeviceCommandInput | GetWirelessDeviceImportTaskCommandInput | GetWirelessDeviceStatisticsCommandInput | GetWirelessGatewayCertificateCommandInput | GetWirelessGatewayCommandInput | GetWirelessGatewayFirmwareInformationCommandInput | GetWirelessGatewayStatisticsCommandInput | GetWirelessGatewayTaskCommandInput | GetWirelessGatewayTaskDefinitionCommandInput | ListDestinationsCommandInput | ListDeviceProfilesCommandInput | ListDevicesForWirelessDeviceImportTaskCommandInput | ListEventConfigurationsCommandInput | ListFuotaTasksCommandInput | ListMulticastGroupsByFuotaTaskCommandInput | ListMulticastGroupsCommandInput | ListNetworkAnalyzerConfigurationsCommandInput | ListPartnerAccountsCommandInput | ListPositionConfigurationsCommandInput | ListQueuedMessagesCommandInput | ListServiceProfilesCommandInput | ListTagsForResourceCommandInput | ListWirelessDeviceImportTasksCommandInput | ListWirelessDevicesCommandInput | ListWirelessGatewayTaskDefinitionsCommandInput | ListWirelessGatewaysCommandInput | PutPositionConfigurationCommandInput | PutResourceLogLevelCommandInput | ResetAllResourceLogLevelsCommandInput | ResetResourceLogLevelCommandInput | SendDataToMulticastGroupCommandInput | SendDataToWirelessDeviceCommandInput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandInput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandInput | StartFuotaTaskCommandInput | StartMulticastGroupSessionCommandInput | StartSingleWirelessDeviceImportTaskCommandInput | StartWirelessDeviceImportTaskCommandInput | TagResourceCommandInput | TestWirelessDeviceCommandInput | UntagResourceCommandInput | UpdateDestinationCommandInput | UpdateEventConfigurationByResourceTypesCommandInput | UpdateFuotaTaskCommandInput | UpdateLogLevelsByResourceTypesCommandInput | UpdateMulticastGroupCommandInput | UpdateNetworkAnalyzerConfigurationCommandInput | UpdatePartnerAccountCommandInput | UpdatePositionCommandInput | UpdateResourceEventConfigurationCommandInput | UpdateResourcePositionCommandInput | UpdateWirelessDeviceCommandInput | UpdateWirelessDeviceImportTaskCommandInput | UpdateWirelessGatewayCommandInput;
|
|
128
|
+
export type ServiceInputTypes = AssociateAwsAccountWithPartnerAccountCommandInput | AssociateMulticastGroupWithFuotaTaskCommandInput | AssociateWirelessDeviceWithFuotaTaskCommandInput | AssociateWirelessDeviceWithMulticastGroupCommandInput | AssociateWirelessDeviceWithThingCommandInput | AssociateWirelessGatewayWithCertificateCommandInput | AssociateWirelessGatewayWithThingCommandInput | CancelMulticastGroupSessionCommandInput | CreateDestinationCommandInput | CreateDeviceProfileCommandInput | CreateFuotaTaskCommandInput | CreateMulticastGroupCommandInput | CreateNetworkAnalyzerConfigurationCommandInput | CreateServiceProfileCommandInput | CreateWirelessDeviceCommandInput | CreateWirelessGatewayCommandInput | CreateWirelessGatewayTaskCommandInput | CreateWirelessGatewayTaskDefinitionCommandInput | DeleteDestinationCommandInput | DeleteDeviceProfileCommandInput | DeleteFuotaTaskCommandInput | DeleteMulticastGroupCommandInput | DeleteNetworkAnalyzerConfigurationCommandInput | DeleteQueuedMessagesCommandInput | DeleteServiceProfileCommandInput | DeleteWirelessDeviceCommandInput | DeleteWirelessDeviceImportTaskCommandInput | DeleteWirelessGatewayCommandInput | DeleteWirelessGatewayTaskCommandInput | DeleteWirelessGatewayTaskDefinitionCommandInput | DeregisterWirelessDeviceCommandInput | DisassociateAwsAccountFromPartnerAccountCommandInput | DisassociateMulticastGroupFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromMulticastGroupCommandInput | DisassociateWirelessDeviceFromThingCommandInput | DisassociateWirelessGatewayFromCertificateCommandInput | DisassociateWirelessGatewayFromThingCommandInput | GetDestinationCommandInput | GetDeviceProfileCommandInput | GetEventConfigurationByResourceTypesCommandInput | GetFuotaTaskCommandInput | GetLogLevelsByResourceTypesCommandInput | GetMetricConfigurationCommandInput | GetMetricsCommandInput | GetMulticastGroupCommandInput | GetMulticastGroupSessionCommandInput | GetNetworkAnalyzerConfigurationCommandInput | GetPartnerAccountCommandInput | GetPositionCommandInput | GetPositionConfigurationCommandInput | GetPositionEstimateCommandInput | GetResourceEventConfigurationCommandInput | GetResourceLogLevelCommandInput | GetResourcePositionCommandInput | GetServiceEndpointCommandInput | GetServiceProfileCommandInput | GetWirelessDeviceCommandInput | GetWirelessDeviceImportTaskCommandInput | GetWirelessDeviceStatisticsCommandInput | GetWirelessGatewayCertificateCommandInput | GetWirelessGatewayCommandInput | GetWirelessGatewayFirmwareInformationCommandInput | GetWirelessGatewayStatisticsCommandInput | GetWirelessGatewayTaskCommandInput | GetWirelessGatewayTaskDefinitionCommandInput | ListDestinationsCommandInput | ListDeviceProfilesCommandInput | ListDevicesForWirelessDeviceImportTaskCommandInput | ListEventConfigurationsCommandInput | ListFuotaTasksCommandInput | ListMulticastGroupsByFuotaTaskCommandInput | ListMulticastGroupsCommandInput | ListNetworkAnalyzerConfigurationsCommandInput | ListPartnerAccountsCommandInput | ListPositionConfigurationsCommandInput | ListQueuedMessagesCommandInput | ListServiceProfilesCommandInput | ListTagsForResourceCommandInput | ListWirelessDeviceImportTasksCommandInput | ListWirelessDevicesCommandInput | ListWirelessGatewayTaskDefinitionsCommandInput | ListWirelessGatewaysCommandInput | PutPositionConfigurationCommandInput | PutResourceLogLevelCommandInput | ResetAllResourceLogLevelsCommandInput | ResetResourceLogLevelCommandInput | SendDataToMulticastGroupCommandInput | SendDataToWirelessDeviceCommandInput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandInput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandInput | StartFuotaTaskCommandInput | StartMulticastGroupSessionCommandInput | StartSingleWirelessDeviceImportTaskCommandInput | StartWirelessDeviceImportTaskCommandInput | TagResourceCommandInput | TestWirelessDeviceCommandInput | UntagResourceCommandInput | UpdateDestinationCommandInput | UpdateEventConfigurationByResourceTypesCommandInput | UpdateFuotaTaskCommandInput | UpdateLogLevelsByResourceTypesCommandInput | UpdateMetricConfigurationCommandInput | UpdateMulticastGroupCommandInput | UpdateNetworkAnalyzerConfigurationCommandInput | UpdatePartnerAccountCommandInput | UpdatePositionCommandInput | UpdateResourceEventConfigurationCommandInput | UpdateResourcePositionCommandInput | UpdateWirelessDeviceCommandInput | UpdateWirelessDeviceImportTaskCommandInput | UpdateWirelessGatewayCommandInput;
|
|
126
129
|
/**
|
|
127
130
|
* @public
|
|
128
131
|
*/
|
|
129
|
-
export type ServiceOutputTypes = AssociateAwsAccountWithPartnerAccountCommandOutput | AssociateMulticastGroupWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithMulticastGroupCommandOutput | AssociateWirelessDeviceWithThingCommandOutput | AssociateWirelessGatewayWithCertificateCommandOutput | AssociateWirelessGatewayWithThingCommandOutput | CancelMulticastGroupSessionCommandOutput | CreateDestinationCommandOutput | CreateDeviceProfileCommandOutput | CreateFuotaTaskCommandOutput | CreateMulticastGroupCommandOutput | CreateNetworkAnalyzerConfigurationCommandOutput | CreateServiceProfileCommandOutput | CreateWirelessDeviceCommandOutput | CreateWirelessGatewayCommandOutput | CreateWirelessGatewayTaskCommandOutput | CreateWirelessGatewayTaskDefinitionCommandOutput | DeleteDestinationCommandOutput | DeleteDeviceProfileCommandOutput | DeleteFuotaTaskCommandOutput | DeleteMulticastGroupCommandOutput | DeleteNetworkAnalyzerConfigurationCommandOutput | DeleteQueuedMessagesCommandOutput | DeleteServiceProfileCommandOutput | DeleteWirelessDeviceCommandOutput | DeleteWirelessDeviceImportTaskCommandOutput | DeleteWirelessGatewayCommandOutput | DeleteWirelessGatewayTaskCommandOutput | DeleteWirelessGatewayTaskDefinitionCommandOutput | DeregisterWirelessDeviceCommandOutput | DisassociateAwsAccountFromPartnerAccountCommandOutput | DisassociateMulticastGroupFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromMulticastGroupCommandOutput | DisassociateWirelessDeviceFromThingCommandOutput | DisassociateWirelessGatewayFromCertificateCommandOutput | DisassociateWirelessGatewayFromThingCommandOutput | GetDestinationCommandOutput | GetDeviceProfileCommandOutput | GetEventConfigurationByResourceTypesCommandOutput | GetFuotaTaskCommandOutput | GetLogLevelsByResourceTypesCommandOutput | GetMulticastGroupCommandOutput | GetMulticastGroupSessionCommandOutput | GetNetworkAnalyzerConfigurationCommandOutput | GetPartnerAccountCommandOutput | GetPositionCommandOutput | GetPositionConfigurationCommandOutput | GetPositionEstimateCommandOutput | GetResourceEventConfigurationCommandOutput | GetResourceLogLevelCommandOutput | GetResourcePositionCommandOutput | GetServiceEndpointCommandOutput | GetServiceProfileCommandOutput | GetWirelessDeviceCommandOutput | GetWirelessDeviceImportTaskCommandOutput | GetWirelessDeviceStatisticsCommandOutput | GetWirelessGatewayCertificateCommandOutput | GetWirelessGatewayCommandOutput | GetWirelessGatewayFirmwareInformationCommandOutput | GetWirelessGatewayStatisticsCommandOutput | GetWirelessGatewayTaskCommandOutput | GetWirelessGatewayTaskDefinitionCommandOutput | ListDestinationsCommandOutput | ListDeviceProfilesCommandOutput | ListDevicesForWirelessDeviceImportTaskCommandOutput | ListEventConfigurationsCommandOutput | ListFuotaTasksCommandOutput | ListMulticastGroupsByFuotaTaskCommandOutput | ListMulticastGroupsCommandOutput | ListNetworkAnalyzerConfigurationsCommandOutput | ListPartnerAccountsCommandOutput | ListPositionConfigurationsCommandOutput | ListQueuedMessagesCommandOutput | ListServiceProfilesCommandOutput | ListTagsForResourceCommandOutput | ListWirelessDeviceImportTasksCommandOutput | ListWirelessDevicesCommandOutput | ListWirelessGatewayTaskDefinitionsCommandOutput | ListWirelessGatewaysCommandOutput | PutPositionConfigurationCommandOutput | PutResourceLogLevelCommandOutput | ResetAllResourceLogLevelsCommandOutput | ResetResourceLogLevelCommandOutput | SendDataToMulticastGroupCommandOutput | SendDataToWirelessDeviceCommandOutput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandOutput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandOutput | StartFuotaTaskCommandOutput | StartMulticastGroupSessionCommandOutput | StartSingleWirelessDeviceImportTaskCommandOutput | StartWirelessDeviceImportTaskCommandOutput | TagResourceCommandOutput | TestWirelessDeviceCommandOutput | UntagResourceCommandOutput | UpdateDestinationCommandOutput | UpdateEventConfigurationByResourceTypesCommandOutput | UpdateFuotaTaskCommandOutput | UpdateLogLevelsByResourceTypesCommandOutput | UpdateMulticastGroupCommandOutput | UpdateNetworkAnalyzerConfigurationCommandOutput | UpdatePartnerAccountCommandOutput | UpdatePositionCommandOutput | UpdateResourceEventConfigurationCommandOutput | UpdateResourcePositionCommandOutput | UpdateWirelessDeviceCommandOutput | UpdateWirelessDeviceImportTaskCommandOutput | UpdateWirelessGatewayCommandOutput;
|
|
132
|
+
export type ServiceOutputTypes = AssociateAwsAccountWithPartnerAccountCommandOutput | AssociateMulticastGroupWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithMulticastGroupCommandOutput | AssociateWirelessDeviceWithThingCommandOutput | AssociateWirelessGatewayWithCertificateCommandOutput | AssociateWirelessGatewayWithThingCommandOutput | CancelMulticastGroupSessionCommandOutput | CreateDestinationCommandOutput | CreateDeviceProfileCommandOutput | CreateFuotaTaskCommandOutput | CreateMulticastGroupCommandOutput | CreateNetworkAnalyzerConfigurationCommandOutput | CreateServiceProfileCommandOutput | CreateWirelessDeviceCommandOutput | CreateWirelessGatewayCommandOutput | CreateWirelessGatewayTaskCommandOutput | CreateWirelessGatewayTaskDefinitionCommandOutput | DeleteDestinationCommandOutput | DeleteDeviceProfileCommandOutput | DeleteFuotaTaskCommandOutput | DeleteMulticastGroupCommandOutput | DeleteNetworkAnalyzerConfigurationCommandOutput | DeleteQueuedMessagesCommandOutput | DeleteServiceProfileCommandOutput | DeleteWirelessDeviceCommandOutput | DeleteWirelessDeviceImportTaskCommandOutput | DeleteWirelessGatewayCommandOutput | DeleteWirelessGatewayTaskCommandOutput | DeleteWirelessGatewayTaskDefinitionCommandOutput | DeregisterWirelessDeviceCommandOutput | DisassociateAwsAccountFromPartnerAccountCommandOutput | DisassociateMulticastGroupFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromMulticastGroupCommandOutput | DisassociateWirelessDeviceFromThingCommandOutput | DisassociateWirelessGatewayFromCertificateCommandOutput | DisassociateWirelessGatewayFromThingCommandOutput | GetDestinationCommandOutput | GetDeviceProfileCommandOutput | GetEventConfigurationByResourceTypesCommandOutput | GetFuotaTaskCommandOutput | GetLogLevelsByResourceTypesCommandOutput | GetMetricConfigurationCommandOutput | GetMetricsCommandOutput | GetMulticastGroupCommandOutput | GetMulticastGroupSessionCommandOutput | GetNetworkAnalyzerConfigurationCommandOutput | GetPartnerAccountCommandOutput | GetPositionCommandOutput | GetPositionConfigurationCommandOutput | GetPositionEstimateCommandOutput | GetResourceEventConfigurationCommandOutput | GetResourceLogLevelCommandOutput | GetResourcePositionCommandOutput | GetServiceEndpointCommandOutput | GetServiceProfileCommandOutput | GetWirelessDeviceCommandOutput | GetWirelessDeviceImportTaskCommandOutput | GetWirelessDeviceStatisticsCommandOutput | GetWirelessGatewayCertificateCommandOutput | GetWirelessGatewayCommandOutput | GetWirelessGatewayFirmwareInformationCommandOutput | GetWirelessGatewayStatisticsCommandOutput | GetWirelessGatewayTaskCommandOutput | GetWirelessGatewayTaskDefinitionCommandOutput | ListDestinationsCommandOutput | ListDeviceProfilesCommandOutput | ListDevicesForWirelessDeviceImportTaskCommandOutput | ListEventConfigurationsCommandOutput | ListFuotaTasksCommandOutput | ListMulticastGroupsByFuotaTaskCommandOutput | ListMulticastGroupsCommandOutput | ListNetworkAnalyzerConfigurationsCommandOutput | ListPartnerAccountsCommandOutput | ListPositionConfigurationsCommandOutput | ListQueuedMessagesCommandOutput | ListServiceProfilesCommandOutput | ListTagsForResourceCommandOutput | ListWirelessDeviceImportTasksCommandOutput | ListWirelessDevicesCommandOutput | ListWirelessGatewayTaskDefinitionsCommandOutput | ListWirelessGatewaysCommandOutput | PutPositionConfigurationCommandOutput | PutResourceLogLevelCommandOutput | ResetAllResourceLogLevelsCommandOutput | ResetResourceLogLevelCommandOutput | SendDataToMulticastGroupCommandOutput | SendDataToWirelessDeviceCommandOutput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandOutput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandOutput | StartFuotaTaskCommandOutput | StartMulticastGroupSessionCommandOutput | StartSingleWirelessDeviceImportTaskCommandOutput | StartWirelessDeviceImportTaskCommandOutput | TagResourceCommandOutput | TestWirelessDeviceCommandOutput | UntagResourceCommandOutput | UpdateDestinationCommandOutput | UpdateEventConfigurationByResourceTypesCommandOutput | UpdateFuotaTaskCommandOutput | UpdateLogLevelsByResourceTypesCommandOutput | UpdateMetricConfigurationCommandOutput | UpdateMulticastGroupCommandOutput | UpdateNetworkAnalyzerConfigurationCommandOutput | UpdatePartnerAccountCommandOutput | UpdatePositionCommandOutput | UpdateResourceEventConfigurationCommandOutput | UpdateResourcePositionCommandOutput | UpdateWirelessDeviceCommandOutput | UpdateWirelessDeviceImportTaskCommandOutput | UpdateWirelessGatewayCommandOutput;
|
|
130
133
|
/**
|
|
131
134
|
* @public
|
|
132
135
|
*/
|
|
@@ -273,6 +276,9 @@ export interface IoTWirelessClientResolvedConfig extends IoTWirelessClientResolv
|
|
|
273
276
|
* Firmware Updates Over-The-Air (FUOTA) API operations, you can create a FUOTA task and
|
|
274
277
|
* schedule a session to update the firmware of individual devices or an entire group of
|
|
275
278
|
* devices in a multicast group.</p>
|
|
279
|
+
* <p>To connect to the AWS IoT Wireless Service, use the Service endpoints as described in
|
|
280
|
+
* <a href="https://docs.aws.amazon.com/general/latest/gr/iot-lorawan.html#iot-wireless_region">IoT Wireless Service
|
|
281
|
+
* endpoints</a> in the <i>AWS General Reference</i>.</p>
|
|
276
282
|
* @public
|
|
277
283
|
*/
|
|
278
284
|
export declare class IoTWirelessClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IoTWirelessClientResolvedConfig> {
|
|
@@ -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 { GetMetricConfigurationRequest, GetMetricConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetMetricConfigurationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetMetricConfigurationCommandInput extends GetMetricConfigurationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetMetricConfigurationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetMetricConfigurationCommandOutput extends GetMetricConfigurationResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetMetricConfigurationCommand_base: {
|
|
24
|
+
new (input: GetMetricConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetMetricConfigurationCommandInput, GetMetricConfigurationCommandOutput, IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetMetricConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<GetMetricConfigurationCommandInput, GetMetricConfigurationCommandOutput, IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Get the metric configuration status for this account.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { IoTWirelessClient, GetMetricConfigurationCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import
|
|
34
|
+
* // const { IoTWirelessClient, GetMetricConfigurationCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import
|
|
35
|
+
* const client = new IoTWirelessClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new GetMetricConfigurationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetMetricConfigurationResponse
|
|
40
|
+
* // SummaryMetric: { // SummaryMetricConfiguration
|
|
41
|
+
* // Status: "Enabled" || "Disabled",
|
|
42
|
+
* // },
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param GetMetricConfigurationCommandInput - {@link GetMetricConfigurationCommandInput}
|
|
48
|
+
* @returns {@link GetMetricConfigurationCommandOutput}
|
|
49
|
+
* @see {@link GetMetricConfigurationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link GetMetricConfigurationCommandOutput} 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 GetMetricConfigurationCommand extends GetMetricConfigurationCommand_base {
|
|
77
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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 { GetMetricsRequest, GetMetricsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetMetricsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetMetricsCommandInput extends GetMetricsRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetMetricsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetMetricsCommandOutput extends GetMetricsResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetMetricsCommand_base: {
|
|
24
|
+
new (input: GetMetricsCommandInput): import("@smithy/smithy-client").CommandImpl<GetMetricsCommandInput, GetMetricsCommandOutput, IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetMetricsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetMetricsCommandInput, GetMetricsCommandOutput, IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Get metrics.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { IoTWirelessClient, GetMetricsCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import
|
|
34
|
+
* // const { IoTWirelessClient, GetMetricsCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import
|
|
35
|
+
* const client = new IoTWirelessClient(config);
|
|
36
|
+
* const input = { // GetMetricsRequest
|
|
37
|
+
* SummaryMetricQueries: [ // SummaryMetricQueries
|
|
38
|
+
* { // SummaryMetricQuery
|
|
39
|
+
* QueryId: "STRING_VALUE",
|
|
40
|
+
* MetricName: "DeviceRSSI" || "DeviceSNR" || "DeviceUplinkCount" || "DeviceDownlinkCount" || "DeviceUplinkLostCount" || "DeviceUplinkLostRate" || "DeviceJoinRequestCount" || "DeviceJoinAcceptCount" || "DeviceRoamingUplinkCount" || "DeviceRoamingDownlinkCount" || "GatewayUpTime" || "GatewayDownTime" || "GatewayRSSI" || "GatewaySNR" || "GatewayUplinkCount" || "GatewayDownlinkCount" || "GatewayJoinRequestCount" || "GatewayJoinAcceptCount" || "AwsAccountUplinkCount" || "AwsAccountDownlinkCount" || "AwsAccountUplinkLostCount" || "AwsAccountUplinkLostRate" || "AwsAccountJoinRequestCount" || "AwsAccountJoinAcceptCount" || "AwsAccountRoamingUplinkCount" || "AwsAccountRoamingDownlinkCount" || "AwsAccountDeviceCount" || "AwsAccountGatewayCount" || "AwsAccountActiveDeviceCount" || "AwsAccountActiveGatewayCount",
|
|
41
|
+
* Dimensions: [ // Dimensions
|
|
42
|
+
* { // Dimension
|
|
43
|
+
* name: "DeviceId" || "GatewayId",
|
|
44
|
+
* value: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* AggregationPeriod: "OneHour" || "OneDay" || "OneWeek",
|
|
48
|
+
* StartTimestamp: new Date("TIMESTAMP"),
|
|
49
|
+
* EndTimestamp: new Date("TIMESTAMP"),
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
53
|
+
* const command = new GetMetricsCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // GetMetricsResponse
|
|
56
|
+
* // SummaryMetricQueryResults: [ // SummaryMetricQueryResults
|
|
57
|
+
* // { // SummaryMetricQueryResult
|
|
58
|
+
* // QueryId: "STRING_VALUE",
|
|
59
|
+
* // QueryStatus: "Succeeded" || "Failed",
|
|
60
|
+
* // Error: "STRING_VALUE",
|
|
61
|
+
* // MetricName: "DeviceRSSI" || "DeviceSNR" || "DeviceUplinkCount" || "DeviceDownlinkCount" || "DeviceUplinkLostCount" || "DeviceUplinkLostRate" || "DeviceJoinRequestCount" || "DeviceJoinAcceptCount" || "DeviceRoamingUplinkCount" || "DeviceRoamingDownlinkCount" || "GatewayUpTime" || "GatewayDownTime" || "GatewayRSSI" || "GatewaySNR" || "GatewayUplinkCount" || "GatewayDownlinkCount" || "GatewayJoinRequestCount" || "GatewayJoinAcceptCount" || "AwsAccountUplinkCount" || "AwsAccountDownlinkCount" || "AwsAccountUplinkLostCount" || "AwsAccountUplinkLostRate" || "AwsAccountJoinRequestCount" || "AwsAccountJoinAcceptCount" || "AwsAccountRoamingUplinkCount" || "AwsAccountRoamingDownlinkCount" || "AwsAccountDeviceCount" || "AwsAccountGatewayCount" || "AwsAccountActiveDeviceCount" || "AwsAccountActiveGatewayCount",
|
|
62
|
+
* // Dimensions: [ // Dimensions
|
|
63
|
+
* // { // Dimension
|
|
64
|
+
* // name: "DeviceId" || "GatewayId",
|
|
65
|
+
* // value: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // AggregationPeriod: "OneHour" || "OneDay" || "OneWeek",
|
|
69
|
+
* // StartTimestamp: new Date("TIMESTAMP"),
|
|
70
|
+
* // EndTimestamp: new Date("TIMESTAMP"),
|
|
71
|
+
* // Timestamps: [ // MetricQueryTimestamps
|
|
72
|
+
* // new Date("TIMESTAMP"),
|
|
73
|
+
* // ],
|
|
74
|
+
* // Values: [ // MetricQueryValues
|
|
75
|
+
* // { // MetricQueryValue
|
|
76
|
+
* // Min: Number("double"),
|
|
77
|
+
* // Max: Number("double"),
|
|
78
|
+
* // Sum: Number("double"),
|
|
79
|
+
* // Avg: Number("double"),
|
|
80
|
+
* // Std: Number("double"),
|
|
81
|
+
* // P90: Number("double"),
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // Unit: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // ],
|
|
87
|
+
* // };
|
|
88
|
+
*
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @param GetMetricsCommandInput - {@link GetMetricsCommandInput}
|
|
92
|
+
* @returns {@link GetMetricsCommandOutput}
|
|
93
|
+
* @see {@link GetMetricsCommandInput} for command's `input` shape.
|
|
94
|
+
* @see {@link GetMetricsCommandOutput} for command's `response` shape.
|
|
95
|
+
* @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
98
|
+
* <p>User does not have permission to perform this action.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ConflictException} (client fault)
|
|
101
|
+
* <p>Adding, updating, or deleting the resource can cause an inconsistent state.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link InternalServerException} (server fault)
|
|
104
|
+
* <p>An unexpected error occurred while processing a request.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
107
|
+
* <p>Resource does not exist.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
110
|
+
* <p>The request was denied because it exceeded the allowed API request rate.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ValidationException} (client fault)
|
|
113
|
+
* <p>The input did not meet the specified constraints.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link IoTWirelessServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from IoTWireless service.</p>
|
|
117
|
+
*
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export declare class GetMetricsCommand extends GetMetricsCommand_base {
|
|
121
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
-
import { ListPositionConfigurationsRequest
|
|
4
|
+
import { ListPositionConfigurationsRequest } from "../models/models_0";
|
|
5
|
+
import { ListPositionConfigurationsResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
-
import { ListQueuedMessagesRequest, ListQueuedMessagesResponse } from "../models/
|
|
4
|
+
import { ListQueuedMessagesRequest, ListQueuedMessagesResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
-
import { ListServiceProfilesRequest, ListServiceProfilesResponse } from "../models/
|
|
4
|
+
import { ListServiceProfilesRequest, ListServiceProfilesResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
-
import { ListWirelessDeviceImportTasksRequest, ListWirelessDeviceImportTasksResponse } from "../models/
|
|
4
|
+
import { ListWirelessDeviceImportTasksRequest, ListWirelessDeviceImportTasksResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
-
import { ListWirelessDevicesRequest } from "../models/
|
|
5
|
-
import { ListWirelessDevicesResponse } from "../models/models_1";
|
|
4
|
+
import { ListWirelessDevicesRequest, ListWirelessDevicesResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|