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 |
Enables the ADM channel for an application or updates the status and settings of the ADM channel for an application.
Synopsis
- data UpdateAdmChannel = UpdateAdmChannel' {}
- newUpdateAdmChannel :: Text -> ADMChannelRequest -> UpdateAdmChannel
- updateAdmChannel_applicationId :: Lens' UpdateAdmChannel Text
- updateAdmChannel_aDMChannelRequest :: Lens' UpdateAdmChannel ADMChannelRequest
- data UpdateAdmChannelResponse = UpdateAdmChannelResponse' {}
- newUpdateAdmChannelResponse :: Int -> ADMChannelResponse -> UpdateAdmChannelResponse
- updateAdmChannelResponse_httpStatus :: Lens' UpdateAdmChannelResponse Int
- updateAdmChannelResponse_aDMChannelResponse :: Lens' UpdateAdmChannelResponse ADMChannelResponse
Creating a Request
data UpdateAdmChannel Source #
See: newUpdateAdmChannel
smart constructor.
UpdateAdmChannel' | |
|
Instances
Create a value of UpdateAdmChannel
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:applicationId:UpdateAdmChannel'
, updateAdmChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:aDMChannelRequest:UpdateAdmChannel'
, updateAdmChannel_aDMChannelRequest
- Undocumented member.
Request Lenses
updateAdmChannel_applicationId :: Lens' UpdateAdmChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateAdmChannel_aDMChannelRequest :: Lens' UpdateAdmChannel ADMChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateAdmChannelResponse Source #
See: newUpdateAdmChannelResponse
smart constructor.
UpdateAdmChannelResponse' | |
|
Instances
newUpdateAdmChannelResponse Source #
Create a value of UpdateAdmChannelResponse
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:UpdateAdmChannelResponse'
, updateAdmChannelResponse_httpStatus
- The response's http status code.
$sel:aDMChannelResponse:UpdateAdmChannelResponse'
, updateAdmChannelResponse_aDMChannelResponse
- Undocumented member.
Response Lenses
updateAdmChannelResponse_httpStatus :: Lens' UpdateAdmChannelResponse Int Source #
The response's http status code.
updateAdmChannelResponse_aDMChannelResponse :: Lens' UpdateAdmChannelResponse ADMChannelResponse Source #
Undocumented member.