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.
Synopsis
- 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
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 (Lambda
orServer
).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 #
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.
Instances
Response Lenses
carsApplicationId :: Lens' CreateApplicationResponse (Maybe Text) Source #
A unique application ID.
carsResponseStatus :: Lens' CreateApplicationResponse Int Source #
- - | The response status code.