libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.DeletePackage

Description

Deletes the package.

Synopsis

Creating a Request

data DeletePackage Source #

Container for the request parameters to the DeletePackage operation.

See: newDeletePackage smart constructor.

Constructors

DeletePackage' 

Fields

  • packageID :: Text

    The internal ID of the package you want to delete. Use DescribePackages to find this value.

Instances

Instances details
Eq DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Read DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Show DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Generic DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Associated Types

type Rep DeletePackage :: Type -> Type #

NFData DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Methods

rnf :: DeletePackage -> () #

Hashable DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

AWSRequest DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Associated Types

type AWSResponse DeletePackage #

ToHeaders DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

ToPath DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

ToQuery DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

type Rep DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

type Rep DeletePackage = D1 ('MetaData "DeletePackage" "Amazonka.OpenSearch.DeletePackage" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "DeletePackage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "packageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeletePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.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:packageID:DeletePackage', deletePackage_packageID - The internal ID of the package you want to delete. Use DescribePackages to find this value.

Request Lenses

deletePackage_packageID :: Lens' DeletePackage Text Source #

The internal ID of the package you want to delete. Use DescribePackages to find this value.

Destructuring the Response

data DeletePackageResponse Source #

Container for the response parameters to the DeletePackage operation.

See: newDeletePackageResponse smart constructor.

Constructors

DeletePackageResponse' 

Fields

Instances

Instances details
Eq DeletePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Read DeletePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Show DeletePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Generic DeletePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Associated Types

type Rep DeletePackageResponse :: Type -> Type #

NFData DeletePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

Methods

rnf :: DeletePackageResponse -> () #

type Rep DeletePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DeletePackage

type Rep DeletePackageResponse = D1 ('MetaData "DeletePackageResponse" "Amazonka.OpenSearch.DeletePackage" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "DeletePackageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "packageDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PackageDetails)) :*: 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:packageDetails:DeletePackageResponse', deletePackageResponse_packageDetails - PackageDetails

$sel:httpStatus:DeletePackageResponse', deletePackageResponse_httpStatus - The response's http status code.

Response Lenses