Skip to content

Commit

Permalink
Generated v4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed May 24, 2024
1 parent 66e1eda commit cfa52f8
Show file tree
Hide file tree
Showing 921 changed files with 2,234 additions and 1,577 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [v4.6.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.6.0) (2024-05-24)

**Bug fixes:**

- fix(backend): Correct tcp_keepalive_enable to be nullable
- bugfix(resource): Correct `type_resource` accepted values
- bugfix(sudo): Mark API to require authentication token

**Enhancements:**

- feat(image-optimizer-default-settings): Add Image Optimizer Default Settings APIs
- feat(tls-subscriptions): Add `certificate_authority` filter parameter

**Documentation:**

- docs(generator): Update links in docs and comments with unified docs site URL structure
- docs(generator): Clean up README by using GitHub alert icons and collapsible sections
- doc(logging-kinesis): Update description of `format` field.
- doc(tls-subscriptions): Update descriptions of `certificate_authority` and `tls_subscription_include` fields.

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

**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.5.0"
version = "4.6.0"
authors = ["Fastly <[email protected]>"]
edition = "2021"
description = "Fastly API client"
Expand Down
1,074 changes: 543 additions & 531 deletions README.md

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/AclApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# AclApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_acl**](AclApi.md#create_acl) | **POST** /service/{service_id}/version/{version_id}/acl | Create a new ACL
[**delete_acl**](AclApi.md#delete_acl) | **DELETE** /service/{service_id}/version/{version_id}/acl/{acl_name} | Delete an ACL
[**get_acl**](AclApi.md#get_acl) | **GET** /service/{service_id}/version/{version_id}/acl/{acl_name} | Describe an ACL
Expand Down
5 changes: 3 additions & 2 deletions docs/AclEntryApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# AclEntryApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**bulk_update_acl_entries**](AclEntryApi.md#bulk_update_acl_entries) | **PATCH** /service/{service_id}/acl/{acl_id}/entries | Update multiple ACL entries
[**create_acl_entry**](AclEntryApi.md#create_acl_entry) | **POST** /service/{service_id}/acl/{acl_id}/entry | Create an ACL entry
[**delete_acl_entry**](AclEntryApi.md#delete_acl_entry) | **DELETE** /service/{service_id}/acl/{acl_id}/entry/{acl_entry_id} | Delete an ACL entry
Expand Down
5 changes: 3 additions & 2 deletions docs/ApexRedirectApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ApexRedirectApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_apex_redirect**](ApexRedirectApi.md#create_apex_redirect) | **POST** /service/{service_id}/version/{version_id}/apex-redirects | Create an apex redirect
[**delete_apex_redirect**](ApexRedirectApi.md#delete_apex_redirect) | **DELETE** /apex-redirects/{apex_redirect_id} | Delete an apex redirect
[**get_apex_redirect**](ApexRedirectApi.md#get_apex_redirect) | **GET** /apex-redirects/{apex_redirect_id} | Get an apex redirect
Expand Down
5 changes: 3 additions & 2 deletions docs/AutomationTokensApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# AutomationTokensApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_automation_token**](AutomationTokensApi.md#create_automation_token) | **POST** /automation-tokens | Create Automation Token
[**get_automation_token_id**](AutomationTokensApi.md#get_automation_token_id) | **GET** /automation-tokens/{id} | Retrieve an Automation Token by ID
[**get_automation_tokens_id_services**](AutomationTokensApi.md#get_automation_tokens_id_services) | **GET** /automation-tokens/{id}/services | List Automation Token Services
Expand Down
5 changes: 3 additions & 2 deletions docs/BackendApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# BackendApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_backend**](BackendApi.md#create_backend) | **POST** /service/{service_id}/version/{version_id}/backend | Create a backend
[**delete_backend**](BackendApi.md#delete_backend) | **DELETE** /service/{service_id}/version/{version_id}/backend/{backend_name} | Delete a backend
[**get_backend**](BackendApi.md#get_backend) | **GET** /service/{service_id}/version/{version_id}/backend/{backend_name} | Describe a backend
Expand Down
5 changes: 3 additions & 2 deletions docs/BillingAddressApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# BillingAddressApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**add_billing_addr**](BillingAddressApi.md#add_billing_addr) | **POST** /customer/{customer_id}/billing_address | Add a billing address to a customer
[**delete_billing_addr**](BillingAddressApi.md#delete_billing_addr) | **DELETE** /customer/{customer_id}/billing_address | Delete a billing address
[**get_billing_addr**](BillingAddressApi.md#get_billing_addr) | **GET** /customer/{customer_id}/billing_address | Get a billing address
Expand Down
5 changes: 3 additions & 2 deletions docs/BillingApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# BillingApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**get_invoice**](BillingApi.md#get_invoice) | **GET** /billing/v2/year/{year}/month/{month} | Get an invoice
[**get_invoice_by_id**](BillingApi.md#get_invoice_by_id) | **GET** /billing/v2/account_customers/{customer_id}/invoices/{invoice_id} | Get an invoice
[**get_invoice_mtd**](BillingApi.md#get_invoice_mtd) | **GET** /billing/v2/account_customers/{customer_id}/mtd_invoice | Get month-to-date billing estimate
Expand Down
5 changes: 3 additions & 2 deletions docs/BillingInvoicesApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# BillingInvoicesApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**get_invoice_by_invoice_id**](BillingInvoicesApi.md#get_invoice_by_invoice_id) | **GET** /billing/v3/invoices/{invoice_id} | Get invoice by ID.
[**list_invoices**](BillingInvoicesApi.md#list_invoices) | **GET** /billing/v3/invoices | List of invoices.

Expand Down
5 changes: 3 additions & 2 deletions docs/CacheSettingsApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# CacheSettingsApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_cache_settings**](CacheSettingsApi.md#create_cache_settings) | **POST** /service/{service_id}/version/{version_id}/cache_settings | Create a cache settings object
[**delete_cache_settings**](CacheSettingsApi.md#delete_cache_settings) | **DELETE** /service/{service_id}/version/{version_id}/cache_settings/{cache_settings_name} | Delete a cache settings object
[**get_cache_settings**](CacheSettingsApi.md#get_cache_settings) | **GET** /service/{service_id}/version/{version_id}/cache_settings/{cache_settings_name} | Get a cache settings object
Expand Down
5 changes: 3 additions & 2 deletions docs/ConditionApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ConditionApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_condition**](ConditionApi.md#create_condition) | **POST** /service/{service_id}/version/{version_id}/condition | Create a condition
[**delete_condition**](ConditionApi.md#delete_condition) | **DELETE** /service/{service_id}/version/{version_id}/condition/{condition_name} | Delete a condition
[**get_condition**](ConditionApi.md#get_condition) | **GET** /service/{service_id}/version/{version_id}/condition/{condition_name} | Describe a condition
Expand Down
5 changes: 3 additions & 2 deletions docs/ConfigStoreApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ConfigStoreApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_config_store**](ConfigStoreApi.md#create_config_store) | **POST** /resources/stores/config | Create a config store
[**delete_config_store**](ConfigStoreApi.md#delete_config_store) | **DELETE** /resources/stores/config/{config_store_id} | Delete a config store
[**get_config_store**](ConfigStoreApi.md#get_config_store) | **GET** /resources/stores/config/{config_store_id} | Describe a config store
Expand Down
5 changes: 3 additions & 2 deletions docs/ConfigStoreItemApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ConfigStoreItemApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**bulk_update_config_store_item**](ConfigStoreItemApi.md#bulk_update_config_store_item) | **PATCH** /resources/stores/config/{config_store_id}/items | Update multiple entries in a config store
[**create_config_store_item**](ConfigStoreItemApi.md#create_config_store_item) | **POST** /resources/stores/config/{config_store_id}/item | Create an entry in a config store
[**delete_config_store_item**](ConfigStoreItemApi.md#delete_config_store_item) | **DELETE** /resources/stores/config/{config_store_id}/item/{config_store_item_key} | Delete an item from a config store
Expand Down
5 changes: 3 additions & 2 deletions docs/ContactApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ContactApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_contacts**](ContactApi.md#create_contacts) | **POST** /customer/{customer_id}/contacts | Add a new customer contact
[**delete_contact**](ContactApi.md#delete_contact) | **DELETE** /customer/{customer_id}/contact/{contact_id} | Delete a contact
[**list_contacts**](ContactApi.md#list_contacts) | **GET** /customer/{customer_id}/contacts | List contacts
Expand Down
5 changes: 3 additions & 2 deletions docs/ContentApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ContentApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**content_check**](ContentApi.md#content_check) | **GET** /content/edge_check | Check status of content in each POP's cache


Expand Down
5 changes: 3 additions & 2 deletions docs/CustomerApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# CustomerApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**delete_customer**](CustomerApi.md#delete_customer) | **DELETE** /customer/{customer_id} | Delete a customer
[**get_customer**](CustomerApi.md#get_customer) | **GET** /customer/{customer_id} | Get a customer
[**get_logged_in_customer**](CustomerApi.md#get_logged_in_customer) | **GET** /current_customer | Get the logged in customer
Expand Down
17 changes: 17 additions & 0 deletions docs/DefaultSettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DefaultSettings

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**resize_filter** | Option<**String**> | The type of filter to use while resizing an image. | [default to ResizeFilter_Lanczos3]
**webp** | Option<**bool**> | Controls whether or not to default to WebP output when the client supports it. This is equivalent to adding \"auto=webp\" to all image optimizer requests. | [default to false]
**webp_quality** | Option<**i32**> | The default quality to use with WebP output. This can be overridden with the second option in the \"quality\" URL parameter on specific image optimizer requests. | [default to 85]
**jpeg_type** | Option<**String**> | The default type of JPEG output to use. This can be overridden with \"format=bjpeg\" and \"format=pjpeg\" on specific image optimizer requests. | [default to JpegType_Auto]
**jpeg_quality** | Option<**i32**> | The default quality to use with JPEG output. This can be overridden with the \"quality\" parameter on specific image optimizer requests. | [default to 85]
**upscale** | Option<**bool**> | Whether or not we should allow output images to render at sizes larger than input. | [default to false]
**allow_video** | Option<**bool**> | Enables GIF to MP4 transformations on this service. | [default to false]

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


13 changes: 13 additions & 0 deletions docs/DefaultSettingsError.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# DefaultSettingsError

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**title** | Option<**String**> | |
**_type** | Option<**String**> | |
**detail** | Option<**String**> | |

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


17 changes: 17 additions & 0 deletions docs/DefaultSettingsResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DefaultSettingsResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**resize_filter** | **String** | The type of filter to use while resizing an image. | [default to ResizeFilter_Lanczos3]
**webp** | **bool** | Controls whether or not to default to WebP output when the client supports it. This is equivalent to adding \"auto=webp\" to all image optimizer requests. | [default to false]
**webp_quality** | **i32** | The default quality to use with WebP output. This can be overridden with the second option in the \"quality\" URL parameter on specific image optimizer requests. | [default to 85]
**jpeg_type** | **String** | The default type of JPEG output to use. This can be overridden with \"format=bjpeg\" and \"format=pjpeg\" on specific image optimizer requests. | [default to JpegType_Auto]
**jpeg_quality** | **i32** | The default quality to use with JPEG output. This can be overridden with the \"quality\" parameter on specific image optimizer requests. | [default to 85]
**upscale** | **bool** | Whether or not we should allow output images to render at sizes larger than input. | [default to false]
**allow_video** | **bool** | Enables GIF to MP4 transformations on this service. | [default to false]

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


5 changes: 3 additions & 2 deletions docs/DictionaryApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# DictionaryApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_dictionary**](DictionaryApi.md#create_dictionary) | **POST** /service/{service_id}/version/{version_id}/dictionary | Create an edge dictionary
[**delete_dictionary**](DictionaryApi.md#delete_dictionary) | **DELETE** /service/{service_id}/version/{version_id}/dictionary/{dictionary_name} | Delete an edge dictionary
[**get_dictionary**](DictionaryApi.md#get_dictionary) | **GET** /service/{service_id}/version/{version_id}/dictionary/{dictionary_name} | Get an edge dictionary
Expand Down
5 changes: 3 additions & 2 deletions docs/DictionaryInfoApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# DictionaryInfoApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**get_dictionary_info**](DictionaryInfoApi.md#get_dictionary_info) | **GET** /service/{service_id}/version/{version_id}/dictionary/{dictionary_id}/info | Get edge dictionary metadata


Expand Down
5 changes: 3 additions & 2 deletions docs/DictionaryItemApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# DictionaryItemApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**bulk_update_dictionary_item**](DictionaryItemApi.md#bulk_update_dictionary_item) | **PATCH** /service/{service_id}/dictionary/{dictionary_id}/items | Update multiple entries in an edge dictionary
[**create_dictionary_item**](DictionaryItemApi.md#create_dictionary_item) | **POST** /service/{service_id}/dictionary/{dictionary_id}/item | Create an entry in an edge dictionary
[**delete_dictionary_item**](DictionaryItemApi.md#delete_dictionary_item) | **DELETE** /service/{service_id}/dictionary/{dictionary_id}/item/{dictionary_item_key} | Delete an item from an edge dictionary
Expand Down
5 changes: 3 additions & 2 deletions docs/DiffApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# DiffApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**diff_service_versions**](DiffApi.md#diff_service_versions) | **GET** /service/{service_id}/diff/from/{from_version_id}/to/{to_version_id} | Diff two service versions


Expand Down
5 changes: 3 additions & 2 deletions docs/DirectorApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# DirectorApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**delete_director**](DirectorApi.md#delete_director) | **DELETE** /service/{service_id}/version/{version_id}/director/{director_name} | Delete a director
[**get_director**](DirectorApi.md#get_director) | **GET** /service/{service_id}/version/{version_id}/director/{director_name} | Get a director
[**list_directors**](DirectorApi.md#list_directors) | **GET** /service/{service_id}/version/{version_id}/director | List directors
Expand Down
5 changes: 3 additions & 2 deletions docs/DirectorBackendApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# DirectorBackendApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**create_director_backend**](DirectorBackendApi.md#create_director_backend) | **POST** /service/{service_id}/version/{version_id}/director/{director_name}/backend/{backend_name} | Create a director-backend relationship
[**delete_director_backend**](DirectorBackendApi.md#delete_director_backend) | **DELETE** /service/{service_id}/version/{version_id}/director/{director_name}/backend/{backend_name} | Delete a director-backend relationship
[**get_director_backend**](DirectorBackendApi.md#get_director_backend) | **GET** /service/{service_id}/version/{version_id}/director/{director_name}/backend/{backend_name} | Get a director-backend relationship
Expand Down
5 changes: 3 additions & 2 deletions docs/DomainApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# DomainApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**check_domain**](DomainApi.md#check_domain) | **GET** /service/{service_id}/version/{version_id}/domain/{domain_name}/check | Validate DNS configuration for a single domain on a service
[**create_domain**](DomainApi.md#create_domain) | **POST** /service/{service_id}/version/{version_id}/domain | Add a domain name to a service
[**delete_domain**](DomainApi.md#delete_domain) | **DELETE** /service/{service_id}/version/{version_id}/domain/{domain_name} | Remove a domain from a service
Expand Down
5 changes: 3 additions & 2 deletions docs/DomainInspectorHistoricalApi.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# DomainInspectorHistoricalApi

All URIs are relative to *https://api.fastly.com*
> [!NOTE]
> All URIs are relative to `https://api.fastly.com`
Method | HTTP request | Description
------------- | ------------- | -------------
------ | ------------ | -----------
[**get_domain_inspector_historical**](DomainInspectorHistoricalApi.md#get_domain_inspector_historical) | **GET** /metrics/domains/services/{service_id} | Get historical domain data for a service


Expand Down
Loading

0 comments on commit cfa52f8

Please sign in to comment.