/AWS1/IF_SGM=>UPDATEDEVICEFLEET()¶
About UpdateDeviceFleet¶
Updates a fleet of devices.
Method Signature¶
METHODS /AWS1/IF_SGM~UPDATEDEVICEFLEET
IMPORTING
!IV_DEVICEFLEETNAME TYPE /AWS1/SGMENTITYNAME OPTIONAL
!IV_ROLEARN TYPE /AWS1/SGMROLEARN OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/SGMDEVICEFLEETDESC OPTIONAL
!IO_OUTPUTCONFIG TYPE REF TO /AWS1/CL_SGMEDGEOUTPUTCONFIG OPTIONAL
!IV_ENABLEIOTROLEALIAS TYPE /AWS1/SGMENABLEIOTROLEALIAS OPTIONAL
RAISING
/AWS1/CX_SGMRESOURCEINUSE
/AWS1/CX_SGMCLIENTEXC
/AWS1/CX_SGMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_devicefleetname TYPE /AWS1/SGMENTITYNAME /AWS1/SGMENTITYNAME¶
The name of the fleet.
io_outputconfig TYPE REF TO /AWS1/CL_SGMEDGEOUTPUTCONFIG /AWS1/CL_SGMEDGEOUTPUTCONFIG¶
Output configuration for storing sample data collected by the fleet.
Optional arguments:¶
iv_rolearn TYPE /AWS1/SGMROLEARN /AWS1/SGMROLEARN¶
The Amazon Resource Name (ARN) of the device.
iv_description TYPE /AWS1/SGMDEVICEFLEETDESC /AWS1/SGMDEVICEFLEETDESC¶
Description of the 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".
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->updatedevicefleet(
io_outputconfig = new /aws1/cl_sgmedgeoutputconfig(
iv_kmskeyid = |string|
iv_presetdeploymentconfig = |string|
iv_presetdeploymenttype = |string|
iv_s3outputlocation = |string|
)
iv_description = |string|
iv_devicefleetname = |string|
iv_enableiotrolealias = ABAP_TRUE
iv_rolearn = |string|
).