| 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.CreateApplicationVersion
Description
Creates an application version.
Synopsis
- createApplicationVersion :: Text -> Text -> CreateApplicationVersion
- data CreateApplicationVersion
- cavSourceCodeURL :: Lens' CreateApplicationVersion (Maybe Text)
- cavTemplateBody :: Lens' CreateApplicationVersion (Maybe Text)
- cavTemplateURL :: Lens' CreateApplicationVersion (Maybe Text)
- cavApplicationId :: Lens' CreateApplicationVersion Text
- cavSemanticVersion :: Lens' CreateApplicationVersion Text
- createApplicationVersionResponse :: Int -> CreateApplicationVersionResponse
- data CreateApplicationVersionResponse
- cavrsCreationTime :: Lens' CreateApplicationVersionResponse (Maybe Text)
- cavrsParameterDefinitions :: Lens' CreateApplicationVersionResponse [ParameterDefinition]
- cavrsSemanticVersion :: Lens' CreateApplicationVersionResponse (Maybe Text)
- cavrsSourceCodeURL :: Lens' CreateApplicationVersionResponse (Maybe Text)
- cavrsApplicationId :: Lens' CreateApplicationVersionResponse (Maybe Text)
- cavrsTemplateURL :: Lens' CreateApplicationVersionResponse (Maybe Text)
- cavrsResponseStatus :: Lens' CreateApplicationVersionResponse Int
Creating a Request
createApplicationVersion Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreateApplicationVersion |
Creates a value of CreateApplicationVersion with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cavSourceCodeURL- A link to a public repository for the source code of your application.cavTemplateBody- The raw packaged AWS SAM template of your application.cavTemplateURL- A link to the packaged AWS SAM template of your application.cavApplicationId- The ID of the application to get.cavSemanticVersion- The semantic version of the new version.
data CreateApplicationVersion Source #
See: createApplicationVersion smart constructor.
Instances
Request Lenses
cavSourceCodeURL :: Lens' CreateApplicationVersion (Maybe Text) Source #
A link to a public repository for the source code of your application.
cavTemplateBody :: Lens' CreateApplicationVersion (Maybe Text) Source #
The raw packaged AWS SAM template of your application.
cavTemplateURL :: Lens' CreateApplicationVersion (Maybe Text) Source #
A link to the packaged AWS SAM template of your application.
cavApplicationId :: Lens' CreateApplicationVersion Text Source #
The ID of the application to get.
cavSemanticVersion :: Lens' CreateApplicationVersion Text Source #
The semantic version of the new version.
Destructuring the Response
createApplicationVersionResponse Source #
Arguments
| :: Int | |
| -> CreateApplicationVersionResponse |
Creates a value of CreateApplicationVersionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cavrsCreationTime- The date/time this resource was created.cavrsParameterDefinitions- Array of parameter types supported by the application.cavrsSemanticVersion- The semantic version of the application: https://semver.org/cavrsSourceCodeURL- A link to a public repository for the source code of your application.cavrsApplicationId- The application Amazon Resource Name (ARN).cavrsTemplateURL- A link to the packaged AWS SAM template of your application.cavrsResponseStatus- -- | The response status code.
data CreateApplicationVersionResponse Source #
See: createApplicationVersionResponse smart constructor.
Instances
Response Lenses
cavrsCreationTime :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #
The date/time this resource was created.
cavrsParameterDefinitions :: Lens' CreateApplicationVersionResponse [ParameterDefinition] Source #
Array of parameter types supported by the application.
cavrsSemanticVersion :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #
The semantic version of the application: https://semver.org/
cavrsSourceCodeURL :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #
A link to a public repository for the source code of your application.
cavrsApplicationId :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
cavrsTemplateURL :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #
A link to the packaged AWS SAM template of your application.
cavrsResponseStatus :: Lens' CreateApplicationVersionResponse Int Source #
- - | The response status code.