Skip to content

Commit d4eaa0e

Browse files
author
github-actions
committed
Generated v10.0.0
1 parent 6a2f63b commit d4eaa0e

File tree

67 files changed

+886
-518
lines changed

Some content is hidden

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

67 files changed

+886
-518
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+
## [v10.0.0](https://github.com/fastly/fastly-rust/releases/tag/release/v10.0.0) (2025-08-28)
4+
5+
**Breaking Changes:**
6+
7+
- removed(ddos_protection): Remove enum configs `ddos_protection_action` and ``ddos_protection_traffic_attribute`.
8+
- changed(backend): Added default values to `tcp_keepalive_interval`, `tcp_keepalive_probes`, and `tcp_keepalive_time` properties.
9+
- removed(tls_subscriptions): Remove `force` parameter from TLS subscriptions.
10+
11+
12+
**Enhancements:**
13+
14+
- feat(ngwaf_reports): Add Get attacks report endpoint.
15+
- feat(kv_store): Add `name` parameter to the List KV stores endpoint.
16+
- feat(ddos_protection): Add PATCH endpoint in the Fastly DDoS Protection Events API allowing customers to update the DDoS rules action to `log`, `block`, `default`, or `off`.
17+
18+
19+
**Documentation:**
20+
21+
- doc(backend, pool): Describe difference in behavior of `between_bytes_timeout` between
22+
Deliver and Compute services.
23+
- doc(ddos_protection): Update GET API docs describing that they can be accessed by any user role as long as the service belongs to the customer.
24+
25+
326
## [v9.1.0](https://github.com/fastly/fastly-rust/releases/tag/release/v9.1.0) (2025-07-07)
427

528
**Bug fixes:**

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastly-api"
3-
version = "9.1.0"
3+
version = "10.0.0"
44
authors = ["Fastly <[email protected]>"]
55
edition = "2021"
66
description = "Fastly API client"

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Rust 2021 Edition
1515
Add the following to `Cargo.toml` under `[dependencies]`:
1616

1717
```toml
18-
fastly-api = "9.1.0"
18+
fastly-api = "10.0.0"
1919
```
2020

2121
## Usage
@@ -164,6 +164,7 @@ Class | Method | Description
164164
*DdosProtectionApi* | [**ddos_protection_event_list**](docs/DdosProtectionApi.md#ddos_protection_event_list) | Get events
165165
*DdosProtectionApi* | [**ddos_protection_event_rule_list**](docs/DdosProtectionApi.md#ddos_protection_event_rule_list) | Get all rules for an event
166166
*DdosProtectionApi* | [**ddos_protection_rule_get**](docs/DdosProtectionApi.md#ddos_protection_rule_get) | Get a rule by ID
167+
*DdosProtectionApi* | [**ddos_protection_rule_patch**](docs/DdosProtectionApi.md#ddos_protection_rule_patch) | Update rule
167168
*DdosProtectionApi* | [**ddos_protection_traffic_stats_rule_get**](docs/DdosProtectionApi.md#ddos_protection_traffic_stats_rule_get) | Get traffic stats for a rule
168169
*DictionaryApi* | [**create_dictionary**](docs/DictionaryApi.md#create_dictionary) | Create a dictionary
169170
*DictionaryApi* | [**delete_dictionary**](docs/DictionaryApi.md#delete_dictionary) | Delete a dictionary
@@ -408,6 +409,8 @@ Class | Method | Description
408409
*MutualAuthenticationApi* | [**get_mutual_authentication**](docs/MutualAuthenticationApi.md#get_mutual_authentication) | Get a Mutual Authentication
409410
*MutualAuthenticationApi* | [**list_mutual_authentications**](docs/MutualAuthenticationApi.md#list_mutual_authentications) | List Mutual Authentications
410411
*MutualAuthenticationApi* | [**patch_mutual_authentication**](docs/MutualAuthenticationApi.md#patch_mutual_authentication) | Update a Mutual Authentication
412+
*NgwafReportsApi* | [**get_attacks_report**](docs/NgwafReportsApi.md#get_attacks_report) | Get attacks report
413+
*NgwafReportsApi* | [**get_signals_report**](docs/NgwafReportsApi.md#get_signals_report) | Get signals report
411414
*ObjectStorageAccessKeysApi* | [**create_access_key**](docs/ObjectStorageAccessKeysApi.md#create_access_key) | Create an access key
412415
*ObjectStorageAccessKeysApi* | [**delete_access_key**](docs/ObjectStorageAccessKeysApi.md#delete_access_key) | Delete an access key
413416
*ObjectStorageAccessKeysApi* | [**get_access_key**](docs/ObjectStorageAccessKeysApi.md#get_access_key) | Get an access key
@@ -418,7 +421,6 @@ Class | Method | Description
418421
*ObservabilityCustomDashboardsApi* | [**get_dashboard**](docs/ObservabilityCustomDashboardsApi.md#get_dashboard) | Retrieve a dashboard by ID
419422
*ObservabilityCustomDashboardsApi* | [**list_dashboards**](docs/ObservabilityCustomDashboardsApi.md#list_dashboards) | List all custom dashboards
420423
*ObservabilityCustomDashboardsApi* | [**update_dashboard**](docs/ObservabilityCustomDashboardsApi.md#update_dashboard) | Update an existing dashboard
421-
*ObservabilityTimeseriesForLogsApi* | [**log_timeseries_get**](docs/ObservabilityTimeseriesForLogsApi.md#log_timeseries_get) | Retrieve log data as time series
422424
*OriginInspectorHistoricalApi* | [**get_origin_inspector_historical**](docs/OriginInspectorHistoricalApi.md#get_origin_inspector_historical) | Get historical origin data for a service
423425
*OriginInspectorRealtimeApi* | [**get_origin_inspector_last120_seconds**](docs/OriginInspectorRealtimeApi.md#get_origin_inspector_last120_seconds) | Get real-time origin data for the last 120 seconds
424426
*OriginInspectorRealtimeApi* | [**get_origin_inspector_last_max_entries**](docs/OriginInspectorRealtimeApi.md#get_origin_inspector_last_max_entries) | Get a limited number of real-time origin data entries
@@ -643,10 +645,17 @@ The fastly-rust API client currently does not support the following endpoints:
643645
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
644646
- [`/dns/configurations/{dns_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
645647
- [`/dns/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
648+
- [`/domain-management/v1/domains/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
649+
- [`/domain-management/v1/domains`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
646650
- [`/domains/v1/tools/status`](https://www.fastly.com/documentation/reference/api/) (GET)
647651
- [`/domains/v1/tools/suggest`](https://www.fastly.com/documentation/reference/api/) (GET)
648-
- [`/domains/v1/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
649-
- [`/domains/v1`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
652+
- [`/ngwaf/v1/lists/{listId}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (DELETE, GET, PATCH)
653+
- [`/ngwaf/v1/lists`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (GET, POST)
654+
- [`/ngwaf/v1/signals/{signal_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/signals) (DELETE, GET, PATCH)
655+
- [`/ngwaf/v1/signals`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/signals) (GET, POST)
656+
- [`/ngwaf/v1/timeseries`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/timeseries) (GET)
657+
- [`/ngwaf/v1/workspaces/{workspaceId}/lists/{listId}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (DELETE, GET, PATCH)
658+
- [`/ngwaf/v1/workspaces/{workspaceId}/lists`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (GET, POST)
650659
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts/{alert_id}/signing-key`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (GET, POST)
651660
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts/{alert_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (DELETE, GET, PATCH)
652661
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (GET, POST)
@@ -669,6 +678,9 @@ The fastly-rust API client currently does not support the following endpoints:
669678
- [`/notifications/integrations/{integration_id}`](https://developer.fastly.com/reference/api/observability/notification) (DELETE, GET, PATCH)
670679
- [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
671680
- [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
681+
- [`/observability/timeseries`](https://www.fastly.com/documentation/reference/api/observability/timeseries/) (GET)
682+
- [`/observability/timeseries`](https://www.fastly.com/documentation/reference/api/observability/timeseries/logs/) (GET)
683+
- [`/observability/timeseries`](https://www.fastly.com/documentation/reference/api/observability/timeseries/sustainability/) (GET)
672684
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
673685
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/security/events) (GET, PATCH)
674686
- [`/security/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/security/events) (GET)

docs/AttackReport.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# AttackReport
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **String** | ID of the workspace. |
8+
**name** | **String** | Name of the workspace. |
9+
**total_count** | **i32** | Total request count |
10+
**blocked_count** | **i32** | Blocked request count |
11+
**flagged_count** | **i32** | Flagged request count |
12+
**attack_count** | **i32** | Attack request count |
13+
**all_flagged_ip_count** | **i32** | Count of IPs that have been flagged |
14+
**flagged_ip_count** | **i32** | Count of currently flagged IPs |
15+
**top_attack_signals** | [**Vec&lt;crate::models::AttackSignal&gt;**](AttackSignal.md) | |
16+
**top_attack_sources** | [**Vec&lt;crate::models::AttackSource&gt;**](AttackSource.md) | |
17+
18+
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
19+
20+

docs/LogTimeseriesResultDimensions.md renamed to docs/AttackSignal.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# LogTimeseriesResultDimensions
1+
# AttackSignal
22

33
## Properties
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**time** | Option<**String**> | |
7+
**tag_name** | **String** | Name of the attack signal tag |
8+
**tag_count** | **i32** | Count of requests with this attack signal |
9+
**total_count** | **i32** | Total number of attacks considered |
810

911
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1012

docs/AttackSource.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# AttackSource
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**country_code** | **String** | Country code of the attack source |
8+
**country_name** | **String** | Name of the country |
9+
**request_count** | **i32** | Number of requests from this country |
10+
**total_count** | **i32** | Total number of attacks considered |
11+
12+
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+

docs/Backend.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**address** | Option<**String**> | A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend. |
88
**auto_loadbalance** | Option<**bool**> | Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don't have a `request_condition` will be selected based on their `weight`. |
9-
**between_bytes_timeout** | Option<**i32**> | Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. |
9+
**between_bytes_timeout** | Option<**i32**> | Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using `bereq.between_bytes_timeout`. |
1010
**client_cert** | Option<**String**> | Unused. |
1111
**comment** | Option<**String**> | A freeform descriptive note. |
1212
**connect_timeout** | Option<**i32**> | Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`. |
@@ -35,9 +35,9 @@ Name | Type | Description | Notes
3535
**ssl_hostname** | Option<**String**> | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. |
3636
**ssl_sni_hostname** | Option<**String**> | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. |
3737
**tcp_keepalive_enable** | Option<**bool**> | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. |
38-
**tcp_keepalive_interval** | Option<**i32**> | Interval in seconds between subsequent keepalive probes. |
39-
**tcp_keepalive_probes** | Option<**i32**> | Number of unacknowledged probes to send before considering the connection dead. |
40-
**tcp_keepalive_time** | Option<**i32**> | Interval in seconds between the last data packet sent and the first keepalive probe. |
38+
**tcp_keepalive_interval** | Option<**i32**> | Interval in seconds between subsequent keepalive probes. | [default to 10]
39+
**tcp_keepalive_probes** | Option<**i32**> | Number of unacknowledged probes to send before considering the connection dead. | [default to 3]
40+
**tcp_keepalive_time** | Option<**i32**> | Interval in seconds between the last data packet sent and the first keepalive probe. | [default to 300]
4141
**use_ssl** | Option<**bool**> | Whether or not to require TLS for connections to this backend. |
4242
**weight** | Option<**i32**> | Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true. |
4343

0 commit comments

Comments
 (0)