aws-sdk-iotsitewise 1.24.0 → 1.28.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 +129 -6
- data/lib/aws-sdk-iotsitewise/client_api.rb +87 -26
- data/lib/aws-sdk-iotsitewise/types.rb +339 -8
- 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')
|
@@ -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')
|
@@ -287,6 +298,7 @@ module Aws::IoTSiteWise
|
|
287
298
|
Timestamps = Shapes::ListShape.new(name: 'Timestamps')
|
288
299
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
289
300
|
Transform = Shapes::StructureShape.new(name: 'Transform')
|
301
|
+
TransformProcessingConfig = Shapes::StructureShape.new(name: 'TransformProcessingConfig')
|
290
302
|
TraversalDirection = Shapes::StringShape.new(name: 'TraversalDirection')
|
291
303
|
TraversalType = Shapes::StringShape.new(name: 'TraversalType')
|
292
304
|
TumblingWindow = Shapes::StructureShape.new(name: 'TumblingWindow')
|
@@ -836,6 +848,12 @@ module Aws::IoTSiteWise
|
|
836
848
|
DescribeStorageConfigurationResponse.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateDate"))
|
837
849
|
DescribeStorageConfigurationResponse.struct_class = Types::DescribeStorageConfigurationResponse
|
838
850
|
|
851
|
+
DetailedError.add_member(:code, Shapes::ShapeRef.new(shape: DetailedErrorCode, required: true, location_name: "code"))
|
852
|
+
DetailedError.add_member(:message, Shapes::ShapeRef.new(shape: DetailedErrorMessage, required: true, location_name: "message"))
|
853
|
+
DetailedError.struct_class = Types::DetailedError
|
854
|
+
|
855
|
+
DetailedErrors.member = Shapes::ShapeRef.new(shape: DetailedError)
|
856
|
+
|
839
857
|
DisassociateAssetsRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
|
840
858
|
DisassociateAssetsRequest.add_member(:hierarchy_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "hierarchyId"))
|
841
859
|
DisassociateAssetsRequest.add_member(:child_asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "childAssetId"))
|
@@ -844,6 +862,7 @@ module Aws::IoTSiteWise
|
|
844
862
|
|
845
863
|
ErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
|
846
864
|
ErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
865
|
+
ErrorDetails.add_member(:details, Shapes::ShapeRef.new(shape: DetailedErrors, location_name: "details"))
|
847
866
|
ErrorDetails.struct_class = Types::ErrorDetails
|
848
867
|
|
849
868
|
ExpressionVariable.add_member(:name, Shapes::ShapeRef.new(shape: VariableName, required: true, location_name: "name"))
|
@@ -852,19 +871,24 @@ module Aws::IoTSiteWise
|
|
852
871
|
|
853
872
|
ExpressionVariables.member = Shapes::ShapeRef.new(shape: ExpressionVariable)
|
854
873
|
|
874
|
+
ForwardingConfig.add_member(:state, Shapes::ShapeRef.new(shape: ForwardingConfigState, required: true, location_name: "state"))
|
875
|
+
ForwardingConfig.struct_class = Types::ForwardingConfig
|
876
|
+
|
855
877
|
GatewayCapabilitySummaries.member = Shapes::ShapeRef.new(shape: GatewayCapabilitySummary)
|
856
878
|
|
857
879
|
GatewayCapabilitySummary.add_member(:capability_namespace, Shapes::ShapeRef.new(shape: CapabilityNamespace, required: true, location_name: "capabilityNamespace"))
|
858
880
|
GatewayCapabilitySummary.add_member(:capability_sync_status, Shapes::ShapeRef.new(shape: CapabilitySyncStatus, required: true, location_name: "capabilitySyncStatus"))
|
859
881
|
GatewayCapabilitySummary.struct_class = Types::GatewayCapabilitySummary
|
860
882
|
|
861
|
-
GatewayPlatform.add_member(:greengrass, Shapes::ShapeRef.new(shape: Greengrass,
|
883
|
+
GatewayPlatform.add_member(:greengrass, Shapes::ShapeRef.new(shape: Greengrass, location_name: "greengrass"))
|
884
|
+
GatewayPlatform.add_member(:greengrass_v2, Shapes::ShapeRef.new(shape: GreengrassV2, location_name: "greengrassV2"))
|
862
885
|
GatewayPlatform.struct_class = Types::GatewayPlatform
|
863
886
|
|
864
887
|
GatewaySummaries.member = Shapes::ShapeRef.new(shape: GatewaySummary)
|
865
888
|
|
866
889
|
GatewaySummary.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "gatewayId"))
|
867
890
|
GatewaySummary.add_member(:gateway_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "gatewayName"))
|
891
|
+
GatewaySummary.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, location_name: "gatewayPlatform"))
|
868
892
|
GatewaySummary.add_member(:gateway_capability_summaries, Shapes::ShapeRef.new(shape: GatewayCapabilitySummaries, location_name: "gatewayCapabilitySummaries"))
|
869
893
|
GatewaySummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
870
894
|
GatewaySummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
|
@@ -931,6 +955,9 @@ module Aws::IoTSiteWise
|
|
931
955
|
Greengrass.add_member(:group_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "groupArn"))
|
932
956
|
Greengrass.struct_class = Types::Greengrass
|
933
957
|
|
958
|
+
GreengrassV2.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location_name: "coreDeviceThingName"))
|
959
|
+
GreengrassV2.struct_class = Types::GreengrassV2
|
960
|
+
|
934
961
|
GroupIdentity.add_member(:id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "id"))
|
935
962
|
GroupIdentity.struct_class = Types::GroupIdentity
|
936
963
|
|
@@ -1079,13 +1106,21 @@ module Aws::IoTSiteWise
|
|
1079
1106
|
LoggingOptions.add_member(:level, Shapes::ShapeRef.new(shape: LoggingLevel, required: true, location_name: "level"))
|
1080
1107
|
LoggingOptions.struct_class = Types::LoggingOptions
|
1081
1108
|
|
1109
|
+
Measurement.add_member(:processing_config, Shapes::ShapeRef.new(shape: MeasurementProcessingConfig, location_name: "processingConfig"))
|
1082
1110
|
Measurement.struct_class = Types::Measurement
|
1083
1111
|
|
1112
|
+
MeasurementProcessingConfig.add_member(:forwarding_config, Shapes::ShapeRef.new(shape: ForwardingConfig, required: true, location_name: "forwardingConfig"))
|
1113
|
+
MeasurementProcessingConfig.struct_class = Types::MeasurementProcessingConfig
|
1114
|
+
|
1084
1115
|
Metric.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "expression"))
|
1085
1116
|
Metric.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables, required: true, location_name: "variables"))
|
1086
1117
|
Metric.add_member(:window, Shapes::ShapeRef.new(shape: MetricWindow, required: true, location_name: "window"))
|
1118
|
+
Metric.add_member(:processing_config, Shapes::ShapeRef.new(shape: MetricProcessingConfig, location_name: "processingConfig"))
|
1087
1119
|
Metric.struct_class = Types::Metric
|
1088
1120
|
|
1121
|
+
MetricProcessingConfig.add_member(:compute_location, Shapes::ShapeRef.new(shape: ComputeLocation, required: true, location_name: "computeLocation"))
|
1122
|
+
MetricProcessingConfig.struct_class = Types::MetricProcessingConfig
|
1123
|
+
|
1089
1124
|
MetricWindow.add_member(:tumbling, Shapes::ShapeRef.new(shape: TumblingWindow, location_name: "tumbling"))
|
1090
1125
|
MetricWindow.struct_class = Types::MetricWindow
|
1091
1126
|
|
@@ -1221,8 +1256,13 @@ module Aws::IoTSiteWise
|
|
1221
1256
|
|
1222
1257
|
Transform.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "expression"))
|
1223
1258
|
Transform.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables, required: true, location_name: "variables"))
|
1259
|
+
Transform.add_member(:processing_config, Shapes::ShapeRef.new(shape: TransformProcessingConfig, location_name: "processingConfig"))
|
1224
1260
|
Transform.struct_class = Types::Transform
|
1225
1261
|
|
1262
|
+
TransformProcessingConfig.add_member(:compute_location, Shapes::ShapeRef.new(shape: ComputeLocation, required: true, location_name: "computeLocation"))
|
1263
|
+
TransformProcessingConfig.add_member(:forwarding_config, Shapes::ShapeRef.new(shape: ForwardingConfig, location_name: "forwardingConfig"))
|
1264
|
+
TransformProcessingConfig.struct_class = Types::TransformProcessingConfig
|
1265
|
+
|
1226
1266
|
TumblingWindow.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, required: true, location_name: "interval"))
|
1227
1267
|
TumblingWindow.struct_class = Types::TumblingWindow
|
1228
1268
|
|
@@ -1351,7 +1391,7 @@ module Aws::IoTSiteWise
|
|
1351
1391
|
o.http_method = "POST"
|
1352
1392
|
o.http_request_uri = "/assets/{assetId}/associate"
|
1353
1393
|
o.endpoint_pattern = {
|
1354
|
-
"hostPrefix" => "
|
1394
|
+
"hostPrefix" => "api.",
|
1355
1395
|
}
|
1356
1396
|
o.input = Shapes::ShapeRef.new(shape: AssociateAssetsRequest)
|
1357
1397
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
@@ -1433,7 +1473,7 @@ module Aws::IoTSiteWise
|
|
1433
1473
|
o.http_method = "POST"
|
1434
1474
|
o.http_request_uri = "/assets"
|
1435
1475
|
o.endpoint_pattern = {
|
1436
|
-
"hostPrefix" => "
|
1476
|
+
"hostPrefix" => "api.",
|
1437
1477
|
}
|
1438
1478
|
o.input = Shapes::ShapeRef.new(shape: CreateAssetRequest)
|
1439
1479
|
o.output = Shapes::ShapeRef.new(shape: CreateAssetResponse)
|
@@ -1451,7 +1491,7 @@ module Aws::IoTSiteWise
|
|
1451
1491
|
o.http_method = "POST"
|
1452
1492
|
o.http_request_uri = "/asset-models"
|
1453
1493
|
o.endpoint_pattern = {
|
1454
|
-
"hostPrefix" => "
|
1494
|
+
"hostPrefix" => "api.",
|
1455
1495
|
}
|
1456
1496
|
o.input = Shapes::ShapeRef.new(shape: CreateAssetModelRequest)
|
1457
1497
|
o.output = Shapes::ShapeRef.new(shape: CreateAssetModelResponse)
|
@@ -1485,7 +1525,7 @@ module Aws::IoTSiteWise
|
|
1485
1525
|
o.http_method = "POST"
|
1486
1526
|
o.http_request_uri = "/20200301/gateways"
|
1487
1527
|
o.endpoint_pattern = {
|
1488
|
-
"hostPrefix" => "
|
1528
|
+
"hostPrefix" => "api.",
|
1489
1529
|
}
|
1490
1530
|
o.input = Shapes::ShapeRef.new(shape: CreateGatewayRequest)
|
1491
1531
|
o.output = Shapes::ShapeRef.new(shape: CreateGatewayResponse)
|
@@ -1548,7 +1588,7 @@ module Aws::IoTSiteWise
|
|
1548
1588
|
o.http_method = "DELETE"
|
1549
1589
|
o.http_request_uri = "/assets/{assetId}"
|
1550
1590
|
o.endpoint_pattern = {
|
1551
|
-
"hostPrefix" => "
|
1591
|
+
"hostPrefix" => "api.",
|
1552
1592
|
}
|
1553
1593
|
o.input = Shapes::ShapeRef.new(shape: DeleteAssetRequest)
|
1554
1594
|
o.output = Shapes::ShapeRef.new(shape: DeleteAssetResponse)
|
@@ -1564,7 +1604,7 @@ module Aws::IoTSiteWise
|
|
1564
1604
|
o.http_method = "DELETE"
|
1565
1605
|
o.http_request_uri = "/asset-models/{assetModelId}"
|
1566
1606
|
o.endpoint_pattern = {
|
1567
|
-
"hostPrefix" => "
|
1607
|
+
"hostPrefix" => "api.",
|
1568
1608
|
}
|
1569
1609
|
o.input = Shapes::ShapeRef.new(shape: DeleteAssetModelRequest)
|
1570
1610
|
o.output = Shapes::ShapeRef.new(shape: DeleteAssetModelResponse)
|
@@ -1595,7 +1635,7 @@ module Aws::IoTSiteWise
|
|
1595
1635
|
o.http_method = "DELETE"
|
1596
1636
|
o.http_request_uri = "/20200301/gateways/{gatewayId}"
|
1597
1637
|
o.endpoint_pattern = {
|
1598
|
-
"hostPrefix" => "
|
1638
|
+
"hostPrefix" => "api.",
|
1599
1639
|
}
|
1600
1640
|
o.input = Shapes::ShapeRef.new(shape: DeleteGatewayRequest)
|
1601
1641
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
@@ -1656,7 +1696,7 @@ module Aws::IoTSiteWise
|
|
1656
1696
|
o.http_method = "GET"
|
1657
1697
|
o.http_request_uri = "/assets/{assetId}"
|
1658
1698
|
o.endpoint_pattern = {
|
1659
|
-
"hostPrefix" => "
|
1699
|
+
"hostPrefix" => "api.",
|
1660
1700
|
}
|
1661
1701
|
o.input = Shapes::ShapeRef.new(shape: DescribeAssetRequest)
|
1662
1702
|
o.output = Shapes::ShapeRef.new(shape: DescribeAssetResponse)
|
@@ -1671,7 +1711,7 @@ module Aws::IoTSiteWise
|
|
1671
1711
|
o.http_method = "GET"
|
1672
1712
|
o.http_request_uri = "/asset-models/{assetModelId}"
|
1673
1713
|
o.endpoint_pattern = {
|
1674
|
-
"hostPrefix" => "
|
1714
|
+
"hostPrefix" => "api.",
|
1675
1715
|
}
|
1676
1716
|
o.input = Shapes::ShapeRef.new(shape: DescribeAssetModelRequest)
|
1677
1717
|
o.output = Shapes::ShapeRef.new(shape: DescribeAssetModelResponse)
|
@@ -1686,7 +1726,7 @@ module Aws::IoTSiteWise
|
|
1686
1726
|
o.http_method = "GET"
|
1687
1727
|
o.http_request_uri = "/assets/{assetId}/properties/{propertyId}"
|
1688
1728
|
o.endpoint_pattern = {
|
1689
|
-
"hostPrefix" => "
|
1729
|
+
"hostPrefix" => "api.",
|
1690
1730
|
}
|
1691
1731
|
o.input = Shapes::ShapeRef.new(shape: DescribeAssetPropertyRequest)
|
1692
1732
|
o.output = Shapes::ShapeRef.new(shape: DescribeAssetPropertyResponse)
|
@@ -1715,6 +1755,9 @@ module Aws::IoTSiteWise
|
|
1715
1755
|
o.name = "DescribeDefaultEncryptionConfiguration"
|
1716
1756
|
o.http_method = "GET"
|
1717
1757
|
o.http_request_uri = "/configuration/account/encryption"
|
1758
|
+
o.endpoint_pattern = {
|
1759
|
+
"hostPrefix" => "api.",
|
1760
|
+
}
|
1718
1761
|
o.input = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationRequest)
|
1719
1762
|
o.output = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationResponse)
|
1720
1763
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -1727,7 +1770,7 @@ module Aws::IoTSiteWise
|
|
1727
1770
|
o.http_method = "GET"
|
1728
1771
|
o.http_request_uri = "/20200301/gateways/{gatewayId}"
|
1729
1772
|
o.endpoint_pattern = {
|
1730
|
-
"hostPrefix" => "
|
1773
|
+
"hostPrefix" => "api.",
|
1731
1774
|
}
|
1732
1775
|
o.input = Shapes::ShapeRef.new(shape: DescribeGatewayRequest)
|
1733
1776
|
o.output = Shapes::ShapeRef.new(shape: DescribeGatewayResponse)
|
@@ -1742,7 +1785,7 @@ module Aws::IoTSiteWise
|
|
1742
1785
|
o.http_method = "GET"
|
1743
1786
|
o.http_request_uri = "/20200301/gateways/{gatewayId}/capability/{capabilityNamespace}"
|
1744
1787
|
o.endpoint_pattern = {
|
1745
|
-
"hostPrefix" => "
|
1788
|
+
"hostPrefix" => "api.",
|
1746
1789
|
}
|
1747
1790
|
o.input = Shapes::ShapeRef.new(shape: DescribeGatewayCapabilityConfigurationRequest)
|
1748
1791
|
o.output = Shapes::ShapeRef.new(shape: DescribeGatewayCapabilityConfigurationResponse)
|
@@ -1757,7 +1800,7 @@ module Aws::IoTSiteWise
|
|
1757
1800
|
o.http_method = "GET"
|
1758
1801
|
o.http_request_uri = "/logging"
|
1759
1802
|
o.endpoint_pattern = {
|
1760
|
-
"hostPrefix" => "
|
1803
|
+
"hostPrefix" => "api.",
|
1761
1804
|
}
|
1762
1805
|
o.input = Shapes::ShapeRef.new(shape: DescribeLoggingOptionsRequest)
|
1763
1806
|
o.output = Shapes::ShapeRef.new(shape: DescribeLoggingOptionsResponse)
|
@@ -1801,6 +1844,9 @@ module Aws::IoTSiteWise
|
|
1801
1844
|
o.name = "DescribeStorageConfiguration"
|
1802
1845
|
o.http_method = "GET"
|
1803
1846
|
o.http_request_uri = "/configuration/account/storage"
|
1847
|
+
o.endpoint_pattern = {
|
1848
|
+
"hostPrefix" => "api.",
|
1849
|
+
}
|
1804
1850
|
o.input = Shapes::ShapeRef.new(shape: DescribeStorageConfigurationRequest)
|
1805
1851
|
o.output = Shapes::ShapeRef.new(shape: DescribeStorageConfigurationResponse)
|
1806
1852
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -1816,7 +1862,7 @@ module Aws::IoTSiteWise
|
|
1816
1862
|
o.http_method = "POST"
|
1817
1863
|
o.http_request_uri = "/assets/{assetId}/disassociate"
|
1818
1864
|
o.endpoint_pattern = {
|
1819
|
-
"hostPrefix" => "
|
1865
|
+
"hostPrefix" => "api.",
|
1820
1866
|
}
|
1821
1867
|
o.input = Shapes::ShapeRef.new(shape: DisassociateAssetsRequest)
|
1822
1868
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
@@ -1934,7 +1980,7 @@ module Aws::IoTSiteWise
|
|
1934
1980
|
o.http_method = "GET"
|
1935
1981
|
o.http_request_uri = "/asset-models"
|
1936
1982
|
o.endpoint_pattern = {
|
1937
|
-
"hostPrefix" => "
|
1983
|
+
"hostPrefix" => "api.",
|
1938
1984
|
}
|
1939
1985
|
o.input = Shapes::ShapeRef.new(shape: ListAssetModelsRequest)
|
1940
1986
|
o.output = Shapes::ShapeRef.new(shape: ListAssetModelsResponse)
|
@@ -1954,7 +2000,7 @@ module Aws::IoTSiteWise
|
|
1954
2000
|
o.http_method = "GET"
|
1955
2001
|
o.http_request_uri = "/assets/{assetId}/assetRelationships"
|
1956
2002
|
o.endpoint_pattern = {
|
1957
|
-
"hostPrefix" => "
|
2003
|
+
"hostPrefix" => "api.",
|
1958
2004
|
}
|
1959
2005
|
o.input = Shapes::ShapeRef.new(shape: ListAssetRelationshipsRequest)
|
1960
2006
|
o.output = Shapes::ShapeRef.new(shape: ListAssetRelationshipsResponse)
|
@@ -1975,7 +2021,7 @@ module Aws::IoTSiteWise
|
|
1975
2021
|
o.http_method = "GET"
|
1976
2022
|
o.http_request_uri = "/assets"
|
1977
2023
|
o.endpoint_pattern = {
|
1978
|
-
"hostPrefix" => "
|
2024
|
+
"hostPrefix" => "api.",
|
1979
2025
|
}
|
1980
2026
|
o.input = Shapes::ShapeRef.new(shape: ListAssetsRequest)
|
1981
2027
|
o.output = Shapes::ShapeRef.new(shape: ListAssetsResponse)
|
@@ -1996,7 +2042,7 @@ module Aws::IoTSiteWise
|
|
1996
2042
|
o.http_method = "GET"
|
1997
2043
|
o.http_request_uri = "/assets/{assetId}/hierarchies"
|
1998
2044
|
o.endpoint_pattern = {
|
1999
|
-
"hostPrefix" => "
|
2045
|
+
"hostPrefix" => "api.",
|
2000
2046
|
}
|
2001
2047
|
o.input = Shapes::ShapeRef.new(shape: ListAssociatedAssetsRequest)
|
2002
2048
|
o.output = Shapes::ShapeRef.new(shape: ListAssociatedAssetsResponse)
|
@@ -2037,7 +2083,7 @@ module Aws::IoTSiteWise
|
|
2037
2083
|
o.http_method = "GET"
|
2038
2084
|
o.http_request_uri = "/20200301/gateways"
|
2039
2085
|
o.endpoint_pattern = {
|
2040
|
-
"hostPrefix" => "
|
2086
|
+
"hostPrefix" => "api.",
|
2041
2087
|
}
|
2042
2088
|
o.input = Shapes::ShapeRef.new(shape: ListGatewaysRequest)
|
2043
2089
|
o.output = Shapes::ShapeRef.new(shape: ListGatewaysResponse)
|
@@ -2116,6 +2162,9 @@ module Aws::IoTSiteWise
|
|
2116
2162
|
o.name = "ListTagsForResource"
|
2117
2163
|
o.http_method = "GET"
|
2118
2164
|
o.http_request_uri = "/tags"
|
2165
|
+
o.endpoint_pattern = {
|
2166
|
+
"hostPrefix" => "api.",
|
2167
|
+
}
|
2119
2168
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
2120
2169
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
2121
2170
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -2131,6 +2180,9 @@ module Aws::IoTSiteWise
|
|
2131
2180
|
o.name = "PutDefaultEncryptionConfiguration"
|
2132
2181
|
o.http_method = "POST"
|
2133
2182
|
o.http_request_uri = "/configuration/account/encryption"
|
2183
|
+
o.endpoint_pattern = {
|
2184
|
+
"hostPrefix" => "api.",
|
2185
|
+
}
|
2134
2186
|
o.input = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationRequest)
|
2135
2187
|
o.output = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationResponse)
|
2136
2188
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -2145,7 +2197,7 @@ module Aws::IoTSiteWise
|
|
2145
2197
|
o.http_method = "PUT"
|
2146
2198
|
o.http_request_uri = "/logging"
|
2147
2199
|
o.endpoint_pattern = {
|
2148
|
-
"hostPrefix" => "
|
2200
|
+
"hostPrefix" => "api.",
|
2149
2201
|
}
|
2150
2202
|
o.input = Shapes::ShapeRef.new(shape: PutLoggingOptionsRequest)
|
2151
2203
|
o.output = Shapes::ShapeRef.new(shape: PutLoggingOptionsResponse)
|
@@ -2160,6 +2212,9 @@ module Aws::IoTSiteWise
|
|
2160
2212
|
o.name = "PutStorageConfiguration"
|
2161
2213
|
o.http_method = "POST"
|
2162
2214
|
o.http_request_uri = "/configuration/account/storage"
|
2215
|
+
o.endpoint_pattern = {
|
2216
|
+
"hostPrefix" => "api.",
|
2217
|
+
}
|
2163
2218
|
o.input = Shapes::ShapeRef.new(shape: PutStorageConfigurationRequest)
|
2164
2219
|
o.output = Shapes::ShapeRef.new(shape: PutStorageConfigurationResponse)
|
2165
2220
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -2175,6 +2230,9 @@ module Aws::IoTSiteWise
|
|
2175
2230
|
o.name = "TagResource"
|
2176
2231
|
o.http_method = "POST"
|
2177
2232
|
o.http_request_uri = "/tags"
|
2233
|
+
o.endpoint_pattern = {
|
2234
|
+
"hostPrefix" => "api.",
|
2235
|
+
}
|
2178
2236
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2179
2237
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
2180
2238
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -2191,6 +2249,9 @@ module Aws::IoTSiteWise
|
|
2191
2249
|
o.name = "UntagResource"
|
2192
2250
|
o.http_method = "DELETE"
|
2193
2251
|
o.http_request_uri = "/tags"
|
2252
|
+
o.endpoint_pattern = {
|
2253
|
+
"hostPrefix" => "api.",
|
2254
|
+
}
|
2194
2255
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2195
2256
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
2196
2257
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -2222,7 +2283,7 @@ module Aws::IoTSiteWise
|
|
2222
2283
|
o.http_method = "PUT"
|
2223
2284
|
o.http_request_uri = "/assets/{assetId}"
|
2224
2285
|
o.endpoint_pattern = {
|
2225
|
-
"hostPrefix" => "
|
2286
|
+
"hostPrefix" => "api.",
|
2226
2287
|
}
|
2227
2288
|
o.input = Shapes::ShapeRef.new(shape: UpdateAssetRequest)
|
2228
2289
|
o.output = Shapes::ShapeRef.new(shape: UpdateAssetResponse)
|
@@ -2239,7 +2300,7 @@ module Aws::IoTSiteWise
|
|
2239
2300
|
o.http_method = "PUT"
|
2240
2301
|
o.http_request_uri = "/asset-models/{assetModelId}"
|
2241
2302
|
o.endpoint_pattern = {
|
2242
|
-
"hostPrefix" => "
|
2303
|
+
"hostPrefix" => "api.",
|
2243
2304
|
}
|
2244
2305
|
o.input = Shapes::ShapeRef.new(shape: UpdateAssetModelRequest)
|
2245
2306
|
o.output = Shapes::ShapeRef.new(shape: UpdateAssetModelResponse)
|
@@ -2257,7 +2318,7 @@ module Aws::IoTSiteWise
|
|
2257
2318
|
o.http_method = "PUT"
|
2258
2319
|
o.http_request_uri = "/assets/{assetId}/properties/{propertyId}"
|
2259
2320
|
o.endpoint_pattern = {
|
2260
|
-
"hostPrefix" => "
|
2321
|
+
"hostPrefix" => "api.",
|
2261
2322
|
}
|
2262
2323
|
o.input = Shapes::ShapeRef.new(shape: UpdateAssetPropertyRequest)
|
2263
2324
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
@@ -2288,7 +2349,7 @@ module Aws::IoTSiteWise
|
|
2288
2349
|
o.http_method = "PUT"
|
2289
2350
|
o.http_request_uri = "/20200301/gateways/{gatewayId}"
|
2290
2351
|
o.endpoint_pattern = {
|
2291
|
-
"hostPrefix" => "
|
2352
|
+
"hostPrefix" => "api.",
|
2292
2353
|
}
|
2293
2354
|
o.input = Shapes::ShapeRef.new(shape: UpdateGatewayRequest)
|
2294
2355
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
@@ -2304,7 +2365,7 @@ module Aws::IoTSiteWise
|
|
2304
2365
|
o.http_method = "POST"
|
2305
2366
|
o.http_request_uri = "/20200301/gateways/{gatewayId}/capability"
|
2306
2367
|
o.endpoint_pattern = {
|
2307
|
-
"hostPrefix" => "
|
2368
|
+
"hostPrefix" => "api.",
|
2308
2369
|
}
|
2309
2370
|
o.input = Shapes::ShapeRef.new(shape: UpdateGatewayCapabilityConfigurationRequest)
|
2310
2371
|
o.output = Shapes::ShapeRef.new(shape: UpdateGatewayCapabilityConfigurationResponse)
|
@@ -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
|
@@ -305,6 +316,9 @@ module Aws::IoTSiteWise
|
|
305
316
|
# interval: "Interval", # required
|
306
317
|
# },
|
307
318
|
# },
|
319
|
+
# processing_config: {
|
320
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
321
|
+
# },
|
308
322
|
# },
|
309
323
|
# },
|
310
324
|
# },
|
@@ -359,6 +373,11 @@ module Aws::IoTSiteWise
|
|
359
373
|
# default_value: "DefaultValue",
|
360
374
|
# },
|
361
375
|
# measurement: {
|
376
|
+
# processing_config: {
|
377
|
+
# forwarding_config: { # required
|
378
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
379
|
+
# },
|
380
|
+
# },
|
362
381
|
# },
|
363
382
|
# transform: {
|
364
383
|
# expression: "Expression", # required
|
@@ -371,6 +390,12 @@ module Aws::IoTSiteWise
|
|
371
390
|
# },
|
372
391
|
# },
|
373
392
|
# ],
|
393
|
+
# processing_config: {
|
394
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
395
|
+
# forwarding_config: {
|
396
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
397
|
+
# },
|
398
|
+
# },
|
374
399
|
# },
|
375
400
|
# metric: {
|
376
401
|
# expression: "Expression", # required
|
@@ -388,6 +413,9 @@ module Aws::IoTSiteWise
|
|
388
413
|
# interval: "Interval", # required
|
389
414
|
# },
|
390
415
|
# },
|
416
|
+
# processing_config: {
|
417
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
418
|
+
# },
|
391
419
|
# },
|
392
420
|
# },
|
393
421
|
# },
|
@@ -509,6 +537,11 @@ module Aws::IoTSiteWise
|
|
509
537
|
# default_value: "DefaultValue",
|
510
538
|
# },
|
511
539
|
# measurement: {
|
540
|
+
# processing_config: {
|
541
|
+
# forwarding_config: { # required
|
542
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
543
|
+
# },
|
544
|
+
# },
|
512
545
|
# },
|
513
546
|
# transform: {
|
514
547
|
# expression: "Expression", # required
|
@@ -521,6 +554,12 @@ module Aws::IoTSiteWise
|
|
521
554
|
# },
|
522
555
|
# },
|
523
556
|
# ],
|
557
|
+
# processing_config: {
|
558
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
559
|
+
# forwarding_config: {
|
560
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
561
|
+
# },
|
562
|
+
# },
|
524
563
|
# },
|
525
564
|
# metric: {
|
526
565
|
# expression: "Expression", # required
|
@@ -538,6 +577,9 @@ module Aws::IoTSiteWise
|
|
538
577
|
# interval: "Interval", # required
|
539
578
|
# },
|
540
579
|
# },
|
580
|
+
# processing_config: {
|
581
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
582
|
+
# },
|
541
583
|
# },
|
542
584
|
# },
|
543
585
|
# }
|
@@ -594,6 +636,11 @@ module Aws::IoTSiteWise
|
|
594
636
|
# default_value: "DefaultValue",
|
595
637
|
# },
|
596
638
|
# measurement: {
|
639
|
+
# processing_config: {
|
640
|
+
# forwarding_config: { # required
|
641
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
642
|
+
# },
|
643
|
+
# },
|
597
644
|
# },
|
598
645
|
# transform: {
|
599
646
|
# expression: "Expression", # required
|
@@ -606,6 +653,12 @@ module Aws::IoTSiteWise
|
|
606
653
|
# },
|
607
654
|
# },
|
608
655
|
# ],
|
656
|
+
# processing_config: {
|
657
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
658
|
+
# forwarding_config: {
|
659
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
660
|
+
# },
|
661
|
+
# },
|
609
662
|
# },
|
610
663
|
# metric: {
|
611
664
|
# expression: "Expression", # required
|
@@ -623,6 +676,9 @@ module Aws::IoTSiteWise
|
|
623
676
|
# interval: "Interval", # required
|
624
677
|
# },
|
625
678
|
# },
|
679
|
+
# processing_config: {
|
680
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
681
|
+
# },
|
626
682
|
# },
|
627
683
|
# },
|
628
684
|
# }
|
@@ -1446,6 +1502,11 @@ module Aws::IoTSiteWise
|
|
1446
1502
|
# default_value: "DefaultValue",
|
1447
1503
|
# },
|
1448
1504
|
# measurement: {
|
1505
|
+
# processing_config: {
|
1506
|
+
# forwarding_config: { # required
|
1507
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
1508
|
+
# },
|
1509
|
+
# },
|
1449
1510
|
# },
|
1450
1511
|
# transform: {
|
1451
1512
|
# expression: "Expression", # required
|
@@ -1458,6 +1519,12 @@ module Aws::IoTSiteWise
|
|
1458
1519
|
# },
|
1459
1520
|
# },
|
1460
1521
|
# ],
|
1522
|
+
# processing_config: {
|
1523
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
1524
|
+
# forwarding_config: {
|
1525
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
1526
|
+
# },
|
1527
|
+
# },
|
1461
1528
|
# },
|
1462
1529
|
# metric: {
|
1463
1530
|
# expression: "Expression", # required
|
@@ -1475,6 +1542,9 @@ module Aws::IoTSiteWise
|
|
1475
1542
|
# interval: "Interval", # required
|
1476
1543
|
# },
|
1477
1544
|
# },
|
1545
|
+
# processing_config: {
|
1546
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
1547
|
+
# },
|
1478
1548
|
# },
|
1479
1549
|
# },
|
1480
1550
|
# },
|
@@ -1501,6 +1571,11 @@ module Aws::IoTSiteWise
|
|
1501
1571
|
# default_value: "DefaultValue",
|
1502
1572
|
# },
|
1503
1573
|
# measurement: {
|
1574
|
+
# processing_config: {
|
1575
|
+
# forwarding_config: { # required
|
1576
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
1577
|
+
# },
|
1578
|
+
# },
|
1504
1579
|
# },
|
1505
1580
|
# transform: {
|
1506
1581
|
# expression: "Expression", # required
|
@@ -1513,6 +1588,12 @@ module Aws::IoTSiteWise
|
|
1513
1588
|
# },
|
1514
1589
|
# },
|
1515
1590
|
# ],
|
1591
|
+
# processing_config: {
|
1592
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
1593
|
+
# forwarding_config: {
|
1594
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
1595
|
+
# },
|
1596
|
+
# },
|
1516
1597
|
# },
|
1517
1598
|
# metric: {
|
1518
1599
|
# expression: "Expression", # required
|
@@ -1530,6 +1611,9 @@ module Aws::IoTSiteWise
|
|
1530
1611
|
# interval: "Interval", # required
|
1531
1612
|
# },
|
1532
1613
|
# },
|
1614
|
+
# processing_config: {
|
1615
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
1616
|
+
# },
|
1533
1617
|
# },
|
1534
1618
|
# },
|
1535
1619
|
# },
|
@@ -1814,9 +1898,12 @@ module Aws::IoTSiteWise
|
|
1814
1898
|
# {
|
1815
1899
|
# gateway_name: "Name", # required
|
1816
1900
|
# gateway_platform: { # required
|
1817
|
-
# greengrass: {
|
1901
|
+
# greengrass: {
|
1818
1902
|
# group_arn: "ARN", # required
|
1819
1903
|
# },
|
1904
|
+
# greengrass_v2: {
|
1905
|
+
# core_device_thing_name: "CoreDeviceThingName", # required
|
1906
|
+
# },
|
1820
1907
|
# },
|
1821
1908
|
# tags: {
|
1822
1909
|
# "TagKey" => "TagValue",
|
@@ -3182,6 +3269,23 @@ module Aws::IoTSiteWise
|
|
3182
3269
|
include Aws::Structure
|
3183
3270
|
end
|
3184
3271
|
|
3272
|
+
# Contains detailed error information.
|
3273
|
+
#
|
3274
|
+
# @!attribute [rw] code
|
3275
|
+
# The error code.
|
3276
|
+
# @return [String]
|
3277
|
+
#
|
3278
|
+
# @!attribute [rw] message
|
3279
|
+
# The error message.
|
3280
|
+
# @return [String]
|
3281
|
+
#
|
3282
|
+
class DetailedError < Struct.new(
|
3283
|
+
:code,
|
3284
|
+
:message)
|
3285
|
+
SENSITIVE = []
|
3286
|
+
include Aws::Structure
|
3287
|
+
end
|
3288
|
+
|
3185
3289
|
# @note When making an API call, you may pass DisassociateAssetsRequest
|
3186
3290
|
# data as a hash:
|
3187
3291
|
#
|
@@ -3241,9 +3345,14 @@ module Aws::IoTSiteWise
|
|
3241
3345
|
# The error message.
|
3242
3346
|
# @return [String]
|
3243
3347
|
#
|
3348
|
+
# @!attribute [rw] details
|
3349
|
+
# A list of detailed errors.
|
3350
|
+
# @return [Array<Types::DetailedError>]
|
3351
|
+
#
|
3244
3352
|
class ErrorDetails < Struct.new(
|
3245
3353
|
:code,
|
3246
|
-
:message
|
3354
|
+
:message,
|
3355
|
+
:details)
|
3247
3356
|
SENSITIVE = []
|
3248
3357
|
include Aws::Structure
|
3249
3358
|
end
|
@@ -3277,6 +3386,25 @@ module Aws::IoTSiteWise
|
|
3277
3386
|
include Aws::Structure
|
3278
3387
|
end
|
3279
3388
|
|
3389
|
+
# The forwarding configuration for a given property.
|
3390
|
+
#
|
3391
|
+
# @note When making an API call, you may pass ForwardingConfig
|
3392
|
+
# data as a hash:
|
3393
|
+
#
|
3394
|
+
# {
|
3395
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
3396
|
+
# }
|
3397
|
+
#
|
3398
|
+
# @!attribute [rw] state
|
3399
|
+
# The forwarding state for the given property.
|
3400
|
+
# @return [String]
|
3401
|
+
#
|
3402
|
+
class ForwardingConfig < Struct.new(
|
3403
|
+
:state)
|
3404
|
+
SENSITIVE = []
|
3405
|
+
include Aws::Structure
|
3406
|
+
end
|
3407
|
+
|
3280
3408
|
# Contains a summary of a gateway capability configuration.
|
3281
3409
|
#
|
3282
3410
|
# @!attribute [rw] capability_namespace
|
@@ -3312,17 +3440,25 @@ module Aws::IoTSiteWise
|
|
3312
3440
|
# data as a hash:
|
3313
3441
|
#
|
3314
3442
|
# {
|
3315
|
-
# greengrass: {
|
3443
|
+
# greengrass: {
|
3316
3444
|
# group_arn: "ARN", # required
|
3317
3445
|
# },
|
3446
|
+
# greengrass_v2: {
|
3447
|
+
# core_device_thing_name: "CoreDeviceThingName", # required
|
3448
|
+
# },
|
3318
3449
|
# }
|
3319
3450
|
#
|
3320
3451
|
# @!attribute [rw] greengrass
|
3321
3452
|
# A gateway that runs on IoT Greengrass.
|
3322
3453
|
# @return [Types::Greengrass]
|
3323
3454
|
#
|
3455
|
+
# @!attribute [rw] greengrass_v2
|
3456
|
+
# A gateway that runs on IoT Greengrass V2.
|
3457
|
+
# @return [Types::GreengrassV2]
|
3458
|
+
#
|
3324
3459
|
class GatewayPlatform < Struct.new(
|
3325
|
-
:greengrass
|
3460
|
+
:greengrass,
|
3461
|
+
:greengrass_v2)
|
3326
3462
|
SENSITIVE = []
|
3327
3463
|
include Aws::Structure
|
3328
3464
|
end
|
@@ -3337,6 +3473,10 @@ module Aws::IoTSiteWise
|
|
3337
3473
|
# The name of the asset.
|
3338
3474
|
# @return [String]
|
3339
3475
|
#
|
3476
|
+
# @!attribute [rw] gateway_platform
|
3477
|
+
# Contains a gateway's platform information.
|
3478
|
+
# @return [Types::GatewayPlatform]
|
3479
|
+
#
|
3340
3480
|
# @!attribute [rw] gateway_capability_summaries
|
3341
3481
|
# A list of gateway capability summaries that each contain a namespace
|
3342
3482
|
# and status. Each gateway capability defines data sources for the
|
@@ -3359,6 +3499,7 @@ module Aws::IoTSiteWise
|
|
3359
3499
|
class GatewaySummary < Struct.new(
|
3360
3500
|
:gateway_id,
|
3361
3501
|
:gateway_name,
|
3502
|
+
:gateway_platform,
|
3362
3503
|
:gateway_capability_summaries,
|
3363
3504
|
:creation_date,
|
3364
3505
|
:last_update_date)
|
@@ -3766,6 +3907,35 @@ module Aws::IoTSiteWise
|
|
3766
3907
|
include Aws::Structure
|
3767
3908
|
end
|
3768
3909
|
|
3910
|
+
# Contains details for a gateway that runs on IoT Greengrass V2. To
|
3911
|
+
# create a gateway that runs on IoT Greengrass V2, you must deploy the
|
3912
|
+
# IoT SiteWise Edge component to your gateway device. Your [Greengrass
|
3913
|
+
# device role][1] must use the `AWSIoTSiteWiseEdgeAccess` policy. For
|
3914
|
+
# more information, see [Using IoT SiteWise at the edge][2] in the *IoT
|
3915
|
+
# SiteWise User Guide*.
|
3916
|
+
#
|
3917
|
+
#
|
3918
|
+
#
|
3919
|
+
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/device-service-role.html
|
3920
|
+
# [2]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/sw-gateways.html
|
3921
|
+
#
|
3922
|
+
# @note When making an API call, you may pass GreengrassV2
|
3923
|
+
# data as a hash:
|
3924
|
+
#
|
3925
|
+
# {
|
3926
|
+
# core_device_thing_name: "CoreDeviceThingName", # required
|
3927
|
+
# }
|
3928
|
+
#
|
3929
|
+
# @!attribute [rw] core_device_thing_name
|
3930
|
+
# The name of the IoT thing for your IoT Greengrass V2 core device.
|
3931
|
+
# @return [String]
|
3932
|
+
#
|
3933
|
+
class GreengrassV2 < Struct.new(
|
3934
|
+
:core_device_thing_name)
|
3935
|
+
SENSITIVE = []
|
3936
|
+
include Aws::Structure
|
3937
|
+
end
|
3938
|
+
|
3769
3939
|
# Contains information for a group identity in an access policy.
|
3770
3940
|
#
|
3771
3941
|
# @note When making an API call, you may pass GroupIdentity
|
@@ -4653,9 +4823,53 @@ module Aws::IoTSiteWise
|
|
4653
4823
|
#
|
4654
4824
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#measurements
|
4655
4825
|
#
|
4656
|
-
# @
|
4826
|
+
# @note When making an API call, you may pass Measurement
|
4827
|
+
# data as a hash:
|
4828
|
+
#
|
4829
|
+
# {
|
4830
|
+
# processing_config: {
|
4831
|
+
# forwarding_config: { # required
|
4832
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
4833
|
+
# },
|
4834
|
+
# },
|
4835
|
+
# }
|
4836
|
+
#
|
4837
|
+
# @!attribute [rw] processing_config
|
4838
|
+
# The processing configuration for the given measurement property. You
|
4839
|
+
# can configure measurements to be kept at the edge or forwarded to
|
4840
|
+
# the Amazon Web Services Cloud. By default, measurements are
|
4841
|
+
# forwarded to the cloud.
|
4842
|
+
# @return [Types::MeasurementProcessingConfig]
|
4657
4843
|
#
|
4658
|
-
class Measurement <
|
4844
|
+
class Measurement < Struct.new(
|
4845
|
+
:processing_config)
|
4846
|
+
SENSITIVE = []
|
4847
|
+
include Aws::Structure
|
4848
|
+
end
|
4849
|
+
|
4850
|
+
# The processing configuration for the given measurement property. You
|
4851
|
+
# can configure measurements to be kept at the edge or forwarded to the
|
4852
|
+
# Amazon Web Services Cloud. By default, measurements are forwarded to
|
4853
|
+
# the cloud.
|
4854
|
+
#
|
4855
|
+
# @note When making an API call, you may pass MeasurementProcessingConfig
|
4856
|
+
# data as a hash:
|
4857
|
+
#
|
4858
|
+
# {
|
4859
|
+
# forwarding_config: { # required
|
4860
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
4861
|
+
# },
|
4862
|
+
# }
|
4863
|
+
#
|
4864
|
+
# @!attribute [rw] forwarding_config
|
4865
|
+
# The forwarding configuration for the given measurement property.
|
4866
|
+
# @return [Types::ForwardingConfig]
|
4867
|
+
#
|
4868
|
+
class MeasurementProcessingConfig < Struct.new(
|
4869
|
+
:forwarding_config)
|
4870
|
+
SENSITIVE = []
|
4871
|
+
include Aws::Structure
|
4872
|
+
end
|
4659
4873
|
|
4660
4874
|
# Contains an asset metric property. With metrics, you can calculate
|
4661
4875
|
# aggregate functions, such as an average, maximum, or minimum, as
|
@@ -4694,6 +4908,9 @@ module Aws::IoTSiteWise
|
|
4694
4908
|
# interval: "Interval", # required
|
4695
4909
|
# },
|
4696
4910
|
# },
|
4911
|
+
# processing_config: {
|
4912
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
4913
|
+
# },
|
4697
4914
|
# }
|
4698
4915
|
#
|
4699
4916
|
# @!attribute [rw] expression
|
@@ -4719,10 +4936,38 @@ module Aws::IoTSiteWise
|
|
4719
4936
|
# point per `window`.
|
4720
4937
|
# @return [Types::MetricWindow]
|
4721
4938
|
#
|
4939
|
+
# @!attribute [rw] processing_config
|
4940
|
+
# The processing configuration for the given metric property. You can
|
4941
|
+
# configure metrics to be computed at the edge or in the Amazon Web
|
4942
|
+
# Services Cloud. By default, metrics are forwarded to the cloud.
|
4943
|
+
# @return [Types::MetricProcessingConfig]
|
4944
|
+
#
|
4722
4945
|
class Metric < Struct.new(
|
4723
4946
|
:expression,
|
4724
4947
|
:variables,
|
4725
|
-
:window
|
4948
|
+
:window,
|
4949
|
+
:processing_config)
|
4950
|
+
SENSITIVE = []
|
4951
|
+
include Aws::Structure
|
4952
|
+
end
|
4953
|
+
|
4954
|
+
# The processing configuration for the given metric property. You can
|
4955
|
+
# configure metrics to be computed at the edge or in the Amazon Web
|
4956
|
+
# Services Cloud. By default, metrics are forwarded to the cloud.
|
4957
|
+
#
|
4958
|
+
# @note When making an API call, you may pass MetricProcessingConfig
|
4959
|
+
# data as a hash:
|
4960
|
+
#
|
4961
|
+
# {
|
4962
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
4963
|
+
# }
|
4964
|
+
#
|
4965
|
+
# @!attribute [rw] compute_location
|
4966
|
+
# The compute location for the given metric property.
|
4967
|
+
# @return [String]
|
4968
|
+
#
|
4969
|
+
class MetricProcessingConfig < Struct.new(
|
4970
|
+
:compute_location)
|
4726
4971
|
SENSITIVE = []
|
4727
4972
|
include Aws::Structure
|
4728
4973
|
end
|
@@ -5025,6 +5270,11 @@ module Aws::IoTSiteWise
|
|
5025
5270
|
# default_value: "DefaultValue",
|
5026
5271
|
# },
|
5027
5272
|
# measurement: {
|
5273
|
+
# processing_config: {
|
5274
|
+
# forwarding_config: { # required
|
5275
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
5276
|
+
# },
|
5277
|
+
# },
|
5028
5278
|
# },
|
5029
5279
|
# transform: {
|
5030
5280
|
# expression: "Expression", # required
|
@@ -5037,6 +5287,12 @@ module Aws::IoTSiteWise
|
|
5037
5287
|
# },
|
5038
5288
|
# },
|
5039
5289
|
# ],
|
5290
|
+
# processing_config: {
|
5291
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
5292
|
+
# forwarding_config: {
|
5293
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
5294
|
+
# },
|
5295
|
+
# },
|
5040
5296
|
# },
|
5041
5297
|
# metric: {
|
5042
5298
|
# expression: "Expression", # required
|
@@ -5054,6 +5310,9 @@ module Aws::IoTSiteWise
|
|
5054
5310
|
# interval: "Interval", # required
|
5055
5311
|
# },
|
5056
5312
|
# },
|
5313
|
+
# processing_config: {
|
5314
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
5315
|
+
# },
|
5057
5316
|
# },
|
5058
5317
|
# }
|
5059
5318
|
#
|
@@ -5510,6 +5769,12 @@ module Aws::IoTSiteWise
|
|
5510
5769
|
# },
|
5511
5770
|
# },
|
5512
5771
|
# ],
|
5772
|
+
# processing_config: {
|
5773
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
5774
|
+
# forwarding_config: {
|
5775
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
5776
|
+
# },
|
5777
|
+
# },
|
5513
5778
|
# }
|
5514
5779
|
#
|
5515
5780
|
# @!attribute [rw] expression
|
@@ -5529,9 +5794,47 @@ module Aws::IoTSiteWise
|
|
5529
5794
|
# The list of variables used in the expression.
|
5530
5795
|
# @return [Array<Types::ExpressionVariable>]
|
5531
5796
|
#
|
5797
|
+
# @!attribute [rw] processing_config
|
5798
|
+
# The processing configuration for the given transform property. You
|
5799
|
+
# can configure transforms to be kept at the edge or forwarded to the
|
5800
|
+
# Amazon Web Services Cloud. You can also configure transforms to be
|
5801
|
+
# computed at the edge or in the cloud.
|
5802
|
+
# @return [Types::TransformProcessingConfig]
|
5803
|
+
#
|
5532
5804
|
class Transform < Struct.new(
|
5533
5805
|
:expression,
|
5534
|
-
:variables
|
5806
|
+
:variables,
|
5807
|
+
:processing_config)
|
5808
|
+
SENSITIVE = []
|
5809
|
+
include Aws::Structure
|
5810
|
+
end
|
5811
|
+
|
5812
|
+
# The processing configuration for the given transform property. You can
|
5813
|
+
# configure transforms to be kept at the edge or forwarded to the Amazon
|
5814
|
+
# Web Services Cloud. You can also configure transforms to be computed
|
5815
|
+
# at the edge or in the cloud.
|
5816
|
+
#
|
5817
|
+
# @note When making an API call, you may pass TransformProcessingConfig
|
5818
|
+
# data as a hash:
|
5819
|
+
#
|
5820
|
+
# {
|
5821
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
5822
|
+
# forwarding_config: {
|
5823
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
5824
|
+
# },
|
5825
|
+
# }
|
5826
|
+
#
|
5827
|
+
# @!attribute [rw] compute_location
|
5828
|
+
# The compute location for the given transform property.
|
5829
|
+
# @return [String]
|
5830
|
+
#
|
5831
|
+
# @!attribute [rw] forwarding_config
|
5832
|
+
# The forwarding configuration for a given property.
|
5833
|
+
# @return [Types::ForwardingConfig]
|
5834
|
+
#
|
5835
|
+
class TransformProcessingConfig < Struct.new(
|
5836
|
+
:compute_location,
|
5837
|
+
:forwarding_config)
|
5535
5838
|
SENSITIVE = []
|
5536
5839
|
include Aws::Structure
|
5537
5840
|
end
|
@@ -5697,6 +6000,11 @@ module Aws::IoTSiteWise
|
|
5697
6000
|
# default_value: "DefaultValue",
|
5698
6001
|
# },
|
5699
6002
|
# measurement: {
|
6003
|
+
# processing_config: {
|
6004
|
+
# forwarding_config: { # required
|
6005
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
6006
|
+
# },
|
6007
|
+
# },
|
5700
6008
|
# },
|
5701
6009
|
# transform: {
|
5702
6010
|
# expression: "Expression", # required
|
@@ -5709,6 +6017,12 @@ module Aws::IoTSiteWise
|
|
5709
6017
|
# },
|
5710
6018
|
# },
|
5711
6019
|
# ],
|
6020
|
+
# processing_config: {
|
6021
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
6022
|
+
# forwarding_config: {
|
6023
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
6024
|
+
# },
|
6025
|
+
# },
|
5712
6026
|
# },
|
5713
6027
|
# metric: {
|
5714
6028
|
# expression: "Expression", # required
|
@@ -5726,6 +6040,9 @@ module Aws::IoTSiteWise
|
|
5726
6040
|
# interval: "Interval", # required
|
5727
6041
|
# },
|
5728
6042
|
# },
|
6043
|
+
# processing_config: {
|
6044
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
6045
|
+
# },
|
5729
6046
|
# },
|
5730
6047
|
# },
|
5731
6048
|
# },
|
@@ -5754,6 +6071,11 @@ module Aws::IoTSiteWise
|
|
5754
6071
|
# default_value: "DefaultValue",
|
5755
6072
|
# },
|
5756
6073
|
# measurement: {
|
6074
|
+
# processing_config: {
|
6075
|
+
# forwarding_config: { # required
|
6076
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
6077
|
+
# },
|
6078
|
+
# },
|
5757
6079
|
# },
|
5758
6080
|
# transform: {
|
5759
6081
|
# expression: "Expression", # required
|
@@ -5766,6 +6088,12 @@ module Aws::IoTSiteWise
|
|
5766
6088
|
# },
|
5767
6089
|
# },
|
5768
6090
|
# ],
|
6091
|
+
# processing_config: {
|
6092
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
6093
|
+
# forwarding_config: {
|
6094
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
6095
|
+
# },
|
6096
|
+
# },
|
5769
6097
|
# },
|
5770
6098
|
# metric: {
|
5771
6099
|
# expression: "Expression", # required
|
@@ -5783,6 +6111,9 @@ module Aws::IoTSiteWise
|
|
5783
6111
|
# interval: "Interval", # required
|
5784
6112
|
# },
|
5785
6113
|
# },
|
6114
|
+
# processing_config: {
|
6115
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
6116
|
+
# },
|
5786
6117
|
# },
|
5787
6118
|
# },
|
5788
6119
|
# },
|