aws-sdk-iotwireless 1.42.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -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 +7 -0
- data/lib/aws-sdk-iotwireless/types.rb +222 -2
- data/lib/aws-sdk-iotwireless.rb +1 -1
- data/sig/client.rbs +1947 -0
- data/sig/errors.rbs +42 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +2300 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2024-03-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for retrieving key historical and live metrics for LoRaWAN devices and gateways
|
8
|
+
|
9
|
+
1.43.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.42.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
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
|
@@ -14,6 +14,7 @@ module Aws::IoTWireless
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::IoTWireless::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -143,6 +144,10 @@ module Aws::IoTWireless
|
|
143
144
|
Aws::IoTWireless::Endpoints::GetFuotaTask.build(context)
|
144
145
|
when :get_log_levels_by_resource_types
|
145
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)
|
146
151
|
when :get_multicast_group
|
147
152
|
Aws::IoTWireless::Endpoints::GetMulticastGroup.build(context)
|
148
153
|
when :get_multicast_group_session
|
@@ -257,6 +262,8 @@ module Aws::IoTWireless
|
|
257
262
|
Aws::IoTWireless::Endpoints::UpdateFuotaTask.build(context)
|
258
263
|
when :update_log_levels_by_resource_types
|
259
264
|
Aws::IoTWireless::Endpoints::UpdateLogLevelsByResourceTypes.build(context)
|
265
|
+
when :update_metric_configuration
|
266
|
+
Aws::IoTWireless::Endpoints::UpdateMetricConfiguration.build(context)
|
260
267
|
when :update_multicast_group
|
261
268
|
Aws::IoTWireless::Endpoints::UpdateMulticastGroup.build(context)
|
262
269
|
when :update_network_analyzer_configuration
|