@@ -45,27 +45,17 @@ The AWS IoT SiteWise Basics scenario executes the following operations.
4545 - This step uses the method ` getAssetPropertyValue ` .
4646 - Exception Handling: Check to see if a ` ResourceNotFoundException ` is thrown. If so, display the message and end the program.
4747
48- 6 . ** Create an IoT SiteWise Portal** :
49- - Description: This operation creates an IoT SiteWise portal.
50- - The method ` createPortal ` is called.
51- - Exception Handling: Check to see if an ` IoTSiteWiseException ` is thrown. If so, display the message and end the program.
52-
53- 7 . ** Describe the Portal** :
54- - Description: This operation describes the portal and returns a URL for the portal.
55- - The method ` describePortal ` is called and returns the URL.
56- - Exception Handling: Check to see if a ` ResourceNotFoundException ` is thrown. If so, display the message and end the program.
57-
58- 8 . ** Create an IoT SiteWise Gateway** :
48+ 6 . ** Create an IoT SiteWise Gateway** :
5949 - Description: This operation creates an IoT SiteWise Gateway.
6050 - The method ` createGateway ` is called.
6151 - Exception Handling: Check to see if an ` IoTSiteWiseException ` is thrown. If so, display the message and end the program.
6252
63- 9 . ** Describe the IoT SiteWise Gateway** :
53+ 7 . ** Describe the IoT SiteWise Gateway** :
6454 - Description: This operation describes the Gateway.
6555 - The method ` describeGateway ` is called.
6656 - Exception Handling: Check to see if a ` ResourceNotFoundException ` is thrown. If so, display the message and end the program.
6757
68- 10 . ** Delete the AWS IoT SiteWise Assets** :
58+ 8 . ** Delete the AWS IoT SiteWise Assets** :
6959 - The ` delete ` methods are called to clean up the resources.
7060 - Exception Handling: Check to see if a ` ResourceNotFoundException ` is thrown. If so, display the message and end the program."
7161
@@ -204,41 +194,8 @@ Continuing with the program...
204194
205195--------------------------------------------------------------------------------
206196--------------------------------------------------------------------------------
207- 6. Create an IoT SiteWise Portal
208- An IoT SiteWise Portal allows you to aggregate data from multiple industrial sources,
209- such as sensors, equipment, and control systems, into a centralized platform.
210-
211-
212- Enter 'c' followed by <ENTER> to continue:
213- c
214- Continuing with the program...
215-
216- Portal created successfully. Portal ID 63e65729-b7a1-410a-aa36-94145fe92153
217- The portal Id is 63e65729-b7a1-410a-aa36-94145fe92153
218-
219- Enter 'c' followed by <ENTER> to continue:
220- c
221- Continuing with the program...
222-
223- --------------------------------------------------------------------------------
224- --------------------------------------------------------------------------------
225- 7. Describe the Portal
226- In this step, we will describe the step and provide the portal URL.
227-
228197
229- Enter 'c' followed by <ENTER> to continue:
230- c
231- Continuing with the program...
232-
233- Portal URL: https://p-fy9qnrqy.app.iotsitewise.aws
234-
235- Enter 'c' followed by <ENTER> to continue:
236- c
237- Continuing with the program...
238-
239- --------------------------------------------------------------------------------
240- --------------------------------------------------------------------------------
241- 8. Create an IoTSitewise Gateway
198+ 6 Create an IoTSitewise Gateway
242199IoTSitewise Gateway serves as the bridge between industrial equipment, sensors, and the
243200cloud-based IoTSitewise service. It is responsible for securely collecting, processing, and
244201transmitting data from various industrial assets to the IoTSitewise platform,
@@ -254,7 +211,7 @@ The ARN of the gateway is arn:aws:iotsitewise:us-east-1:814548047983:gateway/503
254211Gateway creation completed successfully. id is 50320670-1d88-4a7e-9013-1d7e8a3af832
255212--------------------------------------------------------------------------------
256213--------------------------------------------------------------------------------
257- 9 . Describe the IoTSitewise Gateway
214+ 7 . Describe the IoTSitewise Gateway
258215
259216Enter 'c' followed by <ENTER> to continue:
260217c
@@ -266,7 +223,7 @@ Gateway Platform: GatewayPlatform(GreengrassV2=GreengrassV2(CoreDeviceThingName=
266223Gateway Creation Date: 2024-09-18T20:34:13.117Z
267224--------------------------------------------------------------------------------
268225--------------------------------------------------------------------------------
269- 10 . Delete the AWS IoT SiteWise Assets
226+ 8 . Delete the AWS IoT SiteWise Assets
270227Before you can delete the Asset Model, you must delete the assets.
271228
272229
@@ -278,17 +235,6 @@ Enter 'c' followed by <ENTER> to continue:
278235c
279236Continuing with the program...
280237
281- Portal 63e65729-b7a1-410a-aa36-94145fe92153 was deleted successfully.
282- An unexpected error occurred: Cannot invoke "java.util.concurrent.CompletableFuture.join()" because "future" is null
283- Asset deleted successfully.
284- Lets wait 1 min for the asset to be deleted
285- 01:00The Gateway was deleted successfully
286- 00:00Countdown complete!
287-
288- Enter 'c' followed by <ENTER> to continue:
289- c
290- Continuing with the program...
291-
292238Delete the AWS IoT SiteWise Asset Model
293239Asset model deleted successfully.
294240
@@ -316,10 +262,7 @@ The following table describes the metadata used in this Basics Scenario.
316262| ` describeGateway ` | iot_sitewise_metadata.yaml | iotsitewise_DescribeGateway |
317263| ` deleteGateway ` | iot_sitewise_metadata.yaml | iotsitewise_DeleteGateway |
318264| ` createGateway ` | iot_sitewise_metadata.yaml | iotsitewise_CreateGateway |
319- | ` describePortal ` | iot_sitewise_metadata.yaml | iotsitewise_DescribePortal |
320265| ` listAssetModels ` | iot_sitewise_metadata.yaml | iotsitewise_ListAssetModels |
321- | ` deletePortal ` | iot_sitewise_metadata.yaml | iotsitewise_DeletePortal |
322- | ` createPortal ` | iot_sitewise_metadata.yaml | iotsitewise_CreatePortal |
323266| ` deleteAssetModel ` | iot_sitewise_metadata.yaml | iotsitewise_DeleteAssetModel |
324267| ` deleteAsset ` | iot_sitewise_metadata.yaml | iotsitewise_DeleteAsset |
325268| ` describeAssetModel ` | iot_sitewise_metadata.yaml | iotsitewise_DescribeAssetModel |
0 commit comments