| 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.UpdateBaiduChannel
Description
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.
Constructors
| UpdateBaiduChannel' | |
Fields
| |
Instances
newUpdateBaiduChannel Source #
Arguments
| :: Text | |
| -> BaiduChannelRequest | |
| -> UpdateBaiduChannel |
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:
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.
Constructors
| UpdateBaiduChannelResponse' | |
Fields
| |
Instances
newUpdateBaiduChannelResponse Source #
Arguments
| :: Int | |
| -> BaiduChannelResponse | |
| -> UpdateBaiduChannelResponse |
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.