Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"${LATEST}": "3.356.10"
"${LATEST}": "3.356.12"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
4 changes: 4 additions & 0 deletions src/Service/CloudFormation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Added

- AWS api-change: ListHookResults API now supports retrieving invocation results for all CloudFormation Hooks (previously limited to create change set and Cloud Control operations) with new optional parameters for filtering by Hook status and ARN.

## 1.9.1

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFormation/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
"dev-master": "1.10-dev"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ private function populateResultStackEvent(\SimpleXMLElement $xml): StackEvent
'HookStatus' => (null !== $v = $xml->HookStatus[0]) ? (string) $v : null,
'HookStatusReason' => (null !== $v = $xml->HookStatusReason[0]) ? (string) $v : null,
'HookInvocationPoint' => (null !== $v = $xml->HookInvocationPoint[0]) ? (string) $v : null,
'HookInvocationId' => (null !== $v = $xml->HookInvocationId[0]) ? (string) $v : null,
'HookFailureMode' => (null !== $v = $xml->HookFailureMode[0]) ? (string) $v : null,
'DetailedStatus' => (null !== $v = $xml->DetailedStatus[0]) ? (string) $v : null,
]);
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFormation/src/ValueObject/Stack.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ final class Stack

/**
* The detailed status of the resource or stack. If `CONFIGURATION_COMPLETE` is present, the resource or resource
* configuration phase has completed and the stabilization of the resources is in progress. The stack sets
* configuration phase has completed and the stabilization of the resources is in progress. The StackSets
* `CONFIGURATION_COMPLETE` when all of the resources in the stack have reached that event. For more information, see
* Understand CloudFormation stack creation events [^1] in the *CloudFormation User Guide*.
*
Expand Down
27 changes: 21 additions & 6 deletions src/Service/CloudFormation/src/ValueObject/StackEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class StackEvent
private $stackId;

/**
* The unique ID of this event.
* The unique identifier of this event.
*
* @var string
*/
Expand Down Expand Up @@ -104,35 +104,42 @@ final class StackEvent
private $clientRequestToken;

/**
* The name of the hook.
* The name of the Hook.
*
* @var string|null
*/
private $hookType;

/**
* Provides the status of the change set hook.
* Provides the status of the change set Hook.
*
* @var HookStatus::*|null
*/
private $hookStatus;

/**
* Provides the reason for the hook status.
* Provides the reason for the Hook status.
*
* @var string|null
*/
private $hookStatusReason;

/**
* Invocation points are points in provisioning logic where Hooks are initiated.
* The specific point in the provisioning process where the Hook is invoked.
*
* @var HookInvocationPoint::*|null
*/
private $hookInvocationPoint;

/**
* Specify the hook failure mode for non-compliant resources in the followings ways.
* The unique identifier of the Hook invocation.
*
* @var string|null
*/
private $hookInvocationId;

/**
* Specify the Hook failure mode for non-compliant resources in the followings ways.
*
* - `FAIL` Stops provisioning resources.
* - `WARN` Allows provisioning to continue with a warning message.
Expand Down Expand Up @@ -173,6 +180,7 @@ final class StackEvent
* HookStatus?: null|HookStatus::*,
* HookStatusReason?: null|string,
* HookInvocationPoint?: null|HookInvocationPoint::*,
* HookInvocationId?: null|string,
* HookFailureMode?: null|HookFailureMode::*,
* DetailedStatus?: null|DetailedStatus::*,
* } $input
Expand All @@ -194,6 +202,7 @@ public function __construct(array $input)
$this->hookStatus = $input['HookStatus'] ?? null;
$this->hookStatusReason = $input['HookStatusReason'] ?? null;
$this->hookInvocationPoint = $input['HookInvocationPoint'] ?? null;
$this->hookInvocationId = $input['HookInvocationId'] ?? null;
$this->hookFailureMode = $input['HookFailureMode'] ?? null;
$this->detailedStatus = $input['DetailedStatus'] ?? null;
}
Expand All @@ -215,6 +224,7 @@ public function __construct(array $input)
* HookStatus?: null|HookStatus::*,
* HookStatusReason?: null|string,
* HookInvocationPoint?: null|HookInvocationPoint::*,
* HookInvocationId?: null|string,
* HookFailureMode?: null|HookFailureMode::*,
* DetailedStatus?: null|DetailedStatus::*,
* }|StackEvent $input
Expand Down Expand Up @@ -250,6 +260,11 @@ public function getHookFailureMode(): ?string
return $this->hookFailureMode;
}

public function getHookInvocationId(): ?string
{
return $this->hookInvocationId;
}

/**
* @return HookInvocationPoint::*|null
*/
Expand Down
Loading