Copyright | (c) 2013-2015 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 |
Creates a new application.
See: AWS API Reference for CreateApplication.
- createApplication :: Text -> CreateApplication
- data CreateApplication
- caApplicationName :: Lens' CreateApplication Text
- createApplicationResponse :: Int -> CreateApplicationResponse
- data CreateApplicationResponse
- carsApplicationId :: Lens' CreateApplicationResponse (Maybe Text)
- carsStatus :: 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:
data CreateApplication Source
Represents the input of a create application operation.
See: createApplication
smart constructor.
Request Lenses
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:
data CreateApplicationResponse Source
Represents the output of a create application operation.
See: createApplicationResponse
smart constructor.
Response Lenses
carsApplicationId :: Lens' CreateApplicationResponse (Maybe Text) Source
A unique application ID.
carsStatus :: Lens' CreateApplicationResponse Int Source
The response status code.