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 |
Deletes a rule for the specified Amazon Connect instance.
Synopsis
- data DeleteRule = DeleteRule' {
- instanceId :: Text
- ruleId :: Text
- newDeleteRule :: Text -> Text -> DeleteRule
- deleteRule_instanceId :: Lens' DeleteRule Text
- deleteRule_ruleId :: Lens' DeleteRule Text
- data DeleteRuleResponse = DeleteRuleResponse' {
- newDeleteRuleResponse :: DeleteRuleResponse
Creating a Request
data DeleteRule Source #
See: newDeleteRule
smart constructor.
DeleteRule' | |
|
Instances
Create a value of DeleteRule
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:
DeleteRule
, deleteRule_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
DeleteRule
, deleteRule_ruleId
- A unique identifier for the rule.
Request Lenses
deleteRule_instanceId :: Lens' DeleteRule Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
deleteRule_ruleId :: Lens' DeleteRule Text Source #
A unique identifier for the rule.
Destructuring the Response
data DeleteRuleResponse Source #
See: newDeleteRuleResponse
smart constructor.
Instances
Generic DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule type Rep DeleteRuleResponse :: Type -> Type # from :: DeleteRuleResponse -> Rep DeleteRuleResponse x # to :: Rep DeleteRuleResponse x -> DeleteRuleResponse # | |
Read DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule | |
Show DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule showsPrec :: Int -> DeleteRuleResponse -> ShowS # show :: DeleteRuleResponse -> String # showList :: [DeleteRuleResponse] -> ShowS # | |
NFData DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule rnf :: DeleteRuleResponse -> () # | |
Eq DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule (==) :: DeleteRuleResponse -> DeleteRuleResponse -> Bool # (/=) :: DeleteRuleResponse -> DeleteRuleResponse -> Bool # | |
type Rep DeleteRuleResponse Source # | |
newDeleteRuleResponse :: DeleteRuleResponse Source #
Create a value of DeleteRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.