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.Connect.DeleteRule
Description
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.
Constructors
DeleteRule' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> DeleteRule |
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.
Constructors
DeleteRuleResponse' | |
Instances
Generic DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule Associated Types type Rep DeleteRuleResponse :: Type -> Type # Methods from :: DeleteRuleResponse -> Rep DeleteRuleResponse x # to :: Rep DeleteRuleResponse x -> DeleteRuleResponse # | |
Read DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule Methods readsPrec :: Int -> ReadS DeleteRuleResponse # readList :: ReadS [DeleteRuleResponse] # | |
Show DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule Methods showsPrec :: Int -> DeleteRuleResponse -> ShowS # show :: DeleteRuleResponse -> String # showList :: [DeleteRuleResponse] -> ShowS # | |
NFData DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule Methods rnf :: DeleteRuleResponse -> () # | |
Eq DeleteRuleResponse Source # | |
Defined in Amazonka.Connect.DeleteRule Methods (==) :: 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.