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 |
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
See: AWS API Reference for ListDeploymentGroups.
- listDeploymentGroups :: Text -> ListDeploymentGroups
- data ListDeploymentGroups
- ldgNextToken :: Lens' ListDeploymentGroups (Maybe Text)
- ldgApplicationName :: Lens' ListDeploymentGroups Text
- listDeploymentGroupsResponse :: Int -> ListDeploymentGroupsResponse
- data ListDeploymentGroupsResponse
- ldgrsNextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text)
- ldgrsApplicationName :: Lens' ListDeploymentGroupsResponse (Maybe Text)
- ldgrsDeploymentGroups :: Lens' ListDeploymentGroupsResponse [Text]
- ldgrsResponseStatus :: Lens' ListDeploymentGroupsResponse Int
Creating a Request
Creates a value of ListDeploymentGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDeploymentGroups Source
Represents the input of a list deployment groups operation.
See: listDeploymentGroups
smart constructor.
Request Lenses
ldgNextToken :: Lens' ListDeploymentGroups (Maybe Text) Source
An identifier that was returned from the previous list deployment groups call, which can be used to return the next set of deployment groups in the list.
ldgApplicationName :: Lens' ListDeploymentGroups Text Source
The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.
Destructuring the Response
listDeploymentGroupsResponse Source
Creates a value of ListDeploymentGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDeploymentGroupsResponse Source
Represents the output of a list deployment groups operation.
See: listDeploymentGroupsResponse
smart constructor.
Response Lenses
ldgrsNextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text) Source
If the amount of information that is returned is significantly large, an identifier will also be returned, which can be used in a subsequent list deployment groups call to return the next set of deployment groups in the list.
ldgrsApplicationName :: Lens' ListDeploymentGroupsResponse (Maybe Text) Source
The application name.
ldgrsDeploymentGroups :: Lens' ListDeploymentGroupsResponse [Text] Source
A list of corresponding deployment group names.
ldgrsResponseStatus :: Lens' ListDeploymentGroupsResponse Int Source
The response status code.