View a markdown version of this page

与 Amazon SDK ListAssetModelProperties 配合使用 - Amazon IoT SiteWise
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

与 Amazon SDK ListAssetModelProperties 配合使用

以下代码示例演示了如何使用 ListAssetModelProperties

SAP ABAP
适用于 SAP ABAP 的 SDK
注意

还有更多相关信息 GitHub。在 Amazon 代码示例存储库中查找完整示例,了解如何进行设置和运行。

TRY. oo_result = lo_ios->listassetmodelproperties( iv_assetmodelid = iv_asset_model_id ). " oo_result is returned for testing purposes. " DATA(lt_properties) = oo_result->get_assetmodelpropertysums( ). MESSAGE 'Retrieved list of asset model properties.' TYPE 'I'. CATCH /aws1/cx_rt_generic. MESSAGE 'Unable to list asset model properties.' TYPE 'E'. ENDTRY.

有关 S Amazon DK 开发者指南和代码示例的完整列表,请参阅将此服务与 Amazon SDK 配合使用。本主题还包括有关入门的信息以及有关先前的 SDK 版本的详细信息。