| 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.OpenSearch.AssociatePackage
Description
Associates a package with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
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 the request parameters to the 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 to associate with a domain. Use
DescribePackages to find this value.
AssociatePackage, associatePackage_domainName - Name of the domain to associate the package with.
Request Lenses
associatePackage_packageID :: Lens' AssociatePackage Text Source #
Internal ID of the package to associate with a domain. Use
DescribePackages to find this value.
associatePackage_domainName :: Lens' AssociatePackage Text Source #
Name of the domain to associate the package with.
Destructuring the Response
data AssociatePackageResponse Source #
Container for the response returned by the 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 - Information about a package that is associated with a domain.
$sel:httpStatus:AssociatePackageResponse', associatePackageResponse_httpStatus - The response's http status code.
Response Lenses
associatePackageResponse_domainPackageDetails :: Lens' AssociatePackageResponse (Maybe DomainPackageDetails) Source #
Information about a package that is associated with a domain.
associatePackageResponse_httpStatus :: Lens' AssociatePackageResponse Int Source #
The response's http status code.