aws-sdk-iotsitewise 1.34.0 → 1.35.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +297 -20
- data/lib/aws-sdk-iotsitewise/client_api.rb +155 -0
- data/lib/aws-sdk-iotsitewise/types.rb +435 -41
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- metadata +2 -2
@@ -63,6 +63,7 @@ module Aws::IoTSiteWise
|
|
63
63
|
AssetSummaries = Shapes::ListShape.new(name: 'AssetSummaries')
|
64
64
|
AssetSummary = Shapes::StructureShape.new(name: 'AssetSummary')
|
65
65
|
AssociateAssetsRequest = Shapes::StructureShape.new(name: 'AssociateAssetsRequest')
|
66
|
+
AssociateTimeSeriesToAssetPropertyRequest = Shapes::StructureShape.new(name: 'AssociateTimeSeriesToAssetPropertyRequest')
|
66
67
|
AssociatedAssetsSummaries = Shapes::ListShape.new(name: 'AssociatedAssetsSummaries')
|
67
68
|
AssociatedAssetsSummary = Shapes::StructureShape.new(name: 'AssociatedAssetsSummary')
|
68
69
|
Attribute = Shapes::StructureShape.new(name: 'Attribute')
|
@@ -123,6 +124,7 @@ module Aws::IoTSiteWise
|
|
123
124
|
DeletePortalResponse = Shapes::StructureShape.new(name: 'DeletePortalResponse')
|
124
125
|
DeleteProjectRequest = Shapes::StructureShape.new(name: 'DeleteProjectRequest')
|
125
126
|
DeleteProjectResponse = Shapes::StructureShape.new(name: 'DeleteProjectResponse')
|
127
|
+
DeleteTimeSeriesRequest = Shapes::StructureShape.new(name: 'DeleteTimeSeriesRequest')
|
126
128
|
DescribeAccessPolicyRequest = Shapes::StructureShape.new(name: 'DescribeAccessPolicyRequest')
|
127
129
|
DescribeAccessPolicyResponse = Shapes::StructureShape.new(name: 'DescribeAccessPolicyResponse')
|
128
130
|
DescribeAssetModelRequest = Shapes::StructureShape.new(name: 'DescribeAssetModelRequest')
|
@@ -147,12 +149,16 @@ module Aws::IoTSiteWise
|
|
147
149
|
DescribeProjectResponse = Shapes::StructureShape.new(name: 'DescribeProjectResponse')
|
148
150
|
DescribeStorageConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeStorageConfigurationRequest')
|
149
151
|
DescribeStorageConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeStorageConfigurationResponse')
|
152
|
+
DescribeTimeSeriesRequest = Shapes::StructureShape.new(name: 'DescribeTimeSeriesRequest')
|
153
|
+
DescribeTimeSeriesResponse = Shapes::StructureShape.new(name: 'DescribeTimeSeriesResponse')
|
150
154
|
Description = Shapes::StringShape.new(name: 'Description')
|
151
155
|
DetailedError = Shapes::StructureShape.new(name: 'DetailedError')
|
152
156
|
DetailedErrorCode = Shapes::StringShape.new(name: 'DetailedErrorCode')
|
153
157
|
DetailedErrorMessage = Shapes::StringShape.new(name: 'DetailedErrorMessage')
|
154
158
|
DetailedErrors = Shapes::ListShape.new(name: 'DetailedErrors')
|
155
159
|
DisassociateAssetsRequest = Shapes::StructureShape.new(name: 'DisassociateAssetsRequest')
|
160
|
+
DisassociateTimeSeriesFromAssetPropertyRequest = Shapes::StructureShape.new(name: 'DisassociateTimeSeriesFromAssetPropertyRequest')
|
161
|
+
DisassociatedDataStorageState = Shapes::StringShape.new(name: 'DisassociatedDataStorageState')
|
156
162
|
Email = Shapes::StringShape.new(name: 'Email')
|
157
163
|
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
158
164
|
EntryId = Shapes::StringShape.new(name: 'EntryId')
|
@@ -226,6 +232,9 @@ module Aws::IoTSiteWise
|
|
226
232
|
ListProjectsResponse = Shapes::StructureShape.new(name: 'ListProjectsResponse')
|
227
233
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
228
234
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
235
|
+
ListTimeSeriesRequest = Shapes::StructureShape.new(name: 'ListTimeSeriesRequest')
|
236
|
+
ListTimeSeriesResponse = Shapes::StructureShape.new(name: 'ListTimeSeriesResponse')
|
237
|
+
ListTimeSeriesType = Shapes::StringShape.new(name: 'ListTimeSeriesType')
|
229
238
|
LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
|
230
239
|
LoggingOptions = Shapes::StructureShape.new(name: 'LoggingOptions')
|
231
240
|
Macro = Shapes::StringShape.new(name: 'Macro')
|
@@ -296,6 +305,9 @@ module Aws::IoTSiteWise
|
|
296
305
|
TimeInNanos = Shapes::StructureShape.new(name: 'TimeInNanos')
|
297
306
|
TimeInSeconds = Shapes::IntegerShape.new(name: 'TimeInSeconds')
|
298
307
|
TimeOrdering = Shapes::StringShape.new(name: 'TimeOrdering')
|
308
|
+
TimeSeriesId = Shapes::StringShape.new(name: 'TimeSeriesId')
|
309
|
+
TimeSeriesSummaries = Shapes::ListShape.new(name: 'TimeSeriesSummaries')
|
310
|
+
TimeSeriesSummary = Shapes::StructureShape.new(name: 'TimeSeriesSummary')
|
299
311
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
300
312
|
Timestamps = Shapes::ListShape.new(name: 'Timestamps')
|
301
313
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
@@ -496,6 +508,12 @@ module Aws::IoTSiteWise
|
|
496
508
|
AssociateAssetsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
497
509
|
AssociateAssetsRequest.struct_class = Types::AssociateAssetsRequest
|
498
510
|
|
511
|
+
AssociateTimeSeriesToAssetPropertyRequest.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, required: true, location: "querystring", location_name: "alias"))
|
512
|
+
AssociateTimeSeriesToAssetPropertyRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "querystring", location_name: "assetId"))
|
513
|
+
AssociateTimeSeriesToAssetPropertyRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "querystring", location_name: "propertyId"))
|
514
|
+
AssociateTimeSeriesToAssetPropertyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
515
|
+
AssociateTimeSeriesToAssetPropertyRequest.struct_class = Types::AssociateTimeSeriesToAssetPropertyRequest
|
516
|
+
|
499
517
|
AssociatedAssetsSummaries.member = Shapes::ShapeRef.new(shape: AssociatedAssetsSummary)
|
500
518
|
|
501
519
|
AssociatedAssetsSummary.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
|
@@ -710,6 +728,12 @@ module Aws::IoTSiteWise
|
|
710
728
|
|
711
729
|
DeleteProjectResponse.struct_class = Types::DeleteProjectResponse
|
712
730
|
|
731
|
+
DeleteTimeSeriesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location: "querystring", location_name: "alias"))
|
732
|
+
DeleteTimeSeriesRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetId"))
|
733
|
+
DeleteTimeSeriesRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "propertyId"))
|
734
|
+
DeleteTimeSeriesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
735
|
+
DeleteTimeSeriesRequest.struct_class = Types::DeleteTimeSeriesRequest
|
736
|
+
|
713
737
|
DescribeAccessPolicyRequest.add_member(:access_policy_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "accessPolicyId"))
|
714
738
|
DescribeAccessPolicyRequest.struct_class = Types::DescribeAccessPolicyRequest
|
715
739
|
|
@@ -846,10 +870,26 @@ module Aws::IoTSiteWise
|
|
846
870
|
|
847
871
|
DescribeStorageConfigurationResponse.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
|
848
872
|
DescribeStorageConfigurationResponse.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
|
873
|
+
DescribeStorageConfigurationResponse.add_member(:disassociated_data_storage, Shapes::ShapeRef.new(shape: DisassociatedDataStorageState, location_name: "disassociatedDataStorage"))
|
849
874
|
DescribeStorageConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
|
850
875
|
DescribeStorageConfigurationResponse.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateDate"))
|
851
876
|
DescribeStorageConfigurationResponse.struct_class = Types::DescribeStorageConfigurationResponse
|
852
877
|
|
878
|
+
DescribeTimeSeriesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location: "querystring", location_name: "alias"))
|
879
|
+
DescribeTimeSeriesRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetId"))
|
880
|
+
DescribeTimeSeriesRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "propertyId"))
|
881
|
+
DescribeTimeSeriesRequest.struct_class = Types::DescribeTimeSeriesRequest
|
882
|
+
|
883
|
+
DescribeTimeSeriesResponse.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetId"))
|
884
|
+
DescribeTimeSeriesResponse.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location_name: "propertyId"))
|
885
|
+
DescribeTimeSeriesResponse.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location_name: "alias"))
|
886
|
+
DescribeTimeSeriesResponse.add_member(:time_series_id, Shapes::ShapeRef.new(shape: TimeSeriesId, required: true, location_name: "timeSeriesId"))
|
887
|
+
DescribeTimeSeriesResponse.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
888
|
+
DescribeTimeSeriesResponse.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
889
|
+
DescribeTimeSeriesResponse.add_member(:time_series_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesCreationDate"))
|
890
|
+
DescribeTimeSeriesResponse.add_member(:time_series_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesLastUpdateDate"))
|
891
|
+
DescribeTimeSeriesResponse.struct_class = Types::DescribeTimeSeriesResponse
|
892
|
+
|
853
893
|
DetailedError.add_member(:code, Shapes::ShapeRef.new(shape: DetailedErrorCode, required: true, location_name: "code"))
|
854
894
|
DetailedError.add_member(:message, Shapes::ShapeRef.new(shape: DetailedErrorMessage, required: true, location_name: "message"))
|
855
895
|
DetailedError.struct_class = Types::DetailedError
|
@@ -862,6 +902,12 @@ module Aws::IoTSiteWise
|
|
862
902
|
DisassociateAssetsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
863
903
|
DisassociateAssetsRequest.struct_class = Types::DisassociateAssetsRequest
|
864
904
|
|
905
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, required: true, location: "querystring", location_name: "alias"))
|
906
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "querystring", location_name: "assetId"))
|
907
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "querystring", location_name: "propertyId"))
|
908
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
909
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.struct_class = Types::DisassociateTimeSeriesFromAssetPropertyRequest
|
910
|
+
|
865
911
|
ErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
|
866
912
|
ErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
867
913
|
ErrorDetails.add_member(:details, Shapes::ShapeRef.new(shape: DetailedErrors, location_name: "details"))
|
@@ -1106,6 +1152,17 @@ module Aws::IoTSiteWise
|
|
1106
1152
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1107
1153
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1108
1154
|
|
1155
|
+
ListTimeSeriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1156
|
+
ListTimeSeriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1157
|
+
ListTimeSeriesRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetId"))
|
1158
|
+
ListTimeSeriesRequest.add_member(:alias_prefix, Shapes::ShapeRef.new(shape: PropertyAlias, location: "querystring", location_name: "aliasPrefix"))
|
1159
|
+
ListTimeSeriesRequest.add_member(:time_series_type, Shapes::ShapeRef.new(shape: ListTimeSeriesType, location: "querystring", location_name: "timeSeriesType"))
|
1160
|
+
ListTimeSeriesRequest.struct_class = Types::ListTimeSeriesRequest
|
1161
|
+
|
1162
|
+
ListTimeSeriesResponse.add_member(:time_series_summaries, Shapes::ShapeRef.new(shape: TimeSeriesSummaries, required: true, location_name: "TimeSeriesSummaries"))
|
1163
|
+
ListTimeSeriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1164
|
+
ListTimeSeriesResponse.struct_class = Types::ListTimeSeriesResponse
|
1165
|
+
|
1109
1166
|
LoggingOptions.add_member(:level, Shapes::ShapeRef.new(shape: LoggingLevel, required: true, location_name: "level"))
|
1110
1167
|
LoggingOptions.struct_class = Types::LoggingOptions
|
1111
1168
|
|
@@ -1209,10 +1266,12 @@ module Aws::IoTSiteWise
|
|
1209
1266
|
|
1210
1267
|
PutStorageConfigurationRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
|
1211
1268
|
PutStorageConfigurationRequest.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
|
1269
|
+
PutStorageConfigurationRequest.add_member(:disassociated_data_storage, Shapes::ShapeRef.new(shape: DisassociatedDataStorageState, location_name: "disassociatedDataStorage"))
|
1212
1270
|
PutStorageConfigurationRequest.struct_class = Types::PutStorageConfigurationRequest
|
1213
1271
|
|
1214
1272
|
PutStorageConfigurationResponse.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
|
1215
1273
|
PutStorageConfigurationResponse.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
|
1274
|
+
PutStorageConfigurationResponse.add_member(:disassociated_data_storage, Shapes::ShapeRef.new(shape: DisassociatedDataStorageState, location_name: "disassociatedDataStorage"))
|
1216
1275
|
PutStorageConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
|
1217
1276
|
PutStorageConfigurationResponse.struct_class = Types::PutStorageConfigurationResponse
|
1218
1277
|
|
@@ -1251,6 +1310,18 @@ module Aws::IoTSiteWise
|
|
1251
1310
|
TimeInNanos.add_member(:offset_in_nanos, Shapes::ShapeRef.new(shape: OffsetInNanos, location_name: "offsetInNanos"))
|
1252
1311
|
TimeInNanos.struct_class = Types::TimeInNanos
|
1253
1312
|
|
1313
|
+
TimeSeriesSummaries.member = Shapes::ShapeRef.new(shape: TimeSeriesSummary)
|
1314
|
+
|
1315
|
+
TimeSeriesSummary.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetId"))
|
1316
|
+
TimeSeriesSummary.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location_name: "propertyId"))
|
1317
|
+
TimeSeriesSummary.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location_name: "alias"))
|
1318
|
+
TimeSeriesSummary.add_member(:time_series_id, Shapes::ShapeRef.new(shape: TimeSeriesId, required: true, location_name: "timeSeriesId"))
|
1319
|
+
TimeSeriesSummary.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
1320
|
+
TimeSeriesSummary.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
1321
|
+
TimeSeriesSummary.add_member(:time_series_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesCreationDate"))
|
1322
|
+
TimeSeriesSummary.add_member(:time_series_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesLastUpdateDate"))
|
1323
|
+
TimeSeriesSummary.struct_class = Types::TimeSeriesSummary
|
1324
|
+
|
1254
1325
|
Timestamps.member = Shapes::ShapeRef.new(shape: TimeInNanos)
|
1255
1326
|
|
1256
1327
|
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
@@ -1407,6 +1478,22 @@ module Aws::IoTSiteWise
|
|
1407
1478
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1408
1479
|
end)
|
1409
1480
|
|
1481
|
+
api.add_operation(:associate_time_series_to_asset_property, Seahorse::Model::Operation.new.tap do |o|
|
1482
|
+
o.name = "AssociateTimeSeriesToAssetProperty"
|
1483
|
+
o.http_method = "POST"
|
1484
|
+
o.http_request_uri = "/timeseries/associate/"
|
1485
|
+
o.endpoint_pattern = {
|
1486
|
+
"hostPrefix" => "api.",
|
1487
|
+
}
|
1488
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateTimeSeriesToAssetPropertyRequest)
|
1489
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1490
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1491
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1492
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1493
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1494
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1495
|
+
end)
|
1496
|
+
|
1410
1497
|
api.add_operation(:batch_associate_project_assets, Seahorse::Model::Operation.new.tap do |o|
|
1411
1498
|
o.name = "BatchAssociateProjectAssets"
|
1412
1499
|
o.http_method = "POST"
|
@@ -1680,6 +1767,22 @@ module Aws::IoTSiteWise
|
|
1680
1767
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1681
1768
|
end)
|
1682
1769
|
|
1770
|
+
api.add_operation(:delete_time_series, Seahorse::Model::Operation.new.tap do |o|
|
1771
|
+
o.name = "DeleteTimeSeries"
|
1772
|
+
o.http_method = "POST"
|
1773
|
+
o.http_request_uri = "/timeseries/delete/"
|
1774
|
+
o.endpoint_pattern = {
|
1775
|
+
"hostPrefix" => "api.",
|
1776
|
+
}
|
1777
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTimeSeriesRequest)
|
1778
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1779
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1780
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1781
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1782
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1783
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1784
|
+
end)
|
1785
|
+
|
1683
1786
|
api.add_operation(:describe_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
1684
1787
|
o.name = "DescribeAccessPolicy"
|
1685
1788
|
o.http_method = "GET"
|
@@ -1861,6 +1964,21 @@ module Aws::IoTSiteWise
|
|
1861
1964
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1862
1965
|
end)
|
1863
1966
|
|
1967
|
+
api.add_operation(:describe_time_series, Seahorse::Model::Operation.new.tap do |o|
|
1968
|
+
o.name = "DescribeTimeSeries"
|
1969
|
+
o.http_method = "GET"
|
1970
|
+
o.http_request_uri = "/timeseries/describe/"
|
1971
|
+
o.endpoint_pattern = {
|
1972
|
+
"hostPrefix" => "api.",
|
1973
|
+
}
|
1974
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTimeSeriesRequest)
|
1975
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTimeSeriesResponse)
|
1976
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1977
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1978
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1979
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1980
|
+
end)
|
1981
|
+
|
1864
1982
|
api.add_operation(:disassociate_assets, Seahorse::Model::Operation.new.tap do |o|
|
1865
1983
|
o.name = "DisassociateAssets"
|
1866
1984
|
o.http_method = "POST"
|
@@ -1877,6 +1995,22 @@ module Aws::IoTSiteWise
|
|
1877
1995
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1878
1996
|
end)
|
1879
1997
|
|
1998
|
+
api.add_operation(:disassociate_time_series_from_asset_property, Seahorse::Model::Operation.new.tap do |o|
|
1999
|
+
o.name = "DisassociateTimeSeriesFromAssetProperty"
|
2000
|
+
o.http_method = "POST"
|
2001
|
+
o.http_request_uri = "/timeseries/disassociate/"
|
2002
|
+
o.endpoint_pattern = {
|
2003
|
+
"hostPrefix" => "api.",
|
2004
|
+
}
|
2005
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateTimeSeriesFromAssetPropertyRequest)
|
2006
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2007
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2008
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2009
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2010
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2011
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2012
|
+
end)
|
2013
|
+
|
1880
2014
|
api.add_operation(:get_asset_property_aggregates, Seahorse::Model::Operation.new.tap do |o|
|
1881
2015
|
o.name = "GetAssetPropertyAggregates"
|
1882
2016
|
o.http_method = "GET"
|
@@ -2180,6 +2314,27 @@ module Aws::IoTSiteWise
|
|
2180
2314
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2181
2315
|
end)
|
2182
2316
|
|
2317
|
+
api.add_operation(:list_time_series, Seahorse::Model::Operation.new.tap do |o|
|
2318
|
+
o.name = "ListTimeSeries"
|
2319
|
+
o.http_method = "GET"
|
2320
|
+
o.http_request_uri = "/timeseries/"
|
2321
|
+
o.endpoint_pattern = {
|
2322
|
+
"hostPrefix" => "api.",
|
2323
|
+
}
|
2324
|
+
o.input = Shapes::ShapeRef.new(shape: ListTimeSeriesRequest)
|
2325
|
+
o.output = Shapes::ShapeRef.new(shape: ListTimeSeriesResponse)
|
2326
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2327
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2328
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2329
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2330
|
+
o[:pager] = Aws::Pager.new(
|
2331
|
+
limit_key: "max_results",
|
2332
|
+
tokens: {
|
2333
|
+
"next_token" => "next_token"
|
2334
|
+
}
|
2335
|
+
)
|
2336
|
+
end)
|
2337
|
+
|
2183
2338
|
api.add_operation(:put_default_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2184
2339
|
o.name = "PutDefaultEncryptionConfiguration"
|
2185
2340
|
o.http_method = "POST"
|