aws-sdk-iotsitewise 1.26.0 → 1.30.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +165 -7
- data/lib/aws-sdk-iotsitewise/client_api.rb +45 -1
- data/lib/aws-sdk-iotsitewise/types.rb +468 -19
- metadata +4 -4
@@ -85,10 +85,12 @@ module Aws::IoTSiteWise
|
|
85
85
|
CapabilitySyncStatus = Shapes::StringShape.new(name: 'CapabilitySyncStatus')
|
86
86
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
87
87
|
CompositeModelProperty = Shapes::StructureShape.new(name: 'CompositeModelProperty')
|
88
|
+
ComputeLocation = Shapes::StringShape.new(name: 'ComputeLocation')
|
88
89
|
ConfigurationErrorDetails = Shapes::StructureShape.new(name: 'ConfigurationErrorDetails')
|
89
90
|
ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
|
90
91
|
ConfigurationStatus = Shapes::StructureShape.new(name: 'ConfigurationStatus')
|
91
92
|
ConflictingOperationException = Shapes::StructureShape.new(name: 'ConflictingOperationException')
|
93
|
+
CoreDeviceThingName = Shapes::StringShape.new(name: 'CoreDeviceThingName')
|
92
94
|
CreateAccessPolicyRequest = Shapes::StructureShape.new(name: 'CreateAccessPolicyRequest')
|
93
95
|
CreateAccessPolicyResponse = Shapes::StructureShape.new(name: 'CreateAccessPolicyResponse')
|
94
96
|
CreateAssetModelRequest = Shapes::StructureShape.new(name: 'CreateAssetModelRequest')
|
@@ -146,6 +148,10 @@ module Aws::IoTSiteWise
|
|
146
148
|
DescribeStorageConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeStorageConfigurationRequest')
|
147
149
|
DescribeStorageConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeStorageConfigurationResponse')
|
148
150
|
Description = Shapes::StringShape.new(name: 'Description')
|
151
|
+
DetailedError = Shapes::StructureShape.new(name: 'DetailedError')
|
152
|
+
DetailedErrorCode = Shapes::StringShape.new(name: 'DetailedErrorCode')
|
153
|
+
DetailedErrorMessage = Shapes::StringShape.new(name: 'DetailedErrorMessage')
|
154
|
+
DetailedErrors = Shapes::ListShape.new(name: 'DetailedErrors')
|
149
155
|
DisassociateAssetsRequest = Shapes::StructureShape.new(name: 'DisassociateAssetsRequest')
|
150
156
|
Email = Shapes::StringShape.new(name: 'Email')
|
151
157
|
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
@@ -157,6 +163,8 @@ module Aws::IoTSiteWise
|
|
157
163
|
Expression = Shapes::StringShape.new(name: 'Expression')
|
158
164
|
ExpressionVariable = Shapes::StructureShape.new(name: 'ExpressionVariable')
|
159
165
|
ExpressionVariables = Shapes::ListShape.new(name: 'ExpressionVariables')
|
166
|
+
ForwardingConfig = Shapes::StructureShape.new(name: 'ForwardingConfig')
|
167
|
+
ForwardingConfigState = Shapes::StringShape.new(name: 'ForwardingConfigState')
|
160
168
|
GatewayCapabilitySummaries = Shapes::ListShape.new(name: 'GatewayCapabilitySummaries')
|
161
169
|
GatewayCapabilitySummary = Shapes::StructureShape.new(name: 'GatewayCapabilitySummary')
|
162
170
|
GatewayPlatform = Shapes::StructureShape.new(name: 'GatewayPlatform')
|
@@ -171,6 +179,7 @@ module Aws::IoTSiteWise
|
|
171
179
|
GetInterpolatedAssetPropertyValuesRequest = Shapes::StructureShape.new(name: 'GetInterpolatedAssetPropertyValuesRequest')
|
172
180
|
GetInterpolatedAssetPropertyValuesResponse = Shapes::StructureShape.new(name: 'GetInterpolatedAssetPropertyValuesResponse')
|
173
181
|
Greengrass = Shapes::StructureShape.new(name: 'Greengrass')
|
182
|
+
GreengrassV2 = Shapes::StructureShape.new(name: 'GreengrassV2')
|
174
183
|
GroupIdentity = Shapes::StructureShape.new(name: 'GroupIdentity')
|
175
184
|
IAMRoleIdentity = Shapes::StructureShape.new(name: 'IAMRoleIdentity')
|
176
185
|
IAMUserIdentity = Shapes::StructureShape.new(name: 'IAMUserIdentity')
|
@@ -190,6 +199,7 @@ module Aws::IoTSiteWise
|
|
190
199
|
InterpolationType = Shapes::StringShape.new(name: 'InterpolationType')
|
191
200
|
Interval = Shapes::StringShape.new(name: 'Interval')
|
192
201
|
IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
|
202
|
+
IntervalWindowInSeconds = Shapes::IntegerShape.new(name: 'IntervalWindowInSeconds')
|
193
203
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
194
204
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
195
205
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -222,7 +232,9 @@ module Aws::IoTSiteWise
|
|
222
232
|
MaxInterpolatedResults = Shapes::IntegerShape.new(name: 'MaxInterpolatedResults')
|
223
233
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
224
234
|
Measurement = Shapes::StructureShape.new(name: 'Measurement')
|
235
|
+
MeasurementProcessingConfig = Shapes::StructureShape.new(name: 'MeasurementProcessingConfig')
|
225
236
|
Metric = Shapes::StructureShape.new(name: 'Metric')
|
237
|
+
MetricProcessingConfig = Shapes::StructureShape.new(name: 'MetricProcessingConfig')
|
226
238
|
MetricWindow = Shapes::StructureShape.new(name: 'MetricWindow')
|
227
239
|
MonitorErrorCode = Shapes::StringShape.new(name: 'MonitorErrorCode')
|
228
240
|
MonitorErrorDetails = Shapes::StructureShape.new(name: 'MonitorErrorDetails')
|
@@ -230,6 +242,7 @@ module Aws::IoTSiteWise
|
|
230
242
|
MultiLayerStorage = Shapes::StructureShape.new(name: 'MultiLayerStorage')
|
231
243
|
Name = Shapes::StringShape.new(name: 'Name')
|
232
244
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
245
|
+
Offset = Shapes::StringShape.new(name: 'Offset')
|
233
246
|
OffsetInNanos = Shapes::IntegerShape.new(name: 'OffsetInNanos')
|
234
247
|
Permission = Shapes::StringShape.new(name: 'Permission')
|
235
248
|
PortalClientId = Shapes::StringShape.new(name: 'PortalClientId')
|
@@ -287,6 +300,7 @@ module Aws::IoTSiteWise
|
|
287
300
|
Timestamps = Shapes::ListShape.new(name: 'Timestamps')
|
288
301
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
289
302
|
Transform = Shapes::StructureShape.new(name: 'Transform')
|
303
|
+
TransformProcessingConfig = Shapes::StructureShape.new(name: 'TransformProcessingConfig')
|
290
304
|
TraversalDirection = Shapes::StringShape.new(name: 'TraversalDirection')
|
291
305
|
TraversalType = Shapes::StringShape.new(name: 'TraversalType')
|
292
306
|
TumblingWindow = Shapes::StructureShape.new(name: 'TumblingWindow')
|
@@ -836,6 +850,12 @@ module Aws::IoTSiteWise
|
|
836
850
|
DescribeStorageConfigurationResponse.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateDate"))
|
837
851
|
DescribeStorageConfigurationResponse.struct_class = Types::DescribeStorageConfigurationResponse
|
838
852
|
|
853
|
+
DetailedError.add_member(:code, Shapes::ShapeRef.new(shape: DetailedErrorCode, required: true, location_name: "code"))
|
854
|
+
DetailedError.add_member(:message, Shapes::ShapeRef.new(shape: DetailedErrorMessage, required: true, location_name: "message"))
|
855
|
+
DetailedError.struct_class = Types::DetailedError
|
856
|
+
|
857
|
+
DetailedErrors.member = Shapes::ShapeRef.new(shape: DetailedError)
|
858
|
+
|
839
859
|
DisassociateAssetsRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
|
840
860
|
DisassociateAssetsRequest.add_member(:hierarchy_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "hierarchyId"))
|
841
861
|
DisassociateAssetsRequest.add_member(:child_asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "childAssetId"))
|
@@ -844,6 +864,7 @@ module Aws::IoTSiteWise
|
|
844
864
|
|
845
865
|
ErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
|
846
866
|
ErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
867
|
+
ErrorDetails.add_member(:details, Shapes::ShapeRef.new(shape: DetailedErrors, location_name: "details"))
|
847
868
|
ErrorDetails.struct_class = Types::ErrorDetails
|
848
869
|
|
849
870
|
ExpressionVariable.add_member(:name, Shapes::ShapeRef.new(shape: VariableName, required: true, location_name: "name"))
|
@@ -852,19 +873,24 @@ module Aws::IoTSiteWise
|
|
852
873
|
|
853
874
|
ExpressionVariables.member = Shapes::ShapeRef.new(shape: ExpressionVariable)
|
854
875
|
|
876
|
+
ForwardingConfig.add_member(:state, Shapes::ShapeRef.new(shape: ForwardingConfigState, required: true, location_name: "state"))
|
877
|
+
ForwardingConfig.struct_class = Types::ForwardingConfig
|
878
|
+
|
855
879
|
GatewayCapabilitySummaries.member = Shapes::ShapeRef.new(shape: GatewayCapabilitySummary)
|
856
880
|
|
857
881
|
GatewayCapabilitySummary.add_member(:capability_namespace, Shapes::ShapeRef.new(shape: CapabilityNamespace, required: true, location_name: "capabilityNamespace"))
|
858
882
|
GatewayCapabilitySummary.add_member(:capability_sync_status, Shapes::ShapeRef.new(shape: CapabilitySyncStatus, required: true, location_name: "capabilitySyncStatus"))
|
859
883
|
GatewayCapabilitySummary.struct_class = Types::GatewayCapabilitySummary
|
860
884
|
|
861
|
-
GatewayPlatform.add_member(:greengrass, Shapes::ShapeRef.new(shape: Greengrass,
|
885
|
+
GatewayPlatform.add_member(:greengrass, Shapes::ShapeRef.new(shape: Greengrass, location_name: "greengrass"))
|
886
|
+
GatewayPlatform.add_member(:greengrass_v2, Shapes::ShapeRef.new(shape: GreengrassV2, location_name: "greengrassV2"))
|
862
887
|
GatewayPlatform.struct_class = Types::GatewayPlatform
|
863
888
|
|
864
889
|
GatewaySummaries.member = Shapes::ShapeRef.new(shape: GatewaySummary)
|
865
890
|
|
866
891
|
GatewaySummary.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "gatewayId"))
|
867
892
|
GatewaySummary.add_member(:gateway_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "gatewayName"))
|
893
|
+
GatewaySummary.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, location_name: "gatewayPlatform"))
|
868
894
|
GatewaySummary.add_member(:gateway_capability_summaries, Shapes::ShapeRef.new(shape: GatewayCapabilitySummaries, location_name: "gatewayCapabilitySummaries"))
|
869
895
|
GatewaySummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
870
896
|
GatewaySummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
|
@@ -922,6 +948,7 @@ module Aws::IoTSiteWise
|
|
922
948
|
GetInterpolatedAssetPropertyValuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
923
949
|
GetInterpolatedAssetPropertyValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxInterpolatedResults, location: "querystring", location_name: "maxResults"))
|
924
950
|
GetInterpolatedAssetPropertyValuesRequest.add_member(:type, Shapes::ShapeRef.new(shape: InterpolationType, required: true, location: "querystring", location_name: "type"))
|
951
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:interval_window_in_seconds, Shapes::ShapeRef.new(shape: IntervalWindowInSeconds, location: "querystring", location_name: "intervalWindowInSeconds"))
|
925
952
|
GetInterpolatedAssetPropertyValuesRequest.struct_class = Types::GetInterpolatedAssetPropertyValuesRequest
|
926
953
|
|
927
954
|
GetInterpolatedAssetPropertyValuesResponse.add_member(:interpolated_asset_property_values, Shapes::ShapeRef.new(shape: InterpolatedAssetPropertyValues, required: true, location_name: "interpolatedAssetPropertyValues"))
|
@@ -931,6 +958,9 @@ module Aws::IoTSiteWise
|
|
931
958
|
Greengrass.add_member(:group_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "groupArn"))
|
932
959
|
Greengrass.struct_class = Types::Greengrass
|
933
960
|
|
961
|
+
GreengrassV2.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location_name: "coreDeviceThingName"))
|
962
|
+
GreengrassV2.struct_class = Types::GreengrassV2
|
963
|
+
|
934
964
|
GroupIdentity.add_member(:id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "id"))
|
935
965
|
GroupIdentity.struct_class = Types::GroupIdentity
|
936
966
|
|
@@ -1079,13 +1109,21 @@ module Aws::IoTSiteWise
|
|
1079
1109
|
LoggingOptions.add_member(:level, Shapes::ShapeRef.new(shape: LoggingLevel, required: true, location_name: "level"))
|
1080
1110
|
LoggingOptions.struct_class = Types::LoggingOptions
|
1081
1111
|
|
1112
|
+
Measurement.add_member(:processing_config, Shapes::ShapeRef.new(shape: MeasurementProcessingConfig, location_name: "processingConfig"))
|
1082
1113
|
Measurement.struct_class = Types::Measurement
|
1083
1114
|
|
1115
|
+
MeasurementProcessingConfig.add_member(:forwarding_config, Shapes::ShapeRef.new(shape: ForwardingConfig, required: true, location_name: "forwardingConfig"))
|
1116
|
+
MeasurementProcessingConfig.struct_class = Types::MeasurementProcessingConfig
|
1117
|
+
|
1084
1118
|
Metric.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "expression"))
|
1085
1119
|
Metric.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables, required: true, location_name: "variables"))
|
1086
1120
|
Metric.add_member(:window, Shapes::ShapeRef.new(shape: MetricWindow, required: true, location_name: "window"))
|
1121
|
+
Metric.add_member(:processing_config, Shapes::ShapeRef.new(shape: MetricProcessingConfig, location_name: "processingConfig"))
|
1087
1122
|
Metric.struct_class = Types::Metric
|
1088
1123
|
|
1124
|
+
MetricProcessingConfig.add_member(:compute_location, Shapes::ShapeRef.new(shape: ComputeLocation, required: true, location_name: "computeLocation"))
|
1125
|
+
MetricProcessingConfig.struct_class = Types::MetricProcessingConfig
|
1126
|
+
|
1089
1127
|
MetricWindow.add_member(:tumbling, Shapes::ShapeRef.new(shape: TumblingWindow, location_name: "tumbling"))
|
1090
1128
|
MetricWindow.struct_class = Types::MetricWindow
|
1091
1129
|
|
@@ -1221,9 +1259,15 @@ module Aws::IoTSiteWise
|
|
1221
1259
|
|
1222
1260
|
Transform.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "expression"))
|
1223
1261
|
Transform.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables, required: true, location_name: "variables"))
|
1262
|
+
Transform.add_member(:processing_config, Shapes::ShapeRef.new(shape: TransformProcessingConfig, location_name: "processingConfig"))
|
1224
1263
|
Transform.struct_class = Types::Transform
|
1225
1264
|
|
1265
|
+
TransformProcessingConfig.add_member(:compute_location, Shapes::ShapeRef.new(shape: ComputeLocation, required: true, location_name: "computeLocation"))
|
1266
|
+
TransformProcessingConfig.add_member(:forwarding_config, Shapes::ShapeRef.new(shape: ForwardingConfig, location_name: "forwardingConfig"))
|
1267
|
+
TransformProcessingConfig.struct_class = Types::TransformProcessingConfig
|
1268
|
+
|
1226
1269
|
TumblingWindow.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, required: true, location_name: "interval"))
|
1270
|
+
TumblingWindow.add_member(:offset, Shapes::ShapeRef.new(shape: Offset, location_name: "offset"))
|
1227
1271
|
TumblingWindow.struct_class = Types::TumblingWindow
|
1228
1272
|
|
1229
1273
|
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
@@ -276,6 +276,11 @@ module Aws::IoTSiteWise
|
|
276
276
|
# default_value: "DefaultValue",
|
277
277
|
# },
|
278
278
|
# measurement: {
|
279
|
+
# processing_config: {
|
280
|
+
# forwarding_config: { # required
|
281
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
282
|
+
# },
|
283
|
+
# },
|
279
284
|
# },
|
280
285
|
# transform: {
|
281
286
|
# expression: "Expression", # required
|
@@ -288,6 +293,12 @@ module Aws::IoTSiteWise
|
|
288
293
|
# },
|
289
294
|
# },
|
290
295
|
# ],
|
296
|
+
# processing_config: {
|
297
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
298
|
+
# forwarding_config: {
|
299
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
300
|
+
# },
|
301
|
+
# },
|
291
302
|
# },
|
292
303
|
# metric: {
|
293
304
|
# expression: "Expression", # required
|
@@ -303,8 +314,12 @@ module Aws::IoTSiteWise
|
|
303
314
|
# window: { # required
|
304
315
|
# tumbling: {
|
305
316
|
# interval: "Interval", # required
|
317
|
+
# offset: "Offset",
|
306
318
|
# },
|
307
319
|
# },
|
320
|
+
# processing_config: {
|
321
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
322
|
+
# },
|
308
323
|
# },
|
309
324
|
# },
|
310
325
|
# },
|
@@ -359,6 +374,11 @@ module Aws::IoTSiteWise
|
|
359
374
|
# default_value: "DefaultValue",
|
360
375
|
# },
|
361
376
|
# measurement: {
|
377
|
+
# processing_config: {
|
378
|
+
# forwarding_config: { # required
|
379
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
380
|
+
# },
|
381
|
+
# },
|
362
382
|
# },
|
363
383
|
# transform: {
|
364
384
|
# expression: "Expression", # required
|
@@ -371,6 +391,12 @@ module Aws::IoTSiteWise
|
|
371
391
|
# },
|
372
392
|
# },
|
373
393
|
# ],
|
394
|
+
# processing_config: {
|
395
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
396
|
+
# forwarding_config: {
|
397
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
398
|
+
# },
|
399
|
+
# },
|
374
400
|
# },
|
375
401
|
# metric: {
|
376
402
|
# expression: "Expression", # required
|
@@ -386,8 +412,12 @@ module Aws::IoTSiteWise
|
|
386
412
|
# window: { # required
|
387
413
|
# tumbling: {
|
388
414
|
# interval: "Interval", # required
|
415
|
+
# offset: "Offset",
|
389
416
|
# },
|
390
417
|
# },
|
418
|
+
# processing_config: {
|
419
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
420
|
+
# },
|
391
421
|
# },
|
392
422
|
# },
|
393
423
|
# },
|
@@ -509,6 +539,11 @@ module Aws::IoTSiteWise
|
|
509
539
|
# default_value: "DefaultValue",
|
510
540
|
# },
|
511
541
|
# measurement: {
|
542
|
+
# processing_config: {
|
543
|
+
# forwarding_config: { # required
|
544
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
545
|
+
# },
|
546
|
+
# },
|
512
547
|
# },
|
513
548
|
# transform: {
|
514
549
|
# expression: "Expression", # required
|
@@ -521,6 +556,12 @@ module Aws::IoTSiteWise
|
|
521
556
|
# },
|
522
557
|
# },
|
523
558
|
# ],
|
559
|
+
# processing_config: {
|
560
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
561
|
+
# forwarding_config: {
|
562
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
563
|
+
# },
|
564
|
+
# },
|
524
565
|
# },
|
525
566
|
# metric: {
|
526
567
|
# expression: "Expression", # required
|
@@ -536,8 +577,12 @@ module Aws::IoTSiteWise
|
|
536
577
|
# window: { # required
|
537
578
|
# tumbling: {
|
538
579
|
# interval: "Interval", # required
|
580
|
+
# offset: "Offset",
|
539
581
|
# },
|
540
582
|
# },
|
583
|
+
# processing_config: {
|
584
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
585
|
+
# },
|
541
586
|
# },
|
542
587
|
# },
|
543
588
|
# }
|
@@ -594,6 +639,11 @@ module Aws::IoTSiteWise
|
|
594
639
|
# default_value: "DefaultValue",
|
595
640
|
# },
|
596
641
|
# measurement: {
|
642
|
+
# processing_config: {
|
643
|
+
# forwarding_config: { # required
|
644
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
645
|
+
# },
|
646
|
+
# },
|
597
647
|
# },
|
598
648
|
# transform: {
|
599
649
|
# expression: "Expression", # required
|
@@ -606,6 +656,12 @@ module Aws::IoTSiteWise
|
|
606
656
|
# },
|
607
657
|
# },
|
608
658
|
# ],
|
659
|
+
# processing_config: {
|
660
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
661
|
+
# forwarding_config: {
|
662
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
663
|
+
# },
|
664
|
+
# },
|
609
665
|
# },
|
610
666
|
# metric: {
|
611
667
|
# expression: "Expression", # required
|
@@ -621,8 +677,12 @@ module Aws::IoTSiteWise
|
|
621
677
|
# window: { # required
|
622
678
|
# tumbling: {
|
623
679
|
# interval: "Interval", # required
|
680
|
+
# offset: "Offset",
|
624
681
|
# },
|
625
682
|
# },
|
683
|
+
# processing_config: {
|
684
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
685
|
+
# },
|
626
686
|
# },
|
627
687
|
# },
|
628
688
|
# }
|
@@ -1446,6 +1506,11 @@ module Aws::IoTSiteWise
|
|
1446
1506
|
# default_value: "DefaultValue",
|
1447
1507
|
# },
|
1448
1508
|
# measurement: {
|
1509
|
+
# processing_config: {
|
1510
|
+
# forwarding_config: { # required
|
1511
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
1512
|
+
# },
|
1513
|
+
# },
|
1449
1514
|
# },
|
1450
1515
|
# transform: {
|
1451
1516
|
# expression: "Expression", # required
|
@@ -1458,6 +1523,12 @@ module Aws::IoTSiteWise
|
|
1458
1523
|
# },
|
1459
1524
|
# },
|
1460
1525
|
# ],
|
1526
|
+
# processing_config: {
|
1527
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
1528
|
+
# forwarding_config: {
|
1529
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
1530
|
+
# },
|
1531
|
+
# },
|
1461
1532
|
# },
|
1462
1533
|
# metric: {
|
1463
1534
|
# expression: "Expression", # required
|
@@ -1473,8 +1544,12 @@ module Aws::IoTSiteWise
|
|
1473
1544
|
# window: { # required
|
1474
1545
|
# tumbling: {
|
1475
1546
|
# interval: "Interval", # required
|
1547
|
+
# offset: "Offset",
|
1476
1548
|
# },
|
1477
1549
|
# },
|
1550
|
+
# processing_config: {
|
1551
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
1552
|
+
# },
|
1478
1553
|
# },
|
1479
1554
|
# },
|
1480
1555
|
# },
|
@@ -1501,6 +1576,11 @@ module Aws::IoTSiteWise
|
|
1501
1576
|
# default_value: "DefaultValue",
|
1502
1577
|
# },
|
1503
1578
|
# measurement: {
|
1579
|
+
# processing_config: {
|
1580
|
+
# forwarding_config: { # required
|
1581
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
1582
|
+
# },
|
1583
|
+
# },
|
1504
1584
|
# },
|
1505
1585
|
# transform: {
|
1506
1586
|
# expression: "Expression", # required
|
@@ -1513,6 +1593,12 @@ module Aws::IoTSiteWise
|
|
1513
1593
|
# },
|
1514
1594
|
# },
|
1515
1595
|
# ],
|
1596
|
+
# processing_config: {
|
1597
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
1598
|
+
# forwarding_config: {
|
1599
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
1600
|
+
# },
|
1601
|
+
# },
|
1516
1602
|
# },
|
1517
1603
|
# metric: {
|
1518
1604
|
# expression: "Expression", # required
|
@@ -1528,8 +1614,12 @@ module Aws::IoTSiteWise
|
|
1528
1614
|
# window: { # required
|
1529
1615
|
# tumbling: {
|
1530
1616
|
# interval: "Interval", # required
|
1617
|
+
# offset: "Offset",
|
1531
1618
|
# },
|
1532
1619
|
# },
|
1620
|
+
# processing_config: {
|
1621
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
1622
|
+
# },
|
1533
1623
|
# },
|
1534
1624
|
# },
|
1535
1625
|
# },
|
@@ -1814,9 +1904,12 @@ module Aws::IoTSiteWise
|
|
1814
1904
|
# {
|
1815
1905
|
# gateway_name: "Name", # required
|
1816
1906
|
# gateway_platform: { # required
|
1817
|
-
# greengrass: {
|
1907
|
+
# greengrass: {
|
1818
1908
|
# group_arn: "ARN", # required
|
1819
1909
|
# },
|
1910
|
+
# greengrass_v2: {
|
1911
|
+
# core_device_thing_name: "CoreDeviceThingName", # required
|
1912
|
+
# },
|
1820
1913
|
# },
|
1821
1914
|
# tags: {
|
1822
1915
|
# "TagKey" => "TagValue",
|
@@ -3182,6 +3275,23 @@ module Aws::IoTSiteWise
|
|
3182
3275
|
include Aws::Structure
|
3183
3276
|
end
|
3184
3277
|
|
3278
|
+
# Contains detailed error information.
|
3279
|
+
#
|
3280
|
+
# @!attribute [rw] code
|
3281
|
+
# The error code.
|
3282
|
+
# @return [String]
|
3283
|
+
#
|
3284
|
+
# @!attribute [rw] message
|
3285
|
+
# The error message.
|
3286
|
+
# @return [String]
|
3287
|
+
#
|
3288
|
+
class DetailedError < Struct.new(
|
3289
|
+
:code,
|
3290
|
+
:message)
|
3291
|
+
SENSITIVE = []
|
3292
|
+
include Aws::Structure
|
3293
|
+
end
|
3294
|
+
|
3185
3295
|
# @note When making an API call, you may pass DisassociateAssetsRequest
|
3186
3296
|
# data as a hash:
|
3187
3297
|
#
|
@@ -3241,9 +3351,14 @@ module Aws::IoTSiteWise
|
|
3241
3351
|
# The error message.
|
3242
3352
|
# @return [String]
|
3243
3353
|
#
|
3354
|
+
# @!attribute [rw] details
|
3355
|
+
# A list of detailed errors.
|
3356
|
+
# @return [Array<Types::DetailedError>]
|
3357
|
+
#
|
3244
3358
|
class ErrorDetails < Struct.new(
|
3245
3359
|
:code,
|
3246
|
-
:message
|
3360
|
+
:message,
|
3361
|
+
:details)
|
3247
3362
|
SENSITIVE = []
|
3248
3363
|
include Aws::Structure
|
3249
3364
|
end
|
@@ -3277,6 +3392,25 @@ module Aws::IoTSiteWise
|
|
3277
3392
|
include Aws::Structure
|
3278
3393
|
end
|
3279
3394
|
|
3395
|
+
# The forwarding configuration for a given property.
|
3396
|
+
#
|
3397
|
+
# @note When making an API call, you may pass ForwardingConfig
|
3398
|
+
# data as a hash:
|
3399
|
+
#
|
3400
|
+
# {
|
3401
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
3402
|
+
# }
|
3403
|
+
#
|
3404
|
+
# @!attribute [rw] state
|
3405
|
+
# The forwarding state for the given property.
|
3406
|
+
# @return [String]
|
3407
|
+
#
|
3408
|
+
class ForwardingConfig < Struct.new(
|
3409
|
+
:state)
|
3410
|
+
SENSITIVE = []
|
3411
|
+
include Aws::Structure
|
3412
|
+
end
|
3413
|
+
|
3280
3414
|
# Contains a summary of a gateway capability configuration.
|
3281
3415
|
#
|
3282
3416
|
# @!attribute [rw] capability_namespace
|
@@ -3312,17 +3446,25 @@ module Aws::IoTSiteWise
|
|
3312
3446
|
# data as a hash:
|
3313
3447
|
#
|
3314
3448
|
# {
|
3315
|
-
# greengrass: {
|
3449
|
+
# greengrass: {
|
3316
3450
|
# group_arn: "ARN", # required
|
3317
3451
|
# },
|
3452
|
+
# greengrass_v2: {
|
3453
|
+
# core_device_thing_name: "CoreDeviceThingName", # required
|
3454
|
+
# },
|
3318
3455
|
# }
|
3319
3456
|
#
|
3320
3457
|
# @!attribute [rw] greengrass
|
3321
3458
|
# A gateway that runs on IoT Greengrass.
|
3322
3459
|
# @return [Types::Greengrass]
|
3323
3460
|
#
|
3461
|
+
# @!attribute [rw] greengrass_v2
|
3462
|
+
# A gateway that runs on IoT Greengrass V2.
|
3463
|
+
# @return [Types::GreengrassV2]
|
3464
|
+
#
|
3324
3465
|
class GatewayPlatform < Struct.new(
|
3325
|
-
:greengrass
|
3466
|
+
:greengrass,
|
3467
|
+
:greengrass_v2)
|
3326
3468
|
SENSITIVE = []
|
3327
3469
|
include Aws::Structure
|
3328
3470
|
end
|
@@ -3337,6 +3479,10 @@ module Aws::IoTSiteWise
|
|
3337
3479
|
# The name of the asset.
|
3338
3480
|
# @return [String]
|
3339
3481
|
#
|
3482
|
+
# @!attribute [rw] gateway_platform
|
3483
|
+
# Contains a gateway's platform information.
|
3484
|
+
# @return [Types::GatewayPlatform]
|
3485
|
+
#
|
3340
3486
|
# @!attribute [rw] gateway_capability_summaries
|
3341
3487
|
# A list of gateway capability summaries that each contain a namespace
|
3342
3488
|
# and status. Each gateway capability defines data sources for the
|
@@ -3359,6 +3505,7 @@ module Aws::IoTSiteWise
|
|
3359
3505
|
class GatewaySummary < Struct.new(
|
3360
3506
|
:gateway_id,
|
3361
3507
|
:gateway_name,
|
3508
|
+
:gateway_platform,
|
3362
3509
|
:gateway_capability_summaries,
|
3363
3510
|
:creation_date,
|
3364
3511
|
:last_update_date)
|
@@ -3631,6 +3778,7 @@ module Aws::IoTSiteWise
|
|
3631
3778
|
# next_token: "NextToken",
|
3632
3779
|
# max_results: 1,
|
3633
3780
|
# type: "InterpolationType", # required
|
3781
|
+
# interval_window_in_seconds: 1,
|
3634
3782
|
# }
|
3635
3783
|
#
|
3636
3784
|
# @!attribute [rw] asset_id
|
@@ -3694,9 +3842,48 @@ module Aws::IoTSiteWise
|
|
3694
3842
|
# @!attribute [rw] type
|
3695
3843
|
# The interpolation type.
|
3696
3844
|
#
|
3697
|
-
# Valid values: `LINEAR_INTERPOLATION`
|
3845
|
+
# Valid values: `LINEAR_INTERPOLATION | LOCF_INTERPOLATION`
|
3846
|
+
#
|
3847
|
+
# For the `LOCF_INTERPOLATION` interpolation, if no data point is
|
3848
|
+
# found for an interval, IoT SiteWise returns the same interpolated
|
3849
|
+
# value calculated for the previous interval and carries forward this
|
3850
|
+
# interpolated value until a new data point is found.
|
3851
|
+
#
|
3852
|
+
# For example, you can get the interpolated temperature values for a
|
3853
|
+
# wind turbine every 24 hours over a duration of 7 days. If the
|
3854
|
+
# `LOCF_INTERPOLATION` interpolation starts on July 1, 2021, at 9 AM,
|
3855
|
+
# IoT SiteWise uses the data points from July 1, 2021, at 9 AM to July
|
3856
|
+
# 2, 2021, at 9 AM to compute the first interpolated value. If no data
|
3857
|
+
# points is found after 9 A.M. on July 2, 2021, IoT SiteWise uses the
|
3858
|
+
# same interpolated value for the rest of the days.
|
3698
3859
|
# @return [String]
|
3699
3860
|
#
|
3861
|
+
# @!attribute [rw] interval_window_in_seconds
|
3862
|
+
# The query interval for the window in seconds. IoT SiteWise computes
|
3863
|
+
# each interpolated value by using data points from the timestamp of
|
3864
|
+
# each interval minus the window to the timestamp of each interval
|
3865
|
+
# plus the window. If not specified, the window is between the start
|
3866
|
+
# time minus the interval and the end time plus the interval.
|
3867
|
+
#
|
3868
|
+
# <note markdown="1"> * If you specify a value for the `intervalWindowInSeconds`
|
3869
|
+
# parameter, the `type` parameter must be `LINEAR_INTERPOLATION`.
|
3870
|
+
#
|
3871
|
+
# * If no data point is found during the specified query window, IoT
|
3872
|
+
# SiteWise won't return an interpolated value for the interval.
|
3873
|
+
# This indicates that there's a gap in the ingested data points.
|
3874
|
+
#
|
3875
|
+
# </note>
|
3876
|
+
#
|
3877
|
+
# For example, you can get the interpolated temperature values for a
|
3878
|
+
# wind turbine every 24 hours over a duration of 7 days. If the
|
3879
|
+
# interpolation starts on July 1, 2021, at 9 AM with a window of 2
|
3880
|
+
# hours, IoT SiteWise uses the data points from 7 AM (9 AM - 2 hours)
|
3881
|
+
# to 11 AM (9 AM + 2 hours) on July 2, 2021 to compute the first
|
3882
|
+
# interpolated value, uses the data points from 7 AM (9 AM - 2 hours)
|
3883
|
+
# to 11 AM (9 AM + 2 hours) on July 3, 2021 to compute the second
|
3884
|
+
# interpolated value, and so on.
|
3885
|
+
# @return [Integer]
|
3886
|
+
#
|
3700
3887
|
class GetInterpolatedAssetPropertyValuesRequest < Struct.new(
|
3701
3888
|
:asset_id,
|
3702
3889
|
:property_id,
|
@@ -3709,7 +3896,8 @@ module Aws::IoTSiteWise
|
|
3709
3896
|
:interval_in_seconds,
|
3710
3897
|
:next_token,
|
3711
3898
|
:max_results,
|
3712
|
-
:type
|
3899
|
+
:type,
|
3900
|
+
:interval_window_in_seconds)
|
3713
3901
|
SENSITIVE = []
|
3714
3902
|
include Aws::Structure
|
3715
3903
|
end
|
@@ -3766,6 +3954,35 @@ module Aws::IoTSiteWise
|
|
3766
3954
|
include Aws::Structure
|
3767
3955
|
end
|
3768
3956
|
|
3957
|
+
# Contains details for a gateway that runs on IoT Greengrass V2. To
|
3958
|
+
# create a gateway that runs on IoT Greengrass V2, you must deploy the
|
3959
|
+
# IoT SiteWise Edge component to your gateway device. Your [Greengrass
|
3960
|
+
# device role][1] must use the `AWSIoTSiteWiseEdgeAccess` policy. For
|
3961
|
+
# more information, see [Using IoT SiteWise at the edge][2] in the *IoT
|
3962
|
+
# SiteWise User Guide*.
|
3963
|
+
#
|
3964
|
+
#
|
3965
|
+
#
|
3966
|
+
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/device-service-role.html
|
3967
|
+
# [2]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/sw-gateways.html
|
3968
|
+
#
|
3969
|
+
# @note When making an API call, you may pass GreengrassV2
|
3970
|
+
# data as a hash:
|
3971
|
+
#
|
3972
|
+
# {
|
3973
|
+
# core_device_thing_name: "CoreDeviceThingName", # required
|
3974
|
+
# }
|
3975
|
+
#
|
3976
|
+
# @!attribute [rw] core_device_thing_name
|
3977
|
+
# The name of the IoT thing for your IoT Greengrass V2 core device.
|
3978
|
+
# @return [String]
|
3979
|
+
#
|
3980
|
+
class GreengrassV2 < Struct.new(
|
3981
|
+
:core_device_thing_name)
|
3982
|
+
SENSITIVE = []
|
3983
|
+
include Aws::Structure
|
3984
|
+
end
|
3985
|
+
|
3769
3986
|
# Contains information for a group identity in an access policy.
|
3770
3987
|
#
|
3771
3988
|
# @note When making an API call, you may pass GroupIdentity
|
@@ -4653,9 +4870,53 @@ module Aws::IoTSiteWise
|
|
4653
4870
|
#
|
4654
4871
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#measurements
|
4655
4872
|
#
|
4656
|
-
# @
|
4873
|
+
# @note When making an API call, you may pass Measurement
|
4874
|
+
# data as a hash:
|
4875
|
+
#
|
4876
|
+
# {
|
4877
|
+
# processing_config: {
|
4878
|
+
# forwarding_config: { # required
|
4879
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
4880
|
+
# },
|
4881
|
+
# },
|
4882
|
+
# }
|
4657
4883
|
#
|
4658
|
-
|
4884
|
+
# @!attribute [rw] processing_config
|
4885
|
+
# The processing configuration for the given measurement property. You
|
4886
|
+
# can configure measurements to be kept at the edge or forwarded to
|
4887
|
+
# the Amazon Web Services Cloud. By default, measurements are
|
4888
|
+
# forwarded to the cloud.
|
4889
|
+
# @return [Types::MeasurementProcessingConfig]
|
4890
|
+
#
|
4891
|
+
class Measurement < Struct.new(
|
4892
|
+
:processing_config)
|
4893
|
+
SENSITIVE = []
|
4894
|
+
include Aws::Structure
|
4895
|
+
end
|
4896
|
+
|
4897
|
+
# The processing configuration for the given measurement property. You
|
4898
|
+
# can configure measurements to be kept at the edge or forwarded to the
|
4899
|
+
# Amazon Web Services Cloud. By default, measurements are forwarded to
|
4900
|
+
# the cloud.
|
4901
|
+
#
|
4902
|
+
# @note When making an API call, you may pass MeasurementProcessingConfig
|
4903
|
+
# data as a hash:
|
4904
|
+
#
|
4905
|
+
# {
|
4906
|
+
# forwarding_config: { # required
|
4907
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
4908
|
+
# },
|
4909
|
+
# }
|
4910
|
+
#
|
4911
|
+
# @!attribute [rw] forwarding_config
|
4912
|
+
# The forwarding configuration for the given measurement property.
|
4913
|
+
# @return [Types::ForwardingConfig]
|
4914
|
+
#
|
4915
|
+
class MeasurementProcessingConfig < Struct.new(
|
4916
|
+
:forwarding_config)
|
4917
|
+
SENSITIVE = []
|
4918
|
+
include Aws::Structure
|
4919
|
+
end
|
4659
4920
|
|
4660
4921
|
# Contains an asset metric property. With metrics, you can calculate
|
4661
4922
|
# aggregate functions, such as an average, maximum, or minimum, as
|
@@ -4692,8 +4953,12 @@ module Aws::IoTSiteWise
|
|
4692
4953
|
# window: { # required
|
4693
4954
|
# tumbling: {
|
4694
4955
|
# interval: "Interval", # required
|
4956
|
+
# offset: "Offset",
|
4695
4957
|
# },
|
4696
4958
|
# },
|
4959
|
+
# processing_config: {
|
4960
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
4961
|
+
# },
|
4697
4962
|
# }
|
4698
4963
|
#
|
4699
4964
|
# @!attribute [rw] expression
|
@@ -4719,10 +4984,38 @@ module Aws::IoTSiteWise
|
|
4719
4984
|
# point per `window`.
|
4720
4985
|
# @return [Types::MetricWindow]
|
4721
4986
|
#
|
4987
|
+
# @!attribute [rw] processing_config
|
4988
|
+
# The processing configuration for the given metric property. You can
|
4989
|
+
# configure metrics to be computed at the edge or in the Amazon Web
|
4990
|
+
# Services Cloud. By default, metrics are forwarded to the cloud.
|
4991
|
+
# @return [Types::MetricProcessingConfig]
|
4992
|
+
#
|
4722
4993
|
class Metric < Struct.new(
|
4723
4994
|
:expression,
|
4724
4995
|
:variables,
|
4725
|
-
:window
|
4996
|
+
:window,
|
4997
|
+
:processing_config)
|
4998
|
+
SENSITIVE = []
|
4999
|
+
include Aws::Structure
|
5000
|
+
end
|
5001
|
+
|
5002
|
+
# The processing configuration for the given metric property. You can
|
5003
|
+
# configure metrics to be computed at the edge or in the Amazon Web
|
5004
|
+
# Services Cloud. By default, metrics are forwarded to the cloud.
|
5005
|
+
#
|
5006
|
+
# @note When making an API call, you may pass MetricProcessingConfig
|
5007
|
+
# data as a hash:
|
5008
|
+
#
|
5009
|
+
# {
|
5010
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
5011
|
+
# }
|
5012
|
+
#
|
5013
|
+
# @!attribute [rw] compute_location
|
5014
|
+
# The compute location for the given metric property.
|
5015
|
+
# @return [String]
|
5016
|
+
#
|
5017
|
+
class MetricProcessingConfig < Struct.new(
|
5018
|
+
:compute_location)
|
4726
5019
|
SENSITIVE = []
|
4727
5020
|
include Aws::Structure
|
4728
5021
|
end
|
@@ -4736,6 +5029,7 @@ module Aws::IoTSiteWise
|
|
4736
5029
|
# {
|
4737
5030
|
# tumbling: {
|
4738
5031
|
# interval: "Interval", # required
|
5032
|
+
# offset: "Offset",
|
4739
5033
|
# },
|
4740
5034
|
# }
|
4741
5035
|
#
|
@@ -5025,6 +5319,11 @@ module Aws::IoTSiteWise
|
|
5025
5319
|
# default_value: "DefaultValue",
|
5026
5320
|
# },
|
5027
5321
|
# measurement: {
|
5322
|
+
# processing_config: {
|
5323
|
+
# forwarding_config: { # required
|
5324
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
5325
|
+
# },
|
5326
|
+
# },
|
5028
5327
|
# },
|
5029
5328
|
# transform: {
|
5030
5329
|
# expression: "Expression", # required
|
@@ -5037,6 +5336,12 @@ module Aws::IoTSiteWise
|
|
5037
5336
|
# },
|
5038
5337
|
# },
|
5039
5338
|
# ],
|
5339
|
+
# processing_config: {
|
5340
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
5341
|
+
# forwarding_config: {
|
5342
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
5343
|
+
# },
|
5344
|
+
# },
|
5040
5345
|
# },
|
5041
5346
|
# metric: {
|
5042
5347
|
# expression: "Expression", # required
|
@@ -5052,8 +5357,12 @@ module Aws::IoTSiteWise
|
|
5052
5357
|
# window: { # required
|
5053
5358
|
# tumbling: {
|
5054
5359
|
# interval: "Interval", # required
|
5360
|
+
# offset: "Offset",
|
5055
5361
|
# },
|
5056
5362
|
# },
|
5363
|
+
# processing_config: {
|
5364
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
5365
|
+
# },
|
5057
5366
|
# },
|
5058
5367
|
# }
|
5059
5368
|
#
|
@@ -5510,6 +5819,12 @@ module Aws::IoTSiteWise
|
|
5510
5819
|
# },
|
5511
5820
|
# },
|
5512
5821
|
# ],
|
5822
|
+
# processing_config: {
|
5823
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
5824
|
+
# forwarding_config: {
|
5825
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
5826
|
+
# },
|
5827
|
+
# },
|
5513
5828
|
# }
|
5514
5829
|
#
|
5515
5830
|
# @!attribute [rw] expression
|
@@ -5529,31 +5844,83 @@ module Aws::IoTSiteWise
|
|
5529
5844
|
# The list of variables used in the expression.
|
5530
5845
|
# @return [Array<Types::ExpressionVariable>]
|
5531
5846
|
#
|
5847
|
+
# @!attribute [rw] processing_config
|
5848
|
+
# The processing configuration for the given transform property. You
|
5849
|
+
# can configure transforms to be kept at the edge or forwarded to the
|
5850
|
+
# Amazon Web Services Cloud. You can also configure transforms to be
|
5851
|
+
# computed at the edge or in the cloud.
|
5852
|
+
# @return [Types::TransformProcessingConfig]
|
5853
|
+
#
|
5532
5854
|
class Transform < Struct.new(
|
5533
5855
|
:expression,
|
5534
|
-
:variables
|
5856
|
+
:variables,
|
5857
|
+
:processing_config)
|
5858
|
+
SENSITIVE = []
|
5859
|
+
include Aws::Structure
|
5860
|
+
end
|
5861
|
+
|
5862
|
+
# The processing configuration for the given transform property. You can
|
5863
|
+
# configure transforms to be kept at the edge or forwarded to the Amazon
|
5864
|
+
# Web Services Cloud. You can also configure transforms to be computed
|
5865
|
+
# at the edge or in the cloud.
|
5866
|
+
#
|
5867
|
+
# @note When making an API call, you may pass TransformProcessingConfig
|
5868
|
+
# data as a hash:
|
5869
|
+
#
|
5870
|
+
# {
|
5871
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
5872
|
+
# forwarding_config: {
|
5873
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
5874
|
+
# },
|
5875
|
+
# }
|
5876
|
+
#
|
5877
|
+
# @!attribute [rw] compute_location
|
5878
|
+
# The compute location for the given transform property.
|
5879
|
+
# @return [String]
|
5880
|
+
#
|
5881
|
+
# @!attribute [rw] forwarding_config
|
5882
|
+
# The forwarding configuration for a given property.
|
5883
|
+
# @return [Types::ForwardingConfig]
|
5884
|
+
#
|
5885
|
+
class TransformProcessingConfig < Struct.new(
|
5886
|
+
:compute_location,
|
5887
|
+
:forwarding_config)
|
5535
5888
|
SENSITIVE = []
|
5536
5889
|
include Aws::Structure
|
5537
5890
|
end
|
5538
5891
|
|
5539
5892
|
# Contains a tumbling window, which is a repeating fixed-sized,
|
5540
|
-
# non-overlapping, and contiguous time
|
5541
|
-
#
|
5893
|
+
# non-overlapping, and contiguous time window. You use this window in
|
5894
|
+
# metrics to aggregate data from properties and other assets.
|
5895
|
+
#
|
5896
|
+
# You can use `m`, `h`, `d`, and `w` when you specify an interval or
|
5897
|
+
# offset. Note that `m` represents minutes, and `w` represents weeks.
|
5898
|
+
# You can also use `s` to represent seconds in `offset`.
|
5899
|
+
#
|
5900
|
+
# The `interval` and `offset` parameters support the [ISO 8601
|
5901
|
+
# format][1]. For example, `PT5S` represents five seconds, `PT5M`
|
5902
|
+
# represents five minutes, and `PT5H` represents five hours.
|
5903
|
+
#
|
5904
|
+
#
|
5905
|
+
#
|
5906
|
+
# [1]: https://en.wikipedia.org/wiki/ISO_8601
|
5542
5907
|
#
|
5543
5908
|
# @note When making an API call, you may pass TumblingWindow
|
5544
5909
|
# data as a hash:
|
5545
5910
|
#
|
5546
5911
|
# {
|
5547
5912
|
# interval: "Interval", # required
|
5913
|
+
# offset: "Offset",
|
5548
5914
|
# }
|
5549
5915
|
#
|
5550
5916
|
# @!attribute [rw] interval
|
5551
|
-
# The time interval for the tumbling window.
|
5552
|
-
#
|
5553
|
-
#
|
5554
|
-
#
|
5555
|
-
#
|
5556
|
-
# and so
|
5917
|
+
# The time interval for the tumbling window. The interval time must be
|
5918
|
+
# between 1 minute and 1 week.
|
5919
|
+
#
|
5920
|
+
# IoT SiteWise computes the `1w` interval the end of Sunday at
|
5921
|
+
# midnight each week (UTC), the `1d` interval at the end of each day
|
5922
|
+
# at midnight (UTC), the `1h` interval at the end of each hour, and so
|
5923
|
+
# on.
|
5557
5924
|
#
|
5558
5925
|
# When IoT SiteWise aggregates data points for metric computations,
|
5559
5926
|
# the start of each interval is exclusive and the end of each interval
|
@@ -5561,8 +5928,60 @@ module Aws::IoTSiteWise
|
|
5561
5928
|
# of the interval.
|
5562
5929
|
# @return [String]
|
5563
5930
|
#
|
5931
|
+
# @!attribute [rw] offset
|
5932
|
+
# The offset for the tumbling window. The `offset` parameter accepts
|
5933
|
+
# the following:
|
5934
|
+
#
|
5935
|
+
# * The offset time.
|
5936
|
+
#
|
5937
|
+
# For example, if you specify `18h` for `offset` and `1d` for
|
5938
|
+
# `interval`, IoT SiteWise aggregates data in one of the following
|
5939
|
+
# ways:
|
5940
|
+
#
|
5941
|
+
# * If you create the metric before or at 6:00 PM (UTC), you get the
|
5942
|
+
# first aggregation result at 6 PM (UTC) on the day when you
|
5943
|
+
# create the metric.
|
5944
|
+
#
|
5945
|
+
# * If you create the metric after 6:00 PM (UTC), you get the first
|
5946
|
+
# aggregation result at 6 PM (UTC) the next day.
|
5947
|
+
#
|
5948
|
+
# * The ISO 8601 format.
|
5949
|
+
#
|
5950
|
+
# For example, if you specify `PT18H` for `offset` and `1d` for
|
5951
|
+
# `interval`, IoT SiteWise aggregates data in one of the following
|
5952
|
+
# ways:
|
5953
|
+
#
|
5954
|
+
# * If you create the metric before or at 6:00 PM (UTC), you get the
|
5955
|
+
# first aggregation result at 6 PM (UTC) on the day when you
|
5956
|
+
# create the metric.
|
5957
|
+
#
|
5958
|
+
# * If you create the metric after 6:00 PM (UTC), you get the first
|
5959
|
+
# aggregation result at 6 PM (UTC) the next day.
|
5960
|
+
#
|
5961
|
+
# * The 24-hour clock.
|
5962
|
+
#
|
5963
|
+
# For example, if you specify `00:03:00` for `offset` and `5m` for
|
5964
|
+
# `interval`, and you create the metric at 2 PM (UTC), you get the
|
5965
|
+
# first aggregation result at 2:03 PM (UTC). You get the second
|
5966
|
+
# aggregation result at 2:08 PM (UTC).
|
5967
|
+
#
|
5968
|
+
# * The offset time zone.
|
5969
|
+
#
|
5970
|
+
# For example, if you specify `2021-07-23T18:00-08` for `offset` and
|
5971
|
+
# `1d` for `interval`, IoT SiteWise aggregates data in one of the
|
5972
|
+
# following ways:
|
5973
|
+
#
|
5974
|
+
# * If you create the metric before or at 6:00 PM (PST), you get the
|
5975
|
+
# first aggregation result at 6 PM (PST) on the day when you
|
5976
|
+
# create the metric.
|
5977
|
+
#
|
5978
|
+
# * If you create the metric after 6:00 PM (PST), you get the first
|
5979
|
+
# aggregation result at 6 PM (PST) the next day.
|
5980
|
+
# @return [String]
|
5981
|
+
#
|
5564
5982
|
class TumblingWindow < Struct.new(
|
5565
|
-
:interval
|
5983
|
+
:interval,
|
5984
|
+
:offset)
|
5566
5985
|
SENSITIVE = []
|
5567
5986
|
include Aws::Structure
|
5568
5987
|
end
|
@@ -5697,6 +6116,11 @@ module Aws::IoTSiteWise
|
|
5697
6116
|
# default_value: "DefaultValue",
|
5698
6117
|
# },
|
5699
6118
|
# measurement: {
|
6119
|
+
# processing_config: {
|
6120
|
+
# forwarding_config: { # required
|
6121
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
6122
|
+
# },
|
6123
|
+
# },
|
5700
6124
|
# },
|
5701
6125
|
# transform: {
|
5702
6126
|
# expression: "Expression", # required
|
@@ -5709,6 +6133,12 @@ module Aws::IoTSiteWise
|
|
5709
6133
|
# },
|
5710
6134
|
# },
|
5711
6135
|
# ],
|
6136
|
+
# processing_config: {
|
6137
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
6138
|
+
# forwarding_config: {
|
6139
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
6140
|
+
# },
|
6141
|
+
# },
|
5712
6142
|
# },
|
5713
6143
|
# metric: {
|
5714
6144
|
# expression: "Expression", # required
|
@@ -5724,8 +6154,12 @@ module Aws::IoTSiteWise
|
|
5724
6154
|
# window: { # required
|
5725
6155
|
# tumbling: {
|
5726
6156
|
# interval: "Interval", # required
|
6157
|
+
# offset: "Offset",
|
5727
6158
|
# },
|
5728
6159
|
# },
|
6160
|
+
# processing_config: {
|
6161
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
6162
|
+
# },
|
5729
6163
|
# },
|
5730
6164
|
# },
|
5731
6165
|
# },
|
@@ -5754,6 +6188,11 @@ module Aws::IoTSiteWise
|
|
5754
6188
|
# default_value: "DefaultValue",
|
5755
6189
|
# },
|
5756
6190
|
# measurement: {
|
6191
|
+
# processing_config: {
|
6192
|
+
# forwarding_config: { # required
|
6193
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
6194
|
+
# },
|
6195
|
+
# },
|
5757
6196
|
# },
|
5758
6197
|
# transform: {
|
5759
6198
|
# expression: "Expression", # required
|
@@ -5766,6 +6205,12 @@ module Aws::IoTSiteWise
|
|
5766
6205
|
# },
|
5767
6206
|
# },
|
5768
6207
|
# ],
|
6208
|
+
# processing_config: {
|
6209
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
6210
|
+
# forwarding_config: {
|
6211
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
6212
|
+
# },
|
6213
|
+
# },
|
5769
6214
|
# },
|
5770
6215
|
# metric: {
|
5771
6216
|
# expression: "Expression", # required
|
@@ -5781,8 +6226,12 @@ module Aws::IoTSiteWise
|
|
5781
6226
|
# window: { # required
|
5782
6227
|
# tumbling: {
|
5783
6228
|
# interval: "Interval", # required
|
6229
|
+
# offset: "Offset",
|
5784
6230
|
# },
|
5785
6231
|
# },
|
6232
|
+
# processing_config: {
|
6233
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
6234
|
+
# },
|
5786
6235
|
# },
|
5787
6236
|
# },
|
5788
6237
|
# },
|