| 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.GetVoiceChannel
Description
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.
Constructors
| GetVoiceChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetVoiceChannel |
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:
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.
Constructors
| GetVoiceChannelResponse' | |
Fields
| |
Instances
newGetVoiceChannelResponse Source #
Arguments
| :: Int | |
| -> VoiceChannelResponse | |
| -> GetVoiceChannelResponse |
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.