fastly 13.0.0 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -0
  3. data/Gemfile.lock +4 -4
  4. data/README.md +21 -6
  5. data/docs/AttackReport.md +19 -0
  6. data/docs/AttackSignal.md +12 -0
  7. data/docs/AttackSource.md +13 -0
  8. data/docs/Backend.md +6 -6
  9. data/docs/BackendApi.md +18 -18
  10. data/docs/BackendResponse.md +6 -6
  11. data/docs/DdosProtectionApi.md +40 -0
  12. data/docs/DdosProtectionAttributeStats.md +1 -1
  13. data/docs/DdosProtectionInvalidRequest.md +13 -0
  14. data/docs/DdosProtectionNotAuthorized.md +11 -0
  15. data/docs/DdosProtectionRule.md +1 -1
  16. data/docs/DdosProtectionRuleAllOf.md +1 -1
  17. data/docs/DdosProtectionRulePatch.md +10 -0
  18. data/docs/HistoricalApi.md +2 -0
  19. data/docs/Invitation.md +1 -1
  20. data/docs/InvitationCreateData.md +12 -0
  21. data/docs/InvitationCreateDataAllOf.md +10 -0
  22. data/docs/{InvitationResponse.md → InvitationCreateResponse.md} +1 -1
  23. data/docs/{InvitationResponseAllOf.md → InvitationCreateResponseAllOf.md} +1 -1
  24. data/docs/InvitationData.md +0 -1
  25. data/docs/InvitationResponseData.md +1 -1
  26. data/docs/InvitationsApi.md +2 -2
  27. data/docs/KvStoreApi.md +2 -0
  28. data/docs/ListAttackReport.md +11 -0
  29. data/docs/{DdosProtectionTrafficAttribute.md → ListAttackReportMeta.md} +2 -1
  30. data/docs/{DdosProtectionAction.md → ListSignalReport.md} +2 -1
  31. data/docs/LogExplorerApi.md +1 -1
  32. data/docs/LoggingAzureblobApi.md +8 -4
  33. data/docs/LoggingAzureblobResponse.md +2 -1
  34. data/docs/LoggingBigqueryAdditional.md +1 -1
  35. data/docs/LoggingBigqueryApi.md +8 -4
  36. data/docs/LoggingBigqueryResponse.md +2 -1
  37. data/docs/LoggingCloudfilesApi.md +8 -4
  38. data/docs/LoggingCloudfilesResponse.md +2 -1
  39. data/docs/LoggingCommon.md +2 -1
  40. data/docs/LoggingCommonResponse.md +2 -1
  41. data/docs/LoggingCommonResponseAllOf.md +2 -1
  42. data/docs/LoggingDatadogAdditional.md +1 -1
  43. data/docs/LoggingDatadogApi.md +8 -4
  44. data/docs/LoggingDatadogResponse.md +2 -1
  45. data/docs/LoggingDigitaloceanApi.md +8 -4
  46. data/docs/LoggingDigitaloceanResponse.md +2 -1
  47. data/docs/LoggingElasticsearchAdditional.md +1 -1
  48. data/docs/LoggingElasticsearchApi.md +8 -4
  49. data/docs/LoggingElasticsearchResponse.md +2 -1
  50. data/docs/LoggingFtpApi.md +8 -4
  51. data/docs/LoggingFtpResponse.md +2 -1
  52. data/docs/LoggingGcsApi.md +8 -4
  53. data/docs/LoggingGcsResponse.md +2 -1
  54. data/docs/LoggingGooglePubsubAdditional.md +1 -1
  55. data/docs/LoggingGooglePubsubResponse.md +2 -1
  56. data/docs/LoggingGrafanacloudlogsAdditional.md +1 -1
  57. data/docs/LoggingGrafanacloudlogsApi.md +8 -4
  58. data/docs/LoggingGrafanacloudlogsResponse.md +2 -1
  59. data/docs/LoggingHerokuApi.md +8 -4
  60. data/docs/LoggingHerokuResponse.md +2 -1
  61. data/docs/LoggingHoneycombAdditional.md +1 -1
  62. data/docs/LoggingHoneycombApi.md +8 -4
  63. data/docs/LoggingHoneycombResponse.md +2 -1
  64. data/docs/LoggingHttpsAdditional.md +1 -1
  65. data/docs/LoggingHttpsApi.md +8 -4
  66. data/docs/LoggingHttpsResponse.md +2 -1
  67. data/docs/LoggingKafkaApi.md +4 -2
  68. data/docs/LoggingKafkaResponse.md +2 -1
  69. data/docs/LoggingKafkaResponsePost.md +2 -1
  70. data/docs/LoggingKinesisAdditional.md +1 -1
  71. data/docs/LoggingKinesisApi.md +2 -2
  72. data/docs/LoggingKinesisResponse.md +1 -1
  73. data/docs/LoggingLogentriesApi.md +8 -4
  74. data/docs/LoggingLogentriesResponse.md +2 -1
  75. data/docs/LoggingLogglyApi.md +8 -4
  76. data/docs/LoggingLogglyResponse.md +2 -1
  77. data/docs/LoggingLogshuttleApi.md +8 -4
  78. data/docs/LoggingLogshuttleResponse.md +2 -1
  79. data/docs/LoggingNewrelicAdditional.md +1 -1
  80. data/docs/LoggingNewrelicApi.md +8 -4
  81. data/docs/LoggingNewrelicResponse.md +2 -1
  82. data/docs/LoggingNewrelicotlpAdditional.md +1 -1
  83. data/docs/LoggingNewrelicotlpApi.md +8 -4
  84. data/docs/LoggingNewrelicotlpResponse.md +2 -1
  85. data/docs/LoggingOpenstackApi.md +8 -4
  86. data/docs/LoggingOpenstackResponse.md +2 -1
  87. data/docs/LoggingPapertrailApi.md +8 -4
  88. data/docs/LoggingPapertrailResponse.md +2 -1
  89. data/docs/LoggingPubsubApi.md +8 -4
  90. data/docs/LoggingS3Api.md +8 -4
  91. data/docs/LoggingS3Response.md +2 -1
  92. data/docs/LoggingScalyrApi.md +8 -4
  93. data/docs/LoggingScalyrResponse.md +2 -1
  94. data/docs/LoggingSftpApi.md +8 -4
  95. data/docs/LoggingSftpResponse.md +2 -1
  96. data/docs/LoggingSplunkApi.md +8 -4
  97. data/docs/LoggingSplunkResponse.md +2 -1
  98. data/docs/LoggingSumologicApi.md +8 -4
  99. data/docs/LoggingSumologicResponse.md +2 -1
  100. data/docs/LoggingSyslogApi.md +8 -4
  101. data/docs/LoggingSyslogResponse.md +2 -1
  102. data/docs/NgwafReportsApi.md +99 -0
  103. data/docs/ObservabilityTimeseriesApi.md +67 -0
  104. data/docs/PoolAdditional.md +1 -1
  105. data/docs/PoolApi.md +8 -8
  106. data/docs/PoolResponse.md +2 -2
  107. data/docs/PoolResponseCommon.md +1 -1
  108. data/docs/PoolResponsePost.md +2 -2
  109. data/docs/PurgeApi.md +1 -1
  110. data/docs/SignalReport.md +13 -0
  111. data/docs/TimeseriesGetResponse.md +11 -0
  112. data/docs/TimeseriesMeta.md +13 -0
  113. data/docs/TimeseriesResult.md +11 -0
  114. data/docs/TlsCertificateDataAttributes.md +1 -0
  115. data/docs/TlsCsrData.md +0 -1
  116. data/docs/TlsCsrDataAttributes.md +1 -0
  117. data/docs/TlsSubscriptionsApi.md +0 -2
  118. data/docs/TopWorkspace.md +12 -0
  119. data/lib/fastly/api/backend_api.rb +24 -24
  120. data/lib/fastly/api/ddos_protection_api.rb +70 -0
  121. data/lib/fastly/api/historical_api.rb +3 -0
  122. data/lib/fastly/api/invitations_api.rb +3 -3
  123. data/lib/fastly/api/kv_store_api.rb +3 -0
  124. data/lib/fastly/api/logging_azureblob_api.rb +18 -4
  125. data/lib/fastly/api/logging_bigquery_api.rb +18 -4
  126. data/lib/fastly/api/logging_cloudfiles_api.rb +18 -4
  127. data/lib/fastly/api/logging_datadog_api.rb +18 -4
  128. data/lib/fastly/api/logging_digitalocean_api.rb +18 -4
  129. data/lib/fastly/api/logging_elasticsearch_api.rb +18 -4
  130. data/lib/fastly/api/logging_ftp_api.rb +18 -4
  131. data/lib/fastly/api/logging_gcs_api.rb +18 -4
  132. data/lib/fastly/api/logging_grafanacloudlogs_api.rb +18 -4
  133. data/lib/fastly/api/logging_heroku_api.rb +18 -4
  134. data/lib/fastly/api/logging_honeycomb_api.rb +18 -4
  135. data/lib/fastly/api/logging_https_api.rb +18 -4
  136. data/lib/fastly/api/logging_kafka_api.rb +9 -2
  137. data/lib/fastly/api/logging_kinesis_api.rb +2 -2
  138. data/lib/fastly/api/logging_logentries_api.rb +18 -4
  139. data/lib/fastly/api/logging_loggly_api.rb +18 -4
  140. data/lib/fastly/api/logging_logshuttle_api.rb +18 -4
  141. data/lib/fastly/api/logging_newrelic_api.rb +18 -4
  142. data/lib/fastly/api/logging_newrelicotlp_api.rb +18 -4
  143. data/lib/fastly/api/logging_openstack_api.rb +18 -4
  144. data/lib/fastly/api/logging_papertrail_api.rb +18 -4
  145. data/lib/fastly/api/logging_pubsub_api.rb +18 -4
  146. data/lib/fastly/api/logging_s3_api.rb +18 -4
  147. data/lib/fastly/api/logging_scalyr_api.rb +18 -4
  148. data/lib/fastly/api/logging_sftp_api.rb +18 -4
  149. data/lib/fastly/api/logging_splunk_api.rb +18 -4
  150. data/lib/fastly/api/logging_sumologic_api.rb +18 -4
  151. data/lib/fastly/api/logging_syslog_api.rb +18 -4
  152. data/lib/fastly/api/ngwaf_reports_api.rb +161 -0
  153. data/lib/fastly/api/{observability_timeseries_for_logs_api.rb → observability_timeseries_api.rb} +38 -43
  154. data/lib/fastly/api/pool_api.rb +8 -8
  155. data/lib/fastly/api/purge_api.rb +2 -2
  156. data/lib/fastly/api/tls_subscriptions_api.rb +0 -3
  157. data/lib/fastly/configuration.rb +19 -1
  158. data/lib/fastly/models/attack_report.rb +359 -0
  159. data/lib/fastly/models/attack_signal.rb +252 -0
  160. data/lib/fastly/models/attack_source.rb +267 -0
  161. data/lib/fastly/models/backend.rb +9 -4
  162. data/lib/fastly/models/backend_response.rb +9 -4
  163. data/lib/fastly/models/ddos_protection_attribute_stats.rb +2 -1
  164. data/lib/fastly/models/ddos_protection_invalid_request.rb +309 -0
  165. data/lib/fastly/models/{log_timeseries_filter_field_item.rb → ddos_protection_not_authorized.rb} +24 -36
  166. data/lib/fastly/models/ddos_protection_rule.rb +2 -1
  167. data/lib/fastly/models/ddos_protection_rule_all_of.rb +2 -1
  168. data/lib/fastly/models/{log_timeseries_get_response_meta_filters.rb → ddos_protection_rule_patch.rb} +13 -14
  169. data/lib/fastly/models/invitation.rb +1 -1
  170. data/lib/fastly/models/invitation_create_data.rb +244 -0
  171. data/lib/fastly/models/invitation_create_data_all_of.rb +216 -0
  172. data/lib/fastly/models/{invitation_response.rb → invitation_create_response.rb} +4 -4
  173. data/lib/fastly/models/{invitation_response_all_of.rb → invitation_create_response_all_of.rb} +3 -3
  174. data/lib/fastly/models/invitation_data.rb +4 -13
  175. data/lib/fastly/models/invitation_response_data.rb +13 -13
  176. data/lib/fastly/models/{log_timeseries_get_response.rb → list_attack_report.rb} +5 -5
  177. data/lib/fastly/models/list_attack_report_meta.rb +218 -0
  178. data/lib/fastly/models/{log_timeseries_result_dimensions.rb → list_signal_report.rb} +12 -10
  179. data/lib/fastly/models/logging_azureblob_response.rb +26 -2
  180. data/lib/fastly/models/logging_bigquery_additional.rb +1 -1
  181. data/lib/fastly/models/logging_bigquery_response.rb +26 -2
  182. data/lib/fastly/models/logging_cloudfiles_response.rb +26 -2
  183. data/lib/fastly/models/logging_common.rb +29 -5
  184. data/lib/fastly/models/logging_common_response.rb +26 -2
  185. data/lib/fastly/models/logging_common_response_all_of.rb +29 -5
  186. data/lib/fastly/models/logging_datadog_additional.rb +1 -1
  187. data/lib/fastly/models/logging_datadog_response.rb +26 -2
  188. data/lib/fastly/models/logging_digitalocean_response.rb +26 -2
  189. data/lib/fastly/models/logging_elasticsearch_additional.rb +1 -1
  190. data/lib/fastly/models/logging_elasticsearch_response.rb +26 -2
  191. data/lib/fastly/models/logging_ftp_response.rb +26 -2
  192. data/lib/fastly/models/logging_gcs_response.rb +26 -2
  193. data/lib/fastly/models/logging_google_pubsub_additional.rb +1 -1
  194. data/lib/fastly/models/logging_google_pubsub_response.rb +26 -2
  195. data/lib/fastly/models/logging_grafanacloudlogs_additional.rb +1 -1
  196. data/lib/fastly/models/logging_grafanacloudlogs_response.rb +26 -2
  197. data/lib/fastly/models/logging_heroku_response.rb +26 -2
  198. data/lib/fastly/models/logging_honeycomb_additional.rb +1 -1
  199. data/lib/fastly/models/logging_honeycomb_response.rb +26 -2
  200. data/lib/fastly/models/logging_https_additional.rb +1 -1
  201. data/lib/fastly/models/logging_https_response.rb +26 -2
  202. data/lib/fastly/models/logging_kafka_response.rb +26 -2
  203. data/lib/fastly/models/logging_kafka_response_post.rb +26 -2
  204. data/lib/fastly/models/logging_kinesis_additional.rb +1 -1
  205. data/lib/fastly/models/logging_kinesis_response.rb +1 -1
  206. data/lib/fastly/models/logging_logentries_response.rb +26 -2
  207. data/lib/fastly/models/logging_loggly_response.rb +26 -2
  208. data/lib/fastly/models/logging_logshuttle_response.rb +26 -2
  209. data/lib/fastly/models/logging_newrelic_additional.rb +1 -1
  210. data/lib/fastly/models/logging_newrelic_response.rb +26 -2
  211. data/lib/fastly/models/logging_newrelicotlp_additional.rb +1 -1
  212. data/lib/fastly/models/logging_newrelicotlp_response.rb +26 -2
  213. data/lib/fastly/models/logging_openstack_response.rb +26 -2
  214. data/lib/fastly/models/logging_papertrail_response.rb +26 -2
  215. data/lib/fastly/models/logging_s3_response.rb +26 -2
  216. data/lib/fastly/models/logging_scalyr_response.rb +26 -2
  217. data/lib/fastly/models/logging_sftp_response.rb +26 -2
  218. data/lib/fastly/models/logging_splunk_response.rb +26 -2
  219. data/lib/fastly/models/logging_sumologic_response.rb +26 -2
  220. data/lib/fastly/models/logging_syslog_response.rb +26 -2
  221. data/lib/fastly/models/pool_additional.rb +1 -1
  222. data/lib/fastly/models/pool_response.rb +2 -2
  223. data/lib/fastly/models/pool_response_common.rb +1 -1
  224. data/lib/fastly/models/pool_response_post.rb +2 -2
  225. data/lib/fastly/models/relationship_service_invitations.rb +1 -0
  226. data/lib/fastly/models/relationship_service_invitations_service_invitations.rb +1 -0
  227. data/lib/fastly/models/relationships_for_invitation.rb +1 -0
  228. data/lib/fastly/models/signal_report.rb +249 -0
  229. data/lib/fastly/models/timeseries_get_response.rb +227 -0
  230. data/lib/fastly/models/{log_timeseries_get_response_meta.rb → timeseries_meta.rb} +23 -32
  231. data/lib/fastly/models/{log_timeseries_result.rb → timeseries_result.rb} +9 -5
  232. data/lib/fastly/models/tls_certificate_data_attributes.rb +14 -4
  233. data/lib/fastly/models/tls_csr_data.rb +4 -13
  234. data/lib/fastly/models/tls_csr_data_attributes.rb +14 -4
  235. data/lib/fastly/models/top_workspace.rb +238 -0
  236. data/lib/fastly/version.rb +1 -1
  237. data/lib/fastly.rb +20 -12
  238. data/sig.json +1 -1
  239. metadata +42 -26
  240. data/docs/LogTimeseriesFilterFieldItem.md +0 -12
  241. data/docs/LogTimeseriesGetResponse.md +0 -11
  242. data/docs/LogTimeseriesGetResponseMeta.md +0 -14
  243. data/docs/LogTimeseriesGetResponseMetaFilters.md +0 -10
  244. data/docs/LogTimeseriesResult.md +0 -11
  245. data/docs/LogTimeseriesResultDimensions.md +0 -10
  246. data/docs/LogTimeseriesValueField.md +0 -59
  247. data/docs/ObservabilityTimeseriesForLogsApi.md +0 -67
  248. data/lib/fastly/models/ddos_protection_action.rb +0 -37
  249. data/lib/fastly/models/ddos_protection_traffic_attribute.rb +0 -40
  250. data/lib/fastly/models/log_timeseries_value_field.rb +0 -108
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **between_bytes_timeout** | **String** | Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. | [optional] |
7
+ | **between_bytes_timeout** | **String** | Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using `bereq.between_bytes_timeout`. | [optional] |
8
8
  | **connect_timeout** | **String** | How long to wait for a timeout in milliseconds. | [optional] |
9
9
  | **first_byte_timeout** | **String** | How long to wait for the first byte in milliseconds. | [optional] |
10
10
  | **max_conn_default** | **String** | Maximum number of connections. | [optional][default to '200'] |
@@ -24,8 +24,8 @@
24
24
  | **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] |
25
25
  | **comment** | **String** | A freeform descriptive note. | [optional] |
26
26
  | **type** | **String** | What type of load balance group to use. | [optional] |
27
- | **override_host** | **String** | The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. | [optional][default to 'null'] |
28
- | **between_bytes_timeout** | **String** | Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. | [optional] |
27
+ | **override_host** | **String** | The hostname to [override the Host header](https://www.fastly.com/documentation/guides/full-site-delivery/domains-and-origins/specifying-an-override-host/). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. | [optional][default to 'null'] |
28
+ | **between_bytes_timeout** | **String** | Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using `bereq.between_bytes_timeout`. | [optional] |
29
29
  | **connect_timeout** | **String** | How long to wait for a timeout in milliseconds. | [optional] |
30
30
  | **first_byte_timeout** | **String** | How long to wait for the first byte in milliseconds. | [optional] |
31
31
  | **max_conn_default** | **String** | Maximum number of connections. | [optional][default to '200'] |
data/docs/PurgeApi.md CHANGED
@@ -68,7 +68,7 @@ end
68
68
  purge_all(opts): <InlineResponse200> # Purge everything from a service
69
69
  ```
70
70
 
71
- Instant Purge everything from a service. Purge-all requests cannot be done in soft mode and will always immediately invalidate all cached content associated with the service. To do a soft-purge-all, consider applying a constant [surrogate key](https://docs.fastly.com/en/guides/getting-started-with-surrogate-keys) tag (e.g., `\"all\"`) to all objects.
71
+ Instant Purge everything from a service. Purge-all requests cannot be done in soft mode and will always immediately invalidate all cached content associated with the service. To do a soft-purge-all, consider applying a constant [surrogate key](https://www.fastly.com/documentation/guides/full-site-delivery/purging/working-with-surrogate-keys/) tag (e.g., `\"all\"`) to all objects.
72
72
 
73
73
  ### Examples
74
74
 
@@ -0,0 +1,13 @@
1
+ # Fastly::SignalReport
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Name of the attack type. | [optional] |
8
+ | **display_name** | **String** | Display name of the attack type. | [optional] |
9
+ | **count** | **Integer** | Total count of attacks of this type. | [optional] |
10
+ | **top_workspaces** | [**Array&lt;TopWorkspace&gt;**](TopWorkspace.md) | Top workspaces affected by this attack type. | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -0,0 +1,11 @@
1
+ # Fastly::TimeseriesGetResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;TimeseriesResult&gt;**](TimeseriesResult.md) | | [optional] |
8
+ | **meta** | [**TimeseriesMeta**](TimeseriesMeta.md) | | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,13 @@
1
+ # Fastly::TimeseriesMeta
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **from** | **String** | Start time for the query as supplied in the request. | [optional] |
8
+ | **to** | **String** | End time for the query as supplied in the request. | [optional] |
9
+ | **granularity** | **String** | The granularity of the time buckets in the response. | [optional] |
10
+ | **limit** | **String** | Maximum number of results returned in the request. | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -0,0 +1,11 @@
1
+ # Fastly::TimeseriesResult
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **dimensions** | **Hash&lt;String, Object&gt;** | An object containing each requested dimension and time as properties. | [optional] |
8
+ | **values** | **Hash&lt;String, Object&gt;** | An object containing each requested series as a property. | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **cert_blob** | **String** | The PEM-formatted certificate blob. Required. | [optional] |
8
8
  | **name** | **String** | A customizable name for your certificate. Defaults to the certificate&#39;s Common Name or first Subject Alternative Names (SAN) entry. Optional. | [optional] |
9
+ | **allow_untrusted_root** | **Boolean** | Indicates that the supplied certificate was not signed by a trusted CA. | [optional] |
9
10
 
10
11
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
12
 
data/docs/TlsCsrData.md CHANGED
@@ -6,7 +6,6 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **type** | [**TypeTlsCsr**](TypeTlsCsr.md) | | [optional][default to &#39;csr&#39;] |
8
8
  | **attributes** | [**TlsCsrDataAttributes**](TlsCsrDataAttributes.md) | | [optional] |
9
- | **relationships** | [**RelationshipTlsPrivateKey**](RelationshipTlsPrivateKey.md) | | [optional] |
10
9
 
11
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
11
 
@@ -15,6 +15,7 @@
15
15
  | **organizational_unit** | **String** | Organizational Unit (OU) - The internal division of the organization managing the certificate. | [optional] |
16
16
  | **email** | **String** | Email Address (EMAIL) - The organizational contact for this. | [optional] |
17
17
  | **key_type** | **String** | CSR Key Type. | [optional] |
18
+ | **relationships_tls_private_key_id** | **String** | Optional. An alphanumeric string identifying the private key you&#39;ve uploaded for use with your TLS certificate. If left blank, Fastly will create and manage a key for you. | [optional] |
18
19
 
19
20
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
20
21
 
@@ -76,7 +76,6 @@ Create a new TLS subscription. This response includes a list of possible challen
76
76
  ```ruby
77
77
  api_instance = Fastly::TlsSubscriptionsApi.new
78
78
  opts = {
79
- force: true, # Boolean | A flag that allows you to edit and delete a subscription with active domains. Valid to use on PATCH and DELETE actions. As a warning, removing an active domain from a subscription or forcing the deletion of a subscription may result in breaking TLS termination to that domain.
80
79
  tls_subscription: Fastly::TlsSubscription.new, # TlsSubscription |
81
80
  }
82
81
 
@@ -93,7 +92,6 @@ end
93
92
 
94
93
  | Name | Type | Description | Notes |
95
94
  | ---- | ---- | ----------- | ----- |
96
- | **force** | **Boolean** | A flag that allows you to edit and delete a subscription with active domains. Valid to use on PATCH and DELETE actions. As a warning, removing an active domain from a subscription or forcing the deletion of a subscription may result in breaking TLS termination to that domain. | [optional] |
97
95
  | **tls_subscription** | [**TlsSubscription**](TlsSubscription.md) | | [optional] |
98
96
 
99
97
  ### Return type
@@ -0,0 +1,12 @@
1
+ # Fastly::TopWorkspace
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | ID of the workspace. | [optional] |
8
+ | **name** | **String** | Name of the workspace. | [optional] |
9
+ | **count** | **Integer** | Count of attacks on this workspace for the specific attack type. | [optional] |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
@@ -23,7 +23,7 @@ module Fastly
23
23
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
24
24
  # @option opts [String] :address A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
25
25
  # @option opts [Boolean] :auto_loadbalance Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don&#39;t have a &#x60;request_condition&#x60; will be selected based on their &#x60;weight&#x60;.
26
- # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;.
26
+ # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;.
27
27
  # @option opts [String] :client_cert Unused.
28
28
  # @option opts [String] :comment A freeform descriptive note.
29
29
  # @option opts [Integer] :connect_timeout Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic &#x60;503&#x60; response will be presented instead. May be set at runtime using &#x60;bereq.connect_timeout&#x60;.
@@ -39,10 +39,10 @@ module Fastly
39
39
  # @option opts [String] :name The name of the backend.
40
40
  # @option opts [String] :override_host If set, will replace the client-supplied HTTP &#x60;Host&#x60; header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing &#x60;bereq.http.Host&#x60; in VCL.
41
41
  # @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting &#x60;port&#x60; to 80 or 443 will also set &#x60;use_ssl&#x60; automatically (to false and true respectively), unless explicitly overridden by setting &#x60;use_ssl&#x60; in the same request.
42
- # @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends.
42
+ # @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends. Default is &#39;false&#39; for Delivery services and &#39;true&#39; for Compute services.
43
43
  # @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any &#x60;auto_loadbalance&#x60; setting. By default, the first backend added to a service is selected for all requests.
44
44
  # @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
45
- # @option opts [String] :shield Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
45
+ # @option opts [String] :shield Identifier of the POP to use as a [shield](https://www.fastly.com/documentation/guides/getting-started/hosts/shielding/).
46
46
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
47
47
  # @option opts [String] :ssl_cert_hostname Overrides &#x60;ssl_hostname&#x60;, but only for cert verification. Does not affect SNI at all.
48
48
  # @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
@@ -52,9 +52,9 @@ module Fastly
52
52
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.
53
53
  # @option opts [String] :ssl_sni_hostname Overrides &#x60;ssl_hostname&#x60;, but only for SNI in the handshake. Does not affect cert validation at all.
54
54
  # @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
55
- # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
56
- # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
57
- # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
55
+ # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes. (default to 10)
56
+ # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead. (default to 3)
57
+ # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe. (default to 300)
58
58
  # @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
59
59
  # @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If &#x60;auto_loadbalance&#x60; is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have &#x60;auto_loadbalance&#x60; set to true.
60
60
  # @return [BackendResponse]
@@ -69,7 +69,7 @@ module Fastly
69
69
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
70
70
  # @option opts [String] :address A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
71
71
  # @option opts [Boolean] :auto_loadbalance Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don&#39;t have a &#x60;request_condition&#x60; will be selected based on their &#x60;weight&#x60;.
72
- # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;.
72
+ # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;.
73
73
  # @option opts [String] :client_cert Unused.
74
74
  # @option opts [String] :comment A freeform descriptive note.
75
75
  # @option opts [Integer] :connect_timeout Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic &#x60;503&#x60; response will be presented instead. May be set at runtime using &#x60;bereq.connect_timeout&#x60;.
@@ -85,10 +85,10 @@ module Fastly
85
85
  # @option opts [String] :name The name of the backend.
86
86
  # @option opts [String] :override_host If set, will replace the client-supplied HTTP &#x60;Host&#x60; header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing &#x60;bereq.http.Host&#x60; in VCL.
87
87
  # @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting &#x60;port&#x60; to 80 or 443 will also set &#x60;use_ssl&#x60; automatically (to false and true respectively), unless explicitly overridden by setting &#x60;use_ssl&#x60; in the same request.
88
- # @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends.
88
+ # @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends. Default is &#39;false&#39; for Delivery services and &#39;true&#39; for Compute services.
89
89
  # @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any &#x60;auto_loadbalance&#x60; setting. By default, the first backend added to a service is selected for all requests.
90
90
  # @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
91
- # @option opts [String] :shield Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
91
+ # @option opts [String] :shield Identifier of the POP to use as a [shield](https://www.fastly.com/documentation/guides/getting-started/hosts/shielding/).
92
92
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
93
93
  # @option opts [String] :ssl_cert_hostname Overrides &#x60;ssl_hostname&#x60;, but only for cert verification. Does not affect SNI at all.
94
94
  # @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
@@ -98,9 +98,9 @@ module Fastly
98
98
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.
99
99
  # @option opts [String] :ssl_sni_hostname Overrides &#x60;ssl_hostname&#x60;, but only for SNI in the handshake. Does not affect cert validation at all.
100
100
  # @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
101
- # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
102
- # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
103
- # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
101
+ # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes. (default to 10)
102
+ # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead. (default to 3)
103
+ # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe. (default to 300)
104
104
  # @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
105
105
  # @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If &#x60;auto_loadbalance&#x60; is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have &#x60;auto_loadbalance&#x60; set to true.
106
106
  # @return [Array<(BackendResponse, Integer, Hash)>] BackendResponse data, response status code and response headers
@@ -436,7 +436,7 @@ module Fastly
436
436
  # @option opts [String] :backend_name The name of the backend. (required)
437
437
  # @option opts [String] :address A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
438
438
  # @option opts [Boolean] :auto_loadbalance Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don&#39;t have a &#x60;request_condition&#x60; will be selected based on their &#x60;weight&#x60;.
439
- # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;.
439
+ # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;.
440
440
  # @option opts [String] :client_cert Unused.
441
441
  # @option opts [String] :comment A freeform descriptive note.
442
442
  # @option opts [Integer] :connect_timeout Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic &#x60;503&#x60; response will be presented instead. May be set at runtime using &#x60;bereq.connect_timeout&#x60;.
@@ -452,10 +452,10 @@ module Fastly
452
452
  # @option opts [String] :name The name of the backend.
453
453
  # @option opts [String] :override_host If set, will replace the client-supplied HTTP &#x60;Host&#x60; header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing &#x60;bereq.http.Host&#x60; in VCL.
454
454
  # @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting &#x60;port&#x60; to 80 or 443 will also set &#x60;use_ssl&#x60; automatically (to false and true respectively), unless explicitly overridden by setting &#x60;use_ssl&#x60; in the same request.
455
- # @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends.
455
+ # @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends. Default is &#39;false&#39; for Delivery services and &#39;true&#39; for Compute services.
456
456
  # @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any &#x60;auto_loadbalance&#x60; setting. By default, the first backend added to a service is selected for all requests.
457
457
  # @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
458
- # @option opts [String] :shield Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
458
+ # @option opts [String] :shield Identifier of the POP to use as a [shield](https://www.fastly.com/documentation/guides/getting-started/hosts/shielding/).
459
459
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
460
460
  # @option opts [String] :ssl_cert_hostname Overrides &#x60;ssl_hostname&#x60;, but only for cert verification. Does not affect SNI at all.
461
461
  # @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
@@ -465,9 +465,9 @@ module Fastly
465
465
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.
466
466
  # @option opts [String] :ssl_sni_hostname Overrides &#x60;ssl_hostname&#x60;, but only for SNI in the handshake. Does not affect cert validation at all.
467
467
  # @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
468
- # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
469
- # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
470
- # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
468
+ # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes. (default to 10)
469
+ # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead. (default to 3)
470
+ # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe. (default to 300)
471
471
  # @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
472
472
  # @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If &#x60;auto_loadbalance&#x60; is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have &#x60;auto_loadbalance&#x60; set to true.
473
473
  # @return [BackendResponse]
@@ -483,7 +483,7 @@ module Fastly
483
483
  # @option opts [String] :backend_name The name of the backend. (required)
484
484
  # @option opts [String] :address A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
485
485
  # @option opts [Boolean] :auto_loadbalance Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don&#39;t have a &#x60;request_condition&#x60; will be selected based on their &#x60;weight&#x60;.
486
- # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;.
486
+ # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;.
487
487
  # @option opts [String] :client_cert Unused.
488
488
  # @option opts [String] :comment A freeform descriptive note.
489
489
  # @option opts [Integer] :connect_timeout Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic &#x60;503&#x60; response will be presented instead. May be set at runtime using &#x60;bereq.connect_timeout&#x60;.
@@ -499,10 +499,10 @@ module Fastly
499
499
  # @option opts [String] :name The name of the backend.
500
500
  # @option opts [String] :override_host If set, will replace the client-supplied HTTP &#x60;Host&#x60; header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing &#x60;bereq.http.Host&#x60; in VCL.
501
501
  # @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting &#x60;port&#x60; to 80 or 443 will also set &#x60;use_ssl&#x60; automatically (to false and true respectively), unless explicitly overridden by setting &#x60;use_ssl&#x60; in the same request.
502
- # @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends.
502
+ # @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends. Default is &#39;false&#39; for Delivery services and &#39;true&#39; for Compute services.
503
503
  # @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any &#x60;auto_loadbalance&#x60; setting. By default, the first backend added to a service is selected for all requests.
504
504
  # @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
505
- # @option opts [String] :shield Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
505
+ # @option opts [String] :shield Identifier of the POP to use as a [shield](https://www.fastly.com/documentation/guides/getting-started/hosts/shielding/).
506
506
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
507
507
  # @option opts [String] :ssl_cert_hostname Overrides &#x60;ssl_hostname&#x60;, but only for cert verification. Does not affect SNI at all.
508
508
  # @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
@@ -512,9 +512,9 @@ module Fastly
512
512
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.
513
513
  # @option opts [String] :ssl_sni_hostname Overrides &#x60;ssl_hostname&#x60;, but only for SNI in the handshake. Does not affect cert validation at all.
514
514
  # @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
515
- # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
516
- # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
517
- # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
515
+ # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes. (default to 10)
516
+ # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead. (default to 3)
517
+ # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe. (default to 300)
518
518
  # @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
519
519
  # @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If &#x60;auto_loadbalance&#x60; is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have &#x60;auto_loadbalance&#x60; set to true.
520
520
  # @return [Array<(BackendResponse, Integer, Hash)>] BackendResponse data, response status code and response headers
@@ -294,6 +294,76 @@ module Fastly
294
294
  return data, status_code, headers
295
295
  end
296
296
 
297
+ # Update rule
298
+ # Update rule.
299
+ # @option opts [String] :rule_id Unique ID of the rule. (required)
300
+ # @option opts [DdosProtectionRulePatch] :ddos_protection_rule_patch
301
+ # @return [DdosProtectionRule]
302
+ def ddos_protection_rule_patch(opts = {})
303
+ data, _status_code, _headers = ddos_protection_rule_patch_with_http_info(opts)
304
+ data
305
+ end
306
+
307
+ # Update rule
308
+ # Update rule.
309
+ # @option opts [String] :rule_id Unique ID of the rule. (required)
310
+ # @option opts [DdosProtectionRulePatch] :ddos_protection_rule_patch
311
+ # @return [Array<(DdosProtectionRule, Integer, Hash)>] DdosProtectionRule data, response status code and response headers
312
+ def ddos_protection_rule_patch_with_http_info(opts = {})
313
+ if @api_client.config.debugging
314
+ @api_client.config.logger.debug 'Calling API: DdosProtectionApi.ddos_protection_rule_patch ...'
315
+ end
316
+ # unbox the parameters from the hash
317
+ rule_id = opts[:'rule_id']
318
+ # verify the required parameter 'rule_id' is set
319
+ if @api_client.config.client_side_validation && rule_id.nil?
320
+ fail ArgumentError, "Missing the required parameter 'rule_id' when calling DdosProtectionApi.ddos_protection_rule_patch"
321
+ end
322
+ # resource path
323
+ local_var_path = '/ddos-protection/v1/rules/{rule_id}'.sub('{' + 'rule_id' + '}', CGI.escape(rule_id.to_s))
324
+
325
+ # query parameters
326
+ query_params = opts[:query_params] || {}
327
+
328
+ # header parameters
329
+ header_params = opts[:header_params] || {}
330
+ # HTTP header 'Accept' (if needed)
331
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json'])
332
+ # HTTP header 'Content-Type'
333
+ content_type = @api_client.select_header_content_type(['application/json'])
334
+ if !content_type.nil?
335
+ header_params['Content-Type'] = content_type
336
+ end
337
+
338
+ # form parameters
339
+ form_params = opts[:form_params] || {}
340
+
341
+ # http body (model)
342
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'ddos_protection_rule_patch'])
343
+
344
+ # return_type
345
+ return_type = opts[:debug_return_type] || 'DdosProtectionRule'
346
+
347
+ # auth_names
348
+ auth_names = opts[:debug_auth_names] || ['token']
349
+
350
+ new_options = opts.merge(
351
+ :operation => :"DdosProtectionApi.ddos_protection_rule_patch",
352
+ :header_params => header_params,
353
+ :query_params => query_params,
354
+ :form_params => form_params,
355
+ :body => post_body,
356
+ :auth_names => auth_names,
357
+ :return_type => return_type
358
+ )
359
+
360
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
361
+ if @api_client.config.debugging
362
+ @api_client.config.logger.debug "API called: DdosProtectionApi#ddos_protection_rule_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
363
+ end
364
+ return data, status_code, headers
365
+ end
366
+
297
367
  # Get traffic stats for a rule
298
368
  # Get traffic stats for a rule.
299
369
  # @option opts [String] :event_id Unique ID of the event. (required)
@@ -23,6 +23,7 @@ module Fastly
23
23
  # @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as &#x60;from&#x60;. (default to 'now')
24
24
  # @option opts [String] :by Duration of sample windows. One of: * &#x60;hour&#x60; - Group data by hour. * &#x60;minute&#x60; - Group data by minute. * &#x60;day&#x60; - Group data by day. (default to 'day')
25
25
  # @option opts [String] :region Limit query to a specific geographic region. One of: * &#x60;usa&#x60; - North America. * &#x60;europe&#x60; - Europe. * &#x60;anzac&#x60; - Australia and New Zealand. * &#x60;asia&#x60; - Asia. * &#x60;asia_india&#x60; - India. * &#x60;asia_southkorea&#x60; - South Korea. * &#x60;africa_std&#x60; - Africa. * &#x60;mexico&#x60; - Mexico. * &#x60;southamerica_std&#x60; - South America.
26
+ # @option opts [String] :services Limit the query to only the specified, comma-separated list of services.
26
27
  # @return [HistoricalStatsByServiceResponse]
27
28
  def get_hist_stats(opts = {})
28
29
  data, _status_code, _headers = get_hist_stats_with_http_info(opts)
@@ -35,6 +36,7 @@ module Fastly
35
36
  # @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as &#x60;from&#x60;. (default to 'now')
36
37
  # @option opts [String] :by Duration of sample windows. One of: * &#x60;hour&#x60; - Group data by hour. * &#x60;minute&#x60; - Group data by minute. * &#x60;day&#x60; - Group data by day. (default to 'day')
37
38
  # @option opts [String] :region Limit query to a specific geographic region. One of: * &#x60;usa&#x60; - North America. * &#x60;europe&#x60; - Europe. * &#x60;anzac&#x60; - Australia and New Zealand. * &#x60;asia&#x60; - Asia. * &#x60;asia_india&#x60; - India. * &#x60;asia_southkorea&#x60; - South Korea. * &#x60;africa_std&#x60; - Africa. * &#x60;mexico&#x60; - Mexico. * &#x60;southamerica_std&#x60; - South America.
39
+ # @option opts [String] :services Limit the query to only the specified, comma-separated list of services.
38
40
  # @return [Array<(HistoricalStatsByServiceResponse, Integer, Hash)>] HistoricalStatsByServiceResponse data, response status code and response headers
39
41
  def get_hist_stats_with_http_info(opts = {})
40
42
  if @api_client.config.debugging
@@ -58,6 +60,7 @@ module Fastly
58
60
  query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil?
59
61
  query_params[:'by'] = opts[:'by'] if !opts[:'by'].nil?
60
62
  query_params[:'region'] = opts[:'region'] if !opts[:'region'].nil?
63
+ query_params[:'services'] = opts[:'services'] if !opts[:'services'].nil?
61
64
 
62
65
  # header parameters
63
66
  header_params = opts[:header_params] || {}
@@ -20,7 +20,7 @@ module Fastly
20
20
  # Create an invitation
21
21
  # Create an invitation.
22
22
  # @option opts [Invitation] :invitation
23
- # @return [InvitationResponse]
23
+ # @return [InvitationCreateResponse]
24
24
  def create_invitation(opts = {})
25
25
  data, _status_code, _headers = create_invitation_with_http_info(opts)
26
26
  data
@@ -29,7 +29,7 @@ module Fastly
29
29
  # Create an invitation
30
30
  # Create an invitation.
31
31
  # @option opts [Invitation] :invitation
32
- # @return [Array<(InvitationResponse, Integer, Hash)>] InvitationResponse data, response status code and response headers
32
+ # @return [Array<(InvitationCreateResponse, Integer, Hash)>] InvitationCreateResponse data, response status code and response headers
33
33
  def create_invitation_with_http_info(opts = {})
34
34
  if @api_client.config.debugging
35
35
  @api_client.config.logger.debug 'Calling API: InvitationsApi.create_invitation ...'
@@ -58,7 +58,7 @@ module Fastly
58
58
  post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'invitation'])
59
59
 
60
60
  # return_type
61
- return_type = opts[:debug_return_type] || 'InvitationResponse'
61
+ return_type = opts[:debug_return_type] || 'InvitationCreateResponse'
62
62
 
63
63
  # auth_names
64
64
  auth_names = opts[:debug_auth_names] || ['token']
@@ -215,6 +215,7 @@ module Fastly
215
215
  # List all KV stores.
216
216
  # @option opts [String] :cursor
217
217
  # @option opts [Integer] :limit (default to 1000)
218
+ # @option opts [String] :name Returns a one-element array containing the details for the named KV store.
218
219
  # @return [InlineResponse2005]
219
220
  def kv_store_list(opts = {})
220
221
  data, _status_code, _headers = kv_store_list_with_http_info(opts)
@@ -225,6 +226,7 @@ module Fastly
225
226
  # List all KV stores.
226
227
  # @option opts [String] :cursor
227
228
  # @option opts [Integer] :limit (default to 1000)
229
+ # @option opts [String] :name Returns a one-element array containing the details for the named KV store.
228
230
  # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
229
231
  def kv_store_list_with_http_info(opts = {})
230
232
  if @api_client.config.debugging
@@ -242,6 +244,7 @@ module Fastly
242
244
  query_params = opts[:query_params] || {}
243
245
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
244
246
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
247
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
245
248
 
246
249
  # header parameters
247
250
  header_params = opts[:header_params] || {}
@@ -24,7 +24,8 @@ module Fastly
24
24
  # @option opts [String] :name The name for the real-time logging configuration.
25
25
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
26
26
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
27
- # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
27
+ # @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %&gt;s %b')
28
+ # @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are &#x60;us&#x60;, &#x60;eu&#x60;, and &#x60;none&#x60; for global. (default to 'none')
28
29
  # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to 2)
29
30
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
30
31
  # @option opts [String] :timestamp_format A timestamp format
@@ -50,7 +51,8 @@ module Fastly
50
51
  # @option opts [String] :name The name for the real-time logging configuration.
51
52
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
52
53
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
53
- # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
54
+ # @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %&gt;s %b')
55
+ # @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are &#x60;us&#x60;, &#x60;eu&#x60;, and &#x60;none&#x60; for global. (default to 'none')
54
56
  # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to 2)
55
57
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
56
58
  # @option opts [String] :timestamp_format A timestamp format
@@ -83,6 +85,10 @@ module Fastly
83
85
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
84
86
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
85
87
  end
88
+ allowable_values = ["none", "eu", "us"]
89
+ if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
90
+ fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
91
+ end
86
92
  allowable_values = [1, 2]
87
93
  if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
88
94
  fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
@@ -121,6 +127,7 @@ module Fastly
121
127
  form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
122
128
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
123
129
  form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
130
+ form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
124
131
  form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
125
132
  form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
126
133
  form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
@@ -392,7 +399,8 @@ module Fastly
392
399
  # @option opts [String] :name The name for the real-time logging configuration.
393
400
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
394
401
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
395
- # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
402
+ # @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %&gt;s %b')
403
+ # @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are &#x60;us&#x60;, &#x60;eu&#x60;, and &#x60;none&#x60; for global. (default to 'none')
396
404
  # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
397
405
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
398
406
  # @option opts [String] :timestamp_format A timestamp format
@@ -419,7 +427,8 @@ module Fastly
419
427
  # @option opts [String] :name The name for the real-time logging configuration.
420
428
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
421
429
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
422
- # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
430
+ # @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %&gt;s %b')
431
+ # @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are &#x60;us&#x60;, &#x60;eu&#x60;, and &#x60;none&#x60; for global. (default to 'none')
423
432
  # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
424
433
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
425
434
  # @option opts [String] :timestamp_format A timestamp format
@@ -457,6 +466,10 @@ module Fastly
457
466
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
458
467
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
459
468
  end
469
+ allowable_values = ["none", "eu", "us"]
470
+ if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
471
+ fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
472
+ end
460
473
  allowable_values = [1, 2]
461
474
  if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
462
475
  fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
@@ -495,6 +508,7 @@ module Fastly
495
508
  form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
496
509
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
497
510
  form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
511
+ form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
498
512
  form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
499
513
  form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
500
514
  form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?