NAME

Paws::Connect::CreateUserHierarchyGroup - Arguments for method CreateUserHierarchyGroup on Paws::Connect

DESCRIPTION

This class represents the parameters used for calling the method CreateUserHierarchyGroup on the Amazon Connect Service service. Use the attributes of this class as arguments to method CreateUserHierarchyGroup.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateUserHierarchyGroup.

SYNOPSIS

my $connect = Paws->service('Connect');
my $CreateUserHierarchyGroupResponse = $connect->CreateUserHierarchyGroup(
  InstanceId    => 'MyInstanceId',
  Name          => 'MyHierarchyGroupName',
  ParentGroupId => 'MyHierarchyGroupId',     # OPTIONAL
);

# Results:
my $HierarchyGroupArn =
  $CreateUserHierarchyGroupResponse->HierarchyGroupArn;
my $HierarchyGroupId = $CreateUserHierarchyGroupResponse->HierarchyGroupId;

# Returns a L<Paws::Connect::CreateUserHierarchyGroupResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/connect/CreateUserHierarchyGroup

ATTRIBUTES

REQUIRED InstanceId => Str

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

REQUIRED Name => Str

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

ParentGroupId => Str

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

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateUserHierarchyGroup in Paws::Connect

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues