Skip to content

Commit

Permalink
Generated v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Mar 20, 2023
1 parent ffef2b7 commit 6502f32
Show file tree
Hide file tree
Showing 57 changed files with 362 additions and 1,177 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A Python client library for interacting with most facets of the [Fastly API](htt
> The previous 0.5.x version is no longer supported, but can be found at https://github.com/fastly/fastly-py/tree/v0.5.x.

> ⚠️ This client library (`v1.1.0`) is an early-access release. Features may change without notice. Use at your own risk.
> ⚠️ This client library (`1.2.0`) is an early-access release. Features may change without notice. Use at your own risk.

**We strongly recommend that you do not install alpha and beta releases on live production services.** No official support is provided for such releases. Please try out the library in a test environment, see what breaks without worrying about consequences, and give us [feedback](#issues).

Expand Down Expand Up @@ -324,13 +324,9 @@ Class | Method | HTTP request | Description
*MutualAuthenticationApi* | [**list_mutual_authentications**](docs/MutualAuthenticationApi.md#list_mutual_authentications) | **GET** /tls/mutual_authentications | List Mutual Authentications
*MutualAuthenticationApi* | [**patch_mutual_authentication**](docs/MutualAuthenticationApi.md#patch_mutual_authentication) | **PATCH** /tls/mutual_authentications/{mutual_authentication_id} | Update a Mutual Authentication
*ObjectStoreApi* | [**create_store**](docs/ObjectStoreApi.md#create_store) | **POST** /resources/stores/object | Create an object store.
*ObjectStoreApi* | [**delete_key_from_store**](docs/ObjectStoreApi.md#delete_key_from_store) | **DELETE** /resources/stores/object/{store_id}/keys/{key_name} | Delete object store key.
*ObjectStoreApi* | [**delete_store**](docs/ObjectStoreApi.md#delete_store) | **DELETE** /resources/stores/object/{store_id} | Delete an object store.
*ObjectStoreApi* | [**get_keys**](docs/ObjectStoreApi.md#get_keys) | **GET** /resources/stores/object/{store_id}/keys | List object store keys.
*ObjectStoreApi* | [**get_store**](docs/ObjectStoreApi.md#get_store) | **GET** /resources/stores/object/{store_id} | Describe an object store.
*ObjectStoreApi* | [**get_stores**](docs/ObjectStoreApi.md#get_stores) | **GET** /resources/stores/object | List object stores.
*ObjectStoreApi* | [**get_value_for_key**](docs/ObjectStoreApi.md#get_value_for_key) | **GET** /resources/stores/object/{store_id}/keys/{key_name} | Get object store key value.
*ObjectStoreApi* | [**set_value_for_key**](docs/ObjectStoreApi.md#set_value_for_key) | **PUT** /resources/stores/object/{store_id}/keys/{key_name} | Insert object store key-value.
*PackageApi* | [**get_package**](docs/PackageApi.md#get_package) | **GET** /service/{service_id}/version/{version_id}/package | Get details of the service's Compute@Edge package.
*PackageApi* | [**put_package**](docs/PackageApi.md#put_package) | **PUT** /service/{service_id}/version/{version_id}/package | Upload a Compute@Edge package.
*PoolApi* | [**create_server_pool**](docs/PoolApi.md#create_server_pool) | **POST** /service/{service_id}/version/{version_id}/pool | Create a server pool
Expand All @@ -355,10 +351,10 @@ Class | Method | HTTP request | Description
*RequestSettingsApi* | [**list_request_settings**](docs/RequestSettingsApi.md#list_request_settings) | **GET** /service/{service_id}/version/{version_id}/request_settings | List Request Settings objects
*RequestSettingsApi* | [**update_request_settings**](docs/RequestSettingsApi.md#update_request_settings) | **PUT** /service/{service_id}/version/{version_id}/request_settings/{request_settings_name} | Update a Request Settings object
*ResourceApi* | [**create_resource**](docs/ResourceApi.md#create_resource) | **POST** /service/{service_id}/version/{version_id}/resource | Create a resource
*ResourceApi* | [**delete_resource**](docs/ResourceApi.md#delete_resource) | **DELETE** /service/{service_id}/version/{version_id}/resource/{resource_id} | Delete a resource
*ResourceApi* | [**get_resource**](docs/ResourceApi.md#get_resource) | **GET** /service/{service_id}/version/{version_id}/resource/{resource_id} | Display a resource
*ResourceApi* | [**delete_resource**](docs/ResourceApi.md#delete_resource) | **DELETE** /service/{service_id}/version/{version_id}/resource/{id} | Delete a resource
*ResourceApi* | [**get_resource**](docs/ResourceApi.md#get_resource) | **GET** /service/{service_id}/version/{version_id}/resource/{id} | Display a resource
*ResourceApi* | [**list_resources**](docs/ResourceApi.md#list_resources) | **GET** /service/{service_id}/version/{version_id}/resource | List resources
*ResourceApi* | [**update_resource**](docs/ResourceApi.md#update_resource) | **PUT** /service/{service_id}/version/{version_id}/resource/{resource_id} | Update a resource
*ResourceApi* | [**update_resource**](docs/ResourceApi.md#update_resource) | **PUT** /service/{service_id}/version/{version_id}/resource/{id} | Update a resource
*ResponseObjectApi* | [**delete_response_object**](docs/ResponseObjectApi.md#delete_response_object) | **DELETE** /service/{service_id}/version/{version_id}/response_object/{response_object_name} | Delete a Response Object
*ResponseObjectApi* | [**get_response_object**](docs/ResponseObjectApi.md#get_response_object) | **GET** /service/{service_id}/version/{version_id}/response_object/{response_object_name} | Get a Response object
*ResponseObjectApi* | [**list_response_objects**](docs/ResponseObjectApi.md#list_response_objects) | **GET** /service/{service_id}/version/{version_id}/response_object | List Response objects
Expand Down
2 changes: 1 addition & 1 deletion docs/Backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**hostname** | **str, none_type** | The hostname of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**ipv4** | **str, none_type** | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**ipv6** | **str, none_type** | IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**keepalive_time** | **int, none_type** | How long to keep a persistent connection to the backend between requests. | [optional]
**keepalive_time** | **int, none_type** | How long in seconds to keep a persistent connection to the backend between requests. | [optional]
**max_conn** | **int** | Maximum number of concurrent connections this backend will accept. | [optional]
**max_tls_version** | **str, none_type** | Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
**min_tls_version** | **str, none_type** | Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
Expand Down
8 changes: 4 additions & 4 deletions docs/BackendApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ with fastly.ApiClient(configuration) as api_client:
hostname = "hostname_example" # str, none_type | The hostname of the backend. May be used as an alternative to `address` to set the backend location. (optional)
ipv4 = "ipv4_example" # str, none_type | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. (optional)
ipv6 = "ipv6_example" # str, none_type | IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. (optional)
keepalive_time = 1 # int, none_type | How long to keep a persistent connection to the backend between requests. (optional)
keepalive_time = 1 # int, none_type | How long in seconds to keep a persistent connection to the backend between requests. (optional)
max_conn = 1 # int | Maximum number of concurrent connections this backend will accept. (optional)
max_tls_version = "max_tls_version_example" # str, none_type | Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. (optional)
min_tls_version = "min_tls_version_example" # str, none_type | Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. (optional)
Expand Down Expand Up @@ -118,7 +118,7 @@ Name | Type | Description | Notes
**hostname** | **str, none_type**| The hostname of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**ipv4** | **str, none_type**| IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**ipv6** | **str, none_type**| IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**keepalive_time** | **int, none_type**| How long to keep a persistent connection to the backend between requests. | [optional]
**keepalive_time** | **int, none_type**| How long in seconds to keep a persistent connection to the backend between requests. | [optional]
**max_conn** | **int**| Maximum number of concurrent connections this backend will accept. | [optional]
**max_tls_version** | **str, none_type**| Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
**min_tls_version** | **str, none_type**| Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
Expand Down Expand Up @@ -456,7 +456,7 @@ with fastly.ApiClient(configuration) as api_client:
hostname = "hostname_example" # str, none_type | The hostname of the backend. May be used as an alternative to `address` to set the backend location. (optional)
ipv4 = "ipv4_example" # str, none_type | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. (optional)
ipv6 = "ipv6_example" # str, none_type | IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. (optional)
keepalive_time = 1 # int, none_type | How long to keep a persistent connection to the backend between requests. (optional)
keepalive_time = 1 # int, none_type | How long in seconds to keep a persistent connection to the backend between requests. (optional)
max_conn = 1 # int | Maximum number of concurrent connections this backend will accept. (optional)
max_tls_version = "max_tls_version_example" # str, none_type | Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. (optional)
min_tls_version = "min_tls_version_example" # str, none_type | Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. (optional)
Expand Down Expand Up @@ -513,7 +513,7 @@ Name | Type | Description | Notes
**hostname** | **str, none_type**| The hostname of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**ipv4** | **str, none_type**| IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**ipv6** | **str, none_type**| IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**keepalive_time** | **int, none_type**| How long to keep a persistent connection to the backend between requests. | [optional]
**keepalive_time** | **int, none_type**| How long in seconds to keep a persistent connection to the backend between requests. | [optional]
**max_conn** | **int**| Maximum number of concurrent connections this backend will accept. | [optional]
**max_tls_version** | **str, none_type**| Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
**min_tls_version** | **str, none_type**| Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/BackendResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**hostname** | **str, none_type** | The hostname of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**ipv4** | **str, none_type** | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**ipv6** | **str, none_type** | IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
**keepalive_time** | **int, none_type** | How long to keep a persistent connection to the backend between requests. | [optional]
**keepalive_time** | **int, none_type** | How long in seconds to keep a persistent connection to the backend between requests. | [optional]
**max_conn** | **int** | Maximum number of concurrent connections this backend will accept. | [optional]
**max_tls_version** | **str, none_type** | Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
**min_tls_version** | **str, none_type** | Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
Expand Down
8 changes: 4 additions & 4 deletions docs/EnabledProduct.md → docs/EnabledProductResponse.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# EnabledProduct
# EnabledProductResponse


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**product** | [**EnabledProductProduct**](EnabledProductProduct.md) | | [optional]
**service** | [**EnabledProductProduct**](EnabledProductProduct.md) | | [optional]
**links** | [**EnabledProductLinks**](EnabledProductLinks.md) | | [optional]
**product** | [**EnabledProductResponseProduct**](EnabledProductResponseProduct.md) | | [optional]
**service** | [**EnabledProductResponseService**](EnabledProductResponseService.md) | | [optional]
**links** | [**EnabledProductResponseLinks**](EnabledProductResponseLinks.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# EnabledProductProduct
# EnabledProductResponseLinks


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | | [optional]
**object** | **str** | | [optional]
**_self** | **str** | Location of resource | [optional]
**service** | **str** | Location of the service resource | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/KeyResponse.md → docs/EnabledProductResponseProduct.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# KeyResponse
# EnabledProductResponseProduct


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **[str]** | | [optional]
**meta** | [**GetStoresResponseMeta**](GetStoresResponseMeta.md) | | [optional]
**id** | **str** | Product identifier | [optional]
**object** | **str** | Name of the object | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# EnabledProductLinks
# EnabledProductResponseService


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_self** | **str** | | [optional]
**service** | **str** | | [optional]
**id** | **str** | Service identifier | [optional]
**object** | **str** | Name of the object | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
18 changes: 9 additions & 9 deletions docs/EnabledProductsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Method | HTTP request | Description
Disable a product

Disable a product on a service. Supported product IDs: `origin_inspector`,`domain_inspector`,`image_optimizer`, and `websockets`.
Disable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, and `websockets`.

### Example

Expand Down Expand Up @@ -88,11 +88,11 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **enable_product**
> EnabledProduct enable_product(product_id, service_id)
> EnabledProductResponse enable_product(product_id, service_id)
Enable a product

Enable a product on a service. Supported product IDs: `origin_inspector`,`domain_inspector`,`image_optimizer`, and `websockets`.
Enable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, and `websockets`.

### Example

Expand All @@ -102,7 +102,7 @@ Enable a product on a service. Supported product IDs: `origin_inspector`,`domain
import time
import fastly
from fastly.api import enabled_products_api
from fastly.model.enabled_product import EnabledProduct
from fastly.model.enabled_product_response import EnabledProductResponse
from pprint import pprint
# Defining the host is optional and defaults to https://api.fastly.com
# See configuration.py for a list of all supported configuration parameters.
Expand Down Expand Up @@ -147,7 +147,7 @@ Name | Type | Description | Notes

### Return type

[**EnabledProduct**](EnabledProduct.md)
[**EnabledProductResponse**](EnabledProductResponse.md)

### Authorization

Expand All @@ -168,11 +168,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_enabled_product**
> EnabledProduct get_enabled_product(product_id, service_id)
> EnabledProductResponse get_enabled_product(product_id, service_id)
Get enabled product

Get enabled product on a service. Supported product IDs: `origin_inspector`,`domain_inspector`,`image_optimizer`, and `websockets`.
Get enabled product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, and `websockets`.

### Example

Expand All @@ -182,7 +182,7 @@ Get enabled product on a service. Supported product IDs: `origin_inspector`,`dom
import time
import fastly
from fastly.api import enabled_products_api
from fastly.model.enabled_product import EnabledProduct
from fastly.model.enabled_product_response import EnabledProductResponse
from pprint import pprint
# Defining the host is optional and defaults to https://api.fastly.com
# See configuration.py for a list of all supported configuration parameters.
Expand Down Expand Up @@ -227,7 +227,7 @@ Name | Type | Description | Notes

### Return type

[**EnabledProduct**](EnabledProduct.md)
[**EnabledProductResponse**](EnabledProductResponse.md)

### Authorization

Expand Down
Loading

0 comments on commit 6502f32

Please sign in to comment.