libZSservicesZSamazonka-dsZSamazonka-ds
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.DirectoryService.CreateComputer

Description

Creates an Active Directory computer object in the specified directory.

Synopsis

Creating a Request

data CreateComputer Source #

Contains the inputs for the CreateComputer operation.

See: newCreateComputer smart constructor.

Constructors

CreateComputer' 

Fields

Instances

Instances details
Eq CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Show CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Generic CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Associated Types

type Rep CreateComputer :: Type -> Type #

NFData CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Methods

rnf :: CreateComputer -> () #

Hashable CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

ToJSON CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

AWSRequest CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Associated Types

type AWSResponse CreateComputer #

ToHeaders CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

ToPath CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

ToQuery CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

type Rep CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

type Rep CreateComputer = D1 ('MetaData "CreateComputer" "Amazonka.DirectoryService.CreateComputer" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "CreateComputer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "computerAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Attribute])) :*: S1 ('MetaSel ('Just "organizationalUnitDistinguishedName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "computerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))))
type AWSResponse CreateComputer Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

newCreateComputer Source #

Create a value of CreateComputer 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:computerAttributes:CreateComputer', createComputer_computerAttributes - An array of Attribute objects that contain any LDAP attributes to apply to the computer account.

$sel:organizationalUnitDistinguishedName:CreateComputer', createComputer_organizationalUnitDistinguishedName - The fully-qualified distinguished name of the organizational unit to place the computer account in.

$sel:directoryId:CreateComputer', createComputer_directoryId - The identifier of the directory in which to create the computer account.

$sel:computerName:CreateComputer', createComputer_computerName - The name of the computer account.

$sel:password:CreateComputer', createComputer_password - 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.

Request Lenses

createComputer_computerAttributes :: Lens' CreateComputer (Maybe [Attribute]) Source #

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

createComputer_organizationalUnitDistinguishedName :: Lens' CreateComputer (Maybe Text) Source #

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

createComputer_directoryId :: Lens' CreateComputer Text Source #

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

createComputer_computerName :: Lens' CreateComputer Text Source #

The name of the computer account.

createComputer_password :: 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

data CreateComputerResponse Source #

Contains the results for the CreateComputer operation.

See: newCreateComputerResponse smart constructor.

Constructors

CreateComputerResponse' 

Fields

Instances

Instances details
Eq CreateComputerResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Read CreateComputerResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Show CreateComputerResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Generic CreateComputerResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Associated Types

type Rep CreateComputerResponse :: Type -> Type #

NFData CreateComputerResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

Methods

rnf :: CreateComputerResponse -> () #

type Rep CreateComputerResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateComputer

type Rep CreateComputerResponse = D1 ('MetaData "CreateComputerResponse" "Amazonka.DirectoryService.CreateComputer" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "CreateComputerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "computer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Computer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateComputerResponse Source #

Create a value of CreateComputerResponse 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:computer:CreateComputerResponse', createComputerResponse_computer - A Computer object that represents the computer account.

$sel:httpStatus:CreateComputerResponse', createComputerResponse_httpStatus - The response's http status code.

Response Lenses

createComputerResponse_computer :: Lens' CreateComputerResponse (Maybe Computer) Source #

A Computer object that represents the computer account.