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 |
Deletes a Resolver rule. Before you can delete a Resolver rule, you must disassociate it from all the VPCs that you associated the Resolver rule with. For more information, see DisassociateResolverRule.
Synopsis
- data DeleteResolverRule = DeleteResolverRule' {}
- newDeleteResolverRule :: Text -> DeleteResolverRule
- deleteResolverRule_resolverRuleId :: Lens' DeleteResolverRule Text
- data DeleteResolverRuleResponse = DeleteResolverRuleResponse' {}
- newDeleteResolverRuleResponse :: Int -> DeleteResolverRuleResponse
- deleteResolverRuleResponse_resolverRule :: Lens' DeleteResolverRuleResponse (Maybe ResolverRule)
- deleteResolverRuleResponse_httpStatus :: Lens' DeleteResolverRuleResponse Int
Creating a Request
data DeleteResolverRule Source #
See: newDeleteResolverRule
smart constructor.
DeleteResolverRule' | |
|
Instances
newDeleteResolverRule Source #
Create a value of DeleteResolverRule
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:resolverRuleId:DeleteResolverRule'
, deleteResolverRule_resolverRuleId
- The ID of the Resolver rule that you want to delete.
Request Lenses
deleteResolverRule_resolverRuleId :: Lens' DeleteResolverRule Text Source #
The ID of the Resolver rule that you want to delete.
Destructuring the Response
data DeleteResolverRuleResponse Source #
See: newDeleteResolverRuleResponse
smart constructor.
DeleteResolverRuleResponse' | |
|
Instances
newDeleteResolverRuleResponse Source #
Create a value of DeleteResolverRuleResponse
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:resolverRule:DeleteResolverRuleResponse'
, deleteResolverRuleResponse_resolverRule
- Information about the DeleteResolverRule
request, including the status
of the request.
$sel:httpStatus:DeleteResolverRuleResponse'
, deleteResolverRuleResponse_httpStatus
- The response's http status code.
Response Lenses
deleteResolverRuleResponse_resolverRule :: Lens' DeleteResolverRuleResponse (Maybe ResolverRule) Source #
Information about the DeleteResolverRule
request, including the status
of the request.
deleteResolverRuleResponse_httpStatus :: Lens' DeleteResolverRuleResponse Int Source #
The response's http status code.