Skip to content

/AWS1/CL_SGM=>CREATEDEVICEFLEET()

About CreateDeviceFleet

Creates a device fleet.

Method Signature

IMPORTING

Required arguments:

IV_DEVICEFLEETNAME TYPE /AWS1/SGMENTITYNAME /AWS1/SGMENTITYNAME

The name of the fleet that the device belongs to.

IO_OUTPUTCONFIG TYPE REF TO /AWS1/CL_SGMEDGEOUTPUTCONFIG /AWS1/CL_SGMEDGEOUTPUTCONFIG

The output configuration for storing sample data collected by the fleet.

Optional arguments:

IV_ROLEARN TYPE /AWS1/SGMROLEARN /AWS1/SGMROLEARN

The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).

IV_DESCRIPTION TYPE /AWS1/SGMDEVICEFLEETDESC /AWS1/SGMDEVICEFLEETDESC

A description of the fleet.

IT_TAGS TYPE /AWS1/CL_SGMTAG=>TT_TAGLIST TT_TAGLIST

Creates tags for the specified fleet.

IV_ENABLEIOTROLEALIAS TYPE /AWS1/SGMENABLEIOTROLEALIAS /AWS1/SGMENABLEIOTROLEALIAS

Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".

For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".