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 |
Retrieves information about the status and settings of the voice channel for an application.
Synopsis
- data GetVoiceChannel = GetVoiceChannel' {}
- newGetVoiceChannel :: Text -> GetVoiceChannel
- getVoiceChannel_applicationId :: Lens' GetVoiceChannel Text
- data GetVoiceChannelResponse = GetVoiceChannelResponse' {}
- newGetVoiceChannelResponse :: Int -> VoiceChannelResponse -> GetVoiceChannelResponse
- getVoiceChannelResponse_httpStatus :: Lens' GetVoiceChannelResponse Int
- getVoiceChannelResponse_voiceChannelResponse :: Lens' GetVoiceChannelResponse VoiceChannelResponse
Creating a Request
data GetVoiceChannel Source #
See: newGetVoiceChannel
smart constructor.
GetVoiceChannel' | |
|
Instances
Create a value of GetVoiceChannel
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:GetVoiceChannel'
, getVoiceChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getVoiceChannel_applicationId :: Lens' GetVoiceChannel 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 GetVoiceChannelResponse Source #
See: newGetVoiceChannelResponse
smart constructor.
GetVoiceChannelResponse' | |
|
Instances
newGetVoiceChannelResponse Source #
Create a value of GetVoiceChannelResponse
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:GetVoiceChannelResponse'
, getVoiceChannelResponse_httpStatus
- The response's http status code.
$sel:voiceChannelResponse:GetVoiceChannelResponse'
, getVoiceChannelResponse_voiceChannelResponse
- Undocumented member.
Response Lenses
getVoiceChannelResponse_httpStatus :: Lens' GetVoiceChannelResponse Int Source #
The response's http status code.
getVoiceChannelResponse_voiceChannelResponse :: Lens' GetVoiceChannelResponse VoiceChannelResponse Source #
Undocumented member.