Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DissociatePackage' | |
|
Instances
:: 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:
$sel:packageID:DissociatePackage'
, dissociatePackage_packageID
- Internal ID of the package that you want to associate with a domain. Use
DescribePackages
to find this value.
$sel:domainName: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.
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
- 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.