amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.DeleteRealtimeLogConfig

Description

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

Creating a Request

data DeleteRealtimeLogConfig Source #

See: newDeleteRealtimeLogConfig smart constructor.

Constructors

DeleteRealtimeLogConfig' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the real-time log configuration to delete.

  • name :: Maybe Text

    The name of the real-time log configuration to delete.

Instances

Instances details
ToHeaders DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

ToPath DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

ToQuery DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

ToElement DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

ToXML DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

AWSRequest DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Generic DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Associated Types

type Rep DeleteRealtimeLogConfig :: Type -> Type #

Read DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Show DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

NFData DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Methods

rnf :: DeleteRealtimeLogConfig -> () #

Eq DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Hashable DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

type AWSResponse DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

type Rep DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

type Rep DeleteRealtimeLogConfig = D1 ('MetaData "DeleteRealtimeLogConfig" "Amazonka.CloudFront.DeleteRealtimeLogConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DeleteRealtimeLogConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

DeleteRealtimeLogConfig, deleteRealtimeLogConfig_arn - The Amazon Resource Name (ARN) of the real-time log configuration to delete.

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

Instances details
Generic DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Associated Types

type Rep DeleteRealtimeLogConfigResponse :: Type -> Type #

Read DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Show DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

NFData DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Eq DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

type Rep DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

type Rep DeleteRealtimeLogConfigResponse = D1 ('MetaData "DeleteRealtimeLogConfigResponse" "Amazonka.CloudFront.DeleteRealtimeLogConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DeleteRealtimeLogConfigResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteRealtimeLogConfigResponse :: DeleteRealtimeLogConfigResponse Source #

Create a value of DeleteRealtimeLogConfigResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.