Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.SageMaker.CreateDeviceFleet
Description
Creates a device fleet.
Synopsis
- data CreateDeviceFleet = CreateDeviceFleet' {}
- newCreateDeviceFleet :: Text -> EdgeOutputConfig -> CreateDeviceFleet
- createDeviceFleet_enableIotRoleAlias :: Lens' CreateDeviceFleet (Maybe Bool)
- createDeviceFleet_description :: Lens' CreateDeviceFleet (Maybe Text)
- createDeviceFleet_tags :: Lens' CreateDeviceFleet (Maybe [Tag])
- createDeviceFleet_roleArn :: Lens' CreateDeviceFleet (Maybe Text)
- createDeviceFleet_deviceFleetName :: Lens' CreateDeviceFleet Text
- createDeviceFleet_outputConfig :: Lens' CreateDeviceFleet EdgeOutputConfig
- data CreateDeviceFleetResponse = CreateDeviceFleetResponse' {
- newCreateDeviceFleetResponse :: CreateDeviceFleetResponse
Creating a Request
data CreateDeviceFleet Source #
See: newCreateDeviceFleet
smart constructor.
Constructors
CreateDeviceFleet' | |
Fields
|
Instances
Arguments
:: Text | |
-> EdgeOutputConfig | |
-> CreateDeviceFleet |
Create a value of CreateDeviceFleet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enableIotRoleAlias:CreateDeviceFleet'
, createDeviceFleet_enableIotRoleAlias
- 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".
$sel:description:CreateDeviceFleet'
, createDeviceFleet_description
- A description of the fleet.
$sel:tags:CreateDeviceFleet'
, createDeviceFleet_tags
- Creates tags for the specified fleet.
$sel:roleArn:CreateDeviceFleet'
, createDeviceFleet_roleArn
- The Amazon Resource Name (ARN) that has access to Amazon Web Services
Internet of Things (IoT).
$sel:deviceFleetName:CreateDeviceFleet'
, createDeviceFleet_deviceFleetName
- The name of the fleet that the device belongs to.
$sel:outputConfig:CreateDeviceFleet'
, createDeviceFleet_outputConfig
- The output configuration for storing sample data collected by the fleet.
Request Lenses
createDeviceFleet_enableIotRoleAlias :: Lens' CreateDeviceFleet (Maybe Bool) Source #
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".
createDeviceFleet_description :: Lens' CreateDeviceFleet (Maybe Text) Source #
A description of the fleet.
createDeviceFleet_tags :: Lens' CreateDeviceFleet (Maybe [Tag]) Source #
Creates tags for the specified fleet.
createDeviceFleet_roleArn :: Lens' CreateDeviceFleet (Maybe Text) Source #
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
createDeviceFleet_deviceFleetName :: Lens' CreateDeviceFleet Text Source #
The name of the fleet that the device belongs to.
createDeviceFleet_outputConfig :: Lens' CreateDeviceFleet EdgeOutputConfig Source #
The output configuration for storing sample data collected by the fleet.
Destructuring the Response
data CreateDeviceFleetResponse Source #
See: newCreateDeviceFleetResponse
smart constructor.
Constructors
CreateDeviceFleetResponse' | |
Instances
newCreateDeviceFleetResponse :: CreateDeviceFleetResponse Source #
Create a value of CreateDeviceFleetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.