Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data EndpointUser Source #
Specifies data for one or more attributes that describe the user who's associated with an endpoint.
See: newEndpointUser
smart constructor.
EndpointUser' | |
|
Instances
newEndpointUser :: EndpointUser Source #
Create a value of EndpointUser
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:userAttributes:EndpointUser'
, endpointUser_userAttributes
- One or more custom attributes that describe the user by associating a
name with an array of values. For example, the value of an attribute
named Interests might be: ["Science", "Music", "Travel"]. You can
use these attributes as filter criteria when you create segments.
Attribute names are case sensitive.
An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This restriction doesn't apply to attribute values.
$sel:userId:EndpointUser'
, endpointUser_userId
- The unique identifier for the user.
endpointUser_userAttributes :: Lens' EndpointUser (Maybe (HashMap Text [Text])) Source #
One or more custom attributes that describe the user by associating a name with an array of values. For example, the value of an attribute named Interests might be: ["Science", "Music", "Travel"]. You can use these attributes as filter criteria when you create segments. Attribute names are case sensitive.
An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This restriction doesn't apply to attribute values.
endpointUser_userId :: Lens' EndpointUser (Maybe Text) Source #
The unique identifier for the user.