| 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.CodeDeploy.CreateApplication
Description
Creates an application.
- createApplication :: Text -> CreateApplication
- data CreateApplication
- caComputePlatform :: Lens' CreateApplication (Maybe ComputePlatform)
- caApplicationName :: Lens' CreateApplication Text
- createApplicationResponse :: Int -> CreateApplicationResponse
- data CreateApplicationResponse
- carsApplicationId :: Lens' CreateApplicationResponse (Maybe Text)
- carsResponseStatus :: Lens' CreateApplicationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> CreateApplication |
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:
caComputePlatform- The destination platform type for the deployment (LambdaorServer).caApplicationName- The name of the application. This name must be unique with the applicable IAM user or AWS account.
data CreateApplication Source #
Represents the input of a CreateApplication operation.
See: createApplication smart constructor.
Instances
Request Lenses
caComputePlatform :: Lens' CreateApplication (Maybe ComputePlatform) Source #
The destination platform type for the deployment (Lambda or Server ).
caApplicationName :: Lens' CreateApplication Text Source #
The name of the application. This name must be unique with the applicable IAM user or AWS account.
Destructuring the Response
createApplicationResponse Source #
Arguments
| :: Int | |
| -> CreateApplicationResponse |
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:
carsApplicationId- A unique application ID.carsResponseStatus- -- | The response status code.
data CreateApplicationResponse Source #
Represents the output of a CreateApplication operation.
See: createApplicationResponse smart constructor.
Response Lenses
carsApplicationId :: Lens' CreateApplicationResponse (Maybe Text) Source #
A unique application ID.
carsResponseStatus :: Lens' CreateApplicationResponse Int Source #
- - | The response status code.