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 |
Returns an array of target IDs that are associated a deployment.
This operation returns paginated results.
Synopsis
- data ListDeploymentTargets = ListDeploymentTargets' {
- deploymentId :: Maybe Text
- targetFilters :: Maybe (HashMap TargetFilterName [Text])
- nextToken :: Maybe Text
- newListDeploymentTargets :: ListDeploymentTargets
- listDeploymentTargets_deploymentId :: Lens' ListDeploymentTargets (Maybe Text)
- listDeploymentTargets_targetFilters :: Lens' ListDeploymentTargets (Maybe (HashMap TargetFilterName [Text]))
- listDeploymentTargets_nextToken :: Lens' ListDeploymentTargets (Maybe Text)
- data ListDeploymentTargetsResponse = ListDeploymentTargetsResponse' {}
- newListDeploymentTargetsResponse :: Int -> ListDeploymentTargetsResponse
- listDeploymentTargetsResponse_nextToken :: Lens' ListDeploymentTargetsResponse (Maybe Text)
- listDeploymentTargetsResponse_targetIds :: Lens' ListDeploymentTargetsResponse (Maybe [Text])
- listDeploymentTargetsResponse_httpStatus :: Lens' ListDeploymentTargetsResponse Int
Creating a Request
data ListDeploymentTargets Source #
See: newListDeploymentTargets
smart constructor.
ListDeploymentTargets' | |
|
Instances
newListDeploymentTargets :: ListDeploymentTargets Source #
Create a value of ListDeploymentTargets
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:deploymentId:ListDeploymentTargets'
, listDeploymentTargets_deploymentId
- The unique ID of a deployment.
$sel:targetFilters:ListDeploymentTargets'
, listDeploymentTargets_targetFilters
- A key used to filter the returned targets. The two valid values are:
TargetStatus
- ATargetStatus
filter string can beFailed
,InProgress
,Pending
,Ready
,Skipped
,Succeeded
, orUnknown
.ServerInstanceLabel
- AServerInstanceLabel
filter string can beBlue
orGreen
.
$sel:nextToken:ListDeploymentTargets'
, listDeploymentTargets_nextToken
- A token identifier returned from the previous ListDeploymentTargets
call. It can be used to return the next set of deployment targets in the
list.
Request Lenses
listDeploymentTargets_deploymentId :: Lens' ListDeploymentTargets (Maybe Text) Source #
The unique ID of a deployment.
listDeploymentTargets_targetFilters :: Lens' ListDeploymentTargets (Maybe (HashMap TargetFilterName [Text])) Source #
A key used to filter the returned targets. The two valid values are:
TargetStatus
- ATargetStatus
filter string can beFailed
,InProgress
,Pending
,Ready
,Skipped
,Succeeded
, orUnknown
.ServerInstanceLabel
- AServerInstanceLabel
filter string can beBlue
orGreen
.
listDeploymentTargets_nextToken :: Lens' ListDeploymentTargets (Maybe Text) Source #
A token identifier returned from the previous ListDeploymentTargets
call. It can be used to return the next set of deployment targets in the
list.
Destructuring the Response
data ListDeploymentTargetsResponse Source #
See: newListDeploymentTargetsResponse
smart constructor.
ListDeploymentTargetsResponse' | |
|
Instances
newListDeploymentTargetsResponse Source #
Create a value of ListDeploymentTargetsResponse
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:ListDeploymentTargets'
, listDeploymentTargetsResponse_nextToken
- If a large amount of information is returned, a token identifier is also
returned. It can be used in a subsequent ListDeploymentTargets
call to
return the next set of deployment targets in the list.
$sel:targetIds:ListDeploymentTargetsResponse'
, listDeploymentTargetsResponse_targetIds
- The unique IDs of deployment targets.
$sel:httpStatus:ListDeploymentTargetsResponse'
, listDeploymentTargetsResponse_httpStatus
- The response's http status code.
Response Lenses
listDeploymentTargetsResponse_nextToken :: Lens' ListDeploymentTargetsResponse (Maybe Text) Source #
If a large amount of information is returned, a token identifier is also
returned. It can be used in a subsequent ListDeploymentTargets
call to
return the next set of deployment targets in the list.
listDeploymentTargetsResponse_targetIds :: Lens' ListDeploymentTargetsResponse (Maybe [Text]) Source #
The unique IDs of deployment targets.
listDeploymentTargetsResponse_httpStatus :: Lens' ListDeploymentTargetsResponse Int Source #
The response's http status code.