Skip to content

Commit

Permalink
Generated v4.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 23, 2024
1 parent 1a10afd commit 3aee570
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 20 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [v4.13.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.13.0) (2024-10-23)

**Documentation:**

- doc(backend): Correct spelling in `connect_timeout` and `first_byte_timeout` field descriptions.

## [v4.12.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.12.0) (2024-09-13)

**Bug fixes:**
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.12.0"
version = "4.13.0"
authors = ["Fastly <[email protected]>"]
edition = "2021"
description = "Fastly API client"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Rust 2021 Edition
Add the following to `Cargo.toml` under `[dependencies]`:

```toml
fastly-api = "4.12.0"
fastly-api = "4.13.0"
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions docs/Backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Name | Type | Description | Notes
**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`. |
**client_cert** | Option<**String**> | Unused. |
**comment** | Option<**String**> | A freeform descriptive note. |
**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 synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`. |
**first_byte_timeout** | Option<**i32**> | Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. |
**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`. |
**first_byte_timeout** | Option<**i32**> | Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. |
**healthcheck** | Option<**String**> | The name of the healthcheck to use with this backend. |
**hostname** | Option<**String**> | The hostname of the backend. May be used as an alternative to `address` to set the backend location. |
**ipv4** | Option<**String**> | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. |
Expand Down
8 changes: 4 additions & 4 deletions docs/BackendApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Name | Type | Description | Required | Notes
**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`. | |
**client_cert** | Option\<**String**> | Unused. | |
**comment** | Option\<**String**> | A freeform descriptive note. | |
**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 synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`. | |
**first_byte_timeout** | Option\<**i32**> | Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. | |
**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`. | |
**first_byte_timeout** | Option\<**i32**> | Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. | |
**healthcheck** | Option\<**String**> | The name of the healthcheck to use with this backend. | |
**hostname** | Option\<**String**> | The hostname of the backend. May be used as an alternative to `address` to set the backend location. | |
**ipv4** | Option\<**String**> | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | |
Expand Down Expand Up @@ -219,8 +219,8 @@ Name | Type | Description | Required | Notes
**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`. | |
**client_cert** | Option\<**String**> | Unused. | |
**comment** | Option\<**String**> | A freeform descriptive note. | |
**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 synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`. | |
**first_byte_timeout** | Option\<**i32**> | Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. | |
**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`. | |
**first_byte_timeout** | Option\<**i32**> | Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. | |
**healthcheck** | Option\<**String**> | The name of the healthcheck to use with this backend. | |
**hostname** | Option\<**String**> | The hostname of the backend. May be used as an alternative to `address` to set the backend location. | |
**ipv4** | Option\<**String**> | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | |
Expand Down
4 changes: 2 additions & 2 deletions docs/BackendResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Name | Type | Description | Notes
**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`. |
**client_cert** | Option<**String**> | Unused. |
**comment** | Option<**String**> | A freeform descriptive note. |
**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 synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`. |
**first_byte_timeout** | Option<**i32**> | Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. |
**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`. |
**first_byte_timeout** | Option<**i32**> | Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. |
**healthcheck** | Option<**String**> | The name of the healthcheck to use with this backend. |
**hostname** | Option<**String**> | The hostname of the backend. May be used as an alternative to `address` to set the backend location. |
**ipv4** | Option<**String**> | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. |
Expand Down
2 changes: 1 addition & 1 deletion sig.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"G": "1827dbb1", "D": "1f27800e"}
{"G": "dbe8e713", "D": "4061d4ec"}
8 changes: 4 additions & 4 deletions src/apis/backend_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ pub struct CreateBackendParams {
pub client_cert: Option<String>,
/// A freeform descriptive note.
pub comment: Option<String>,
/// Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
/// 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`.
pub connect_timeout: Option<i32>,
/// Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
/// Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
pub first_byte_timeout: Option<i32>,
/// The name of the healthcheck to use with this backend.
pub healthcheck: Option<String>,
Expand Down Expand Up @@ -140,9 +140,9 @@ pub struct UpdateBackendParams {
pub client_cert: Option<String>,
/// A freeform descriptive note.
pub comment: Option<String>,
/// Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
/// 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`.
pub connect_timeout: Option<i32>,
/// Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
/// Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
pub first_byte_timeout: Option<i32>,
/// The name of the healthcheck to use with this backend.
pub healthcheck: Option<String>,
Expand Down
2 changes: 1 addition & 1 deletion src/apis/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl Default for Configuration {

Configuration {
base_path: "https://api.fastly.com".to_owned(),
user_agent: Some("fastly-rust/4.12.0/rust".to_owned()),
user_agent: Some("fastly-rust/4.13.0/rust".to_owned()),
client: reqwest::Client::new(),
basic_auth: None,
oauth_access_token: None,
Expand Down
4 changes: 2 additions & 2 deletions src/models/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ pub struct Backend {
/// A freeform descriptive note.
#[serde(rename = "comment", skip_serializing_if = "Option::is_none")]
pub comment: Option<String>,
/// Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
/// 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`.
#[serde(rename = "connect_timeout", skip_serializing_if = "Option::is_none")]
pub connect_timeout: Option<i32>,
/// Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
/// Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
#[serde(rename = "first_byte_timeout", skip_serializing_if = "Option::is_none")]
pub first_byte_timeout: Option<i32>,
/// The name of the healthcheck to use with this backend.
Expand Down
4 changes: 2 additions & 2 deletions src/models/backend_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ pub struct BackendResponse {
/// A freeform descriptive note.
#[serde(rename = "comment", skip_serializing_if = "Option::is_none")]
pub comment: Option<String>,
/// Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
/// 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`.
#[serde(rename = "connect_timeout", skip_serializing_if = "Option::is_none")]
pub connect_timeout: Option<i32>,
/// Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
/// Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
#[serde(rename = "first_byte_timeout", skip_serializing_if = "Option::is_none")]
pub first_byte_timeout: Option<i32>,
/// The name of the healthcheck to use with this backend.
Expand Down

0 comments on commit 3aee570

Please sign in to comment.