Skip to content

Commit d65b35f

Browse files
author
github-actions
committed
Generated v12.0.0
1 parent 69849b5 commit d65b35f

File tree

162 files changed

+11681
-2676
lines changed

Some content is hidden

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

162 files changed

+11681
-2676
lines changed

CHANGELOG.md

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

3+
## [v12.0.0](https://github.com/fastly/fastly-php/releases/tag/release/v12.0.0) (2025-10-31)
4+
5+
**Bug fixes:**
6+
7+
- fix(dictionary): Correct example dictionary name to use valid characters
8+
9+
**Enhancements:**
10+
11+
- feat(iam_roles): Add new IAM Roles API.
12+
- feat(api_discovery): Add new API Discovery API.
13+
- feat(realtime, historical): Add new metric `api_discovery_requests_count`.
14+
- feat(user): Add the ability to assign multiple roles to users.
15+
- feat(healthcheck): Clarify the valid range for the `check_interval` parameter.
16+
- feat(ddos_protection): Add `traffic_percentage` field to DDoS Protection traffic statistics responses.
17+
- feat(ddos_protection): Update `ddos-protection-event-rule-list` with `include=traffic_stats` parameter for embedded traffic statistics.
18+
- feat(logging_https): Add `period` parameter to the logging HTTPS endpoint.
19+
20+
**Documentation:**
21+
22+
- doc(sudo): Spelling fixes.
23+
- doc(enabled-products): Add support for product ID `api_discovery`.
24+
25+
326
## [v11.0.0](https://github.com/fastly/fastly-php/releases/tag/release/v11.0.0) (2025-08-28)
427

528
**Breaking Changes:**

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@ Class | Method | Description
190190
[*DirectorBackendApi*](docs/Api/DirectorBackendApi.md) | [**createDirectorBackend**](docs/Api/DirectorBackendApi.md#createdirectorbackend) | Create a director-backend relationship
191191
[*DirectorBackendApi*](docs/Api/DirectorBackendApi.md) | [**deleteDirectorBackend**](docs/Api/DirectorBackendApi.md#deletedirectorbackend) | Delete a director-backend relationship
192192
[*DirectorBackendApi*](docs/Api/DirectorBackendApi.md) | [**getDirectorBackend**](docs/Api/DirectorBackendApi.md#getdirectorbackend) | Get a director-backend relationship
193+
[*DmDomainsApi*](docs/Api/DmDomainsApi.md) | [**createDmDomain**](docs/Api/DmDomainsApi.md#createdmdomain) | Create a domain
194+
[*DmDomainsApi*](docs/Api/DmDomainsApi.md) | [**deleteDmDomain**](docs/Api/DmDomainsApi.md#deletedmdomain) | Delete a domain
195+
[*DmDomainsApi*](docs/Api/DmDomainsApi.md) | [**getDmDomain**](docs/Api/DmDomainsApi.md#getdmdomain) | Get a domain
196+
[*DmDomainsApi*](docs/Api/DmDomainsApi.md) | [**listDmDomains**](docs/Api/DmDomainsApi.md#listdmdomains) | List domains
197+
[*DmDomainsApi*](docs/Api/DmDomainsApi.md) | [**updateDmDomain**](docs/Api/DmDomainsApi.md#updatedmdomain) | Update a domain
193198
[*DomainApi*](docs/Api/DomainApi.md) | [**checkDomain**](docs/Api/DomainApi.md#checkdomain) | Validate DNS configuration for a single domain on a service
194199
[*DomainApi*](docs/Api/DomainApi.md) | [**checkDomains**](docs/Api/DomainApi.md#checkdomains) | Validate DNS configuration for all domains on a service
195200
[*DomainApi*](docs/Api/DomainApi.md) | [**createDomain**](docs/Api/DomainApi.md#createdomain) | Add a domain name to a service
@@ -232,14 +237,8 @@ Class | Method | Description
232237
[*Http3Api*](docs/Api/Http3Api.md) | [**deleteHttp3**](docs/Api/Http3Api.md#deletehttp3) | Disable support for HTTP/3
233238
[*Http3Api*](docs/Api/Http3Api.md) | [**getHttp3**](docs/Api/Http3Api.md#gethttp3) | Get HTTP/3 status
234239
[*IamPermissionsApi*](docs/Api/IamPermissionsApi.md) | [**listPermissions**](docs/Api/IamPermissionsApi.md#listpermissions) | List permissions
235-
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**addRolePermissions**](docs/Api/IamRolesApi.md#addrolepermissions) | Add permissions to a role
236-
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**createARole**](docs/Api/IamRolesApi.md#createarole) | Create a role
237-
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**deleteARole**](docs/Api/IamRolesApi.md#deletearole) | Delete a role
238-
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**getARole**](docs/Api/IamRolesApi.md#getarole) | Get a role
239-
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**listRolePermissions**](docs/Api/IamRolesApi.md#listrolepermissions) | List permissions in a role
240-
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**listRoles**](docs/Api/IamRolesApi.md#listroles) | List roles
241-
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**removeRolePermissions**](docs/Api/IamRolesApi.md#removerolepermissions) | Remove permissions from a role
242-
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**updateARole**](docs/Api/IamRolesApi.md#updatearole) | Update a role
240+
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**iamV1RolesGet**](docs/Api/IamRolesApi.md#iamv1rolesget) | Get IAM role by ID
241+
[*IamRolesApi*](docs/Api/IamRolesApi.md) | [**iamV1RolesList**](docs/Api/IamRolesApi.md#iamv1roleslist) | List IAM roles
243242
[*IamServiceGroupsApi*](docs/Api/IamServiceGroupsApi.md) | [**addServiceGroupServices**](docs/Api/IamServiceGroupsApi.md#addservicegroupservices) | Add services in a service group
244243
[*IamServiceGroupsApi*](docs/Api/IamServiceGroupsApi.md) | [**createAServiceGroup**](docs/Api/IamServiceGroupsApi.md#createaservicegroup) | Create a service group
245244
[*IamServiceGroupsApi*](docs/Api/IamServiceGroupsApi.md) | [**deleteAServiceGroup**](docs/Api/IamServiceGroupsApi.md#deleteaservicegroup) | Delete a service group
@@ -450,6 +449,10 @@ Class | Method | Description
450449
[*ProductAiAcceleratorApi*](docs/Api/ProductAiAcceleratorApi.md) | [**disableProductAiAccelerator**](docs/Api/ProductAiAcceleratorApi.md#disableproductaiaccelerator) | Disable product
451450
[*ProductAiAcceleratorApi*](docs/Api/ProductAiAcceleratorApi.md) | [**enableAiAccelerator**](docs/Api/ProductAiAcceleratorApi.md#enableaiaccelerator) | Enable product
452451
[*ProductAiAcceleratorApi*](docs/Api/ProductAiAcceleratorApi.md) | [**getAiAccelerator**](docs/Api/ProductAiAcceleratorApi.md#getaiaccelerator) | Get product enablement status
452+
[*ProductApiDiscoveryApi*](docs/Api/ProductApiDiscoveryApi.md) | [**disableProductApiDiscovery**](docs/Api/ProductApiDiscoveryApi.md#disableproductapidiscovery) | Disable product
453+
[*ProductApiDiscoveryApi*](docs/Api/ProductApiDiscoveryApi.md) | [**enableProductApiDiscovery**](docs/Api/ProductApiDiscoveryApi.md#enableproductapidiscovery) | Enable product
454+
[*ProductApiDiscoveryApi*](docs/Api/ProductApiDiscoveryApi.md) | [**getProductApiDiscovery**](docs/Api/ProductApiDiscoveryApi.md#getproductapidiscovery) | Get product enablement status
455+
[*ProductApiDiscoveryApi*](docs/Api/ProductApiDiscoveryApi.md) | [**getServicesProductApiDiscovery**](docs/Api/ProductApiDiscoveryApi.md#getservicesproductapidiscovery) | Get services with product enabled
453456
[*ProductBotManagementApi*](docs/Api/ProductBotManagementApi.md) | [**disableProductBotManagement**](docs/Api/ProductBotManagementApi.md#disableproductbotmanagement) | Disable product
454457
[*ProductBotManagementApi*](docs/Api/ProductBotManagementApi.md) | [**enableProductBotManagement**](docs/Api/ProductBotManagementApi.md#enableproductbotmanagement) | Enable product
455458
[*ProductBotManagementApi*](docs/Api/ProductBotManagementApi.md) | [**getProductBotManagement**](docs/Api/ProductBotManagementApi.md#getproductbotmanagement) | Get product enablement status
@@ -659,8 +662,6 @@ The fastly-php API client currently does not support the following endpoints:
659662
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
660663
- [`/dns/configurations/{dns_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
661664
- [`/dns/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
662-
- [`/domain-management/v1/domains/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
663-
- [`/domain-management/v1/domains`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
664665
- [`/domains/v1/tools/status`](https://www.fastly.com/documentation/reference/api/) (GET)
665666
- [`/domains/v1/tools/suggest`](https://www.fastly.com/documentation/reference/api/) (GET)
666667
- [`/ngwaf/v1/lists/{listId}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (DELETE, GET, PATCH)
@@ -677,6 +678,7 @@ The fastly-php API client currently does not support the following endpoints:
677678
- [`/ngwaf/v1/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET)
678679
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions/{redaction_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (DELETE, GET, PATCH)
679680
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (GET, POST)
681+
- [`/ngwaf/v1/workspaces/{workspace_id}/requests/{request_id}/report`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (POST)
680682
- [`/ngwaf/v1/workspaces/{workspace_id}/requests/{request_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (GET)
681683
- [`/ngwaf/v1/workspaces/{workspace_id}/requests`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (GET)
682684
- [`/ngwaf/v1/workspaces/{workspace_id}/rules/{rule_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/rules) (DELETE, GET, PATCH)

docs/Api/DdosProtectionApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Get all rules for an event.
116116
$options['event_id'] = 'event_id_example'; // string | Unique ID of the event.
117117
$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.
118118
$options['limit'] = 20; // int | Limit how many results are returned.
119+
$options['include'] = 'include_example'; // string | Include relationships. Optional. Comma-separated values.
119120

120121
try {
121122
$result = $apiInstance->ddosProtectionEventRuleList($options);
@@ -133,6 +134,7 @@ Name | Type | Description | Notes
133134
**event_id** | **string** | Unique ID of the event. |
134135
**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]
135136
**limit** | **int** | Limit how many results are returned. | [optional] [defaults to 20]
137+
**include** | **string** | Include relationships. Optional. Comma-separated values. | [optional]
136138

137139
### Return type
138140

docs/Api/DmDomainsApi.md

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
# Fastly\Api\DmDomainsApi
2+
3+
4+
```php
5+
$apiInstance = new Fastly\Api\DmDomainsApi(
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+
[**createDmDomain()**](DmDomainsApi.md#createDmDomain) | **POST** /domain-management/v1/domains | Create a domain
21+
[**deleteDmDomain()**](DmDomainsApi.md#deleteDmDomain) | **DELETE** /domain-management/v1/domains/{domain_id} | Delete a domain
22+
[**getDmDomain()**](DmDomainsApi.md#getDmDomain) | **GET** /domain-management/v1/domains/{domain_id} | Get a domain
23+
[**listDmDomains()**](DmDomainsApi.md#listDmDomains) | **GET** /domain-management/v1/domains | List domains
24+
[**updateDmDomain()**](DmDomainsApi.md#updateDmDomain) | **PATCH** /domain-management/v1/domains/{domain_id} | Update a domain
25+
26+
27+
## `createDmDomain()`
28+
29+
```php
30+
createDmDomain($options): \Fastly\Model\SuccessfulResponseAsObject // Create a domain
31+
```
32+
33+
Create a domain
34+
35+
### Example
36+
```php
37+
$options['request_body_for_create'] = new \Fastly\Model\RequestBodyForCreate(); // \Fastly\Model\RequestBodyForCreate
38+
39+
try {
40+
$result = $apiInstance->createDmDomain($options);
41+
} catch (Exception $e) {
42+
echo 'Exception when calling DmDomainsApi->createDmDomain: ', $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+
**request_body_for_create** | [**\Fastly\Model\RequestBodyForCreate**](../Model/RequestBodyForCreate.md) | | [optional]
53+
54+
### Return type
55+
56+
[**\Fastly\Model\SuccessfulResponseAsObject**](../Model/SuccessfulResponseAsObject.md)
57+
58+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
59+
[[Back to README]](../../README.md)
60+
61+
## `deleteDmDomain()`
62+
63+
```php
64+
deleteDmDomain($options) // Delete a domain
65+
```
66+
67+
Delete a domain
68+
69+
### Example
70+
```php
71+
$options['domain_id'] = 'domain_id_example'; // string
72+
73+
try {
74+
$apiInstance->deleteDmDomain($options);
75+
} catch (Exception $e) {
76+
echo 'Exception when calling DmDomainsApi->deleteDmDomain: ', $e->getMessage(), PHP_EOL;
77+
}
78+
```
79+
80+
### Options
81+
82+
Note: the input parameter is an associative array with the keys listed below.
83+
84+
Name | Type | Description | Notes
85+
------------- | ------------- | ------------- | -------------
86+
**domain_id** | **string** | |
87+
88+
### Return type
89+
90+
void (empty response body)
91+
92+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
93+
[[Back to README]](../../README.md)
94+
95+
## `getDmDomain()`
96+
97+
```php
98+
getDmDomain($options): \Fastly\Model\SuccessfulResponseAsObject // Get a domain
99+
```
100+
101+
Show a domain
102+
103+
### Example
104+
```php
105+
$options['domain_id'] = 'domain_id_example'; // string
106+
107+
try {
108+
$result = $apiInstance->getDmDomain($options);
109+
} catch (Exception $e) {
110+
echo 'Exception when calling DmDomainsApi->getDmDomain: ', $e->getMessage(), PHP_EOL;
111+
}
112+
```
113+
114+
### Options
115+
116+
Note: the input parameter is an associative array with the keys listed below.
117+
118+
Name | Type | Description | Notes
119+
------------- | ------------- | ------------- | -------------
120+
**domain_id** | **string** | |
121+
122+
### Return type
123+
124+
[**\Fastly\Model\SuccessfulResponseAsObject**](../Model/SuccessfulResponseAsObject.md)
125+
126+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
127+
[[Back to README]](../../README.md)
128+
129+
## `listDmDomains()`
130+
131+
```php
132+
listDmDomains($options): \Fastly\Model\InlineResponse2004 // List domains
133+
```
134+
135+
List all domains
136+
137+
### Example
138+
```php
139+
$options['fqdn'] = 'fqdn_example'; // string
140+
$options['service_id'] = 'service_id_example'; // string | Filter results based on a service_id.
141+
$options['sort'] = 'fqdn'; // string | The order in which to list the results.
142+
$options['activated'] = True; // bool
143+
$options['verified'] = True; // bool
144+
$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.
145+
$options['limit'] = 20; // int | Limit how many results are returned.
146+
147+
try {
148+
$result = $apiInstance->listDmDomains($options);
149+
} catch (Exception $e) {
150+
echo 'Exception when calling DmDomainsApi->listDmDomains: ', $e->getMessage(), PHP_EOL;
151+
}
152+
```
153+
154+
### Options
155+
156+
Note: the input parameter is an associative array with the keys listed below.
157+
158+
Name | Type | Description | Notes
159+
------------- | ------------- | ------------- | -------------
160+
**fqdn** | **string** | | [optional]
161+
**service_id** | **string** | Filter results based on a service_id. | [optional]
162+
**sort** | **string** | The order in which to list the results. | [optional] [one of: 'fqdn', '-fqdn'] [defaults to 'fqdn']
163+
**activated** | **bool** | | [optional]
164+
**verified** | **bool** | | [optional]
165+
**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]
166+
**limit** | **int** | Limit how many results are returned. | [optional] [defaults to 20]
167+
168+
### Return type
169+
170+
[**\Fastly\Model\InlineResponse2004**](../Model/InlineResponse2004.md)
171+
172+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
173+
[[Back to README]](../../README.md)
174+
175+
## `updateDmDomain()`
176+
177+
```php
178+
updateDmDomain($options): \Fastly\Model\SuccessfulResponseAsObject // Update a domain
179+
```
180+
181+
Update a domain
182+
183+
### Example
184+
```php
185+
$options['domain_id'] = 'domain_id_example'; // string
186+
$options['request_body_for_update'] = new \Fastly\Model\RequestBodyForUpdate(); // \Fastly\Model\RequestBodyForUpdate
187+
188+
try {
189+
$result = $apiInstance->updateDmDomain($options);
190+
} catch (Exception $e) {
191+
echo 'Exception when calling DmDomainsApi->updateDmDomain: ', $e->getMessage(), PHP_EOL;
192+
}
193+
```
194+
195+
### Options
196+
197+
Note: the input parameter is an associative array with the keys listed below.
198+
199+
Name | Type | Description | Notes
200+
------------- | ------------- | ------------- | -------------
201+
**domain_id** | **string** | |
202+
**request_body_for_update** | [**\Fastly\Model\RequestBodyForUpdate**](../Model/RequestBodyForUpdate.md) | | [optional]
203+
204+
### Return type
205+
206+
[**\Fastly\Model\SuccessfulResponseAsObject**](../Model/SuccessfulResponseAsObject.md)
207+
208+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
209+
[[Back to README]](../../README.md)

docs/Api/DomainOwnershipsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Method | HTTP request | Description
2323
## `listDomainOwnerships()`
2424

2525
```php
26-
listDomainOwnerships($options): \Fastly\Model\InlineResponse2004 // List domain-ownerships
26+
listDomainOwnerships($options): \Fastly\Model\InlineResponse2005 // List domain-ownerships
2727
```
2828

2929
List all domain-ownerships.
@@ -46,7 +46,7 @@ This endpoint does not need any parameters.
4646

4747
### Return type
4848

49-
[**\Fastly\Model\InlineResponse2004**](../Model/InlineResponse2004.md)
49+
[**\Fastly\Model\InlineResponse2005**](../Model/InlineResponse2005.md)
5050

5151
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
5252
[[Back to README]](../../README.md)

0 commit comments

Comments
 (0)