| 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.Route53Resolver.DisassociateResolverQueryLogConfig
Description
Disassociates a VPC from a query logging configuration.
Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways:
- The accounts that you shared the configuration with can disassociate VPCs from the configuration.
- You can stop sharing the configuration.
Synopsis
- data DisassociateResolverQueryLogConfig = DisassociateResolverQueryLogConfig' {}
- newDisassociateResolverQueryLogConfig :: Text -> Text -> DisassociateResolverQueryLogConfig
- disassociateResolverQueryLogConfig_resolverQueryLogConfigId :: Lens' DisassociateResolverQueryLogConfig Text
- disassociateResolverQueryLogConfig_resourceId :: Lens' DisassociateResolverQueryLogConfig Text
- data DisassociateResolverQueryLogConfigResponse = DisassociateResolverQueryLogConfigResponse' {}
- newDisassociateResolverQueryLogConfigResponse :: Int -> DisassociateResolverQueryLogConfigResponse
- disassociateResolverQueryLogConfigResponse_resolverQueryLogConfigAssociation :: Lens' DisassociateResolverQueryLogConfigResponse (Maybe ResolverQueryLogConfigAssociation)
- disassociateResolverQueryLogConfigResponse_httpStatus :: Lens' DisassociateResolverQueryLogConfigResponse Int
Creating a Request
data DisassociateResolverQueryLogConfig Source #
See: newDisassociateResolverQueryLogConfig smart constructor.
Constructors
| DisassociateResolverQueryLogConfig' | |
Fields
| |
Instances
newDisassociateResolverQueryLogConfig Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisassociateResolverQueryLogConfig |
Create a value of DisassociateResolverQueryLogConfig 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:
DisassociateResolverQueryLogConfig, disassociateResolverQueryLogConfig_resolverQueryLogConfigId - The ID of the query logging configuration that you want to disassociate
a specified VPC from.
DisassociateResolverQueryLogConfig, disassociateResolverQueryLogConfig_resourceId - The ID of the Amazon VPC that you want to disassociate from a specified
query logging configuration.
Request Lenses
disassociateResolverQueryLogConfig_resolverQueryLogConfigId :: Lens' DisassociateResolverQueryLogConfig Text Source #
The ID of the query logging configuration that you want to disassociate a specified VPC from.
disassociateResolverQueryLogConfig_resourceId :: Lens' DisassociateResolverQueryLogConfig Text Source #
The ID of the Amazon VPC that you want to disassociate from a specified query logging configuration.
Destructuring the Response
data DisassociateResolverQueryLogConfigResponse Source #
See: newDisassociateResolverQueryLogConfigResponse smart constructor.
Constructors
| DisassociateResolverQueryLogConfigResponse' | |
Fields
| |
Instances
newDisassociateResolverQueryLogConfigResponse Source #
Arguments
| :: Int | |
| -> DisassociateResolverQueryLogConfigResponse |
Create a value of DisassociateResolverQueryLogConfigResponse 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:resolverQueryLogConfigAssociation:DisassociateResolverQueryLogConfigResponse', disassociateResolverQueryLogConfigResponse_resolverQueryLogConfigAssociation - A complex type that contains settings for the association that you
deleted between an Amazon VPC and a query logging configuration.
$sel:httpStatus:DisassociateResolverQueryLogConfigResponse', disassociateResolverQueryLogConfigResponse_httpStatus - The response's http status code.
Response Lenses
disassociateResolverQueryLogConfigResponse_resolverQueryLogConfigAssociation :: Lens' DisassociateResolverQueryLogConfigResponse (Maybe ResolverQueryLogConfigAssociation) Source #
A complex type that contains settings for the association that you deleted between an Amazon VPC and a query logging configuration.
disassociateResolverQueryLogConfigResponse_httpStatus :: Lens' DisassociateResolverQueryLogConfigResponse Int Source #
The response's http status code.