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
3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 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 | |