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 |
Gets the specified application.
- getApplication :: Text -> GetApplication
- data GetApplication
- gaSemanticVersion :: Lens' GetApplication (Maybe Text)
- gaApplicationId :: Lens' GetApplication Text
- getApplicationResponse :: Int -> GetApplicationResponse
- data GetApplicationResponse
- garsCreationTime :: Lens' GetApplicationResponse (Maybe Text)
- garsHomePageURL :: Lens' GetApplicationResponse (Maybe Text)
- garsLicenseURL :: Lens' GetApplicationResponse (Maybe Text)
- garsReadmeURL :: Lens' GetApplicationResponse (Maybe Text)
- garsApplicationId :: Lens' GetApplicationResponse (Maybe Text)
- garsName :: Lens' GetApplicationResponse (Maybe Text)
- garsVersion :: Lens' GetApplicationResponse (Maybe Version)
- garsAuthor :: Lens' GetApplicationResponse (Maybe Text)
- garsLabels :: Lens' GetApplicationResponse [Text]
- garsDescription :: Lens' GetApplicationResponse (Maybe Text)
- garsSpdxLicenseId :: Lens' GetApplicationResponse (Maybe Text)
- garsResponseStatus :: Lens' GetApplicationResponse Int
Creating a Request
Creates a value of GetApplication
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gaSemanticVersion
- The semantic version of the application to get.gaApplicationId
- The ID of the application to get.
data GetApplication Source #
See: getApplication
smart constructor.
Request Lenses
gaSemanticVersion :: Lens' GetApplication (Maybe Text) Source #
The semantic version of the application to get.
gaApplicationId :: Lens' GetApplication Text Source #
The ID of the application to get.
Destructuring the Response
getApplicationResponse Source #
Creates a value of GetApplicationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
garsCreationTime
- The date/time this resource was created.garsHomePageURL
- A URL with more information about the application, for example the location of your GitHub repository for the application.garsLicenseURL
- A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MBgarsReadmeURL
- 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 MBgarsApplicationId
- The application Amazon Resource Name (ARN).garsName
- The name of the application. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";garsVersion
- Version information about the application.garsAuthor
- The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";garsLabels
- 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+\-_:\/@]+$";garsDescription
- The description of the application. Min Length=1. Max Length=256garsSpdxLicenseId
- A valid identifier from https://spdx.org/licenses/.garsResponseStatus
- -- | The response status code.
data GetApplicationResponse Source #
See: getApplicationResponse
smart constructor.
Response Lenses
garsCreationTime :: Lens' GetApplicationResponse (Maybe Text) Source #
The date/time this resource was created.
garsHomePageURL :: Lens' GetApplicationResponse (Maybe Text) Source #
A URL with more information about the application, for example the location of your GitHub repository for the application.
garsLicenseURL :: Lens' GetApplicationResponse (Maybe Text) Source #
A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MB
garsReadmeURL :: Lens' GetApplicationResponse (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
garsApplicationId :: Lens' GetApplicationResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
garsName :: Lens' GetApplicationResponse (Maybe Text) Source #
The name of the application. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";
garsVersion :: Lens' GetApplicationResponse (Maybe Version) Source #
Version information about the application.
garsAuthor :: Lens' GetApplicationResponse (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])?$";
garsLabels :: Lens' GetApplicationResponse [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+\-_:\/@]+$";
garsDescription :: Lens' GetApplicationResponse (Maybe Text) Source #
The description of the application. Min Length=1. Max Length=256
garsSpdxLicenseId :: Lens' GetApplicationResponse (Maybe Text) Source #
A valid identifier from https://spdx.org/licenses/.
garsResponseStatus :: Lens' GetApplicationResponse Int Source #
- - | The response status code.