Skip to content

Commit 01dc413

Browse files
Update generated code (#1940)
update generated code
1 parent 87fd89e commit 01dc413

File tree

6 files changed

+29
-9
lines changed

6 files changed

+29
-9
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.356.10"
3+
"${LATEST}": "3.356.12"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/CloudFormation/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- 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.
8+
59
## 1.9.1
610

711
### Changed

src/Service/CloudFormation/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"extra": {
3030
"branch-alias": {
31-
"dev-master": "1.9-dev"
31+
"dev-master": "1.10-dev"
3232
}
3333
}
3434
}

src/Service/CloudFormation/src/Result/DescribeStackEventsOutput.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ private function populateResultStackEvent(\SimpleXMLElement $xml): StackEvent
119119
'HookStatus' => (null !== $v = $xml->HookStatus[0]) ? (string) $v : null,
120120
'HookStatusReason' => (null !== $v = $xml->HookStatusReason[0]) ? (string) $v : null,
121121
'HookInvocationPoint' => (null !== $v = $xml->HookInvocationPoint[0]) ? (string) $v : null,
122+
'HookInvocationId' => (null !== $v = $xml->HookInvocationId[0]) ? (string) $v : null,
122123
'HookFailureMode' => (null !== $v = $xml->HookFailureMode[0]) ? (string) $v : null,
123124
'DetailedStatus' => (null !== $v = $xml->DetailedStatus[0]) ? (string) $v : null,
124125
]);

src/Service/CloudFormation/src/ValueObject/Stack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ final class Stack
214214

215215
/**
216216
* The detailed status of the resource or stack. If `CONFIGURATION_COMPLETE` is present, the resource or resource
217-
* configuration phase has completed and the stabilization of the resources is in progress. The stack sets
217+
* configuration phase has completed and the stabilization of the resources is in progress. The StackSets
218218
* `CONFIGURATION_COMPLETE` when all of the resources in the stack have reached that event. For more information, see
219219
* Understand CloudFormation stack creation events [^1] in the *CloudFormation User Guide*.
220220
*

src/Service/CloudFormation/src/ValueObject/StackEvent.php

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class StackEvent
2222
private $stackId;
2323

2424
/**
25-
* The unique ID of this event.
25+
* The unique identifier of this event.
2626
*
2727
* @var string
2828
*/
@@ -104,35 +104,42 @@ final class StackEvent
104104
private $clientRequestToken;
105105

106106
/**
107-
* The name of the hook.
107+
* The name of the Hook.
108108
*
109109
* @var string|null
110110
*/
111111
private $hookType;
112112

113113
/**
114-
* Provides the status of the change set hook.
114+
* Provides the status of the change set Hook.
115115
*
116116
* @var HookStatus::*|null
117117
*/
118118
private $hookStatus;
119119

120120
/**
121-
* Provides the reason for the hook status.
121+
* Provides the reason for the Hook status.
122122
*
123123
* @var string|null
124124
*/
125125
private $hookStatusReason;
126126

127127
/**
128-
* Invocation points are points in provisioning logic where Hooks are initiated.
128+
* The specific point in the provisioning process where the Hook is invoked.
129129
*
130130
* @var HookInvocationPoint::*|null
131131
*/
132132
private $hookInvocationPoint;
133133

134134
/**
135-
* Specify the hook failure mode for non-compliant resources in the followings ways.
135+
* The unique identifier of the Hook invocation.
136+
*
137+
* @var string|null
138+
*/
139+
private $hookInvocationId;
140+
141+
/**
142+
* Specify the Hook failure mode for non-compliant resources in the followings ways.
136143
*
137144
* - `FAIL` Stops provisioning resources.
138145
* - `WARN` Allows provisioning to continue with a warning message.
@@ -173,6 +180,7 @@ final class StackEvent
173180
* HookStatus?: null|HookStatus::*,
174181
* HookStatusReason?: null|string,
175182
* HookInvocationPoint?: null|HookInvocationPoint::*,
183+
* HookInvocationId?: null|string,
176184
* HookFailureMode?: null|HookFailureMode::*,
177185
* DetailedStatus?: null|DetailedStatus::*,
178186
* } $input
@@ -194,6 +202,7 @@ public function __construct(array $input)
194202
$this->hookStatus = $input['HookStatus'] ?? null;
195203
$this->hookStatusReason = $input['HookStatusReason'] ?? null;
196204
$this->hookInvocationPoint = $input['HookInvocationPoint'] ?? null;
205+
$this->hookInvocationId = $input['HookInvocationId'] ?? null;
197206
$this->hookFailureMode = $input['HookFailureMode'] ?? null;
198207
$this->detailedStatus = $input['DetailedStatus'] ?? null;
199208
}
@@ -215,6 +224,7 @@ public function __construct(array $input)
215224
* HookStatus?: null|HookStatus::*,
216225
* HookStatusReason?: null|string,
217226
* HookInvocationPoint?: null|HookInvocationPoint::*,
227+
* HookInvocationId?: null|string,
218228
* HookFailureMode?: null|HookFailureMode::*,
219229
* DetailedStatus?: null|DetailedStatus::*,
220230
* }|StackEvent $input
@@ -250,6 +260,11 @@ public function getHookFailureMode(): ?string
250260
return $this->hookFailureMode;
251261
}
252262

263+
public function getHookInvocationId(): ?string
264+
{
265+
return $this->hookInvocationId;
266+
}
267+
253268
/**
254269
* @return HookInvocationPoint::*|null
255270
*/

0 commit comments

Comments
 (0)