| 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.DeleteApnsChannel
Description
Disables the APNs channel for an application and deletes any existing settings for the channel.
Synopsis
- data DeleteApnsChannel = DeleteApnsChannel' {}
- newDeleteApnsChannel :: Text -> DeleteApnsChannel
- deleteApnsChannel_applicationId :: Lens' DeleteApnsChannel Text
- data DeleteApnsChannelResponse = DeleteApnsChannelResponse' {}
- newDeleteApnsChannelResponse :: Int -> APNSChannelResponse -> DeleteApnsChannelResponse
- deleteApnsChannelResponse_httpStatus :: Lens' DeleteApnsChannelResponse Int
- deleteApnsChannelResponse_aPNSChannelResponse :: Lens' DeleteApnsChannelResponse APNSChannelResponse
Creating a Request
data DeleteApnsChannel Source #
See: newDeleteApnsChannel smart constructor.
Constructors
| DeleteApnsChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteApnsChannel |
Create a value of DeleteApnsChannel 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:
DeleteApnsChannel, deleteApnsChannel_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
deleteApnsChannel_applicationId :: Lens' DeleteApnsChannel 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 DeleteApnsChannelResponse Source #
See: newDeleteApnsChannelResponse smart constructor.
Constructors
| DeleteApnsChannelResponse' | |
Fields
| |
Instances
newDeleteApnsChannelResponse Source #
Arguments
| :: Int | |
| -> APNSChannelResponse | |
| -> DeleteApnsChannelResponse |
Create a value of DeleteApnsChannelResponse 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:DeleteApnsChannelResponse', deleteApnsChannelResponse_httpStatus - The response's http status code.
$sel:aPNSChannelResponse:DeleteApnsChannelResponse', deleteApnsChannelResponse_aPNSChannelResponse - Undocumented member.
Response Lenses
deleteApnsChannelResponse_httpStatus :: Lens' DeleteApnsChannelResponse Int Source #
The response's http status code.
deleteApnsChannelResponse_aPNSChannelResponse :: Lens' DeleteApnsChannelResponse APNSChannelResponse Source #
Undocumented member.