| 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.DeleteSegment
Description
Deletes a segment from an application.
Synopsis
- data DeleteSegment = DeleteSegment' {
- segmentId :: Text
- applicationId :: Text
- newDeleteSegment :: Text -> Text -> DeleteSegment
- deleteSegment_segmentId :: Lens' DeleteSegment Text
- deleteSegment_applicationId :: Lens' DeleteSegment Text
- data DeleteSegmentResponse = DeleteSegmentResponse' {}
- newDeleteSegmentResponse :: Int -> SegmentResponse -> DeleteSegmentResponse
- deleteSegmentResponse_httpStatus :: Lens' DeleteSegmentResponse Int
- deleteSegmentResponse_segmentResponse :: Lens' DeleteSegmentResponse SegmentResponse
Creating a Request
data DeleteSegment Source #
See: newDeleteSegment smart constructor.
Constructors
| DeleteSegment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteSegment |
Create a value of DeleteSegment 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:
DeleteSegment, deleteSegment_segmentId - The unique identifier for the segment.
DeleteSegment, deleteSegment_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
deleteSegment_segmentId :: Lens' DeleteSegment Text Source #
The unique identifier for the segment.
deleteSegment_applicationId :: Lens' DeleteSegment 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 DeleteSegmentResponse Source #
See: newDeleteSegmentResponse smart constructor.
Constructors
| DeleteSegmentResponse' | |
Fields
| |
Instances
newDeleteSegmentResponse Source #
Arguments
| :: Int | |
| -> SegmentResponse | |
| -> DeleteSegmentResponse |
Create a value of DeleteSegmentResponse 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:DeleteSegmentResponse', deleteSegmentResponse_httpStatus - The response's http status code.
$sel:segmentResponse:DeleteSegmentResponse', deleteSegmentResponse_segmentResponse - Undocumented member.
Response Lenses
deleteSegmentResponse_httpStatus :: Lens' DeleteSegmentResponse Int Source #
The response's http status code.
deleteSegmentResponse_segmentResponse :: Lens' DeleteSegmentResponse SegmentResponse Source #
Undocumented member.