| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CodeDeploy.ListDeploymentGroups
Description
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
This operation returns paginated results.
- 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
Arguments
| :: Text | |
| -> ListDeploymentGroups |
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:
ldgNextToken- An identifier returned from the previous list deployment groups call. It can be used to return the next set of deployment groups in the list.ldgApplicationName- The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
data ListDeploymentGroups Source #
Represents the input of a ListDeploymentGroups operation.
See: listDeploymentGroups smart constructor.
Instances
Request Lenses
ldgNextToken :: Lens' ListDeploymentGroups (Maybe Text) Source #
An identifier returned from the previous list deployment groups call. It can be used to return the next set of deployment groups in the list.
ldgApplicationName :: Lens' ListDeploymentGroups Text Source #
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
Destructuring the Response
listDeploymentGroupsResponse Source #
Arguments
| :: Int | |
| -> ListDeploymentGroupsResponse |
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:
ldgrsNextToken- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment groups call to return the next set of deployment groups in the list.ldgrsApplicationName- The application name.ldgrsDeploymentGroups- A list of corresponding deployment group names.ldgrsResponseStatus- -- | The response status code.
data ListDeploymentGroupsResponse Source #
Represents the output of a ListDeploymentGroups operation.
See: listDeploymentGroupsResponse smart constructor.
Instances
Response Lenses
ldgrsNextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text) Source #
If a large amount of information is returned, an identifier is also returned. It 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.