amazonka-ds-1.3.0: Amazon Directory Service SDK.

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

Network.AWS.DirectoryService.CreateComputer

Contents

Description

Creates a computer account in the specified directory, and joins the computer to the directory.

See: AWS API Reference for CreateComputer.

Synopsis

Creating a Request

createComputer Source

Creates a value of CreateComputer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ccComputerAttributes :: Lens' CreateComputer [Attribute] Source

An array of Attribute objects that contain any LDAP attributes to apply to the computer account.

ccOrganizationalUnitDistinguishedName :: Lens' CreateComputer (Maybe Text) Source

The fully-qualified distinguished name of the organizational unit to place the computer account in.

ccDirectoryId :: Lens' CreateComputer Text Source

The identifier of the directory to create the computer account in.

ccComputerName :: Lens' CreateComputer Text Source

The name of the computer account.

ccPassword :: Lens' CreateComputer Text Source

A one-time password that is used to join the computer to the directory. You should generate a random, strong password to use for this parameter.

Destructuring the Response

createComputerResponse Source

Creates a value of CreateComputerResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ccrsComputer :: Lens' CreateComputerResponse (Maybe Computer) Source

A Computer object the represents the computer account.