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
- data SegmentResponse = SegmentResponse' {
- lastModifiedDate :: Maybe Text
- segmentGroups :: Maybe SegmentGroupList
- name :: Maybe Text
- version :: Maybe Int
- importDefinition :: Maybe SegmentImportResource
- dimensions :: Maybe SegmentDimensions
- tags :: Maybe (HashMap Text Text)
- segmentType :: SegmentType
- creationDate :: Text
- id :: Text
- arn :: Text
- applicationId :: Text
- newSegmentResponse :: SegmentType -> Text -> Text -> Text -> Text -> SegmentResponse
- segmentResponse_lastModifiedDate :: Lens' SegmentResponse (Maybe Text)
- segmentResponse_segmentGroups :: Lens' SegmentResponse (Maybe SegmentGroupList)
- segmentResponse_name :: Lens' SegmentResponse (Maybe Text)
- segmentResponse_version :: Lens' SegmentResponse (Maybe Int)
- segmentResponse_importDefinition :: Lens' SegmentResponse (Maybe SegmentImportResource)
- segmentResponse_dimensions :: Lens' SegmentResponse (Maybe SegmentDimensions)
- segmentResponse_tags :: Lens' SegmentResponse (Maybe (HashMap Text Text))
- segmentResponse_segmentType :: Lens' SegmentResponse SegmentType
- segmentResponse_creationDate :: Lens' SegmentResponse Text
- segmentResponse_id :: Lens' SegmentResponse Text
- segmentResponse_arn :: Lens' SegmentResponse Text
- segmentResponse_applicationId :: Lens' SegmentResponse Text
Documentation
data SegmentResponse Source #
Provides information about the configuration, dimension, and other settings for a segment.
See: newSegmentResponse
smart constructor.
SegmentResponse' | |
|
Instances
:: SegmentType | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> SegmentResponse |
Create a value of SegmentResponse
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:lastModifiedDate:SegmentResponse'
, segmentResponse_lastModifiedDate
- The date and time when the segment was last modified.
$sel:segmentGroups:SegmentResponse'
, segmentResponse_segmentGroups
- A list of one or more segment groups that apply to the segment. Each
segment group consists of zero or more base segments and the dimensions
that are applied to those base segments.
$sel:name:SegmentResponse'
, segmentResponse_name
- The name of the segment.
$sel:version:SegmentResponse'
, segmentResponse_version
- The version number of the segment.
$sel:importDefinition:SegmentResponse'
, segmentResponse_importDefinition
- The settings for the import job that's associated with the segment.
$sel:dimensions:SegmentResponse'
, segmentResponse_dimensions
- The dimension settings for the segment.
$sel:tags:SegmentResponse'
, segmentResponse_tags
- A string-to-string map of key-value pairs that identifies the tags that
are associated with the segment. Each tag consists of a required tag key
and an associated tag value.
$sel:segmentType:SegmentResponse'
, segmentResponse_segmentType
- The segment type. Valid values are:
- DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
- IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
$sel:creationDate:SegmentResponse'
, segmentResponse_creationDate
- The date and time when the segment was created.
$sel:id:SegmentResponse'
, segmentResponse_id
- The unique identifier for the segment.
$sel:arn:SegmentResponse'
, segmentResponse_arn
- The Amazon Resource Name (ARN) of the segment.
$sel:applicationId:SegmentResponse'
, segmentResponse_applicationId
- The unique identifier for the application that the segment is associated
with.
segmentResponse_lastModifiedDate :: Lens' SegmentResponse (Maybe Text) Source #
The date and time when the segment was last modified.
segmentResponse_segmentGroups :: Lens' SegmentResponse (Maybe SegmentGroupList) Source #
A list of one or more segment groups that apply to the segment. Each segment group consists of zero or more base segments and the dimensions that are applied to those base segments.
segmentResponse_name :: Lens' SegmentResponse (Maybe Text) Source #
The name of the segment.
segmentResponse_version :: Lens' SegmentResponse (Maybe Int) Source #
The version number of the segment.
segmentResponse_importDefinition :: Lens' SegmentResponse (Maybe SegmentImportResource) Source #
The settings for the import job that's associated with the segment.
segmentResponse_dimensions :: Lens' SegmentResponse (Maybe SegmentDimensions) Source #
The dimension settings for the segment.
segmentResponse_tags :: Lens' SegmentResponse (Maybe (HashMap Text Text)) Source #
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment. Each tag consists of a required tag key and an associated tag value.
segmentResponse_segmentType :: Lens' SegmentResponse SegmentType Source #
The segment type. Valid values are:
- DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
- IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
segmentResponse_creationDate :: Lens' SegmentResponse Text Source #
The date and time when the segment was created.
segmentResponse_id :: Lens' SegmentResponse Text Source #
The unique identifier for the segment.
segmentResponse_arn :: Lens' SegmentResponse Text Source #
The Amazon Resource Name (ARN) of the segment.
segmentResponse_applicationId :: Lens' SegmentResponse Text Source #
The unique identifier for the application that the segment is associated with.