Skip to content

Commit 3bf2639

Browse files
author
github-actions
committed
Generated v6.07
1 parent f361f9d commit 3bf2639

File tree

104 files changed

+9732
-62
lines changed

Some content is hidden

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

104 files changed

+9732
-62
lines changed

Changes

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

3+
6.07 2024-08-04
4+
5+
[Enhancements]
6+
- feat(observability): Adds new Observability Custom Dashboards API
7+
- feat(billing-invoices): Adds month-to-date invoice information
8+
- feat(billing-usage-metrics): Adds information on service-level usage.
9+
- feat(tls): Adds an endpoint to get a TLS certificate blob (Limited Availability)
10+
- feat(stats): Add `origin_offload` metric
11+
312
6.06 2024-07-01
413

514
[Bug fixes]

README.md

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

55
# VERSION
66

7-
6.06
7+
6.07
88

99

1010
# SYNOPSIS
@@ -92,7 +92,10 @@ Class | Method | Description
9292
*BillingAddressApi* | [**get_billing_addr**](docs/BillingAddressApi.md#get_billing_addr) | Get a billing address
9393
*BillingAddressApi* | [**update_billing_addr**](docs/BillingAddressApi.md#update_billing_addr) | Update a billing address
9494
*BillingInvoicesApi* | [**get_invoice_by_invoice_id**](docs/BillingInvoicesApi.md#get_invoice_by_invoice_id) | Get invoice by ID.
95+
*BillingInvoicesApi* | [**get_month_to_date_invoice**](docs/BillingInvoicesApi.md#get_month_to_date_invoice) | Get month-to-date invoice.
9596
*BillingInvoicesApi* | [**list_invoices**](docs/BillingInvoicesApi.md#list_invoices) | List of invoices.
97+
*BillingUsageMetricsApi* | [**get_service_level_usage**](docs/BillingUsageMetricsApi.md#get_service_level_usage) | Retrieve service-level usage metrics for a product.
98+
*BillingUsageMetricsApi* | [**get_service_level_usage_types**](docs/BillingUsageMetricsApi.md#get_service_level_usage_types) | Retrieve product usage types for a customer.
9699
*CacheSettingsApi* | [**create_cache_settings**](docs/CacheSettingsApi.md#create_cache_settings) | Create a cache settings object
97100
*CacheSettingsApi* | [**delete_cache_settings**](docs/CacheSettingsApi.md#delete_cache_settings) | Delete a cache settings object
98101
*CacheSettingsApi* | [**get_cache_settings**](docs/CacheSettingsApi.md#get_cache_settings) | Get a cache settings object
@@ -404,6 +407,11 @@ Class | Method | Description
404407
*MutualAuthenticationApi* | [**get_mutual_authentication**](docs/MutualAuthenticationApi.md#get_mutual_authentication) | Get a Mutual Authentication
405408
*MutualAuthenticationApi* | [**list_mutual_authentications**](docs/MutualAuthenticationApi.md#list_mutual_authentications) | List Mutual Authentications
406409
*MutualAuthenticationApi* | [**patch_mutual_authentication**](docs/MutualAuthenticationApi.md#patch_mutual_authentication) | Update a Mutual Authentication
410+
*ObservabilityCustomDashboardsApi* | [**create_dashboard**](docs/ObservabilityCustomDashboardsApi.md#create_dashboard) | Create a new dashboard
411+
*ObservabilityCustomDashboardsApi* | [**delete_dashboard**](docs/ObservabilityCustomDashboardsApi.md#delete_dashboard) | Delete an existing dashboard
412+
*ObservabilityCustomDashboardsApi* | [**get_dashboard**](docs/ObservabilityCustomDashboardsApi.md#get_dashboard) | Retrieve a dashboard by ID
413+
*ObservabilityCustomDashboardsApi* | [**list_dashboards**](docs/ObservabilityCustomDashboardsApi.md#list_dashboards) | List all custom dashboards
414+
*ObservabilityCustomDashboardsApi* | [**update_dashboard**](docs/ObservabilityCustomDashboardsApi.md#update_dashboard) | Update an existing dashboard
407415
*OriginInspectorHistoricalApi* | [**get_origin_inspector_historical**](docs/OriginInspectorHistoricalApi.md#get_origin_inspector_historical) | Get historical origin data for a service
408416
*OriginInspectorRealtimeApi* | [**get_origin_inspector_last120_seconds**](docs/OriginInspectorRealtimeApi.md#get_origin_inspector_last120_seconds) | Get real-time origin data for the last 120 seconds
409417
*OriginInspectorRealtimeApi* | [**get_origin_inspector_last_max_entries**](docs/OriginInspectorRealtimeApi.md#get_origin_inspector_last_max_entries) | Get a limited number of real-time origin data entries
@@ -505,6 +513,7 @@ Class | Method | Description
505513
*TlsCertificatesApi* | [**create_tls_cert**](docs/TlsCertificatesApi.md#create_tls_cert) | Create a TLS certificate
506514
*TlsCertificatesApi* | [**delete_tls_cert**](docs/TlsCertificatesApi.md#delete_tls_cert) | Delete a TLS certificate
507515
*TlsCertificatesApi* | [**get_tls_cert**](docs/TlsCertificatesApi.md#get_tls_cert) | Get a TLS certificate
516+
*TlsCertificatesApi* | [**get_tls_cert_blob**](docs/TlsCertificatesApi.md#get_tls_cert_blob) | Get a TLS certificate blob (Limited Availability)
508517
*TlsCertificatesApi* | [**list_tls_certs**](docs/TlsCertificatesApi.md#list_tls_certs) | List TLS certificates
509518
*TlsCertificatesApi* | [**update_tls_cert**](docs/TlsCertificatesApi.md#update_tls_cert) | Update a TLS certificate
510519
*TlsConfigurationsApi* | [**get_tls_config**](docs/TlsConfigurationsApi.md#get_tls_config) | Get a TLS configuration
@@ -602,6 +611,8 @@ The fastly-perl API client currently does not support the following endpoints:
602611
- [`/alerts/definitions/{definition_id}`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (DELETE, GET, PUT)
603612
- [`/alerts/definitions`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (GET, POST)
604613
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
614+
- [`/dns/configurations/{dns_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
615+
- [`/dns/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
605616
- [`/notifications/integration-types`](https://developer.fastly.com/reference/api/observability/notification) (GET)
606617
- [`/notifications/integrations/{integration_id}/rotateSigningKey`](https://developer.fastly.com/reference/api/observability/notification) (POST)
607618
- [`/notifications/integrations/{integration_id}/signingKey`](https://developer.fastly.com/reference/api/observability/notification) (GET)
@@ -611,7 +622,9 @@ The fastly-perl API client currently does not support the following endpoints:
611622
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
612623
- [`/tls/activations/{tls_activation_id}`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET, PATCH)
613624
- [`/tls/activations`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET)
614-
- [`/tls/preview/domains/{tls_preview_domain_id}`](https://www.fastly.com/documentation/reference/api/) (GET, PATCH)
625+
- [`/tls/configurations/{tls_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
626+
- [`/tls/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
627+
- [`/tls/preview/domains/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (GET, PATCH)
615628
- [`/tls/preview/domains`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
616629
- [`/v1/channel/{service_id}/ts/h/limit/{max_entries}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
617630
- [`/v1/channel/{service_id}/ts/h`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)

docs/RelationshipTlsDnsRecord.md docs/AsyncResponse.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
# WebService::Fastly::Object::RelationshipTlsDnsRecord
1+
# WebService::Fastly::Object::AsyncResponse
22

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

88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11-
**dns_record** | [**RelationshipTlsDnsRecordDnsRecord**](RelationshipTlsDnsRecordDnsRecord.md) | | [optional]
11+
**title** | **string** | | [optional]
12+
**status** | **string** | | [optional]
1213

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

docs/BillingInvoicesApi.md

+52-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ use WebService::Fastly::Object::BillingInvoicesApi;
1111
Method | HTTP request | Description
1212
------ | ------------ | -----------
1313
[**get_invoice_by_invoice_id**](BillingInvoicesApi.md#get_invoice_by_invoice_id) | **GET** /billing/v3/invoices/{invoice_id} | Get invoice by ID.
14+
[**get_month_to_date_invoice**](BillingInvoicesApi.md#get_month_to_date_invoice) | **GET** /billing/v3/invoices/month-to-date | Get month-to-date invoice.
1415
[**list_invoices**](BillingInvoicesApi.md#list_invoices) | **GET** /billing/v3/invoices | List of invoices.
1516

1617

1718
# **get_invoice_by_invoice_id**
18-
> InvoiceResponse get_invoice_by_invoice_id(invoice_id => $invoice_id)
19+
> EomInvoiceResponse get_invoice_by_invoice_id(invoice_id => $invoice_id)
1920
2021
Get invoice by ID.
2122

@@ -52,7 +53,54 @@ Name | Type | Description | Notes
5253

5354
### Return type
5455

55-
[**InvoiceResponse**](InvoiceResponse.md)
56+
[**EomInvoiceResponse**](EomInvoiceResponse.md)
57+
58+
### Authorization
59+
60+
[token](../README.md#token)
61+
62+
### HTTP request headers
63+
64+
- **Content-Type**: Not defined
65+
- **Accept**: application/json
66+
67+
[[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)
68+
69+
# **get_month_to_date_invoice**
70+
> MtdInvoiceResponse get_month_to_date_invoice()
71+
72+
Get month-to-date invoice.
73+
74+
Returns month-to-date invoice for the current month.
75+
76+
### Example
77+
```perl
78+
use Data::Dumper;
79+
use WebService::Fastly::BillingInvoicesApi;
80+
my $api_instance = WebService::Fastly::BillingInvoicesApi->new(
81+
82+
# Configure API key authorization: token
83+
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
84+
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
85+
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
86+
);
87+
88+
89+
eval {
90+
my $result = $api_instance->get_month_to_date_invoice();
91+
print Dumper($result);
92+
};
93+
if ($@) {
94+
warn "Exception when calling BillingInvoicesApi->get_month_to_date_invoice: $@\n";
95+
}
96+
```
97+
98+
### Parameters
99+
This endpoint does not need any parameter.
100+
101+
### Return type
102+
103+
[**MtdInvoiceResponse**](MtdInvoiceResponse.md)
56104

57105
### Authorization
58106

@@ -66,7 +114,7 @@ Name | Type | Description | Notes
66114
[[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)
67115

68116
# **list_invoices**
69-
> ListInvoicesResponse list_invoices(billing_start_date => $billing_start_date, billing_end_date => $billing_end_date, limit => $limit, cursor => $cursor)
117+
> ListEomInvoicesResponse list_invoices(billing_start_date => $billing_start_date, billing_end_date => $billing_end_date, limit => $limit, cursor => $cursor)
70118
71119
List of invoices.
72120

@@ -109,7 +157,7 @@ Name | Type | Description | Notes
109157

110158
### Return type
111159

112-
[**ListInvoicesResponse**](ListInvoicesResponse.md)
160+
[**ListEomInvoicesResponse**](ListEomInvoicesResponse.md)
113161

114162
### Authorization
115163

docs/BillingUsageMetricsApi.md

+136
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
# WebService::Fastly::BillingUsageMetricsApi
2+
3+
## Load the API package
4+
```perl
5+
use WebService::Fastly::Object::BillingUsageMetricsApi;
6+
```
7+
8+
> [!NOTE]
9+
> All URIs are relative to `https://api.fastly.com`
10+
11+
Method | HTTP request | Description
12+
------ | ------------ | -----------
13+
[**get_service_level_usage**](BillingUsageMetricsApi.md#get_service_level_usage) | **GET** /billing/v2/account_customers/{customer_id}/service-usage-metrics | Retrieve service-level usage metrics for a product.
14+
[**get_service_level_usage_types**](BillingUsageMetricsApi.md#get_service_level_usage_types) | **GET** /billing/v2/account_customers/{customer_id}/service-usage-types | Retrieve product usage types for a customer.
15+
16+
17+
# **get_service_level_usage**
18+
> Serviceusagemetrics get_service_level_usage(customer_id => $customer_id, product_id => $product_id, usage_type_name => $usage_type_name, time_granularity => $time_granularity, start_date => $start_date, end_date => $end_date, start_month => $start_month, end_month => $end_month, limit => $limit, cursor => $cursor)
19+
20+
Retrieve service-level usage metrics for a product.
21+
22+
Returns product usage, broken down by service.
23+
24+
### Example
25+
```perl
26+
use Data::Dumper;
27+
use WebService::Fastly::BillingUsageMetricsApi;
28+
my $api_instance = WebService::Fastly::BillingUsageMetricsApi->new(
29+
30+
# Configure API key authorization: token
31+
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
32+
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
33+
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
34+
);
35+
36+
my $customer_id = "customer_id_example"; # string | Alphanumeric string identifying the customer.
37+
my $product_id = "product_id_example"; # string | The product identifier for the metrics returned (e.g., `cdn_usage`). This field is not required for CSV requests.
38+
my $usage_type_name = "usage_type_name_example"; # string | The usage type name for the metrics returned (e.g., `North America Requests`). This field is not required for CSV requests.
39+
my $time_granularity = "time_granularity_example"; # string |
40+
my $start_date = 2023-01-01; # string |
41+
my $end_date = 2023-01-31; # string |
42+
my $start_month = 2023-01; # string |
43+
my $end_month = 2023-03; # string |
44+
my $limit = '5'; # string | Number of results per page. The maximum is 100.
45+
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.
46+
47+
eval {
48+
my $result = $api_instance->get_service_level_usage(customer_id => $customer_id, product_id => $product_id, usage_type_name => $usage_type_name, time_granularity => $time_granularity, start_date => $start_date, end_date => $end_date, start_month => $start_month, end_month => $end_month, limit => $limit, cursor => $cursor);
49+
print Dumper($result);
50+
};
51+
if ($@) {
52+
warn "Exception when calling BillingUsageMetricsApi->get_service_level_usage: $@\n";
53+
}
54+
```
55+
56+
### Parameters
57+
58+
Name | Type | Description | Notes
59+
------------- | ------------- | ------------- | -------------
60+
**customer_id** | **string**| Alphanumeric string identifying the customer. |
61+
**product_id** | **string**| The product identifier for the metrics returned (e.g., `cdn_usage`). This field is not required for CSV requests. |
62+
**usage_type_name** | **string**| The usage type name for the metrics returned (e.g., `North America Requests`). This field is not required for CSV requests. |
63+
**time_granularity** | **string**| |
64+
**start_date** | **string**| | [optional]
65+
**end_date** | **string**| | [optional]
66+
**start_month** | **string**| | [optional]
67+
**end_month** | **string**| | [optional]
68+
**limit** | **string**| Number of results per page. The maximum is 100. | [optional] [default to '5']
69+
**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]
70+
71+
### Return type
72+
73+
[**Serviceusagemetrics**](Serviceusagemetrics.md)
74+
75+
### Authorization
76+
77+
[token](../README.md#token)
78+
79+
### HTTP request headers
80+
81+
- **Content-Type**: Not defined
82+
- **Accept**: application/json
83+
84+
[[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)
85+
86+
# **get_service_level_usage_types**
87+
> Serviceusagetypes get_service_level_usage_types(customer_id => $customer_id)
88+
89+
Retrieve product usage types for a customer.
90+
91+
Returns product usage types reported by the customer's services.
92+
93+
### Example
94+
```perl
95+
use Data::Dumper;
96+
use WebService::Fastly::BillingUsageMetricsApi;
97+
my $api_instance = WebService::Fastly::BillingUsageMetricsApi->new(
98+
99+
# Configure API key authorization: token
100+
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
101+
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
102+
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
103+
);
104+
105+
my $customer_id = "customer_id_example"; # string | Alphanumeric string identifying the customer.
106+
107+
eval {
108+
my $result = $api_instance->get_service_level_usage_types(customer_id => $customer_id);
109+
print Dumper($result);
110+
};
111+
if ($@) {
112+
warn "Exception when calling BillingUsageMetricsApi->get_service_level_usage_types: $@\n";
113+
}
114+
```
115+
116+
### Parameters
117+
118+
Name | Type | Description | Notes
119+
------------- | ------------- | ------------- | -------------
120+
**customer_id** | **string**| Alphanumeric string identifying the customer. |
121+
122+
### Return type
123+
124+
[**Serviceusagetypes**](Serviceusagetypes.md)
125+
126+
### Authorization
127+
128+
[token](../README.md#token)
129+
130+
### HTTP request headers
131+
132+
- **Content-Type**: Not defined
133+
- **Accept**: application/json
134+
135+
[[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)
136+

docs/CreateDashboardRequest.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# WebService::Fastly::Object::CreateDashboardRequest
2+
3+
## Load the model package
4+
```perl
5+
use WebService::Fastly::Object::CreateDashboardRequest;
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**name** | **string** | A human-readable name |
12+
**description** | **string** | A short description of the dashboard | [optional]
13+
**items** | [**ARRAY[DashboardItem]**](DashboardItem.md) | A list of [dashboard items](#dashboard-item). | [optional]
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16+
17+

docs/Dashboard.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# WebService::Fastly::Object::Dashboard
2+
3+
## Load the model package
4+
```perl
5+
use WebService::Fastly::Object::Dashboard;
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**id** | **string** | Dashboard identifier (UUID) | [optional] [readonly]
12+
**name** | **string** | A human-readable name | [optional]
13+
**description** | **string** | A short description of the dashboard | [optional]
14+
**items** | [**ARRAY[DashboardItem]**](DashboardItem.md) | A list of [dashboard items](#dashboard-item). | [optional]
15+
**created_at** | **DateTime** | Date and time in ISO 8601 format. | [optional] [readonly]
16+
**updated_at** | **DateTime** | Date and time in ISO 8601 format. | [optional] [readonly]
17+
**created_by** | [**DashboardPropertyCreatedBy**](DashboardPropertyCreatedBy.md) | | [optional]
18+
**updated_by** | [**DashboardPropertyUpdatedBy**](DashboardPropertyUpdatedBy.md) | | [optional]
19+
20+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
21+
22+

docs/DashboardItem.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# WebService::Fastly::Object::DashboardItem
2+
3+
## Load the model package
4+
```perl
5+
use WebService::Fastly::Object::DashboardItem;
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**id** | **string** | Dashboard item identifier (UUID) | [optional] [readonly]
12+
**title** | **string** | A human-readable title for the dashboard item |
13+
**subtitle** | **string** | A human-readable subtitle for the dashboard item. Often a description of the visualization. |
14+
**data_source** | [**DashboardItemPropertyDataSource**](DashboardItemPropertyDataSource.md) | |
15+
**visualization** | [**DashboardItemPropertyVisualization**](DashboardItemPropertyVisualization.md) | |
16+
**span** | **int** | The number of columns for the dashboard item to span. Dashboards are rendered on a 12-column grid on \"desktop\" screen sizes. | [optional] [default to 4]
17+
18+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
19+
20+

0 commit comments

Comments
 (0)