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 Baidu channel for an application or updates the status and settings of the Baidu channel for an application.
Synopsis
- data UpdateBaiduChannel = UpdateBaiduChannel' {}
- newUpdateBaiduChannel :: Text -> BaiduChannelRequest -> UpdateBaiduChannel
- updateBaiduChannel_applicationId :: Lens' UpdateBaiduChannel Text
- updateBaiduChannel_baiduChannelRequest :: Lens' UpdateBaiduChannel BaiduChannelRequest
- data UpdateBaiduChannelResponse = UpdateBaiduChannelResponse' {}
- newUpdateBaiduChannelResponse :: Int -> BaiduChannelResponse -> UpdateBaiduChannelResponse
- updateBaiduChannelResponse_httpStatus :: Lens' UpdateBaiduChannelResponse Int
- updateBaiduChannelResponse_baiduChannelResponse :: Lens' UpdateBaiduChannelResponse BaiduChannelResponse
Creating a Request
data UpdateBaiduChannel Source #
See: newUpdateBaiduChannel
smart constructor.
UpdateBaiduChannel' | |
|
Instances
newUpdateBaiduChannel Source #
Create a value of UpdateBaiduChannel
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:UpdateBaiduChannel'
, updateBaiduChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:baiduChannelRequest:UpdateBaiduChannel'
, updateBaiduChannel_baiduChannelRequest
- Undocumented member.
Request Lenses
updateBaiduChannel_applicationId :: Lens' UpdateBaiduChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateBaiduChannel_baiduChannelRequest :: Lens' UpdateBaiduChannel BaiduChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateBaiduChannelResponse Source #
See: newUpdateBaiduChannelResponse
smart constructor.
UpdateBaiduChannelResponse' | |
|
Instances
newUpdateBaiduChannelResponse Source #
Create a value of UpdateBaiduChannelResponse
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:UpdateBaiduChannelResponse'
, updateBaiduChannelResponse_httpStatus
- The response's http status code.
$sel:baiduChannelResponse:UpdateBaiduChannelResponse'
, updateBaiduChannelResponse_baiduChannelResponse
- Undocumented member.
Response Lenses
updateBaiduChannelResponse_httpStatus :: Lens' UpdateBaiduChannelResponse Int Source #
The response's http status code.
updateBaiduChannelResponse_baiduChannelResponse :: Lens' UpdateBaiduChannelResponse BaiduChannelResponse Source #
Undocumented member.