| 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.ServerlessApplicationRepository.GetApplication
Description
Gets the specified application.
Synopsis
- data GetApplication = GetApplication' {}
- newGetApplication :: Text -> GetApplication
- getApplication_semanticVersion :: Lens' GetApplication (Maybe Text)
- getApplication_applicationId :: Lens' GetApplication Text
- data GetApplicationResponse = GetApplicationResponse' {
- applicationId :: Maybe Text
- author :: Maybe Text
- creationTime :: Maybe Text
- description :: Maybe Text
- homePageUrl :: Maybe Text
- isVerifiedAuthor :: Maybe Bool
- labels :: Maybe [Text]
- licenseUrl :: Maybe Text
- name :: Maybe Text
- readmeUrl :: Maybe Text
- spdxLicenseId :: Maybe Text
- verifiedAuthorUrl :: Maybe Text
- version :: Maybe Version
- httpStatus :: Int
- newGetApplicationResponse :: Int -> GetApplicationResponse
- getApplicationResponse_applicationId :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_author :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_creationTime :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_description :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_homePageUrl :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_isVerifiedAuthor :: Lens' GetApplicationResponse (Maybe Bool)
- getApplicationResponse_labels :: Lens' GetApplicationResponse (Maybe [Text])
- getApplicationResponse_licenseUrl :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_name :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_readmeUrl :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_spdxLicenseId :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_verifiedAuthorUrl :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_version :: Lens' GetApplicationResponse (Maybe Version)
- getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int
Creating a Request
data GetApplication Source #
See: newGetApplication smart constructor.
Constructors
| GetApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetApplication |
Create a value of GetApplication 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:
GetApplication, getApplication_semanticVersion - The semantic version of the application to get.
GetApplication, getApplication_applicationId - The Amazon Resource Name (ARN) of the application.
Request Lenses
getApplication_semanticVersion :: Lens' GetApplication (Maybe Text) Source #
The semantic version of the application to get.
getApplication_applicationId :: Lens' GetApplication Text Source #
The Amazon Resource Name (ARN) of the application.
Destructuring the Response
data GetApplicationResponse Source #
See: newGetApplicationResponse smart constructor.
Constructors
| GetApplicationResponse' | |
Fields
| |
Instances
newGetApplicationResponse Source #
Create a value of GetApplicationResponse 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:
GetApplication, getApplicationResponse_applicationId - The application Amazon Resource Name (ARN).
GetApplicationResponse, getApplicationResponse_author - The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
GetApplicationResponse, getApplicationResponse_creationTime - The date and time this resource was created.
GetApplicationResponse, getApplicationResponse_description - The description of the application.
Minimum length=1. Maximum length=256
GetApplicationResponse, getApplicationResponse_homePageUrl - A URL with more information about the application, for example the
location of your GitHub repository for the application.
$sel:isVerifiedAuthor:GetApplicationResponse', getApplicationResponse_isVerifiedAuthor - Whether the author of this application has been verified. This means
means that AWS has made a good faith review, as a reasonable and prudent
service provider, of the information provided by the requester and has
confirmed that the requester's identity is as claimed.
GetApplicationResponse, getApplicationResponse_labels - Labels to improve discovery of apps in search results.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
$sel:licenseUrl:GetApplicationResponse', getApplicationResponse_licenseUrl - A link to a license file of the app that matches the spdxLicenseID value
of your application.
Maximum size 5 MB
GetApplicationResponse, getApplicationResponse_name - The name of the application.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
$sel:readmeUrl:GetApplicationResponse', getApplicationResponse_readmeUrl - A link to the readme file in Markdown language that contains a more
detailed description of the application and how it works.
Maximum size 5 MB
GetApplicationResponse, getApplicationResponse_spdxLicenseId - A valid identifier from https://spdx.org/licenses/.
$sel:verifiedAuthorUrl:GetApplicationResponse', getApplicationResponse_verifiedAuthorUrl - The URL to the public profile of a verified author. This URL is
submitted by the author.
$sel:version:GetApplicationResponse', getApplicationResponse_version - Version information about the application.
$sel:httpStatus:GetApplicationResponse', getApplicationResponse_httpStatus - The response's http status code.
Response Lenses
getApplicationResponse_applicationId :: Lens' GetApplicationResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
getApplicationResponse_author :: Lens' GetApplicationResponse (Maybe Text) Source #
The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
getApplicationResponse_creationTime :: Lens' GetApplicationResponse (Maybe Text) Source #
The date and time this resource was created.
getApplicationResponse_description :: Lens' GetApplicationResponse (Maybe Text) Source #
The description of the application.
Minimum length=1. Maximum length=256
getApplicationResponse_homePageUrl :: Lens' GetApplicationResponse (Maybe Text) Source #
A URL with more information about the application, for example the location of your GitHub repository for the application.
getApplicationResponse_isVerifiedAuthor :: Lens' GetApplicationResponse (Maybe Bool) Source #
Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.
getApplicationResponse_labels :: Lens' GetApplicationResponse (Maybe [Text]) Source #
Labels to improve discovery of apps in search results.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
getApplicationResponse_licenseUrl :: Lens' GetApplicationResponse (Maybe Text) Source #
A link to a license file of the app that matches the spdxLicenseID value of your application.
Maximum size 5 MB
getApplicationResponse_name :: Lens' GetApplicationResponse (Maybe Text) Source #
The name of the application.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
getApplicationResponse_readmeUrl :: Lens' GetApplicationResponse (Maybe Text) Source #
A link to the readme file in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
getApplicationResponse_spdxLicenseId :: Lens' GetApplicationResponse (Maybe Text) Source #
A valid identifier from https://spdx.org/licenses/.
getApplicationResponse_verifiedAuthorUrl :: Lens' GetApplicationResponse (Maybe Text) Source #
The URL to the public profile of a verified author. This URL is submitted by the author.
getApplicationResponse_version :: Lens' GetApplicationResponse (Maybe Version) Source #
Version information about the application.
getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int Source #
The response's http status code.