libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.CreateDeviceFleet

Description

Creates a device fleet.

Synopsis

Creating a Request

data CreateDeviceFleet Source #

See: newCreateDeviceFleet smart constructor.

Constructors

CreateDeviceFleet' 

Fields

  • enableIotRoleAlias :: Maybe Bool

    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".

  • description :: Maybe Text

    A description of the fleet.

  • tags :: Maybe [Tag]

    Creates tags for the specified fleet.

  • roleArn :: Maybe Text

    The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).

  • deviceFleetName :: Text

    The name of the fleet that the device belongs to.

  • outputConfig :: EdgeOutputConfig

    The output configuration for storing sample data collected by the fleet.

Instances

Instances details
Eq CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Read CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Show CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Generic CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Associated Types

type Rep CreateDeviceFleet :: Type -> Type #

NFData CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Methods

rnf :: CreateDeviceFleet -> () #

Hashable CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

ToJSON CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

AWSRequest CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Associated Types

type AWSResponse CreateDeviceFleet #

ToHeaders CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

ToPath CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

ToQuery CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

type Rep CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

type Rep CreateDeviceFleet = D1 ('MetaData "CreateDeviceFleet" "Amazonka.SageMaker.CreateDeviceFleet" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateDeviceFleet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enableIotRoleAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceFleetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "outputConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EdgeOutputConfig)))))
type AWSResponse CreateDeviceFleet Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

newCreateDeviceFleet Source #

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_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.

Instances

Instances details
Eq CreateDeviceFleetResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Read CreateDeviceFleetResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Show CreateDeviceFleetResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Generic CreateDeviceFleetResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

Associated Types

type Rep CreateDeviceFleetResponse :: Type -> Type #

NFData CreateDeviceFleetResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

type Rep CreateDeviceFleetResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateDeviceFleet

type Rep CreateDeviceFleetResponse = D1 ('MetaData "CreateDeviceFleetResponse" "Amazonka.SageMaker.CreateDeviceFleet" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateDeviceFleetResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newCreateDeviceFleetResponse :: CreateDeviceFleetResponse Source #

Create a value of CreateDeviceFleetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.