Skip to content

Commit 45c6499

Browse files
author
github-actions
committed
Generated v6.02
1 parent 948ad84 commit 45c6499

File tree

109 files changed

+2888
-143
lines changed

Some content is hidden

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

109 files changed

+2888
-143
lines changed

Changes

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
Revision history for https://metacpan.org/dist/WebService-Fastly
22

3+
6.02 2024-02-28
4+
* feat(billing): add 'get invoice by invoice ID' endpoint.
5+
* feat(billing): add 'list invoices' endpoint.
6+
* feat(image_opto): add 'shield' and 'transform' methods and fields.
7+
* feat(secret_store): add 'name' filter.
8+
* feat(tls): add 'create CSR' endpoint.
9+
* feat(tls_subscription): add 'active order' methods and fields.
10+
* doc(backend) fix openssl link.
11+
* doc(director,domain_inspector,pool,realtime) fix POPs link.
12+
* doc(service) fix service version link.
13+
* doc(tls) fix activation link.
14+
315
6.01 2024-02-19
416
* fix(response_object): strongly type response_object create_update requests
517
* fix(tls_configurations): fix `tls_protocols` field to be a string array type

README.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WebService::Fastly - an interface to most facets of the Fastly API (https://deve
44

55
# VERSION
66

7-
6.01
7+
6.02
88

99

1010
# SYNOPSIS
@@ -84,6 +84,8 @@ Class | Method | HTTP request | Description
8484
*BillingAddressApi* | [**delete_billing_addr**](docs/BillingAddressApi.md#delete_billing_addr) | **DELETE** /customer/{customer_id}/billing_address | Delete a billing address
8585
*BillingAddressApi* | [**get_billing_addr**](docs/BillingAddressApi.md#get_billing_addr) | **GET** /customer/{customer_id}/billing_address | Get a billing address
8686
*BillingAddressApi* | [**update_billing_addr**](docs/BillingAddressApi.md#update_billing_addr) | **PATCH** /customer/{customer_id}/billing_address | Update a billing address
87+
*BillingInvoicesApi* | [**get_invoice_by_invoice_id**](docs/BillingInvoicesApi.md#get_invoice_by_invoice_id) | **GET** /billing/v3/invoices/{invoice_id} | Get invoice by ID.
88+
*BillingInvoicesApi* | [**list_invoices**](docs/BillingInvoicesApi.md#list_invoices) | **GET** /billing/v3/invoices | List of invoices.
8789
*CacheSettingsApi* | [**create_cache_settings**](docs/CacheSettingsApi.md#create_cache_settings) | **POST** /service/{service_id}/version/{version_id}/cache_settings | Create a cache settings object
8890
*CacheSettingsApi* | [**delete_cache_settings**](docs/CacheSettingsApi.md#delete_cache_settings) | **DELETE** /service/{service_id}/version/{version_id}/cache_settings/{cache_settings_name} | Delete a cache settings object
8991
*CacheSettingsApi* | [**get_cache_settings**](docs/CacheSettingsApi.md#get_cache_settings) | **GET** /service/{service_id}/version/{version_id}/cache_settings/{cache_settings_name} | Get a cache settings object
@@ -499,6 +501,7 @@ Class | Method | HTTP request | Description
499501
*TlsConfigurationsApi* | [**get_tls_config**](docs/TlsConfigurationsApi.md#get_tls_config) | **GET** /tls/configurations/{tls_configuration_id} | Get a TLS configuration
500502
*TlsConfigurationsApi* | [**list_tls_configs**](docs/TlsConfigurationsApi.md#list_tls_configs) | **GET** /tls/configurations | List TLS configurations
501503
*TlsConfigurationsApi* | [**update_tls_config**](docs/TlsConfigurationsApi.md#update_tls_config) | **PATCH** /tls/configurations/{tls_configuration_id} | Update a TLS configuration
504+
*TlsCsrsApi* | [**create_csr**](docs/TlsCsrsApi.md#create_csr) | **POST** /tls/certificate_signing_requests | Create CSR
502505
*TlsDomainsApi* | [**list_tls_domains**](docs/TlsDomainsApi.md#list_tls_domains) | **GET** /tls/domains | List TLS domains
503506
*TlsPrivateKeysApi* | [**create_tls_key**](docs/TlsPrivateKeysApi.md#create_tls_key) | **POST** /tls/private_keys | Create a TLS private key
504507
*TlsPrivateKeysApi* | [**delete_tls_key**](docs/TlsPrivateKeysApi.md#delete_tls_key) | **DELETE** /tls/private_keys/{tls_private_key_id} | Delete a TLS private key
@@ -585,12 +588,15 @@ Class | Method | HTTP request | Description
585588

586589
The fastly-perl API client currently does not support the following endpoints:
587590

588-
- [`/resources/stores/kv/{store_id}/batch`](https://developer.fastly.com/reference/api/services/resources/kv-store-item) (PUT)
589-
- [`/tls/activations/{tls_activation_id}`](https://developer.fastly.com/reference/api/tls/mutual-tls/activations) (GET, PATCH)
590-
- [`/tls/activations`](https://developer.fastly.com/reference/api/tls/mutual-tls/activations) (GET)
591-
- [`/v1/channel/{service_id}/ts/h/limit/{max_entries}`](https://developer.fastly.com/reference/api/metrics-stats/origin-insights) (GET)
592-
- [`/v1/channel/{service_id}/ts/h`](https://developer.fastly.com/reference/api/metrics-stats/origin-insights) (GET)
593-
- [`/v1/channel/{service_id}/ts/{start_timestamp}`](https://developer.fastly.com/reference/api/metrics-stats/origin-insights) (GET)
591+
- [`/alerts/definitions/{definition_id}`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (DELETE, GET, PUT)
592+
- [`/alerts/definitions`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (GET, POST)
593+
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
594+
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
595+
- [`/tls/activations/{tls_activation_id}`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET, PATCH)
596+
- [`/tls/activations`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET)
597+
- [`/v1/channel/{service_id}/ts/h/limit/{max_entries}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
598+
- [`/v1/channel/{service_id}/ts/h`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
599+
- [`/v1/channel/{service_id}/ts/{start_timestamp}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
594600

595601

596602
If you encounter any non-security-related bug or unexpected behavior, please file an issue (https://github.com/fastly/fastly-perl/issues/new?labels=bug)

docs/ErrorResponse.md docs/AutomationTokenErrorResponse.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# WebService::Fastly::Object::ErrorResponse
1+
# WebService::Fastly::Object::AutomationTokenErrorResponse
22

33
## Load the model package
44
```perl
5-
use WebService::Fastly::Object::ErrorResponse;
5+
use WebService::Fastly::Object::AutomationTokenErrorResponse;
66
```
77

88
## Properties

docs/AutomationTokensApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Name | Type | Description | Notes
227227
[[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)
228228

229229
# **revoke_automation_token_id**
230-
> ErrorResponse revoke_automation_token_id(id => $id)
230+
> AutomationTokenErrorResponse revoke_automation_token_id(id => $id)
231231
232232
Revoke an Automation Token by ID
233233

@@ -264,7 +264,7 @@ Name | Type | Description | Notes
264264

265265
### Return type
266266

267-
[**ErrorResponse**](ErrorResponse.md)
267+
[**AutomationTokenErrorResponse**](AutomationTokenErrorResponse.md)
268268

269269
### Authorization
270270

docs/Backend.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Name | Type | Description | Notes
3232
**ssl_ca_cert** | **string** | CA certificate attached to origin. | [optional]
3333
**ssl_cert_hostname** | **string** | Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all. | [optional]
3434
**ssl_check_cert** | **boolean** | Be strict on checking SSL certs. | [optional] [default to true]
35-
**ssl_ciphers** | **string** | List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
35+
**ssl_ciphers** | **string** | List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
3636
**ssl_client_cert** | **string** | Client certificate attached to origin. | [optional]
3737
**ssl_client_key** | **string** | Client key attached to origin. | [optional]
3838
**ssl_hostname** | **string** | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional]

docs/BackendApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ my $shield = "shield_example"; # string | Identifier of the POP to use as a [shi
6161
my $ssl_ca_cert = "ssl_ca_cert_example"; # string | CA certificate attached to origin.
6262
my $ssl_cert_hostname = "ssl_cert_hostname_example"; # string | Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
6363
my $ssl_check_cert = true; # boolean | Be strict on checking SSL certs.
64-
my $ssl_ciphers = "ssl_ciphers_example"; # string | List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
64+
my $ssl_ciphers = "ssl_ciphers_example"; # string | List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
6565
my $ssl_client_cert = "ssl_client_cert_example"; # string | Client certificate attached to origin.
6666
my $ssl_client_key = "ssl_client_key_example"; # string | Client key attached to origin.
6767
my $ssl_hostname = "ssl_hostname_example"; # string | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
@@ -108,7 +108,7 @@ Name | Type | Description | Notes
108108
**ssl_ca_cert** | **string**| CA certificate attached to origin. | [optional]
109109
**ssl_cert_hostname** | **string**| Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all. | [optional]
110110
**ssl_check_cert** | **boolean**| Be strict on checking SSL certs. | [optional] [default to true]
111-
**ssl_ciphers** | **string**| List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
111+
**ssl_ciphers** | **string**| List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
112112
**ssl_client_cert** | **string**| Client certificate attached to origin. | [optional]
113113
**ssl_client_key** | **string**| Client key attached to origin. | [optional]
114114
**ssl_hostname** | **string**| Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional]
@@ -340,7 +340,7 @@ my $shield = "shield_example"; # string | Identifier of the POP to use as a [shi
340340
my $ssl_ca_cert = "ssl_ca_cert_example"; # string | CA certificate attached to origin.
341341
my $ssl_cert_hostname = "ssl_cert_hostname_example"; # string | Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
342342
my $ssl_check_cert = true; # boolean | Be strict on checking SSL certs.
343-
my $ssl_ciphers = "ssl_ciphers_example"; # string | List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
343+
my $ssl_ciphers = "ssl_ciphers_example"; # string | List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
344344
my $ssl_client_cert = "ssl_client_cert_example"; # string | Client certificate attached to origin.
345345
my $ssl_client_key = "ssl_client_key_example"; # string | Client key attached to origin.
346346
my $ssl_hostname = "ssl_hostname_example"; # string | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
@@ -388,7 +388,7 @@ Name | Type | Description | Notes
388388
**ssl_ca_cert** | **string**| CA certificate attached to origin. | [optional]
389389
**ssl_cert_hostname** | **string**| Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all. | [optional]
390390
**ssl_check_cert** | **boolean**| Be strict on checking SSL certs. | [optional] [default to true]
391-
**ssl_ciphers** | **string**| List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
391+
**ssl_ciphers** | **string**| List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
392392
**ssl_client_cert** | **string**| Client certificate attached to origin. | [optional]
393393
**ssl_client_key** | **string**| Client key attached to origin. | [optional]
394394
**ssl_hostname** | **string**| Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional]

docs/BackendResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Name | Type | Description | Notes
3232
**ssl_ca_cert** | **string** | CA certificate attached to origin. | [optional]
3333
**ssl_cert_hostname** | **string** | Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all. | [optional]
3434
**ssl_check_cert** | **boolean** | Be strict on checking SSL certs. | [optional] [default to true]
35-
**ssl_ciphers** | **string** | List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
35+
**ssl_ciphers** | **string** | List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
3636
**ssl_client_cert** | **string** | Client certificate attached to origin. | [optional]
3737
**ssl_client_key** | **string** | Client key attached to origin. | [optional]
3838
**ssl_hostname** | **string** | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional]

docs/BillingInvoicesApi.md

+123
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
# WebService::Fastly::BillingInvoicesApi
2+
3+
## Load the API package
4+
```perl
5+
use WebService::Fastly::Object::BillingInvoicesApi;
6+
```
7+
8+
All URIs are relative to *https://api.fastly.com*
9+
10+
Method | HTTP request | Description
11+
------------- | ------------- | -------------
12+
[**get_invoice_by_invoice_id**](BillingInvoicesApi.md#get_invoice_by_invoice_id) | **GET** /billing/v3/invoices/{invoice_id} | Get invoice by ID.
13+
[**list_invoices**](BillingInvoicesApi.md#list_invoices) | **GET** /billing/v3/invoices | List of invoices.
14+
15+
16+
# **get_invoice_by_invoice_id**
17+
> InvoiceResponse get_invoice_by_invoice_id(invoice_id => $invoice_id)
18+
19+
Get invoice by ID.
20+
21+
Returns invoice associated with the invoice id.
22+
23+
### Example
24+
```perl
25+
use Data::Dumper;
26+
use WebService::Fastly::BillingInvoicesApi;
27+
my $api_instance = WebService::Fastly::BillingInvoicesApi->new(
28+
29+
# Configure API key authorization: token
30+
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
31+
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
32+
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
33+
);
34+
35+
my $invoice_id = "invoice_id_example"; # string | Alphanumeric string identifying the invoice.
36+
37+
eval {
38+
my $result = $api_instance->get_invoice_by_invoice_id(invoice_id => $invoice_id);
39+
print Dumper($result);
40+
};
41+
if ($@) {
42+
warn "Exception when calling BillingInvoicesApi->get_invoice_by_invoice_id: $@\n";
43+
}
44+
```
45+
46+
### Parameters
47+
48+
Name | Type | Description | Notes
49+
------------- | ------------- | ------------- | -------------
50+
**invoice_id** | **string**| Alphanumeric string identifying the invoice. |
51+
52+
### Return type
53+
54+
[**InvoiceResponse**](InvoiceResponse.md)
55+
56+
### Authorization
57+
58+
[token](../README.md#token)
59+
60+
### HTTP request headers
61+
62+
- **Content-Type**: Not defined
63+
- **Accept**: application/json
64+
65+
[[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)
66+
67+
# **list_invoices**
68+
> ListInvoicesResponse list_invoices(billing_start_date => $billing_start_date, billing_end_date => $billing_end_date, limit => $limit, cursor => $cursor)
69+
70+
List of invoices.
71+
72+
Returns the list of invoices, sorted by billing start date (newest to oldest).
73+
74+
### Example
75+
```perl
76+
use Data::Dumper;
77+
use WebService::Fastly::BillingInvoicesApi;
78+
my $api_instance = WebService::Fastly::BillingInvoicesApi->new(
79+
80+
# Configure API key authorization: token
81+
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
82+
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
83+
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
84+
);
85+
86+
my $billing_start_date = 2023-01-01T00:00:00Z; # string |
87+
my $billing_end_date = 2023-01-31T00:00:00Z; # string |
88+
my $limit = '100'; # string | Number of results per page. The maximum is 200.
89+
my $cursor = "cursor_example"; # string | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
90+
91+
eval {
92+
my $result = $api_instance->list_invoices(billing_start_date => $billing_start_date, billing_end_date => $billing_end_date, limit => $limit, cursor => $cursor);
93+
print Dumper($result);
94+
};
95+
if ($@) {
96+
warn "Exception when calling BillingInvoicesApi->list_invoices: $@\n";
97+
}
98+
```
99+
100+
### Parameters
101+
102+
Name | Type | Description | Notes
103+
------------- | ------------- | ------------- | -------------
104+
**billing_start_date** | **string**| | [optional]
105+
**billing_end_date** | **string**| | [optional]
106+
**limit** | **string**| Number of results per page. The maximum is 200. | [optional] [default to '100']
107+
**cursor** | **string**| Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty. | [optional]
108+
109+
### Return type
110+
111+
[**ListInvoicesResponse**](ListInvoicesResponse.md)
112+
113+
### Authorization
114+
115+
[token](../README.md#token)
116+
117+
### HTTP request headers
118+
119+
- **Content-Type**: Not defined
120+
- **Accept**: application/json
121+
122+
[[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)
123+

docs/Director.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**comment** | **string** | A freeform descriptive note. | [optional]
1414
**name** | **string** | Name for the Director. | [optional]
1515
**quorum** | **int** | The percentage of capacity that needs to be up for a director to be considered up. `0` to `100`. | [optional] [default to 75]
16-
**shield** | **string** | Selected POP to serve as a shield for the backends. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional] [default to 'null']
16+
**shield** | **string** | Selected POP to serve as a shield for the backends. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](https://www.fastly.com/documentation/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional] [default to 'null']
1717
**type** | **int** | What type of load balance group to use. | [optional] [default to 1]
1818
**retries** | **int** | How many backends to search if it fails. | [optional] [default to 5]
1919

0 commit comments

Comments
 (0)