| 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.AssociatePackage
Description
Associates a package with an Amazon ES domain.
Synopsis
- data AssociatePackage = AssociatePackage' {
- packageID :: Text
- domainName :: Text
- newAssociatePackage :: Text -> Text -> AssociatePackage
- associatePackage_packageID :: Lens' AssociatePackage Text
- associatePackage_domainName :: Lens' AssociatePackage Text
- data AssociatePackageResponse = AssociatePackageResponse' {}
- newAssociatePackageResponse :: Int -> AssociatePackageResponse
- associatePackageResponse_domainPackageDetails :: Lens' AssociatePackageResponse (Maybe DomainPackageDetails)
- associatePackageResponse_httpStatus :: Lens' AssociatePackageResponse Int
Creating a Request
data AssociatePackage Source #
Container for request parameters to AssociatePackage operation.
See: newAssociatePackage smart constructor.
Constructors
| AssociatePackage' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> AssociatePackage |
Create a value of AssociatePackage 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:
AssociatePackage, associatePackage_packageID - Internal ID of the package that you want to associate with a domain. Use
DescribePackages to find this value.
AssociatePackage, associatePackage_domainName - Name of the domain that you want to associate the package with.
Request Lenses
associatePackage_packageID :: Lens' AssociatePackage Text Source #
Internal ID of the package that you want to associate with a domain. Use
DescribePackages to find this value.
associatePackage_domainName :: Lens' AssociatePackage Text Source #
Name of the domain that you want to associate the package with.
Destructuring the Response
data AssociatePackageResponse Source #
Container for response returned by AssociatePackage operation.
See: newAssociatePackageResponse smart constructor.
Constructors
| AssociatePackageResponse' | |
Fields
| |
Instances
newAssociatePackageResponse Source #
Create a value of AssociatePackageResponse 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:AssociatePackageResponse', associatePackageResponse_domainPackageDetails - DomainPackageDetails
$sel:httpStatus:AssociatePackageResponse', associatePackageResponse_httpStatus - The response's http status code.
Response Lenses
associatePackageResponse_domainPackageDetails :: Lens' AssociatePackageResponse (Maybe DomainPackageDetails) Source #
DomainPackageDetails
associatePackageResponse_httpStatus :: Lens' AssociatePackageResponse Int Source #
The response's http status code.