CreateUserRequest

public struct CreateUserRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The 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.

    Declaration

    Swift

    public let directoryUserId: String?
  • The identifier of the hierarchy group for the user.

    Declaration

    Swift

    public let hierarchyGroupId: String?
  • The information about the identity of the user.

    Declaration

    Swift

    public let identityInfo: UserIdentityInfo?
  • The identifier of the Amazon Connect instance.

    Declaration

    Swift

    public let instanceId: String
  • The 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.

    Declaration

    Swift

    public let password: String?
  • The phone settings for the user.

    Declaration

    Swift

    public let phoneConfig: UserPhoneConfig
  • The identifier of the routing profile for the user.

    Declaration

    Swift

    public let routingProfileId: String
  • The identifier of the security profile for the user.

    Declaration

    Swift

    public let securityProfileIds: [String]
  • One or more tags.

    Declaration

    Swift

    public let tags: [String : String]?
  • The 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_-.\@]+.

    Declaration

    Swift

    public let username: String
  • Undocumented

    Declaration

    Swift

    public init(directoryUserId: String? = nil, hierarchyGroupId: String? = nil, identityInfo: UserIdentityInfo? = nil, instanceId: String, password: String? = nil, phoneConfig: UserPhoneConfig, routingProfileId: String, securityProfileIds: [String], tags: [String : String]? = nil, username: String)
  • Declaration

    Swift

    public func validate(name: String) throws