| 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 |
Amazonka.Pinpoint.GetSegments
Description
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_pageSize :: Lens' GetSegments (Maybe Text)
- getSegments_token :: 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.
Constructors
| GetSegments' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetSegments |
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: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:token:GetSegments', getSegments_token - The NextToken string that specifies which page of results to return in a
paginated response.
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_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_token :: Lens' GetSegments (Maybe Text) Source #
The NextToken string that specifies which page of results to return in a paginated response.
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.
Constructors
| GetSegmentsResponse' | |
Fields
| |
Instances
newGetSegmentsResponse Source #
Arguments
| :: Int | |
| -> SegmentsResponse | |
| -> GetSegmentsResponse |
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.