fastly 4.2.0 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +27 -5
  3. data/Gemfile.lock +1 -1
  4. data/README.md +87 -8
  5. data/docs/AclEntryApi.md +1 -1
  6. data/docs/DomainOwnershipsApi.md +47 -0
  7. data/docs/InlineResponse2002.md +1 -2
  8. data/docs/InlineResponse2003.md +11 -0
  9. data/docs/{InlineResponse2002Meta.md → InlineResponse2003Meta.md} +1 -1
  10. data/docs/{ErrorResponseData.md → InlineResponse2004.md} +3 -3
  11. data/docs/{ErrorResponse.md → InlineResponse2004Meta.md} +3 -2
  12. data/docs/ObjectStoreApi.md +6 -2
  13. data/docs/ObjectStoreItemApi.md +195 -0
  14. data/docs/RealtimeMeasurements.md +6 -0
  15. data/docs/Results.md +6 -0
  16. data/lib/fastly/api/acl_entry_api.rb +2 -2
  17. data/lib/fastly/api/{tls_csrs_api.rb → domain_ownerships_api.rb} +17 -24
  18. data/lib/fastly/api/object_store_api.rb +9 -3
  19. data/lib/fastly/api/object_store_item_api.rb +331 -0
  20. data/lib/fastly/api/purge_api.rb +1 -1
  21. data/lib/fastly/models/inline_response2002.rb +8 -18
  22. data/lib/fastly/models/{tls_csr_response.rb → inline_response2003.rb} +19 -8
  23. data/lib/fastly/models/{inline_response2002_meta.rb → inline_response2003_meta.rb} +3 -3
  24. data/lib/fastly/models/{tls_csr.rb → inline_response2004.rb} +19 -8
  25. data/lib/fastly/models/{error_response_data.rb → inline_response2004_meta.rb} +16 -16
  26. data/lib/fastly/models/realtime_measurements.rb +64 -4
  27. data/lib/fastly/models/results.rb +64 -4
  28. data/lib/fastly/version.rb +1 -1
  29. data/lib/fastly.rb +6 -12
  30. data/sig.json +1 -1
  31. metadata +14 -26
  32. data/docs/RelationshipsForTlsCsr.md +0 -10
  33. data/docs/TlsCsr.md +0 -10
  34. data/docs/TlsCsrData.md +0 -12
  35. data/docs/TlsCsrDataAttributes.md +0 -19
  36. data/docs/TlsCsrResponse.md +0 -10
  37. data/docs/TlsCsrResponseAttributes.md +0 -10
  38. data/docs/TlsCsrResponseData.md +0 -13
  39. data/docs/TlsCsrsApi.md +0 -52
  40. data/docs/TypeTlsCsr.md +0 -9
  41. data/lib/fastly/models/error_response.rb +0 -218
  42. data/lib/fastly/models/relationships_for_tls_csr.rb +0 -235
  43. data/lib/fastly/models/tls_csr_data.rb +0 -236
  44. data/lib/fastly/models/tls_csr_data_attributes.rb +0 -314
  45. data/lib/fastly/models/tls_csr_response_attributes.rb +0 -217
  46. data/lib/fastly/models/tls_csr_response_data.rb +0 -245
  47. data/lib/fastly/models/type_tls_csr.rb +0 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d249f1c7560f35585549de862d293c437671c06d8f4d8a16135ee55991befa3
4
- data.tar.gz: e5b44d00bc3949a6cfde7e59fef056a96090bfed2ddb1592846575dc5e168df9
3
+ metadata.gz: b9550e4397620cc86b032cacfc445ecef4238aee422e8235955525559d769e0c
4
+ data.tar.gz: 8f9d9076dbb779fd40d9918cbd06f0fc6f8691fbecefefee2b6e166ee69440a1
5
5
  SHA512:
6
- metadata.gz: 23d0daf589c1e835be63725b99a390e4ab615a46524fb28c5bc24453bf59ed5bdcfcfd975f3683a5799c90c1942f47fe7e7ccfd28efb735867e565ce4439806f
7
- data.tar.gz: d1cab60a1f6573e1876c51830762cb2222c6d514fdb6de189489eba86ff41a0d57a29313b3e09f84a1f04874bf0803531b453addc65ab6fdcc69a3cc8c9a518e
6
+ metadata.gz: 361b09ff58f4ce57d3820521018747c25a7610f7d1658cd2c42df0d5778dad79f284ff3cea53b9ee922eeec9a197fb507cebea529443e6054927770f407a750b
7
+ data.tar.gz: 7f0f6624b8d45addbeb78983a7912994e18105050c5450057a67cd85a101c0a01c6eec3c4ed8a45ee9ea4b8a668fe27d0e3e0fabba76028e9c27fd0b32927d00
data/CHANGELOG.md CHANGED
@@ -1,21 +1,43 @@
1
1
  # Changelog
2
2
 
3
- ## [v4.1.0](https://github.com/fastly/fastly-ruby/releases/tag/v4.1.0) (2023-03-21)
3
+ ## [v4.4.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v4.4.0) (2023-04-26)
4
4
 
5
- [Full Changelog](https://github.com/fastly/fastly-ruby/compare/v4.0.0...v4.1.0)
5
+ **Bug fixes:**
6
6
 
7
- ## Bug fixes
7
+ - fix(object-store-item): use correct type for key value
8
+ - fix(tls-csrs): remove internal endpoint
9
+
10
+ **Enhancements:**
11
+
12
+ - feat(object-store): new fields 'location', 'force'
13
+ - feat(object-store-item): new fields 'force', 'prefix'
14
+
15
+ ## [v4.3.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v4.3.0) (2023-04-03)
16
+
17
+ **Bug fixes:**
18
+
19
+ - fix(purge): avoid CGI escape URL parameter
20
+
21
+ **Enhancements:**
22
+
23
+ - feat(domain-ownership): list API endpoint
24
+ - feat(object-store): items API endpoints
25
+ - feat(realtime): additional DDoS properties
26
+
27
+ ## [v4.2.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v4.2.0) (2023-03-21)
28
+
29
+ **Bug fixes:**
8
30
 
9
31
  - fix(purge): switch authentication type to 'token'
10
32
 
11
- ## Enhancements
33
+ **Enhancements:**
12
34
 
13
35
  - feat(events): implement 'filter_created_at' property
14
36
  - feat(mutual-authentication): implement 'include' property
15
37
  - feat(object-store): implement new Object Store API endpoints
16
38
  - feat(settings): implement Service Settings 'update' endpoint
17
39
 
18
- ## Documentation
40
+ **Documentation:**
19
41
 
20
42
  - docs(backend): keepalive_time
21
43
  - docs(pop): region, shield, latitude, longitude
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fastly (4.2.0)
4
+ fastly (4.4.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -6,19 +6,13 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
6
6
  > The previous 3.x version is no longer supported, but can be found at https://github.com/fastly/fastly-ruby/tree/v3.x.
7
7
 
8
8
 
9
- > ⚠️ This client library (`4.2.0`) is an early-access release. Features may change without notice. Use at your own risk.
10
-
11
- **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).
12
-
13
- Read about the [Fastly Product Lifecycle](https://docs.fastly.com/products/fastly-product-lifecycle).
14
-
15
9
 
16
10
  ## Installation
17
11
 
18
12
  To install via RubyGems, add the following to your project's `Gemfile`:
19
13
 
20
14
  ```ruby
21
- gem 'fastly', '~> 4.2.0'
15
+ gem 'fastly', '~> 4.4.0'
22
16
  ```
23
17
 
24
18
  Then run `bundle install`.
@@ -143,6 +137,7 @@ Class | Method | Description
143
137
  [*Fastly::DomainApi*](docs/DomainApi.md) | [**get_domain**](docs/DomainApi.md#get_domain) | Describe a domain
144
138
  [*Fastly::DomainApi*](docs/DomainApi.md) | [**list_domains**](docs/DomainApi.md#list_domains) | List domains
145
139
  [*Fastly::DomainApi*](docs/DomainApi.md) | [**update_domain**](docs/DomainApi.md#update_domain) | Update a domain
140
+ [*Fastly::DomainOwnershipsApi*](docs/DomainOwnershipsApi.md) | [**list_domain_ownerships**](docs/DomainOwnershipsApi.md#list_domain_ownerships) | List domain-ownerships
146
141
  [*Fastly::EnabledProductsApi*](docs/EnabledProductsApi.md) | [**disable_product**](docs/EnabledProductsApi.md#disable_product) | Disable a product
147
142
  [*Fastly::EnabledProductsApi*](docs/EnabledProductsApi.md) | [**enable_product**](docs/EnabledProductsApi.md#enable_product) | Enable a product
148
143
  [*Fastly::EnabledProductsApi*](docs/EnabledProductsApi.md) | [**get_enabled_product**](docs/EnabledProductsApi.md#get_enabled_product) | Get enabled product
@@ -330,6 +325,10 @@ Class | Method | Description
330
325
  [*Fastly::ObjectStoreApi*](docs/ObjectStoreApi.md) | [**delete_store**](docs/ObjectStoreApi.md#delete_store) | Delete an object store.
331
326
  [*Fastly::ObjectStoreApi*](docs/ObjectStoreApi.md) | [**get_store**](docs/ObjectStoreApi.md#get_store) | Describe an object store.
332
327
  [*Fastly::ObjectStoreApi*](docs/ObjectStoreApi.md) | [**get_stores**](docs/ObjectStoreApi.md#get_stores) | List object stores.
328
+ [*Fastly::ObjectStoreItemApi*](docs/ObjectStoreItemApi.md) | [**delete_key_from_store**](docs/ObjectStoreItemApi.md#delete_key_from_store) | Delete object store item.
329
+ [*Fastly::ObjectStoreItemApi*](docs/ObjectStoreItemApi.md) | [**get_keys**](docs/ObjectStoreItemApi.md#get_keys) | List object store keys.
330
+ [*Fastly::ObjectStoreItemApi*](docs/ObjectStoreItemApi.md) | [**get_value_for_key**](docs/ObjectStoreItemApi.md#get_value_for_key) | Get the value of an object store item
331
+ [*Fastly::ObjectStoreItemApi*](docs/ObjectStoreItemApi.md) | [**set_value_for_key**](docs/ObjectStoreItemApi.md#set_value_for_key) | Insert an item into an object store
333
332
  [*Fastly::PackageApi*](docs/PackageApi.md) | [**get_package**](docs/PackageApi.md#get_package) | Get details of the service's Compute@Edge package.
334
333
  [*Fastly::PackageApi*](docs/PackageApi.md) | [**put_package**](docs/PackageApi.md#put_package) | Upload a Compute@Edge package.
335
334
  [*Fastly::PoolApi*](docs/PoolApi.md) | [**create_server_pool**](docs/PoolApi.md#create_server_pool) | Create a server pool
@@ -411,7 +410,6 @@ Class | Method | Description
411
410
  [*Fastly::TlsConfigurationsApi*](docs/TlsConfigurationsApi.md) | [**get_tls_config**](docs/TlsConfigurationsApi.md#get_tls_config) | Get a TLS configuration
412
411
  [*Fastly::TlsConfigurationsApi*](docs/TlsConfigurationsApi.md) | [**list_tls_configs**](docs/TlsConfigurationsApi.md#list_tls_configs) | List TLS configurations
413
412
  [*Fastly::TlsConfigurationsApi*](docs/TlsConfigurationsApi.md) | [**update_tls_config**](docs/TlsConfigurationsApi.md#update_tls_config) | Update a TLS configuration
414
- [*Fastly::TlsCsrsApi*](docs/TlsCsrsApi.md) | [**create_csr**](docs/TlsCsrsApi.md#create_csr) | Create CSR
415
413
  [*Fastly::TlsDomainsApi*](docs/TlsDomainsApi.md) | [**list_tls_domains**](docs/TlsDomainsApi.md#list_tls_domains) | List TLS domains
416
414
  [*Fastly::TlsPrivateKeysApi*](docs/TlsPrivateKeysApi.md) | [**create_tls_key**](docs/TlsPrivateKeysApi.md#create_tls_key) | Create a TLS private key
417
415
  [*Fastly::TlsPrivateKeysApi*](docs/TlsPrivateKeysApi.md) | [**delete_tls_key**](docs/TlsPrivateKeysApi.md#delete_tls_key) | Delete a TLS private key
@@ -491,6 +489,87 @@ Class | Method | Description
491
489
 
492
490
  ## Issues
493
491
 
492
+ The fastly-ruby API client currently does not support the following endpoints:
493
+
494
+ - [`/content/edge_check`](https://developer.fastly.com/reference/api/utils/content) (GET)
495
+ - [`/customer/{customer_id}/contacts`](https://developer.fastly.com/reference/api/account/contact) (POST)
496
+ - [`/metrics/domains/services/{service_id}`](https://developer.fastly.com/reference/api/metrics-stats/domain-inspector/historical) (GET)
497
+ - [`/metrics/origins/services/{service_id}`](https://developer.fastly.com/reference/api/metrics-stats/origin-inspector/historical) (GET)
498
+ - [`/rate-limiters/{rate_limiter_id}`](https://developer.fastly.com/reference/api/vcl-services/rate-limiter) (PUT)
499
+ - [`/resources/stores/config/{config_store_id}/info`](https://developer.fastly.com/reference/api/services/resources/config-store) (GET)
500
+ - [`/resources/stores/config/{config_store_id}/item/{config_store_item_key}`](https://developer.fastly.com/reference/api/services/resources/config-store-item) (DELETE, GET, PATCH, PUT)
501
+ - [`/resources/stores/config/{config_store_id}/item`](https://developer.fastly.com/reference/api/services/resources/config-store-item) (POST)
502
+ - [`/resources/stores/config/{config_store_id}/items`](https://developer.fastly.com/reference/api/services/resources/config-store-item) (GET, PATCH)
503
+ - [`/resources/stores/config/{config_store_id}/services`](https://developer.fastly.com/reference/api/services/resources/config-store) (GET)
504
+ - [`/resources/stores/config/{config_store_id}`](https://developer.fastly.com/reference/api/services/resources/config-store) (DELETE, GET, PUT)
505
+ - [`/resources/stores/config`](https://developer.fastly.com/reference/api/services/resources/config-store) (GET, POST)
506
+ - [`/resources/stores/secret/client-key`](https://developer.fastly.com/reference/api/services/resources/secret-store) (POST)
507
+ - [`/resources/stores/secret/signing-key`](https://developer.fastly.com/reference/api/services/resources/secret-store) (GET)
508
+ - [`/resources/stores/secret/{store_id}/secrets/{secret_name}`](https://developer.fastly.com/reference/api/services/resources/secret) (DELETE, GET)
509
+ - [`/resources/stores/secret/{store_id}/secrets`](https://developer.fastly.com/reference/api/services/resources/secret) (GET, POST)
510
+ - [`/resources/stores/secret/{store_id}`](https://developer.fastly.com/reference/api/services/resources/secret-store) (DELETE, GET)
511
+ - [`/resources/stores/secret`](https://developer.fastly.com/reference/api/services/resources/secret-store) (GET, POST)
512
+ - [`/roles/{role_id}/permissions`](https://developer.fastly.com/reference/api/account/roles) (DELETE, POST)
513
+ - [`/roles/{role_id}`](https://developer.fastly.com/reference/api/account/roles) (PATCH)
514
+ - [`/roles`](https://developer.fastly.com/reference/api/account/roles) (POST)
515
+ - [`/service-authorizations`](https://developer.fastly.com/reference/api/account/service-authorization) (DELETE, PATCH)
516
+ - [`/service-groups/{service_group_id}/services`](https://developer.fastly.com/reference/api/account/service-groups) (DELETE, POST)
517
+ - [`/service-groups/{service_group_id}`](https://developer.fastly.com/reference/api/account/service-groups) (PATCH)
518
+ - [`/service-groups`](https://developer.fastly.com/reference/api/account/service-groups) (POST)
519
+ - [`/service/{service_id}/acl/{acl_id}/entries`](https://developer.fastly.com/reference/api/acls/acl-entry) (GET)
520
+ - [`/service/{service_id}/acl/{acl_id}/entry/{acl_entry_id}`](https://developer.fastly.com/reference/api/acls/acl-entry) (GET, PATCH)
521
+ - [`/service/{service_id}/acl/{acl_id}/entry`](https://developer.fastly.com/reference/api/acls/acl-entry) (POST)
522
+ - [`/service/{service_id}/dictionary/{dictionary_id}/items`](https://developer.fastly.com/reference/api/dictionaries/dictionary-item) (PATCH)
523
+ - [`/service/{service_id}/version/{version_id}/apex-redirects`](https://developer.fastly.com/reference/api/vcl-services/apex-redirect) (POST)
524
+ - [`/service/{service_id}/version/{version_id}/director/{director_name}`](https://developer.fastly.com/reference/api/load-balancing/directors/director) (PUT)
525
+ - [`/service/{service_id}/version/{version_id}/logging/kafka/{logging_kafka_name}`](https://developer.fastly.com/reference/api/logging/kafka) (PUT)
526
+ - [`/service/{service_id}/version/{version_id}/logging/kinesis/{logging_kinesis_name}`](https://developer.fastly.com/reference/api/logging/kinesis) (PUT)
527
+ - [`/service/{service_id}/version/{version_id}/rate-limiters`](https://developer.fastly.com/reference/api/vcl-services/rate-limiter) (POST)
528
+ - [`/service/{service_id}/version/{version_id}/request_settings`](https://developer.fastly.com/reference/api/vcl-services/request-settings) (POST)
529
+ - [`/service/{service_id}/version/{version_id}/response_object/{response_object_name}`](https://developer.fastly.com/reference/api/vcl-services/response-object) (PUT)
530
+ - [`/service/{service_id}/version/{version_id}/response_object`](https://developer.fastly.com/reference/api/vcl-services/response-object) (POST)
531
+ - [`/service/{service_id}/version/{version_id}/snippet/{snippet_name}`](https://developer.fastly.com/reference/api/vcl-services/snippet) (PUT)
532
+ - [`/service/{service_id}/version/{version_id}/wafs/{firewall_id}`](https://developer.fastly.com/reference/api/legacy-waf/firewall) (GET, PATCH)
533
+ - [`/service/{service_id}/version/{version_id}/wafs`](https://developer.fastly.com/reference/api/legacy-waf/firewall) (GET, POST)
534
+ - [`/service/{service_id}/wafs/{firewall_id}/owasp`](https://developer.fastly.com/reference/api/legacy-waf/owasp) (GET, PATCH, POST)
535
+ - [`/service/{service_id}/wafs/{firewall_id}/rule_statuses`](https://developer.fastly.com/reference/api/legacy-waf/rule-status) (GET, POST)
536
+ - [`/service/{service_id}/wafs/{firewall_id}/rules/{waf_rule_id}/rule_status`](https://developer.fastly.com/reference/api/legacy-waf/rule-status) (GET, PATCH)
537
+ - [`/service/{service_id}/wafs/{firewall_id}/ruleset/preview`](https://developer.fastly.com/reference/api/legacy-waf/ruleset) (GET)
538
+ - [`/service/{service_id}/wafs/{firewall_id}/ruleset`](https://developer.fastly.com/reference/api/legacy-waf/ruleset) (GET, PATCH)
539
+ - [`/service/{service_id}/wafs/{firewall_id}/update_statuses/{update_status_id}`](https://developer.fastly.com/reference/api/legacy-waf/update-status) (GET)
540
+ - [`/service/{service_id}/wafs/{firewall_id}/update_statuses`](https://developer.fastly.com/reference/api/legacy-waf/update-status) (GET)
541
+ - [`/sudo`](https://developer.fastly.com/reference/api/utils/sudo) (POST)
542
+ - [`/tls/activations/{tls_activation_id}`](https://developer.fastly.com/reference/api/tls/mutual-tls/activations) (GET, PATCH)
543
+ - [`/tls/activations`](https://developer.fastly.com/reference/api/tls/mutual-tls/activations) (GET)
544
+ - [`/tokens`](https://developer.fastly.com/reference/api/auth-tokens/user) (DELETE, POST)
545
+ - [`/user-groups/{user_group_id}/members`](https://developer.fastly.com/reference/api/account/user-groups) (DELETE, POST)
546
+ - [`/user-groups/{user_group_id}/roles`](https://developer.fastly.com/reference/api/account/user-groups) (DELETE, POST)
547
+ - [`/user-groups/{user_group_id}/service-groups`](https://developer.fastly.com/reference/api/account/user-groups) (DELETE, POST)
548
+ - [`/user-groups/{user_group_id}`](https://developer.fastly.com/reference/api/account/user-groups) (PATCH)
549
+ - [`/user-groups`](https://developer.fastly.com/reference/api/account/user-groups) (POST)
550
+ - [`/v1/channel/{service_id}/ts/h/limit/{max_entries}`](https://developer.fastly.com/reference/api/metrics-stats/origin-insights) (GET)
551
+ - [`/v1/channel/{service_id}/ts/h`](https://developer.fastly.com/reference/api/metrics-stats/origin-insights) (GET)
552
+ - [`/v1/channel/{service_id}/ts/{start_timestamp}`](https://developer.fastly.com/reference/api/metrics-stats/origin-insights) (GET)
553
+ - [`/v1/domains/{service_id}/ts/h/limit/{max_entries}`](https://developer.fastly.com/reference/api/metrics-stats/domain-inspector/real-time) (GET)
554
+ - [`/v1/domains/{service_id}/ts/h`](https://developer.fastly.com/reference/api/metrics-stats/domain-inspector/real-time) (GET)
555
+ - [`/v1/domains/{service_id}/ts/{start_timestamp}`](https://developer.fastly.com/reference/api/metrics-stats/domain-inspector/real-time) (GET)
556
+ - [`/v1/origins/{service_id}/ts/h/limit/{max_entries}`](https://developer.fastly.com/reference/api/metrics-stats/origin-inspector/real-time) (GET)
557
+ - [`/v1/origins/{service_id}/ts/h`](https://developer.fastly.com/reference/api/metrics-stats/origin-inspector/real-time) (GET)
558
+ - [`/v1/origins/{service_id}/ts/{start_timestamp}`](https://developer.fastly.com/reference/api/metrics-stats/origin-inspector/real-time) (GET)
559
+ - [`/waf/firewalls/{firewall_id}/versions/{version_id}/active-rules`](https://developer.fastly.com/reference/api/waf/rules/active) (DELETE)
560
+ - [`/wafs/configuration_sets/{configuration_set_id}/relationships/wafs`](https://developer.fastly.com/reference/api/legacy-waf/configuration-set) (GET, PATCH)
561
+ - [`/wafs/configuration_sets`](https://developer.fastly.com/reference/api/legacy-waf/configuration-set) (GET)
562
+ - [`/wafs/rules/{waf_rule_id}/vcl`](https://developer.fastly.com/reference/api/legacy-waf/rule) (GET)
563
+ - [`/wafs/rules/{waf_rule_id}`](https://developer.fastly.com/reference/api/legacy-waf/rule) (GET)
564
+ - [`/wafs/rules`](https://developer.fastly.com/reference/api/legacy-waf/rule) (GET)
565
+ - [`/wafs/tags`](https://developer.fastly.com/reference/api/legacy-waf/tag) (GET)
566
+ - [`/wafs/{firewall_id}/disable`](https://developer.fastly.com/reference/api/legacy-waf/firewall) (PATCH)
567
+ - [`/wafs/{firewall_id}/enable`](https://developer.fastly.com/reference/api/legacy-waf/firewall) (PATCH)
568
+ - [`/wafs/{firewall_id}/rules/{waf_rule_id}/vcl`](https://developer.fastly.com/reference/api/legacy-waf/rule) (GET)
569
+ - [`/wafs/{firewall_id}`](https://developer.fastly.com/reference/api/legacy-waf/firewall) (GET)
570
+ - [`/wafs`](https://developer.fastly.com/reference/api/legacy-waf/firewall) (GET)
571
+
572
+
494
573
  If you encounter any non-security-related bug or unexpected behavior, please [file an issue][bug]
495
574
  using the bug report template.
496
575
 
data/docs/AclEntryApi.md CHANGED
@@ -20,7 +20,7 @@ api_instance = Fastly::AclEntryApi.new
20
20
  bulk_update_acl_entries(opts): <InlineResponse200> # Update multiple ACL entries
21
21
  ```
22
22
 
23
- Update multiple ACL entries on the same ACL.
23
+ Update multiple ACL entries on the same ACL. For faster updates to your service, group your changes into large batches. The maximum batch size is 1000 entries. [Contact support](https://support.fastly.com/) to discuss raising this limit.
24
24
 
25
25
  ### Examples
26
26
 
@@ -0,0 +1,47 @@
1
+ # Fastly::DomainOwnershipsApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::DomainOwnershipsApi.new
7
+ ```
8
+
9
+ ## Methods
10
+
11
+ | Method | HTTP request | Description |
12
+ | ------ | ------------ | ----------- |
13
+ | [**list_domain_ownerships**](DomainOwnershipsApi.md#list_domain_ownerships) | **GET** /domain-ownerships | List domain-ownerships |
14
+
15
+
16
+ ## `list_domain_ownerships()`
17
+
18
+ ```ruby
19
+ list_domain_ownerships: <InlineResponse2002> # List domain-ownerships
20
+ ```
21
+
22
+ List all domain-ownerships.
23
+
24
+ ### Examples
25
+
26
+ ```ruby
27
+ api_instance = Fastly::DomainOwnershipsApi.new
28
+
29
+ begin
30
+ # List domain-ownerships
31
+ result = api_instance.list_domain_ownerships
32
+ p result
33
+ rescue Fastly::ApiError => e
34
+ puts "Error when calling DomainOwnershipsApi->list_domain_ownerships: #{e}"
35
+ end
36
+ ```
37
+
38
+ ### Options
39
+
40
+ This endpoint does not need any parameter.
41
+
42
+ ### Return type
43
+
44
+ [**InlineResponse2002**](InlineResponse2002.md)
45
+
46
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
47
+ [[Back to README]](../../README.md)
@@ -4,8 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;StoreResponse&gt;**](StoreResponse.md) | | [optional] |
8
- | **meta** | [**InlineResponse2002Meta**](InlineResponse2002Meta.md) | | [optional] |
7
+ | **expires_at** | **String** | Time-stamp (GMT) when the domain_ownership validation will expire. | [optional][readonly] |
9
8
 
10
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
10
 
@@ -0,0 +1,11 @@
1
+ # Fastly::InlineResponse2003
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;StoreResponse&gt;**](StoreResponse.md) | | [optional] |
8
+ | **meta** | [**InlineResponse2003Meta**](InlineResponse2003Meta.md) | | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -1,4 +1,4 @@
1
- # Fastly::InlineResponse2002Meta
1
+ # Fastly::InlineResponse2003Meta
2
2
 
3
3
  ## Properties
4
4
 
@@ -1,11 +1,11 @@
1
- # Fastly::ErrorResponseData
1
+ # Fastly::InlineResponse2004
2
2
 
3
3
  ## Properties
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **title** | **String** | | [optional] |
8
- | **detail** | **String** | | [optional] |
7
+ | **data** | **Array&lt;String&gt;** | | [optional] |
8
+ | **meta** | [**InlineResponse2004Meta**](InlineResponse2004Meta.md) | | [optional] |
9
9
 
10
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
11
 
@@ -1,10 +1,11 @@
1
- # Fastly::ErrorResponse
1
+ # Fastly::InlineResponse2004Meta
2
2
 
3
3
  ## Properties
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **errors** | [**Array&lt;ErrorResponseData&gt;**](ErrorResponseData.md) | | [optional] |
7
+ | **next_cursor** | **String** | | [optional] |
8
+ | **limit** | **Integer** | | [optional] |
8
9
 
9
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
11
 
@@ -29,6 +29,7 @@ Create a new object store.
29
29
  ```ruby
30
30
  api_instance = Fastly::ObjectStoreApi.new
31
31
  opts = {
32
+ location: 'location_example', # String |
32
33
  store: Fastly::Store.new, # Store |
33
34
  }
34
35
 
@@ -45,6 +46,7 @@ end
45
46
 
46
47
  | Name | Type | Description | Notes |
47
48
  | ---- | ---- | ----------- | ----- |
49
+ | **location** | **String** | | [optional] |
48
50
  | **store** | [**Store**](Store.md) | | [optional] |
49
51
 
50
52
  ### Return type
@@ -67,6 +69,7 @@ An object store must be empty before it can be deleted. Deleting an object stor
67
69
  api_instance = Fastly::ObjectStoreApi.new
68
70
  opts = {
69
71
  store_id: 'store_id_example', # String |
72
+ force: true, # Boolean |
70
73
  }
71
74
 
72
75
  begin
@@ -82,6 +85,7 @@ end
82
85
  | Name | Type | Description | Notes |
83
86
  | ---- | ---- | ----------- | ----- |
84
87
  | **store_id** | **String** | | |
88
+ | **force** | **Boolean** | | [optional] |
85
89
 
86
90
  ### Return type
87
91
 
@@ -129,7 +133,7 @@ end
129
133
  ## `get_stores()`
130
134
 
131
135
  ```ruby
132
- get_stores(opts): <InlineResponse2002> # List object stores.
136
+ get_stores(opts): <InlineResponse2003> # List object stores.
133
137
  ```
134
138
 
135
139
  Get all stores for a given customer.
@@ -161,7 +165,7 @@ end
161
165
 
162
166
  ### Return type
163
167
 
164
- [**InlineResponse2002**](InlineResponse2002.md)
168
+ [**InlineResponse2003**](InlineResponse2003.md)
165
169
 
166
170
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
167
171
  [[Back to README]](../../README.md)
@@ -0,0 +1,195 @@
1
+ # Fastly::ObjectStoreItemApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::ObjectStoreItemApi.new
7
+ ```
8
+
9
+ ## Methods
10
+
11
+ | Method | HTTP request | Description |
12
+ | ------ | ------------ | ----------- |
13
+ | [**delete_key_from_store**](ObjectStoreItemApi.md#delete_key_from_store) | **DELETE** /resources/stores/object/{store_id}/keys/{key_name} | Delete object store item. |
14
+ | [**get_keys**](ObjectStoreItemApi.md#get_keys) | **GET** /resources/stores/object/{store_id}/keys | List object store keys. |
15
+ | [**get_value_for_key**](ObjectStoreItemApi.md#get_value_for_key) | **GET** /resources/stores/object/{store_id}/keys/{key_name} | Get the value of an object store item |
16
+ | [**set_value_for_key**](ObjectStoreItemApi.md#set_value_for_key) | **PUT** /resources/stores/object/{store_id}/keys/{key_name} | Insert an item into an object store |
17
+
18
+
19
+ ## `delete_key_from_store()`
20
+
21
+ ```ruby
22
+ delete_key_from_store(opts) # Delete object store item.
23
+ ```
24
+
25
+ Delete an item from an object store
26
+
27
+ ### Examples
28
+
29
+ ```ruby
30
+ api_instance = Fastly::ObjectStoreItemApi.new
31
+ opts = {
32
+ store_id: 'store_id_example', # String |
33
+ key_name: 'key_name_example', # String |
34
+ force: true, # Boolean |
35
+ }
36
+
37
+ begin
38
+ # Delete object store item.
39
+ api_instance.delete_key_from_store(opts)
40
+ rescue Fastly::ApiError => e
41
+ puts "Error when calling ObjectStoreItemApi->delete_key_from_store: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Options
46
+
47
+ | Name | Type | Description | Notes |
48
+ | ---- | ---- | ----------- | ----- |
49
+ | **store_id** | **String** | | |
50
+ | **key_name** | **String** | | |
51
+ | **force** | **Boolean** | | [optional] |
52
+
53
+ ### Return type
54
+
55
+ nil (empty response body)
56
+
57
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
58
+ [[Back to README]](../../README.md)
59
+ ## `get_keys()`
60
+
61
+ ```ruby
62
+ get_keys(opts): <InlineResponse2004> # List object store keys.
63
+ ```
64
+
65
+ List the keys of all items within an object store.
66
+
67
+ ### Examples
68
+
69
+ ```ruby
70
+ api_instance = Fastly::ObjectStoreItemApi.new
71
+ opts = {
72
+ store_id: 'store_id_example', # String |
73
+ cursor: 'cursor_example', # String |
74
+ limit: 56, # Integer |
75
+ prefix: 'prefix_example', # String |
76
+ }
77
+
78
+ begin
79
+ # List object store keys.
80
+ result = api_instance.get_keys(opts)
81
+ p result
82
+ rescue Fastly::ApiError => e
83
+ puts "Error when calling ObjectStoreItemApi->get_keys: #{e}"
84
+ end
85
+ ```
86
+
87
+ ### Options
88
+
89
+ | Name | Type | Description | Notes |
90
+ | ---- | ---- | ----------- | ----- |
91
+ | **store_id** | **String** | | |
92
+ | **cursor** | **String** | | [optional] |
93
+ | **limit** | **Integer** | | [optional][default to 100] |
94
+ | **prefix** | **String** | | [optional] |
95
+
96
+ ### Return type
97
+
98
+ [**InlineResponse2004**](InlineResponse2004.md)
99
+
100
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
101
+ [[Back to README]](../../README.md)
102
+ ## `get_value_for_key()`
103
+
104
+ ```ruby
105
+ get_value_for_key(opts): String # Get the value of an object store item
106
+ ```
107
+
108
+ Get the value associated with a key.
109
+
110
+ ### Examples
111
+
112
+ ```ruby
113
+ api_instance = Fastly::ObjectStoreItemApi.new
114
+ opts = {
115
+ store_id: 'store_id_example', # String |
116
+ key_name: 'key_name_example', # String |
117
+ }
118
+
119
+ begin
120
+ # Get the value of an object store item
121
+ result = api_instance.get_value_for_key(opts)
122
+ p result
123
+ rescue Fastly::ApiError => e
124
+ puts "Error when calling ObjectStoreItemApi->get_value_for_key: #{e}"
125
+ end
126
+ ```
127
+
128
+ ### Options
129
+
130
+ | Name | Type | Description | Notes |
131
+ | ---- | ---- | ----------- | ----- |
132
+ | **store_id** | **String** | | |
133
+ | **key_name** | **String** | | |
134
+
135
+ ### Return type
136
+
137
+ **String**
138
+
139
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
140
+ [[Back to README]](../../README.md)
141
+ ## `set_value_for_key()`
142
+
143
+ ```ruby
144
+ set_value_for_key(opts): String # Insert an item into an object store
145
+ ```
146
+
147
+ Set a new value for a new or existing key in an object store.
148
+
149
+ ### Examples
150
+
151
+ ```ruby
152
+ api_instance = Fastly::ObjectStoreItemApi.new
153
+ opts = {
154
+ store_id: 'store_id_example', # String |
155
+ key_name: 'key_name_example', # String |
156
+ if_generation_match: 56, # Integer |
157
+ time_to_live_sec: 56, # Integer |
158
+ metadata: 'metadata_example', # String |
159
+ add: true, # Boolean |
160
+ append: true, # Boolean |
161
+ prepend: true, # Boolean |
162
+ background_fetch: true, # Boolean |
163
+ body: 'BYTE_ARRAY_DATA_HERE', # String |
164
+ }
165
+
166
+ begin
167
+ # Insert an item into an object store
168
+ result = api_instance.set_value_for_key(opts)
169
+ p result
170
+ rescue Fastly::ApiError => e
171
+ puts "Error when calling ObjectStoreItemApi->set_value_for_key: #{e}"
172
+ end
173
+ ```
174
+
175
+ ### Options
176
+
177
+ | Name | Type | Description | Notes |
178
+ | ---- | ---- | ----------- | ----- |
179
+ | **store_id** | **String** | | |
180
+ | **key_name** | **String** | | |
181
+ | **if_generation_match** | **Integer** | | [optional] |
182
+ | **time_to_live_sec** | **Integer** | | [optional] |
183
+ | **metadata** | **String** | | [optional] |
184
+ | **add** | **Boolean** | | [optional] |
185
+ | **append** | **Boolean** | | [optional] |
186
+ | **prepend** | **Boolean** | | [optional] |
187
+ | **background_fetch** | **Boolean** | | [optional] |
188
+ | **body** | **String** | | [optional] |
189
+
190
+ ### Return type
191
+
192
+ **String**
193
+
194
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
195
+ [[Back to README]](../../README.md)
@@ -215,6 +215,12 @@
215
215
  | **fanout_beresp_header_bytes** | **Integer** | Total header bytes received from backends over Fanout connections. | [optional] |
216
216
  | **fanout_beresp_body_bytes** | **Integer** | Total body or message content bytes received from backends over Fanout connections. | [optional] |
217
217
  | **fanout_conn_time_ms** | **Integer** | Total duration of Fanout connections with end users. | [optional] |
218
+ | **ddos_action_limit_streams_connections** | **Integer** | For HTTP/2, the number of connections the limit-streams action was applied to. The limit-streams action caps the allowed number of concurrent streams in a connection. | [optional] |
219
+ | **ddos_action_limit_streams_requests** | **Integer** | For HTTP/2, the number of requests made on a connection for which the limit-streams action was taken. The limit-streams action caps the allowed number of concurrent streams in a connection. | [optional] |
220
+ | **ddos_action_tarpit_accept** | **Integer** | The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections. | [optional] |
221
+ | **ddos_action_tarpit** | **Integer** | The number of times the tarpit action was taken. The tarpit action delays writing the response to the client. | [optional] |
222
+ | **ddos_action_close** | **Integer** | The number of times the close action was taken. The close action aborts the connection as soon as possible. The close action takes effect either right after accept, right after the client hello, or right after the response was sent. | [optional] |
223
+ | **ddos_action_blackhole** | **Integer** | The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped). | [optional] |
218
224
 
219
225
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
220
226
 
data/docs/Results.md CHANGED
@@ -213,6 +213,12 @@
213
213
  | **fanout_beresp_header_bytes** | **Integer** | Total header bytes received from backends over Fanout connections. | [optional] |
214
214
  | **fanout_beresp_body_bytes** | **Integer** | Total body or message content bytes received from backends over Fanout connections. | [optional] |
215
215
  | **fanout_conn_time_ms** | **Integer** | Total duration of Fanout connections with end users. | [optional] |
216
+ | **ddos_action_limit_streams_connections** | **Integer** | For HTTP/2, the number of connections the limit-streams action was applied to. The limit-streams action caps the allowed number of concurrent streams in a connection. | [optional] |
217
+ | **ddos_action_limit_streams_requests** | **Integer** | For HTTP/2, the number of requests made on a connection for which the limit-streams action was taken. The limit-streams action caps the allowed number of concurrent streams in a connection. | [optional] |
218
+ | **ddos_action_tarpit_accept** | **Integer** | The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections. | [optional] |
219
+ | **ddos_action_tarpit** | **Integer** | The number of times the tarpit action was taken. The tarpit action delays writing the response to the client. | [optional] |
220
+ | **ddos_action_close** | **Integer** | The number of times the close action was taken. The close action aborts the connection as soon as possible. The close action takes effect either right after accept, right after the client hello, or right after the response was sent. | [optional] |
221
+ | **ddos_action_blackhole** | **Integer** | The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped). | [optional] |
216
222
 
217
223
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
218
224
 
@@ -18,7 +18,7 @@ module Fastly
18
18
  @api_client = api_client
19
19
  end
20
20
  # Update multiple ACL entries
21
- # Update multiple ACL entries on the same ACL.
21
+ # Update multiple ACL entries on the same ACL. For faster updates to your service, group your changes into large batches. The maximum batch size is 1000 entries. [Contact support](https://support.fastly.com/) to discuss raising this limit.
22
22
  # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
23
23
  # @option opts [String] :acl_id Alphanumeric string identifying a ACL. (required)
24
24
  # @option opts [BulkUpdateAclEntriesRequest] :bulk_update_acl_entries_request
@@ -29,7 +29,7 @@ module Fastly
29
29
  end
30
30
 
31
31
  # Update multiple ACL entries
32
- # Update multiple ACL entries on the same ACL.
32
+ # Update multiple ACL entries on the same ACL. For faster updates to your service, group your changes into large batches. The maximum batch size is 1000 entries. [Contact support](https://support.fastly.com/) to discuss raising this limit.
33
33
  # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
34
34
  # @option opts [String] :acl_id Alphanumeric string identifying a ACL. (required)
35
35
  # @option opts [BulkUpdateAclEntriesRequest] :bulk_update_acl_entries_request