Skip to content

Commit d487e9b

Browse files
update generated code (#636)
1 parent 14a421c commit d487e9b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/CodeDeployClient.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@
1212
class CodeDeployClient extends AbstractApi
1313
{
1414
/**
15-
* Sets the result of a Lambda validation function. The function validates one or both lifecycle events
16-
* (`BeforeAllowTraffic` and `AfterAllowTraffic`) and returns `Succeeded` or `Failed`.
15+
* Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses
16+
* the AWS Lambda or Amazon ECS compute platform. For AWS Lambda deployments, the available lifecycle hooks are
17+
* `BeforeAllowTraffic` and `AfterAllowTraffic`. For Amazon ECS deployments, the available lifecycle hooks are
18+
* `BeforeInstall`, `AfterInstall`, `AfterAllowTestTraffic`, `BeforeAllowTraffic`, and `AfterAllowTraffic`. Lambda
19+
* validation functions return `Succeeded` or `Failed`. For more information, see AppSpec 'hooks' Section for an AWS
20+
* Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.
1721
*
22+
* @see https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda
23+
* @see https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs
1824
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-codedeploy-2014-10-06.html#putlifecycleeventhookexecutionstatus
1925
*
2026
* @param array{

0 commit comments

Comments
 (0)