| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.ServerlessApplicationRepository.UpdateApplication
Description
Updates the specified application.
Synopsis
- updateApplication :: Text -> UpdateApplication
- data UpdateApplication
- uaHomePageURL :: Lens' UpdateApplication (Maybe Text)
- uaReadmeBody :: Lens' UpdateApplication (Maybe Text)
- uaReadmeURL :: Lens' UpdateApplication (Maybe Text)
- uaAuthor :: Lens' UpdateApplication (Maybe Text)
- uaLabels :: Lens' UpdateApplication [Text]
- uaDescription :: Lens' UpdateApplication (Maybe Text)
- uaApplicationId :: Lens' UpdateApplication Text
- updateApplicationResponse :: Int -> UpdateApplicationResponse
- data UpdateApplicationResponse
- uarsCreationTime :: Lens' UpdateApplicationResponse (Maybe Text)
- uarsHomePageURL :: Lens' UpdateApplicationResponse (Maybe Text)
- uarsLicenseURL :: Lens' UpdateApplicationResponse (Maybe Text)
- uarsReadmeURL :: Lens' UpdateApplicationResponse (Maybe Text)
- uarsApplicationId :: Lens' UpdateApplicationResponse (Maybe Text)
- uarsName :: Lens' UpdateApplicationResponse (Maybe Text)
- uarsVersion :: Lens' UpdateApplicationResponse (Maybe Version)
- uarsAuthor :: Lens' UpdateApplicationResponse (Maybe Text)
- uarsLabels :: Lens' UpdateApplicationResponse [Text]
- uarsDescription :: Lens' UpdateApplicationResponse (Maybe Text)
- uarsSpdxLicenseId :: Lens' UpdateApplicationResponse (Maybe Text)
- uarsResponseStatus :: Lens' UpdateApplicationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> UpdateApplication |
Creates a value of UpdateApplication with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uaHomePageURL- A URL with more information about the application, for example the location of your GitHub repository for the application.uaReadmeBody- A raw text Readme file that contains a more detailed description of the application and how it works in markdown language. Max size 5 MBuaReadmeURL- A link to the Readme file that contains a more detailed description of the application and how it works in markdown language. Max size 5 MBuaAuthor- The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";uaLabels- Labels to improve discovery of apps in search results. Min Length=1. Max Length=127. Maximum number of labels: 10 Pattern: "^[a-zA-Z0-9+\-_:\/@]+$";uaDescription- The description of the application. Min Length=1. Max Length=256uaApplicationId- The ID of the application to get.
data UpdateApplication Source #
See: updateApplication smart constructor.
Instances
Request Lenses
uaHomePageURL :: Lens' UpdateApplication (Maybe Text) Source #
A URL with more information about the application, for example the location of your GitHub repository for the application.
uaReadmeBody :: Lens' UpdateApplication (Maybe Text) Source #
A raw text Readme file that contains a more detailed description of the application and how it works in markdown language. Max size 5 MB
uaReadmeURL :: Lens' UpdateApplication (Maybe Text) Source #
A link to the Readme file that contains a more detailed description of the application and how it works in markdown language. Max size 5 MB
uaAuthor :: Lens' UpdateApplication (Maybe Text) Source #
The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
uaLabels :: Lens' UpdateApplication [Text] Source #
Labels to improve discovery of apps in search results. Min Length=1. Max Length=127. Maximum number of labels: 10 Pattern: "^[a-zA-Z0-9+\-_:\/@]+$";
uaDescription :: Lens' UpdateApplication (Maybe Text) Source #
The description of the application. Min Length=1. Max Length=256
uaApplicationId :: Lens' UpdateApplication Text Source #
The ID of the application to get.
Destructuring the Response
updateApplicationResponse Source #
Arguments
| :: Int | |
| -> UpdateApplicationResponse |
Creates a value of UpdateApplicationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uarsCreationTime- The date/time this resource was created.uarsHomePageURL- A URL with more information about the application, for example the location of your GitHub repository for the application.uarsLicenseURL- A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MBuarsReadmeURL- A link to the readme file that contains a more detailed description of the application and how it works in Markdown language. Max size 5 MBuarsApplicationId- The application Amazon Resource Name (ARN).uarsName- The name of the application. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";uarsVersion- Version information about the application.uarsAuthor- The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";uarsLabels- Labels to improve discovery of apps in search results. Min Length=1. Max Length=127. Maximum number of labels: 10 Pattern: "^[a-zA-Z0-9+\-_:\/@]+$";uarsDescription- The description of the application. Min Length=1. Max Length=256uarsSpdxLicenseId- A valid identifier from https://spdx.org/licenses/.uarsResponseStatus- -- | The response status code.
data UpdateApplicationResponse Source #
See: updateApplicationResponse smart constructor.
Instances
Response Lenses
uarsCreationTime :: Lens' UpdateApplicationResponse (Maybe Text) Source #
The date/time this resource was created.
uarsHomePageURL :: Lens' UpdateApplicationResponse (Maybe Text) Source #
A URL with more information about the application, for example the location of your GitHub repository for the application.
uarsLicenseURL :: Lens' UpdateApplicationResponse (Maybe Text) Source #
A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MB
uarsReadmeURL :: Lens' UpdateApplicationResponse (Maybe Text) Source #
A link to the readme file that contains a more detailed description of the application and how it works in Markdown language. Max size 5 MB
uarsApplicationId :: Lens' UpdateApplicationResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
uarsName :: Lens' UpdateApplicationResponse (Maybe Text) Source #
The name of the application. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";
uarsVersion :: Lens' UpdateApplicationResponse (Maybe Version) Source #
Version information about the application.
uarsAuthor :: Lens' UpdateApplicationResponse (Maybe Text) Source #
The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
uarsLabels :: Lens' UpdateApplicationResponse [Text] Source #
Labels to improve discovery of apps in search results. Min Length=1. Max Length=127. Maximum number of labels: 10 Pattern: "^[a-zA-Z0-9+\-_:\/@]+$";
uarsDescription :: Lens' UpdateApplicationResponse (Maybe Text) Source #
The description of the application. Min Length=1. Max Length=256
uarsSpdxLicenseId :: Lens' UpdateApplicationResponse (Maybe Text) Source #
A valid identifier from https://spdx.org/licenses/.
uarsResponseStatus :: Lens' UpdateApplicationResponse Int Source #
- - | The response status code.