Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with an application.
Synopsis
- data GetSegmentVersions = GetSegmentVersions' {}
- newGetSegmentVersions :: Text -> Text -> GetSegmentVersions
- getSegmentVersions_pageSize :: Lens' GetSegmentVersions (Maybe Text)
- getSegmentVersions_token :: Lens' GetSegmentVersions (Maybe Text)
- getSegmentVersions_segmentId :: Lens' GetSegmentVersions Text
- getSegmentVersions_applicationId :: Lens' GetSegmentVersions Text
- data GetSegmentVersionsResponse = GetSegmentVersionsResponse' {}
- newGetSegmentVersionsResponse :: Int -> SegmentsResponse -> GetSegmentVersionsResponse
- getSegmentVersionsResponse_httpStatus :: Lens' GetSegmentVersionsResponse Int
- getSegmentVersionsResponse_segmentsResponse :: Lens' GetSegmentVersionsResponse SegmentsResponse
Creating a Request
data GetSegmentVersions Source #
See: newGetSegmentVersions
smart constructor.
GetSegmentVersions' | |
|
Instances
newGetSegmentVersions Source #
Create a value of GetSegmentVersions
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:pageSize:GetSegmentVersions'
, getSegmentVersions_pageSize
- The maximum number of items to include in each page of a paginated
response. This parameter is not supported for application, campaign, and
journey metrics.
$sel:token:GetSegmentVersions'
, getSegmentVersions_token
- The NextToken string that specifies which page of results to return in a
paginated response.
GetSegmentVersions
, getSegmentVersions_segmentId
- The unique identifier for the segment.
GetSegmentVersions
, getSegmentVersions_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getSegmentVersions_pageSize :: Lens' GetSegmentVersions (Maybe Text) Source #
The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
getSegmentVersions_token :: Lens' GetSegmentVersions (Maybe Text) Source #
The NextToken string that specifies which page of results to return in a paginated response.
getSegmentVersions_segmentId :: Lens' GetSegmentVersions Text Source #
The unique identifier for the segment.
getSegmentVersions_applicationId :: Lens' GetSegmentVersions Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Destructuring the Response
data GetSegmentVersionsResponse Source #
See: newGetSegmentVersionsResponse
smart constructor.
GetSegmentVersionsResponse' | |
|
Instances
newGetSegmentVersionsResponse Source #
Create a value of GetSegmentVersionsResponse
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:httpStatus:GetSegmentVersionsResponse'
, getSegmentVersionsResponse_httpStatus
- The response's http status code.
$sel:segmentsResponse:GetSegmentVersionsResponse'
, getSegmentVersionsResponse_segmentsResponse
- Undocumented member.
Response Lenses
getSegmentVersionsResponse_httpStatus :: Lens' GetSegmentVersionsResponse Int Source #
The response's http status code.
getSegmentVersionsResponse_segmentsResponse :: Lens' GetSegmentVersionsResponse SegmentsResponse Source #
Undocumented member.