Skip to content

Commit faf3999

Browse files
authored
Generate the property type for generated objects (#1467)
1 parent 6126c7b commit faf3999

26 files changed

+176
-0
lines changed

src/Result/CreateScheduleGroupOutput.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ class CreateScheduleGroupOutput extends Result
99
{
1010
/**
1111
* The Amazon Resource Name (ARN) of the schedule group.
12+
*
13+
* @var string
1214
*/
1315
private $scheduleGroupArn;
1416

src/Result/CreateScheduleOutput.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ class CreateScheduleOutput extends Result
99
{
1010
/**
1111
* The Amazon Resource Name (ARN) of the schedule.
12+
*
13+
* @var string
1214
*/
1315
private $scheduleArn;
1416

src/Result/GetScheduleGroupOutput.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,36 @@ class GetScheduleGroupOutput extends Result
1010
{
1111
/**
1212
* The Amazon Resource Name (ARN) of the schedule group.
13+
*
14+
* @var string|null
1315
*/
1416
private $arn;
1517

1618
/**
1719
* The time at which the schedule group was created.
20+
*
21+
* @var \DateTimeImmutable|null
1822
*/
1923
private $creationDate;
2024

2125
/**
2226
* The time at which the schedule group was last modified.
27+
*
28+
* @var \DateTimeImmutable|null
2329
*/
2430
private $lastModificationDate;
2531

2632
/**
2733
* The name of the schedule group.
34+
*
35+
* @var string|null
2836
*/
2937
private $name;
3038

3139
/**
3240
* Specifies the state of the schedule group.
41+
*
42+
* @var ScheduleGroupState::*|null
3343
*/
3444
private $state;
3545

src/Result/GetScheduleOutput.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,48 +25,66 @@ class GetScheduleOutput extends Result
2525
{
2626
/**
2727
* The Amazon Resource Name (ARN) of the schedule.
28+
*
29+
* @var string|null
2830
*/
2931
private $arn;
3032

3133
/**
3234
* The time at which the schedule was created.
35+
*
36+
* @var \DateTimeImmutable|null
3337
*/
3438
private $creationDate;
3539

3640
/**
3741
* The description of the schedule.
42+
*
43+
* @var string|null
3844
*/
3945
private $description;
4046

4147
/**
4248
* The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence expression,
4349
* invocations might stop on, or before, the `EndDate` you specify. EventBridge Scheduler ignores `EndDate` for one-time
4450
* schedules.
51+
*
52+
* @var \DateTimeImmutable|null
4553
*/
4654
private $endDate;
4755

4856
/**
4957
* Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
58+
*
59+
* @var FlexibleTimeWindow|null
5060
*/
5161
private $flexibleTimeWindow;
5262

5363
/**
5464
* The name of the schedule group associated with this schedule.
65+
*
66+
* @var string|null
5567
*/
5668
private $groupName;
5769

5870
/**
5971
* The ARN for a customer managed KMS Key that is be used to encrypt and decrypt your data.
72+
*
73+
* @var string|null
6074
*/
6175
private $kmsKeyArn;
6276

6377
/**
6478
* The time at which the schedule was last modified.
79+
*
80+
* @var \DateTimeImmutable|null
6581
*/
6682
private $lastModificationDate;
6783

6884
/**
6985
* The name of the schedule.
86+
*
87+
* @var string|null
7088
*/
7189
private $name;
7290

@@ -93,28 +111,38 @@ class GetScheduleOutput extends Result
93111
* User Guide*.
94112
*
95113
* [^1]: https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html
114+
*
115+
* @var string|null
96116
*/
97117
private $scheduleExpression;
98118

99119
/**
100120
* The timezone in which the scheduling expression is evaluated.
121+
*
122+
* @var string|null
101123
*/
102124
private $scheduleExpressionTimezone;
103125

104126
/**
105127
* The date, in UTC, after which the schedule can begin invoking its target. Depending on the schedule's recurrence
106128
* expression, invocations might occur on, or after, the `StartDate` you specify. EventBridge Scheduler ignores
107129
* `StartDate` for one-time schedules.
130+
*
131+
* @var \DateTimeImmutable|null
108132
*/
109133
private $startDate;
110134

111135
/**
112136
* Specifies whether the schedule is enabled or disabled.
137+
*
138+
* @var ScheduleState::*|null
113139
*/
114140
private $state;
115141

116142
/**
117143
* The schedule target.
144+
*
145+
* @var Target|null
118146
*/
119147
private $target;
120148

src/Result/ListScheduleGroupsOutput.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ class ListScheduleGroupsOutput extends Result implements \IteratorAggregate
1616
{
1717
/**
1818
* Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
19+
*
20+
* @var string|null
1921
*/
2022
private $nextToken;
2123

2224
/**
2325
* The schedule groups that match the specified criteria.
26+
*
27+
* @var ScheduleGroupSummary[]
2428
*/
2529
private $scheduleGroups;
2630

src/Result/ListSchedulesOutput.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ class ListSchedulesOutput extends Result implements \IteratorAggregate
1717
{
1818
/**
1919
* Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
20+
*
21+
* @var string|null
2022
*/
2123
private $nextToken;
2224

2325
/**
2426
* The schedules that match the specified criteria.
27+
*
28+
* @var ScheduleSummary[]
2529
*/
2630
private $schedules;
2731

src/Result/UpdateScheduleOutput.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ class UpdateScheduleOutput extends Result
99
{
1010
/**
1111
* The Amazon Resource Name (ARN) of the schedule that you updated.
12+
*
13+
* @var string
1214
*/
1315
private $scheduleArn;
1416

src/ValueObject/AwsVpcConfiguration.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,25 @@ final class AwsVpcConfiguration
1414
/**
1515
* Specifies whether the task's elastic network interface receives a public IP address. You can specify `ENABLED` only
1616
* when `LaunchType` in `EcsParameters` is set to `FARGATE`.
17+
*
18+
* @var AssignPublicIp::*|null
1719
*/
1820
private $assignPublicIp;
1921

2022
/**
2123
* Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can
2224
* specify as many as five security groups. If you do not specify a security group, the default security group for the
2325
* VPC is used.
26+
*
27+
* @var string[]|null
2428
*/
2529
private $securityGroups;
2630

2731
/**
2832
* Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as
2933
* 16 subnets.
34+
*
35+
* @var string[]
3036
*/
3137
private $subnets;
3238

src/ValueObject/CapacityProviderStrategyItem.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,24 @@ final class CapacityProviderStrategyItem
1313
* The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity
1414
* provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of `0`
1515
* is used.
16+
*
17+
* @var int|null
1618
*/
1719
private $base;
1820

1921
/**
2022
* The short name of the capacity provider.
23+
*
24+
* @var string
2125
*/
2226
private $capacityProvider;
2327

2428
/**
2529
* The weight value designates the relative percentage of the total number of tasks launched that should use the
2630
* specified capacity provider. The weight value is taken into consideration after the base value, if defined, is
2731
* satisfied.
32+
*
33+
* @var int|null
2834
*/
2935
private $weight;
3036

src/ValueObject/DeadLetterConfig.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ final class DeadLetterConfig
1111
{
1212
/**
1313
* The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.
14+
*
15+
* @var string|null
1416
*/
1517
private $arn;
1618

0 commit comments

Comments
 (0)