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 |
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' {
- creationTime :: Maybe Text
- homePageUrl :: Maybe Text
- licenseUrl :: Maybe Text
- readmeUrl :: Maybe Text
- applicationId :: Maybe Text
- name :: Maybe Text
- version :: Maybe Version
- author :: Maybe Text
- labels :: Maybe [Text]
- verifiedAuthorUrl :: Maybe Text
- description :: Maybe Text
- spdxLicenseId :: Maybe Text
- isVerifiedAuthor :: Maybe Bool
- httpStatus :: Int
- newGetApplicationResponse :: Int -> GetApplicationResponse
- getApplicationResponse_creationTime :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_homePageUrl :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_licenseUrl :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_readmeUrl :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_applicationId :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_name :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_version :: Lens' GetApplicationResponse (Maybe Version)
- getApplicationResponse_author :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_labels :: Lens' GetApplicationResponse (Maybe [Text])
- getApplicationResponse_verifiedAuthorUrl :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_description :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_spdxLicenseId :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_isVerifiedAuthor :: Lens' GetApplicationResponse (Maybe Bool)
- getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int
Creating a Request
data GetApplication Source #
See: newGetApplication
smart constructor.
GetApplication' | |
|
Instances
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:
$sel:semanticVersion:GetApplication'
, getApplication_semanticVersion
- The semantic version of the application to get.
$sel:applicationId: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.
GetApplicationResponse' | |
|
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:
$sel:creationTime:GetApplicationResponse'
, getApplicationResponse_creationTime
- The date and time this resource was created.
$sel:homePageUrl:GetApplicationResponse'
, getApplicationResponse_homePageUrl
- A URL with more information about the application, for example the
location of your GitHub repository for the application.
$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
$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
$sel:applicationId:GetApplication'
, getApplicationResponse_applicationId
- The application Amazon Resource Name (ARN).
$sel:name:GetApplicationResponse'
, getApplicationResponse_name
- The name of the application.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
$sel:version:GetApplicationResponse'
, getApplicationResponse_version
- Version information about the application.
$sel:author: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])?$";
$sel:labels: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:verifiedAuthorUrl:GetApplicationResponse'
, getApplicationResponse_verifiedAuthorUrl
- The URL to the public profile of a verified author. This URL is
submitted by the author.
$sel:description:GetApplicationResponse'
, getApplicationResponse_description
- The description of the application.
Minimum length=1. Maximum length=256
$sel:spdxLicenseId:GetApplicationResponse'
, getApplicationResponse_spdxLicenseId
- A valid identifier from https://spdx.org/licenses/.
$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.
$sel:httpStatus:GetApplicationResponse'
, getApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
getApplicationResponse_creationTime :: Lens' GetApplicationResponse (Maybe Text) Source #
The date and time this resource was created.
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_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_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_applicationId :: Lens' GetApplicationResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
getApplicationResponse_name :: Lens' GetApplicationResponse (Maybe Text) Source #
The name of the application.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
getApplicationResponse_version :: Lens' GetApplicationResponse (Maybe Version) Source #
Version information about the application.
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_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_verifiedAuthorUrl :: Lens' GetApplicationResponse (Maybe Text) Source #
The URL to the public profile of a verified author. This URL is submitted by the author.
getApplicationResponse_description :: Lens' GetApplicationResponse (Maybe Text) Source #
The description of the application.
Minimum length=1. Maximum length=256
getApplicationResponse_spdxLicenseId :: Lens' GetApplicationResponse (Maybe Text) Source #
A valid identifier from https://spdx.org/licenses/.
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_httpStatus :: Lens' GetApplicationResponse Int Source #
The response's http status code.