| 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.GetSegmentVersion
Description
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.
Constructors
| GetSegmentVersion' | |
Instances
Arguments
| :: 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:
GetSegmentVersion, getSegmentVersion_segmentId - The unique identifier for the segment.
GetSegmentVersion, getSegmentVersion_version - The unique version number (Version property) for the campaign version.
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.
Constructors
| GetSegmentVersionResponse' | |
Fields
| |
Instances
newGetSegmentVersionResponse Source #
Arguments
| :: Int | |
| -> SegmentResponse | |
| -> GetSegmentVersionResponse |
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.