Skip to content

Commit 6450b54

Browse files
author
github-actions
committed
Generated v4.8.0
1 parent 2eb0661 commit 6450b54

39 files changed

+111
-46
lines changed

CHANGELOG.md

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

3+
## [v4.8.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.8.0) (2024-07-01)
4+
5+
**Bug fixes:**
6+
7+
- fix(logging): For several endpoints, correct use_tls to be string
8+
9+
**Enhancements:**
10+
11+
- feat(content): `/content/edge_check` endpoint now returns informational values in `hash` when a timeout occurs or when
12+
an object is too large.
13+
- feat(logging-datalog): Added additional regions
14+
315
## [v4.7.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.7.0) (2024-06-27)
416

517
**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.7.0"
3+
version = "4.8.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.7.0"
18+
fastly-api = "4.8.0"
1919
```
2020

2121
## Usage

docs/ContentApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Method | HTTP request | Description
1111

1212
## content_check
1313

14-
Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour.
14+
Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour. If the content takes too long to download, the hash will be set to `error-timeout-$pop`. If the response is too large, it will be set to `warning-too-large-$pop`.
1515

1616
```rust
1717
let cfg = &Configuration::default();

docs/LoggingKafkaAdditional.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**auth_method** | Option<**String**> | SASL authentication method. |
1414
**user** | Option<**String**> | SASL user. |
1515
**password** | Option<**String**> | SASL password. |
16-
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
16+
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
1717

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

docs/LoggingKafkaApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Name | Type | Description | Required | Notes
5050
**auth_method** | Option\<**String**> | SASL authentication method. | |
5151
**user** | Option\<**String**> | SASL user. | |
5252
**password** | Option\<**String**> | SASL password. | |
53-
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
53+
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |
5454

5555
### Return type
5656

docs/LoggingKafkaResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
2727
**auth_method** | Option<**String**> | SASL authentication method. |
2828
**user** | Option<**String**> | SASL user. |
2929
**password** | Option<**String**> | SASL password. |
30-
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
30+
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
3131

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

docs/LoggingKafkaResponsePost.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
2727
**auth_method** | Option<**String**> | SASL authentication method. |
2828
**user** | Option<**String**> | SASL user. |
2929
**password** | Option<**String**> | SASL password. |
30-
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
30+
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
3131

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

docs/LoggingLogentriesAdditional.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**port** | Option<**i32**> | The port number. | [default to 20000]
88
**token** | Option<**String**> | Use token based authentication. |
9-
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
9+
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
1010
**region** | Option<**String**> | The region to which to stream logs. |
1111

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

docs/LoggingLogentriesApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Name | Type | Description | Required | Notes
3939
**format_version** | Option\<**i32**> | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | |[default to FormatVersion_v2]
4040
**port** | Option\<**i32**> | The port number. | |[default to 20000]
4141
**token** | Option\<**String**> | Use token based authentication. | |
42-
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
42+
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |
4343
**region** | Option\<**String**> | The region to which to stream logs. | |
4444

4545
### Return type
@@ -195,7 +195,7 @@ Name | Type | Description | Required | Notes
195195
**format_version** | Option\<**i32**> | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | |[default to FormatVersion_v2]
196196
**port** | Option\<**i32**> | The port number. | |[default to 20000]
197197
**token** | Option\<**String**> | Use token based authentication. | |
198-
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
198+
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |
199199
**region** | Option\<**String**> | The region to which to stream logs. | |
200200

201201
### Return type

docs/LoggingLogentriesResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**format_version** | Option<**String**> | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [default to FormatVersion_v2]
1212
**port** | Option<**i32**> | The port number. | [default to 20000]
1313
**token** | Option<**String**> | Use token based authentication. |
14-
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
14+
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
1515
**region** | Option<**String**> | The region to which to stream logs. |
1616
**created_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
1717
**deleted_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]

docs/LoggingScalyrApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Name | Type | Description | Required | Notes
3737
**response_condition** | Option\<**String**> | The name of an existing condition in the configured endpoint, or leave blank to always execute. | |
3838
**format** | Option\<**String**> | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | |[default to %h %l %u %t "%r" %&gt;s %b]
3939
**format_version** | Option\<**i32**> | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | |[default to FormatVersion_v2]
40-
**region** | Option\<**String**> | The region that log data will be sent to. | |[default to Region_US]
40+
**region** | Option\<**String**> | The region that log data will be sent to. | |[default to US]
4141
**token** | Option\<**String**> | The token to use for authentication. | |
4242
**project_id** | Option\<**String**> | The name of the logfile within Scalyr. | |[default to logplex]
4343

docs/LoggingSplunkAdditional.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**url** | Option<**String**> | The URL to post logs to. |
88
**token** | Option<**String**> | A Splunk token for use in posting logs over HTTP to your collector. |
9-
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
9+
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
1010

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

docs/LoggingSplunkApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Name | Type | Description | Required | Notes
4545
**request_max_bytes** | Option\<**i32**> | The maximum number of bytes sent in one request. Defaults `0` for unbounded. | |[default to 0]
4646
**url** | Option\<**String**> | The URL to post logs to. | |
4747
**token** | Option\<**String**> | A Splunk token for use in posting logs over HTTP to your collector. | |
48-
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
48+
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |
4949

5050
### Return type
5151

@@ -206,7 +206,7 @@ Name | Type | Description | Required | Notes
206206
**request_max_bytes** | Option\<**i32**> | The maximum number of bytes sent in one request. Defaults `0` for unbounded. | |[default to 0]
207207
**url** | Option\<**String**> | The URL to post logs to. | |
208208
**token** | Option\<**String**> | A Splunk token for use in posting logs over HTTP to your collector. | |
209-
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
209+
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |
210210

211211
### Return type
212212

docs/LoggingSplunkResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**request_max_bytes** | Option<**i32**> | The maximum number of bytes sent in one request. Defaults `0` for unbounded. | [default to 0]
1818
**url** | Option<**String**> | The URL to post logs to. |
1919
**token** | Option<**String**> | A Splunk token for use in posting logs over HTTP to your collector. |
20-
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
20+
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
2121
**created_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
2222
**deleted_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
2323
**updated_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]

docs/LoggingSyslogAdditional.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**hostname** | Option<**String**> | The hostname used for the syslog endpoint. |
99
**ipv4** | Option<**String**> | The IPv4 address used for the syslog endpoint. |
1010
**token** | Option<**String**> | Whether to prepend each message with a specific token. | [default to null]
11-
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
11+
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
1212

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

docs/LoggingSyslogApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Name | Type | Description | Required | Notes
4747
**hostname** | Option\<**String**> | The hostname used for the syslog endpoint. | |
4848
**ipv4** | Option\<**String**> | The IPv4 address used for the syslog endpoint. | |
4949
**token** | Option\<**String**> | Whether to prepend each message with a specific token. | |[default to null]
50-
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
50+
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |
5151

5252
### Return type
5353

@@ -210,7 +210,7 @@ Name | Type | Description | Required | Notes
210210
**hostname** | Option\<**String**> | The hostname used for the syslog endpoint. | |
211211
**ipv4** | Option\<**String**> | The IPv4 address used for the syslog endpoint. | |
212212
**token** | Option\<**String**> | Whether to prepend each message with a specific token. | |[default to null]
213-
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
213+
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |
214214

215215
### Return type
216216

docs/LoggingSyslogResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
1919
**hostname** | Option<**String**> | The hostname used for the syslog endpoint. |
2020
**ipv4** | Option<**String**> | The IPv4 address used for the syslog endpoint. |
2121
**token** | Option<**String**> | Whether to prepend each message with a specific token. | [default to null]
22-
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
22+
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
2323
**created_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
2424
**deleted_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
2525
**updated_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]

docs/LoggingUseTls.md docs/LoggingUseTlsString.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LoggingUseTls
1+
# LoggingUseTlsString
22

33
## Properties
44

sig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"G": "5a2ccc65", "D": "ec7f026b"}
1+
{"G": "5a2ccc65", "D": "f9e684d4"}

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.7.0/rust".to_owned()),
52+
user_agent: Some("fastly-rust/4.8.0/rust".to_owned()),
5353
client: reqwest::Client::new(),
5454
basic_auth: None,
5555
oauth_access_token: None,

src/apis/content_api.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub enum ContentCheckError {
2727
}
2828

2929

30-
/// Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour.
30+
/// Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour. If the content takes too long to download, the hash will be set to `error-timeout-$pop`. If the response is too large, it will be set to `warning-too-large-$pop`.
3131
pub async fn content_check(configuration: &mut configuration::Configuration, params: ContentCheckParams) -> Result<Vec<crate::models::Content>, Error<ContentCheckError>> {
3232
let local_var_configuration = configuration;
3333

src/apis/logging_kafka_api.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub struct CreateLogKafkaParams {
5454
pub user: Option<String>,
5555
/// SASL password.
5656
pub password: Option<String>,
57-
pub use_tls: Option<crate::models::LoggingUseTls>
57+
pub use_tls: Option<crate::models::LoggingUseTlsString>
5858
}
5959

6060
/// struct for passing parameters to the method [`delete_log_kafka`]

src/apis/logging_logentries_api.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub struct CreateLogLogentriesParams {
3232
pub port: Option<i32>,
3333
/// Use token based authentication.
3434
pub token: Option<String>,
35-
pub use_tls: Option<crate::models::LoggingUseTls>,
35+
pub use_tls: Option<crate::models::LoggingUseTlsString>,
3636
/// The region to which to stream logs.
3737
pub region: Option<String>
3838
}
@@ -91,7 +91,7 @@ pub struct UpdateLogLogentriesParams {
9191
pub port: Option<i32>,
9292
/// Use token based authentication.
9393
pub token: Option<String>,
94-
pub use_tls: Option<crate::models::LoggingUseTls>,
94+
pub use_tls: Option<crate::models::LoggingUseTlsString>,
9595
/// The region to which to stream logs.
9696
pub region: Option<String>
9797
}

src/apis/logging_splunk_api.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub struct CreateLogSplunkParams {
4444
pub url: Option<String>,
4545
/// A Splunk token for use in posting logs over HTTP to your collector.
4646
pub token: Option<String>,
47-
pub use_tls: Option<crate::models::LoggingUseTls>
47+
pub use_tls: Option<crate::models::LoggingUseTlsString>
4848
}
4949

5050
/// struct for passing parameters to the method [`delete_log_splunk`]
@@ -113,7 +113,7 @@ pub struct UpdateLogSplunkParams {
113113
pub url: Option<String>,
114114
/// A Splunk token for use in posting logs over HTTP to your collector.
115115
pub token: Option<String>,
116-
pub use_tls: Option<crate::models::LoggingUseTls>
116+
pub use_tls: Option<crate::models::LoggingUseTlsString>
117117
}
118118

119119

src/apis/logging_syslog_api.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub struct CreateLogSyslogParams {
4747
pub ipv4: Option<String>,
4848
/// Whether to prepend each message with a specific token.
4949
pub token: Option<String>,
50-
pub use_tls: Option<crate::models::LoggingUseTls>
50+
pub use_tls: Option<crate::models::LoggingUseTlsString>
5151
}
5252

5353
/// struct for passing parameters to the method [`delete_log_syslog`]
@@ -119,7 +119,7 @@ pub struct UpdateLogSyslogParams {
119119
pub ipv4: Option<String>,
120120
/// Whether to prepend each message with a specific token.
121121
pub token: Option<String>,
122-
pub use_tls: Option<crate::models::LoggingUseTls>
122+
pub use_tls: Option<crate::models::LoggingUseTlsString>
123123
}
124124

125125

src/models/logging_datadog_additional.rs

+10-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,16 @@ impl LoggingDatadogAdditional {
3636
pub enum Region {
3737
#[serde(rename = "US")]
3838
US,
39-
#[serde(rename = "EU")]
40-
EU,
39+
#[serde(rename = "US3")]
40+
US3,
41+
#[serde(rename = "US5")]
42+
US5,
43+
#[serde(rename = "EU (legacy, same as EU1)")]
44+
EULegacySameAsEU1,
45+
#[serde(rename = "EU1")]
46+
EU1,
47+
#[serde(rename = "AP1")]
48+
AP1,
4149
}
4250

4351
impl Default for Region {

src/models/logging_datadog_response.rs

+10-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,16 @@ impl Default for FormatVersion {
100100
pub enum Region {
101101
#[serde(rename = "US")]
102102
US,
103-
#[serde(rename = "EU")]
104-
EU,
103+
#[serde(rename = "US3")]
104+
US3,
105+
#[serde(rename = "US5")]
106+
US5,
107+
#[serde(rename = "EU (legacy, same as EU1)")]
108+
EULegacySameAsEU1,
109+
#[serde(rename = "EU1")]
110+
EU1,
111+
#[serde(rename = "AP1")]
112+
AP1,
105113
}
106114

107115
impl Default for Region {

src/models/logging_kafka_additional.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub struct LoggingKafkaAdditional {
3838
#[serde(rename = "password", skip_serializing_if = "Option::is_none")]
3939
pub password: Option<String>,
4040
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
41-
pub use_tls: Option<crate::models::LoggingUseTls>,
41+
pub use_tls: Option<crate::models::LoggingUseTlsString>,
4242
}
4343

4444
impl LoggingKafkaAdditional {

src/models/logging_kafka_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub struct LoggingKafkaResponse {
7878
#[serde(rename = "password", skip_serializing_if = "Option::is_none")]
7979
pub password: Option<String>,
8080
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
81-
pub use_tls: Option<crate::models::LoggingUseTls>,
81+
pub use_tls: Option<crate::models::LoggingUseTlsString>,
8282
}
8383

8484
impl LoggingKafkaResponse {

src/models/logging_kafka_response_post.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub struct LoggingKafkaResponsePost {
7878
#[serde(rename = "password", skip_serializing_if = "Option::is_none")]
7979
pub password: Option<String>,
8080
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
81-
pub use_tls: Option<crate::models::LoggingUseTls>,
81+
pub use_tls: Option<crate::models::LoggingUseTlsString>,
8282
}
8383

8484
impl LoggingKafkaResponsePost {

src/models/logging_logentries_additional.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct LoggingLogentriesAdditional {
1717
#[serde(rename = "token", skip_serializing_if = "Option::is_none")]
1818
pub token: Option<String>,
1919
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
20-
pub use_tls: Option<crate::models::LoggingUseTls>,
20+
pub use_tls: Option<crate::models::LoggingUseTlsString>,
2121
/// The region to which to stream logs.
2222
#[serde(rename = "region", skip_serializing_if = "Option::is_none")]
2323
pub region: Option<Region>,

src/models/logging_logentries_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub struct LoggingLogentriesResponse {
3232
#[serde(rename = "token", skip_serializing_if = "Option::is_none")]
3333
pub token: Option<String>,
3434
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
35-
pub use_tls: Option<crate::models::LoggingUseTls>,
35+
pub use_tls: Option<crate::models::LoggingUseTlsString>,
3636
/// The region to which to stream logs.
3737
#[serde(rename = "region", skip_serializing_if = "Option::is_none")]
3838
pub region: Option<Region>,

src/models/logging_splunk_additional.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct LoggingSplunkAdditional {
1717
#[serde(rename = "token", skip_serializing_if = "Option::is_none")]
1818
pub token: Option<String>,
1919
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
20-
pub use_tls: Option<crate::models::LoggingUseTls>,
20+
pub use_tls: Option<crate::models::LoggingUseTlsString>,
2121
}
2222

2323
impl LoggingSplunkAdditional {

src/models/logging_splunk_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub struct LoggingSplunkResponse {
5050
#[serde(rename = "token", skip_serializing_if = "Option::is_none")]
5151
pub token: Option<String>,
5252
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
53-
pub use_tls: Option<crate::models::LoggingUseTls>,
53+
pub use_tls: Option<crate::models::LoggingUseTlsString>,
5454
/// Date and time in ISO 8601 format.
5555
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
5656
pub created_at: Option<String>,

0 commit comments

Comments
 (0)