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 |
Removes the association between a specified Resolver rule and a specified VPC.
If you disassociate a Resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the Resolver rule.
Synopsis
- data DisassociateResolverRule = DisassociateResolverRule' {
- vPCId :: Text
- resolverRuleId :: Text
- newDisassociateResolverRule :: Text -> Text -> DisassociateResolverRule
- disassociateResolverRule_vPCId :: Lens' DisassociateResolverRule Text
- disassociateResolverRule_resolverRuleId :: Lens' DisassociateResolverRule Text
- data DisassociateResolverRuleResponse = DisassociateResolverRuleResponse' {}
- newDisassociateResolverRuleResponse :: Int -> DisassociateResolverRuleResponse
- disassociateResolverRuleResponse_resolverRuleAssociation :: Lens' DisassociateResolverRuleResponse (Maybe ResolverRuleAssociation)
- disassociateResolverRuleResponse_httpStatus :: Lens' DisassociateResolverRuleResponse Int
Creating a Request
data DisassociateResolverRule Source #
See: newDisassociateResolverRule
smart constructor.
DisassociateResolverRule' | |
|
Instances
newDisassociateResolverRule Source #
:: Text | |
-> Text | |
-> DisassociateResolverRule |
Create a value of DisassociateResolverRule
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:vPCId:DisassociateResolverRule'
, disassociateResolverRule_vPCId
- The ID of the VPC that you want to disassociate the Resolver rule from.
$sel:resolverRuleId:DisassociateResolverRule'
, disassociateResolverRule_resolverRuleId
- The ID of the Resolver rule that you want to disassociate from the
specified VPC.
Request Lenses
disassociateResolverRule_vPCId :: Lens' DisassociateResolverRule Text Source #
The ID of the VPC that you want to disassociate the Resolver rule from.
disassociateResolverRule_resolverRuleId :: Lens' DisassociateResolverRule Text Source #
The ID of the Resolver rule that you want to disassociate from the specified VPC.
Destructuring the Response
data DisassociateResolverRuleResponse Source #
See: newDisassociateResolverRuleResponse
smart constructor.
DisassociateResolverRuleResponse' | |
|
Instances
newDisassociateResolverRuleResponse Source #
Create a value of DisassociateResolverRuleResponse
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:resolverRuleAssociation:DisassociateResolverRuleResponse'
, disassociateResolverRuleResponse_resolverRuleAssociation
- Information about the DisassociateResolverRule
request, including the
status of the request.
$sel:httpStatus:DisassociateResolverRuleResponse'
, disassociateResolverRuleResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateResolverRuleResponse_resolverRuleAssociation :: Lens' DisassociateResolverRuleResponse (Maybe ResolverRuleAssociation) Source #
Information about the DisassociateResolverRule
request, including the
status of the request.
disassociateResolverRuleResponse_httpStatus :: Lens' DisassociateResolverRuleResponse Int Source #
The response's http status code.