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 query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration.
Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig.
If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.
Synopsis
- data DeleteResolverQueryLogConfig = DeleteResolverQueryLogConfig' {}
- newDeleteResolverQueryLogConfig :: Text -> DeleteResolverQueryLogConfig
- deleteResolverQueryLogConfig_resolverQueryLogConfigId :: Lens' DeleteResolverQueryLogConfig Text
- data DeleteResolverQueryLogConfigResponse = DeleteResolverQueryLogConfigResponse' {}
- newDeleteResolverQueryLogConfigResponse :: Int -> DeleteResolverQueryLogConfigResponse
- deleteResolverQueryLogConfigResponse_resolverQueryLogConfig :: Lens' DeleteResolverQueryLogConfigResponse (Maybe ResolverQueryLogConfig)
- deleteResolverQueryLogConfigResponse_httpStatus :: Lens' DeleteResolverQueryLogConfigResponse Int
Creating a Request
data DeleteResolverQueryLogConfig Source #
See: newDeleteResolverQueryLogConfig
smart constructor.
DeleteResolverQueryLogConfig' | |
|
Instances
newDeleteResolverQueryLogConfig Source #
Create a value of DeleteResolverQueryLogConfig
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:resolverQueryLogConfigId:DeleteResolverQueryLogConfig'
, deleteResolverQueryLogConfig_resolverQueryLogConfigId
- The ID of the query logging configuration that you want to delete.
Request Lenses
deleteResolverQueryLogConfig_resolverQueryLogConfigId :: Lens' DeleteResolverQueryLogConfig Text Source #
The ID of the query logging configuration that you want to delete.
Destructuring the Response
data DeleteResolverQueryLogConfigResponse Source #
See: newDeleteResolverQueryLogConfigResponse
smart constructor.
DeleteResolverQueryLogConfigResponse' | |
|
Instances
newDeleteResolverQueryLogConfigResponse Source #
Create a value of DeleteResolverQueryLogConfigResponse
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:resolverQueryLogConfig:DeleteResolverQueryLogConfigResponse'
, deleteResolverQueryLogConfigResponse_resolverQueryLogConfig
- Information about the query logging configuration that you deleted,
including the status of the request.
$sel:httpStatus:DeleteResolverQueryLogConfigResponse'
, deleteResolverQueryLogConfigResponse_httpStatus
- The response's http status code.
Response Lenses
deleteResolverQueryLogConfigResponse_resolverQueryLogConfig :: Lens' DeleteResolverQueryLogConfigResponse (Maybe ResolverQueryLogConfig) Source #
Information about the query logging configuration that you deleted, including the status of the request.
deleteResolverQueryLogConfigResponse_httpStatus :: Lens' DeleteResolverQueryLogConfigResponse Int Source #
The response's http status code.