Skip to content

Commit ec0db1f

Browse files
author
github-actions
committed
Generated v9.0.0
1 parent b6d8ade commit ec0db1f

File tree

395 files changed

+18806
-33928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

395 files changed

+18806
-33928
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## [v9.0.0](https://github.com/fastly/fastly-php/releases/tag/release/v9.0.0) (2025-05-12)
4+
5+
**Breaking Changes:**
6+
7+
- deprecated(user): The POST /user endpoint has been deprecated.
8+
9+
- fix(acls_in_compute): Corrected the successful `PATCH` response code from the `/resources/acls/${acl_id}/entries` endpoint.
10+
11+
12+
**Enhancements:**
13+
14+
- feat(products): Add endpoint to each service-level product to list services that enable that product.
15+
- feat(observability-aggregations-for-logs): Add new Observability Aggregations API for Logs.
16+
- feat(observability-timeseries-for-logs): Add new Observability Timeseries API for Logs.
17+
- feat(pops): Add new Mexico regions.
18+
- feat(historical): Add new Mexico regions.
19+
- feat(ddos-protection): Add `ddos-protection` product.
20+
- feat(backend): Add the `prefer_ipv6` option to prefer IPv6 during a backend DNS hostname lookup.
21+
- feat(products): Added new GET endpoint for all services with product enabled on a customer.
22+
23+
**Documentation:**
24+
25+
- doc(kv-store): Add clarification on valid KV Store names.
26+
- doc(kv-store-item): Add clarification on valid KV Store keys.
27+
- doc(dictionary): Usages of `edge dictionary` standardized to `dictionary`.
28+
- doc(acls-in-compute): Add documentation on how to remove a single ACL entry using the existing
29+
`compute-acl-update-acls` operation.
30+
- doc(acls-in-compute): Correct documentation on `action` field of `compute-acl-update-acls` endpoint.
31+
332
## [v8.0.0](https://github.com/fastly/fastly-php/releases/tag/release/v8.0.0) (2025-03-13)
433

534
**Breaking Changes:**

README.md

Lines changed: 32 additions & 42 deletions
Large diffs are not rendered by default.

docs/Api/AclsInComputeApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Name | Type | Description | Notes
239239
computeAclUpdateAcls($options) // Update an ACL
240240
```
241241

242-
Update an ACL.
242+
Update an ACL entry with a new operation or action, this allows you to modify an existing entry or delete it.
243243

244244
### Example
245245
```php

docs/Api/BackendApi.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ $options['min_tls_version'] = 'min_tls_version_example'; // string | Minimum all
5454
$options['name'] = 'name_example'; // string | The name of the backend.
5555
$options['override_host'] = 'override_host_example'; // string | If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
5656
$options['port'] = 56; // int | Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
57+
$options['prefer_ipv6'] = True; // bool | Prefer IPv6 connections for DNS hostname lookups.
5758
$options['request_condition'] = 'request_condition_example'; // string | Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
5859
$options['share_key'] = 'share_key_example'; // string | Value that when shared across backends will enable those backends to share the same health check.
5960
$options['shield'] = 'shield_example'; // string | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
@@ -105,6 +106,7 @@ Name | Type | Description | Notes
105106
**name** | **string** | The name of the backend. | [optional]
106107
**override_host** | **string** | If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. | [optional]
107108
**port** | **int** | Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request. | [optional]
109+
**prefer_ipv6** | **bool** | Prefer IPv6 connections for DNS hostname lookups. | [optional]
108110
**request_condition** | **string** | Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests. | [optional]
109111
**share_key** | **string** | Value that when shared across backends will enable those backends to share the same health check. | [optional]
110112
**shield** | **string** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional]
@@ -273,6 +275,7 @@ $options['min_tls_version'] = 'min_tls_version_example'; // string | Minimum all
273275
$options['name'] = 'name_example'; // string | The name of the backend.
274276
$options['override_host'] = 'override_host_example'; // string | If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
275277
$options['port'] = 56; // int | Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
278+
$options['prefer_ipv6'] = True; // bool | Prefer IPv6 connections for DNS hostname lookups.
276279
$options['request_condition'] = 'request_condition_example'; // string | Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
277280
$options['share_key'] = 'share_key_example'; // string | Value that when shared across backends will enable those backends to share the same health check.
278281
$options['shield'] = 'shield_example'; // string | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
@@ -325,6 +328,7 @@ Name | Type | Description | Notes
325328
**name** | **string** | The name of the backend. | [optional]
326329
**override_host** | **string** | If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. | [optional]
327330
**port** | **int** | Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request. | [optional]
331+
**prefer_ipv6** | **bool** | Prefer IPv6 connections for DNS hostname lookups. | [optional]
328332
**request_condition** | **string** | Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests. | [optional]
329333
**share_key** | **string** | Value that when shared across backends will enable those backends to share the same health check. | [optional]
330334
**shield** | **string** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional]

docs/Api/DdosProtectionApi.md

Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
# Fastly\Api\DdosProtectionApi
2+
3+
4+
```php
5+
$apiInstance = new Fastly\Api\DdosProtectionApi(
6+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
7+
// This is optional, `GuzzleHttp\Client` will be used as default.
8+
new GuzzleHttp\Client(),
9+
$config
10+
);
11+
```
12+
13+
## Methods
14+
15+
> [!NOTE]
16+
> All URIs are relative to `https://api.fastly.com`
17+
18+
Method | HTTP request | Description
19+
------ | ------------ | -----------
20+
[**ddosProtectionEventGet()**](DdosProtectionApi.md#ddosProtectionEventGet) | **GET** /ddos-protection/v1/events/{event_id} | Get event by ID
21+
[**ddosProtectionEventList()**](DdosProtectionApi.md#ddosProtectionEventList) | **GET** /ddos-protection/v1/events | Get events
22+
[**ddosProtectionEventRuleList()**](DdosProtectionApi.md#ddosProtectionEventRuleList) | **GET** /ddos-protection/v1/events/{event_id}/rules | Get all rules for an event
23+
[**ddosProtectionRuleGet()**](DdosProtectionApi.md#ddosProtectionRuleGet) | **GET** /ddos-protection/v1/rules/{rule_id} | Get a rule by ID
24+
[**ddosProtectionTrafficStatsRuleGet()**](DdosProtectionApi.md#ddosProtectionTrafficStatsRuleGet) | **GET** /ddos-protection/v1/events/{event_id}/rules/{rule_id}/traffic-stats | Get traffic stats for a rule
25+
26+
27+
## `ddosProtectionEventGet()`
28+
29+
```php
30+
ddosProtectionEventGet($options): \Fastly\Model\DdosProtectionEvent // Get event by ID
31+
```
32+
33+
Get event by ID.
34+
35+
### Example
36+
```php
37+
$options['event_id'] = 'event_id_example'; // string | Unique ID of the event.
38+
39+
try {
40+
$result = $apiInstance->ddosProtectionEventGet($options);
41+
} catch (Exception $e) {
42+
echo 'Exception when calling DdosProtectionApi->ddosProtectionEventGet: ', $e->getMessage(), PHP_EOL;
43+
}
44+
```
45+
46+
### Options
47+
48+
Note: the input parameter is an associative array with the keys listed below.
49+
50+
Name | Type | Description | Notes
51+
------------- | ------------- | ------------- | -------------
52+
**event_id** | **string** | Unique ID of the event. |
53+
54+
### Return type
55+
56+
[**\Fastly\Model\DdosProtectionEvent**](../Model/DdosProtectionEvent.md)
57+
58+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
59+
[[Back to README]](../../README.md)
60+
61+
## `ddosProtectionEventList()`
62+
63+
```php
64+
ddosProtectionEventList($options): \Fastly\Model\InlineResponse2002 // Get events
65+
```
66+
67+
Get events.
68+
69+
### Example
70+
```php
71+
$options['cursor'] = 'cursor_example'; // string | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
72+
$options['limit'] = 20; // int | Limit how many results are returned.
73+
$options['service_id'] = 'service_id_example'; // string | Filter results based on a service_id.
74+
$options['from'] = 2023-01-01T02:30Z; // \DateTime | Represents the start of a date-time range expressed in RFC 3339 format.
75+
$options['to'] = 2023-01-01T02:30Z; // \DateTime | Represents the end of a date-time range expressed in RFC 3339 format.
76+
$options['name'] = 'name_example'; // string
77+
78+
try {
79+
$result = $apiInstance->ddosProtectionEventList($options);
80+
} catch (Exception $e) {
81+
echo 'Exception when calling DdosProtectionApi->ddosProtectionEventList: ', $e->getMessage(), PHP_EOL;
82+
}
83+
```
84+
85+
### Options
86+
87+
Note: the input parameter is an associative array with the keys listed below.
88+
89+
Name | Type | Description | Notes
90+
------------- | ------------- | ------------- | -------------
91+
**cursor** | **string** | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty. | [optional]
92+
**limit** | **int** | Limit how many results are returned. | [optional] [defaults to 20]
93+
**service_id** | **string** | Filter results based on a service_id. | [optional]
94+
**from** | **\DateTime** | Represents the start of a date-time range expressed in RFC 3339 format. | [optional]
95+
**to** | **\DateTime** | Represents the end of a date-time range expressed in RFC 3339 format. | [optional]
96+
**name** | **string** | | [optional]
97+
98+
### Return type
99+
100+
[**\Fastly\Model\InlineResponse2002**](../Model/InlineResponse2002.md)
101+
102+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
103+
[[Back to README]](../../README.md)
104+
105+
## `ddosProtectionEventRuleList()`
106+
107+
```php
108+
ddosProtectionEventRuleList($options): \Fastly\Model\InlineResponse2003 // Get all rules for an event
109+
```
110+
111+
Get all rules for an event.
112+
113+
### Example
114+
```php
115+
$options['event_id'] = 'event_id_example'; // string | Unique ID of the event.
116+
$options['cursor'] = 'cursor_example'; // string | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
117+
$options['limit'] = 20; // int | Limit how many results are returned.
118+
119+
try {
120+
$result = $apiInstance->ddosProtectionEventRuleList($options);
121+
} catch (Exception $e) {
122+
echo 'Exception when calling DdosProtectionApi->ddosProtectionEventRuleList: ', $e->getMessage(), PHP_EOL;
123+
}
124+
```
125+
126+
### Options
127+
128+
Note: the input parameter is an associative array with the keys listed below.
129+
130+
Name | Type | Description | Notes
131+
------------- | ------------- | ------------- | -------------
132+
**event_id** | **string** | Unique ID of the event. |
133+
**cursor** | **string** | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty. | [optional]
134+
**limit** | **int** | Limit how many results are returned. | [optional] [defaults to 20]
135+
136+
### Return type
137+
138+
[**\Fastly\Model\InlineResponse2003**](../Model/InlineResponse2003.md)
139+
140+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
141+
[[Back to README]](../../README.md)
142+
143+
## `ddosProtectionRuleGet()`
144+
145+
```php
146+
ddosProtectionRuleGet($options): \Fastly\Model\DdosProtectionRule // Get a rule by ID
147+
```
148+
149+
Get a rule by ID.
150+
151+
### Example
152+
```php
153+
$options['rule_id'] = 'rule_id_example'; // string | Unique ID of the rule.
154+
155+
try {
156+
$result = $apiInstance->ddosProtectionRuleGet($options);
157+
} catch (Exception $e) {
158+
echo 'Exception when calling DdosProtectionApi->ddosProtectionRuleGet: ', $e->getMessage(), PHP_EOL;
159+
}
160+
```
161+
162+
### Options
163+
164+
Note: the input parameter is an associative array with the keys listed below.
165+
166+
Name | Type | Description | Notes
167+
------------- | ------------- | ------------- | -------------
168+
**rule_id** | **string** | Unique ID of the rule. |
169+
170+
### Return type
171+
172+
[**\Fastly\Model\DdosProtectionRule**](../Model/DdosProtectionRule.md)
173+
174+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
175+
[[Back to README]](../../README.md)
176+
177+
## `ddosProtectionTrafficStatsRuleGet()`
178+
179+
```php
180+
ddosProtectionTrafficStatsRuleGet($options): \Fastly\Model\DdosProtectionTrafficStats // Get traffic stats for a rule
181+
```
182+
183+
Get traffic stats for a rule.
184+
185+
### Example
186+
```php
187+
$options['event_id'] = 'event_id_example'; // string | Unique ID of the event.
188+
$options['rule_id'] = 'rule_id_example'; // string | Unique ID of the rule.
189+
190+
try {
191+
$result = $apiInstance->ddosProtectionTrafficStatsRuleGet($options);
192+
} catch (Exception $e) {
193+
echo 'Exception when calling DdosProtectionApi->ddosProtectionTrafficStatsRuleGet: ', $e->getMessage(), PHP_EOL;
194+
}
195+
```
196+
197+
### Options
198+
199+
Note: the input parameter is an associative array with the keys listed below.
200+
201+
Name | Type | Description | Notes
202+
------------- | ------------- | ------------- | -------------
203+
**event_id** | **string** | Unique ID of the event. |
204+
**rule_id** | **string** | Unique ID of the rule. |
205+
206+
### Return type
207+
208+
[**\Fastly\Model\DdosProtectionTrafficStats**](../Model/DdosProtectionTrafficStats.md)
209+
210+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
211+
[[Back to README]](../../README.md)

docs/Api/DictionaryApi.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ $apiInstance = new Fastly\Api\DictionaryApi(
1717
1818
Method | HTTP request | Description
1919
------ | ------------ | -----------
20-
[**createDictionary()**](DictionaryApi.md#createDictionary) | **POST** /service/{service_id}/version/{version_id}/dictionary | Create an edge dictionary
21-
[**deleteDictionary()**](DictionaryApi.md#deleteDictionary) | **DELETE** /service/{service_id}/version/{version_id}/dictionary/{dictionary_name} | Delete an edge dictionary
22-
[**getDictionary()**](DictionaryApi.md#getDictionary) | **GET** /service/{service_id}/version/{version_id}/dictionary/{dictionary_name} | Get an edge dictionary
23-
[**listDictionaries()**](DictionaryApi.md#listDictionaries) | **GET** /service/{service_id}/version/{version_id}/dictionary | List edge dictionaries
24-
[**updateDictionary()**](DictionaryApi.md#updateDictionary) | **PUT** /service/{service_id}/version/{version_id}/dictionary/{dictionary_name} | Update an edge dictionary
20+
[**createDictionary()**](DictionaryApi.md#createDictionary) | **POST** /service/{service_id}/version/{version_id}/dictionary | Create a dictionary
21+
[**deleteDictionary()**](DictionaryApi.md#deleteDictionary) | **DELETE** /service/{service_id}/version/{version_id}/dictionary/{dictionary_name} | Delete a dictionary
22+
[**getDictionary()**](DictionaryApi.md#getDictionary) | **GET** /service/{service_id}/version/{version_id}/dictionary/{dictionary_name} | Get a dictionary
23+
[**listDictionaries()**](DictionaryApi.md#listDictionaries) | **GET** /service/{service_id}/version/{version_id}/dictionary | List dictionaries
24+
[**updateDictionary()**](DictionaryApi.md#updateDictionary) | **PUT** /service/{service_id}/version/{version_id}/dictionary/{dictionary_name} | Update a dictionary
2525

2626

2727
## `createDictionary()`
2828

2929
```php
30-
createDictionary($options): \Fastly\Model\DictionaryResponse // Create an edge dictionary
30+
createDictionary($options): \Fastly\Model\DictionaryResponse // Create a dictionary
3131
```
3232

3333
Create named dictionary for a particular service and version.
@@ -67,7 +67,7 @@ Name | Type | Description | Notes
6767
## `deleteDictionary()`
6868

6969
```php
70-
deleteDictionary($options): \Fastly\Model\InlineResponse200 // Delete an edge dictionary
70+
deleteDictionary($options): \Fastly\Model\InlineResponse200 // Delete a dictionary
7171
```
7272

7373
Delete named dictionary for a particular service and version.
@@ -105,7 +105,7 @@ Name | Type | Description | Notes
105105
## `getDictionary()`
106106

107107
```php
108-
getDictionary($options): \Fastly\Model\DictionaryResponse // Get an edge dictionary
108+
getDictionary($options): \Fastly\Model\DictionaryResponse // Get a dictionary
109109
```
110110

111111
Retrieve a single dictionary by name for the version and service.
@@ -143,7 +143,7 @@ Name | Type | Description | Notes
143143
## `listDictionaries()`
144144

145145
```php
146-
listDictionaries($options): \Fastly\Model\DictionaryResponse[] // List edge dictionaries
146+
listDictionaries($options): \Fastly\Model\DictionaryResponse[] // List dictionaries
147147
```
148148

149149
List all dictionaries for the version of the service.
@@ -179,7 +179,7 @@ Name | Type | Description | Notes
179179
## `updateDictionary()`
180180

181181
```php
182-
updateDictionary($options): \Fastly\Model\DictionaryResponse // Update an edge dictionary
182+
updateDictionary($options): \Fastly\Model\DictionaryResponse // Update a dictionary
183183
```
184184

185185
Update named dictionary for a particular service and version.

docs/Api/DictionaryInfoApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ $apiInstance = new Fastly\Api\DictionaryInfoApi(
1717
1818
Method | HTTP request | Description
1919
------ | ------------ | -----------
20-
[**getDictionaryInfo()**](DictionaryInfoApi.md#getDictionaryInfo) | **GET** /service/{service_id}/version/{version_id}/dictionary/{dictionary_id}/info | Get edge dictionary metadata
20+
[**getDictionaryInfo()**](DictionaryInfoApi.md#getDictionaryInfo) | **GET** /service/{service_id}/version/{version_id}/dictionary/{dictionary_id}/info | Get dictionary metadata
2121

2222

2323
## `getDictionaryInfo()`
2424

2525
```php
26-
getDictionaryInfo($options): \Fastly\Model\DictionaryInfoResponse // Get edge dictionary metadata
26+
getDictionaryInfo($options): \Fastly\Model\DictionaryInfoResponse // Get dictionary metadata
2727
```
2828

2929
Retrieve metadata for a single dictionary by ID for a version and service.

0 commit comments

Comments
 (0)