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
3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 | |