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 |
Previews the agents installed on the EC2 instances that are included in the application created with the specified resource group.
See: AWS API Reference for PreviewAgentsForResourceGroup.
- previewAgentsForResourceGroup :: PreviewAgentsForResourceGroup
- data PreviewAgentsForResourceGroup
- pafrgResourceGroupARN :: Lens' PreviewAgentsForResourceGroup (Maybe Text)
- pafrgNextToken :: Lens' PreviewAgentsForResourceGroup (Maybe Text)
- pafrgMaxResults :: Lens' PreviewAgentsForResourceGroup (Maybe Int)
- previewAgentsForResourceGroupResponse :: Int -> PreviewAgentsForResourceGroupResponse
- data PreviewAgentsForResourceGroupResponse
- pafrgrsAgentPreviewList :: Lens' PreviewAgentsForResourceGroupResponse [AgentPreview]
- pafrgrsNextToken :: Lens' PreviewAgentsForResourceGroupResponse (Maybe Text)
- pafrgrsResponseStatus :: Lens' PreviewAgentsForResourceGroupResponse Int
Creating a Request
previewAgentsForResourceGroup :: PreviewAgentsForResourceGroup Source
Creates a value of PreviewAgentsForResourceGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PreviewAgentsForResourceGroup Source
See: previewAgentsForResourceGroup
smart constructor.
Request Lenses
pafrgResourceGroupARN :: Lens' PreviewAgentsForResourceGroup (Maybe Text) Source
The ARN of the resource group that is used to create an application.
pafrgNextToken :: Lens' PreviewAgentsForResourceGroup (Maybe Text) Source
You can use this parameter when paginating results. Set the value of this parameter to 'null' on your first call to the PreviewAgentsForResourceGroup action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from previous response to continue listing data.
pafrgMaxResults :: Lens' PreviewAgentsForResourceGroup (Maybe Int) Source
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
Destructuring the Response
previewAgentsForResourceGroupResponse Source
Creates a value of PreviewAgentsForResourceGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PreviewAgentsForResourceGroupResponse Source
See: previewAgentsForResourceGroupResponse
smart constructor.
Response Lenses
pafrgrsAgentPreviewList :: Lens' PreviewAgentsForResourceGroupResponse [AgentPreview] Source
The resulting list of agents.
pafrgrsNextToken :: Lens' PreviewAgentsForResourceGroupResponse (Maybe Text) Source
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to 'null'.
pafrgrsResponseStatus :: Lens' PreviewAgentsForResourceGroupResponse Int Source
The response status code.