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 real-time log configuration.
You cannot delete a real-time log configuration if it’s attached to a cache behavior. First update your distributions to remove the real-time log configuration from all cache behaviors, then delete the real-time log configuration.
To delete a real-time log configuration, you can provide the configuration’s name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to delete.
Synopsis
- data DeleteRealtimeLogConfig = DeleteRealtimeLogConfig' {}
- newDeleteRealtimeLogConfig :: DeleteRealtimeLogConfig
- deleteRealtimeLogConfig_arn :: Lens' DeleteRealtimeLogConfig (Maybe Text)
- deleteRealtimeLogConfig_name :: Lens' DeleteRealtimeLogConfig (Maybe Text)
- data DeleteRealtimeLogConfigResponse = DeleteRealtimeLogConfigResponse' {
- newDeleteRealtimeLogConfigResponse :: DeleteRealtimeLogConfigResponse
Creating a Request
data DeleteRealtimeLogConfig Source #
See: newDeleteRealtimeLogConfig
smart constructor.
Instances
newDeleteRealtimeLogConfig :: DeleteRealtimeLogConfig Source #
Create a value of DeleteRealtimeLogConfig
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:arn:DeleteRealtimeLogConfig'
, deleteRealtimeLogConfig_arn
- The Amazon Resource Name (ARN) of the real-time log configuration to
delete.
$sel:name:DeleteRealtimeLogConfig'
, deleteRealtimeLogConfig_name
- The name of the real-time log configuration to delete.
Request Lenses
deleteRealtimeLogConfig_arn :: Lens' DeleteRealtimeLogConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of the real-time log configuration to delete.
deleteRealtimeLogConfig_name :: Lens' DeleteRealtimeLogConfig (Maybe Text) Source #
The name of the real-time log configuration to delete.
Destructuring the Response
data DeleteRealtimeLogConfigResponse Source #
See: newDeleteRealtimeLogConfigResponse
smart constructor.
Instances
newDeleteRealtimeLogConfigResponse :: DeleteRealtimeLogConfigResponse Source #
Create a value of DeleteRealtimeLogConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.