Skip to content

Commit 3aee570

Browse files
author
github-actions
committed
Generated v4.13.0
1 parent 1a10afd commit 3aee570

11 files changed

+26
-20
lines changed

CHANGELOG.md

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

3+
## [v4.13.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.13.0) (2024-10-23)
4+
5+
**Documentation:**
6+
7+
- doc(backend): Correct spelling in `connect_timeout` and `first_byte_timeout` field descriptions.
8+
39
## [v4.12.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.12.0) (2024-09-13)
410

511
**Bug fixes:**

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.12.0"
3+
version = "4.13.0"
44
authors = ["Fastly <[email protected]>"]
55
edition = "2021"
66
description = "Fastly API client"

README.md

+1-1
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 = "4.12.0"
18+
fastly-api = "4.13.0"
1919
```
2020

2121
## Usage

docs/Backend.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
99
**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`. |
1010
**client_cert** | Option<**String**> | Unused. |
1111
**comment** | Option<**String**> | A freeform descriptive note. |
12-
**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`. |
13-
**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`. |
12+
**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`. |
13+
**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`. |
1414
**healthcheck** | Option<**String**> | The name of the healthcheck to use with this backend. |
1515
**hostname** | Option<**String**> | The hostname of the backend. May be used as an alternative to `address` to set the backend location. |
1616
**ipv4** | Option<**String**> | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. |

docs/BackendApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Name | Type | Description | Required | Notes
3737
**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`. | |
3838
**client_cert** | Option\<**String**> | Unused. | |
3939
**comment** | Option\<**String**> | A freeform descriptive note. | |
40-
**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`. | |
41-
**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`. | |
40+
**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`. | |
41+
**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`. | |
4242
**healthcheck** | Option\<**String**> | The name of the healthcheck to use with this backend. | |
4343
**hostname** | Option\<**String**> | The hostname of the backend. May be used as an alternative to `address` to set the backend location. | |
4444
**ipv4** | Option\<**String**> | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | |
@@ -219,8 +219,8 @@ Name | Type | Description | Required | Notes
219219
**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`. | |
220220
**client_cert** | Option\<**String**> | Unused. | |
221221
**comment** | Option\<**String**> | A freeform descriptive note. | |
222-
**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`. | |
223-
**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`. | |
222+
**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`. | |
223+
**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`. | |
224224
**healthcheck** | Option\<**String**> | The name of the healthcheck to use with this backend. | |
225225
**hostname** | Option\<**String**> | The hostname of the backend. May be used as an alternative to `address` to set the backend location. | |
226226
**ipv4** | Option\<**String**> | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | |

docs/BackendResponse.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
99
**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`. |
1010
**client_cert** | Option<**String**> | Unused. |
1111
**comment** | Option<**String**> | A freeform descriptive note. |
12-
**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`. |
13-
**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`. |
12+
**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`. |
13+
**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`. |
1414
**healthcheck** | Option<**String**> | The name of the healthcheck to use with this backend. |
1515
**hostname** | Option<**String**> | The hostname of the backend. May be used as an alternative to `address` to set the backend location. |
1616
**ipv4** | Option<**String**> | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. |

sig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"G": "1827dbb1", "D": "1f27800e"}
1+
{"G": "dbe8e713", "D": "4061d4ec"}

src/apis/backend_api.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ pub struct CreateBackendParams {
2828
pub client_cert: Option<String>,
2929
/// A freeform descriptive note.
3030
pub comment: Option<String>,
31-
/// 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`.
31+
/// 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`.
3232
pub connect_timeout: Option<i32>,
33-
/// 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`.
33+
/// 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`.
3434
pub first_byte_timeout: Option<i32>,
3535
/// The name of the healthcheck to use with this backend.
3636
pub healthcheck: Option<String>,
@@ -140,9 +140,9 @@ pub struct UpdateBackendParams {
140140
pub client_cert: Option<String>,
141141
/// A freeform descriptive note.
142142
pub comment: Option<String>,
143-
/// 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`.
143+
/// 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`.
144144
pub connect_timeout: Option<i32>,
145-
/// 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`.
145+
/// 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`.
146146
pub first_byte_timeout: Option<i32>,
147147
/// The name of the healthcheck to use with this backend.
148148
pub healthcheck: Option<String>,

src/apis/configuration.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl Default for Configuration {
4949

5050
Configuration {
5151
base_path: "https://api.fastly.com".to_owned(),
52-
user_agent: Some("fastly-rust/4.12.0/rust".to_owned()),
52+
user_agent: Some("fastly-rust/4.13.0/rust".to_owned()),
5353
client: reqwest::Client::new(),
5454
basic_auth: None,
5555
oauth_access_token: None,

src/models/backend.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ pub struct Backend {
2525
/// A freeform descriptive note.
2626
#[serde(rename = "comment", skip_serializing_if = "Option::is_none")]
2727
pub comment: Option<String>,
28-
/// 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`.
28+
/// 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`.
2929
#[serde(rename = "connect_timeout", skip_serializing_if = "Option::is_none")]
3030
pub connect_timeout: Option<i32>,
31-
/// 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`.
31+
/// 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`.
3232
#[serde(rename = "first_byte_timeout", skip_serializing_if = "Option::is_none")]
3333
pub first_byte_timeout: Option<i32>,
3434
/// The name of the healthcheck to use with this backend.

src/models/backend_response.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ pub struct BackendResponse {
2525
/// A freeform descriptive note.
2626
#[serde(rename = "comment", skip_serializing_if = "Option::is_none")]
2727
pub comment: Option<String>,
28-
/// 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`.
28+
/// 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`.
2929
#[serde(rename = "connect_timeout", skip_serializing_if = "Option::is_none")]
3030
pub connect_timeout: Option<i32>,
31-
/// 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`.
31+
/// 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`.
3232
#[serde(rename = "first_byte_timeout", skip_serializing_if = "Option::is_none")]
3333
pub first_byte_timeout: Option<i32>,
3434
/// The name of the healthcheck to use with this backend.

0 commit comments

Comments
 (0)