Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data DissociatePackage = DissociatePackage' {
- packageID :: Text
- domainName :: Text
- newDissociatePackage :: Text -> Text -> DissociatePackage
- dissociatePackage_packageID :: Lens' DissociatePackage Text
- dissociatePackage_domainName :: Lens' DissociatePackage Text
- data DissociatePackageResponse = DissociatePackageResponse' {}
- newDissociatePackageResponse :: Int -> DissociatePackageResponse
- dissociatePackageResponse_domainPackageDetails :: Lens' DissociatePackageResponse (Maybe DomainPackageDetails)
- dissociatePackageResponse_httpStatus :: Lens' DissociatePackageResponse Int
Creating a Request
data DissociatePackage Source #
Container for the request parameters to the DissociatePackage
operation.
See: newDissociatePackage
smart constructor.
DissociatePackage' | |
|
Instances
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.
DissociatePackageResponse' | |
|
Instances
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.
dissociatePackageResponse_httpStatus :: Lens' DissociatePackageResponse Int Source #
The response's http status code.