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 |
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.
AssociatePackage' | |
|
Instances
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:
$sel:packageID:AssociatePackage'
, associatePackage_packageID
- Internal ID of the package that you want to associate with a domain. Use
DescribePackages
to find this value.
$sel:domainName: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.
AssociatePackageResponse' | |
|
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.