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 |
Creates a new application using the resource group ARN generated by CreateResourceGroup. You can create up to 50 applications per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Inspector Applications.
- createApplication :: Text -> Text -> CreateApplication
- data CreateApplication
- caApplicationName :: Lens' CreateApplication Text
- caResourceGroupARN :: Lens' CreateApplication Text
- createApplicationResponse :: Int -> CreateApplicationResponse
- data CreateApplicationResponse
- carsApplicationARN :: 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:
data CreateApplication Source
See: createApplication
smart constructor.
Request Lenses
caApplicationName :: Lens' CreateApplication Text Source
The user-defined name identifying the application that you want to create. The name must be unique within the AWS account.
caResourceGroupARN :: Lens' CreateApplication Text Source
The ARN specifying the resource group that is used to create the application.
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
See: createApplicationResponse
smart constructor.
Response Lenses
carsApplicationARN :: Lens' CreateApplicationResponse (Maybe Text) Source
The ARN specifying the application that is created.
carsResponseStatus :: Lens' CreateApplicationResponse Int Source
The response status code.