amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.UpdateUserHierarchy

Description

Assigns the specified hierarchy group to the specified user.

Synopsis

Creating a Request

data UpdateUserHierarchy Source #

See: newUpdateUserHierarchy smart constructor.

Constructors

UpdateUserHierarchy' 

Fields

Instances

Instances details
ToJSON UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

ToHeaders UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

ToPath UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

ToQuery UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

AWSRequest UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

Associated Types

type AWSResponse UpdateUserHierarchy #

Generic UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

Associated Types

type Rep UpdateUserHierarchy :: Type -> Type #

Read UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

Show UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

NFData UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

Methods

rnf :: UpdateUserHierarchy -> () #

Eq UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

Hashable UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

type AWSResponse UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

type Rep UpdateUserHierarchy Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

type Rep UpdateUserHierarchy = D1 ('MetaData "UpdateUserHierarchy" "Amazonka.Connect.UpdateUserHierarchy" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "UpdateUserHierarchy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hierarchyGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateUserHierarchy Source #

Create a value of UpdateUserHierarchy 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:

UpdateUserHierarchy, updateUserHierarchy_hierarchyGroupId - The identifier of the hierarchy group.

UpdateUserHierarchy, updateUserHierarchy_userId - The identifier of the user account.

UpdateUserHierarchy, updateUserHierarchy_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

updateUserHierarchy_userId :: Lens' UpdateUserHierarchy Text Source #

The identifier of the user account.

updateUserHierarchy_instanceId :: Lens' UpdateUserHierarchy Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data UpdateUserHierarchyResponse Source #

See: newUpdateUserHierarchyResponse smart constructor.

Instances

Instances details
Generic UpdateUserHierarchyResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

Associated Types

type Rep UpdateUserHierarchyResponse :: Type -> Type #

Read UpdateUserHierarchyResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

Show UpdateUserHierarchyResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

NFData UpdateUserHierarchyResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

Eq UpdateUserHierarchyResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

type Rep UpdateUserHierarchyResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateUserHierarchy

type Rep UpdateUserHierarchyResponse = D1 ('MetaData "UpdateUserHierarchyResponse" "Amazonka.Connect.UpdateUserHierarchy" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "UpdateUserHierarchyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateUserHierarchyResponse :: UpdateUserHierarchyResponse Source #

Create a value of UpdateUserHierarchyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.