Skip to content

Commit

Permalink
This release adds the ListAssetModelProperties and ListAssetPropertie…
Browse files Browse the repository at this point in the history
…s APIs. You can list all properties that belong to a single asset model or asset using these two new APIs.
  • Loading branch information
aws-sdk-dotnet-automation committed Nov 2, 2022
1 parent c2a2eb3 commit c722141
Show file tree
Hide file tree
Showing 56 changed files with 4,066 additions and 379 deletions.
169 changes: 166 additions & 3 deletions generator/ServiceModels/iotsitewise/iotsitewise-2019-12-02.api.json
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,22 @@
],
"endpoint":{"hostPrefix":"monitor."}
},
"ListAssetModelProperties":{
"name":"ListAssetModelProperties",
"http":{
"method":"GET",
"requestUri":"/asset-models/{assetModelId}/properties"
},
"input":{"shape":"ListAssetModelPropertiesRequest"},
"output":{"shape":"ListAssetModelPropertiesResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"}
],
"endpoint":{"hostPrefix":"api."}
},
"ListAssetModels":{
"name":"ListAssetModels",
"http":{
Expand All @@ -794,6 +810,22 @@
],
"endpoint":{"hostPrefix":"api."}
},
"ListAssetProperties":{
"name":"ListAssetProperties",
"http":{
"method":"GET",
"requestUri":"/assets/{assetId}/properties"
},
"input":{"shape":"ListAssetPropertiesRequest"},
"output":{"shape":"ListAssetPropertiesResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"}
],
"endpoint":{"hostPrefix":"api."}
},
"ListAssetRelationships":{
"name":"ListAssetRelationships",
"http":{
Expand Down Expand Up @@ -1320,7 +1352,8 @@
"name":{"shape":"Name"},
"description":{"shape":"Description"},
"type":{"shape":"Name"},
"properties":{"shape":"AssetProperties"}
"properties":{"shape":"AssetProperties"},
"id":{"shape":"ID"}
}
},
"AssetCompositeModels":{
Expand Down Expand Up @@ -1378,7 +1411,8 @@
"name":{"shape":"Name"},
"description":{"shape":"Description"},
"type":{"shape":"Name"},
"properties":{"shape":"AssetModelProperties"}
"properties":{"shape":"AssetModelProperties"},
"id":{"shape":"ID"}
}
},
"AssetModelCompositeModelDefinition":{
Expand Down Expand Up @@ -1472,6 +1506,27 @@
"type":"list",
"member":{"shape":"AssetModelPropertyDefinition"}
},
"AssetModelPropertySummaries":{
"type":"list",
"member":{"shape":"AssetModelPropertySummary"}
},
"AssetModelPropertySummary":{
"type":"structure",
"required":[
"name",
"dataType",
"type"
],
"members":{
"id":{"shape":"ID"},
"name":{"shape":"Name"},
"dataType":{"shape":"PropertyDataType"},
"dataTypeSpec":{"shape":"Name"},
"unit":{"shape":"PropertyUnit"},
"type":{"shape":"PropertyType"},
"assetModelCompositeModelId":{"shape":"ID"}
}
},
"AssetModelState":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -1543,6 +1598,20 @@
"min":1,
"pattern":"[^\\u0000-\\u001F\\u007F]+"
},
"AssetPropertySummaries":{
"type":"list",
"member":{"shape":"AssetPropertySummary"}
},
"AssetPropertySummary":{
"type":"structure",
"members":{
"id":{"shape":"ID"},
"alias":{"shape":"PropertyAlias"},
"unit":{"shape":"PropertyUnit"},
"notification":{"shape":"PropertyNotification"},
"assetCompositeModelId":{"shape":"ID"}
}
},
"AssetPropertyValue":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -2231,7 +2300,8 @@
"members":{
"name":{"shape":"Name"},
"type":{"shape":"Name"},
"assetProperty":{"shape":"Property"}
"assetProperty":{"shape":"Property"},
"id":{"shape":"ID"}
}
},
"ComputeLocation":{
Expand Down Expand Up @@ -2787,6 +2857,11 @@
"shape":"ID",
"location":"uri",
"locationName":"assetModelId"
},
"excludeProperties":{
"shape":"ExcludeProperties",
"location":"querystring",
"locationName":"excludeProperties"
}
}
},
Expand Down Expand Up @@ -2858,6 +2933,11 @@
"shape":"ID",
"location":"uri",
"locationName":"assetId"
},
"excludeProperties":{
"shape":"ExcludeProperties",
"location":"querystring",
"locationName":"excludeProperties"
}
}
},
Expand Down Expand Up @@ -3320,6 +3400,7 @@
}
},
"ExceptionMessage":{"type":"string"},
"ExcludeProperties":{"type":"boolean"},
"Expression":{
"type":"string",
"max":1024,
Expand Down Expand Up @@ -3921,6 +4002,47 @@
"nextToken":{"shape":"NextToken"}
}
},
"ListAssetModelPropertiesFilter":{
"type":"string",
"enum":[
"ALL",
"BASE"
]
},
"ListAssetModelPropertiesRequest":{
"type":"structure",
"required":["assetModelId"],
"members":{
"assetModelId":{
"shape":"ID",
"location":"uri",
"locationName":"assetModelId"
},
"nextToken":{
"shape":"NextToken",
"location":"querystring",
"locationName":"nextToken"
},
"maxResults":{
"shape":"MaxResults",
"location":"querystring",
"locationName":"maxResults"
},
"filter":{
"shape":"ListAssetModelPropertiesFilter",
"location":"querystring",
"locationName":"filter"
}
}
},
"ListAssetModelPropertiesResponse":{
"type":"structure",
"required":["assetModelPropertySummaries"],
"members":{
"assetModelPropertySummaries":{"shape":"AssetModelPropertySummaries"},
"nextToken":{"shape":"NextToken"}
}
},
"ListAssetModelsRequest":{
"type":"structure",
"members":{
Expand All @@ -3944,6 +4066,47 @@
"nextToken":{"shape":"NextToken"}
}
},
"ListAssetPropertiesFilter":{
"type":"string",
"enum":[
"ALL",
"BASE"
]
},
"ListAssetPropertiesRequest":{
"type":"structure",
"required":["assetId"],
"members":{
"assetId":{
"shape":"ID",
"location":"uri",
"locationName":"assetId"
},
"nextToken":{
"shape":"NextToken",
"location":"querystring",
"locationName":"nextToken"
},
"maxResults":{
"shape":"MaxResults",
"location":"querystring",
"locationName":"maxResults"
},
"filter":{
"shape":"ListAssetPropertiesFilter",
"location":"querystring",
"locationName":"filter"
}
}
},
"ListAssetPropertiesResponse":{
"type":"structure",
"required":["assetPropertySummaries"],
"members":{
"assetPropertySummaries":{"shape":"AssetPropertySummaries"},
"nextToken":{"shape":"NextToken"}
}
},
"ListAssetRelationshipsRequest":{
"type":"structure",
"required":[
Expand Down
Loading

0 comments on commit c722141

Please sign in to comment.