libZSservicesZSamazonka-connectZSamazonka-connect
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.Connect.CreateUserHierarchyGroup

Description

Creates a new user hierarchy group.

Synopsis

Creating a Request

data CreateUserHierarchyGroup Source #

See: newCreateUserHierarchyGroup smart constructor.

Constructors

CreateUserHierarchyGroup' 

Fields

  • parentGroupId :: Maybe Text

    The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.

  • name :: Text

    The name of the user hierarchy group. Must not be more than 100 characters.

  • instanceId :: Text

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

Instances

Instances details
Eq CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Read CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Show CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Generic CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Associated Types

type Rep CreateUserHierarchyGroup :: Type -> Type #

NFData CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Hashable CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

ToJSON CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

AWSRequest CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

ToHeaders CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

ToPath CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

ToQuery CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

type Rep CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

type Rep CreateUserHierarchyGroup = D1 ('MetaData "CreateUserHierarchyGroup" "Amazonka.Connect.CreateUserHierarchyGroup" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateUserHierarchyGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parentGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

newCreateUserHierarchyGroup Source #

Create a value of CreateUserHierarchyGroup 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:parentGroupId:CreateUserHierarchyGroup', createUserHierarchyGroup_parentGroupId - The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.

$sel:name:CreateUserHierarchyGroup', createUserHierarchyGroup_name - The name of the user hierarchy group. Must not be more than 100 characters.

$sel:instanceId:CreateUserHierarchyGroup', createUserHierarchyGroup_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

createUserHierarchyGroup_parentGroupId :: Lens' CreateUserHierarchyGroup (Maybe Text) Source #

The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.

createUserHierarchyGroup_name :: Lens' CreateUserHierarchyGroup Text Source #

The name of the user hierarchy group. Must not be more than 100 characters.

createUserHierarchyGroup_instanceId :: Lens' CreateUserHierarchyGroup Text Source #

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

Destructuring the Response

data CreateUserHierarchyGroupResponse Source #

See: newCreateUserHierarchyGroupResponse smart constructor.

Constructors

CreateUserHierarchyGroupResponse' 

Fields

Instances

Instances details
Eq CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Read CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Show CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Generic CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Associated Types

type Rep CreateUserHierarchyGroupResponse :: Type -> Type #

NFData CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

type Rep CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

type Rep CreateUserHierarchyGroupResponse = D1 ('MetaData "CreateUserHierarchyGroupResponse" "Amazonka.Connect.CreateUserHierarchyGroup" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateUserHierarchyGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hierarchyGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hierarchyGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateUserHierarchyGroupResponse Source #

Create a value of CreateUserHierarchyGroupResponse 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:hierarchyGroupArn:CreateUserHierarchyGroupResponse', createUserHierarchyGroupResponse_hierarchyGroupArn - The Amazon Resource Name (ARN) of the hierarchy group.

$sel:hierarchyGroupId:CreateUserHierarchyGroupResponse', createUserHierarchyGroupResponse_hierarchyGroupId - The identifier of the hierarchy group.

$sel:httpStatus:CreateUserHierarchyGroupResponse', createUserHierarchyGroupResponse_httpStatus - The response's http status code.

Response Lenses