aws-sdk-iotsitewise 1.67.0 → 1.69.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 +321 -129
- data/lib/aws-sdk-iotsitewise/client_api.rb +71 -24
- data/lib/aws-sdk-iotsitewise/errors.rb +26 -0
- data/lib/aws-sdk-iotsitewise/types.rb +523 -258
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- data/sig/client.rbs +72 -45
- data/sig/errors.rbs +5 -0
- data/sig/types.rbs +59 -23
- data/sig/waiters.rbs +4 -2
- metadata +2 -2
@@ -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')
|
@@ -279,6 +282,7 @@ module Aws::IoTSiteWise
|
|
279
282
|
ForwardingConfigState = Shapes::StringShape.new(name: 'ForwardingConfigState')
|
280
283
|
GatewayCapabilitySummaries = Shapes::ListShape.new(name: 'GatewayCapabilitySummaries')
|
281
284
|
GatewayCapabilitySummary = Shapes::StructureShape.new(name: 'GatewayCapabilitySummary')
|
285
|
+
GatewayName = Shapes::StringShape.new(name: 'GatewayName')
|
282
286
|
GatewayPlatform = Shapes::StructureShape.new(name: 'GatewayPlatform')
|
283
287
|
GatewaySummaries = Shapes::ListShape.new(name: 'GatewaySummaries')
|
284
288
|
GatewaySummary = Shapes::StructureShape.new(name: 'GatewaySummary')
|
@@ -315,6 +319,7 @@ module Aws::IoTSiteWise
|
|
315
319
|
IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
|
316
320
|
IntervalWindowInSeconds = Shapes::IntegerShape.new(name: 'IntervalWindowInSeconds')
|
317
321
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
322
|
+
IotCoreThingName = Shapes::StringShape.new(name: 'IotCoreThingName')
|
318
323
|
JobConfiguration = Shapes::StructureShape.new(name: 'JobConfiguration')
|
319
324
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
320
325
|
JobSummaries = Shapes::ListShape.new(name: 'JobSummaries')
|
@@ -391,6 +396,7 @@ module Aws::IoTSiteWise
|
|
391
396
|
PortalStatus = Shapes::StructureShape.new(name: 'PortalStatus')
|
392
397
|
PortalSummaries = Shapes::ListShape.new(name: 'PortalSummaries')
|
393
398
|
PortalSummary = Shapes::StructureShape.new(name: 'PortalSummary')
|
399
|
+
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
394
400
|
ProjectResource = Shapes::StructureShape.new(name: 'ProjectResource')
|
395
401
|
ProjectSummaries = Shapes::ListShape.new(name: 'ProjectSummaries')
|
396
402
|
ProjectSummary = Shapes::StructureShape.new(name: 'ProjectSummary')
|
@@ -431,7 +437,9 @@ module Aws::IoTSiteWise
|
|
431
437
|
SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
|
432
438
|
ScalarType = Shapes::StringShape.new(name: 'ScalarType')
|
433
439
|
ScalarValue = Shapes::StringShape.new(name: 'ScalarValue')
|
440
|
+
SelectAll = Shapes::StringShape.new(name: 'SelectAll')
|
434
441
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
442
|
+
SiemensIE = Shapes::StructureShape.new(name: 'SiemensIE')
|
435
443
|
StorageType = Shapes::StringShape.new(name: 'StorageType')
|
436
444
|
String = Shapes::StringShape.new(name: 'String')
|
437
445
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -485,6 +493,7 @@ module Aws::IoTSiteWise
|
|
485
493
|
VariableName = Shapes::StringShape.new(name: 'VariableName')
|
486
494
|
VariableValue = Shapes::StructureShape.new(name: 'VariableValue')
|
487
495
|
Variant = Shapes::StructureShape.new(name: 'Variant')
|
496
|
+
Version = Shapes::StringShape.new(name: 'Version')
|
488
497
|
WarmTierRetentionPeriod = Shapes::StructureShape.new(name: 'WarmTierRetentionPeriod')
|
489
498
|
WarmTierState = Shapes::StringShape.new(name: 'WarmTierState')
|
490
499
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
@@ -592,12 +601,12 @@ module Aws::IoTSiteWise
|
|
592
601
|
AssetModelCompositeModel.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
593
602
|
AssetModelCompositeModel.struct_class = Types::AssetModelCompositeModel
|
594
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"))
|
595
606
|
AssetModelCompositeModelDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
596
607
|
AssetModelCompositeModelDefinition.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
597
608
|
AssetModelCompositeModelDefinition.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
598
609
|
AssetModelCompositeModelDefinition.add_member(:properties, Shapes::ShapeRef.new(shape: AssetModelPropertyDefinitions, location_name: "properties"))
|
599
|
-
AssetModelCompositeModelDefinition.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
600
|
-
AssetModelCompositeModelDefinition.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
601
610
|
AssetModelCompositeModelDefinition.struct_class = Types::AssetModelCompositeModelDefinition
|
602
611
|
|
603
612
|
AssetModelCompositeModelDefinitions.member = Shapes::ShapeRef.new(shape: AssetModelCompositeModelDefinition)
|
@@ -623,15 +632,15 @@ module Aws::IoTSiteWise
|
|
623
632
|
AssetModelHierarchies.member = Shapes::ShapeRef.new(shape: AssetModelHierarchy)
|
624
633
|
|
625
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"))
|
626
636
|
AssetModelHierarchy.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
627
637
|
AssetModelHierarchy.add_member(:child_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location_name: "childAssetModelId"))
|
628
|
-
AssetModelHierarchy.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
629
638
|
AssetModelHierarchy.struct_class = Types::AssetModelHierarchy
|
630
639
|
|
631
|
-
AssetModelHierarchyDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
632
|
-
AssetModelHierarchyDefinition.add_member(:child_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location_name: "childAssetModelId"))
|
633
640
|
AssetModelHierarchyDefinition.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
634
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"))
|
635
644
|
AssetModelHierarchyDefinition.struct_class = Types::AssetModelHierarchyDefinition
|
636
645
|
|
637
646
|
AssetModelHierarchyDefinitions.member = Shapes::ShapeRef.new(shape: AssetModelHierarchyDefinition)
|
@@ -639,22 +648,22 @@ module Aws::IoTSiteWise
|
|
639
648
|
AssetModelProperties.member = Shapes::ShapeRef.new(shape: AssetModelProperty)
|
640
649
|
|
641
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"))
|
642
652
|
AssetModelProperty.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
643
653
|
AssetModelProperty.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
644
654
|
AssetModelProperty.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
645
655
|
AssetModelProperty.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
646
656
|
AssetModelProperty.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
647
657
|
AssetModelProperty.add_member(:path, Shapes::ShapeRef.new(shape: AssetModelPropertyPath, location_name: "path"))
|
648
|
-
AssetModelProperty.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
649
658
|
AssetModelProperty.struct_class = Types::AssetModelProperty
|
650
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"))
|
651
662
|
AssetModelPropertyDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
652
663
|
AssetModelPropertyDefinition.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
653
664
|
AssetModelPropertyDefinition.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
654
665
|
AssetModelPropertyDefinition.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
655
666
|
AssetModelPropertyDefinition.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
656
|
-
AssetModelPropertyDefinition.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
657
|
-
AssetModelPropertyDefinition.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
658
667
|
AssetModelPropertyDefinition.struct_class = Types::AssetModelPropertyDefinition
|
659
668
|
|
660
669
|
AssetModelPropertyDefinitions.member = Shapes::ShapeRef.new(shape: AssetModelPropertyDefinition)
|
@@ -668,6 +677,7 @@ module Aws::IoTSiteWise
|
|
668
677
|
AssetModelPropertySummaries.member = Shapes::ShapeRef.new(shape: AssetModelPropertySummary)
|
669
678
|
|
670
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"))
|
671
681
|
AssetModelPropertySummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
672
682
|
AssetModelPropertySummary.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
673
683
|
AssetModelPropertySummary.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
@@ -675,7 +685,6 @@ module Aws::IoTSiteWise
|
|
675
685
|
AssetModelPropertySummary.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
676
686
|
AssetModelPropertySummary.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetModelCompositeModelId"))
|
677
687
|
AssetModelPropertySummary.add_member(:path, Shapes::ShapeRef.new(shape: AssetModelPropertyPath, location_name: "path"))
|
678
|
-
AssetModelPropertySummary.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
679
688
|
AssetModelPropertySummary.struct_class = Types::AssetModelPropertySummary
|
680
689
|
|
681
690
|
AssetModelStatus.add_member(:state, Shapes::ShapeRef.new(shape: AssetModelState, required: true, location_name: "state"))
|
@@ -685,14 +694,15 @@ module Aws::IoTSiteWise
|
|
685
694
|
AssetModelSummaries.member = Shapes::ShapeRef.new(shape: AssetModelSummary)
|
686
695
|
|
687
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"))
|
688
698
|
AssetModelSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "arn"))
|
689
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"))
|
690
701
|
AssetModelSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
|
691
702
|
AssetModelSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
692
703
|
AssetModelSummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
|
693
704
|
AssetModelSummary.add_member(:status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "status"))
|
694
|
-
AssetModelSummary.add_member(:
|
695
|
-
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"))
|
696
706
|
AssetModelSummary.struct_class = Types::AssetModelSummary
|
697
707
|
|
698
708
|
AssetProperties.member = Shapes::ShapeRef.new(shape: AssetProperty)
|
@@ -1022,8 +1032,8 @@ module Aws::IoTSiteWise
|
|
1022
1032
|
CreateAccessPolicyResponse.struct_class = Types::CreateAccessPolicyResponse
|
1023
1033
|
|
1024
1034
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1025
|
-
CreateAssetModelCompositeModelRequest.add_member(:parent_asset_model_composite_model_id, Shapes::ShapeRef.new(shape: CustomID, location_name: "parentAssetModelCompositeModelId"))
|
1026
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"))
|
1027
1037
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetModelCompositeModelId"))
|
1028
1038
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelCompositeModelDescription"))
|
1029
1039
|
CreateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetModelCompositeModelName"))
|
@@ -1031,6 +1041,9 @@ module Aws::IoTSiteWise
|
|
1031
1041
|
CreateAssetModelCompositeModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1032
1042
|
CreateAssetModelCompositeModelRequest.add_member(:composed_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, location_name: "composedAssetModelId"))
|
1033
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"))
|
1034
1047
|
CreateAssetModelCompositeModelRequest.struct_class = Types::CreateAssetModelCompositeModelRequest
|
1035
1048
|
|
1036
1049
|
CreateAssetModelCompositeModelResponse.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelCompositeModelId"))
|
@@ -1039,15 +1052,15 @@ module Aws::IoTSiteWise
|
|
1039
1052
|
CreateAssetModelCompositeModelResponse.struct_class = Types::CreateAssetModelCompositeModelResponse
|
1040
1053
|
|
1041
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"))
|
1042
1058
|
CreateAssetModelRequest.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelDescription"))
|
1043
1059
|
CreateAssetModelRequest.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelPropertyDefinitions, location_name: "assetModelProperties"))
|
1044
1060
|
CreateAssetModelRequest.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchyDefinitions, location_name: "assetModelHierarchies"))
|
1045
1061
|
CreateAssetModelRequest.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModelDefinitions, location_name: "assetModelCompositeModels"))
|
1046
1062
|
CreateAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1047
1063
|
CreateAssetModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1048
|
-
CreateAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetModelId"))
|
1049
|
-
CreateAssetModelRequest.add_member(:asset_model_external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "assetModelExternalId"))
|
1050
|
-
CreateAssetModelRequest.add_member(:asset_model_type, Shapes::ShapeRef.new(shape: AssetModelType, location_name: "assetModelType"))
|
1051
1064
|
CreateAssetModelRequest.struct_class = Types::CreateAssetModelRequest
|
1052
1065
|
|
1053
1066
|
CreateAssetModelResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
@@ -1095,7 +1108,7 @@ module Aws::IoTSiteWise
|
|
1095
1108
|
CreateDashboardResponse.add_member(:dashboard_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "dashboardArn"))
|
1096
1109
|
CreateDashboardResponse.struct_class = Types::CreateDashboardResponse
|
1097
1110
|
|
1098
|
-
CreateGatewayRequest.add_member(:gateway_name, Shapes::ShapeRef.new(shape:
|
1111
|
+
CreateGatewayRequest.add_member(:gateway_name, Shapes::ShapeRef.new(shape: GatewayName, required: true, location_name: "gatewayName"))
|
1099
1112
|
CreateGatewayRequest.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, required: true, location_name: "gatewayPlatform"))
|
1100
1113
|
CreateGatewayRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1101
1114
|
CreateGatewayRequest.struct_class = Types::CreateGatewayRequest
|
@@ -1167,6 +1180,9 @@ module Aws::IoTSiteWise
|
|
1167
1180
|
DeleteAssetModelCompositeModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1168
1181
|
DeleteAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelCompositeModelId"))
|
1169
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"))
|
1170
1186
|
DeleteAssetModelCompositeModelRequest.struct_class = Types::DeleteAssetModelCompositeModelRequest
|
1171
1187
|
|
1172
1188
|
DeleteAssetModelCompositeModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
@@ -1174,6 +1190,9 @@ module Aws::IoTSiteWise
|
|
1174
1190
|
|
1175
1191
|
DeleteAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1176
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"))
|
1177
1196
|
DeleteAssetModelRequest.struct_class = Types::DeleteAssetModelRequest
|
1178
1197
|
|
1179
1198
|
DeleteAssetModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
@@ -1254,6 +1273,7 @@ module Aws::IoTSiteWise
|
|
1254
1273
|
|
1255
1274
|
DescribeAssetModelCompositeModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1256
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"))
|
1257
1277
|
DescribeAssetModelCompositeModelRequest.struct_class = Types::DescribeAssetModelCompositeModelRequest
|
1258
1278
|
|
1259
1279
|
DescribeAssetModelCompositeModelResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
@@ -1271,21 +1291,24 @@ module Aws::IoTSiteWise
|
|
1271
1291
|
|
1272
1292
|
DescribeAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1273
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"))
|
1274
1295
|
DescribeAssetModelRequest.struct_class = Types::DescribeAssetModelRequest
|
1275
1296
|
|
1276
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"))
|
1277
1299
|
DescribeAssetModelResponse.add_member(:asset_model_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "assetModelArn"))
|
1278
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"))
|
1279
1302
|
DescribeAssetModelResponse.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "assetModelDescription"))
|
1280
1303
|
DescribeAssetModelResponse.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelProperties, required: true, location_name: "assetModelProperties"))
|
1281
1304
|
DescribeAssetModelResponse.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchies, required: true, location_name: "assetModelHierarchies"))
|
1282
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"))
|
1283
1307
|
DescribeAssetModelResponse.add_member(:asset_model_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetModelCreationDate"))
|
1284
1308
|
DescribeAssetModelResponse.add_member(:asset_model_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetModelLastUpdateDate"))
|
1285
1309
|
DescribeAssetModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
1286
|
-
DescribeAssetModelResponse.add_member(:
|
1287
|
-
DescribeAssetModelResponse.add_member(:
|
1288
|
-
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"))
|
1289
1312
|
DescribeAssetModelResponse.struct_class = Types::DescribeAssetModelResponse
|
1290
1313
|
|
1291
1314
|
DescribeAssetPropertyRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetId"))
|
@@ -1369,7 +1392,7 @@ module Aws::IoTSiteWise
|
|
1369
1392
|
DescribeGatewayRequest.struct_class = Types::DescribeGatewayRequest
|
1370
1393
|
|
1371
1394
|
DescribeGatewayResponse.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "gatewayId"))
|
1372
|
-
DescribeGatewayResponse.add_member(:gateway_name, Shapes::ShapeRef.new(shape:
|
1395
|
+
DescribeGatewayResponse.add_member(:gateway_name, Shapes::ShapeRef.new(shape: GatewayName, required: true, location_name: "gatewayName"))
|
1373
1396
|
DescribeGatewayResponse.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "gatewayArn"))
|
1374
1397
|
DescribeGatewayResponse.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, location_name: "gatewayPlatform"))
|
1375
1398
|
DescribeGatewayResponse.add_member(:gateway_capability_summaries, Shapes::ShapeRef.new(shape: GatewayCapabilitySummaries, required: true, location_name: "gatewayCapabilitySummaries"))
|
@@ -1516,12 +1539,13 @@ module Aws::IoTSiteWise
|
|
1516
1539
|
|
1517
1540
|
GatewayPlatform.add_member(:greengrass, Shapes::ShapeRef.new(shape: Greengrass, location_name: "greengrass"))
|
1518
1541
|
GatewayPlatform.add_member(:greengrass_v2, Shapes::ShapeRef.new(shape: GreengrassV2, location_name: "greengrassV2"))
|
1542
|
+
GatewayPlatform.add_member(:siemens_ie, Shapes::ShapeRef.new(shape: SiemensIE, location_name: "siemensIE"))
|
1519
1543
|
GatewayPlatform.struct_class = Types::GatewayPlatform
|
1520
1544
|
|
1521
1545
|
GatewaySummaries.member = Shapes::ShapeRef.new(shape: GatewaySummary)
|
1522
1546
|
|
1523
1547
|
GatewaySummary.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "gatewayId"))
|
1524
|
-
GatewaySummary.add_member(:gateway_name, Shapes::ShapeRef.new(shape:
|
1548
|
+
GatewaySummary.add_member(:gateway_name, Shapes::ShapeRef.new(shape: GatewayName, required: true, location_name: "gatewayName"))
|
1525
1549
|
GatewaySummary.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, location_name: "gatewayPlatform"))
|
1526
1550
|
GatewaySummary.add_member(:gateway_capability_summaries, Shapes::ShapeRef.new(shape: GatewayCapabilitySummaries, location_name: "gatewayCapabilitySummaries"))
|
1527
1551
|
GatewaySummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
@@ -1673,6 +1697,7 @@ module Aws::IoTSiteWise
|
|
1673
1697
|
ListAssetModelCompositeModelsRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1674
1698
|
ListAssetModelCompositeModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1675
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"))
|
1676
1701
|
ListAssetModelCompositeModelsRequest.struct_class = Types::ListAssetModelCompositeModelsRequest
|
1677
1702
|
|
1678
1703
|
ListAssetModelCompositeModelsResponse.add_member(:asset_model_composite_model_summaries, Shapes::ShapeRef.new(shape: AssetModelCompositeModelSummaries, required: true, location_name: "assetModelCompositeModelSummaries"))
|
@@ -1683,15 +1708,17 @@ module Aws::IoTSiteWise
|
|
1683
1708
|
ListAssetModelPropertiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1684
1709
|
ListAssetModelPropertiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1685
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"))
|
1686
1712
|
ListAssetModelPropertiesRequest.struct_class = Types::ListAssetModelPropertiesRequest
|
1687
1713
|
|
1688
1714
|
ListAssetModelPropertiesResponse.add_member(:asset_model_property_summaries, Shapes::ShapeRef.new(shape: AssetModelPropertySummaries, required: true, location_name: "assetModelPropertySummaries"))
|
1689
1715
|
ListAssetModelPropertiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1690
1716
|
ListAssetModelPropertiesResponse.struct_class = Types::ListAssetModelPropertiesResponse
|
1691
1717
|
|
1718
|
+
ListAssetModelsRequest.add_member(:asset_model_types, Shapes::ShapeRef.new(shape: ListAssetModelsTypeFilter, location: "querystring", location_name: "assetModelTypes"))
|
1692
1719
|
ListAssetModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1693
1720
|
ListAssetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1694
|
-
ListAssetModelsRequest.add_member(:
|
1721
|
+
ListAssetModelsRequest.add_member(:asset_model_version, Shapes::ShapeRef.new(shape: AssetModelVersionFilter, location: "querystring", location_name: "assetModelVersion"))
|
1695
1722
|
ListAssetModelsRequest.struct_class = Types::ListAssetModelsRequest
|
1696
1723
|
|
1697
1724
|
ListAssetModelsResponse.add_member(:asset_model_summaries, Shapes::ShapeRef.new(shape: AssetModelSummaries, required: true, location_name: "assetModelSummaries"))
|
@@ -1868,6 +1895,11 @@ module Aws::IoTSiteWise
|
|
1868
1895
|
PortalSummary.add_member(:status, Shapes::ShapeRef.new(shape: PortalStatus, required: true, location_name: "status"))
|
1869
1896
|
PortalSummary.struct_class = Types::PortalSummary
|
1870
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
|
+
|
1871
1903
|
ProjectResource.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
|
1872
1904
|
ProjectResource.struct_class = Types::ProjectResource
|
1873
1905
|
|
@@ -1970,6 +2002,9 @@ module Aws::IoTSiteWise
|
|
1970
2002
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
1971
2003
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
1972
2004
|
|
2005
|
+
SiemensIE.add_member(:iot_core_thing_name, Shapes::ShapeRef.new(shape: IotCoreThingName, required: true, location_name: "iotCoreThingName"))
|
2006
|
+
SiemensIE.struct_class = Types::SiemensIE
|
2007
|
+
|
1973
2008
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1974
2009
|
|
1975
2010
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -2048,6 +2083,9 @@ module Aws::IoTSiteWise
|
|
2048
2083
|
UpdateAssetModelCompositeModelRequest.add_member(:asset_model_composite_model_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetModelCompositeModelName"))
|
2049
2084
|
UpdateAssetModelCompositeModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
2050
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"))
|
2051
2089
|
UpdateAssetModelCompositeModelRequest.struct_class = Types::UpdateAssetModelCompositeModelRequest
|
2052
2090
|
|
2053
2091
|
UpdateAssetModelCompositeModelResponse.add_member(:asset_model_composite_model_path, Shapes::ShapeRef.new(shape: AssetModelCompositeModelPath, required: true, location_name: "assetModelCompositeModelPath"))
|
@@ -2055,13 +2093,16 @@ module Aws::IoTSiteWise
|
|
2055
2093
|
UpdateAssetModelCompositeModelResponse.struct_class = Types::UpdateAssetModelCompositeModelResponse
|
2056
2094
|
|
2057
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"))
|
2058
2097
|
UpdateAssetModelRequest.add_member(:asset_model_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetModelName"))
|
2059
2098
|
UpdateAssetModelRequest.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelDescription"))
|
2060
2099
|
UpdateAssetModelRequest.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelProperties, location_name: "assetModelProperties"))
|
2061
2100
|
UpdateAssetModelRequest.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchies, location_name: "assetModelHierarchies"))
|
2062
2101
|
UpdateAssetModelRequest.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModels, location_name: "assetModelCompositeModels"))
|
2063
2102
|
UpdateAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
2064
|
-
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"))
|
2065
2106
|
UpdateAssetModelRequest.struct_class = Types::UpdateAssetModelRequest
|
2066
2107
|
|
2067
2108
|
UpdateAssetModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
@@ -2104,7 +2145,7 @@ module Aws::IoTSiteWise
|
|
2104
2145
|
UpdateGatewayCapabilityConfigurationResponse.struct_class = Types::UpdateGatewayCapabilityConfigurationResponse
|
2105
2146
|
|
2106
2147
|
UpdateGatewayRequest.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "gatewayId"))
|
2107
|
-
UpdateGatewayRequest.add_member(:gateway_name, Shapes::ShapeRef.new(shape:
|
2148
|
+
UpdateGatewayRequest.add_member(:gateway_name, Shapes::ShapeRef.new(shape: GatewayName, required: true, location_name: "gatewayName"))
|
2108
2149
|
UpdateGatewayRequest.struct_class = Types::UpdateGatewayRequest
|
2109
2150
|
|
2110
2151
|
UpdatePortalRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "portalId"))
|
@@ -2377,6 +2418,7 @@ module Aws::IoTSiteWise
|
|
2377
2418
|
o.input = Shapes::ShapeRef.new(shape: CreateAssetModelCompositeModelRequest)
|
2378
2419
|
o.output = Shapes::ShapeRef.new(shape: CreateAssetModelCompositeModelResponse)
|
2379
2420
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2421
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2380
2422
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2381
2423
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2382
2424
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
@@ -2512,6 +2554,7 @@ module Aws::IoTSiteWise
|
|
2512
2554
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2513
2555
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2514
2556
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2557
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2515
2558
|
end)
|
2516
2559
|
|
2517
2560
|
api.add_operation(:delete_asset_model_composite_model, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2528,6 +2571,7 @@ module Aws::IoTSiteWise
|
|
2528
2571
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2529
2572
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2530
2573
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2574
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2531
2575
|
end)
|
2532
2576
|
|
2533
2577
|
api.add_operation(:delete_dashboard, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2556,6 +2600,7 @@ module Aws::IoTSiteWise
|
|
2556
2600
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2557
2601
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2558
2602
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2603
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2559
2604
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2560
2605
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2561
2606
|
end)
|
@@ -3521,6 +3566,7 @@ module Aws::IoTSiteWise
|
|
3521
3566
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3522
3567
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3523
3568
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
3569
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
3524
3570
|
end)
|
3525
3571
|
|
3526
3572
|
api.add_operation(:update_asset_model_composite_model, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3533,6 +3579,7 @@ module Aws::IoTSiteWise
|
|
3533
3579
|
o.input = Shapes::ShapeRef.new(shape: UpdateAssetModelCompositeModelRequest)
|
3534
3580
|
o.output = Shapes::ShapeRef.new(shape: UpdateAssetModelCompositeModelResponse)
|
3535
3581
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
3582
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
3536
3583
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
3537
3584
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3538
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
|