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 |
Creates an application, optionally including an AWS SAM file to create the first application version in the same call.
- createApplication :: CreateApplication
- data CreateApplication
- caHomePageURL :: Lens' CreateApplication (Maybe Text)
- caReadmeBody :: Lens' CreateApplication (Maybe Text)
- caLicenseURL :: Lens' CreateApplication (Maybe Text)
- caSemanticVersion :: Lens' CreateApplication (Maybe Text)
- caSourceCodeURL :: Lens' CreateApplication (Maybe Text)
- caReadmeURL :: Lens' CreateApplication (Maybe Text)
- caName :: Lens' CreateApplication (Maybe Text)
- caAuthor :: Lens' CreateApplication (Maybe Text)
- caLabels :: Lens' CreateApplication [Text]
- caTemplateBody :: Lens' CreateApplication (Maybe Text)
- caTemplateURL :: Lens' CreateApplication (Maybe Text)
- caLicenseBody :: Lens' CreateApplication (Maybe Text)
- caDescription :: Lens' CreateApplication (Maybe Text)
- caSpdxLicenseId :: Lens' CreateApplication (Maybe Text)
- createApplicationResponse :: Int -> CreateApplicationResponse
- data CreateApplicationResponse
- carsCreationTime :: Lens' CreateApplicationResponse (Maybe Text)
- carsHomePageURL :: Lens' CreateApplicationResponse (Maybe Text)
- carsLicenseURL :: Lens' CreateApplicationResponse (Maybe Text)
- carsReadmeURL :: Lens' CreateApplicationResponse (Maybe Text)
- carsApplicationId :: Lens' CreateApplicationResponse (Maybe Text)
- carsName :: Lens' CreateApplicationResponse (Maybe Text)
- carsVersion :: Lens' CreateApplicationResponse (Maybe Version)
- carsAuthor :: Lens' CreateApplicationResponse (Maybe Text)
- carsLabels :: Lens' CreateApplicationResponse [Text]
- carsDescription :: Lens' CreateApplicationResponse (Maybe Text)
- carsSpdxLicenseId :: Lens' CreateApplicationResponse (Maybe Text)
- carsResponseStatus :: Lens' CreateApplicationResponse Int
Creating a Request
createApplication :: CreateApplication Source #
Creates a value of CreateApplication
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
caHomePageURL
- A URL with more information about the application, for example the location of your GitHub repository for the application.caReadmeBody
- A raw text Readme file that contains a more detailed description of the application and how it works in markdown language. Max size 5 MBcaLicenseURL
- A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MBcaSemanticVersion
- The semantic version of the application: https://semver.org/caSourceCodeURL
- A link to a public repository for the source code of your application.caReadmeURL
- 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 MBcaName
- The name of the application you want to publish. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";caAuthor
- The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";caLabels
- 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+\-_:\/@]+$";caTemplateBody
- The raw packaged AWS SAM template of your application.caTemplateURL
- A link to the packaged AWS SAM template of your application.caLicenseBody
- A raw text file that contains the license of the app that matches the spdxLicenseID of your application. Max size 5 MBcaDescription
- The description of the application. Min Length=1. Max Length=256caSpdxLicenseId
- A valid identifier from https://spdx.org/licenses/ .
data CreateApplication Source #
See: createApplication
smart constructor.
Request Lenses
caHomePageURL :: Lens' CreateApplication (Maybe Text) Source #
A URL with more information about the application, for example the location of your GitHub repository for the application.
caReadmeBody :: Lens' CreateApplication (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
caLicenseURL :: Lens' CreateApplication (Maybe Text) Source #
A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MB
caSemanticVersion :: Lens' CreateApplication (Maybe Text) Source #
The semantic version of the application: https://semver.org/
caSourceCodeURL :: Lens' CreateApplication (Maybe Text) Source #
A link to a public repository for the source code of your application.
caReadmeURL :: Lens' CreateApplication (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
caName :: Lens' CreateApplication (Maybe Text) Source #
The name of the application you want to publish. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";
caAuthor :: Lens' CreateApplication (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])?$";
caLabels :: Lens' CreateApplication [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+\-_:\/@]+$";
caTemplateBody :: Lens' CreateApplication (Maybe Text) Source #
The raw packaged AWS SAM template of your application.
caTemplateURL :: Lens' CreateApplication (Maybe Text) Source #
A link to the packaged AWS SAM template of your application.
caLicenseBody :: Lens' CreateApplication (Maybe Text) Source #
A raw text file that contains the license of the app that matches the spdxLicenseID of your application. Max size 5 MB
caDescription :: Lens' CreateApplication (Maybe Text) Source #
The description of the application. Min Length=1. Max Length=256
caSpdxLicenseId :: Lens' CreateApplication (Maybe Text) Source #
A valid identifier from https://spdx.org/licenses/ .
Destructuring the Response
createApplicationResponse Source #
Creates a value of CreateApplicationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
carsCreationTime
- The date/time this resource was created.carsHomePageURL
- A URL with more information about the application, for example the location of your GitHub repository for the application.carsLicenseURL
- A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MBcarsReadmeURL
- 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 MBcarsApplicationId
- The application Amazon Resource Name (ARN).carsName
- The name of the application. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";carsVersion
- Version information about the application.carsAuthor
- The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";carsLabels
- 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+\-_:\/@]+$";carsDescription
- The description of the application. Min Length=1. Max Length=256carsSpdxLicenseId
- A valid identifier from https://spdx.org/licenses/.carsResponseStatus
- -- | The response status code.
data CreateApplicationResponse Source #
See: createApplicationResponse
smart constructor.
Response Lenses
carsCreationTime :: Lens' CreateApplicationResponse (Maybe Text) Source #
The date/time this resource was created.
carsHomePageURL :: Lens' CreateApplicationResponse (Maybe Text) Source #
A URL with more information about the application, for example the location of your GitHub repository for the application.
carsLicenseURL :: Lens' CreateApplicationResponse (Maybe Text) Source #
A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MB
carsReadmeURL :: Lens' CreateApplicationResponse (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
carsApplicationId :: Lens' CreateApplicationResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
carsName :: Lens' CreateApplicationResponse (Maybe Text) Source #
The name of the application. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";
carsVersion :: Lens' CreateApplicationResponse (Maybe Version) Source #
Version information about the application.
carsAuthor :: Lens' CreateApplicationResponse (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])?$";
carsLabels :: Lens' CreateApplicationResponse [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+\-_:\/@]+$";
carsDescription :: Lens' CreateApplicationResponse (Maybe Text) Source #
The description of the application. Min Length=1. Max Length=256
carsSpdxLicenseId :: Lens' CreateApplicationResponse (Maybe Text) Source #
A valid identifier from https://spdx.org/licenses/.
carsResponseStatus :: Lens' CreateApplicationResponse Int Source #
- - | The response status code.