Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a computer account in the specified directory, and joins the computer to the directory.
See: AWS API Reference for CreateComputer.
- 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
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:
data CreateComputer Source
Contains the inputs for the CreateComputer operation.
See: createComputer
smart constructor.
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
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:
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 the represents the computer account.
ccrsResponseStatus :: Lens' CreateComputerResponse Int Source
The response status code.