libZSservicesZSamazonka-panoramaZSamazonka-panorama
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.Panorama.DeletePackage

Description

Deletes a package.

Synopsis

Creating a Request

data DeletePackage Source #

See: newDeletePackage smart constructor.

Constructors

DeletePackage' 

Fields

  • forceDelete :: Maybe Bool

    Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3.

  • packageId :: Text

    The package's ID.

Instances

Instances details
Eq DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Read DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Show DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Generic DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Associated Types

type Rep DeletePackage :: Type -> Type #

NFData DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Methods

rnf :: DeletePackage -> () #

Hashable DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

AWSRequest DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Associated Types

type AWSResponse DeletePackage #

ToHeaders DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

ToPath DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

ToQuery DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

type Rep DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

type Rep DeletePackage = D1 ('MetaData "DeletePackage" "Amazonka.Panorama.DeletePackage" "libZSservicesZSamazonka-panoramaZSamazonka-panorama" 'False) (C1 ('MetaCons "DeletePackage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "packageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeletePackage Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

newDeletePackage Source #

Create a value of DeletePackage 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:forceDelete:DeletePackage', deletePackage_forceDelete - Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3.

$sel:packageId:DeletePackage', deletePackage_packageId - The package's ID.

Request Lenses

deletePackage_forceDelete :: Lens' DeletePackage (Maybe Bool) Source #

Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3.

Destructuring the Response

data DeletePackageResponse Source #

See: newDeletePackageResponse smart constructor.

Constructors

DeletePackageResponse' 

Fields

Instances

Instances details
Eq DeletePackageResponse Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Read DeletePackageResponse Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Show DeletePackageResponse Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Generic DeletePackageResponse Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Associated Types

type Rep DeletePackageResponse :: Type -> Type #

NFData DeletePackageResponse Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

Methods

rnf :: DeletePackageResponse -> () #

type Rep DeletePackageResponse Source # 
Instance details

Defined in Amazonka.Panorama.DeletePackage

type Rep DeletePackageResponse = D1 ('MetaData "DeletePackageResponse" "Amazonka.Panorama.DeletePackage" "libZSservicesZSamazonka-panoramaZSamazonka-panorama" 'False) (C1 ('MetaCons "DeletePackageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeletePackageResponse Source #

Create a value of DeletePackageResponse 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:httpStatus:DeletePackageResponse', deletePackageResponse_httpStatus - The response's http status code.

Response Lenses