| 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.GetSegment
Description
Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.
Synopsis
- data GetSegment = GetSegment' {
- segmentId :: Text
- applicationId :: Text
- newGetSegment :: Text -> Text -> GetSegment
- getSegment_segmentId :: Lens' GetSegment Text
- getSegment_applicationId :: Lens' GetSegment Text
- data GetSegmentResponse = GetSegmentResponse' {}
- newGetSegmentResponse :: Int -> SegmentResponse -> GetSegmentResponse
- getSegmentResponse_httpStatus :: Lens' GetSegmentResponse Int
- getSegmentResponse_segmentResponse :: Lens' GetSegmentResponse SegmentResponse
Creating a Request
data GetSegment Source #
See: newGetSegment smart constructor.
Constructors
| GetSegment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetSegment |
Create a value of GetSegment 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:
GetSegment, getSegment_segmentId - The unique identifier for the segment.
GetSegment, getSegment_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getSegment_segmentId :: Lens' GetSegment Text Source #
The unique identifier for the segment.
getSegment_applicationId :: Lens' GetSegment 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 GetSegmentResponse Source #
See: newGetSegmentResponse smart constructor.
Constructors
| GetSegmentResponse' | |
Fields
| |
Instances
newGetSegmentResponse Source #
Arguments
| :: Int | |
| -> SegmentResponse | |
| -> GetSegmentResponse |
Create a value of GetSegmentResponse 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:GetSegmentResponse', getSegmentResponse_httpStatus - The response's http status code.
$sel:segmentResponse:GetSegmentResponse', getSegmentResponse_segmentResponse - Undocumented member.
Response Lenses
getSegmentResponse_httpStatus :: Lens' GetSegmentResponse Int Source #
The response's http status code.
getSegmentResponse_segmentResponse :: Lens' GetSegmentResponse SegmentResponse Source #
Undocumented member.