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 version of a segment that's associated with an application.
Synopsis
- data GetSegmentVersion = GetSegmentVersion' {}
- newGetSegmentVersion :: Text -> Text -> Text -> GetSegmentVersion
- getSegmentVersion_segmentId :: Lens' GetSegmentVersion Text
- getSegmentVersion_version :: Lens' GetSegmentVersion Text
- getSegmentVersion_applicationId :: Lens' GetSegmentVersion Text
- data GetSegmentVersionResponse = GetSegmentVersionResponse' {}
- newGetSegmentVersionResponse :: Int -> SegmentResponse -> GetSegmentVersionResponse
- getSegmentVersionResponse_httpStatus :: Lens' GetSegmentVersionResponse Int
- getSegmentVersionResponse_segmentResponse :: Lens' GetSegmentVersionResponse SegmentResponse
Creating a Request
data GetSegmentVersion Source #
See: newGetSegmentVersion
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> GetSegmentVersion |
Create a value of GetSegmentVersion
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:GetSegmentVersion'
, getSegmentVersion_segmentId
- The unique identifier for the segment.
$sel:version:GetSegmentVersion'
, getSegmentVersion_version
- The unique version number (Version property) for the campaign version.
$sel:applicationId:GetSegmentVersion'
, getSegmentVersion_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getSegmentVersion_segmentId :: Lens' GetSegmentVersion Text Source #
The unique identifier for the segment.
getSegmentVersion_version :: Lens' GetSegmentVersion Text Source #
The unique version number (Version property) for the campaign version.
getSegmentVersion_applicationId :: Lens' GetSegmentVersion 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 GetSegmentVersionResponse Source #
See: newGetSegmentVersionResponse
smart constructor.
GetSegmentVersionResponse' | |
|
Instances
newGetSegmentVersionResponse Source #
Create a value of GetSegmentVersionResponse
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:GetSegmentVersionResponse'
, getSegmentVersionResponse_httpStatus
- The response's http status code.
$sel:segmentResponse:GetSegmentVersionResponse'
, getSegmentVersionResponse_segmentResponse
- Undocumented member.
Response Lenses
getSegmentVersionResponse_httpStatus :: Lens' GetSegmentVersionResponse Int Source #
The response's http status code.
getSegmentVersionResponse_segmentResponse :: Lens' GetSegmentVersionResponse SegmentResponse Source #
Undocumented member.