Skip to content

Commit

Permalink
Generated v5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jul 1, 2024
1 parent 1dc716b commit 608550a
Show file tree
Hide file tree
Showing 40 changed files with 147 additions and 119 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [v5.5.0](https://github.com/fastly/fastly-py/releases/tag/release/v5.5.0) (2024-07-01)

**Bug fixes:**

- fix(logging): For several endpoints, correct use_tls to be string

**Enhancements:**

- feat(content): `/content/edge_check` endpoint now returns informational values in `hash` when a timeout occurs or when
an object is too large.
- feat(logging-datalog): Added additional regions

## [v5.4.0](https://github.com/fastly/fastly-py/releases/tag/release/v5.4.0) (2024-06-27)

**Bug fixes:**
Expand Down
2 changes: 1 addition & 1 deletion docs/ContentApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Method | HTTP request | Description
Check status of content in each POP's cache

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.
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`.

### Example

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingKafkaAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**auth_method** | **str** | SASL authentication method. | [optional]
**user** | **str** | SASL user. | [optional]
**password** | **str** | SASL password. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.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
6 changes: 3 additions & 3 deletions docs/LoggingKafkaApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import time
import fastly
from fastly.api import logging_kafka_api
from fastly.model.logging_kafka_response_post import LoggingKafkaResponsePost
from fastly.model.logging_use_tls import LoggingUseTls
from fastly.model.logging_use_tls_string import LoggingUseTlsString
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 @@ -71,7 +71,7 @@ with fastly.ApiClient(configuration) as api_client:
auth_method = "plain" # str | SASL authentication method. (optional)
user = "user_example" # str | SASL user. (optional)
password = "password_example" # str | SASL password. (optional)
use_tls = LoggingUseTls(0) # LoggingUseTls | (optional)
use_tls = LoggingUseTlsString("0") # LoggingUseTlsString | (optional)

# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -116,7 +116,7 @@ Name | Type | Description | Notes
**auth_method** | **str**| SASL authentication method. | [optional]
**user** | **str**| SASL user. | [optional]
**password** | **str**| SASL password. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md)| | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md)| | [optional]

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingKafkaResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Name | Type | Description | Notes
**auth_method** | **str** | SASL authentication method. | [optional]
**user** | **str** | SASL user. | [optional]
**password** | **str** | SASL password. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.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
2 changes: 1 addition & 1 deletion docs/LoggingKafkaResponsePost.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Name | Type | Description | Notes
**auth_method** | **str** | SASL authentication method. | [optional]
**user** | **str** | SASL user. | [optional]
**password** | **str** | SASL password. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.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
2 changes: 1 addition & 1 deletion docs/LoggingLogentriesAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**port** | **int** | The port number. | [optional] if omitted the server will use the default value of 20000
**token** | **str** | Use token based authentication. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md) | | [optional]
**region** | **str** | The region to which to stream logs. | [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]

Expand Down
12 changes: 6 additions & 6 deletions docs/LoggingLogentriesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import time
import fastly
from fastly.api import logging_logentries_api
from fastly.model.logging_logentries_response import LoggingLogentriesResponse
from fastly.model.logging_use_tls import LoggingUseTls
from fastly.model.logging_use_tls_string import LoggingUseTlsString
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 @@ -60,7 +60,7 @@ with fastly.ApiClient(configuration) as api_client:
format_version = 2 # int | 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`. (optional) if omitted the server will use the default value of 2
port = 20000 # int | The port number. (optional) if omitted the server will use the default value of 20000
token = "token_example" # str | Use token based authentication. (optional)
use_tls = LoggingUseTls(0) # LoggingUseTls | (optional)
use_tls = LoggingUseTlsString("0") # LoggingUseTlsString | (optional)
region = "US" # str | The region to which to stream logs. (optional)

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -95,7 +95,7 @@ Name | Type | Description | Notes
**format_version** | **int**| 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`. | [optional] if omitted the server will use the default value of 2
**port** | **int**| The port number. | [optional] if omitted the server will use the default value of 20000
**token** | **str**| Use token based authentication. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md)| | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md)| | [optional]
**region** | **str**| The region to which to stream logs. | [optional]

### Return type
Expand Down Expand Up @@ -380,7 +380,7 @@ import time
import fastly
from fastly.api import logging_logentries_api
from fastly.model.logging_logentries_response import LoggingLogentriesResponse
from fastly.model.logging_use_tls import LoggingUseTls
from fastly.model.logging_use_tls_string import LoggingUseTlsString
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 @@ -413,7 +413,7 @@ with fastly.ApiClient(configuration) as api_client:
format_version = 2 # int | 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`. (optional) if omitted the server will use the default value of 2
port = 20000 # int | The port number. (optional) if omitted the server will use the default value of 20000
token = "token_example" # str | Use token based authentication. (optional)
use_tls = LoggingUseTls(0) # LoggingUseTls | (optional)
use_tls = LoggingUseTlsString("0") # LoggingUseTlsString | (optional)
region = "US" # str | The region to which to stream logs. (optional)

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -449,7 +449,7 @@ Name | Type | Description | Notes
**format_version** | **int**| 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`. | [optional] if omitted the server will use the default value of 2
**port** | **int**| The port number. | [optional] if omitted the server will use the default value of 20000
**token** | **str**| Use token based authentication. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md)| | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md)| | [optional]
**region** | **str**| The region to which to stream logs. | [optional]

### Return type
Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingLogentriesResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**format_version** | **str** | 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`. | [optional] if omitted the server will use the default value of "2"
**port** | **int** | The port number. | [optional] if omitted the server will use the default value of 20000
**token** | **str** | Use token based authentication. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md) | | [optional]
**region** | **str** | The region to which to stream logs. | [optional]
**created_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**deleted_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingSplunkAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**url** | **str** | The URL to post logs to. | [optional]
**token** | **str** | A Splunk token for use in posting logs over HTTP to your collector. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.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
12 changes: 6 additions & 6 deletions docs/LoggingSplunkApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Create a Splunk logging object for a particular service and version.
import time
import fastly
from fastly.api import logging_splunk_api
from fastly.model.logging_use_tls_string import LoggingUseTlsString
from fastly.model.logging_splunk_response import LoggingSplunkResponse
from fastly.model.logging_use_tls import LoggingUseTls
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 @@ -66,7 +66,7 @@ with fastly.ApiClient(configuration) as api_client:
request_max_bytes = 0 # int | The maximum number of bytes sent in one request. Defaults `0` for unbounded. (optional) if omitted the server will use the default value of 0
url = "url_example" # str | The URL to post logs to. (optional)
token = "token_example" # str | A Splunk token for use in posting logs over HTTP to your collector. (optional)
use_tls = LoggingUseTls(0) # LoggingUseTls | (optional)
use_tls = LoggingUseTlsString("0") # LoggingUseTlsString | (optional)

# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -106,7 +106,7 @@ Name | Type | Description | Notes
**request_max_bytes** | **int**| The maximum number of bytes sent in one request. Defaults `0` for unbounded. | [optional] if omitted the server will use the default value of 0
**url** | **str**| The URL to post logs to. | [optional]
**token** | **str**| A Splunk token for use in posting logs over HTTP to your collector. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md)| | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md)| | [optional]

### Return type

Expand Down Expand Up @@ -389,8 +389,8 @@ Update the Splunk logging object for a particular service and version.
import time
import fastly
from fastly.api import logging_splunk_api
from fastly.model.logging_use_tls_string import LoggingUseTlsString
from fastly.model.logging_splunk_response import LoggingSplunkResponse
from fastly.model.logging_use_tls import LoggingUseTls
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 @@ -429,7 +429,7 @@ with fastly.ApiClient(configuration) as api_client:
request_max_bytes = 0 # int | The maximum number of bytes sent in one request. Defaults `0` for unbounded. (optional) if omitted the server will use the default value of 0
url = "url_example" # str | The URL to post logs to. (optional)
token = "token_example" # str | A Splunk token for use in posting logs over HTTP to your collector. (optional)
use_tls = LoggingUseTls(0) # LoggingUseTls | (optional)
use_tls = LoggingUseTlsString("0") # LoggingUseTlsString | (optional)

# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -470,7 +470,7 @@ Name | Type | Description | Notes
**request_max_bytes** | **int**| The maximum number of bytes sent in one request. Defaults `0` for unbounded. | [optional] if omitted the server will use the default value of 0
**url** | **str**| The URL to post logs to. | [optional]
**token** | **str**| A Splunk token for use in posting logs over HTTP to your collector. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md)| | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md)| | [optional]

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingSplunkResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**request_max_bytes** | **int** | The maximum number of bytes sent in one request. Defaults `0` for unbounded. | [optional] if omitted the server will use the default value of 0
**url** | **str** | The URL to post logs to. | [optional]
**token** | **str** | A Splunk token for use in posting logs over HTTP to your collector. | [optional]
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md) | | [optional]
**created_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**deleted_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**updated_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingSyslogAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**hostname** | **str** | The hostname used for the syslog endpoint. | [optional]
**ipv4** | **str, none_type** | The IPv4 address used for the syslog endpoint. | [optional]
**token** | **str, none_type** | Whether to prepend each message with a specific token. | [optional] if omitted the server will use the default value of "null"
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.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
12 changes: 6 additions & 6 deletions docs/LoggingSyslogApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Create a Syslog for a particular service and version.
import time
import fastly
from fastly.api import logging_syslog_api
from fastly.model.logging_use_tls_string import LoggingUseTlsString
from fastly.model.logging_message_type import LoggingMessageType
from fastly.model.logging_use_tls import LoggingUseTls
from fastly.model.logging_syslog_response import LoggingSyslogResponse
from pprint import pprint
# Defining the host is optional and defaults to https://api.fastly.com
Expand Down Expand Up @@ -69,7 +69,7 @@ with fastly.ApiClient(configuration) as api_client:
hostname = "hostname_example" # str | The hostname used for the syslog endpoint. (optional)
ipv4 = "ipv4_example" # str, none_type | The IPv4 address used for the syslog endpoint. (optional)
token = "null" # str, none_type | Whether to prepend each message with a specific token. (optional) if omitted the server will use the default value of "null"
use_tls = LoggingUseTls(0) # LoggingUseTls | (optional)
use_tls = LoggingUseTlsString("0") # LoggingUseTlsString | (optional)

# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -111,7 +111,7 @@ Name | Type | Description | Notes
**hostname** | **str**| The hostname used for the syslog endpoint. | [optional]
**ipv4** | **str, none_type**| The IPv4 address used for the syslog endpoint. | [optional]
**token** | **str, none_type**| Whether to prepend each message with a specific token. | [optional] if omitted the server will use the default value of "null"
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md)| | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md)| | [optional]

### Return type

Expand Down Expand Up @@ -394,8 +394,8 @@ Update the Syslog for a particular service and version.
import time
import fastly
from fastly.api import logging_syslog_api
from fastly.model.logging_use_tls_string import LoggingUseTlsString
from fastly.model.logging_message_type import LoggingMessageType
from fastly.model.logging_use_tls import LoggingUseTls
from fastly.model.logging_syslog_response import LoggingSyslogResponse
from pprint import pprint
# Defining the host is optional and defaults to https://api.fastly.com
Expand Down Expand Up @@ -437,7 +437,7 @@ with fastly.ApiClient(configuration) as api_client:
hostname = "hostname_example" # str | The hostname used for the syslog endpoint. (optional)
ipv4 = "ipv4_example" # str, none_type | The IPv4 address used for the syslog endpoint. (optional)
token = "null" # str, none_type | Whether to prepend each message with a specific token. (optional) if omitted the server will use the default value of "null"
use_tls = LoggingUseTls(0) # LoggingUseTls | (optional)
use_tls = LoggingUseTlsString("0") # LoggingUseTlsString | (optional)

# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -480,7 +480,7 @@ Name | Type | Description | Notes
**hostname** | **str**| The hostname used for the syslog endpoint. | [optional]
**ipv4** | **str, none_type**| The IPv4 address used for the syslog endpoint. | [optional]
**token** | **str, none_type**| Whether to prepend each message with a specific token. | [optional] if omitted the server will use the default value of "null"
**use_tls** | [**LoggingUseTls**](LoggingUseTls.md)| | [optional]
**use_tls** | [**LoggingUseTlsString**](LoggingUseTlsString.md)| | [optional]

### Return type

Expand Down
Loading

0 comments on commit 608550a

Please sign in to comment.