Skip to content

Commit 55b3b05

Browse files
author
github-actions
committed
Generated v4.2.0
1 parent 252abc9 commit 55b3b05

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1324
-104
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [v4.2.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.2.0) (2023-10-24)
4+
5+
**Enhancements:**
6+
7+
- feat(stats): add historical DDoS metrics.
8+
- feat(stats): add bot challenges.
9+
10+
**Bug fixes:**
11+
12+
- fix(snippets): ensure POST response's dynamic field is numerical.
13+
314
## [v4.1.1](https://github.com/fastly/fastly-rust/releases/tag/release/v4.1.1) (2023-09-01)
415

516
**Enhancements:**

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastly-api"
3-
version = "4.1.1"
3+
version = "4.2.0"
44
authors = ["Fastly <[email protected]>"]
55
edition = "2021"
66
description = "Fastly API client"

README.md

Lines changed: 6 additions & 5 deletions
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.1.1"
17+
fastly-api = "4.2.0"
1818
```
1919

2020
## Usage
@@ -229,10 +229,10 @@ Class | Method | HTTP request | Description
229229
*InvitationsApi* | [**create_invitation**](docs/InvitationsApi.md#create_invitation) | **POST** /invitations | Create an invitation
230230
*InvitationsApi* | [**delete_invitation**](docs/InvitationsApi.md#delete_invitation) | **DELETE** /invitations/{invitation_id} | Delete an invitation
231231
*InvitationsApi* | [**list_invitations**](docs/InvitationsApi.md#list_invitations) | **GET** /invitations | List invitations
232-
*KvStoreApi* | [**create_store**](docs/KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create an kv store.
233-
*KvStoreApi* | [**delete_store**](docs/KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete an kv store.
234-
*KvStoreApi* | [**get_store**](docs/KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe an kv store.
235-
*KvStoreApi* | [**get_stores**](docs/KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List kv stores.
232+
*KvStoreApi* | [**create_store**](docs/KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create a KV store.
233+
*KvStoreApi* | [**delete_store**](docs/KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete a KV store.
234+
*KvStoreApi* | [**get_store**](docs/KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe a KV store.
235+
*KvStoreApi* | [**get_stores**](docs/KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List KV stores.
236236
*KvStoreItemApi* | [**delete_key_from_store**](docs/KvStoreItemApi.md#delete_key_from_store) | **DELETE** /resources/stores/kv/{store_id}/keys/{key_name} | Delete kv store item.
237237
*KvStoreItemApi* | [**get_keys**](docs/KvStoreItemApi.md#get_keys) | **GET** /resources/stores/kv/{store_id}/keys | List kv store keys.
238238
*KvStoreItemApi* | [**get_value_for_key**](docs/KvStoreItemApi.md#get_value_for_key) | **GET** /resources/stores/kv/{store_id}/keys/{key_name} | Get the value of an kv store item
@@ -590,6 +590,7 @@ Class | Method | HTTP request | Description
590590
*WafRulesApi* | [**get_waf_rule**](docs/WafRulesApi.md#get_waf_rule) | **GET** /waf/rules/{waf_rule_id} | Get a rule
591591
*WafRulesApi* | [**list_waf_rules**](docs/WafRulesApi.md#list_waf_rules) | **GET** /waf/rules | List available WAF rules
592592
*WafTagsApi* | [**list_waf_tags**](docs/WafTagsApi.md#list_waf_tags) | **GET** /waf/tags | List tags
593+
*WholePlatformDdosHistoricalApi* | [**get_platform_ddos_historical**](docs/WholePlatformDdosHistoricalApi.md#get_platform_ddos_historical) | **GET** /metrics/platform/ddos | Get historical DDoS metrics for the entire Fastly platform
593594

594595

595596
## Issues

docs/HistoricalDdos.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# HistoricalDdos
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**status** | Option<**String**> | Whether or not we were able to successfully execute the query. |
8+
**meta** | Option<[**crate::models::HistoricalDdosMeta**](HistoricalDdosMeta.md)> | |
9+
**msg** | Option<**String**> | If the query was not successful, this will provide a string that explains why. |
10+
**data** | Option<[**Vec&lt;crate::models::PlatformDdosDataItems&gt;**](PlatformDdosDataItems.md)> | A list of [entries](#entry-data-model). |
11+
12+
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+

docs/HistoricalDdosMeta.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# HistoricalDdosMeta
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**start** | Option<**String**> | Start time that was used to perform the query as an ISO-8601-formatted date and time. |
8+
**end** | Option<**String**> | End time that was used to perform the query as an ISO-8601-formatted date and time. |
9+
**downsample** | Option<**String**> | Downsample that was used to perform the query. One of `hour` or `day`. |
10+
**metric** | Option<**String**> | A comma-separated list of the metrics that were requested. |
11+
12+
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+

docs/KvStoreApi.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ All URIs are relative to *https://api.fastly.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**create_store**](KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create an kv store.
8-
[**delete_store**](KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete an kv store.
9-
[**get_store**](KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe an kv store.
10-
[**get_stores**](KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List kv stores.
7+
[**create_store**](KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create a KV store.
8+
[**delete_store**](KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete a KV store.
9+
[**get_store**](KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe a KV store.
10+
[**get_stores**](KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List KV stores.
1111

1212

1313

1414
## create_store
1515

16-
Create a new kv store.
16+
Create a new KV store.
1717

1818
```rust
1919
let cfg = &Configuration::default();
@@ -49,7 +49,7 @@ Name | Type | Description | Required | Notes
4949

5050
## delete_store
5151

52-
An kv store must be empty before it can be deleted. Deleting an kv store that still contains keys will result in a `409` (Conflict).
52+
A KV store must be empty before it can be deleted. Deleting a KV store that still contains keys will result in a `409` (Conflict).
5353

5454
```rust
5555
let cfg = &Configuration::default();
@@ -84,7 +84,7 @@ Name | Type | Description | Required | Notes
8484

8585
## get_store
8686

87-
Get an kv store by ID.
87+
Get a KV store by ID.
8888

8989
```rust
9090
let cfg = &Configuration::default();

docs/LoggingLogentriesAdditional.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**port** | Option<**i32**> | The port number. | [default to 20000]
8-
**token** | Option<**String**> | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). |
8+
**token** | Option<**String**> | Use token based authentication. |
99
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
1010
**region** | Option<**String**> | The region to which to stream logs. |
1111

docs/LoggingLogentriesApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Name | Type | Description | Required | Notes
3737
**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]
3838
**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]
3939
**port** | Option\<**i32**> | The port number. | |[default to 20000]
40-
**token** | Option\<**String**> | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | |
40+
**token** | Option\<**String**> | Use token based authentication. | |
4141
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
4242
**region** | Option\<**String**> | The region to which to stream logs. | |
4343

@@ -193,7 +193,7 @@ Name | Type | Description | Required | Notes
193193
**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]
194194
**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]
195195
**port** | Option\<**i32**> | The port number. | |[default to 20000]
196-
**token** | Option\<**String**> | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | |
196+
**token** | Option\<**String**> | Use token based authentication. | |
197197
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
198198
**region** | Option\<**String**> | The region to which to stream logs. | |
199199

docs/LoggingLogentriesResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**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]
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]
13-
**token** | Option<**String**> | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). |
13+
**token** | Option<**String**> | Use token based authentication. |
1414
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.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]

docs/PlatformDdosDataItems.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# PlatformDdosDataItems
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**values** | Option<[**crate::models::Values**](Values.md)> | |
8+
9+
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

0 commit comments

Comments
 (0)