| 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.ChimeSdkVoice.CreateSipRule
Description
- - | Undocumented operation.
Synopsis
- data CreateSipRule = CreateSipRule' {}
- newCreateSipRule :: Text -> SipRuleTriggerType -> Text -> CreateSipRule
- createSipRule_disabled :: Lens' CreateSipRule (Maybe Bool)
- createSipRule_targetApplications :: Lens' CreateSipRule (Maybe (NonEmpty SipRuleTargetApplication))
- createSipRule_name :: Lens' CreateSipRule Text
- createSipRule_triggerType :: Lens' CreateSipRule SipRuleTriggerType
- createSipRule_triggerValue :: Lens' CreateSipRule Text
- data CreateSipRuleResponse = CreateSipRuleResponse' {
- sipRule :: Maybe SipRule
- httpStatus :: Int
- newCreateSipRuleResponse :: Int -> CreateSipRuleResponse
- createSipRuleResponse_sipRule :: Lens' CreateSipRuleResponse (Maybe SipRule)
- createSipRuleResponse_httpStatus :: Lens' CreateSipRuleResponse Int
Creating a Request
data CreateSipRule Source #
See: newCreateSipRule smart constructor.
Constructors
| CreateSipRule' | |
Fields | |
Instances
Arguments
| :: Text | |
| -> SipRuleTriggerType | |
| -> Text | |
| -> CreateSipRule |
Create a value of CreateSipRule 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:
CreateSipRule, createSipRule_disabled - Undocumented member.
CreateSipRule, createSipRule_targetApplications - Undocumented member.
CreateSipRule, createSipRule_name - Undocumented member.
CreateSipRule, createSipRule_triggerType - Undocumented member.
CreateSipRule, createSipRule_triggerValue - Undocumented member.
Request Lenses
createSipRule_disabled :: Lens' CreateSipRule (Maybe Bool) Source #
Undocumented member.
createSipRule_targetApplications :: Lens' CreateSipRule (Maybe (NonEmpty SipRuleTargetApplication)) Source #
Undocumented member.
createSipRule_name :: Lens' CreateSipRule Text Source #
Undocumented member.
createSipRule_triggerType :: Lens' CreateSipRule SipRuleTriggerType Source #
Undocumented member.
createSipRule_triggerValue :: Lens' CreateSipRule Text Source #
Undocumented member.
Destructuring the Response
data CreateSipRuleResponse Source #
See: newCreateSipRuleResponse smart constructor.
Constructors
| CreateSipRuleResponse' | |
Fields
| |
Instances
newCreateSipRuleResponse Source #
Create a value of CreateSipRuleResponse 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:sipRule:CreateSipRuleResponse', createSipRuleResponse_sipRule - Undocumented member.
$sel:httpStatus:CreateSipRuleResponse', createSipRuleResponse_httpStatus - The response's http status code.
Response Lenses
createSipRuleResponse_sipRule :: Lens' CreateSipRuleResponse (Maybe SipRule) Source #
Undocumented member.
createSipRuleResponse_httpStatus :: Lens' CreateSipRuleResponse Int Source #
The response's http status code.