Class: Aws::IdentityStore::Types::Photo
- Inherits:
-
Struct
- Object
- Struct
- Aws::IdentityStore::Types::Photo
- Defined in:
- gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb
Overview
Contains information about a user's photo. Users can have up to 3 photos, with one designated as primary. Supports common image formats, including jpg, jpeg, png, and gif.
Constant Summary collapse
- SENSITIVE =
[:value, :type, :display]
Instance Attribute Summary collapse
-
#display ⇒ String
A human-readable description of the photo for display purposes.
-
#primary ⇒ Boolean
Specifies whether this is the user's primary photo.
-
#type ⇒ String
The type of photo.
-
#value ⇒ String
The photo data or URL.
Instance Attribute Details
#display ⇒ String
A human-readable description of the photo for display purposes. This optional field provides context about the photo.
2016 2017 2018 2019 2020 2021 2022 2023 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 2016 class Photo < Struct.new( :value, :type, :display, :primary) SENSITIVE = [:value, :type, :display] include Aws::Structure end |
#primary ⇒ Boolean
Specifies whether this is the user's primary photo. Default value
is false. Only one photo can be designated as primary per user.
2016 2017 2018 2019 2020 2021 2022 2023 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 2016 class Photo < Struct.new( :value, :type, :display, :primary) SENSITIVE = [:value, :type, :display] include Aws::Structure end |
#type ⇒ String
The type of photo. This field is optional and can be used to categorize different types of photos.
2016 2017 2018 2019 2020 2021 2022 2023 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 2016 class Photo < Struct.new( :value, :type, :display, :primary) SENSITIVE = [:value, :type, :display] include Aws::Structure end |
#value ⇒ String
The photo data or URL. Supported formats include jpg, jpeg, png, and gif. This field is required for all photo entries.
2016 2017 2018 2019 2020 2021 2022 2023 |
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 2016 class Photo < Struct.new( :value, :type, :display, :primary) SENSITIVE = [:value, :type, :display] include Aws::Structure end |