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 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.
GetSegment' | |
|
Instances
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:
$sel:segmentId:GetSegment'
, getSegment_segmentId
- The unique identifier for the segment.
$sel:applicationId: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.
GetSegmentResponse' | |
|
Instances
newGetSegmentResponse Source #
:: 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.