aws-sdk-iotsitewise 1.25.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -222,7 +231,9 @@ module Aws::IoTSiteWise
222
231
  MaxInterpolatedResults = Shapes::IntegerShape.new(name: 'MaxInterpolatedResults')
223
232
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
224
233
  Measurement = Shapes::StructureShape.new(name: 'Measurement')
234
+ MeasurementProcessingConfig = Shapes::StructureShape.new(name: 'MeasurementProcessingConfig')
225
235
  Metric = Shapes::StructureShape.new(name: 'Metric')
236
+ MetricProcessingConfig = Shapes::StructureShape.new(name: 'MetricProcessingConfig')
226
237
  MetricWindow = Shapes::StructureShape.new(name: 'MetricWindow')
227
238
  MonitorErrorCode = Shapes::StringShape.new(name: 'MonitorErrorCode')
228
239
  MonitorErrorDetails = Shapes::StructureShape.new(name: 'MonitorErrorDetails')
@@ -230,6 +241,7 @@ module Aws::IoTSiteWise
230
241
  MultiLayerStorage = Shapes::StructureShape.new(name: 'MultiLayerStorage')
231
242
  Name = Shapes::StringShape.new(name: 'Name')
232
243
  NextToken = Shapes::StringShape.new(name: 'NextToken')
244
+ Offset = Shapes::StringShape.new(name: 'Offset')
233
245
  OffsetInNanos = Shapes::IntegerShape.new(name: 'OffsetInNanos')
234
246
  Permission = Shapes::StringShape.new(name: 'Permission')
235
247
  PortalClientId = Shapes::StringShape.new(name: 'PortalClientId')
@@ -287,6 +299,7 @@ module Aws::IoTSiteWise
287
299
  Timestamps = Shapes::ListShape.new(name: 'Timestamps')
288
300
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
289
301
  Transform = Shapes::StructureShape.new(name: 'Transform')
302
+ TransformProcessingConfig = Shapes::StructureShape.new(name: 'TransformProcessingConfig')
290
303
  TraversalDirection = Shapes::StringShape.new(name: 'TraversalDirection')
291
304
  TraversalType = Shapes::StringShape.new(name: 'TraversalType')
292
305
  TumblingWindow = Shapes::StructureShape.new(name: 'TumblingWindow')
@@ -836,6 +849,12 @@ module Aws::IoTSiteWise
836
849
  DescribeStorageConfigurationResponse.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateDate"))
837
850
  DescribeStorageConfigurationResponse.struct_class = Types::DescribeStorageConfigurationResponse
838
851
 
852
+ DetailedError.add_member(:code, Shapes::ShapeRef.new(shape: DetailedErrorCode, required: true, location_name: "code"))
853
+ DetailedError.add_member(:message, Shapes::ShapeRef.new(shape: DetailedErrorMessage, required: true, location_name: "message"))
854
+ DetailedError.struct_class = Types::DetailedError
855
+
856
+ DetailedErrors.member = Shapes::ShapeRef.new(shape: DetailedError)
857
+
839
858
  DisassociateAssetsRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
840
859
  DisassociateAssetsRequest.add_member(:hierarchy_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "hierarchyId"))
841
860
  DisassociateAssetsRequest.add_member(:child_asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "childAssetId"))
@@ -844,6 +863,7 @@ module Aws::IoTSiteWise
844
863
 
845
864
  ErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
846
865
  ErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
866
+ ErrorDetails.add_member(:details, Shapes::ShapeRef.new(shape: DetailedErrors, location_name: "details"))
847
867
  ErrorDetails.struct_class = Types::ErrorDetails
848
868
 
849
869
  ExpressionVariable.add_member(:name, Shapes::ShapeRef.new(shape: VariableName, required: true, location_name: "name"))
@@ -852,19 +872,24 @@ module Aws::IoTSiteWise
852
872
 
853
873
  ExpressionVariables.member = Shapes::ShapeRef.new(shape: ExpressionVariable)
854
874
 
875
+ ForwardingConfig.add_member(:state, Shapes::ShapeRef.new(shape: ForwardingConfigState, required: true, location_name: "state"))
876
+ ForwardingConfig.struct_class = Types::ForwardingConfig
877
+
855
878
  GatewayCapabilitySummaries.member = Shapes::ShapeRef.new(shape: GatewayCapabilitySummary)
856
879
 
857
880
  GatewayCapabilitySummary.add_member(:capability_namespace, Shapes::ShapeRef.new(shape: CapabilityNamespace, required: true, location_name: "capabilityNamespace"))
858
881
  GatewayCapabilitySummary.add_member(:capability_sync_status, Shapes::ShapeRef.new(shape: CapabilitySyncStatus, required: true, location_name: "capabilitySyncStatus"))
859
882
  GatewayCapabilitySummary.struct_class = Types::GatewayCapabilitySummary
860
883
 
861
- GatewayPlatform.add_member(:greengrass, Shapes::ShapeRef.new(shape: Greengrass, required: true, location_name: "greengrass"))
884
+ GatewayPlatform.add_member(:greengrass, Shapes::ShapeRef.new(shape: Greengrass, location_name: "greengrass"))
885
+ GatewayPlatform.add_member(:greengrass_v2, Shapes::ShapeRef.new(shape: GreengrassV2, location_name: "greengrassV2"))
862
886
  GatewayPlatform.struct_class = Types::GatewayPlatform
863
887
 
864
888
  GatewaySummaries.member = Shapes::ShapeRef.new(shape: GatewaySummary)
865
889
 
866
890
  GatewaySummary.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "gatewayId"))
867
891
  GatewaySummary.add_member(:gateway_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "gatewayName"))
892
+ GatewaySummary.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, location_name: "gatewayPlatform"))
868
893
  GatewaySummary.add_member(:gateway_capability_summaries, Shapes::ShapeRef.new(shape: GatewayCapabilitySummaries, location_name: "gatewayCapabilitySummaries"))
869
894
  GatewaySummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
870
895
  GatewaySummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
@@ -931,6 +956,9 @@ module Aws::IoTSiteWise
931
956
  Greengrass.add_member(:group_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "groupArn"))
932
957
  Greengrass.struct_class = Types::Greengrass
933
958
 
959
+ GreengrassV2.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location_name: "coreDeviceThingName"))
960
+ GreengrassV2.struct_class = Types::GreengrassV2
961
+
934
962
  GroupIdentity.add_member(:id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "id"))
935
963
  GroupIdentity.struct_class = Types::GroupIdentity
936
964
 
@@ -1079,13 +1107,21 @@ module Aws::IoTSiteWise
1079
1107
  LoggingOptions.add_member(:level, Shapes::ShapeRef.new(shape: LoggingLevel, required: true, location_name: "level"))
1080
1108
  LoggingOptions.struct_class = Types::LoggingOptions
1081
1109
 
1110
+ Measurement.add_member(:processing_config, Shapes::ShapeRef.new(shape: MeasurementProcessingConfig, location_name: "processingConfig"))
1082
1111
  Measurement.struct_class = Types::Measurement
1083
1112
 
1113
+ MeasurementProcessingConfig.add_member(:forwarding_config, Shapes::ShapeRef.new(shape: ForwardingConfig, required: true, location_name: "forwardingConfig"))
1114
+ MeasurementProcessingConfig.struct_class = Types::MeasurementProcessingConfig
1115
+
1084
1116
  Metric.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "expression"))
1085
1117
  Metric.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables, required: true, location_name: "variables"))
1086
1118
  Metric.add_member(:window, Shapes::ShapeRef.new(shape: MetricWindow, required: true, location_name: "window"))
1119
+ Metric.add_member(:processing_config, Shapes::ShapeRef.new(shape: MetricProcessingConfig, location_name: "processingConfig"))
1087
1120
  Metric.struct_class = Types::Metric
1088
1121
 
1122
+ MetricProcessingConfig.add_member(:compute_location, Shapes::ShapeRef.new(shape: ComputeLocation, required: true, location_name: "computeLocation"))
1123
+ MetricProcessingConfig.struct_class = Types::MetricProcessingConfig
1124
+
1089
1125
  MetricWindow.add_member(:tumbling, Shapes::ShapeRef.new(shape: TumblingWindow, location_name: "tumbling"))
1090
1126
  MetricWindow.struct_class = Types::MetricWindow
1091
1127
 
@@ -1221,9 +1257,15 @@ module Aws::IoTSiteWise
1221
1257
 
1222
1258
  Transform.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "expression"))
1223
1259
  Transform.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables, required: true, location_name: "variables"))
1260
+ Transform.add_member(:processing_config, Shapes::ShapeRef.new(shape: TransformProcessingConfig, location_name: "processingConfig"))
1224
1261
  Transform.struct_class = Types::Transform
1225
1262
 
1263
+ TransformProcessingConfig.add_member(:compute_location, Shapes::ShapeRef.new(shape: ComputeLocation, required: true, location_name: "computeLocation"))
1264
+ TransformProcessingConfig.add_member(:forwarding_config, Shapes::ShapeRef.new(shape: ForwardingConfig, location_name: "forwardingConfig"))
1265
+ TransformProcessingConfig.struct_class = Types::TransformProcessingConfig
1266
+
1226
1267
  TumblingWindow.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, required: true, location_name: "interval"))
1268
+ TumblingWindow.add_member(:offset, Shapes::ShapeRef.new(shape: Offset, location_name: "offset"))
1227
1269
  TumblingWindow.struct_class = Types::TumblingWindow
1228
1270
 
1229
1271
  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: { # required
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: { # required
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)
@@ -3766,6 +3913,35 @@ module Aws::IoTSiteWise
3766
3913
  include Aws::Structure
3767
3914
  end
3768
3915
 
3916
+ # Contains details for a gateway that runs on IoT Greengrass V2. To
3917
+ # create a gateway that runs on IoT Greengrass V2, you must deploy the
3918
+ # IoT SiteWise Edge component to your gateway device. Your [Greengrass
3919
+ # device role][1] must use the `AWSIoTSiteWiseEdgeAccess` policy. For
3920
+ # more information, see [Using IoT SiteWise at the edge][2] in the *IoT
3921
+ # SiteWise User Guide*.
3922
+ #
3923
+ #
3924
+ #
3925
+ # [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/device-service-role.html
3926
+ # [2]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/sw-gateways.html
3927
+ #
3928
+ # @note When making an API call, you may pass GreengrassV2
3929
+ # data as a hash:
3930
+ #
3931
+ # {
3932
+ # core_device_thing_name: "CoreDeviceThingName", # required
3933
+ # }
3934
+ #
3935
+ # @!attribute [rw] core_device_thing_name
3936
+ # The name of the IoT thing for your IoT Greengrass V2 core device.
3937
+ # @return [String]
3938
+ #
3939
+ class GreengrassV2 < Struct.new(
3940
+ :core_device_thing_name)
3941
+ SENSITIVE = []
3942
+ include Aws::Structure
3943
+ end
3944
+
3769
3945
  # Contains information for a group identity in an access policy.
3770
3946
  #
3771
3947
  # @note When making an API call, you may pass GroupIdentity
@@ -4653,9 +4829,53 @@ module Aws::IoTSiteWise
4653
4829
  #
4654
4830
  # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#measurements
4655
4831
  #
4656
- # @api private
4832
+ # @note When making an API call, you may pass Measurement
4833
+ # data as a hash:
4657
4834
  #
4658
- class Measurement < Aws::EmptyStructure; end
4835
+ # {
4836
+ # processing_config: {
4837
+ # forwarding_config: { # required
4838
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
4839
+ # },
4840
+ # },
4841
+ # }
4842
+ #
4843
+ # @!attribute [rw] processing_config
4844
+ # The processing configuration for the given measurement property. You
4845
+ # can configure measurements to be kept at the edge or forwarded to
4846
+ # the Amazon Web Services Cloud. By default, measurements are
4847
+ # forwarded to the cloud.
4848
+ # @return [Types::MeasurementProcessingConfig]
4849
+ #
4850
+ class Measurement < Struct.new(
4851
+ :processing_config)
4852
+ SENSITIVE = []
4853
+ include Aws::Structure
4854
+ end
4855
+
4856
+ # The processing configuration for the given measurement property. You
4857
+ # can configure measurements to be kept at the edge or forwarded to the
4858
+ # Amazon Web Services Cloud. By default, measurements are forwarded to
4859
+ # the cloud.
4860
+ #
4861
+ # @note When making an API call, you may pass MeasurementProcessingConfig
4862
+ # data as a hash:
4863
+ #
4864
+ # {
4865
+ # forwarding_config: { # required
4866
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
4867
+ # },
4868
+ # }
4869
+ #
4870
+ # @!attribute [rw] forwarding_config
4871
+ # The forwarding configuration for the given measurement property.
4872
+ # @return [Types::ForwardingConfig]
4873
+ #
4874
+ class MeasurementProcessingConfig < Struct.new(
4875
+ :forwarding_config)
4876
+ SENSITIVE = []
4877
+ include Aws::Structure
4878
+ end
4659
4879
 
4660
4880
  # Contains an asset metric property. With metrics, you can calculate
4661
4881
  # aggregate functions, such as an average, maximum, or minimum, as
@@ -4692,8 +4912,12 @@ module Aws::IoTSiteWise
4692
4912
  # window: { # required
4693
4913
  # tumbling: {
4694
4914
  # interval: "Interval", # required
4915
+ # offset: "Offset",
4695
4916
  # },
4696
4917
  # },
4918
+ # processing_config: {
4919
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
4920
+ # },
4697
4921
  # }
4698
4922
  #
4699
4923
  # @!attribute [rw] expression
@@ -4719,10 +4943,38 @@ module Aws::IoTSiteWise
4719
4943
  # point per `window`.
4720
4944
  # @return [Types::MetricWindow]
4721
4945
  #
4946
+ # @!attribute [rw] processing_config
4947
+ # The processing configuration for the given metric property. You can
4948
+ # configure metrics to be computed at the edge or in the Amazon Web
4949
+ # Services Cloud. By default, metrics are forwarded to the cloud.
4950
+ # @return [Types::MetricProcessingConfig]
4951
+ #
4722
4952
  class Metric < Struct.new(
4723
4953
  :expression,
4724
4954
  :variables,
4725
- :window)
4955
+ :window,
4956
+ :processing_config)
4957
+ SENSITIVE = []
4958
+ include Aws::Structure
4959
+ end
4960
+
4961
+ # The processing configuration for the given metric property. You can
4962
+ # configure metrics to be computed at the edge or in the Amazon Web
4963
+ # Services Cloud. By default, metrics are forwarded to the cloud.
4964
+ #
4965
+ # @note When making an API call, you may pass MetricProcessingConfig
4966
+ # data as a hash:
4967
+ #
4968
+ # {
4969
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
4970
+ # }
4971
+ #
4972
+ # @!attribute [rw] compute_location
4973
+ # The compute location for the given metric property.
4974
+ # @return [String]
4975
+ #
4976
+ class MetricProcessingConfig < Struct.new(
4977
+ :compute_location)
4726
4978
  SENSITIVE = []
4727
4979
  include Aws::Structure
4728
4980
  end
@@ -4736,6 +4988,7 @@ module Aws::IoTSiteWise
4736
4988
  # {
4737
4989
  # tumbling: {
4738
4990
  # interval: "Interval", # required
4991
+ # offset: "Offset",
4739
4992
  # },
4740
4993
  # }
4741
4994
  #
@@ -5025,6 +5278,11 @@ module Aws::IoTSiteWise
5025
5278
  # default_value: "DefaultValue",
5026
5279
  # },
5027
5280
  # measurement: {
5281
+ # processing_config: {
5282
+ # forwarding_config: { # required
5283
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
5284
+ # },
5285
+ # },
5028
5286
  # },
5029
5287
  # transform: {
5030
5288
  # expression: "Expression", # required
@@ -5037,6 +5295,12 @@ module Aws::IoTSiteWise
5037
5295
  # },
5038
5296
  # },
5039
5297
  # ],
5298
+ # processing_config: {
5299
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
5300
+ # forwarding_config: {
5301
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
5302
+ # },
5303
+ # },
5040
5304
  # },
5041
5305
  # metric: {
5042
5306
  # expression: "Expression", # required
@@ -5052,8 +5316,12 @@ module Aws::IoTSiteWise
5052
5316
  # window: { # required
5053
5317
  # tumbling: {
5054
5318
  # interval: "Interval", # required
5319
+ # offset: "Offset",
5055
5320
  # },
5056
5321
  # },
5322
+ # processing_config: {
5323
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
5324
+ # },
5057
5325
  # },
5058
5326
  # }
5059
5327
  #
@@ -5510,6 +5778,12 @@ module Aws::IoTSiteWise
5510
5778
  # },
5511
5779
  # },
5512
5780
  # ],
5781
+ # processing_config: {
5782
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
5783
+ # forwarding_config: {
5784
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
5785
+ # },
5786
+ # },
5513
5787
  # }
5514
5788
  #
5515
5789
  # @!attribute [rw] expression
@@ -5529,31 +5803,83 @@ module Aws::IoTSiteWise
5529
5803
  # The list of variables used in the expression.
5530
5804
  # @return [Array<Types::ExpressionVariable>]
5531
5805
  #
5806
+ # @!attribute [rw] processing_config
5807
+ # The processing configuration for the given transform property. You
5808
+ # can configure transforms to be kept at the edge or forwarded to the
5809
+ # Amazon Web Services Cloud. You can also configure transforms to be
5810
+ # computed at the edge or in the cloud.
5811
+ # @return [Types::TransformProcessingConfig]
5812
+ #
5532
5813
  class Transform < Struct.new(
5533
5814
  :expression,
5534
- :variables)
5815
+ :variables,
5816
+ :processing_config)
5817
+ SENSITIVE = []
5818
+ include Aws::Structure
5819
+ end
5820
+
5821
+ # The processing configuration for the given transform property. You can
5822
+ # configure transforms to be kept at the edge or forwarded to the Amazon
5823
+ # Web Services Cloud. You can also configure transforms to be computed
5824
+ # at the edge or in the cloud.
5825
+ #
5826
+ # @note When making an API call, you may pass TransformProcessingConfig
5827
+ # data as a hash:
5828
+ #
5829
+ # {
5830
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
5831
+ # forwarding_config: {
5832
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
5833
+ # },
5834
+ # }
5835
+ #
5836
+ # @!attribute [rw] compute_location
5837
+ # The compute location for the given transform property.
5838
+ # @return [String]
5839
+ #
5840
+ # @!attribute [rw] forwarding_config
5841
+ # The forwarding configuration for a given property.
5842
+ # @return [Types::ForwardingConfig]
5843
+ #
5844
+ class TransformProcessingConfig < Struct.new(
5845
+ :compute_location,
5846
+ :forwarding_config)
5535
5847
  SENSITIVE = []
5536
5848
  include Aws::Structure
5537
5849
  end
5538
5850
 
5539
5851
  # Contains a tumbling window, which is a repeating fixed-sized,
5540
- # non-overlapping, and contiguous time interval. This window is used in
5541
- # metric and aggregation computations.
5852
+ # non-overlapping, and contiguous time window. You use this window in
5853
+ # metrics to aggregate data from properties and other assets.
5854
+ #
5855
+ # You can use `m`, `h`, `d`, and `w` when you specify an interval or
5856
+ # offset. Note that `m` represents minutes, and `w` represents weeks.
5857
+ # You can also use `s` to represent seconds in `offset`.
5858
+ #
5859
+ # The `interval` and `offset` parameters support the [ISO 8601
5860
+ # format][1]. For example, `PT5S` represents five seconds, `PT5M`
5861
+ # represents five minutes, and `PT5H` represents five hours.
5862
+ #
5863
+ #
5864
+ #
5865
+ # [1]: https://en.wikipedia.org/wiki/ISO_8601
5542
5866
  #
5543
5867
  # @note When making an API call, you may pass TumblingWindow
5544
5868
  # data as a hash:
5545
5869
  #
5546
5870
  # {
5547
5871
  # interval: "Interval", # required
5872
+ # offset: "Offset",
5548
5873
  # }
5549
5874
  #
5550
5875
  # @!attribute [rw] interval
5551
- # The time interval for the tumbling window. Note that `w` represents
5552
- # weeks, `d` represents days, `h` represents hours, and `m` represents
5553
- # minutes. IoT SiteWise computes the `1w` interval the end of Sunday
5554
- # at midnight each week (UTC), the `1d` interval at the end of each
5555
- # day at midnight (UTC), the `1h` interval at the end of each hour,
5556
- # and so on.
5876
+ # The time interval for the tumbling window. The interval time must be
5877
+ # between 1 minute and 1 week.
5878
+ #
5879
+ # IoT SiteWise computes the `1w` interval the end of Sunday at
5880
+ # midnight each week (UTC), the `1d` interval at the end of each day
5881
+ # at midnight (UTC), the `1h` interval at the end of each hour, and so
5882
+ # on.
5557
5883
  #
5558
5884
  # When IoT SiteWise aggregates data points for metric computations,
5559
5885
  # the start of each interval is exclusive and the end of each interval
@@ -5561,8 +5887,60 @@ module Aws::IoTSiteWise
5561
5887
  # of the interval.
5562
5888
  # @return [String]
5563
5889
  #
5890
+ # @!attribute [rw] offset
5891
+ # The offset for the tumbling window. The `offset` parameter accepts
5892
+ # the following:
5893
+ #
5894
+ # * The offset time.
5895
+ #
5896
+ # For example, if you specify `18h` for `offset` and `1d` for
5897
+ # `interval`, IoT SiteWise aggregates data in one of the following
5898
+ # ways:
5899
+ #
5900
+ # * If you create the metric before or at 6:00 p.m. (UTC), you get
5901
+ # the first aggregation result at 6 p.m. (UTC) on the day when you
5902
+ # create the metric.
5903
+ #
5904
+ # * If you create the metric after 6:00 p.m. (UTC), you get the
5905
+ # first aggregation result at 6 p.m. (UTC) the next day.
5906
+ #
5907
+ # * The ISO 8601 format.
5908
+ #
5909
+ # For example, if you specify `PT18H` for `offset` and `1d` for
5910
+ # `interval`, IoT SiteWise aggregates data in one of the following
5911
+ # ways:
5912
+ #
5913
+ # * If you create the metric before or at 6:00 p.m. (UTC), you get
5914
+ # the first aggregation result at 6 p.m. (UTC) on the day when you
5915
+ # create the metric.
5916
+ #
5917
+ # * If you create the metric after 6:00 p.m. (UTC), you get the
5918
+ # first aggregation result at 6 p.m. (UTC) the next day.
5919
+ #
5920
+ # * The 24-hour clock.
5921
+ #
5922
+ # For example, if you specify `00:03:00` for `offset` and `5m` for
5923
+ # `interval`, and you create the metric at 2 p.m. (UTC), you get the
5924
+ # first aggregation result at 2:03 p.m. (UTC). You get the second
5925
+ # aggregation result at 2:08 p.m. (UTC).
5926
+ #
5927
+ # * The offset time zone.
5928
+ #
5929
+ # For example, if you specify `2021-07-23T18:00-08` for `offset` and
5930
+ # `1d` for `interval`, IoT SiteWise aggregates data in one of the
5931
+ # following ways:
5932
+ #
5933
+ # * If you create the metric before or at 6:00 p.m. (PST), you get
5934
+ # the first aggregation result at 6 p.m. (PST) on the day when you
5935
+ # create the metric.
5936
+ #
5937
+ # * If you create the metric after 6:00 p.m. (PST), you get the
5938
+ # first aggregation result at 6 p.m. (PST) the next day.
5939
+ # @return [String]
5940
+ #
5564
5941
  class TumblingWindow < Struct.new(
5565
- :interval)
5942
+ :interval,
5943
+ :offset)
5566
5944
  SENSITIVE = []
5567
5945
  include Aws::Structure
5568
5946
  end
@@ -5697,6 +6075,11 @@ module Aws::IoTSiteWise
5697
6075
  # default_value: "DefaultValue",
5698
6076
  # },
5699
6077
  # measurement: {
6078
+ # processing_config: {
6079
+ # forwarding_config: { # required
6080
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
6081
+ # },
6082
+ # },
5700
6083
  # },
5701
6084
  # transform: {
5702
6085
  # expression: "Expression", # required
@@ -5709,6 +6092,12 @@ module Aws::IoTSiteWise
5709
6092
  # },
5710
6093
  # },
5711
6094
  # ],
6095
+ # processing_config: {
6096
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
6097
+ # forwarding_config: {
6098
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
6099
+ # },
6100
+ # },
5712
6101
  # },
5713
6102
  # metric: {
5714
6103
  # expression: "Expression", # required
@@ -5724,8 +6113,12 @@ module Aws::IoTSiteWise
5724
6113
  # window: { # required
5725
6114
  # tumbling: {
5726
6115
  # interval: "Interval", # required
6116
+ # offset: "Offset",
5727
6117
  # },
5728
6118
  # },
6119
+ # processing_config: {
6120
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
6121
+ # },
5729
6122
  # },
5730
6123
  # },
5731
6124
  # },
@@ -5754,6 +6147,11 @@ module Aws::IoTSiteWise
5754
6147
  # default_value: "DefaultValue",
5755
6148
  # },
5756
6149
  # measurement: {
6150
+ # processing_config: {
6151
+ # forwarding_config: { # required
6152
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
6153
+ # },
6154
+ # },
5757
6155
  # },
5758
6156
  # transform: {
5759
6157
  # expression: "Expression", # required
@@ -5766,6 +6164,12 @@ module Aws::IoTSiteWise
5766
6164
  # },
5767
6165
  # },
5768
6166
  # ],
6167
+ # processing_config: {
6168
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
6169
+ # forwarding_config: {
6170
+ # state: "DISABLED", # required, accepts DISABLED, ENABLED
6171
+ # },
6172
+ # },
5769
6173
  # },
5770
6174
  # metric: {
5771
6175
  # expression: "Expression", # required
@@ -5781,8 +6185,12 @@ module Aws::IoTSiteWise
5781
6185
  # window: { # required
5782
6186
  # tumbling: {
5783
6187
  # interval: "Interval", # required
6188
+ # offset: "Offset",
5784
6189
  # },
5785
6190
  # },
6191
+ # processing_config: {
6192
+ # compute_location: "EDGE", # required, accepts EDGE, CLOUD
6193
+ # },
5786
6194
  # },
5787
6195
  # },
5788
6196
  # },