libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.DeleteUser

Description

Deletes a specified user by user ARN and enrollment ARN.

Synopsis

Creating a Request

data DeleteUser Source #

See: newDeleteUser smart constructor.

Constructors

DeleteUser' 

Fields

  • userArn :: Maybe Text

    The ARN of the user to delete in the organization. Required.

  • enrollmentId :: Text

    The ARN of the user's enrollment in the organization. Required.

Instances

Instances details
Eq DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Read DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Show DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Generic DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Associated Types

type Rep DeleteUser :: Type -> Type #

NFData DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Methods

rnf :: DeleteUser -> () #

Hashable DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

ToJSON DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

AWSRequest DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Associated Types

type AWSResponse DeleteUser #

ToHeaders DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Methods

toHeaders :: DeleteUser -> [Header] #

ToPath DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

ToQuery DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

type Rep DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

type Rep DeleteUser = D1 ('MetaData "DeleteUser" "Amazonka.AlexaBusiness.DeleteUser" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "DeleteUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enrollmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

newDeleteUser Source #

Create a value of DeleteUser 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:userArn:DeleteUser', deleteUser_userArn - The ARN of the user to delete in the organization. Required.

$sel:enrollmentId:DeleteUser', deleteUser_enrollmentId - The ARN of the user's enrollment in the organization. Required.

Request Lenses

deleteUser_userArn :: Lens' DeleteUser (Maybe Text) Source #

The ARN of the user to delete in the organization. Required.

deleteUser_enrollmentId :: Lens' DeleteUser Text Source #

The ARN of the user's enrollment in the organization. Required.

Destructuring the Response

data DeleteUserResponse Source #

See: newDeleteUserResponse smart constructor.

Constructors

DeleteUserResponse' 

Fields

Instances

Instances details
Eq DeleteUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Read DeleteUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Show DeleteUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Generic DeleteUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Associated Types

type Rep DeleteUserResponse :: Type -> Type #

NFData DeleteUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

Methods

rnf :: DeleteUserResponse -> () #

type Rep DeleteUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.DeleteUser

type Rep DeleteUserResponse = D1 ('MetaData "DeleteUserResponse" "Amazonka.AlexaBusiness.DeleteUser" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "DeleteUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteUserResponse Source #

Create a value of DeleteUserResponse 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:httpStatus:DeleteUserResponse', deleteUserResponse_httpStatus - The response's http status code.

Response Lenses