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 |
Updates a package for use with Amazon ES domains.
Synopsis
- data UpdatePackage = UpdatePackage' {}
- newUpdatePackage :: Text -> PackageSource -> UpdatePackage
- updatePackage_packageDescription :: Lens' UpdatePackage (Maybe Text)
- updatePackage_commitMessage :: 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.
UpdatePackage' | |
|
Instances
:: Text | |
-> PackageSource | |
-> UpdatePackage |
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:
$sel:packageDescription:UpdatePackage'
, updatePackage_packageDescription
- New description of the package.
$sel:commitMessage:UpdatePackage'
, updatePackage_commitMessage
- An info message for the new version which will be shown as part of
GetPackageVersionHistoryResponse
.
$sel:packageID:UpdatePackage'
, updatePackage_packageID
- Unique identifier for the package.
$sel:packageSource:UpdatePackage'
, updatePackage_packageSource
- Undocumented member.
Request Lenses
updatePackage_packageDescription :: Lens' UpdatePackage (Maybe Text) Source #
New description of the package.
updatePackage_commitMessage :: Lens' UpdatePackage (Maybe Text) Source #
An info message for the new version which will be shown as part of
GetPackageVersionHistoryResponse
.
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.
UpdatePackageResponse' | |
|
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.