Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.DirectoryService.CreateComputer
Description
Creates a computer account in the specified directory, and joins the computer to the directory.
- createComputer :: Text -> Text -> Text -> CreateComputer
- data CreateComputer
- ccComputerAttributes :: Lens' CreateComputer [Attribute]
- ccOrganizationalUnitDistinguishedName :: Lens' CreateComputer (Maybe Text)
- ccDirectoryId :: Lens' CreateComputer Text
- ccComputerName :: Lens' CreateComputer Text
- ccPassword :: Lens' CreateComputer Text
- createComputerResponse :: Int -> CreateComputerResponse
- data CreateComputerResponse
- ccrsComputer :: Lens' CreateComputerResponse (Maybe Computer)
- ccrsResponseStatus :: Lens' CreateComputerResponse Int
Creating a Request
Arguments
:: Text | |
-> Text | |
-> Text | |
-> CreateComputer |
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:
ccComputerAttributes
- An array ofAttribute
objects that contain any LDAP attributes to apply to the computer account.ccOrganizationalUnitDistinguishedName
- The fully-qualified distinguished name of the organizational unit to place the computer account in.ccDirectoryId
- The identifier of the directory in which to create the computer account.ccComputerName
- The name of the computer account.ccPassword
- 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.
data CreateComputer Source #
Contains the inputs for the CreateComputer
operation.
See: createComputer
smart constructor.
Instances
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 in which to create the computer account.
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 #
Arguments
:: Int | |
-> CreateComputerResponse |
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:
ccrsComputer
- AComputer
object that represents the computer account.ccrsResponseStatus
- -- | The response status code.
data CreateComputerResponse Source #
Contains the results for the CreateComputer
operation.
See: createComputerResponse
smart constructor.
Response Lenses
ccrsComputer :: Lens' CreateComputerResponse (Maybe Computer) Source #
A Computer
object that represents the computer account.
ccrsResponseStatus :: Lens' CreateComputerResponse Int Source #
- - | The response status code.