Skip to content

Commit

Permalink
Regenerating CodeDeploy from latest service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed May 4, 2016
1 parent 036c979 commit ef50a4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ldNextToken = lens _ldNextToken (\ s a -> s{_ldNextToken = a});
-- - In Progress: Include in-progress deployments in the resulting list.
-- - Succeeded: Include successful deployments in the resulting list.
-- - Failed: Include failed deployments in the resulting list.
-- - Aborted: Include aborted deployments in the resulting list.
-- - Stopped: Include stopped deployments in the resulting list.
ldIncludeOnlyStatuses :: Lens' ListDeployments [DeploymentStatus]
ldIncludeOnlyStatuses = lens _ldIncludeOnlyStatuses (\ s a -> s{_ldIncludeOnlyStatuses = a}) . _Default . _Coerce;

Expand Down
2 changes: 2 additions & 0 deletions amazonka-codedeploy/gen/Network/AWS/CodeDeploy/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ codeDeploy =
| has (hasCode "ThrottlingException" . hasStatus 400) e =
Just "throttling_exception"
| has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"
| has (hasStatus 504) e = Just "gateway_timeout"
| has (hasStatus 502) e = Just "bad_gateway"
| has (hasStatus 503) e = Just "service_unavailable"
| has (hasStatus 500) e = Just "general_server_error"
| has (hasStatus 509) e = Just "limit_exceeded"
Expand Down

0 comments on commit ef50a4c

Please sign in to comment.