create_device_fleet
¶
create_device_fleet(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 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 | |