aws-sdk-iotwireless 1.43.0 → 1.44.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotwireless/client.rb +100 -1
- data/lib/aws-sdk-iotwireless/client_api.rb +138 -0
- data/lib/aws-sdk-iotwireless/endpoints.rb +42 -0
- data/lib/aws-sdk-iotwireless/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-iotwireless/types.rb +222 -2
- data/lib/aws-sdk-iotwireless.rb +1 -1
- data/sig/client.rbs +44 -0
- data/sig/types.rbs +72 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e57233ae52241e58bae235e5446db0097669e99d710a556f57b17ed8feff506e
|
4
|
+
data.tar.gz: a315d8b53b482b0427931f1f4d192eca97a1abb569a2e568320c10027cd0a741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85dea37a609bd16d108729ad7907e4c9d92baefd203c4a407adfe473c6325b990f0cd11d310e415fa60b6cfffd33b9d664acc1df776b348b2470b2a6c49f7a8b
|
7
|
+
data.tar.gz: 9b773f9f38fc6788258a755ab5e63cc2d3981de7bcfa4f93cb53323ca9679b50a4840ff00b43497cc30236a313a420255878e78e150221d1a143d9c948a5aebd
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -1984,6 +1984,83 @@ module Aws::IoTWireless
|
|
1984
1984
|
req.send_request(options)
|
1985
1985
|
end
|
1986
1986
|
|
1987
|
+
# Get the metric configuration status for this account.
|
1988
|
+
#
|
1989
|
+
# @return [Types::GetMetricConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1990
|
+
#
|
1991
|
+
# * {Types::GetMetricConfigurationResponse#summary_metric #summary_metric} => Types::SummaryMetricConfiguration
|
1992
|
+
#
|
1993
|
+
# @example Response structure
|
1994
|
+
#
|
1995
|
+
# resp.summary_metric.status #=> String, one of "Enabled", "Disabled"
|
1996
|
+
#
|
1997
|
+
# @overload get_metric_configuration(params = {})
|
1998
|
+
# @param [Hash] params ({})
|
1999
|
+
def get_metric_configuration(params = {}, options = {})
|
2000
|
+
req = build_request(:get_metric_configuration, params)
|
2001
|
+
req.send_request(options)
|
2002
|
+
end
|
2003
|
+
|
2004
|
+
# Get metrics.
|
2005
|
+
#
|
2006
|
+
# @option params [Array<Types::SummaryMetricQuery>] :summary_metric_queries
|
2007
|
+
# The list of queries to retrieve summary metrics.
|
2008
|
+
#
|
2009
|
+
# @return [Types::GetMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2010
|
+
#
|
2011
|
+
# * {Types::GetMetricsResponse#summary_metric_query_results #summary_metric_query_results} => Array<Types::SummaryMetricQueryResult>
|
2012
|
+
#
|
2013
|
+
# @example Request syntax with placeholder values
|
2014
|
+
#
|
2015
|
+
# resp = client.get_metrics({
|
2016
|
+
# summary_metric_queries: [
|
2017
|
+
# {
|
2018
|
+
# query_id: "MetricQueryId",
|
2019
|
+
# metric_name: "DeviceRSSI", # accepts 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
|
2020
|
+
# dimensions: [
|
2021
|
+
# {
|
2022
|
+
# name: "DeviceId", # accepts DeviceId, GatewayId
|
2023
|
+
# value: "DimensionValue",
|
2024
|
+
# },
|
2025
|
+
# ],
|
2026
|
+
# aggregation_period: "OneHour", # accepts OneHour, OneDay, OneWeek
|
2027
|
+
# start_timestamp: Time.now,
|
2028
|
+
# end_timestamp: Time.now,
|
2029
|
+
# },
|
2030
|
+
# ],
|
2031
|
+
# })
|
2032
|
+
#
|
2033
|
+
# @example Response structure
|
2034
|
+
#
|
2035
|
+
# resp.summary_metric_query_results #=> Array
|
2036
|
+
# resp.summary_metric_query_results[0].query_id #=> String
|
2037
|
+
# resp.summary_metric_query_results[0].query_status #=> String, one of "Succeeded", "Failed"
|
2038
|
+
# resp.summary_metric_query_results[0].error #=> String
|
2039
|
+
# resp.summary_metric_query_results[0].metric_name #=> String, one of "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"
|
2040
|
+
# resp.summary_metric_query_results[0].dimensions #=> Array
|
2041
|
+
# resp.summary_metric_query_results[0].dimensions[0].name #=> String, one of "DeviceId", "GatewayId"
|
2042
|
+
# resp.summary_metric_query_results[0].dimensions[0].value #=> String
|
2043
|
+
# resp.summary_metric_query_results[0].aggregation_period #=> String, one of "OneHour", "OneDay", "OneWeek"
|
2044
|
+
# resp.summary_metric_query_results[0].start_timestamp #=> Time
|
2045
|
+
# resp.summary_metric_query_results[0].end_timestamp #=> Time
|
2046
|
+
# resp.summary_metric_query_results[0].timestamps #=> Array
|
2047
|
+
# resp.summary_metric_query_results[0].timestamps[0] #=> Time
|
2048
|
+
# resp.summary_metric_query_results[0].values #=> Array
|
2049
|
+
# resp.summary_metric_query_results[0].values[0].min #=> Float
|
2050
|
+
# resp.summary_metric_query_results[0].values[0].max #=> Float
|
2051
|
+
# resp.summary_metric_query_results[0].values[0].sum #=> Float
|
2052
|
+
# resp.summary_metric_query_results[0].values[0].avg #=> Float
|
2053
|
+
# resp.summary_metric_query_results[0].values[0].std #=> Float
|
2054
|
+
# resp.summary_metric_query_results[0].values[0].p90 #=> Float
|
2055
|
+
# resp.summary_metric_query_results[0].unit #=> String
|
2056
|
+
#
|
2057
|
+
# @overload get_metrics(params = {})
|
2058
|
+
# @param [Hash] params ({})
|
2059
|
+
def get_metrics(params = {}, options = {})
|
2060
|
+
req = build_request(:get_metrics, params)
|
2061
|
+
req.send_request(options)
|
2062
|
+
end
|
2063
|
+
|
1987
2064
|
# Gets information about a multicast group.
|
1988
2065
|
#
|
1989
2066
|
# @option params [required, String] :id
|
@@ -4582,6 +4659,28 @@ module Aws::IoTWireless
|
|
4582
4659
|
req.send_request(options)
|
4583
4660
|
end
|
4584
4661
|
|
4662
|
+
# Update the metric configuration.
|
4663
|
+
#
|
4664
|
+
# @option params [Types::SummaryMetricConfiguration] :summary_metric
|
4665
|
+
# The value to be used to set summary metric configuration.
|
4666
|
+
#
|
4667
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4668
|
+
#
|
4669
|
+
# @example Request syntax with placeholder values
|
4670
|
+
#
|
4671
|
+
# resp = client.update_metric_configuration({
|
4672
|
+
# summary_metric: {
|
4673
|
+
# status: "Enabled", # accepts Enabled, Disabled
|
4674
|
+
# },
|
4675
|
+
# })
|
4676
|
+
#
|
4677
|
+
# @overload update_metric_configuration(params = {})
|
4678
|
+
# @param [Hash] params ({})
|
4679
|
+
def update_metric_configuration(params = {}, options = {})
|
4680
|
+
req = build_request(:update_metric_configuration, params)
|
4681
|
+
req.send_request(options)
|
4682
|
+
end
|
4683
|
+
|
4585
4684
|
# Updates properties of a multicast group session.
|
4586
4685
|
#
|
4587
4686
|
# @option params [required, String] :id
|
@@ -5017,7 +5116,7 @@ module Aws::IoTWireless
|
|
5017
5116
|
params: params,
|
5018
5117
|
config: config)
|
5019
5118
|
context[:gem_name] = 'aws-sdk-iotwireless'
|
5020
|
-
context[:gem_version] = '1.
|
5119
|
+
context[:gem_version] = '1.44.0'
|
5021
5120
|
Seahorse::Client::Request.new(handlers, context)
|
5022
5121
|
end
|
5023
5122
|
|
@@ -20,6 +20,7 @@ module Aws::IoTWireless
|
|
20
20
|
Accuracy = Shapes::StructureShape.new(name: 'Accuracy')
|
21
21
|
AckModeRetryDurationSecs = Shapes::IntegerShape.new(name: 'AckModeRetryDurationSecs')
|
22
22
|
AddGwMetadata = Shapes::BooleanShape.new(name: 'AddGwMetadata')
|
23
|
+
AggregationPeriod = Shapes::StringShape.new(name: 'AggregationPeriod')
|
23
24
|
AmazonId = Shapes::StringShape.new(name: 'AmazonId')
|
24
25
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
25
26
|
ApId = Shapes::StringShape.new(name: 'ApId')
|
@@ -47,6 +48,7 @@ module Aws::IoTWireless
|
|
47
48
|
AssociateWirelessGatewayWithThingRequest = Shapes::StructureShape.new(name: 'AssociateWirelessGatewayWithThingRequest')
|
48
49
|
AssociateWirelessGatewayWithThingResponse = Shapes::StructureShape.new(name: 'AssociateWirelessGatewayWithThingResponse')
|
49
50
|
AutoCreateTasks = Shapes::BooleanShape.new(name: 'AutoCreateTasks')
|
51
|
+
Avg = Shapes::FloatShape.new(name: 'Avg')
|
50
52
|
BCCH = Shapes::IntegerShape.new(name: 'BCCH')
|
51
53
|
BSIC = Shapes::IntegerShape.new(name: 'BSIC')
|
52
54
|
BaseLat = Shapes::FloatShape.new(name: 'BaseLat')
|
@@ -155,6 +157,10 @@ module Aws::IoTWireless
|
|
155
157
|
DeviceRegistrationStateResourceTypeEventConfiguration = Shapes::StructureShape.new(name: 'DeviceRegistrationStateResourceTypeEventConfiguration')
|
156
158
|
DeviceState = Shapes::StringShape.new(name: 'DeviceState')
|
157
159
|
DeviceTypeId = Shapes::StringShape.new(name: 'DeviceTypeId')
|
160
|
+
Dimension = Shapes::StructureShape.new(name: 'Dimension')
|
161
|
+
DimensionName = Shapes::StringShape.new(name: 'DimensionName')
|
162
|
+
DimensionValue = Shapes::StringShape.new(name: 'DimensionValue')
|
163
|
+
Dimensions = Shapes::ListShape.new(name: 'Dimensions')
|
158
164
|
DisassociateAwsAccountFromPartnerAccountRequest = Shapes::StructureShape.new(name: 'DisassociateAwsAccountFromPartnerAccountRequest')
|
159
165
|
DisassociateAwsAccountFromPartnerAccountResponse = Shapes::StructureShape.new(name: 'DisassociateAwsAccountFromPartnerAccountResponse')
|
160
166
|
DisassociateMulticastGroupFromFuotaTaskRequest = Shapes::StructureShape.new(name: 'DisassociateMulticastGroupFromFuotaTaskRequest')
|
@@ -232,6 +238,10 @@ module Aws::IoTWireless
|
|
232
238
|
GetFuotaTaskResponse = Shapes::StructureShape.new(name: 'GetFuotaTaskResponse')
|
233
239
|
GetLogLevelsByResourceTypesRequest = Shapes::StructureShape.new(name: 'GetLogLevelsByResourceTypesRequest')
|
234
240
|
GetLogLevelsByResourceTypesResponse = Shapes::StructureShape.new(name: 'GetLogLevelsByResourceTypesResponse')
|
241
|
+
GetMetricConfigurationRequest = Shapes::StructureShape.new(name: 'GetMetricConfigurationRequest')
|
242
|
+
GetMetricConfigurationResponse = Shapes::StructureShape.new(name: 'GetMetricConfigurationResponse')
|
243
|
+
GetMetricsRequest = Shapes::StructureShape.new(name: 'GetMetricsRequest')
|
244
|
+
GetMetricsResponse = Shapes::StructureShape.new(name: 'GetMetricsResponse')
|
235
245
|
GetMulticastGroupRequest = Shapes::StructureShape.new(name: 'GetMulticastGroupRequest')
|
236
246
|
GetMulticastGroupResponse = Shapes::StructureShape.new(name: 'GetMulticastGroupResponse')
|
237
247
|
GetMulticastGroupSessionRequest = Shapes::StructureShape.new(name: 'GetMulticastGroupSessionRequest')
|
@@ -378,6 +388,7 @@ module Aws::IoTWireless
|
|
378
388
|
MNC = Shapes::IntegerShape.new(name: 'MNC')
|
379
389
|
MacAddress = Shapes::StringShape.new(name: 'MacAddress')
|
380
390
|
MacVersion = Shapes::StringShape.new(name: 'MacVersion')
|
391
|
+
Max = Shapes::FloatShape.new(name: 'Max')
|
381
392
|
MaxAllowedSignature = Shapes::IntegerShape.new(name: 'MaxAllowedSignature')
|
382
393
|
MaxDutyCycle = Shapes::IntegerShape.new(name: 'MaxDutyCycle')
|
383
394
|
MaxEirp = Shapes::IntegerShape.new(name: 'MaxEirp')
|
@@ -388,6 +399,18 @@ module Aws::IoTWireless
|
|
388
399
|
MessageDeliveryStatusResourceTypeEventConfiguration = Shapes::StructureShape.new(name: 'MessageDeliveryStatusResourceTypeEventConfiguration')
|
389
400
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
390
401
|
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
402
|
+
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
403
|
+
MetricQueryEndTimestamp = Shapes::TimestampShape.new(name: 'MetricQueryEndTimestamp')
|
404
|
+
MetricQueryError = Shapes::StringShape.new(name: 'MetricQueryError')
|
405
|
+
MetricQueryId = Shapes::StringShape.new(name: 'MetricQueryId')
|
406
|
+
MetricQueryStartTimestamp = Shapes::TimestampShape.new(name: 'MetricQueryStartTimestamp')
|
407
|
+
MetricQueryStatus = Shapes::StringShape.new(name: 'MetricQueryStatus')
|
408
|
+
MetricQueryTimestamp = Shapes::TimestampShape.new(name: 'MetricQueryTimestamp')
|
409
|
+
MetricQueryTimestamps = Shapes::ListShape.new(name: 'MetricQueryTimestamps')
|
410
|
+
MetricQueryValue = Shapes::StructureShape.new(name: 'MetricQueryValue')
|
411
|
+
MetricQueryValues = Shapes::ListShape.new(name: 'MetricQueryValues')
|
412
|
+
MetricUnit = Shapes::StringShape.new(name: 'MetricUnit')
|
413
|
+
Min = Shapes::FloatShape.new(name: 'Min')
|
391
414
|
MinGwDiversity = Shapes::IntegerShape.new(name: 'MinGwDiversity')
|
392
415
|
Model = Shapes::StringShape.new(name: 'Model')
|
393
416
|
MulticastDeviceStatus = Shapes::StringShape.new(name: 'MulticastDeviceStatus')
|
@@ -422,6 +445,7 @@ module Aws::IoTWireless
|
|
422
445
|
OnboardStatusReason = Shapes::StringShape.new(name: 'OnboardStatusReason')
|
423
446
|
OtaaV1_0_x = Shapes::StructureShape.new(name: 'OtaaV1_0_x')
|
424
447
|
OtaaV1_1 = Shapes::StructureShape.new(name: 'OtaaV1_1')
|
448
|
+
P90 = Shapes::FloatShape.new(name: 'P90')
|
425
449
|
PCI = Shapes::IntegerShape.new(name: 'PCI')
|
426
450
|
PSC = Shapes::IntegerShape.new(name: 'PSC')
|
427
451
|
PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
|
@@ -541,8 +565,16 @@ module Aws::IoTWireless
|
|
541
565
|
StartWirelessDeviceImportTaskResponse = Shapes::StructureShape.new(name: 'StartWirelessDeviceImportTaskResponse')
|
542
566
|
Station = Shapes::StringShape.new(name: 'Station')
|
543
567
|
StatusReason = Shapes::StringShape.new(name: 'StatusReason')
|
568
|
+
Std = Shapes::FloatShape.new(name: 'Std')
|
544
569
|
SubBand = Shapes::IntegerShape.new(name: 'SubBand')
|
545
570
|
SubBands = Shapes::ListShape.new(name: 'SubBands')
|
571
|
+
Sum = Shapes::FloatShape.new(name: 'Sum')
|
572
|
+
SummaryMetricConfiguration = Shapes::StructureShape.new(name: 'SummaryMetricConfiguration')
|
573
|
+
SummaryMetricConfigurationStatus = Shapes::StringShape.new(name: 'SummaryMetricConfigurationStatus')
|
574
|
+
SummaryMetricQueries = Shapes::ListShape.new(name: 'SummaryMetricQueries')
|
575
|
+
SummaryMetricQuery = Shapes::StructureShape.new(name: 'SummaryMetricQuery')
|
576
|
+
SummaryMetricQueryResult = Shapes::StructureShape.new(name: 'SummaryMetricQueryResult')
|
577
|
+
SummaryMetricQueryResults = Shapes::ListShape.new(name: 'SummaryMetricQueryResults')
|
546
578
|
SupportedRfRegion = Shapes::StringShape.new(name: 'SupportedRfRegion')
|
547
579
|
Supports32BitFCnt = Shapes::BooleanShape.new(name: 'Supports32BitFCnt')
|
548
580
|
SupportsClassB = Shapes::BooleanShape.new(name: 'SupportsClassB')
|
@@ -592,6 +624,8 @@ module Aws::IoTWireless
|
|
592
624
|
UpdateFuotaTaskResponse = Shapes::StructureShape.new(name: 'UpdateFuotaTaskResponse')
|
593
625
|
UpdateLogLevelsByResourceTypesRequest = Shapes::StructureShape.new(name: 'UpdateLogLevelsByResourceTypesRequest')
|
594
626
|
UpdateLogLevelsByResourceTypesResponse = Shapes::StructureShape.new(name: 'UpdateLogLevelsByResourceTypesResponse')
|
627
|
+
UpdateMetricConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateMetricConfigurationRequest')
|
628
|
+
UpdateMetricConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateMetricConfigurationResponse')
|
595
629
|
UpdateMulticastGroupRequest = Shapes::StructureShape.new(name: 'UpdateMulticastGroupRequest')
|
596
630
|
UpdateMulticastGroupResponse = Shapes::StructureShape.new(name: 'UpdateMulticastGroupResponse')
|
597
631
|
UpdateNetworkAnalyzerConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateNetworkAnalyzerConfigurationRequest')
|
@@ -1019,6 +1053,12 @@ module Aws::IoTWireless
|
|
1019
1053
|
DeviceRegistrationStateResourceTypeEventConfiguration.add_member(:sidewalk, Shapes::ShapeRef.new(shape: SidewalkResourceTypeEventConfiguration, location_name: "Sidewalk"))
|
1020
1054
|
DeviceRegistrationStateResourceTypeEventConfiguration.struct_class = Types::DeviceRegistrationStateResourceTypeEventConfiguration
|
1021
1055
|
|
1056
|
+
Dimension.add_member(:name, Shapes::ShapeRef.new(shape: DimensionName, location_name: "name"))
|
1057
|
+
Dimension.add_member(:value, Shapes::ShapeRef.new(shape: DimensionValue, location_name: "value"))
|
1058
|
+
Dimension.struct_class = Types::Dimension
|
1059
|
+
|
1060
|
+
Dimensions.member = Shapes::ShapeRef.new(shape: Dimension)
|
1061
|
+
|
1022
1062
|
DisassociateAwsAccountFromPartnerAccountRequest.add_member(:partner_account_id, Shapes::ShapeRef.new(shape: PartnerAccountId, required: true, location: "uri", location_name: "PartnerAccountId"))
|
1023
1063
|
DisassociateAwsAccountFromPartnerAccountRequest.add_member(:partner_type, Shapes::ShapeRef.new(shape: PartnerType, required: true, location: "querystring", location_name: "partnerType"))
|
1024
1064
|
DisassociateAwsAccountFromPartnerAccountRequest.struct_class = Types::DisassociateAwsAccountFromPartnerAccountRequest
|
@@ -1157,6 +1197,17 @@ module Aws::IoTWireless
|
|
1157
1197
|
GetLogLevelsByResourceTypesResponse.add_member(:wireless_device_log_options, Shapes::ShapeRef.new(shape: WirelessDeviceLogOptionList, location_name: "WirelessDeviceLogOptions"))
|
1158
1198
|
GetLogLevelsByResourceTypesResponse.struct_class = Types::GetLogLevelsByResourceTypesResponse
|
1159
1199
|
|
1200
|
+
GetMetricConfigurationRequest.struct_class = Types::GetMetricConfigurationRequest
|
1201
|
+
|
1202
|
+
GetMetricConfigurationResponse.add_member(:summary_metric, Shapes::ShapeRef.new(shape: SummaryMetricConfiguration, location_name: "SummaryMetric"))
|
1203
|
+
GetMetricConfigurationResponse.struct_class = Types::GetMetricConfigurationResponse
|
1204
|
+
|
1205
|
+
GetMetricsRequest.add_member(:summary_metric_queries, Shapes::ShapeRef.new(shape: SummaryMetricQueries, location_name: "SummaryMetricQueries"))
|
1206
|
+
GetMetricsRequest.struct_class = Types::GetMetricsRequest
|
1207
|
+
|
1208
|
+
GetMetricsResponse.add_member(:summary_metric_query_results, Shapes::ShapeRef.new(shape: SummaryMetricQueryResults, location_name: "SummaryMetricQueryResults"))
|
1209
|
+
GetMetricsResponse.struct_class = Types::GetMetricsResponse
|
1210
|
+
|
1160
1211
|
GetMulticastGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: MulticastGroupId, required: true, location: "uri", location_name: "Id"))
|
1161
1212
|
GetMulticastGroupRequest.struct_class = Types::GetMulticastGroupRequest
|
1162
1213
|
|
@@ -1772,6 +1823,18 @@ module Aws::IoTWireless
|
|
1772
1823
|
MessageDeliveryStatusResourceTypeEventConfiguration.add_member(:sidewalk, Shapes::ShapeRef.new(shape: SidewalkResourceTypeEventConfiguration, location_name: "Sidewalk"))
|
1773
1824
|
MessageDeliveryStatusResourceTypeEventConfiguration.struct_class = Types::MessageDeliveryStatusResourceTypeEventConfiguration
|
1774
1825
|
|
1826
|
+
MetricQueryTimestamps.member = Shapes::ShapeRef.new(shape: MetricQueryTimestamp)
|
1827
|
+
|
1828
|
+
MetricQueryValue.add_member(:min, Shapes::ShapeRef.new(shape: Min, location_name: "Min"))
|
1829
|
+
MetricQueryValue.add_member(:max, Shapes::ShapeRef.new(shape: Max, location_name: "Max"))
|
1830
|
+
MetricQueryValue.add_member(:sum, Shapes::ShapeRef.new(shape: Sum, location_name: "Sum"))
|
1831
|
+
MetricQueryValue.add_member(:avg, Shapes::ShapeRef.new(shape: Avg, location_name: "Avg"))
|
1832
|
+
MetricQueryValue.add_member(:std, Shapes::ShapeRef.new(shape: Std, location_name: "Std"))
|
1833
|
+
MetricQueryValue.add_member(:p90, Shapes::ShapeRef.new(shape: P90, location_name: "P90"))
|
1834
|
+
MetricQueryValue.struct_class = Types::MetricQueryValue
|
1835
|
+
|
1836
|
+
MetricQueryValues.member = Shapes::ShapeRef.new(shape: MetricQueryValue)
|
1837
|
+
|
1775
1838
|
MulticastGroup.add_member(:id, Shapes::ShapeRef.new(shape: MulticastGroupId, location_name: "Id"))
|
1776
1839
|
MulticastGroup.add_member(:arn, Shapes::ShapeRef.new(shape: MulticastGroupArn, location_name: "Arn"))
|
1777
1840
|
MulticastGroup.add_member(:name, Shapes::ShapeRef.new(shape: MulticastGroupName, location_name: "Name"))
|
@@ -2039,6 +2102,34 @@ module Aws::IoTWireless
|
|
2039
2102
|
|
2040
2103
|
SubBands.member = Shapes::ShapeRef.new(shape: SubBand)
|
2041
2104
|
|
2105
|
+
SummaryMetricConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: SummaryMetricConfigurationStatus, location_name: "Status"))
|
2106
|
+
SummaryMetricConfiguration.struct_class = Types::SummaryMetricConfiguration
|
2107
|
+
|
2108
|
+
SummaryMetricQueries.member = Shapes::ShapeRef.new(shape: SummaryMetricQuery)
|
2109
|
+
|
2110
|
+
SummaryMetricQuery.add_member(:query_id, Shapes::ShapeRef.new(shape: MetricQueryId, location_name: "QueryId"))
|
2111
|
+
SummaryMetricQuery.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
|
2112
|
+
SummaryMetricQuery.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "Dimensions"))
|
2113
|
+
SummaryMetricQuery.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: AggregationPeriod, location_name: "AggregationPeriod"))
|
2114
|
+
SummaryMetricQuery.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: MetricQueryStartTimestamp, location_name: "StartTimestamp"))
|
2115
|
+
SummaryMetricQuery.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: MetricQueryEndTimestamp, location_name: "EndTimestamp"))
|
2116
|
+
SummaryMetricQuery.struct_class = Types::SummaryMetricQuery
|
2117
|
+
|
2118
|
+
SummaryMetricQueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: MetricQueryId, location_name: "QueryId"))
|
2119
|
+
SummaryMetricQueryResult.add_member(:query_status, Shapes::ShapeRef.new(shape: MetricQueryStatus, location_name: "QueryStatus"))
|
2120
|
+
SummaryMetricQueryResult.add_member(:error, Shapes::ShapeRef.new(shape: MetricQueryError, location_name: "Error"))
|
2121
|
+
SummaryMetricQueryResult.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
|
2122
|
+
SummaryMetricQueryResult.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "Dimensions"))
|
2123
|
+
SummaryMetricQueryResult.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: AggregationPeriod, location_name: "AggregationPeriod"))
|
2124
|
+
SummaryMetricQueryResult.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: MetricQueryStartTimestamp, location_name: "StartTimestamp"))
|
2125
|
+
SummaryMetricQueryResult.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: MetricQueryEndTimestamp, location_name: "EndTimestamp"))
|
2126
|
+
SummaryMetricQueryResult.add_member(:timestamps, Shapes::ShapeRef.new(shape: MetricQueryTimestamps, location_name: "Timestamps"))
|
2127
|
+
SummaryMetricQueryResult.add_member(:values, Shapes::ShapeRef.new(shape: MetricQueryValues, location_name: "Values"))
|
2128
|
+
SummaryMetricQueryResult.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, location_name: "Unit"))
|
2129
|
+
SummaryMetricQueryResult.struct_class = Types::SummaryMetricQueryResult
|
2130
|
+
|
2131
|
+
SummaryMetricQueryResults.member = Shapes::ShapeRef.new(shape: SummaryMetricQueryResult)
|
2132
|
+
|
2042
2133
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
2043
2134
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
2044
2135
|
Tag.struct_class = Types::Tag
|
@@ -2151,6 +2242,11 @@ module Aws::IoTWireless
|
|
2151
2242
|
|
2152
2243
|
UpdateLogLevelsByResourceTypesResponse.struct_class = Types::UpdateLogLevelsByResourceTypesResponse
|
2153
2244
|
|
2245
|
+
UpdateMetricConfigurationRequest.add_member(:summary_metric, Shapes::ShapeRef.new(shape: SummaryMetricConfiguration, location_name: "SummaryMetric"))
|
2246
|
+
UpdateMetricConfigurationRequest.struct_class = Types::UpdateMetricConfigurationRequest
|
2247
|
+
|
2248
|
+
UpdateMetricConfigurationResponse.struct_class = Types::UpdateMetricConfigurationResponse
|
2249
|
+
|
2154
2250
|
UpdateMulticastGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: MulticastGroupId, required: true, location: "uri", location_name: "Id"))
|
2155
2251
|
UpdateMulticastGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: MulticastGroupName, location_name: "Name"))
|
2156
2252
|
UpdateMulticastGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
@@ -2949,6 +3045,34 @@ module Aws::IoTWireless
|
|
2949
3045
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2950
3046
|
end)
|
2951
3047
|
|
3048
|
+
api.add_operation(:get_metric_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3049
|
+
o.name = "GetMetricConfiguration"
|
3050
|
+
o.http_method = "GET"
|
3051
|
+
o.http_request_uri = "/metric-configuration"
|
3052
|
+
o.input = Shapes::ShapeRef.new(shape: GetMetricConfigurationRequest)
|
3053
|
+
o.output = Shapes::ShapeRef.new(shape: GetMetricConfigurationResponse)
|
3054
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3055
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3056
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3057
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3058
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3059
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3060
|
+
end)
|
3061
|
+
|
3062
|
+
api.add_operation(:get_metrics, Seahorse::Model::Operation.new.tap do |o|
|
3063
|
+
o.name = "GetMetrics"
|
3064
|
+
o.http_method = "POST"
|
3065
|
+
o.http_request_uri = "/metrics"
|
3066
|
+
o.input = Shapes::ShapeRef.new(shape: GetMetricsRequest)
|
3067
|
+
o.output = Shapes::ShapeRef.new(shape: GetMetricsResponse)
|
3068
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3069
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3070
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3071
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3072
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3073
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3074
|
+
end)
|
3075
|
+
|
2952
3076
|
api.add_operation(:get_multicast_group, Seahorse::Model::Operation.new.tap do |o|
|
2953
3077
|
o.name = "GetMulticastGroup"
|
2954
3078
|
o.http_method = "GET"
|
@@ -3754,6 +3878,20 @@ module Aws::IoTWireless
|
|
3754
3878
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3755
3879
|
end)
|
3756
3880
|
|
3881
|
+
api.add_operation(:update_metric_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3882
|
+
o.name = "UpdateMetricConfiguration"
|
3883
|
+
o.http_method = "PUT"
|
3884
|
+
o.http_request_uri = "/metric-configuration"
|
3885
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateMetricConfigurationRequest)
|
3886
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateMetricConfigurationResponse)
|
3887
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3888
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3889
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3890
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3891
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3892
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3893
|
+
end)
|
3894
|
+
|
3757
3895
|
api.add_operation(:update_multicast_group, Seahorse::Model::Operation.new.tap do |o|
|
3758
3896
|
o.name = "UpdateMulticastGroup"
|
3759
3897
|
o.http_method = "PATCH"
|
@@ -614,6 +614,34 @@ module Aws::IoTWireless
|
|
614
614
|
end
|
615
615
|
end
|
616
616
|
|
617
|
+
class GetMetricConfiguration
|
618
|
+
def self.build(context)
|
619
|
+
unless context.config.regional_endpoint
|
620
|
+
endpoint = context.config.endpoint.to_s
|
621
|
+
end
|
622
|
+
Aws::IoTWireless::EndpointParameters.new(
|
623
|
+
region: context.config.region,
|
624
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
625
|
+
use_fips: context.config.use_fips_endpoint,
|
626
|
+
endpoint: endpoint,
|
627
|
+
)
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
class GetMetrics
|
632
|
+
def self.build(context)
|
633
|
+
unless context.config.regional_endpoint
|
634
|
+
endpoint = context.config.endpoint.to_s
|
635
|
+
end
|
636
|
+
Aws::IoTWireless::EndpointParameters.new(
|
637
|
+
region: context.config.region,
|
638
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
639
|
+
use_fips: context.config.use_fips_endpoint,
|
640
|
+
endpoint: endpoint,
|
641
|
+
)
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
617
645
|
class GetMulticastGroup
|
618
646
|
def self.build(context)
|
619
647
|
unless context.config.regional_endpoint
|
@@ -1412,6 +1440,20 @@ module Aws::IoTWireless
|
|
1412
1440
|
end
|
1413
1441
|
end
|
1414
1442
|
|
1443
|
+
class UpdateMetricConfiguration
|
1444
|
+
def self.build(context)
|
1445
|
+
unless context.config.regional_endpoint
|
1446
|
+
endpoint = context.config.endpoint.to_s
|
1447
|
+
end
|
1448
|
+
Aws::IoTWireless::EndpointParameters.new(
|
1449
|
+
region: context.config.region,
|
1450
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1451
|
+
use_fips: context.config.use_fips_endpoint,
|
1452
|
+
endpoint: endpoint,
|
1453
|
+
)
|
1454
|
+
end
|
1455
|
+
end
|
1456
|
+
|
1415
1457
|
class UpdateMulticastGroup
|
1416
1458
|
def self.build(context)
|
1417
1459
|
unless context.config.regional_endpoint
|
@@ -144,6 +144,10 @@ module Aws::IoTWireless
|
|
144
144
|
Aws::IoTWireless::Endpoints::GetFuotaTask.build(context)
|
145
145
|
when :get_log_levels_by_resource_types
|
146
146
|
Aws::IoTWireless::Endpoints::GetLogLevelsByResourceTypes.build(context)
|
147
|
+
when :get_metric_configuration
|
148
|
+
Aws::IoTWireless::Endpoints::GetMetricConfiguration.build(context)
|
149
|
+
when :get_metrics
|
150
|
+
Aws::IoTWireless::Endpoints::GetMetrics.build(context)
|
147
151
|
when :get_multicast_group
|
148
152
|
Aws::IoTWireless::Endpoints::GetMulticastGroup.build(context)
|
149
153
|
when :get_multicast_group_session
|
@@ -258,6 +262,8 @@ module Aws::IoTWireless
|
|
258
262
|
Aws::IoTWireless::Endpoints::UpdateFuotaTask.build(context)
|
259
263
|
when :update_log_levels_by_resource_types
|
260
264
|
Aws::IoTWireless::Endpoints::UpdateLogLevelsByResourceTypes.build(context)
|
265
|
+
when :update_metric_configuration
|
266
|
+
Aws::IoTWireless::Endpoints::UpdateMetricConfiguration.build(context)
|
261
267
|
when :update_multicast_group
|
262
268
|
Aws::IoTWireless::Endpoints::UpdateMulticastGroup.build(context)
|
263
269
|
when :update_network_analyzer_configuration
|
@@ -1398,6 +1398,23 @@ module Aws::IoTWireless
|
|
1398
1398
|
include Aws::Structure
|
1399
1399
|
end
|
1400
1400
|
|
1401
|
+
# The required list of dimensions for the metric.
|
1402
|
+
#
|
1403
|
+
# @!attribute [rw] name
|
1404
|
+
# The name of the dimension.
|
1405
|
+
# @return [String]
|
1406
|
+
#
|
1407
|
+
# @!attribute [rw] value
|
1408
|
+
# The dimension's value.
|
1409
|
+
# @return [String]
|
1410
|
+
#
|
1411
|
+
class Dimension < Struct.new(
|
1412
|
+
:name,
|
1413
|
+
:value)
|
1414
|
+
SENSITIVE = []
|
1415
|
+
include Aws::Structure
|
1416
|
+
end
|
1417
|
+
|
1401
1418
|
# @!attribute [rw] partner_account_id
|
1402
1419
|
# The partner account ID to disassociate from the AWS account.
|
1403
1420
|
# @return [String]
|
@@ -1910,6 +1927,40 @@ module Aws::IoTWireless
|
|
1910
1927
|
include Aws::Structure
|
1911
1928
|
end
|
1912
1929
|
|
1930
|
+
# @api private
|
1931
|
+
#
|
1932
|
+
class GetMetricConfigurationRequest < Aws::EmptyStructure; end
|
1933
|
+
|
1934
|
+
# @!attribute [rw] summary_metric
|
1935
|
+
# The account's configuration status for summary metric aggregation.
|
1936
|
+
# @return [Types::SummaryMetricConfiguration]
|
1937
|
+
#
|
1938
|
+
class GetMetricConfigurationResponse < Struct.new(
|
1939
|
+
:summary_metric)
|
1940
|
+
SENSITIVE = []
|
1941
|
+
include Aws::Structure
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
# @!attribute [rw] summary_metric_queries
|
1945
|
+
# The list of queries to retrieve summary metrics.
|
1946
|
+
# @return [Array<Types::SummaryMetricQuery>]
|
1947
|
+
#
|
1948
|
+
class GetMetricsRequest < Struct.new(
|
1949
|
+
:summary_metric_queries)
|
1950
|
+
SENSITIVE = []
|
1951
|
+
include Aws::Structure
|
1952
|
+
end
|
1953
|
+
|
1954
|
+
# @!attribute [rw] summary_metric_query_results
|
1955
|
+
# The list of retrieved metrics.
|
1956
|
+
# @return [Array<Types::SummaryMetricQueryResult>]
|
1957
|
+
#
|
1958
|
+
class GetMetricsResponse < Struct.new(
|
1959
|
+
:summary_metric_query_results)
|
1960
|
+
SENSITIVE = []
|
1961
|
+
include Aws::Structure
|
1962
|
+
end
|
1963
|
+
|
1913
1964
|
# @!attribute [rw] id
|
1914
1965
|
# The ID of the multicast group.
|
1915
1966
|
# @return [String]
|
@@ -4585,6 +4636,49 @@ module Aws::IoTWireless
|
|
4585
4636
|
include Aws::Structure
|
4586
4637
|
end
|
4587
4638
|
|
4639
|
+
# The aggregated values of the metric.
|
4640
|
+
#
|
4641
|
+
# @!attribute [rw] min
|
4642
|
+
# The minimum of the values of the all data points collected during
|
4643
|
+
# the period.
|
4644
|
+
# @return [Float]
|
4645
|
+
#
|
4646
|
+
# @!attribute [rw] max
|
4647
|
+
# The maximum of the values of the all data points collected during
|
4648
|
+
# the period.
|
4649
|
+
# @return [Float]
|
4650
|
+
#
|
4651
|
+
# @!attribute [rw] sum
|
4652
|
+
# The sum of the values of the all data points collected during the
|
4653
|
+
# period.
|
4654
|
+
# @return [Float]
|
4655
|
+
#
|
4656
|
+
# @!attribute [rw] avg
|
4657
|
+
# The average of the values of the all data points collected during
|
4658
|
+
# the period.
|
4659
|
+
# @return [Float]
|
4660
|
+
#
|
4661
|
+
# @!attribute [rw] std
|
4662
|
+
# The standard deviation of the values of the all data points
|
4663
|
+
# collected during the period.
|
4664
|
+
# @return [Float]
|
4665
|
+
#
|
4666
|
+
# @!attribute [rw] p90
|
4667
|
+
# The 90th percentile of the values of the all data points collected
|
4668
|
+
# during the period.
|
4669
|
+
# @return [Float]
|
4670
|
+
#
|
4671
|
+
class MetricQueryValue < Struct.new(
|
4672
|
+
:min,
|
4673
|
+
:max,
|
4674
|
+
:sum,
|
4675
|
+
:avg,
|
4676
|
+
:std,
|
4677
|
+
:p90)
|
4678
|
+
SENSITIVE = []
|
4679
|
+
include Aws::Structure
|
4680
|
+
end
|
4681
|
+
|
4588
4682
|
# A multicast group.
|
4589
4683
|
#
|
4590
4684
|
# @!attribute [rw] id
|
@@ -4655,11 +4749,13 @@ module Aws::IoTWireless
|
|
4655
4749
|
# @return [String]
|
4656
4750
|
#
|
4657
4751
|
# @!attribute [rw] app_eui
|
4658
|
-
# The AppEUI value.
|
4752
|
+
# The AppEUI value. You specify this value when using LoRaWAN versions
|
4753
|
+
# v1.0.2 or v1.0.3.
|
4659
4754
|
# @return [String]
|
4660
4755
|
#
|
4661
4756
|
# @!attribute [rw] join_eui
|
4662
|
-
# The JoinEUI value.
|
4757
|
+
# The JoinEUI value. You specify this value instead of the AppEUI when
|
4758
|
+
# using LoRaWAN version v1.0.4.
|
4663
4759
|
# @return [String]
|
4664
4760
|
#
|
4665
4761
|
# @!attribute [rw] gen_app_key
|
@@ -5625,6 +5721,118 @@ module Aws::IoTWireless
|
|
5625
5721
|
include Aws::Structure
|
5626
5722
|
end
|
5627
5723
|
|
5724
|
+
# The configuration of summary metric.
|
5725
|
+
#
|
5726
|
+
# @!attribute [rw] status
|
5727
|
+
# The configuration of summary metric.
|
5728
|
+
# @return [String]
|
5729
|
+
#
|
5730
|
+
class SummaryMetricConfiguration < Struct.new(
|
5731
|
+
:status)
|
5732
|
+
SENSITIVE = []
|
5733
|
+
include Aws::Structure
|
5734
|
+
end
|
5735
|
+
|
5736
|
+
# The metric query object.
|
5737
|
+
#
|
5738
|
+
# @!attribute [rw] query_id
|
5739
|
+
# The id of the query.
|
5740
|
+
# @return [String]
|
5741
|
+
#
|
5742
|
+
# @!attribute [rw] metric_name
|
5743
|
+
# The name of the metric.
|
5744
|
+
# @return [String]
|
5745
|
+
#
|
5746
|
+
# @!attribute [rw] dimensions
|
5747
|
+
# The dimensions of the metric.
|
5748
|
+
# @return [Array<Types::Dimension>]
|
5749
|
+
#
|
5750
|
+
# @!attribute [rw] aggregation_period
|
5751
|
+
# The aggregation period of the metric.
|
5752
|
+
# @return [String]
|
5753
|
+
#
|
5754
|
+
# @!attribute [rw] start_timestamp
|
5755
|
+
# The start timestamp for summary metric query.
|
5756
|
+
# @return [Time]
|
5757
|
+
#
|
5758
|
+
# @!attribute [rw] end_timestamp
|
5759
|
+
# The end timestamp for summary metric query.
|
5760
|
+
# @return [Time]
|
5761
|
+
#
|
5762
|
+
class SummaryMetricQuery < Struct.new(
|
5763
|
+
:query_id,
|
5764
|
+
:metric_name,
|
5765
|
+
:dimensions,
|
5766
|
+
:aggregation_period,
|
5767
|
+
:start_timestamp,
|
5768
|
+
:end_timestamp)
|
5769
|
+
SENSITIVE = []
|
5770
|
+
include Aws::Structure
|
5771
|
+
end
|
5772
|
+
|
5773
|
+
# The result of metrics aggregation operation.
|
5774
|
+
#
|
5775
|
+
# @!attribute [rw] query_id
|
5776
|
+
# The id of the query.
|
5777
|
+
# @return [String]
|
5778
|
+
#
|
5779
|
+
# @!attribute [rw] query_status
|
5780
|
+
# The status of the metric query.
|
5781
|
+
# @return [String]
|
5782
|
+
#
|
5783
|
+
# @!attribute [rw] error
|
5784
|
+
# The error message for the summary metric query.
|
5785
|
+
# @return [String]
|
5786
|
+
#
|
5787
|
+
# @!attribute [rw] metric_name
|
5788
|
+
# The name of the metric.
|
5789
|
+
# @return [String]
|
5790
|
+
#
|
5791
|
+
# @!attribute [rw] dimensions
|
5792
|
+
# The dimensions of the metric.
|
5793
|
+
# @return [Array<Types::Dimension>]
|
5794
|
+
#
|
5795
|
+
# @!attribute [rw] aggregation_period
|
5796
|
+
# The aggregation period of the metric.
|
5797
|
+
# @return [String]
|
5798
|
+
#
|
5799
|
+
# @!attribute [rw] start_timestamp
|
5800
|
+
# The start timestamp for summary metric query.
|
5801
|
+
# @return [Time]
|
5802
|
+
#
|
5803
|
+
# @!attribute [rw] end_timestamp
|
5804
|
+
# The end timestamp for summary metric query.
|
5805
|
+
# @return [Time]
|
5806
|
+
#
|
5807
|
+
# @!attribute [rw] timestamps
|
5808
|
+
# The timestamp of each aggregation result.
|
5809
|
+
# @return [Array<Time>]
|
5810
|
+
#
|
5811
|
+
# @!attribute [rw] values
|
5812
|
+
# The list of aggregated metrics.
|
5813
|
+
# @return [Array<Types::MetricQueryValue>]
|
5814
|
+
#
|
5815
|
+
# @!attribute [rw] unit
|
5816
|
+
# The units of measurement to be used for interpreting the aggregation
|
5817
|
+
# result.
|
5818
|
+
# @return [String]
|
5819
|
+
#
|
5820
|
+
class SummaryMetricQueryResult < Struct.new(
|
5821
|
+
:query_id,
|
5822
|
+
:query_status,
|
5823
|
+
:error,
|
5824
|
+
:metric_name,
|
5825
|
+
:dimensions,
|
5826
|
+
:aggregation_period,
|
5827
|
+
:start_timestamp,
|
5828
|
+
:end_timestamp,
|
5829
|
+
:timestamps,
|
5830
|
+
:values,
|
5831
|
+
:unit)
|
5832
|
+
SENSITIVE = []
|
5833
|
+
include Aws::Structure
|
5834
|
+
end
|
5835
|
+
|
5628
5836
|
# A simple label consisting of a customer-defined key-value pair
|
5629
5837
|
#
|
5630
5838
|
# @!attribute [rw] key
|
@@ -6064,6 +6272,18 @@ module Aws::IoTWireless
|
|
6064
6272
|
|
6065
6273
|
class UpdateLogLevelsByResourceTypesResponse < Aws::EmptyStructure; end
|
6066
6274
|
|
6275
|
+
# @!attribute [rw] summary_metric
|
6276
|
+
# The value to be used to set summary metric configuration.
|
6277
|
+
# @return [Types::SummaryMetricConfiguration]
|
6278
|
+
#
|
6279
|
+
class UpdateMetricConfigurationRequest < Struct.new(
|
6280
|
+
:summary_metric)
|
6281
|
+
SENSITIVE = []
|
6282
|
+
include Aws::Structure
|
6283
|
+
end
|
6284
|
+
|
6285
|
+
class UpdateMetricConfigurationResponse < Aws::EmptyStructure; end
|
6286
|
+
|
6067
6287
|
# @!attribute [rw] id
|
6068
6288
|
# The ID of the multicast group.
|
6069
6289
|
# @return [String]
|
data/lib/aws-sdk-iotwireless.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -747,6 +747,39 @@ module Aws
|
|
747
747
|
) -> _GetLogLevelsByResourceTypesResponseSuccess
|
748
748
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogLevelsByResourceTypesResponseSuccess
|
749
749
|
|
750
|
+
interface _GetMetricConfigurationResponseSuccess
|
751
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMetricConfigurationResponse]
|
752
|
+
def summary_metric: () -> Types::SummaryMetricConfiguration
|
753
|
+
end
|
754
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTWireless/Client.html#get_metric_configuration-instance_method
|
755
|
+
def get_metric_configuration: (
|
756
|
+
) -> _GetMetricConfigurationResponseSuccess
|
757
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMetricConfigurationResponseSuccess
|
758
|
+
|
759
|
+
interface _GetMetricsResponseSuccess
|
760
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMetricsResponse]
|
761
|
+
def summary_metric_query_results: () -> ::Array[Types::SummaryMetricQueryResult]
|
762
|
+
end
|
763
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTWireless/Client.html#get_metrics-instance_method
|
764
|
+
def get_metrics: (
|
765
|
+
?summary_metric_queries: Array[
|
766
|
+
{
|
767
|
+
query_id: ::String?,
|
768
|
+
metric_name: ("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")?,
|
769
|
+
dimensions: Array[
|
770
|
+
{
|
771
|
+
name: ("DeviceId" | "GatewayId")?,
|
772
|
+
value: ::String?
|
773
|
+
},
|
774
|
+
]?,
|
775
|
+
aggregation_period: ("OneHour" | "OneDay" | "OneWeek")?,
|
776
|
+
start_timestamp: ::Time?,
|
777
|
+
end_timestamp: ::Time?
|
778
|
+
},
|
779
|
+
]
|
780
|
+
) -> _GetMetricsResponseSuccess
|
781
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMetricsResponseSuccess
|
782
|
+
|
750
783
|
interface _GetMulticastGroupResponseSuccess
|
751
784
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetMulticastGroupResponse]
|
752
785
|
def arn: () -> ::String
|
@@ -1721,6 +1754,17 @@ module Aws
|
|
1721
1754
|
) -> _UpdateLogLevelsByResourceTypesResponseSuccess
|
1722
1755
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLogLevelsByResourceTypesResponseSuccess
|
1723
1756
|
|
1757
|
+
interface _UpdateMetricConfigurationResponseSuccess
|
1758
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMetricConfigurationResponse]
|
1759
|
+
end
|
1760
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTWireless/Client.html#update_metric_configuration-instance_method
|
1761
|
+
def update_metric_configuration: (
|
1762
|
+
?summary_metric: {
|
1763
|
+
status: ("Enabled" | "Disabled")?
|
1764
|
+
}
|
1765
|
+
) -> _UpdateMetricConfigurationResponseSuccess
|
1766
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMetricConfigurationResponseSuccess
|
1767
|
+
|
1724
1768
|
interface _UpdateMulticastGroupResponseSuccess
|
1725
1769
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMulticastGroupResponse]
|
1726
1770
|
end
|
data/sig/types.rbs
CHANGED
@@ -487,6 +487,12 @@ module Aws::IoTWireless
|
|
487
487
|
SENSITIVE: []
|
488
488
|
end
|
489
489
|
|
490
|
+
class Dimension
|
491
|
+
attr_accessor name: ("DeviceId" | "GatewayId")
|
492
|
+
attr_accessor value: ::String
|
493
|
+
SENSITIVE: []
|
494
|
+
end
|
495
|
+
|
490
496
|
class DisassociateAwsAccountFromPartnerAccountRequest
|
491
497
|
attr_accessor partner_account_id: ::String
|
492
498
|
attr_accessor partner_type: ("Sidewalk")
|
@@ -666,6 +672,24 @@ module Aws::IoTWireless
|
|
666
672
|
SENSITIVE: []
|
667
673
|
end
|
668
674
|
|
675
|
+
class GetMetricConfigurationRequest < Aws::EmptyStructure
|
676
|
+
end
|
677
|
+
|
678
|
+
class GetMetricConfigurationResponse
|
679
|
+
attr_accessor summary_metric: Types::SummaryMetricConfiguration
|
680
|
+
SENSITIVE: []
|
681
|
+
end
|
682
|
+
|
683
|
+
class GetMetricsRequest
|
684
|
+
attr_accessor summary_metric_queries: ::Array[Types::SummaryMetricQuery]
|
685
|
+
SENSITIVE: []
|
686
|
+
end
|
687
|
+
|
688
|
+
class GetMetricsResponse
|
689
|
+
attr_accessor summary_metric_query_results: ::Array[Types::SummaryMetricQueryResult]
|
690
|
+
SENSITIVE: []
|
691
|
+
end
|
692
|
+
|
669
693
|
class GetMulticastGroupRequest
|
670
694
|
attr_accessor id: ::String
|
671
695
|
SENSITIVE: []
|
@@ -1495,6 +1519,16 @@ module Aws::IoTWireless
|
|
1495
1519
|
SENSITIVE: []
|
1496
1520
|
end
|
1497
1521
|
|
1522
|
+
class MetricQueryValue
|
1523
|
+
attr_accessor min: ::Float
|
1524
|
+
attr_accessor max: ::Float
|
1525
|
+
attr_accessor sum: ::Float
|
1526
|
+
attr_accessor avg: ::Float
|
1527
|
+
attr_accessor std: ::Float
|
1528
|
+
attr_accessor p90: ::Float
|
1529
|
+
SENSITIVE: []
|
1530
|
+
end
|
1531
|
+
|
1498
1532
|
class MulticastGroup
|
1499
1533
|
attr_accessor id: ::String
|
1500
1534
|
attr_accessor arn: ::String
|
@@ -1848,6 +1882,36 @@ module Aws::IoTWireless
|
|
1848
1882
|
SENSITIVE: []
|
1849
1883
|
end
|
1850
1884
|
|
1885
|
+
class SummaryMetricConfiguration
|
1886
|
+
attr_accessor status: ("Enabled" | "Disabled")
|
1887
|
+
SENSITIVE: []
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
class SummaryMetricQuery
|
1891
|
+
attr_accessor query_id: ::String
|
1892
|
+
attr_accessor metric_name: ("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")
|
1893
|
+
attr_accessor dimensions: ::Array[Types::Dimension]
|
1894
|
+
attr_accessor aggregation_period: ("OneHour" | "OneDay" | "OneWeek")
|
1895
|
+
attr_accessor start_timestamp: ::Time
|
1896
|
+
attr_accessor end_timestamp: ::Time
|
1897
|
+
SENSITIVE: []
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
class SummaryMetricQueryResult
|
1901
|
+
attr_accessor query_id: ::String
|
1902
|
+
attr_accessor query_status: ("Succeeded" | "Failed")
|
1903
|
+
attr_accessor error: ::String
|
1904
|
+
attr_accessor metric_name: ("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")
|
1905
|
+
attr_accessor dimensions: ::Array[Types::Dimension]
|
1906
|
+
attr_accessor aggregation_period: ("OneHour" | "OneDay" | "OneWeek")
|
1907
|
+
attr_accessor start_timestamp: ::Time
|
1908
|
+
attr_accessor end_timestamp: ::Time
|
1909
|
+
attr_accessor timestamps: ::Array[::Time]
|
1910
|
+
attr_accessor values: ::Array[Types::MetricQueryValue]
|
1911
|
+
attr_accessor unit: ::String
|
1912
|
+
SENSITIVE: []
|
1913
|
+
end
|
1914
|
+
|
1851
1915
|
class Tag
|
1852
1916
|
attr_accessor key: ::String
|
1853
1917
|
attr_accessor value: ::String
|
@@ -1994,6 +2058,14 @@ module Aws::IoTWireless
|
|
1994
2058
|
class UpdateLogLevelsByResourceTypesResponse < Aws::EmptyStructure
|
1995
2059
|
end
|
1996
2060
|
|
2061
|
+
class UpdateMetricConfigurationRequest
|
2062
|
+
attr_accessor summary_metric: Types::SummaryMetricConfiguration
|
2063
|
+
SENSITIVE: []
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
class UpdateMetricConfigurationResponse < Aws::EmptyStructure
|
2067
|
+
end
|
2068
|
+
|
1997
2069
|
class UpdateMulticastGroupRequest
|
1998
2070
|
attr_accessor id: ::String
|
1999
2071
|
attr_accessor name: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iotwireless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.44.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|