amazonka-opensearch-2.0: Amazon OpenSearch Service 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.OpenSearch.DissociatePackage

Description

Removes a package from the specified Amazon OpenSearch Service domain. The package can't be in use with any OpenSearch index for the dissociation to succeed. The package is still available in OpenSearch Service for association later. For more information, see Custom packages for Amazon OpenSearch Service.

Synopsis

Creating a Request

data DissociatePackage Source #

Container for the request parameters to the DissociatePackage operation.

See: newDissociatePackage smart constructor.

Constructors

DissociatePackage' 

Fields

  • packageID :: Text

    Internal ID of the package to dissociate from the domain. Use ListPackagesForDomain to find this value.

  • domainName :: Text

    Name of the domain to dissociate the package from.

Instances

Instances details
ToJSON DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

ToHeaders DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

ToPath DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

ToQuery DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

AWSRequest DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

Associated Types

type AWSResponse DissociatePackage #

Generic DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

Associated Types

type Rep DissociatePackage :: Type -> Type #

Read DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

Show DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

NFData DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

Methods

rnf :: DissociatePackage -> () #

Eq DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

Hashable DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

type AWSResponse DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

type Rep DissociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

type Rep DissociatePackage = D1 ('MetaData "DissociatePackage" "Amazonka.OpenSearch.DissociatePackage" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "DissociatePackage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "packageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDissociatePackage Source #

Create a value of DissociatePackage 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:

DissociatePackage, dissociatePackage_packageID - Internal ID of the package to dissociate from the domain. Use ListPackagesForDomain to find this value.

DissociatePackage, dissociatePackage_domainName - Name of the domain to dissociate the package from.

Request Lenses

dissociatePackage_packageID :: Lens' DissociatePackage Text Source #

Internal ID of the package to dissociate from the domain. Use ListPackagesForDomain to find this value.

dissociatePackage_domainName :: Lens' DissociatePackage Text Source #

Name of the domain to dissociate the package from.

Destructuring the Response

data DissociatePackageResponse Source #

Container for the response returned by an DissociatePackage operation.

See: newDissociatePackageResponse smart constructor.

Constructors

DissociatePackageResponse' 

Fields

Instances

Instances details
Generic DissociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

Associated Types

type Rep DissociatePackageResponse :: Type -> Type #

Read DissociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

Show DissociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

NFData DissociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

Eq DissociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

type Rep DissociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DissociatePackage

type Rep DissociatePackageResponse = D1 ('MetaData "DissociatePackageResponse" "Amazonka.OpenSearch.DissociatePackage" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "DissociatePackageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainPackageDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainPackageDetails)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDissociatePackageResponse Source #

Create a value of DissociatePackageResponse 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:domainPackageDetails:DissociatePackageResponse', dissociatePackageResponse_domainPackageDetails - Information about a package that has been dissociated from the domain.

$sel:httpStatus:DissociatePackageResponse', dissociatePackageResponse_httpStatus - The response's http status code.

Response Lenses

dissociatePackageResponse_domainPackageDetails :: Lens' DissociatePackageResponse (Maybe DomainPackageDetails) Source #

Information about a package that has been dissociated from the domain.