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 |
Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application.
Synopsis
- data GetSegments = GetSegments' {}
- newGetSegments :: Text -> GetSegments
- getSegments_token :: Lens' GetSegments (Maybe Text)
- getSegments_pageSize :: Lens' GetSegments (Maybe Text)
- getSegments_applicationId :: Lens' GetSegments Text
- data GetSegmentsResponse = GetSegmentsResponse' {}
- newGetSegmentsResponse :: Int -> SegmentsResponse -> GetSegmentsResponse
- getSegmentsResponse_httpStatus :: Lens' GetSegmentsResponse Int
- getSegmentsResponse_segmentsResponse :: Lens' GetSegmentsResponse SegmentsResponse
Creating a Request
data GetSegments Source #
See: newGetSegments
smart constructor.
GetSegments' | |
|
Instances
Create a value of GetSegments
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:token:GetSegments'
, getSegments_token
- The NextToken string that specifies which page of results to return in a
paginated response.
$sel:pageSize:GetSegments'
, getSegments_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:applicationId:GetSegments'
, getSegments_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getSegments_token :: Lens' GetSegments (Maybe Text) Source #
The NextToken string that specifies which page of results to return in a paginated response.
getSegments_pageSize :: Lens' GetSegments (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.
getSegments_applicationId :: Lens' GetSegments 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 GetSegmentsResponse Source #
See: newGetSegmentsResponse
smart constructor.
GetSegmentsResponse' | |
|
Instances
newGetSegmentsResponse Source #
Create a value of GetSegmentsResponse
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:GetSegmentsResponse'
, getSegmentsResponse_httpStatus
- The response's http status code.
$sel:segmentsResponse:GetSegmentsResponse'
, getSegmentsResponse_segmentsResponse
- Undocumented member.
Response Lenses
getSegmentsResponse_httpStatus :: Lens' GetSegmentsResponse Int Source #
The response's http status code.
getSegmentsResponse_segmentsResponse :: Lens' GetSegmentsResponse SegmentsResponse Source #
Undocumented member.