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 |
Creates a proxy session on the specified Amazon Chime Voice Connector for the specified participant phone numbers.
Synopsis
- data CreateProxySession = CreateProxySession' {}
- newCreateProxySession :: NonEmpty Text -> Text -> CreateProxySession
- createProxySession_numberSelectionBehavior :: Lens' CreateProxySession (Maybe NumberSelectionBehavior)
- createProxySession_geoMatchParams :: Lens' CreateProxySession (Maybe GeoMatchParams)
- createProxySession_expiryMinutes :: Lens' CreateProxySession (Maybe Natural)
- createProxySession_name :: Lens' CreateProxySession (Maybe Text)
- createProxySession_geoMatchLevel :: Lens' CreateProxySession (Maybe GeoMatchLevel)
- createProxySession_participantPhoneNumbers :: Lens' CreateProxySession (NonEmpty Text)
- createProxySession_capabilities :: Lens' CreateProxySession [Capability]
- createProxySession_voiceConnectorId :: Lens' CreateProxySession Text
- data CreateProxySessionResponse = CreateProxySessionResponse' {}
- newCreateProxySessionResponse :: Int -> CreateProxySessionResponse
- createProxySessionResponse_proxySession :: Lens' CreateProxySessionResponse (Maybe ProxySession)
- createProxySessionResponse_httpStatus :: Lens' CreateProxySessionResponse Int
Creating a Request
data CreateProxySession Source #
See: newCreateProxySession
smart constructor.
CreateProxySession' | |
|
Instances
newCreateProxySession Source #
:: NonEmpty Text | |
-> Text | |
-> CreateProxySession |
Create a value of CreateProxySession
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:numberSelectionBehavior:CreateProxySession'
, createProxySession_numberSelectionBehavior
- The preference for proxy phone number reuse, or stickiness, between the
same participants across sessions.
$sel:geoMatchParams:CreateProxySession'
, createProxySession_geoMatchParams
- The country and area code for the proxy phone number.
$sel:expiryMinutes:CreateProxySession'
, createProxySession_expiryMinutes
- The number of minutes allowed for the proxy session.
$sel:name:CreateProxySession'
, createProxySession_name
- The name of the proxy session.
$sel:geoMatchLevel:CreateProxySession'
, createProxySession_geoMatchLevel
- The preference for matching the country or area code of the proxy phone
number with that of the first participant.
$sel:participantPhoneNumbers:CreateProxySession'
, createProxySession_participantPhoneNumbers
- The participant phone numbers.
$sel:capabilities:CreateProxySession'
, createProxySession_capabilities
- The proxy session capabilities.
$sel:voiceConnectorId:CreateProxySession'
, createProxySession_voiceConnectorId
- The Amazon Chime voice connector ID.
Request Lenses
createProxySession_numberSelectionBehavior :: Lens' CreateProxySession (Maybe NumberSelectionBehavior) Source #
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
createProxySession_geoMatchParams :: Lens' CreateProxySession (Maybe GeoMatchParams) Source #
The country and area code for the proxy phone number.
createProxySession_expiryMinutes :: Lens' CreateProxySession (Maybe Natural) Source #
The number of minutes allowed for the proxy session.
createProxySession_name :: Lens' CreateProxySession (Maybe Text) Source #
The name of the proxy session.
createProxySession_geoMatchLevel :: Lens' CreateProxySession (Maybe GeoMatchLevel) Source #
The preference for matching the country or area code of the proxy phone number with that of the first participant.
createProxySession_participantPhoneNumbers :: Lens' CreateProxySession (NonEmpty Text) Source #
The participant phone numbers.
createProxySession_capabilities :: Lens' CreateProxySession [Capability] Source #
The proxy session capabilities.
createProxySession_voiceConnectorId :: Lens' CreateProxySession Text Source #
The Amazon Chime voice connector ID.
Destructuring the Response
data CreateProxySessionResponse Source #
See: newCreateProxySessionResponse
smart constructor.
CreateProxySessionResponse' | |
|
Instances
newCreateProxySessionResponse Source #
Create a value of CreateProxySessionResponse
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:proxySession:CreateProxySessionResponse'
, createProxySessionResponse_proxySession
- The proxy session details.
$sel:httpStatus:CreateProxySessionResponse'
, createProxySessionResponse_httpStatus
- The response's http status code.
Response Lenses
createProxySessionResponse_proxySession :: Lens' CreateProxySessionResponse (Maybe ProxySession) Source #
The proxy session details.
createProxySessionResponse_httpStatus :: Lens' CreateProxySessionResponse Int Source #
The response's http status code.