| 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.UpdatePackage
Description
Updates a package for use with Amazon ES domains.
Synopsis
- data UpdatePackage = UpdatePackage' {}
- newUpdatePackage :: Text -> PackageSource -> UpdatePackage
- updatePackage_commitMessage :: Lens' UpdatePackage (Maybe Text)
- updatePackage_packageDescription :: Lens' UpdatePackage (Maybe Text)
- updatePackage_packageID :: Lens' UpdatePackage Text
- updatePackage_packageSource :: Lens' UpdatePackage PackageSource
- data UpdatePackageResponse = UpdatePackageResponse' {}
- newUpdatePackageResponse :: Int -> UpdatePackageResponse
- updatePackageResponse_packageDetails :: Lens' UpdatePackageResponse (Maybe PackageDetails)
- updatePackageResponse_httpStatus :: Lens' UpdatePackageResponse Int
Creating a Request
data UpdatePackage Source #
Container for request parameters to UpdatePackage operation.
See: newUpdatePackage smart constructor.
Constructors
| UpdatePackage' | |
Fields
| |
Instances
Create a value of UpdatePackage 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:
UpdatePackage, updatePackage_commitMessage - An info message for the new version which will be shown as part of
GetPackageVersionHistoryResponse.
UpdatePackage, updatePackage_packageDescription - New description of the package.
UpdatePackage, updatePackage_packageID - Unique identifier for the package.
$sel:packageSource:UpdatePackage', updatePackage_packageSource - Undocumented member.
Request Lenses
updatePackage_commitMessage :: Lens' UpdatePackage (Maybe Text) Source #
An info message for the new version which will be shown as part of
GetPackageVersionHistoryResponse.
updatePackage_packageDescription :: Lens' UpdatePackage (Maybe Text) Source #
New description of the package.
updatePackage_packageID :: Lens' UpdatePackage Text Source #
Unique identifier for the package.
updatePackage_packageSource :: Lens' UpdatePackage PackageSource Source #
Undocumented member.
Destructuring the Response
data UpdatePackageResponse Source #
Container for response returned by UpdatePackage operation.
See: newUpdatePackageResponse smart constructor.
Constructors
| UpdatePackageResponse' | |
Fields
| |
Instances
newUpdatePackageResponse Source #
Create a value of UpdatePackageResponse 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:packageDetails:UpdatePackageResponse', updatePackageResponse_packageDetails - Information about the package PackageDetails.
$sel:httpStatus:UpdatePackageResponse', updatePackageResponse_httpStatus - The response's http status code.
Response Lenses
updatePackageResponse_packageDetails :: Lens' UpdatePackageResponse (Maybe PackageDetails) Source #
Information about the package PackageDetails.
updatePackageResponse_httpStatus :: Lens' UpdatePackageResponse Int Source #
The response's http status code.