libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Read DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Show 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 #

NFData DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Methods

rnf :: DeleteRealtimeLogConfig -> () #

Hashable DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

AWSRequest DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

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

type Rep DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

type Rep DeleteRealtimeLogConfig = D1 ('MetaData "DeleteRealtimeLogConfig" "Amazonka.CloudFront.DeleteRealtimeLogConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" '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))))
type AWSResponse DeleteRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

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

Instances details
Eq DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Read DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Show DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Generic DeleteRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeleteRealtimeLogConfig

Associated Types

type Rep DeleteRealtimeLogConfigResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" '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.