aws-sdk-iotsitewise 1.33.0 → 1.37.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/client.rb +331 -30
- data/lib/aws-sdk-iotsitewise/client_api.rb +165 -0
- data/lib/aws-sdk-iotsitewise/types.rb +515 -64
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- metadata +4 -4
@@ -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')
|
@@ -242,6 +251,7 @@ module Aws::IoTSiteWise
|
|
242
251
|
MultiLayerStorage = Shapes::StructureShape.new(name: 'MultiLayerStorage')
|
243
252
|
Name = Shapes::StringShape.new(name: 'Name')
|
244
253
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
254
|
+
NumberOfDays = Shapes::IntegerShape.new(name: 'NumberOfDays')
|
245
255
|
Offset = Shapes::StringShape.new(name: 'Offset')
|
246
256
|
OffsetInNanos = Shapes::IntegerShape.new(name: 'OffsetInNanos')
|
247
257
|
Permission = Shapes::StringShape.new(name: 'Permission')
|
@@ -283,6 +293,7 @@ module Aws::IoTSiteWise
|
|
283
293
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
284
294
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
285
295
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
296
|
+
RetentionPeriod = Shapes::StructureShape.new(name: 'RetentionPeriod')
|
286
297
|
SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
|
287
298
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
288
299
|
StorageType = Shapes::StringShape.new(name: 'StorageType')
|
@@ -296,6 +307,9 @@ module Aws::IoTSiteWise
|
|
296
307
|
TimeInNanos = Shapes::StructureShape.new(name: 'TimeInNanos')
|
297
308
|
TimeInSeconds = Shapes::IntegerShape.new(name: 'TimeInSeconds')
|
298
309
|
TimeOrdering = Shapes::StringShape.new(name: 'TimeOrdering')
|
310
|
+
TimeSeriesId = Shapes::StringShape.new(name: 'TimeSeriesId')
|
311
|
+
TimeSeriesSummaries = Shapes::ListShape.new(name: 'TimeSeriesSummaries')
|
312
|
+
TimeSeriesSummary = Shapes::StructureShape.new(name: 'TimeSeriesSummary')
|
299
313
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
300
314
|
Timestamps = Shapes::ListShape.new(name: 'Timestamps')
|
301
315
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
@@ -305,6 +319,7 @@ module Aws::IoTSiteWise
|
|
305
319
|
TraversalType = Shapes::StringShape.new(name: 'TraversalType')
|
306
320
|
TumblingWindow = Shapes::StructureShape.new(name: 'TumblingWindow')
|
307
321
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
322
|
+
Unlimited = Shapes::BooleanShape.new(name: 'Unlimited')
|
308
323
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
309
324
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
310
325
|
UpdateAccessPolicyRequest = Shapes::StructureShape.new(name: 'UpdateAccessPolicyRequest')
|
@@ -496,6 +511,12 @@ module Aws::IoTSiteWise
|
|
496
511
|
AssociateAssetsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
497
512
|
AssociateAssetsRequest.struct_class = Types::AssociateAssetsRequest
|
498
513
|
|
514
|
+
AssociateTimeSeriesToAssetPropertyRequest.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, required: true, location: "querystring", location_name: "alias"))
|
515
|
+
AssociateTimeSeriesToAssetPropertyRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "querystring", location_name: "assetId"))
|
516
|
+
AssociateTimeSeriesToAssetPropertyRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "querystring", location_name: "propertyId"))
|
517
|
+
AssociateTimeSeriesToAssetPropertyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
518
|
+
AssociateTimeSeriesToAssetPropertyRequest.struct_class = Types::AssociateTimeSeriesToAssetPropertyRequest
|
519
|
+
|
499
520
|
AssociatedAssetsSummaries.member = Shapes::ShapeRef.new(shape: AssociatedAssetsSummary)
|
500
521
|
|
501
522
|
AssociatedAssetsSummary.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
|
@@ -710,6 +731,12 @@ module Aws::IoTSiteWise
|
|
710
731
|
|
711
732
|
DeleteProjectResponse.struct_class = Types::DeleteProjectResponse
|
712
733
|
|
734
|
+
DeleteTimeSeriesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location: "querystring", location_name: "alias"))
|
735
|
+
DeleteTimeSeriesRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetId"))
|
736
|
+
DeleteTimeSeriesRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "propertyId"))
|
737
|
+
DeleteTimeSeriesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
738
|
+
DeleteTimeSeriesRequest.struct_class = Types::DeleteTimeSeriesRequest
|
739
|
+
|
713
740
|
DescribeAccessPolicyRequest.add_member(:access_policy_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "accessPolicyId"))
|
714
741
|
DescribeAccessPolicyRequest.struct_class = Types::DescribeAccessPolicyRequest
|
715
742
|
|
@@ -846,10 +873,27 @@ module Aws::IoTSiteWise
|
|
846
873
|
|
847
874
|
DescribeStorageConfigurationResponse.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
|
848
875
|
DescribeStorageConfigurationResponse.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
|
876
|
+
DescribeStorageConfigurationResponse.add_member(:disassociated_data_storage, Shapes::ShapeRef.new(shape: DisassociatedDataStorageState, location_name: "disassociatedDataStorage"))
|
877
|
+
DescribeStorageConfigurationResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
849
878
|
DescribeStorageConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
|
850
879
|
DescribeStorageConfigurationResponse.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateDate"))
|
851
880
|
DescribeStorageConfigurationResponse.struct_class = Types::DescribeStorageConfigurationResponse
|
852
881
|
|
882
|
+
DescribeTimeSeriesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location: "querystring", location_name: "alias"))
|
883
|
+
DescribeTimeSeriesRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetId"))
|
884
|
+
DescribeTimeSeriesRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "propertyId"))
|
885
|
+
DescribeTimeSeriesRequest.struct_class = Types::DescribeTimeSeriesRequest
|
886
|
+
|
887
|
+
DescribeTimeSeriesResponse.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetId"))
|
888
|
+
DescribeTimeSeriesResponse.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location_name: "propertyId"))
|
889
|
+
DescribeTimeSeriesResponse.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location_name: "alias"))
|
890
|
+
DescribeTimeSeriesResponse.add_member(:time_series_id, Shapes::ShapeRef.new(shape: TimeSeriesId, required: true, location_name: "timeSeriesId"))
|
891
|
+
DescribeTimeSeriesResponse.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
892
|
+
DescribeTimeSeriesResponse.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
893
|
+
DescribeTimeSeriesResponse.add_member(:time_series_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesCreationDate"))
|
894
|
+
DescribeTimeSeriesResponse.add_member(:time_series_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesLastUpdateDate"))
|
895
|
+
DescribeTimeSeriesResponse.struct_class = Types::DescribeTimeSeriesResponse
|
896
|
+
|
853
897
|
DetailedError.add_member(:code, Shapes::ShapeRef.new(shape: DetailedErrorCode, required: true, location_name: "code"))
|
854
898
|
DetailedError.add_member(:message, Shapes::ShapeRef.new(shape: DetailedErrorMessage, required: true, location_name: "message"))
|
855
899
|
DetailedError.struct_class = Types::DetailedError
|
@@ -862,6 +906,12 @@ module Aws::IoTSiteWise
|
|
862
906
|
DisassociateAssetsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
863
907
|
DisassociateAssetsRequest.struct_class = Types::DisassociateAssetsRequest
|
864
908
|
|
909
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, required: true, location: "querystring", location_name: "alias"))
|
910
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "querystring", location_name: "assetId"))
|
911
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "querystring", location_name: "propertyId"))
|
912
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
913
|
+
DisassociateTimeSeriesFromAssetPropertyRequest.struct_class = Types::DisassociateTimeSeriesFromAssetPropertyRequest
|
914
|
+
|
865
915
|
ErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
|
866
916
|
ErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
867
917
|
ErrorDetails.add_member(:details, Shapes::ShapeRef.new(shape: DetailedErrors, location_name: "details"))
|
@@ -1106,6 +1156,17 @@ module Aws::IoTSiteWise
|
|
1106
1156
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1107
1157
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1108
1158
|
|
1159
|
+
ListTimeSeriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1160
|
+
ListTimeSeriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1161
|
+
ListTimeSeriesRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetId"))
|
1162
|
+
ListTimeSeriesRequest.add_member(:alias_prefix, Shapes::ShapeRef.new(shape: PropertyAlias, location: "querystring", location_name: "aliasPrefix"))
|
1163
|
+
ListTimeSeriesRequest.add_member(:time_series_type, Shapes::ShapeRef.new(shape: ListTimeSeriesType, location: "querystring", location_name: "timeSeriesType"))
|
1164
|
+
ListTimeSeriesRequest.struct_class = Types::ListTimeSeriesRequest
|
1165
|
+
|
1166
|
+
ListTimeSeriesResponse.add_member(:time_series_summaries, Shapes::ShapeRef.new(shape: TimeSeriesSummaries, required: true, location_name: "TimeSeriesSummaries"))
|
1167
|
+
ListTimeSeriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1168
|
+
ListTimeSeriesResponse.struct_class = Types::ListTimeSeriesResponse
|
1169
|
+
|
1109
1170
|
LoggingOptions.add_member(:level, Shapes::ShapeRef.new(shape: LoggingLevel, required: true, location_name: "level"))
|
1110
1171
|
LoggingOptions.struct_class = Types::LoggingOptions
|
1111
1172
|
|
@@ -1209,10 +1270,14 @@ module Aws::IoTSiteWise
|
|
1209
1270
|
|
1210
1271
|
PutStorageConfigurationRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
|
1211
1272
|
PutStorageConfigurationRequest.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
|
1273
|
+
PutStorageConfigurationRequest.add_member(:disassociated_data_storage, Shapes::ShapeRef.new(shape: DisassociatedDataStorageState, location_name: "disassociatedDataStorage"))
|
1274
|
+
PutStorageConfigurationRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
1212
1275
|
PutStorageConfigurationRequest.struct_class = Types::PutStorageConfigurationRequest
|
1213
1276
|
|
1214
1277
|
PutStorageConfigurationResponse.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
|
1215
1278
|
PutStorageConfigurationResponse.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
|
1279
|
+
PutStorageConfigurationResponse.add_member(:disassociated_data_storage, Shapes::ShapeRef.new(shape: DisassociatedDataStorageState, location_name: "disassociatedDataStorage"))
|
1280
|
+
PutStorageConfigurationResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
1216
1281
|
PutStorageConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
|
1217
1282
|
PutStorageConfigurationResponse.struct_class = Types::PutStorageConfigurationResponse
|
1218
1283
|
|
@@ -1230,6 +1295,10 @@ module Aws::IoTSiteWise
|
|
1230
1295
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
1231
1296
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1232
1297
|
|
1298
|
+
RetentionPeriod.add_member(:number_of_days, Shapes::ShapeRef.new(shape: NumberOfDays, location_name: "numberOfDays"))
|
1299
|
+
RetentionPeriod.add_member(:unlimited, Shapes::ShapeRef.new(shape: Unlimited, location_name: "unlimited"))
|
1300
|
+
RetentionPeriod.struct_class = Types::RetentionPeriod
|
1301
|
+
|
1233
1302
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
1234
1303
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
1235
1304
|
|
@@ -1251,6 +1320,18 @@ module Aws::IoTSiteWise
|
|
1251
1320
|
TimeInNanos.add_member(:offset_in_nanos, Shapes::ShapeRef.new(shape: OffsetInNanos, location_name: "offsetInNanos"))
|
1252
1321
|
TimeInNanos.struct_class = Types::TimeInNanos
|
1253
1322
|
|
1323
|
+
TimeSeriesSummaries.member = Shapes::ShapeRef.new(shape: TimeSeriesSummary)
|
1324
|
+
|
1325
|
+
TimeSeriesSummary.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetId"))
|
1326
|
+
TimeSeriesSummary.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location_name: "propertyId"))
|
1327
|
+
TimeSeriesSummary.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location_name: "alias"))
|
1328
|
+
TimeSeriesSummary.add_member(:time_series_id, Shapes::ShapeRef.new(shape: TimeSeriesId, required: true, location_name: "timeSeriesId"))
|
1329
|
+
TimeSeriesSummary.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
1330
|
+
TimeSeriesSummary.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
1331
|
+
TimeSeriesSummary.add_member(:time_series_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesCreationDate"))
|
1332
|
+
TimeSeriesSummary.add_member(:time_series_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesLastUpdateDate"))
|
1333
|
+
TimeSeriesSummary.struct_class = Types::TimeSeriesSummary
|
1334
|
+
|
1254
1335
|
Timestamps.member = Shapes::ShapeRef.new(shape: TimeInNanos)
|
1255
1336
|
|
1256
1337
|
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
@@ -1407,6 +1488,22 @@ module Aws::IoTSiteWise
|
|
1407
1488
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1408
1489
|
end)
|
1409
1490
|
|
1491
|
+
api.add_operation(:associate_time_series_to_asset_property, Seahorse::Model::Operation.new.tap do |o|
|
1492
|
+
o.name = "AssociateTimeSeriesToAssetProperty"
|
1493
|
+
o.http_method = "POST"
|
1494
|
+
o.http_request_uri = "/timeseries/associate/"
|
1495
|
+
o.endpoint_pattern = {
|
1496
|
+
"hostPrefix" => "api.",
|
1497
|
+
}
|
1498
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateTimeSeriesToAssetPropertyRequest)
|
1499
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1500
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1501
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1502
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1503
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1504
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1505
|
+
end)
|
1506
|
+
|
1410
1507
|
api.add_operation(:batch_associate_project_assets, Seahorse::Model::Operation.new.tap do |o|
|
1411
1508
|
o.name = "BatchAssociateProjectAssets"
|
1412
1509
|
o.http_method = "POST"
|
@@ -1680,6 +1777,22 @@ module Aws::IoTSiteWise
|
|
1680
1777
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1681
1778
|
end)
|
1682
1779
|
|
1780
|
+
api.add_operation(:delete_time_series, Seahorse::Model::Operation.new.tap do |o|
|
1781
|
+
o.name = "DeleteTimeSeries"
|
1782
|
+
o.http_method = "POST"
|
1783
|
+
o.http_request_uri = "/timeseries/delete/"
|
1784
|
+
o.endpoint_pattern = {
|
1785
|
+
"hostPrefix" => "api.",
|
1786
|
+
}
|
1787
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTimeSeriesRequest)
|
1788
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1789
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1790
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1791
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1792
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1793
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1794
|
+
end)
|
1795
|
+
|
1683
1796
|
api.add_operation(:describe_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
1684
1797
|
o.name = "DescribeAccessPolicy"
|
1685
1798
|
o.http_method = "GET"
|
@@ -1861,6 +1974,21 @@ module Aws::IoTSiteWise
|
|
1861
1974
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1862
1975
|
end)
|
1863
1976
|
|
1977
|
+
api.add_operation(:describe_time_series, Seahorse::Model::Operation.new.tap do |o|
|
1978
|
+
o.name = "DescribeTimeSeries"
|
1979
|
+
o.http_method = "GET"
|
1980
|
+
o.http_request_uri = "/timeseries/describe/"
|
1981
|
+
o.endpoint_pattern = {
|
1982
|
+
"hostPrefix" => "api.",
|
1983
|
+
}
|
1984
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTimeSeriesRequest)
|
1985
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTimeSeriesResponse)
|
1986
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1987
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1988
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1989
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1990
|
+
end)
|
1991
|
+
|
1864
1992
|
api.add_operation(:disassociate_assets, Seahorse::Model::Operation.new.tap do |o|
|
1865
1993
|
o.name = "DisassociateAssets"
|
1866
1994
|
o.http_method = "POST"
|
@@ -1877,6 +2005,22 @@ module Aws::IoTSiteWise
|
|
1877
2005
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1878
2006
|
end)
|
1879
2007
|
|
2008
|
+
api.add_operation(:disassociate_time_series_from_asset_property, Seahorse::Model::Operation.new.tap do |o|
|
2009
|
+
o.name = "DisassociateTimeSeriesFromAssetProperty"
|
2010
|
+
o.http_method = "POST"
|
2011
|
+
o.http_request_uri = "/timeseries/disassociate/"
|
2012
|
+
o.endpoint_pattern = {
|
2013
|
+
"hostPrefix" => "api.",
|
2014
|
+
}
|
2015
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateTimeSeriesFromAssetPropertyRequest)
|
2016
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2017
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2018
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2019
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2020
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2021
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2022
|
+
end)
|
2023
|
+
|
1880
2024
|
api.add_operation(:get_asset_property_aggregates, Seahorse::Model::Operation.new.tap do |o|
|
1881
2025
|
o.name = "GetAssetPropertyAggregates"
|
1882
2026
|
o.http_method = "GET"
|
@@ -2180,6 +2324,27 @@ module Aws::IoTSiteWise
|
|
2180
2324
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2181
2325
|
end)
|
2182
2326
|
|
2327
|
+
api.add_operation(:list_time_series, Seahorse::Model::Operation.new.tap do |o|
|
2328
|
+
o.name = "ListTimeSeries"
|
2329
|
+
o.http_method = "GET"
|
2330
|
+
o.http_request_uri = "/timeseries/"
|
2331
|
+
o.endpoint_pattern = {
|
2332
|
+
"hostPrefix" => "api.",
|
2333
|
+
}
|
2334
|
+
o.input = Shapes::ShapeRef.new(shape: ListTimeSeriesRequest)
|
2335
|
+
o.output = Shapes::ShapeRef.new(shape: ListTimeSeriesResponse)
|
2336
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2337
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2338
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2339
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2340
|
+
o[:pager] = Aws::Pager.new(
|
2341
|
+
limit_key: "max_results",
|
2342
|
+
tokens: {
|
2343
|
+
"next_token" => "next_token"
|
2344
|
+
}
|
2345
|
+
)
|
2346
|
+
end)
|
2347
|
+
|
2183
2348
|
api.add_operation(:put_default_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2184
2349
|
o.name = "PutDefaultEncryptionConfiguration"
|
2185
2350
|
o.http_method = "POST"
|