![]() |
![]()
| ![]() |
![]()
NAMEPaws::Connect::CreateUser - Arguments for method CreateUser on Paws::Connect DESCRIPTIONThis class represents the parameters used for calling the method CreateUser on the Amazon Connect Service service. Use the attributes of this class as arguments to method CreateUser. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateUser. SYNOPSISmy $connect = Paws->service('Connect'); my $CreateUserResponse = $connect->CreateUser( InstanceId => 'MyInstanceId', PhoneConfig => { PhoneType => 'SOFT_PHONE', # values: SOFT_PHONE, DESK_PHONE AfterContactWorkTimeLimit => 1, # OPTIONAL AutoAccept => 1, # OPTIONAL DeskPhoneNumber => 'MyPhoneNumber', # OPTIONAL }, RoutingProfileId => 'MyRoutingProfileId', SecurityProfileIds => [ 'MySecurityProfileId', ... ], Username => 'MyAgentUsername', DirectoryUserId => 'MyDirectoryUserId', # OPTIONAL HierarchyGroupId => 'MyHierarchyGroupId', # OPTIONAL IdentityInfo => { Email => 'MyEmail', # OPTIONAL FirstName => 'MyAgentFirstName', # min: 1, max: 100; OPTIONAL LastName => 'MyAgentLastName', # min: 1, max: 100; OPTIONAL }, # OPTIONAL Password => 'MyPassword', # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $UserArn = $CreateUserResponse->UserArn; my $UserId = $CreateUserResponse->UserId; # Returns a L<Paws::Connect::CreateUserResponse> 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/CreateUser> ATTRIBUTESDirectoryUserId => StrThe identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory. This parameter is required if you are using an existing directory for identity management in Amazon Connect when Amazon Connect cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned. HierarchyGroupId => StrThe identifier of the hierarchy group for the user. IdentityInfo => Paws::Connect::UserIdentityInfoThe information about the identity of the user. REQUIRED InstanceId => StrThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. Password => StrThe password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password. REQUIRED PhoneConfig => Paws::Connect::UserPhoneConfigThe phone settings for the user. REQUIRED RoutingProfileId => StrThe identifier of the routing profile for the user. REQUIRED SecurityProfileIds => ArrayRef[Str|Undef]The identifier of the security profile for the user. Tags => Paws::Connect::TagMapOne or more tags. REQUIRED Username => StrThe user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\@]+. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateUser in Paws::Connect BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|