Skip to content

Commit af6cb11

Browse files
author
github-actions
committed
Generated v10.0.0
1 parent 7c81eaa commit af6cb11

File tree

77 files changed

+97
-131
lines changed

Some content is hidden

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

77 files changed

+97
-131
lines changed

CHANGELOG.md

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

3+
## [v10.0.0](https://github.com/fastly/fastly-py/releases/tag/release/v10.0.0) (2025-06-11)
4+
5+
**Breaking Changes:**
6+
7+
- removed(properties): Remove logging placement value `waf_debug`.
8+
9+
10+
**Bug fixes:**
11+
12+
- fix(backend): Marked `prefer_ipv6` as nullable.
13+
14+
15+
**Enhancements:**
16+
17+
- feat(historical): The following Next-Gen WAF metrics have been updated to include both Edge WAF and
18+
- Core WAF counts:`ngwaf_requests_total_count`, `ngwaf_requests_blocked_count`,
19+
20+
21+
**Documentation:**
22+
23+
- doc(domain-discovery): Correct documentation of valid values of `scope` query parameter.
24+
- doc(observability-aggregations-for-logs): Correct documentation of valid values of `log-aggregations-filter` query
25+
parameter.
26+
- doc(backend): Tweak language of `prefer_ipv6` description.
27+
- doc(service): Add documentation for `filter[versions.active]` query parameter when getting detailed information on
28+
a specified service.
29+
30+
331
## [v9.0.0](https://github.com/fastly/fastly-py/releases/tag/release/v9.0.0) (2025-05-12)
432

533
**Breaking Changes:**

README.md

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -639,26 +639,39 @@ The fastly-py API client currently does not support the following endpoints:
639639
- [`/domains/v1/tools/suggest`](https://www.fastly.com/documentation/reference/api/) (GET)
640640
- [`/domains/v1/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
641641
- [`/domains/v1`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
642+
- [`/ngwaf/v1/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET, PATCH)
643+
- [`/ngwaf/v1/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET)
644+
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions/{redaction_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (DELETE, GET, PATCH)
645+
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (GET, POST)
646+
- [`/ngwaf/v1/workspaces/{workspace_id}/requests/{request_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (GET)
647+
- [`/ngwaf/v1/workspaces/{workspace_id}/requests`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (GET)
648+
- [`/ngwaf/v1/workspaces/{workspace_id}/rules/{rule_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/rules) (DELETE, GET, PATCH)
649+
- [`/ngwaf/v1/workspaces/{workspace_id}/rules`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/rules) (GET, POST)
650+
- [`/ngwaf/v1/workspaces/{workspace_id}/timeseries`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/timeseries) (GET)
651+
- [`/ngwaf/v1/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/virtual-patches) (GET, PATCH)
652+
- [`/ngwaf/v1/workspaces/{workspace_id}/virtual-patches`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/virtual-patches) (GET)
653+
- [`/ngwaf/v1/workspaces/{workspace_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspaces) (DELETE, GET, PATCH)
654+
- [`/ngwaf/v1/workspaces`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspaces) (GET, POST)
642655
- [`/notifications/integration-types`](https://developer.fastly.com/reference/api/observability/notification) (GET)
643656
- [`/notifications/integrations/{integration_id}/rotateSigningKey`](https://developer.fastly.com/reference/api/observability/notification) (POST)
644657
- [`/notifications/integrations/{integration_id}/signingKey`](https://developer.fastly.com/reference/api/observability/notification) (GET)
645658
- [`/notifications/integrations/{integration_id}`](https://developer.fastly.com/reference/api/observability/notification) (DELETE, GET, PATCH)
646659
- [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
647660
- [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
648661
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
649-
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
650-
- [`/security/workspaces/{workspace_id}/events`](https://docs.fastly.com/en/ngwaf/) (GET)
651-
- [`/security/workspaces/{workspace_id}/redactions/{redaction_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
652-
- [`/security/workspaces/{workspace_id}/redactions`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
653-
- [`/security/workspaces/{workspace_id}/requests/{request_id}`](https://docs.fastly.com/en/ngwaf/) (GET)
654-
- [`/security/workspaces/{workspace_id}/requests`](https://docs.fastly.com/en/ngwaf/) (GET)
655-
- [`/security/workspaces/{workspace_id}/rules/{rule_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
656-
- [`/security/workspaces/{workspace_id}/rules`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
657-
- [`/security/workspaces/{workspace_id}/timeseries`](https://docs.fastly.com/en/ngwaf/) (GET)
658-
- [`/security/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
659-
- [`/security/workspaces/{workspace_id}/virtual-patches`](https://docs.fastly.com/en/ngwaf/) (GET)
660-
- [`/security/workspaces/{workspace_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
661-
- [`/security/workspaces`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
662+
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/security/events) (GET, PATCH)
663+
- [`/security/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/security/events) (GET)
664+
- [`/security/workspaces/{workspace_id}/redactions/{redaction_id}`](https://www.fastly.com/documentation/reference/api/security/redactions) (DELETE, GET, PATCH)
665+
- [`/security/workspaces/{workspace_id}/redactions`](https://www.fastly.com/documentation/reference/api/security/redactions) (GET, POST)
666+
- [`/security/workspaces/{workspace_id}/requests/{request_id}`](https://www.fastly.com/documentation/reference/api/security/requests) (GET)
667+
- [`/security/workspaces/{workspace_id}/requests`](https://www.fastly.com/documentation/reference/api/security/requests) (GET)
668+
- [`/security/workspaces/{workspace_id}/rules/{rule_id}`](https://www.fastly.com/documentation/reference/api/security/rules) (DELETE, GET, PATCH)
669+
- [`/security/workspaces/{workspace_id}/rules`](https://www.fastly.com/documentation/reference/api/security/rules) (GET, POST)
670+
- [`/security/workspaces/{workspace_id}/timeseries`](https://www.fastly.com/documentation/reference/api/security/timeseries) (GET)
671+
- [`/security/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://www.fastly.com/documentation/reference/api/security/virtual-patches) (GET, PATCH)
672+
- [`/security/workspaces/{workspace_id}/virtual-patches`](https://www.fastly.com/documentation/reference/api/security/virtual-patches) (GET)
673+
- [`/security/workspaces/{workspace_id}`](https://www.fastly.com/documentation/reference/api/security/workspaces) (DELETE, GET, PATCH)
674+
- [`/security/workspaces`](https://www.fastly.com/documentation/reference/api/security/workspaces) (GET, POST)
662675
- [`/tls/activations/{tls_activation_id}`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET, PATCH)
663676
- [`/tls/activations`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET)
664677
- [`/tls/configurations/{tls_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)

docs/Backend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
2222
**name** | **str** | The name of the backend. | [optional]
2323
**override_host** | **str, none_type** | 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]
2424
**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]
25-
**prefer_ipv6** | **bool** | Prefer IPv6 connections for DNS hostname lookups. | [optional]
25+
**prefer_ipv6** | **bool, none_type** | Prefer IPv6 connections to origins for hostname backends. | [optional]
2626
**request_condition** | **str** | 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]
2727
**share_key** | **str, none_type** | Value that when shared across backends will enable those backends to share the same health check. | [optional]
2828
**shield** | **str, none_type** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional]

docs/BackendApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ with fastly.ApiClient(configuration) as api_client:
7070
name = "test-backend" # str | The name of the backend. (optional)
7171
override_host = "override_host_example" # str, none_type | 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)
7272
port = 1 # 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)
73-
prefer_ipv6 = True # bool | Prefer IPv6 connections for DNS hostname lookups. (optional)
73+
prefer_ipv6 = True # bool, none_type | Prefer IPv6 connections to origins for hostname backends. (optional)
7474
request_condition = "request_condition_example" # str | 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)
7575
share_key = "C" # str, none_type | Value that when shared across backends will enable those backends to share the same health check. (optional)
7676
shield = "shield_example" # str, none_type | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). (optional)
@@ -132,7 +132,7 @@ Name | Type | Description | Notes
132132
**name** | **str**| The name of the backend. | [optional]
133133
**override_host** | **str, none_type**| 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]
134134
**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]
135-
**prefer_ipv6** | **bool**| Prefer IPv6 connections for DNS hostname lookups. | [optional]
135+
**prefer_ipv6** | **bool, none_type**| Prefer IPv6 connections to origins for hostname backends. | [optional]
136136
**request_condition** | **str**| 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]
137137
**share_key** | **str, none_type**| Value that when shared across backends will enable those backends to share the same health check. | [optional]
138138
**shield** | **str, none_type**| Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional]
@@ -476,7 +476,7 @@ with fastly.ApiClient(configuration) as api_client:
476476
name = "test-backend" # str | The name of the backend. (optional)
477477
override_host = "override_host_example" # str, none_type | 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)
478478
port = 1 # 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)
479-
prefer_ipv6 = True # bool | Prefer IPv6 connections for DNS hostname lookups. (optional)
479+
prefer_ipv6 = True # bool, none_type | Prefer IPv6 connections to origins for hostname backends. (optional)
480480
request_condition = "request_condition_example" # str | 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)
481481
share_key = "C" # str, none_type | Value that when shared across backends will enable those backends to share the same health check. (optional)
482482
shield = "shield_example" # str, none_type | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). (optional)
@@ -539,7 +539,7 @@ Name | Type | Description | Notes
539539
**name** | **str**| The name of the backend. | [optional]
540540
**override_host** | **str, none_type**| 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]
541541
**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]
542-
**prefer_ipv6** | **bool**| Prefer IPv6 connections for DNS hostname lookups. | [optional]
542+
**prefer_ipv6** | **bool, none_type**| Prefer IPv6 connections to origins for hostname backends. | [optional]
543543
**request_condition** | **str**| 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]
544544
**share_key** | **str, none_type**| Value that when shared across backends will enable those backends to share the same health check. | [optional]
545545
**shield** | **str, none_type**| Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional]

docs/BackendResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
2222
**name** | **str** | The name of the backend. | [optional]
2323
**override_host** | **str, none_type** | 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]
2424
**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]
25-
**prefer_ipv6** | **bool** | Prefer IPv6 connections for DNS hostname lookups. | [optional]
25+
**prefer_ipv6** | **bool, none_type** | Prefer IPv6 connections to origins for hostname backends. | [optional]
2626
**request_condition** | **str** | 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]
2727
**share_key** | **str, none_type** | Value that when shared across backends will enable those backends to share the same health check. | [optional]
2828
**shield** | **str, none_type** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional]

docs/LoggingPlacement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Where in the generated VCL the logging call should be placed. If not set, endpoi
55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**value** | **str** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | must be one of ["none", "waf_debug", "null", ]
8+
**value** | **str** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | must be one of ["none", "null", ]
99

1010
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1111

docs/Results.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ Name | Type | Description | Notes
268268
**compute_cache_operations_count** | **int** | Number of cache operations executed by the Compute platform. | [optional]
269269
**ngwaf_requests_total_count** | **int** | Total number of Next-Gen WAF (Edge WAF & Core WAF) requests. | [optional]
270270
**ngwaf_requests_unknown_count** | **int** | Count of Edge WAF requests with an unknown outcome. | [optional]
271-
**ngwaf_requests_allowed_count** | **int** | Count of Edge WAF requests allowed. | [optional]
271+
**ngwaf_requests_allowed_count** | **int** | Count of Next-Gen WAF (Edge WAF & Core WAF) requests allowed. | [optional]
272272
**ngwaf_requests_logged_count** | **int** | Count of Edge WAF requests logged. | [optional]
273-
**ngwaf_requests_blocked_count** | **int** | Count of Edge WAF requests blocked. | [optional]
273+
**ngwaf_requests_blocked_count** | **int** | Count of Next-Gen WAF (Edge WAF & Core WAF) requests blocked. | [optional]
274274
**ngwaf_requests_timeout_count** | **int** | Count of Edge WAF requests timed outcome. | [optional]
275275
**ngwaf_requests_challenged_count** | **int** | Count of Edge WAF requests challenged. | [optional]
276276
**service_id** | **str** | | [optional] [readonly]

docs/ServiceApi.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ with fastly.ApiClient(configuration) as api_client:
297297
api_instance = service_api.ServiceApi(api_client)
298298
service_id = "SU1Z0isxPaozGVKXdv0eY" # str | Alphanumeric string identifying the service.
299299
version = NumberVersion(1) # NumberVersion | Number identifying a version of the service. (optional)
300+
filter_versions_active = True # bool | Limits the versions array to the active versions. Accepts `true` or `false` (defaults to false). (optional)
300301

301302
# example passing only required values which don't have defaults set
302303
try:
@@ -310,7 +311,7 @@ with fastly.ApiClient(configuration) as api_client:
310311
# and optional values
311312
try:
312313
# Get service details
313-
api_response = api_instance.get_service_detail(service_id, version=version)
314+
api_response = api_instance.get_service_detail(service_id, version=version, filter_versions_active=filter_versions_active)
314315
pprint(api_response)
315316
except fastly.ApiException as e:
316317
print("Exception when calling ServiceApi->get_service_detail: %s\n" % e)
@@ -323,6 +324,7 @@ Name | Type | Description | Notes
323324
------------- | ------------- | ------------- | -------------
324325
**service_id** | **str**| Alphanumeric string identifying the service. |
325326
**version** | **NumberVersion**| Number identifying a version of the service. | [optional]
327+
**filter_versions_active** | **bool**| Limits the versions array to the active versions. Accepts `true` or `false` (defaults to false). | [optional]
326328

327329
### Return type
328330

fastly/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212

13-
__version__ = "9.0.0"
13+
__version__ = "10.0.0"
1414

1515
# import ApiClient
1616
from fastly.api_client import ApiClient

0 commit comments

Comments
 (0)