fastly 4.2.0 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -641,6 +641,24 @@ module Fastly
641
641
  # Total duration of Fanout connections with end users.
642
642
  attr_accessor :fanout_conn_time_ms
643
643
 
644
+ # 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.
645
+ attr_accessor :ddos_action_limit_streams_connections
646
+
647
+ # 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.
648
+ attr_accessor :ddos_action_limit_streams_requests
649
+
650
+ # The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections.
651
+ attr_accessor :ddos_action_tarpit_accept
652
+
653
+ # The number of times the tarpit action was taken. The tarpit action delays writing the response to the client.
654
+ attr_accessor :ddos_action_tarpit
655
+
656
+ # 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.
657
+ attr_accessor :ddos_action_close
658
+
659
+ # 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).
660
+ attr_accessor :ddos_action_blackhole
661
+
644
662
  # Attribute mapping from ruby-style variable name to JSON key.
645
663
  def self.attribute_map
646
664
  {
@@ -852,7 +870,13 @@ module Fastly
852
870
  :'fanout_bereq_body_bytes' => :'fanout_bereq_body_bytes',
853
871
  :'fanout_beresp_header_bytes' => :'fanout_beresp_header_bytes',
854
872
  :'fanout_beresp_body_bytes' => :'fanout_beresp_body_bytes',
855
- :'fanout_conn_time_ms' => :'fanout_conn_time_ms'
873
+ :'fanout_conn_time_ms' => :'fanout_conn_time_ms',
874
+ :'ddos_action_limit_streams_connections' => :'ddos_action_limit_streams_connections',
875
+ :'ddos_action_limit_streams_requests' => :'ddos_action_limit_streams_requests',
876
+ :'ddos_action_tarpit_accept' => :'ddos_action_tarpit_accept',
877
+ :'ddos_action_tarpit' => :'ddos_action_tarpit',
878
+ :'ddos_action_close' => :'ddos_action_close',
879
+ :'ddos_action_blackhole' => :'ddos_action_blackhole'
856
880
  }
857
881
  end
858
882
 
@@ -1072,7 +1096,13 @@ module Fastly
1072
1096
  :'fanout_bereq_body_bytes' => :'Integer',
1073
1097
  :'fanout_beresp_header_bytes' => :'Integer',
1074
1098
  :'fanout_beresp_body_bytes' => :'Integer',
1075
- :'fanout_conn_time_ms' => :'Integer'
1099
+ :'fanout_conn_time_ms' => :'Integer',
1100
+ :'ddos_action_limit_streams_connections' => :'Integer',
1101
+ :'ddos_action_limit_streams_requests' => :'Integer',
1102
+ :'ddos_action_tarpit_accept' => :'Integer',
1103
+ :'ddos_action_tarpit' => :'Integer',
1104
+ :'ddos_action_close' => :'Integer',
1105
+ :'ddos_action_blackhole' => :'Integer'
1076
1106
  }
1077
1107
  end
1078
1108
 
@@ -1933,6 +1963,30 @@ module Fastly
1933
1963
  if attributes.key?(:'fanout_conn_time_ms')
1934
1964
  self.fanout_conn_time_ms = attributes[:'fanout_conn_time_ms']
1935
1965
  end
1966
+
1967
+ if attributes.key?(:'ddos_action_limit_streams_connections')
1968
+ self.ddos_action_limit_streams_connections = attributes[:'ddos_action_limit_streams_connections']
1969
+ end
1970
+
1971
+ if attributes.key?(:'ddos_action_limit_streams_requests')
1972
+ self.ddos_action_limit_streams_requests = attributes[:'ddos_action_limit_streams_requests']
1973
+ end
1974
+
1975
+ if attributes.key?(:'ddos_action_tarpit_accept')
1976
+ self.ddos_action_tarpit_accept = attributes[:'ddos_action_tarpit_accept']
1977
+ end
1978
+
1979
+ if attributes.key?(:'ddos_action_tarpit')
1980
+ self.ddos_action_tarpit = attributes[:'ddos_action_tarpit']
1981
+ end
1982
+
1983
+ if attributes.key?(:'ddos_action_close')
1984
+ self.ddos_action_close = attributes[:'ddos_action_close']
1985
+ end
1986
+
1987
+ if attributes.key?(:'ddos_action_blackhole')
1988
+ self.ddos_action_blackhole = attributes[:'ddos_action_blackhole']
1989
+ end
1936
1990
  end
1937
1991
 
1938
1992
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -2161,7 +2215,13 @@ module Fastly
2161
2215
  fanout_bereq_body_bytes == o.fanout_bereq_body_bytes &&
2162
2216
  fanout_beresp_header_bytes == o.fanout_beresp_header_bytes &&
2163
2217
  fanout_beresp_body_bytes == o.fanout_beresp_body_bytes &&
2164
- fanout_conn_time_ms == o.fanout_conn_time_ms
2218
+ fanout_conn_time_ms == o.fanout_conn_time_ms &&
2219
+ ddos_action_limit_streams_connections == o.ddos_action_limit_streams_connections &&
2220
+ ddos_action_limit_streams_requests == o.ddos_action_limit_streams_requests &&
2221
+ ddos_action_tarpit_accept == o.ddos_action_tarpit_accept &&
2222
+ ddos_action_tarpit == o.ddos_action_tarpit &&
2223
+ ddos_action_close == o.ddos_action_close &&
2224
+ ddos_action_blackhole == o.ddos_action_blackhole
2165
2225
  end
2166
2226
 
2167
2227
  # @see the `==` method
@@ -2173,7 +2233,7 @@ module Fastly
2173
2233
  # Calculates hash code according to all attributes.
2174
2234
  # @return [Integer] Hash code
2175
2235
  def hash
2176
- [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, fanout_recv_publishes, fanout_send_publishes, object_store_class_a_operations, object_store_class_b_operations, object_store_read_requests, object_store_write_requests, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms].hash
2236
+ [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, fanout_recv_publishes, fanout_send_publishes, object_store_class_a_operations, object_store_class_b_operations, object_store_read_requests, object_store_write_requests, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole].hash
2177
2237
  end
2178
2238
 
2179
2239
  # Builds the object from hash
@@ -9,5 +9,5 @@ Contact: oss@fastly.com
9
9
  =end
10
10
 
11
11
  module Fastly
12
- VERSION = '4.2.0'
12
+ VERSION = '4.3.0'
13
13
  end
data/lib/fastly.rb CHANGED
@@ -143,7 +143,10 @@ require 'fastly/models/inline_object1'
143
143
  require 'fastly/models/inline_response200'
144
144
  require 'fastly/models/inline_response2001'
145
145
  require 'fastly/models/inline_response2002'
146
- require 'fastly/models/inline_response2002_meta'
146
+ require 'fastly/models/inline_response2003'
147
+ require 'fastly/models/inline_response2003_meta'
148
+ require 'fastly/models/inline_response2004'
149
+ require 'fastly/models/inline_response2004_meta'
147
150
  require 'fastly/models/invitation'
148
151
  require 'fastly/models/invitation_data'
149
152
  require 'fastly/models/invitation_data_attributes'
@@ -631,6 +634,7 @@ require 'fastly/api/diff_api'
631
634
  require 'fastly/api/director_api'
632
635
  require 'fastly/api/director_backend_api'
633
636
  require 'fastly/api/domain_api'
637
+ require 'fastly/api/domain_ownerships_api'
634
638
  require 'fastly/api/enabled_products_api'
635
639
  require 'fastly/api/events_api'
636
640
  require 'fastly/api/gzip_api'
@@ -671,6 +675,7 @@ require 'fastly/api/logging_sumologic_api'
671
675
  require 'fastly/api/logging_syslog_api'
672
676
  require 'fastly/api/mutual_authentication_api'
673
677
  require 'fastly/api/object_store_api'
678
+ require 'fastly/api/object_store_item_api'
674
679
  require 'fastly/api/package_api'
675
680
  require 'fastly/api/pool_api'
676
681
  require 'fastly/api/pop_api'
data/sig.json CHANGED
@@ -1 +1 @@
1
- {"G": "c9a346f2", "D": "91b21ede"}
1
+ {"G": "1fa5122c", "D": "93752003"}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fastly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-21 00:00:00.000000000 Z
11
+ date: 2023-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -140,6 +140,7 @@ files:
140
140
  - docs/Domain.md
141
141
  - docs/DomainApi.md
142
142
  - docs/DomainCheckItem.md
143
+ - docs/DomainOwnershipsApi.md
143
144
  - docs/DomainResponse.md
144
145
  - docs/EnabledProductResponse.md
145
146
  - docs/EnabledProductResponseLinks.md
@@ -209,7 +210,10 @@ files:
209
210
  - docs/InlineResponse200.md
210
211
  - docs/InlineResponse2001.md
211
212
  - docs/InlineResponse2002.md
212
- - docs/InlineResponse2002Meta.md
213
+ - docs/InlineResponse2003.md
214
+ - docs/InlineResponse2003Meta.md
215
+ - docs/InlineResponse2004.md
216
+ - docs/InlineResponse2004Meta.md
213
217
  - docs/Invitation.md
214
218
  - docs/InvitationData.md
215
219
  - docs/InvitationDataAttributes.md
@@ -344,6 +348,7 @@ files:
344
348
  - docs/MutualAuthenticationsResponse.md
345
349
  - docs/MutualAuthenticationsResponseAllOf.md
346
350
  - docs/ObjectStoreApi.md
351
+ - docs/ObjectStoreItemApi.md
347
352
  - docs/Package.md
348
353
  - docs/PackageApi.md
349
354
  - docs/PackageMetadata.md
@@ -764,6 +769,7 @@ files:
764
769
  - lib/fastly/api/director_api.rb
765
770
  - lib/fastly/api/director_backend_api.rb
766
771
  - lib/fastly/api/domain_api.rb
772
+ - lib/fastly/api/domain_ownerships_api.rb
767
773
  - lib/fastly/api/enabled_products_api.rb
768
774
  - lib/fastly/api/events_api.rb
769
775
  - lib/fastly/api/gzip_api.rb
@@ -804,6 +810,7 @@ files:
804
810
  - lib/fastly/api/logging_syslog_api.rb
805
811
  - lib/fastly/api/mutual_authentication_api.rb
806
812
  - lib/fastly/api/object_store_api.rb
813
+ - lib/fastly/api/object_store_item_api.rb
807
814
  - lib/fastly/api/package_api.rb
808
815
  - lib/fastly/api/pool_api.rb
809
816
  - lib/fastly/api/pop_api.rb
@@ -973,7 +980,10 @@ files:
973
980
  - lib/fastly/models/inline_response200.rb
974
981
  - lib/fastly/models/inline_response2001.rb
975
982
  - lib/fastly/models/inline_response2002.rb
976
- - lib/fastly/models/inline_response2002_meta.rb
983
+ - lib/fastly/models/inline_response2003.rb
984
+ - lib/fastly/models/inline_response2003_meta.rb
985
+ - lib/fastly/models/inline_response2004.rb
986
+ - lib/fastly/models/inline_response2004_meta.rb
977
987
  - lib/fastly/models/invitation.rb
978
988
  - lib/fastly/models/invitation_data.rb
979
989
  - lib/fastly/models/invitation_data_attributes.rb