| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.ListDeploymentGroups
Description
Lists the deployment groups for an application registered with the IAM user or Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListDeploymentGroups = ListDeploymentGroups' {}
- newListDeploymentGroups :: Text -> ListDeploymentGroups
- listDeploymentGroups_nextToken :: Lens' ListDeploymentGroups (Maybe Text)
- listDeploymentGroups_applicationName :: Lens' ListDeploymentGroups Text
- data ListDeploymentGroupsResponse = ListDeploymentGroupsResponse' {
- applicationName :: Maybe Text
- deploymentGroups :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDeploymentGroupsResponse :: Int -> ListDeploymentGroupsResponse
- listDeploymentGroupsResponse_applicationName :: Lens' ListDeploymentGroupsResponse (Maybe Text)
- listDeploymentGroupsResponse_deploymentGroups :: Lens' ListDeploymentGroupsResponse (Maybe [Text])
- listDeploymentGroupsResponse_nextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text)
- listDeploymentGroupsResponse_httpStatus :: Lens' ListDeploymentGroupsResponse Int
Creating a Request
data ListDeploymentGroups Source #
Represents the input of a ListDeploymentGroups operation.
See: newListDeploymentGroups smart constructor.
Constructors
| ListDeploymentGroups' | |
Fields
| |
Instances
newListDeploymentGroups Source #
Arguments
| :: Text | |
| -> ListDeploymentGroups |
Create a value of ListDeploymentGroups with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListDeploymentGroups, listDeploymentGroups_nextToken - 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.
ListDeploymentGroups, listDeploymentGroups_applicationName - The name of an CodeDeploy application associated with the IAM user or
Amazon Web Services account.
Request Lenses
listDeploymentGroups_nextToken :: 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.
listDeploymentGroups_applicationName :: Lens' ListDeploymentGroups Text Source #
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
Destructuring the Response
data ListDeploymentGroupsResponse Source #
Represents the output of a ListDeploymentGroups operation.
See: newListDeploymentGroupsResponse smart constructor.
Constructors
| ListDeploymentGroupsResponse' | |
Fields
| |
Instances
newListDeploymentGroupsResponse Source #
Create a value of ListDeploymentGroupsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListDeploymentGroups, listDeploymentGroupsResponse_applicationName - The application name.
ListDeploymentGroupsResponse, listDeploymentGroupsResponse_deploymentGroups - A list of deployment group names.
ListDeploymentGroups, listDeploymentGroupsResponse_nextToken - 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.
$sel:httpStatus:ListDeploymentGroupsResponse', listDeploymentGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listDeploymentGroupsResponse_applicationName :: Lens' ListDeploymentGroupsResponse (Maybe Text) Source #
The application name.
listDeploymentGroupsResponse_deploymentGroups :: Lens' ListDeploymentGroupsResponse (Maybe [Text]) Source #
A list of deployment group names.
listDeploymentGroupsResponse_nextToken :: 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.
listDeploymentGroupsResponse_httpStatus :: Lens' ListDeploymentGroupsResponse Int Source #
The response's http status code.