Skip to content

Commit

Permalink
Generated v4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Apr 26, 2024
1 parent aa34aa8 commit 66e1eda
Show file tree
Hide file tree
Showing 20 changed files with 455 additions and 13 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## [v4.5.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.5.0) (2024-04-25)

**Bug fixes:**

- bugfix(billing_address, invitations): Correct customer relationship schema to be single entry rather than array
- bugfix(request_settings): Mark request_settings fields as nullable: bypass_busy_wait, force_miss, geo_headers,
max_stale_age, timer_support, and xff

**Enhancements:**

- feat(generator): The API Client Generator now uses a new automatic changelog generation process.
- feat(realtime): Add the following new metrics: `ddos_action_downgrade`,
`ddos_action_downgraded_connections`, `vcl_on_compute_hit_requests`, `vcl_on_compute_miss_requests`,
`vcl_on_compute_pass_requests`, `vcl_on_compute_error_requests`, `vcl_on_compute_synth_requests`,
`vcl_on_compute_edge_hit_requests`, `vcl_on_compute_edge_miss_requests`, `all_hit_requests`,
`all_miss_requests`, `all_pass_requests`, `all_error_requests`, `all_synth_requests`, `all_edge_hit_requests`,
`all_edge_miss_requests`, `all_status_1xx`, `all_status_2xx`, `all_status_3xx`, `all_status_4xx`, and
`all_status_5xx`.
- feat(backend): Add `tcp_keepalive_*` properties to the Backend API, which allow configuring TCP keepalives for
backend connections.

**Documentation:**

- doc(realtime): Correct description of miss_histogram structure in real-time stats.

## [v4.4.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.4.0) (2024-02-28)

**Enhancements:**
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fastly-api"
version = "4.4.0"
version = "4.5.0"
authors = ["Fastly <[email protected]>"]
edition = "2021"
description = "Fastly API client"
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Rust 2021 Edition
Add the following to `Cargo.toml` under `[dependencies]`:

```toml
fastly-api = "4.4.0"
fastly-api = "4.5.0"
```

## Usage
Expand Down Expand Up @@ -603,6 +603,12 @@ The fastly-rust API client currently does not support the following endpoints:
- [`/alerts/definitions/{definition_id}`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (DELETE, GET, PUT)
- [`/alerts/definitions`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (GET, POST)
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
- [`/notifications/integration-types`](https://developer.fastly.com/reference/api/observability/notification) (GET)
- [`/notifications/integrations/{integration_id}/rotateSigningKey`](https://developer.fastly.com/reference/api/observability/notification) (POST)
- [`/notifications/integrations/{integration_id}/signingKey`](https://developer.fastly.com/reference/api/observability/notification) (GET)
- [`/notifications/integrations/{integration_id}`](https://developer.fastly.com/reference/api/observability/notification) (DELETE, GET, PATCH)
- [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
- [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
- [`/service/{service_id}/version/{version_id}/director`](https://www.fastly.com/documentation/reference/api/load-balancing/directors/director) (POST)
- [`/stats/aggregate`](https://www.fastly.com/documentation/reference/api/metrics-stats/historical-stats) (GET)
Expand Down
4 changes: 4 additions & 0 deletions docs/Backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Name | Type | Description | Notes
**ssl_client_key** | Option<**String**> | Client key attached to origin. |
**ssl_hostname** | Option<**String**> | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. |
**ssl_sni_hostname** | Option<**String**> | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. |
**tcp_keepalive_enable** | Option<**bool**> | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. |
**tcp_keepalive_interval** | Option<**i32**> | Interval in seconds between subsequent keepalive probes. |
**tcp_keepalive_probes** | Option<**i32**> | Number of unacknowledged probes to send before considering the connection dead. |
**tcp_keepalive_time** | Option<**i32**> | Interval in seconds between the last data packet sent and the first keepalive probe. |
**use_ssl** | Option<**bool**> | Whether or not to require TLS for connections to this backend. |
**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. |

Expand Down
8 changes: 8 additions & 0 deletions docs/BackendApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ Name | Type | Description | Required | Notes
**ssl_client_key** | Option\<**String**> | Client key attached to origin. | |
**ssl_hostname** | Option\<**String**> | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | |
**ssl_sni_hostname** | Option\<**String**> | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. | |
**tcp_keepalive_enable** | Option\<**bool**> | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. | |
**tcp_keepalive_interval** | Option\<**i32**> | Interval in seconds between subsequent keepalive probes. | |
**tcp_keepalive_probes** | Option\<**i32**> | Number of unacknowledged probes to send before considering the connection dead. | |
**tcp_keepalive_time** | Option\<**i32**> | Interval in seconds between the last data packet sent and the first keepalive probe. | |
**use_ssl** | Option\<**bool**> | Whether or not to require TLS for connections to this backend. | |
**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. | |

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

Expand Down
4 changes: 4 additions & 0 deletions docs/BackendResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Name | Type | Description | Notes
**ssl_client_key** | Option<**String**> | Client key attached to origin. |
**ssl_hostname** | Option<**String**> | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. |
**ssl_sni_hostname** | Option<**String**> | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. |
**tcp_keepalive_enable** | Option<**bool**> | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. |
**tcp_keepalive_interval** | Option<**i32**> | Interval in seconds between subsequent keepalive probes. |
**tcp_keepalive_probes** | Option<**i32**> | Number of unacknowledged probes to send before considering the connection dead. |
**tcp_keepalive_time** | Option<**i32**> | Interval in seconds between the last data packet sent and the first keepalive probe. |
**use_ssl** | Option<**bool**> | Whether or not to require TLS for connections to this backend. |
**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. |
**created_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
Expand Down
23 changes: 22 additions & 1 deletion docs/RealtimeEntryAggregated.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**errors** | Option<**i32**> | Number of cache errors. |
**hits_time** | Option<**f32**> | Total amount of time spent processing cache hits (in seconds). |
**miss_time** | Option<**f32**> | Total amount of time spent processing cache misses (in seconds). |
**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. |
**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). |
**compute_requests** | Option<**i32**> | The total number of requests that were received for your service by Fastly. |
**compute_execution_time_ms** | Option<**f32**> | The amount of active CPU time used to process your requests (in milliseconds). |
**compute_ram_used** | Option<**i32**> | The amount of RAM used for your service by Fastly (in bytes). |
Expand Down Expand Up @@ -231,6 +231,27 @@ Name | Type | Description | Notes
**bot_challenges_succeeded** | Option<**i32**> | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. |
**bot_challenges_failed** | Option<**i32**> | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. |
**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. |
**ddos_action_downgrade** | Option<**i32**> | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. |
**ddos_action_downgraded_connections** | Option<**i32**> | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. |
**vcl_on_compute_hit_requests** | Option<**i32**> | Number of cache hits for a VCL service running on Compute. |
**vcl_on_compute_miss_requests** | Option<**i32**> | Number of cache misses for a VCL service running on Compute. |
**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. |
**vcl_on_compute_error_requests** | Option<**i32**> | Number of cache errors for a VCL service running on Compute. |
**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. |
**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. |
**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. |
**all_hit_requests** | Option<**i32**> | Number of cache hits for a VCL service. |
**all_miss_requests** | Option<**i32**> | Number of cache misses for a VCL service. |
**all_pass_requests** | Option<**i32**> | Number of requests that passed through the CDN without being cached for a VCL service. |
**all_error_requests** | Option<**i32**> | Number of cache errors for a VCL service. |
**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. |
**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. |
**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. |
**all_status_1xx** | Option<**i32**> | Number of \"Informational\" category status codes delivered for all sources. |
**all_status_2xx** | Option<**i32**> | Number of \"Success\" status codes delivered for all sources. |
**all_status_3xx** | Option<**i32**> | Number of \"Redirection\" codes delivered for all sources. |
**all_status_4xx** | Option<**i32**> | Number of \"Client Error\" codes delivered for all sources. |
**all_status_5xx** | Option<**i32**> | Number of \"Server Error\" codes delivered for all sources. |

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

Expand Down
23 changes: 22 additions & 1 deletion docs/RealtimeMeasurements.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**errors** | Option<**i32**> | Number of cache errors. |
**hits_time** | Option<**f32**> | Total amount of time spent processing cache hits (in seconds). |
**miss_time** | Option<**f32**> | Total amount of time spent processing cache misses (in seconds). |
**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. |
**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). |
**compute_requests** | Option<**i32**> | The total number of requests that were received for your service by Fastly. |
**compute_execution_time_ms** | Option<**f32**> | The amount of active CPU time used to process your requests (in milliseconds). |
**compute_ram_used** | Option<**i32**> | The amount of RAM used for your service by Fastly (in bytes). |
Expand Down Expand Up @@ -231,6 +231,27 @@ Name | Type | Description | Notes
**bot_challenges_succeeded** | Option<**i32**> | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. |
**bot_challenges_failed** | Option<**i32**> | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. |
**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. |
**ddos_action_downgrade** | Option<**i32**> | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. |
**ddos_action_downgraded_connections** | Option<**i32**> | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. |
**vcl_on_compute_hit_requests** | Option<**i32**> | Number of cache hits for a VCL service running on Compute. |
**vcl_on_compute_miss_requests** | Option<**i32**> | Number of cache misses for a VCL service running on Compute. |
**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. |
**vcl_on_compute_error_requests** | Option<**i32**> | Number of cache errors for a VCL service running on Compute. |
**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. |
**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. |
**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. |
**all_hit_requests** | Option<**i32**> | Number of cache hits for a VCL service. |
**all_miss_requests** | Option<**i32**> | Number of cache misses for a VCL service. |
**all_pass_requests** | Option<**i32**> | Number of requests that passed through the CDN without being cached for a VCL service. |
**all_error_requests** | Option<**i32**> | Number of cache errors for a VCL service. |
**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. |
**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. |
**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. |
**all_status_1xx** | Option<**i32**> | Number of \"Informational\" category status codes delivered for all sources. |
**all_status_2xx** | Option<**i32**> | Number of \"Success\" status codes delivered for all sources. |
**all_status_3xx** | Option<**i32**> | Number of \"Redirection\" codes delivered for all sources. |
**all_status_4xx** | Option<**i32**> | Number of \"Client Error\" codes delivered for all sources. |
**all_status_5xx** | Option<**i32**> | Number of \"Server Error\" codes delivered for all sources. |

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

Expand Down
2 changes: 1 addition & 1 deletion docs/RelationshipCustomerCustomer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

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

Expand Down
Loading

0 comments on commit 66e1eda

Please sign in to comment.