libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.DeleteDistribution

Description

Deletes your Amazon Lightsail content delivery network (CDN) distribution.

Synopsis

Creating a Request

data DeleteDistribution Source #

See: newDeleteDistribution smart constructor.

Constructors

DeleteDistribution' 

Fields

  • distributionName :: Maybe Text

    The name of the distribution to delete.

    Use the GetDistributions action to get a list of distribution names that you can specify.

Instances

Instances details
Eq DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Read DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Show DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Generic DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Associated Types

type Rep DeleteDistribution :: Type -> Type #

NFData DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Methods

rnf :: DeleteDistribution -> () #

Hashable DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

ToJSON DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

AWSRequest DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Associated Types

type AWSResponse DeleteDistribution #

ToHeaders DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

ToPath DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

ToQuery DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

type Rep DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

type Rep DeleteDistribution = D1 ('MetaData "DeleteDistribution" "Amazonka.Lightsail.DeleteDistribution" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DeleteDistribution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DeleteDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

newDeleteDistribution :: DeleteDistribution Source #

Create a value of DeleteDistribution 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:distributionName:DeleteDistribution', deleteDistribution_distributionName - The name of the distribution to delete.

Use the GetDistributions action to get a list of distribution names that you can specify.

Request Lenses

deleteDistribution_distributionName :: Lens' DeleteDistribution (Maybe Text) Source #

The name of the distribution to delete.

Use the GetDistributions action to get a list of distribution names that you can specify.

Destructuring the Response

data DeleteDistributionResponse Source #

See: newDeleteDistributionResponse smart constructor.

Constructors

DeleteDistributionResponse' 

Fields

  • operation :: Maybe Operation

    An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Read DeleteDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Show DeleteDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Generic DeleteDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

Associated Types

type Rep DeleteDistributionResponse :: Type -> Type #

NFData DeleteDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

type Rep DeleteDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDistribution

type Rep DeleteDistributionResponse = D1 ('MetaData "DeleteDistributionResponse" "Amazonka.Lightsail.DeleteDistribution" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DeleteDistributionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteDistributionResponse Source #

Create a value of DeleteDistributionResponse 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:operation:DeleteDistributionResponse', deleteDistributionResponse_operation - An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:DeleteDistributionResponse', deleteDistributionResponse_httpStatus - The response's http status code.

Response Lenses

deleteDistributionResponse_operation :: Lens' DeleteDistributionResponse (Maybe Operation) Source #

An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.