| 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.Evidently.GetSegment
Description
Returns information about the specified segment. Specify the segment you want to view by specifying its ARN.
Synopsis
- data GetSegment = GetSegment' {}
- newGetSegment :: Text -> GetSegment
- getSegment_segment :: Lens' GetSegment Text
- data GetSegmentResponse = GetSegmentResponse' {
- httpStatus :: Int
- segment :: Segment
- newGetSegmentResponse :: Int -> Segment -> GetSegmentResponse
- getSegmentResponse_httpStatus :: Lens' GetSegmentResponse Int
- getSegmentResponse_segment :: Lens' GetSegmentResponse Segment
Creating a Request
data GetSegment Source #
See: newGetSegment smart constructor.
Constructors
| GetSegment' | |
Instances
Arguments
| :: 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_segment - The ARN of the segment to return information for.
Request Lenses
getSegment_segment :: Lens' GetSegment Text Source #
The ARN of the segment to return information for.
Destructuring the Response
data GetSegmentResponse Source #
See: newGetSegmentResponse smart constructor.
Constructors
| GetSegmentResponse' | |
Fields
| |
Instances
newGetSegmentResponse Source #
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.
GetSegment, getSegmentResponse_segment - A structure that contains the complete information about the segment.
Response Lenses
getSegmentResponse_httpStatus :: Lens' GetSegmentResponse Int Source #
The response's http status code.
getSegmentResponse_segment :: Lens' GetSegmentResponse Segment Source #
A structure that contains the complete information about the segment.