| 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 |
Amazonka.ElasticSearch.DissociatePackage
Description
Dissociates a package from the Amazon ES domain.
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 request parameters to DissociatePackage operation.
See: newDissociatePackage smart constructor.
Constructors
| DissociatePackage' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DissociatePackage |
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 that you want to associate with a domain. Use
DescribePackages to find this value.
DissociatePackage, dissociatePackage_domainName - Name of the domain that you want to associate the package with.
Request Lenses
dissociatePackage_packageID :: Lens' DissociatePackage Text Source #
Internal ID of the package that you want to associate with a domain. Use
DescribePackages to find this value.
dissociatePackage_domainName :: Lens' DissociatePackage Text Source #
Name of the domain that you want to associate the package with.
Destructuring the Response
data DissociatePackageResponse Source #
Container for response returned by DissociatePackage operation.
See: newDissociatePackageResponse smart constructor.
Constructors
| DissociatePackageResponse' | |
Fields
| |
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 - DomainPackageDetails
$sel:httpStatus:DissociatePackageResponse', dissociatePackageResponse_httpStatus - The response's http status code.
Response Lenses
dissociatePackageResponse_domainPackageDetails :: Lens' DissociatePackageResponse (Maybe DomainPackageDetails) Source #
DomainPackageDetails
dissociatePackageResponse_httpStatus :: Lens' DissociatePackageResponse Int Source #
The response's http status code.