| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Connect.CreateUserHierarchyGroup
Description
Creates a new user hierarchy group.
Synopsis
- data CreateUserHierarchyGroup = CreateUserHierarchyGroup' {}
- newCreateUserHierarchyGroup :: Text -> Text -> CreateUserHierarchyGroup
- createUserHierarchyGroup_parentGroupId :: Lens' CreateUserHierarchyGroup (Maybe Text)
- createUserHierarchyGroup_tags :: Lens' CreateUserHierarchyGroup (Maybe (HashMap Text Text))
- createUserHierarchyGroup_name :: Lens' CreateUserHierarchyGroup Text
- createUserHierarchyGroup_instanceId :: Lens' CreateUserHierarchyGroup Text
- data CreateUserHierarchyGroupResponse = CreateUserHierarchyGroupResponse' {}
- newCreateUserHierarchyGroupResponse :: Int -> CreateUserHierarchyGroupResponse
- createUserHierarchyGroupResponse_hierarchyGroupArn :: Lens' CreateUserHierarchyGroupResponse (Maybe Text)
- createUserHierarchyGroupResponse_hierarchyGroupId :: Lens' CreateUserHierarchyGroupResponse (Maybe Text)
- createUserHierarchyGroupResponse_httpStatus :: Lens' CreateUserHierarchyGroupResponse Int
Creating a Request
data CreateUserHierarchyGroup Source #
See: newCreateUserHierarchyGroup smart constructor.
Constructors
| CreateUserHierarchyGroup' | |
Fields
| |
Instances
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
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
createUserHierarchyGroupResponse_hierarchyGroupArn :: Lens' CreateUserHierarchyGroupResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the hierarchy group.
createUserHierarchyGroupResponse_hierarchyGroupId :: Lens' CreateUserHierarchyGroupResponse (Maybe Text) Source #
The identifier of the hierarchy group.
createUserHierarchyGroupResponse_httpStatus :: Lens' CreateUserHierarchyGroupResponse Int Source #
The response's http status code.