create_device_fleet
async
¶
create_device_fleet(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
device_fleet_name: Optional[EntityName] = None,
role_arn: Optional[RoleArn] = None,
description: Optional[DeviceFleetDescription] = None,
output_config: Optional[EdgeOutputConfig] = None,
tags: Optional[TagList] = None,
enable_iot_role_alias: Optional[EnableIotRoleAlias] = None,
) -> None
Creates a device fleet.
Parameters:
-
device_fleet_name(Optional[EntityName], default:None) –The name of the fleet that the device belongs to.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
-
description(Optional[DeviceFleetDescription], default:None) –A description of the fleet.
-
output_config(Optional[EdgeOutputConfig], default:None) –The output configuration for storing sample data collected by the fleet.
-
tags(Optional[TagList], default:None) –Creates tags for the specified fleet.
-
enable_iot_role_alias(Optional[EnableIotRoleAlias], default:None) –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".
Raises:
-
ResourceInUse–Resource being accessed is in use.
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 | |