Copyright | (c) 2013-2021 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 |
Lists the deployment groups for an application registered with the IAM user or AWS 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' {
- nextToken :: Maybe Text
- applicationName :: Maybe Text
- deploymentGroups :: Maybe [Text]
- httpStatus :: Int
- newListDeploymentGroupsResponse :: Int -> ListDeploymentGroupsResponse
- listDeploymentGroupsResponse_nextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text)
- listDeploymentGroupsResponse_applicationName :: Lens' ListDeploymentGroupsResponse (Maybe Text)
- listDeploymentGroupsResponse_deploymentGroups :: 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.
ListDeploymentGroups' | |
|
Instances
newListDeploymentGroups Source #
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:
$sel:nextToken: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.
$sel:applicationName:ListDeploymentGroups'
, listDeploymentGroups_applicationName
- The name of an AWS CodeDeploy application associated with the IAM user
or AWS 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 AWS CodeDeploy application associated with the IAM user or AWS account.
Destructuring the Response
data ListDeploymentGroupsResponse Source #
Represents the output of a ListDeploymentGroups
operation.
See: newListDeploymentGroupsResponse
smart constructor.
ListDeploymentGroupsResponse' | |
|
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:
$sel:nextToken: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:applicationName:ListDeploymentGroups'
, listDeploymentGroupsResponse_applicationName
- The application name.
$sel:deploymentGroups:ListDeploymentGroupsResponse'
, listDeploymentGroupsResponse_deploymentGroups
- A list of deployment group names.
$sel:httpStatus:ListDeploymentGroupsResponse'
, listDeploymentGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
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_applicationName :: Lens' ListDeploymentGroupsResponse (Maybe Text) Source #
The application name.
listDeploymentGroupsResponse_deploymentGroups :: Lens' ListDeploymentGroupsResponse (Maybe [Text]) Source #
A list of deployment group names.
listDeploymentGroupsResponse_httpStatus :: Lens' ListDeploymentGroupsResponse Int Source #
The response's http status code.