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 OpenSearch Service 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 the request parameters to the 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
- The internal ID of the package to associate with a domain. Use
DescribePackages
to find this value.
$sel:domainName:DissociatePackage'
, dissociatePackage_domainName
- The name of the domain to associate the package with.
Request Lenses
dissociatePackage_packageID :: Lens' DissociatePackage Text Source #
The internal ID of the package to associate with a domain. Use
DescribePackages
to find this value.
dissociatePackage_domainName :: Lens' DissociatePackage Text Source #
The name of the domain to associate the package with.
Destructuring the Response
data DissociatePackageResponse Source #
Container for the 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.