Skip to content

Commit 66e1eda

Browse files
author
github-actions
committed
Generated v4.5.0
1 parent aa34aa8 commit 66e1eda

20 files changed

+455
-13
lines changed

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Changelog
22

3+
## [v4.5.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.5.0) (2024-04-25)
4+
5+
**Bug fixes:**
6+
7+
- bugfix(billing_address, invitations): Correct customer relationship schema to be single entry rather than array
8+
- bugfix(request_settings): Mark request_settings fields as nullable: bypass_busy_wait, force_miss, geo_headers,
9+
max_stale_age, timer_support, and xff
10+
11+
**Enhancements:**
12+
13+
- feat(generator): The API Client Generator now uses a new automatic changelog generation process.
14+
- feat(realtime): Add the following new metrics: `ddos_action_downgrade`,
15+
`ddos_action_downgraded_connections`, `vcl_on_compute_hit_requests`, `vcl_on_compute_miss_requests`,
16+
`vcl_on_compute_pass_requests`, `vcl_on_compute_error_requests`, `vcl_on_compute_synth_requests`,
17+
`vcl_on_compute_edge_hit_requests`, `vcl_on_compute_edge_miss_requests`, `all_hit_requests`,
18+
`all_miss_requests`, `all_pass_requests`, `all_error_requests`, `all_synth_requests`, `all_edge_hit_requests`,
19+
`all_edge_miss_requests`, `all_status_1xx`, `all_status_2xx`, `all_status_3xx`, `all_status_4xx`, and
20+
`all_status_5xx`.
21+
- feat(backend): Add `tcp_keepalive_*` properties to the Backend API, which allow configuring TCP keepalives for
22+
backend connections.
23+
24+
**Documentation:**
25+
26+
- doc(realtime): Correct description of miss_histogram structure in real-time stats.
27+
328
## [v4.4.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.4.0) (2024-02-28)
429

530
**Enhancements:**

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastly-api"
3-
version = "4.4.0"
3+
version = "4.5.0"
44
authors = ["Fastly <[email protected]>"]
55
edition = "2021"
66
description = "Fastly API client"

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Rust 2021 Edition
1414
Add the following to `Cargo.toml` under `[dependencies]`:
1515

1616
```toml
17-
fastly-api = "4.4.0"
17+
fastly-api = "4.5.0"
1818
```
1919

2020
## Usage
@@ -603,6 +603,12 @@ The fastly-rust API client currently does not support the following endpoints:
603603
- [`/alerts/definitions/{definition_id}`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (DELETE, GET, PUT)
604604
- [`/alerts/definitions`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (GET, POST)
605605
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
606+
- [`/notifications/integration-types`](https://developer.fastly.com/reference/api/observability/notification) (GET)
607+
- [`/notifications/integrations/{integration_id}/rotateSigningKey`](https://developer.fastly.com/reference/api/observability/notification) (POST)
608+
- [`/notifications/integrations/{integration_id}/signingKey`](https://developer.fastly.com/reference/api/observability/notification) (GET)
609+
- [`/notifications/integrations/{integration_id}`](https://developer.fastly.com/reference/api/observability/notification) (DELETE, GET, PATCH)
610+
- [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
611+
- [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
606612
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
607613
- [`/service/{service_id}/version/{version_id}/director`](https://www.fastly.com/documentation/reference/api/load-balancing/directors/director) (POST)
608614
- [`/stats/aggregate`](https://www.fastly.com/documentation/reference/api/metrics-stats/historical-stats) (GET)

docs/Backend.md

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ Name | Type | Description | Notes
3333
**ssl_client_key** | Option<**String**> | Client key attached to origin. |
3434
**ssl_hostname** | Option<**String**> | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. |
3535
**ssl_sni_hostname** | Option<**String**> | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. |
36+
**tcp_keepalive_enable** | Option<**bool**> | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. |
37+
**tcp_keepalive_interval** | Option<**i32**> | Interval in seconds between subsequent keepalive probes. |
38+
**tcp_keepalive_probes** | Option<**i32**> | Number of unacknowledged probes to send before considering the connection dead. |
39+
**tcp_keepalive_time** | Option<**i32**> | Interval in seconds between the last data packet sent and the first keepalive probe. |
3640
**use_ssl** | Option<**bool**> | Whether or not to require TLS for connections to this backend. |
3741
**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. |
3842

docs/BackendApi.md

+8
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ Name | Type | Description | Required | Notes
6060
**ssl_client_key** | Option\<**String**> | Client key attached to origin. | |
6161
**ssl_hostname** | Option\<**String**> | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | |
6262
**ssl_sni_hostname** | Option\<**String**> | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. | |
63+
**tcp_keepalive_enable** | Option\<**bool**> | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. | |
64+
**tcp_keepalive_interval** | Option\<**i32**> | Interval in seconds between subsequent keepalive probes. | |
65+
**tcp_keepalive_probes** | Option\<**i32**> | Number of unacknowledged probes to send before considering the connection dead. | |
66+
**tcp_keepalive_time** | Option\<**i32**> | Interval in seconds between the last data packet sent and the first keepalive probe. | |
6367
**use_ssl** | Option\<**bool**> | Whether or not to require TLS for connections to this backend. | |
6468
**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. | |
6569

@@ -238,6 +242,10 @@ Name | Type | Description | Required | Notes
238242
**ssl_client_key** | Option\<**String**> | Client key attached to origin. | |
239243
**ssl_hostname** | Option\<**String**> | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | |
240244
**ssl_sni_hostname** | Option\<**String**> | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. | |
245+
**tcp_keepalive_enable** | Option\<**bool**> | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. | |
246+
**tcp_keepalive_interval** | Option\<**i32**> | Interval in seconds between subsequent keepalive probes. | |
247+
**tcp_keepalive_probes** | Option\<**i32**> | Number of unacknowledged probes to send before considering the connection dead. | |
248+
**tcp_keepalive_time** | Option\<**i32**> | Interval in seconds between the last data packet sent and the first keepalive probe. | |
241249
**use_ssl** | Option\<**bool**> | Whether or not to require TLS for connections to this backend. | |
242250
**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. | |
243251

docs/BackendResponse.md

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ Name | Type | Description | Notes
3333
**ssl_client_key** | Option<**String**> | Client key attached to origin. |
3434
**ssl_hostname** | Option<**String**> | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. |
3535
**ssl_sni_hostname** | Option<**String**> | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. |
36+
**tcp_keepalive_enable** | Option<**bool**> | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. |
37+
**tcp_keepalive_interval** | Option<**i32**> | Interval in seconds between subsequent keepalive probes. |
38+
**tcp_keepalive_probes** | Option<**i32**> | Number of unacknowledged probes to send before considering the connection dead. |
39+
**tcp_keepalive_time** | Option<**i32**> | Interval in seconds between the last data packet sent and the first keepalive probe. |
3640
**use_ssl** | Option<**bool**> | Whether or not to require TLS for connections to this backend. |
3741
**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. |
3842
**created_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]

docs/RealtimeEntryAggregated.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818
**errors** | Option<**i32**> | Number of cache errors. |
1919
**hits_time** | Option<**f32**> | Total amount of time spent processing cache hits (in seconds). |
2020
**miss_time** | Option<**f32**> | Total amount of time spent processing cache misses (in seconds). |
21-
**miss_histogram** | Option<[**::std::collections::HashMap&lt;String, serde_json::Value&gt;**](SerdeJsonValue.md)> | A histogram. Each key represents the upper bound of a span of 10 milliseconds and the values represent the number of requests to origin during that 10ms period. Any origin request that takes more than 60 seconds to return will be in the 60000 bucket. |
21+
**miss_histogram** | Option<[**::std::collections::HashMap&lt;String, serde_json::Value&gt;**](SerdeJsonValue.md)> | A histogram. The value in each bucket is the number of requests to the origin whose responses arrived during the time period represented by the bucket. The key of each bucket represents the upper bound (in response time) of that bucket. The buckets vary in width and cover the time periods 0-10ms (in 1ms increments), 10-250ms (in 10ms increments), 250-1,000ms (in 50ms increments), 1,000-3,000ms (in 100ms increments), 3,000-10,000ms (in 500 ms increments), 10,000-20,000ms (in 1,000ms increments), 20,000-60,000ms (in 5,000ms increments), and 60,000ms through infinity (in a single bucket). |
2222
**compute_requests** | Option<**i32**> | The total number of requests that were received for your service by Fastly. |
2323
**compute_execution_time_ms** | Option<**f32**> | The amount of active CPU time used to process your requests (in milliseconds). |
2424
**compute_ram_used** | Option<**i32**> | The amount of RAM used for your service by Fastly (in bytes). |
@@ -231,6 +231,27 @@ Name | Type | Description | Notes
231231
**bot_challenges_succeeded** | Option<**i32**> | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. |
232232
**bot_challenges_failed** | Option<**i32**> | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. |
233233
**bot_challenge_complete_tokens_issued** | Option<**i32**> | The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success. |
234+
**ddos_action_downgrade** | Option<**i32**> | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. |
235+
**ddos_action_downgraded_connections** | Option<**i32**> | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. |
236+
**vcl_on_compute_hit_requests** | Option<**i32**> | Number of cache hits for a VCL service running on Compute. |
237+
**vcl_on_compute_miss_requests** | Option<**i32**> | Number of cache misses for a VCL service running on Compute. |
238+
**vcl_on_compute_pass_requests** | Option<**i32**> | Number of requests that passed through the CDN without being cached for a VCL service running on Compute. |
239+
**vcl_on_compute_error_requests** | Option<**i32**> | Number of cache errors for a VCL service running on Compute. |
240+
**vcl_on_compute_synth_requests** | Option<**i32**> | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. |
241+
**vcl_on_compute_edge_hit_requests** | Option<**i32**> | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. |
242+
**vcl_on_compute_edge_miss_requests** | Option<**i32**> | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. |
243+
**all_hit_requests** | Option<**i32**> | Number of cache hits for a VCL service. |
244+
**all_miss_requests** | Option<**i32**> | Number of cache misses for a VCL service. |
245+
**all_pass_requests** | Option<**i32**> | Number of requests that passed through the CDN without being cached for a VCL service. |
246+
**all_error_requests** | Option<**i32**> | Number of cache errors for a VCL service. |
247+
**all_synth_requests** | Option<**i32**> | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service. |
248+
**all_edge_hit_requests** | Option<**i32**> | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service. |
249+
**all_edge_miss_requests** | Option<**i32**> | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service. |
250+
**all_status_1xx** | Option<**i32**> | Number of \"Informational\" category status codes delivered for all sources. |
251+
**all_status_2xx** | Option<**i32**> | Number of \"Success\" status codes delivered for all sources. |
252+
**all_status_3xx** | Option<**i32**> | Number of \"Redirection\" codes delivered for all sources. |
253+
**all_status_4xx** | Option<**i32**> | Number of \"Client Error\" codes delivered for all sources. |
254+
**all_status_5xx** | Option<**i32**> | Number of \"Server Error\" codes delivered for all sources. |
234255

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

docs/RealtimeMeasurements.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818
**errors** | Option<**i32**> | Number of cache errors. |
1919
**hits_time** | Option<**f32**> | Total amount of time spent processing cache hits (in seconds). |
2020
**miss_time** | Option<**f32**> | Total amount of time spent processing cache misses (in seconds). |
21-
**miss_histogram** | Option<[**::std::collections::HashMap&lt;String, serde_json::Value&gt;**](SerdeJsonValue.md)> | A histogram. Each key represents the upper bound of a span of 10 milliseconds and the values represent the number of requests to origin during that 10ms period. Any origin request that takes more than 60 seconds to return will be in the 60000 bucket. |
21+
**miss_histogram** | Option<[**::std::collections::HashMap&lt;String, serde_json::Value&gt;**](SerdeJsonValue.md)> | A histogram. The value in each bucket is the number of requests to the origin whose responses arrived during the time period represented by the bucket. The key of each bucket represents the upper bound (in response time) of that bucket. The buckets vary in width and cover the time periods 0-10ms (in 1ms increments), 10-250ms (in 10ms increments), 250-1,000ms (in 50ms increments), 1,000-3,000ms (in 100ms increments), 3,000-10,000ms (in 500 ms increments), 10,000-20,000ms (in 1,000ms increments), 20,000-60,000ms (in 5,000ms increments), and 60,000ms through infinity (in a single bucket). |
2222
**compute_requests** | Option<**i32**> | The total number of requests that were received for your service by Fastly. |
2323
**compute_execution_time_ms** | Option<**f32**> | The amount of active CPU time used to process your requests (in milliseconds). |
2424
**compute_ram_used** | Option<**i32**> | The amount of RAM used for your service by Fastly (in bytes). |
@@ -231,6 +231,27 @@ Name | Type | Description | Notes
231231
**bot_challenges_succeeded** | Option<**i32**> | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. |
232232
**bot_challenges_failed** | Option<**i32**> | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. |
233233
**bot_challenge_complete_tokens_issued** | Option<**i32**> | The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success. |
234+
**ddos_action_downgrade** | Option<**i32**> | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. |
235+
**ddos_action_downgraded_connections** | Option<**i32**> | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. |
236+
**vcl_on_compute_hit_requests** | Option<**i32**> | Number of cache hits for a VCL service running on Compute. |
237+
**vcl_on_compute_miss_requests** | Option<**i32**> | Number of cache misses for a VCL service running on Compute. |
238+
**vcl_on_compute_pass_requests** | Option<**i32**> | Number of requests that passed through the CDN without being cached for a VCL service running on Compute. |
239+
**vcl_on_compute_error_requests** | Option<**i32**> | Number of cache errors for a VCL service running on Compute. |
240+
**vcl_on_compute_synth_requests** | Option<**i32**> | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. |
241+
**vcl_on_compute_edge_hit_requests** | Option<**i32**> | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. |
242+
**vcl_on_compute_edge_miss_requests** | Option<**i32**> | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. |
243+
**all_hit_requests** | Option<**i32**> | Number of cache hits for a VCL service. |
244+
**all_miss_requests** | Option<**i32**> | Number of cache misses for a VCL service. |
245+
**all_pass_requests** | Option<**i32**> | Number of requests that passed through the CDN without being cached for a VCL service. |
246+
**all_error_requests** | Option<**i32**> | Number of cache errors for a VCL service. |
247+
**all_synth_requests** | Option<**i32**> | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service. |
248+
**all_edge_hit_requests** | Option<**i32**> | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service. |
249+
**all_edge_miss_requests** | Option<**i32**> | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service. |
250+
**all_status_1xx** | Option<**i32**> | Number of \"Informational\" category status codes delivered for all sources. |
251+
**all_status_2xx** | Option<**i32**> | Number of \"Success\" status codes delivered for all sources. |
252+
**all_status_3xx** | Option<**i32**> | Number of \"Redirection\" codes delivered for all sources. |
253+
**all_status_4xx** | Option<**i32**> | Number of \"Client Error\" codes delivered for all sources. |
254+
**all_status_5xx** | Option<**i32**> | Number of \"Server Error\" codes delivered for all sources. |
234255

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

docs/RelationshipCustomerCustomer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**data** | Option<[**Vec&lt;crate::models::RelationshipMemberCustomer&gt;**](RelationshipMemberCustomer.md)> | |
7+
**data** | Option<[**crate::models::RelationshipMemberCustomer**](RelationshipMemberCustomer.md)> | |
88

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

0 commit comments

Comments
 (0)