« blib/lib/Paws/Connect/UpdateUserHierarchyGroupName.pm
↑ Summary
blib/lib/Paws/Connect/UpdateUserIdentityInfo.pm »
| 1 | |||
| 2 | package Paws::Connect::UpdateUserHierarchyStructure; | ||
| 3 | use Moose; | ||
| 4 | has HierarchyStructure => (is => 'ro', isa => 'Paws::Connect::HierarchyStructureUpdate', required => 1); | ||
| 5 | has InstanceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'InstanceId', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateUserHierarchyStructure'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/user-hierarchy-structure/{InstanceId}'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Connect::UpdateUserHierarchyStructure - Arguments for method UpdateUserHierarchyStructure on L<Paws::Connect> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method UpdateUserHierarchyStructure on the | ||
| 24 | L<Amazon Connect Service|Paws::Connect> service. Use the attributes of this class | ||
| 25 | as arguments to method UpdateUserHierarchyStructure. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateUserHierarchyStructure. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $connect = Paws->service('Connect'); | ||
| 32 | $connect->UpdateUserHierarchyStructure( | ||
| 33 | HierarchyStructure => { | ||
| 34 | LevelFive => { | ||
| 35 | Name => 'MyHierarchyLevelName', | ||
| 36 | |||
| 37 | }, # OPTIONAL | ||
| 38 | LevelFour => { | ||
| 39 | Name => 'MyHierarchyLevelName', | ||
| 40 | |||
| 41 | }, # OPTIONAL | ||
| 42 | LevelOne => { | ||
| 43 | Name => 'MyHierarchyLevelName', | ||
| 44 | |||
| 45 | }, # OPTIONAL | ||
| 46 | LevelThree => { | ||
| 47 | Name => 'MyHierarchyLevelName', | ||
| 48 | |||
| 49 | }, # OPTIONAL | ||
| 50 | LevelTwo => { | ||
| 51 | Name => 'MyHierarchyLevelName', | ||
| 52 | |||
| 53 | }, # OPTIONAL | ||
| 54 | }, | ||
| 55 | InstanceId => 'MyInstanceId', | ||
| 56 | |||
| 57 | ); | ||
| 58 | |||
| 59 | 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. | ||
| 60 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/connect/UpdateUserHierarchyStructure> | ||
| 61 | |||
| 62 | =head1 ATTRIBUTES | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> HierarchyStructure => L<Paws::Connect::HierarchyStructureUpdate> | ||
| 66 | |||
| 67 | The hierarchy levels to update. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 B<REQUIRED> InstanceId => Str | ||
| 72 | |||
| 73 | The identifier of the Amazon Connect instance. You can find the | ||
| 74 | instanceId in the ARN of the instance. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head1 SEE ALSO | ||
| 80 | |||
| 81 | This class forms part of L<Paws>, documenting arguments for method UpdateUserHierarchyStructure in L<Paws::Connect> | ||
| 82 | |||
| 83 | =head1 BUGS and CONTRIBUTIONS | ||
| 84 | |||
| 85 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 86 | |||
| 87 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 88 | |||
| 89 | =cut | ||
| 90 |