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 resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Inspector application. The created resource group is then used to create an Inspector application.
See: AWS API Reference for CreateResourceGroup.
- createResourceGroup :: CreateResourceGroup
- data CreateResourceGroup
- crgResourceGroupTags :: Lens' CreateResourceGroup (Maybe Text)
- createResourceGroupResponse :: Int -> CreateResourceGroupResponse
- data CreateResourceGroupResponse
- crgrsResourceGroupARN :: Lens' CreateResourceGroupResponse (Maybe Text)
- crgrsResponseStatus :: Lens' CreateResourceGroupResponse Int
Creating a Request
createResourceGroup :: CreateResourceGroup Source
Creates a value of CreateResourceGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateResourceGroup Source
See: createResourceGroup
smart constructor.
Request Lenses
crgResourceGroupTags :: Lens' CreateResourceGroup (Maybe Text) Source
A collection of keys and an array of possible values in JSON format.
For example, [{ "key1" : ["Value1","Value2"]},{"Key2": ["Value3"]}]
Destructuring the Response
createResourceGroupResponse Source
Creates a value of CreateResourceGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateResourceGroupResponse Source
See: createResourceGroupResponse
smart constructor.
Response Lenses
crgrsResourceGroupARN :: Lens' CreateResourceGroupResponse (Maybe Text) Source
The ARN specifying the resource group that is created.
crgrsResponseStatus :: Lens' CreateResourceGroupResponse Int Source
The response status code.