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.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.

  • tags :: Maybe (HashMap Text Text)

    The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

  • 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
ToJSON 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

AWSRequest 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 #

Read CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Show CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

NFData CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Eq CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Hashable CreateUserHierarchyGroup Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

type AWSResponse 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" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "CreateUserHierarchyGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "parentGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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.

CreateUserHierarchyGroup, createUserHierarchyGroup_tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

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_tags :: Lens' CreateUserHierarchyGroup (Maybe (HashMap Text Text)) Source #

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

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
Generic CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Associated Types

type Rep CreateUserHierarchyGroupResponse :: Type -> Type #

Read CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Show CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

NFData CreateUserHierarchyGroupResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUserHierarchyGroup

Eq 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" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" '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.

CreateUserHierarchyGroupResponse, createUserHierarchyGroupResponse_hierarchyGroupId - The identifier of the hierarchy group.

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

Response Lenses