aws-sdk-iotsitewise 1.68.0 → 1.70.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +292 -98
- data/lib/aws-sdk-iotsitewise/client_api.rb +59 -20
- data/lib/aws-sdk-iotsitewise/errors.rb +26 -0
- data/lib/aws-sdk-iotsitewise/types.rb +470 -224
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- data/sig/client.rbs +68 -43
- data/sig/errors.rbs +5 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +50 -20
- data/sig/waiters.rbs +4 -2
- metadata +4 -4
@@ -70,6 +70,8 @@ module Aws::IoTSiteWise
|
|
70
70
|
AssetModelSummaries = Shapes::ListShape.new(name: 'AssetModelSummaries')
|
71
71
|
AssetModelSummary = Shapes::StructureShape.new(name: 'AssetModelSummary')
|
72
72
|
AssetModelType = Shapes::StringShape.new(name: 'AssetModelType')
|
73
|
+
AssetModelVersionFilter = Shapes::StringShape.new(name: 'AssetModelVersionFilter')
|
74
|
+
AssetModelVersionType = Shapes::StringShape.new(name: 'AssetModelVersionType')
|
73
75
|
AssetProperties = Shapes::ListShape.new(name: 'AssetProperties')
|
74
76
|
AssetProperty = Shapes::StructureShape.new(name: 'AssetProperty')
|
75
77
|
AssetPropertyAlias = Shapes::StringShape.new(name: 'AssetPropertyAlias')
|
@@ -253,6 +255,7 @@ module Aws::IoTSiteWise
|
|
253
255
|
DisassociateAssetsRequest = Shapes::StructureShape.new(name: 'DisassociateAssetsRequest')
|
254
256
|
DisassociateTimeSeriesFromAssetPropertyRequest = Shapes::StructureShape.new(name: 'DisassociateTimeSeriesFromAssetPropertyRequest')
|
255
257
|
DisassociatedDataStorageState = Shapes::StringShape.new(name: 'DisassociatedDataStorageState')
|
258
|
+
ETag = Shapes::StringShape.new(name: 'ETag')
|
256
259
|
Email = Shapes::StringShape.new(name: 'Email')
|
257
260
|
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
258
261
|
EntryId = Shapes::StringShape.new(name: 'EntryId')
|
@@ -393,6 +396,7 @@ module Aws::IoTSiteWise
|
|
393
396
|
PortalStatus = Shapes::StructureShape.new(name: 'PortalStatus')
|
394
397
|
PortalSummaries = Shapes::ListShape.new(name: 'PortalSummaries')
|
395
398
|
PortalSummary = Shapes::StructureShape.new(name: 'PortalSummary')
|
399
|
+
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
396
400
|
ProjectResource = Shapes::StructureShape.new(name: 'ProjectResource')
|
397
401
|
ProjectSummaries = Shapes::ListShape.new(name: 'ProjectSummaries')
|
398
402
|
ProjectSummary = Shapes::StructureShape.new(name: 'ProjectSummary')
|
@@ -433,6 +437,7 @@ module Aws::IoTSiteWise
|
|
433
437
|
SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
|
434
438
|
ScalarType = Shapes::StringShape.new(name: 'ScalarType')
|
435
439
|
ScalarValue = Shapes::StringShape.new(name: 'ScalarValue')
|
440
|
+
SelectAll = Shapes::StringShape.new(name: 'SelectAll')
|
436
441
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
437
442
|
SiemensIE = Shapes::StructureShape.new(name: 'SiemensIE')
|
438
443
|
StorageType = Shapes::StringShape.new(name: 'StorageType')
|
@@ -488,6 +493,7 @@ module Aws::IoTSiteWise
|
|
488
493
|
VariableName = Shapes::StringShape.new(name: 'VariableName')
|
489
494
|
VariableValue = Shapes::StructureShape.new(name: 'VariableValue')
|
490
495
|
Variant = Shapes::StructureShape.new(name: 'Variant')
|
496
|
+
Version = Shapes::StringShape.new(name: 'Version')
|
491
497
|
WarmTierRetentionPeriod = Shapes::StructureShape.new(name: 'WarmTierRetentionPeriod')
|
492
498
|
WarmTierState = Shapes::StringShape.new(name: 'WarmTierState')
|
493
499
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
@@ -595,12 +601,12 @@ module Aws::IoTSiteWise
|
|
595
601
|
AssetModelCompositeModel.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
596
602
|
AssetModelCompositeModel.struct_class = Types::AssetModelCompositeModel
|
597
603
|
|
604
|
+
AssetModelCompositeModelDefinition.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
605
|
+
AssetModelCompositeModelDefinition.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
598
606
|
AssetModelCompositeModelDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
599
607
|
AssetModelCompositeModelDefinition.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
600
608
|
AssetModelCompositeModelDefinition.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
601
609
|
AssetModelCompositeModelDefinition.add_member(:properties, Shapes::ShapeRef.new(shape: AssetModelPropertyDefinitions, location_name: "properties"))
|
602
|
-
AssetModelCompositeModelDefinition.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
603
|
-
AssetModelCompositeModelDefinition.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
604
610
|
AssetModelCompositeModelDefinition.struct_class = Types::AssetModelCompositeModelDefinition
|
605
611
|
|
606
612
|
AssetModelCompositeModelDefinitions.member = Shapes::ShapeRef.new(shape: AssetModelCompositeModelDefinition)
|
@@ -626,15 +632,15 @@ module Aws::IoTSiteWise
|
|
626
632
|
AssetModelHierarchies.member = Shapes::ShapeRef.new(shape: AssetModelHierarchy)
|
627
633
|
|
628
634
|
AssetModelHierarchy.add_member(:id, Shapes::ShapeRef.new(shape: CustomID, location_name: "id"))
|
635
|
+
AssetModelHierarchy.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
629
636
|
AssetModelHierarchy.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
630
637
|
AssetModelHierarchy.add_member(:child_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location_name: "childAssetModelId"))
|
631
|
-
AssetModelHierarchy.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
632
638
|
AssetModelHierarchy.struct_class = Types::AssetModelHierarchy
|
633
639
|
|
634
|
-
AssetModelHierarchyDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
635
|
-
AssetModelHierarchyDefinition.add_member(:child_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location_name: "childAssetModelId"))
|
636
640
|
AssetModelHierarchyDefinition.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
637
641
|
AssetModelHierarchyDefinition.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
642
|
+
AssetModelHierarchyDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
643
|
+
AssetModelHierarchyDefinition.add_member(:child_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location_name: "childAssetModelId"))
|
638
644
|
AssetModelHierarchyDefinition.struct_class = Types::AssetModelHierarchyDefinition
|
639
645
|
|
640
646
|
AssetModelHierarchyDefinitions.member = Shapes::ShapeRef.new(shape: AssetModelHierarchyDefinition)
|
@@ -642,22 +648,22 @@ module Aws::IoTSiteWise
|
|
642
648
|
AssetModelProperties.member = Shapes::ShapeRef.new(shape: AssetModelProperty)
|
643
649
|
|
644
650
|
AssetModelProperty.add_member(:id, Shapes::ShapeRef.new(shape: CustomID, location_name: "id"))
|
651
|
+
AssetModelProperty.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
645
652
|
AssetModelProperty.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
646
653
|
AssetModelProperty.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
647
654
|
AssetModelProperty.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
648
655
|
AssetModelProperty.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
649
656
|
AssetModelProperty.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
650
657
|
AssetModelProperty.add_member(:path, Shapes::ShapeRef.new(shape: AssetModelPropertyPath, location_name: "path"))
|
651
|
-
AssetModelProperty.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
652
658
|
AssetModelProperty.struct_class = Types::AssetModelProperty
|
653
659
|
|
660
|
+
AssetModelPropertyDefinition.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
661
|
+
AssetModelPropertyDefinition.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
654
662
|
AssetModelPropertyDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
655
663
|
AssetModelPropertyDefinition.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
656
664
|
AssetModelPropertyDefinition.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
657
665
|
AssetModelPropertyDefinition.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
658
666
|
AssetModelPropertyDefinition.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
659
|
-
AssetModelPropertyDefinition.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
660
|
-
AssetModelPropertyDefinition.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
661
667
|
AssetModelPropertyDefinition.struct_class = Types::AssetModelPropertyDefinition
|
662
668
|
|
663
669
|
AssetModelPropertyDefinitions.member = Shapes::ShapeRef.new(shape: AssetModelPropertyDefinition)
|
@@ -671,6 +677,7 @@ module Aws::IoTSiteWise
|
|
671
677
|
AssetModelPropertySummaries.member = Shapes::ShapeRef.new(shape: AssetModelPropertySummary)
|
672
678
|
|
673
679
|
AssetModelPropertySummary.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
680
|
+
AssetModelPropertySummary.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
674
681
|
AssetModelPropertySummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
675
682
|
AssetModelPropertySummary.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
676
683
|
AssetModelPropertySummary.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
@@ -678,7 +685,6 @@ module Aws::IoTSiteWise
|
|
678
685
|
AssetModelPropertySummary.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
679
686
|
AssetModelPropertySummary.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetModelCompositeModelId"))
|
680
687
|
AssetModelPropertySummary.add_member(:path, Shapes::ShapeRef.new(shape: AssetModelPropertyPath, location_name: "path"))
|
681
|
-
AssetModelPropertySummary.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
682
688
|
AssetModelPropertySummary.struct_class = Types::AssetModelPropertySummary
|
683
689
|
|
684
690
|
AssetModelStatus.add_member(:state, Shapes::ShapeRef.new(shape: AssetModelState, required: true, location_name: "state"))
|
@@ -688,14 +694,15 @@ module Aws::IoTSiteWise
|
|
688
694
|
AssetModelSummaries.member = Shapes::ShapeRef.new(shape: AssetModelSummary)
|
689
695
|
|
690
696
|
AssetModelSummary.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
|
697
|
+
AssetModelSummary.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
691
698
|
AssetModelSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "arn"))
|
692
699
|
AssetModelSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
700
|
+
AssetModelSummary.add_member(:asset_model_type, Shapes::ShapeRef.new(shape: AssetModelType, location_name: "assetModelType"))
|
693
701
|
AssetModelSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
|
694
702
|
AssetModelSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
695
703
|
AssetModelSummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
|
696
704
|
AssetModelSummary.add_member(:status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "status"))
|
697
|
-
AssetModelSummary.add_member(:
|
698
|
-
AssetModelSummary.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
705
|
+
AssetModelSummary.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
699
706
|
AssetModelSummary.struct_class = Types::AssetModelSummary
|
700
707
|
|
701
708
|
AssetProperties.member = Shapes::ShapeRef.new(shape: AssetProperty)
|
@@ -1025,8 +1032,8 @@ module Aws::IoTSiteWise
|
|
1025
1032
|
CreateAccessPolicyResponse.struct_class = Types::CreateAccessPolicyResponse
|
1026
1033
|
|
1027
1034
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1028
|
-
CreateAssetModelCompositeModelRequest.add_member(:parent_asset_model_composite_model_id, Shapes::ShapeRef.new(shape: CustomID, location_name: "parentAssetModelCompositeModelId"))
|
1029
1035
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "assetModelCompositeModelExternalId"))
|
1036
|
+
CreateAssetModelCompositeModelRequest.add_member(:parent_asset_model_composite_model_id, Shapes::ShapeRef.new(shape: CustomID, location_name: "parentAssetModelCompositeModelId"))
|
1030
1037
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetModelCompositeModelId"))
|
1031
1038
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelCompositeModelDescription"))
|
1032
1039
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetModelCompositeModelName"))
|
@@ -1034,6 +1041,9 @@ module Aws::IoTSiteWise
|
|
1034
1041
|
CreateAssetModelCompositeModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1035
1042
|
CreateAssetModelCompositeModelRequest.add_member(:composed_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, location_name: "composedAssetModelId"))
|
1036
1043
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_properties, Shapes::ShapeRef.new(shape: AssetModelPropertyDefinitions, location_name: "assetModelCompositeModelProperties"))
|
1044
|
+
CreateAssetModelCompositeModelRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: ETag, location: "header", location_name: "If-Match"))
|
1045
|
+
CreateAssetModelCompositeModelRequest.add_member(:if_none_match, Shapes::ShapeRef.new(shape: SelectAll, location: "header", location_name: "If-None-Match"))
|
1046
|
+
CreateAssetModelCompositeModelRequest.add_member(:match_for_version_type, Shapes::ShapeRef.new(shape: AssetModelVersionType, location: "header", location_name: "Match-For-Version-Type"))
|
1037
1047
|
CreateAssetModelCompositeModelRequest.struct_class = Types::CreateAssetModelCompositeModelRequest
|
1038
1048
|
|
1039
1049
|
CreateAssetModelCompositeModelResponse.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelCompositeModelId"))
|
@@ -1042,15 +1052,15 @@ module Aws::IoTSiteWise
|
|
1042
1052
|
CreateAssetModelCompositeModelResponse.struct_class = Types::CreateAssetModelCompositeModelResponse
|
1043
1053
|
|
1044
1054
|
CreateAssetModelRequest.add_member(:asset_model_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetModelName"))
|
1055
|
+
CreateAssetModelRequest.add_member(:asset_model_type, Shapes::ShapeRef.new(shape: AssetModelType, location_name: "assetModelType"))
|
1056
|
+
CreateAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetModelId"))
|
1057
|
+
CreateAssetModelRequest.add_member(:asset_model_external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "assetModelExternalId"))
|
1045
1058
|
CreateAssetModelRequest.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelDescription"))
|
1046
1059
|
CreateAssetModelRequest.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelPropertyDefinitions, location_name: "assetModelProperties"))
|
1047
1060
|
CreateAssetModelRequest.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchyDefinitions, location_name: "assetModelHierarchies"))
|
1048
1061
|
CreateAssetModelRequest.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModelDefinitions, location_name: "assetModelCompositeModels"))
|
1049
1062
|
CreateAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1050
1063
|
CreateAssetModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1051
|
-
CreateAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetModelId"))
|
1052
|
-
CreateAssetModelRequest.add_member(:asset_model_external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "assetModelExternalId"))
|
1053
|
-
CreateAssetModelRequest.add_member(:asset_model_type, Shapes::ShapeRef.new(shape: AssetModelType, location_name: "assetModelType"))
|
1054
1064
|
CreateAssetModelRequest.struct_class = Types::CreateAssetModelRequest
|
1055
1065
|
|
1056
1066
|
CreateAssetModelResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
@@ -1170,6 +1180,9 @@ module Aws::IoTSiteWise
|
|
1170
1180
|
DeleteAssetModelCompositeModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1171
1181
|
DeleteAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelCompositeModelId"))
|
1172
1182
|
DeleteAssetModelCompositeModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1183
|
+
DeleteAssetModelCompositeModelRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: ETag, location: "header", location_name: "If-Match"))
|
1184
|
+
DeleteAssetModelCompositeModelRequest.add_member(:if_none_match, Shapes::ShapeRef.new(shape: SelectAll, location: "header", location_name: "If-None-Match"))
|
1185
|
+
DeleteAssetModelCompositeModelRequest.add_member(:match_for_version_type, Shapes::ShapeRef.new(shape: AssetModelVersionType, location: "header", location_name: "Match-For-Version-Type"))
|
1173
1186
|
DeleteAssetModelCompositeModelRequest.struct_class = Types::DeleteAssetModelCompositeModelRequest
|
1174
1187
|
|
1175
1188
|
DeleteAssetModelCompositeModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
@@ -1177,6 +1190,9 @@ module Aws::IoTSiteWise
|
|
1177
1190
|
|
1178
1191
|
DeleteAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1179
1192
|
DeleteAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1193
|
+
DeleteAssetModelRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: ETag, location: "header", location_name: "If-Match"))
|
1194
|
+
DeleteAssetModelRequest.add_member(:if_none_match, Shapes::ShapeRef.new(shape: SelectAll, location: "header", location_name: "If-None-Match"))
|
1195
|
+
DeleteAssetModelRequest.add_member(:match_for_version_type, Shapes::ShapeRef.new(shape: AssetModelVersionType, location: "header", location_name: "Match-For-Version-Type"))
|
1180
1196
|
DeleteAssetModelRequest.struct_class = Types::DeleteAssetModelRequest
|
1181
1197
|
|
1182
1198
|
DeleteAssetModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
@@ -1257,6 +1273,7 @@ module Aws::IoTSiteWise
|
|
1257
1273
|
|
1258
1274
|
DescribeAssetModelCompositeModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1259
1275
|
DescribeAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelCompositeModelId"))
|
1276
|
+
DescribeAssetModelCompositeModelRequest.add_member(:asset_model_version, Shapes::ShapeRef.new(shape: AssetModelVersionFilter, location: "querystring", location_name: "assetModelVersion"))
|
1260
1277
|
DescribeAssetModelCompositeModelRequest.struct_class = Types::DescribeAssetModelCompositeModelRequest
|
1261
1278
|
|
1262
1279
|
DescribeAssetModelCompositeModelResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
@@ -1274,21 +1291,24 @@ module Aws::IoTSiteWise
|
|
1274
1291
|
|
1275
1292
|
DescribeAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1276
1293
|
DescribeAssetModelRequest.add_member(:exclude_properties, Shapes::ShapeRef.new(shape: ExcludeProperties, location: "querystring", location_name: "excludeProperties"))
|
1294
|
+
DescribeAssetModelRequest.add_member(:asset_model_version, Shapes::ShapeRef.new(shape: AssetModelVersionFilter, location: "querystring", location_name: "assetModelVersion"))
|
1277
1295
|
DescribeAssetModelRequest.struct_class = Types::DescribeAssetModelRequest
|
1278
1296
|
|
1279
1297
|
DescribeAssetModelResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
1298
|
+
DescribeAssetModelResponse.add_member(:asset_model_external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "assetModelExternalId"))
|
1280
1299
|
DescribeAssetModelResponse.add_member(:asset_model_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "assetModelArn"))
|
1281
1300
|
DescribeAssetModelResponse.add_member(:asset_model_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetModelName"))
|
1301
|
+
DescribeAssetModelResponse.add_member(:asset_model_type, Shapes::ShapeRef.new(shape: AssetModelType, location_name: "assetModelType"))
|
1282
1302
|
DescribeAssetModelResponse.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "assetModelDescription"))
|
1283
1303
|
DescribeAssetModelResponse.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelProperties, required: true, location_name: "assetModelProperties"))
|
1284
1304
|
DescribeAssetModelResponse.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchies, required: true, location_name: "assetModelHierarchies"))
|
1285
1305
|
DescribeAssetModelResponse.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModels, location_name: "assetModelCompositeModels"))
|
1306
|
+
DescribeAssetModelResponse.add_member(:asset_model_composite_model_summaries, Shapes::ShapeRef.new(shape: AssetModelCompositeModelSummaries, location_name: "assetModelCompositeModelSummaries"))
|
1286
1307
|
DescribeAssetModelResponse.add_member(:asset_model_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetModelCreationDate"))
|
1287
1308
|
DescribeAssetModelResponse.add_member(:asset_model_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetModelLastUpdateDate"))
|
1288
1309
|
DescribeAssetModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
1289
|
-
DescribeAssetModelResponse.add_member(:
|
1290
|
-
DescribeAssetModelResponse.add_member(:
|
1291
|
-
DescribeAssetModelResponse.add_member(:asset_model_external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "assetModelExternalId"))
|
1310
|
+
DescribeAssetModelResponse.add_member(:asset_model_version, Shapes::ShapeRef.new(shape: Version, location_name: "assetModelVersion"))
|
1311
|
+
DescribeAssetModelResponse.add_member(:e_tag, Shapes::ShapeRef.new(shape: ETag, location: "header", location_name: "ETag"))
|
1292
1312
|
DescribeAssetModelResponse.struct_class = Types::DescribeAssetModelResponse
|
1293
1313
|
|
1294
1314
|
DescribeAssetPropertyRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetId"))
|
@@ -1677,6 +1697,7 @@ module Aws::IoTSiteWise
|
|
1677
1697
|
ListAssetModelCompositeModelsRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1678
1698
|
ListAssetModelCompositeModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1679
1699
|
ListAssetModelCompositeModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1700
|
+
ListAssetModelCompositeModelsRequest.add_member(:asset_model_version, Shapes::ShapeRef.new(shape: AssetModelVersionFilter, location: "querystring", location_name: "assetModelVersion"))
|
1680
1701
|
ListAssetModelCompositeModelsRequest.struct_class = Types::ListAssetModelCompositeModelsRequest
|
1681
1702
|
|
1682
1703
|
ListAssetModelCompositeModelsResponse.add_member(:asset_model_composite_model_summaries, Shapes::ShapeRef.new(shape: AssetModelCompositeModelSummaries, required: true, location_name: "assetModelCompositeModelSummaries"))
|
@@ -1687,15 +1708,17 @@ module Aws::IoTSiteWise
|
|
1687
1708
|
ListAssetModelPropertiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1688
1709
|
ListAssetModelPropertiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1689
1710
|
ListAssetModelPropertiesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ListAssetModelPropertiesFilter, location: "querystring", location_name: "filter"))
|
1711
|
+
ListAssetModelPropertiesRequest.add_member(:asset_model_version, Shapes::ShapeRef.new(shape: AssetModelVersionFilter, location: "querystring", location_name: "assetModelVersion"))
|
1690
1712
|
ListAssetModelPropertiesRequest.struct_class = Types::ListAssetModelPropertiesRequest
|
1691
1713
|
|
1692
1714
|
ListAssetModelPropertiesResponse.add_member(:asset_model_property_summaries, Shapes::ShapeRef.new(shape: AssetModelPropertySummaries, required: true, location_name: "assetModelPropertySummaries"))
|
1693
1715
|
ListAssetModelPropertiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1694
1716
|
ListAssetModelPropertiesResponse.struct_class = Types::ListAssetModelPropertiesResponse
|
1695
1717
|
|
1718
|
+
ListAssetModelsRequest.add_member(:asset_model_types, Shapes::ShapeRef.new(shape: ListAssetModelsTypeFilter, location: "querystring", location_name: "assetModelTypes"))
|
1696
1719
|
ListAssetModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1697
1720
|
ListAssetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1698
|
-
ListAssetModelsRequest.add_member(:
|
1721
|
+
ListAssetModelsRequest.add_member(:asset_model_version, Shapes::ShapeRef.new(shape: AssetModelVersionFilter, location: "querystring", location_name: "assetModelVersion"))
|
1699
1722
|
ListAssetModelsRequest.struct_class = Types::ListAssetModelsRequest
|
1700
1723
|
|
1701
1724
|
ListAssetModelsResponse.add_member(:asset_model_summaries, Shapes::ShapeRef.new(shape: AssetModelSummaries, required: true, location_name: "assetModelSummaries"))
|
@@ -1872,6 +1895,11 @@ module Aws::IoTSiteWise
|
|
1872
1895
|
PortalSummary.add_member(:status, Shapes::ShapeRef.new(shape: PortalStatus, required: true, location_name: "status"))
|
1873
1896
|
PortalSummary.struct_class = Types::PortalSummary
|
1874
1897
|
|
1898
|
+
PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
1899
|
+
PreconditionFailedException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
|
1900
|
+
PreconditionFailedException.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
|
1901
|
+
PreconditionFailedException.struct_class = Types::PreconditionFailedException
|
1902
|
+
|
1875
1903
|
ProjectResource.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
|
1876
1904
|
ProjectResource.struct_class = Types::ProjectResource
|
1877
1905
|
|
@@ -2055,6 +2083,9 @@ module Aws::IoTSiteWise
|
|
2055
2083
|
UpdateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetModelCompositeModelName"))
|
2056
2084
|
UpdateAssetModelCompositeModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
2057
2085
|
UpdateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_properties, Shapes::ShapeRef.new(shape: AssetModelProperties, location_name: "assetModelCompositeModelProperties"))
|
2086
|
+
UpdateAssetModelCompositeModelRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: ETag, location: "header", location_name: "If-Match"))
|
2087
|
+
UpdateAssetModelCompositeModelRequest.add_member(:if_none_match, Shapes::ShapeRef.new(shape: SelectAll, location: "header", location_name: "If-None-Match"))
|
2088
|
+
UpdateAssetModelCompositeModelRequest.add_member(:match_for_version_type, Shapes::ShapeRef.new(shape: AssetModelVersionType, location: "header", location_name: "Match-For-Version-Type"))
|
2058
2089
|
UpdateAssetModelCompositeModelRequest.struct_class = Types::UpdateAssetModelCompositeModelRequest
|
2059
2090
|
|
2060
2091
|
UpdateAssetModelCompositeModelResponse.add_member(:asset_model_composite_model_path, Shapes::ShapeRef.new(shape: AssetModelCompositeModelPath, required: true, location_name: "assetModelCompositeModelPath"))
|
@@ -2062,13 +2093,16 @@ module Aws::IoTSiteWise
|
|
2062
2093
|
UpdateAssetModelCompositeModelResponse.struct_class = Types::UpdateAssetModelCompositeModelResponse
|
2063
2094
|
|
2064
2095
|
UpdateAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
2096
|
+
UpdateAssetModelRequest.add_member(:asset_model_external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "assetModelExternalId"))
|
2065
2097
|
UpdateAssetModelRequest.add_member(:asset_model_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetModelName"))
|
2066
2098
|
UpdateAssetModelRequest.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelDescription"))
|
2067
2099
|
UpdateAssetModelRequest.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelProperties, location_name: "assetModelProperties"))
|
2068
2100
|
UpdateAssetModelRequest.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchies, location_name: "assetModelHierarchies"))
|
2069
2101
|
UpdateAssetModelRequest.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModels, location_name: "assetModelCompositeModels"))
|
2070
2102
|
UpdateAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
2071
|
-
UpdateAssetModelRequest.add_member(:
|
2103
|
+
UpdateAssetModelRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: ETag, location: "header", location_name: "If-Match"))
|
2104
|
+
UpdateAssetModelRequest.add_member(:if_none_match, Shapes::ShapeRef.new(shape: SelectAll, location: "header", location_name: "If-None-Match"))
|
2105
|
+
UpdateAssetModelRequest.add_member(:match_for_version_type, Shapes::ShapeRef.new(shape: AssetModelVersionType, location: "header", location_name: "Match-For-Version-Type"))
|
2072
2106
|
UpdateAssetModelRequest.struct_class = Types::UpdateAssetModelRequest
|
2073
2107
|
|
2074
2108
|
UpdateAssetModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
@@ -2384,6 +2418,7 @@ module Aws::IoTSiteWise
|
|
2384
2418
|
o.input = Shapes::ShapeRef.new(shape: CreateAssetModelCompositeModelRequest)
|
2385
2419
|
o.output = Shapes::ShapeRef.new(shape: CreateAssetModelCompositeModelResponse)
|
2386
2420
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2421
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2387
2422
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2388
2423
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2389
2424
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
@@ -2519,6 +2554,7 @@ module Aws::IoTSiteWise
|
|
2519
2554
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2520
2555
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2521
2556
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2557
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2522
2558
|
end)
|
2523
2559
|
|
2524
2560
|
api.add_operation(:delete_asset_model_composite_model, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2535,6 +2571,7 @@ module Aws::IoTSiteWise
|
|
2535
2571
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2536
2572
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2537
2573
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2574
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2538
2575
|
end)
|
2539
2576
|
|
2540
2577
|
api.add_operation(:delete_dashboard, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3529,6 +3566,7 @@ module Aws::IoTSiteWise
|
|
3529
3566
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3530
3567
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3531
3568
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
3569
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
3532
3570
|
end)
|
3533
3571
|
|
3534
3572
|
api.add_operation(:update_asset_model_composite_model, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3541,6 +3579,7 @@ module Aws::IoTSiteWise
|
|
3541
3579
|
o.input = Shapes::ShapeRef.new(shape: UpdateAssetModelCompositeModelRequest)
|
3542
3580
|
o.output = Shapes::ShapeRef.new(shape: UpdateAssetModelCompositeModelResponse)
|
3543
3581
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
3582
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
3544
3583
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
3545
3584
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3546
3585
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
@@ -32,6 +32,7 @@ module Aws::IoTSiteWise
|
|
32
32
|
# * {InternalFailureException}
|
33
33
|
# * {InvalidRequestException}
|
34
34
|
# * {LimitExceededException}
|
35
|
+
# * {PreconditionFailedException}
|
35
36
|
# * {QueryTimeoutException}
|
36
37
|
# * {ResourceAlreadyExistsException}
|
37
38
|
# * {ResourceNotFoundException}
|
@@ -132,6 +133,31 @@ module Aws::IoTSiteWise
|
|
132
133
|
end
|
133
134
|
end
|
134
135
|
|
136
|
+
class PreconditionFailedException < ServiceError
|
137
|
+
|
138
|
+
# @param [Seahorse::Client::RequestContext] context
|
139
|
+
# @param [String] message
|
140
|
+
# @param [Aws::IoTSiteWise::Types::PreconditionFailedException] data
|
141
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
142
|
+
super(context, message, data)
|
143
|
+
end
|
144
|
+
|
145
|
+
# @return [String]
|
146
|
+
def message
|
147
|
+
@message || @data[:message]
|
148
|
+
end
|
149
|
+
|
150
|
+
# @return [String]
|
151
|
+
def resource_id
|
152
|
+
@data[:resource_id]
|
153
|
+
end
|
154
|
+
|
155
|
+
# @return [String]
|
156
|
+
def resource_arn
|
157
|
+
@data[:resource_arn]
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
135
161
|
class QueryTimeoutException < ServiceError
|
136
162
|
|
137
163
|
# @param [Seahorse::Client::RequestContext] context
|