Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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
- 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:
caApplicationName
- The name of the application. This name must be unique with the applicable IAM user or AWS account.
data CreateApplication #
Represents the input of a create application operation.
See: createApplication
smart constructor.
Instances
Request Lenses
caApplicationName :: Lens' CreateApplication Text #
The name of the application. This name must be unique with the applicable IAM user or AWS account.
Destructuring the Response
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 #
Represents the output of a create application operation.
See: createApplicationResponse
smart constructor.
Response Lenses
carsApplicationId :: Lens' CreateApplicationResponse (Maybe Text) #
A unique application ID.
carsResponseStatus :: Lens' CreateApplicationResponse Int #
- - | The response status code.