fastly 8.10.0 → 10.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -2
- data/Gemfile.lock +3 -3
- data/README.md +63 -45
- data/docs/AccessKey.md +12 -0
- data/docs/AccessKeyResponse.md +15 -0
- data/docs/AclsInComputeApi.md +4 -4
- data/docs/AiAcceleratorResponseBodyEnable.md +12 -0
- data/docs/AiAcceleratorResponseCustomer.md +10 -0
- data/docs/AiAcceleratorResponseCustomerCustomer.md +11 -0
- data/docs/AiAcceleratorResponseLinks.md +10 -0
- data/docs/AiAcceleratorResponseLinksLinks.md +10 -0
- data/docs/AiAcceleratorResponseProduct.md +10 -0
- data/docs/AiAcceleratorResponseProductProduct.md +11 -0
- data/docs/Backend.md +1 -1
- data/docs/BackendApi.md +4 -4
- data/docs/BackendResponse.md +1 -1
- data/docs/BillingUsageMetricsApi.md +17 -23
- data/docs/BotManagementResponseBodyEnable.md +12 -0
- data/docs/BotManagementResponseLinks.md +10 -0
- data/docs/BotManagementResponseLinksLinks.md +11 -0
- data/docs/BotManagementResponseProduct.md +10 -0
- data/docs/BotManagementResponseProductProduct.md +11 -0
- data/docs/BotManagementResponseService.md +10 -0
- data/docs/{EnabledProductResponseService.md → BotManagementResponseServiceService.md} +1 -1
- data/docs/BrotliCompressionResponseBodyEnable.md +12 -0
- data/docs/BrotliCompressionResponseLinks.md +10 -0
- data/docs/BrotliCompressionResponseLinksLinks.md +11 -0
- data/docs/BrotliCompressionResponseProduct.md +10 -0
- data/docs/BrotliCompressionResponseProductProduct.md +11 -0
- data/docs/BrotliCompressionResponseService.md +10 -0
- data/docs/ComputeAclList.md +11 -0
- data/docs/{LegacyWafTag.md → ComputeAclListMeta.md} +2 -2
- data/docs/ComputeAclLookup.md +1 -2
- data/docs/{InlineResponse2004Meta.md → ComputeAclUpdate.md} +2 -3
- data/docs/DdosProtectionRequestUpdateConfiguration.md +10 -0
- data/docs/DdosProtectionResponseConfiguration.md +10 -0
- data/docs/DdosProtectionResponseConfigurationConfiguration.md +10 -0
- data/docs/DdosProtectionResponseConfigure.md +13 -0
- data/docs/DdosProtectionResponseEnable.md +12 -0
- data/docs/DdosProtectionResponseLinks.md +10 -0
- data/docs/DdosProtectionResponseLinksLinks.md +11 -0
- data/docs/DdosProtectionResponseProduct.md +10 -0
- data/docs/DdosProtectionResponseProductProduct.md +11 -0
- data/docs/DdosProtectionResponseService.md +10 -0
- data/docs/DimensionAttributesCountryStats.md +12 -0
- data/docs/DimensionAttributesRate.md +10 -0
- data/docs/DimensionBrowser.md +10 -0
- data/docs/DimensionContentType.md +10 -0
- data/docs/DimensionCountry.md +10 -0
- data/docs/DimensionDevice.md +10 -0
- data/docs/DimensionOs.md +10 -0
- data/docs/DimensionResponse.md +10 -0
- data/docs/DimensionStatusCode.md +10 -0
- data/docs/DimensionUrl.md +10 -0
- data/docs/DomainInspectorMeasurements.md +2 -0
- data/docs/DomainInspectorResponseBodyEnable.md +12 -0
- data/docs/DomainInspectorResponseLinks.md +10 -0
- data/docs/DomainInspectorResponseLinksLinks.md +11 -0
- data/docs/DomainInspectorResponseProduct.md +10 -0
- data/docs/{InlineResponse2003Meta.md → DomainInspectorResponseProductProduct.md} +3 -3
- data/docs/DomainInspectorResponseService.md +10 -0
- data/docs/FanoutResponseBodyEnable.md +12 -0
- data/docs/FanoutResponseLinks.md +10 -0
- data/docs/{EnabledProductResponseLinks.md → FanoutResponseLinksLinks.md} +1 -1
- data/docs/FanoutResponseProduct.md +10 -0
- data/docs/{EnabledProductResponseProduct.md → FanoutResponseProductProduct.md} +1 -1
- data/docs/FanoutResponseService.md +10 -0
- data/docs/FilterFieldItem.md +12 -0
- data/docs/GetLogInsightsResponse.md +11 -0
- data/docs/GetLogRecordsResponse.md +11 -0
- data/docs/GetLogRecordsResponseMeta.md +10 -0
- data/docs/GetLogRecordsResponseMetaFilters.md +16 -0
- data/docs/ImageOptimizerResponseBodyEnable.md +12 -0
- data/docs/ImageOptimizerResponseLinks.md +10 -0
- data/docs/ImageOptimizerResponseLinksLinks.md +11 -0
- data/docs/ImageOptimizerResponseProduct.md +10 -0
- data/docs/ImageOptimizerResponseProductProduct.md +11 -0
- data/docs/ImageOptimizerResponseService.md +10 -0
- data/docs/InlineResponse2003.md +2 -2
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InsightsApi.md +69 -0
- data/docs/KvStoreApi.md +30 -30
- data/docs/{Batch.md → KvStoreBatchResponse.md} +2 -2
- data/docs/{BatchErrors.md → KvStoreBatchResponseErrors.md} +4 -4
- data/docs/{StoreResponse.md → KvStoreDetails.md} +2 -2
- data/docs/KvStoreItemApi.md +55 -50
- data/docs/KvStoreRequestCreate.md +10 -0
- data/docs/KvStoreUpsertBatch.md +14 -0
- data/docs/LogExplorerApi.md +65 -0
- data/docs/LogExplorerInsightsResponseBodyEnable.md +12 -0
- data/docs/LogExplorerInsightsResponseLinks.md +10 -0
- data/docs/LogExplorerInsightsResponseLinksLinks.md +11 -0
- data/docs/LogExplorerInsightsResponseProduct.md +10 -0
- data/docs/LogExplorerInsightsResponseProductProduct.md +11 -0
- data/docs/LogExplorerInsightsResponseService.md +10 -0
- data/docs/LogInsights.md +12 -0
- data/docs/LogInsightsDimensionAttributes.md +49 -0
- data/docs/LogInsightsDimensions.md +61 -0
- data/docs/LogInsightsMeta.md +10 -0
- data/docs/LogInsightsMetaFilter.md +14 -0
- data/docs/LogInsightsValues.md +65 -0
- data/docs/{ReadOnlyServiceId.md → LogPropertyServiceId.md} +1 -1
- data/docs/LogRecord.md +37 -0
- data/docs/LoggingGrafanacloudlogsAdditional.md +14 -0
- data/docs/LoggingGrafanacloudlogsApi.md +259 -0
- data/docs/LoggingGrafanacloudlogsResponse.md +23 -0
- data/docs/{ReadOnlyVersion.md → NgwafRequestEnable.md} +2 -1
- data/docs/NgwafRequestUpdateConfiguration.md +11 -0
- data/docs/NgwafResponseConfiguration.md +10 -0
- data/docs/{ConfiguredProductResponseConfiguration.md → NgwafResponseConfigurationConfiguration.md} +2 -2
- data/docs/NgwafResponseConfigure.md +13 -0
- data/docs/NgwafResponseEnable.md +12 -0
- data/docs/NgwafResponseLinks.md +10 -0
- data/docs/{ConfiguredProductResponseLinks.md → NgwafResponseLinksLinks.md} +1 -1
- data/docs/NgwafResponseProduct.md +10 -0
- data/docs/{ConfiguredProductResponseProduct.md → NgwafResponseProductProduct.md} +1 -1
- data/docs/NgwafResponseService.md +10 -0
- data/docs/ObjectStorageAccessKeysApi.md +163 -0
- data/docs/ObjectStorageResponseBodyEnable.md +12 -0
- data/docs/ObjectStorageResponseCustomer.md +10 -0
- data/docs/ObjectStorageResponseLinks.md +10 -0
- data/docs/ObjectStorageResponseLinksLinks.md +10 -0
- data/docs/ObjectStorageResponseProduct.md +10 -0
- data/docs/ObjectStorageResponseProductProduct.md +11 -0
- data/docs/OriginInspectorMeasurements.md +4 -0
- data/docs/OriginInspectorResponseBodyEnable.md +12 -0
- data/docs/OriginInspectorResponseLinks.md +10 -0
- data/docs/OriginInspectorResponseLinksLinks.md +11 -0
- data/docs/OriginInspectorResponseProduct.md +10 -0
- data/docs/OriginInspectorResponseProductProduct.md +11 -0
- data/docs/OriginInspectorResponseService.md +10 -0
- data/docs/OriginInspectorValues.md +4 -0
- data/docs/ProductAiAcceleratorApi.md +115 -0
- data/docs/ProductBotManagementApi.md +130 -0
- data/docs/ProductBrotliCompressionApi.md +130 -0
- data/docs/ProductDdosProtectionApi.md +208 -0
- data/docs/ProductDomainInspectorApi.md +130 -0
- data/docs/ProductFanoutApi.md +130 -0
- data/docs/ProductImageOptimizerApi.md +130 -0
- data/docs/ProductLogExplorerInsightsApi.md +130 -0
- data/docs/ProductNgwafApi.md +210 -0
- data/docs/ProductObjectStorageApi.md +115 -0
- data/docs/ProductOriginInspectorApi.md +130 -0
- data/docs/ProductWebsocketsApi.md +130 -0
- data/docs/RealtimeEntryAggregated.md +18 -7
- data/docs/RealtimeMeasurements.md +18 -7
- data/docs/Results.md +18 -7
- data/docs/SnippetApi.md +15 -15
- data/docs/Usagemetric.md +18 -0
- data/docs/{Store.md → Usagemetrics.md} +2 -2
- data/docs/ValueField.md +59 -0
- data/docs/Values.md +2 -0
- data/docs/Values503Responses.md +12 -0
- data/docs/ValuesBandwidth.md +11 -0
- data/docs/ValuesBrowser.md +11 -0
- data/docs/ValuesCacheHitRatio.md +10 -0
- data/docs/ValuesCountryStats.md +12 -0
- data/docs/ValuesDuration.md +12 -0
- data/docs/ValuesMisses.md +10 -0
- data/docs/ValuesRate.md +10 -0
- data/docs/ValuesRequests.md +10 -0
- data/docs/ValuesStatusCodes.md +12 -0
- data/docs/WebsocketsResponseBodyEnable.md +12 -0
- data/docs/WebsocketsResponseLinks.md +10 -0
- data/docs/WebsocketsResponseLinksLinks.md +11 -0
- data/docs/WebsocketsResponseProduct.md +10 -0
- data/docs/WebsocketsResponseProductProduct.md +11 -0
- data/docs/WebsocketsResponseService.md +10 -0
- data/lib/fastly/api/acls_in_compute_api.rb +6 -6
- data/lib/fastly/api/backend_api.rb +4 -4
- data/lib/fastly/api/billing_usage_metrics_api.rb +46 -73
- data/lib/fastly/api/insights_api.rb +125 -0
- data/lib/fastly/api/kv_store_api.rb +53 -45
- data/lib/fastly/api/kv_store_item_api.rb +114 -99
- data/lib/fastly/api/log_explorer_api.rb +109 -0
- data/lib/fastly/api/logging_grafanacloudlogs_api.rb +471 -0
- data/lib/fastly/api/object_storage_access_keys_api.rb +263 -0
- data/lib/fastly/api/product_ai_accelerator_api.rb +186 -0
- data/lib/fastly/api/product_bot_management_api.rb +207 -0
- data/lib/fastly/api/product_brotli_compression_api.rb +207 -0
- data/lib/fastly/api/product_ddos_protection_api.rb +340 -0
- data/lib/fastly/api/product_domain_inspector_api.rb +207 -0
- data/lib/fastly/api/product_fanout_api.rb +207 -0
- data/lib/fastly/api/product_image_optimizer_api.rb +207 -0
- data/lib/fastly/api/product_log_explorer_insights_api.rb +207 -0
- data/lib/fastly/api/product_ngwaf_api.rb +347 -0
- data/lib/fastly/api/product_object_storage_api.rb +186 -0
- data/lib/fastly/api/product_origin_inspector_api.rb +207 -0
- data/lib/fastly/api/product_websockets_api.rb +207 -0
- data/lib/fastly/api/snippet_api.rb +35 -35
- data/lib/fastly/configuration.rb +308 -200
- data/lib/fastly/models/access_key.rb +248 -0
- data/lib/fastly/models/{legacy_waf_update_status.rb → access_key_response.rb} +48 -46
- data/lib/fastly/models/ai_accelerator_response_body_enable.rb +243 -0
- data/lib/fastly/models/ai_accelerator_response_customer.rb +216 -0
- data/lib/fastly/models/ai_accelerator_response_customer_customer.rb +227 -0
- data/lib/fastly/models/ai_accelerator_response_links.rb +216 -0
- data/lib/fastly/models/ai_accelerator_response_links_links.rb +217 -0
- data/lib/fastly/models/ai_accelerator_response_product.rb +216 -0
- data/lib/fastly/models/ai_accelerator_response_product_product.rb +227 -0
- data/lib/fastly/models/backend.rb +1 -1
- data/lib/fastly/models/backend_response.rb +1 -1
- data/lib/fastly/models/bot_management_response_body_enable.rb +243 -0
- data/lib/fastly/models/bot_management_response_links.rb +216 -0
- data/lib/fastly/models/bot_management_response_links_links.rb +227 -0
- data/lib/fastly/models/bot_management_response_product.rb +216 -0
- data/lib/fastly/models/bot_management_response_product_product.rb +227 -0
- data/lib/fastly/models/bot_management_response_service.rb +216 -0
- data/lib/fastly/models/{enabled_product_response_service.rb → bot_management_response_service_service.rb} +3 -3
- data/lib/fastly/models/brotli_compression_response_body_enable.rb +243 -0
- data/lib/fastly/models/brotli_compression_response_links.rb +216 -0
- data/lib/fastly/models/brotli_compression_response_links_links.rb +227 -0
- data/lib/fastly/models/brotli_compression_response_product.rb +216 -0
- data/lib/fastly/models/brotli_compression_response_product_product.rb +227 -0
- data/lib/fastly/models/brotli_compression_response_service.rb +216 -0
- data/lib/fastly/models/compute_acl_list.rb +228 -0
- data/lib/fastly/models/compute_acl_list_entries.rb +1 -1
- data/lib/fastly/models/compute_acl_list_meta.rb +218 -0
- data/lib/fastly/models/compute_acl_lookup.rb +3 -13
- data/lib/fastly/models/compute_acl_update.rb +219 -0
- data/lib/fastly/models/compute_acl_update_entry.rb +1 -1
- data/lib/fastly/models/ddos_protection_request_update_configuration.rb +256 -0
- data/lib/fastly/models/ddos_protection_response_configuration.rb +216 -0
- data/lib/fastly/models/ddos_protection_response_configuration_configuration.rb +217 -0
- data/lib/fastly/models/ddos_protection_response_configure.rb +253 -0
- data/lib/fastly/models/ddos_protection_response_enable.rb +243 -0
- data/lib/fastly/models/ddos_protection_response_links.rb +216 -0
- data/lib/fastly/models/ddos_protection_response_links_links.rb +227 -0
- data/lib/fastly/models/ddos_protection_response_product.rb +216 -0
- data/lib/fastly/models/ddos_protection_response_product_product.rb +227 -0
- data/lib/fastly/models/ddos_protection_response_service.rb +216 -0
- data/lib/fastly/models/dimension_attributes_country_stats.rb +237 -0
- data/lib/fastly/models/dimension_attributes_rate.rb +217 -0
- data/lib/fastly/models/dimension_browser.rb +217 -0
- data/lib/fastly/models/dimension_content_type.rb +217 -0
- data/lib/fastly/models/dimension_country.rb +217 -0
- data/lib/fastly/models/dimension_device.rb +217 -0
- data/lib/fastly/models/{store.rb → dimension_os.rb} +11 -11
- data/lib/fastly/models/{read_only_service_id.rb → dimension_response.rb} +15 -5
- data/lib/fastly/models/dimension_status_code.rb +217 -0
- data/lib/fastly/models/{legacy_waf_tag.rb → dimension_url.rb} +11 -11
- data/lib/fastly/models/domain_inspector_measurements.rb +21 -1
- data/lib/fastly/models/domain_inspector_response_body_enable.rb +243 -0
- data/lib/fastly/models/domain_inspector_response_links.rb +216 -0
- data/lib/fastly/models/domain_inspector_response_links_links.rb +227 -0
- data/lib/fastly/models/domain_inspector_response_product.rb +216 -0
- data/lib/fastly/models/domain_inspector_response_product_product.rb +227 -0
- data/lib/fastly/models/domain_inspector_response_service.rb +216 -0
- data/lib/fastly/models/fanout_response_body_enable.rb +243 -0
- data/lib/fastly/models/fanout_response_links.rb +216 -0
- data/lib/fastly/models/{enabled_product_response_links.rb → fanout_response_links_links.rb} +3 -3
- data/lib/fastly/models/fanout_response_product.rb +216 -0
- data/lib/fastly/models/{enabled_product_response_product.rb → fanout_response_product_product.rb} +3 -3
- data/lib/fastly/models/fanout_response_service.rb +216 -0
- data/lib/fastly/models/filter_field_item.rb +271 -0
- data/lib/fastly/models/{inline_response2004_meta.rb → get_log_insights_response.rb} +18 -16
- data/lib/fastly/models/get_log_records_response.rb +227 -0
- data/lib/fastly/models/get_log_records_response_meta.rb +216 -0
- data/lib/fastly/models/{legacy_waf_firewall.rb → get_log_records_response_meta_filters.rb} +80 -70
- data/lib/fastly/models/image_optimizer_response_body_enable.rb +243 -0
- data/lib/fastly/models/image_optimizer_response_links.rb +216 -0
- data/lib/fastly/models/image_optimizer_response_links_links.rb +227 -0
- data/lib/fastly/models/image_optimizer_response_product.rb +216 -0
- data/lib/fastly/models/image_optimizer_response_product_product.rb +227 -0
- data/lib/fastly/models/image_optimizer_response_service.rb +216 -0
- data/lib/fastly/models/inline_response2003.rb +2 -2
- data/lib/fastly/models/inline_response2004.rb +1 -1
- data/lib/fastly/models/{batch.rb → kv_store_batch_response.rb} +5 -5
- data/lib/fastly/models/{batch_errors.rb → kv_store_batch_response_errors.rb} +6 -6
- data/lib/fastly/models/{store_response.rb → kv_store_details.rb} +4 -4
- data/lib/fastly/models/{legacy_waf_configuration_set.rb → kv_store_request_create.rb} +10 -15
- data/lib/fastly/models/kv_store_upsert_batch.rb +269 -0
- data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +243 -0
- data/lib/fastly/models/log_explorer_insights_response_links.rb +216 -0
- data/lib/fastly/models/log_explorer_insights_response_links_links.rb +227 -0
- data/lib/fastly/models/log_explorer_insights_response_product.rb +216 -0
- data/lib/fastly/models/log_explorer_insights_response_product_product.rb +227 -0
- data/lib/fastly/models/log_explorer_insights_response_service.rb +216 -0
- data/lib/fastly/models/log_insights.rb +234 -0
- data/lib/fastly/models/log_insights_dimension_attributes.rb +103 -0
- data/lib/fastly/models/log_insights_dimensions.rb +109 -0
- data/lib/fastly/models/log_insights_meta.rb +217 -0
- data/lib/fastly/models/{inline_response2003_meta.rb → log_insights_meta_filter.rb} +69 -13
- data/lib/fastly/models/log_insights_values.rb +111 -0
- data/lib/fastly/models/{read_only_version.rb → log_property_service_id.rb} +4 -3
- data/lib/fastly/models/log_record.rb +486 -0
- data/lib/fastly/models/logging_grafanacloudlogs_additional.rb +257 -0
- data/lib/fastly/models/logging_grafanacloudlogs_response.rb +408 -0
- data/lib/fastly/models/{set_workspace_id.rb → ngwaf_request_enable.rb} +9 -4
- data/lib/fastly/models/{set_configuration.rb → ngwaf_request_update_configuration.rb} +5 -5
- data/lib/fastly/models/ngwaf_response_configuration.rb +216 -0
- data/lib/fastly/models/{configured_product_response_configuration.rb → ngwaf_response_configuration_configuration.rb} +4 -4
- data/lib/fastly/models/{configured_product_response.rb → ngwaf_response_configure.rb} +17 -7
- data/lib/fastly/models/{enabled_product_response.rb → ngwaf_response_enable.rb} +15 -6
- data/lib/fastly/models/ngwaf_response_links.rb +216 -0
- data/lib/fastly/models/{configured_product_response_links.rb → ngwaf_response_links_links.rb} +3 -3
- data/lib/fastly/models/ngwaf_response_product.rb +216 -0
- data/lib/fastly/models/ngwaf_response_product_product.rb +227 -0
- data/lib/fastly/models/ngwaf_response_service.rb +216 -0
- data/lib/fastly/models/object_storage_response_body_enable.rb +243 -0
- data/lib/fastly/models/object_storage_response_customer.rb +216 -0
- data/lib/fastly/models/object_storage_response_links.rb +216 -0
- data/lib/fastly/models/object_storage_response_links_links.rb +217 -0
- data/lib/fastly/models/object_storage_response_product.rb +216 -0
- data/lib/fastly/models/object_storage_response_product_product.rb +227 -0
- data/lib/fastly/models/origin_inspector_measurements.rb +41 -1
- data/lib/fastly/models/origin_inspector_response_body_enable.rb +243 -0
- data/lib/fastly/models/origin_inspector_response_links.rb +216 -0
- data/lib/fastly/models/origin_inspector_response_links_links.rb +227 -0
- data/lib/fastly/models/origin_inspector_response_product.rb +216 -0
- data/lib/fastly/models/origin_inspector_response_product_product.rb +227 -0
- data/lib/fastly/models/origin_inspector_response_service.rb +216 -0
- data/lib/fastly/models/origin_inspector_values.rb +41 -1
- data/lib/fastly/models/realtime_entry_aggregated.rb +184 -74
- data/lib/fastly/models/realtime_measurements.rb +184 -74
- data/lib/fastly/models/results.rb +181 -71
- data/lib/fastly/models/schemas_snippet_response.rb +1 -0
- data/lib/fastly/models/snippet.rb +1 -0
- data/lib/fastly/models/snippet_common.rb +1 -0
- data/lib/fastly/models/snippet_response.rb +1 -0
- data/lib/fastly/models/snippet_response_post.rb +1 -0
- data/lib/fastly/models/snippet_with_dynamic_number.rb +1 -0
- data/lib/fastly/models/usagemetric.rb +297 -0
- data/lib/fastly/models/usagemetrics.rb +218 -0
- data/lib/fastly/models/value_field.rb +108 -0
- data/lib/fastly/models/values.rb +21 -1
- data/lib/fastly/models/{legacy_waf_rule_status.rb → values503_responses.rb} +25 -25
- data/lib/fastly/models/values_bandwidth.rb +227 -0
- data/lib/fastly/models/values_browser.rb +227 -0
- data/lib/fastly/models/values_cache_hit_ratio.rb +217 -0
- data/lib/fastly/models/values_country_stats.rb +237 -0
- data/lib/fastly/models/{legacy_waf_rule.rb → values_duration.rb} +25 -45
- data/lib/fastly/models/values_misses.rb +217 -0
- data/lib/fastly/models/values_rate.rb +217 -0
- data/lib/fastly/models/values_requests.rb +217 -0
- data/lib/fastly/models/values_status_codes.rb +237 -0
- data/lib/fastly/models/websockets_response_body_enable.rb +243 -0
- data/lib/fastly/models/websockets_response_links.rb +216 -0
- data/lib/fastly/models/websockets_response_links_links.rb +227 -0
- data/lib/fastly/models/websockets_response_product.rb +216 -0
- data/lib/fastly/models/{configured_product_response_product.rb → websockets_response_product_product.rb} +3 -3
- data/lib/fastly/models/websockets_response_service.rb +216 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +147 -35
- data/sig.json +1 -1
- metadata +299 -75
- data/docs/ConfiguredProductResponse.md +0 -13
- data/docs/EnabledProductResponse.md +0 -12
- data/docs/EnabledProductsApi.md +0 -220
- data/docs/LegacyWafConfigurationSet.md +0 -11
- data/docs/LegacyWafConfigurationSetsApi.md +0 -128
- data/docs/LegacyWafFirewall.md +0 -18
- data/docs/LegacyWafFirewallApi.md +0 -355
- data/docs/LegacyWafOwasp.md +0 -38
- data/docs/LegacyWafOwaspApi.md +0 -141
- data/docs/LegacyWafRule.md +0 -14
- data/docs/LegacyWafRuleApi.md +0 -187
- data/docs/LegacyWafRuleStatus.md +0 -12
- data/docs/LegacyWafRuleStatusApi.md +0 -205
- data/docs/LegacyWafRuleset.md +0 -11
- data/docs/LegacyWafRulesetApi.md +0 -139
- data/docs/LegacyWafTagApi.md +0 -61
- data/docs/LegacyWafUpdateStatus.md +0 -15
- data/docs/LegacyWafUpdateStatusApi.md +0 -105
- data/docs/SetConfiguration.md +0 -11
- data/docs/SetWorkspaceId.md +0 -10
- data/lib/fastly/api/enabled_products_api.rb +0 -382
- data/lib/fastly/api/legacy_waf_configuration_sets_api.rb +0 -209
- data/lib/fastly/api/legacy_waf_firewall_api.rb +0 -627
- data/lib/fastly/api/legacy_waf_owasp_api.rb +0 -244
- data/lib/fastly/api/legacy_waf_rule_api.rb +0 -307
- data/lib/fastly/api/legacy_waf_rule_status_api.rb +0 -366
- data/lib/fastly/api/legacy_waf_ruleset_api.rb +0 -237
- data/lib/fastly/api/legacy_waf_tag_api.rb +0 -96
- data/lib/fastly/api/legacy_waf_update_status_api.rb +0 -184
- data/lib/fastly/models/legacy_waf_owasp.rb +0 -527
- data/lib/fastly/models/legacy_waf_ruleset.rb +0 -227
@@ -0,0 +1,16 @@
|
|
1
|
+
# Fastly::GetLogRecordsResponseMetaFilters
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **service_id** | **String** | Specifies the ID of the service for which data should be returned. | [optional] |
|
8
|
+
| **start** | **String** | Start time for the query as supplied in the request. | [optional] |
|
9
|
+
| **_end** | **String** | End time for the query as supplied in the request. | [optional] |
|
10
|
+
| **domain_exact_match** | **Boolean** | Value of the `domain_exact_match` filter as supplied in the request. | [optional] |
|
11
|
+
| **limit** | **Integer** | Number of records per page. | [optional][default to 20] |
|
12
|
+
| **next_cursor** | **String** | A cursor to specify the next page of results, if any. | [optional] |
|
13
|
+
| **filter_fields** | [**Array<FilterFieldItem>**](FilterFieldItem.md) | | [optional] |
|
14
|
+
|
15
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
16
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Fastly::ImageOptimizerResponseBodyEnable
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **product** | [**ImageOptimizerResponseProductProduct**](ImageOptimizerResponseProductProduct.md) | | [optional] |
|
8
|
+
| **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
|
9
|
+
| **_links** | [**ImageOptimizerResponseLinksLinks**](ImageOptimizerResponseLinksLinks.md) | | [optional] |
|
10
|
+
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Fastly::ImageOptimizerResponseLinks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **_links** | [**ImageOptimizerResponseLinksLinks**](ImageOptimizerResponseLinksLinks.md) | | [optional] |
|
8
|
+
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ImageOptimizerResponseLinksLinks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **_self** | **String** | Location of resource | [optional] |
|
8
|
+
| **service** | **String** | Location of the service resource | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Fastly::ImageOptimizerResponseProduct
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **product** | [**ImageOptimizerResponseProductProduct**](ImageOptimizerResponseProductProduct.md) | | [optional] |
|
8
|
+
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ImageOptimizerResponseProductProduct
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | Product identifier | [optional] |
|
8
|
+
| **object** | **String** | Name of the object | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Fastly::ImageOptimizerResponseService
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
|
8
|
+
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
+
|
data/docs/InlineResponse2003.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **data** | [**Array<
|
8
|
-
| **meta** | [**
|
7
|
+
| **data** | [**Array<KvStoreDetails>**](KvStoreDetails.md) | | [optional] |
|
8
|
+
| **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
|
9
9
|
|
10
10
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
11
|
|
data/docs/InlineResponse2004.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **data** | **Array<String>** | | [optional] |
|
8
|
-
| **meta** | [**
|
8
|
+
| **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
|
9
9
|
|
10
10
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
11
|
|
data/docs/InsightsApi.md
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
# Fastly::InsightsApi
|
2
|
+
|
3
|
+
|
4
|
+
```ruby
|
5
|
+
require 'fastly'
|
6
|
+
api_instance = Fastly::InsightsApi.new
|
7
|
+
```
|
8
|
+
|
9
|
+
## Methods
|
10
|
+
|
11
|
+
> [!NOTE]
|
12
|
+
> All URIs are relative to `https://api.fastly.com`
|
13
|
+
|
14
|
+
Method | HTTP request | Description
|
15
|
+
------ | ------------ | -----------
|
16
|
+
[**get_log_insights**](InsightsApi.md#get_log_insights) | **GET** /observability/log-insights | Retrieve log insights
|
17
|
+
|
18
|
+
|
19
|
+
## `get_log_insights()`
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
get_log_insights(opts): <GetLogInsightsResponse> # Retrieve log insights
|
23
|
+
```
|
24
|
+
|
25
|
+
Retrieves statistics from sampled log records.
|
26
|
+
|
27
|
+
### Examples
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
api_instance = Fastly::InsightsApi.new
|
31
|
+
opts = {
|
32
|
+
visualization: 'top-url-by-bandwidth', # String |
|
33
|
+
service_id: 'service_id_example', # String |
|
34
|
+
start: 'start_example', # String |
|
35
|
+
_end: '_end_example', # String |
|
36
|
+
pops: 'pops_example', # String |
|
37
|
+
domain: 'domain_example', # String |
|
38
|
+
domain_exact_match: true, # Boolean |
|
39
|
+
limit: 8.14, # Float |
|
40
|
+
}
|
41
|
+
|
42
|
+
begin
|
43
|
+
# Retrieve log insights
|
44
|
+
result = api_instance.get_log_insights(opts)
|
45
|
+
p result
|
46
|
+
rescue Fastly::ApiError => e
|
47
|
+
puts "Error when calling InsightsApi->get_log_insights: #{e}"
|
48
|
+
end
|
49
|
+
```
|
50
|
+
|
51
|
+
### Options
|
52
|
+
|
53
|
+
| Name | Type | Description | Notes |
|
54
|
+
| ---- | ---- | ----------- | ----- |
|
55
|
+
| **visualization** | **String** | | |
|
56
|
+
| **service_id** | **String** | | |
|
57
|
+
| **start** | **String** | | |
|
58
|
+
| **_end** | **String** | | |
|
59
|
+
| **pops** | **String** | | [optional] |
|
60
|
+
| **domain** | **String** | | [optional] |
|
61
|
+
| **domain_exact_match** | **Boolean** | | [optional] |
|
62
|
+
| **limit** | **Float** | | [optional] |
|
63
|
+
|
64
|
+
### Return type
|
65
|
+
|
66
|
+
[**GetLogInsightsResponse**](GetLogInsightsResponse.md)
|
67
|
+
|
68
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
69
|
+
[[Back to README]](../../README.md)
|
data/docs/KvStoreApi.md
CHANGED
@@ -13,35 +13,35 @@ api_instance = Fastly::KvStoreApi.new
|
|
13
13
|
|
14
14
|
Method | HTTP request | Description
|
15
15
|
------ | ------------ | -----------
|
16
|
-
[**
|
17
|
-
[**
|
18
|
-
[**
|
19
|
-
[**
|
16
|
+
[**kv_store_create**](KvStoreApi.md#kv_store_create) | **POST** /resources/stores/kv | Create a KV store.
|
17
|
+
[**kv_store_delete**](KvStoreApi.md#kv_store_delete) | **DELETE** /resources/stores/kv/{store_id} | Delete a KV store.
|
18
|
+
[**kv_store_get**](KvStoreApi.md#kv_store_get) | **GET** /resources/stores/kv/{store_id} | Describe a KV store.
|
19
|
+
[**kv_store_list**](KvStoreApi.md#kv_store_list) | **GET** /resources/stores/kv | List all KV stores.
|
20
20
|
|
21
21
|
|
22
|
-
## `
|
22
|
+
## `kv_store_create()`
|
23
23
|
|
24
24
|
```ruby
|
25
|
-
|
25
|
+
kv_store_create(opts): <KvStoreDetails> # Create a KV store.
|
26
26
|
```
|
27
27
|
|
28
|
-
Create a
|
28
|
+
Create a KV store.
|
29
29
|
|
30
30
|
### Examples
|
31
31
|
|
32
32
|
```ruby
|
33
33
|
api_instance = Fastly::KvStoreApi.new
|
34
34
|
opts = {
|
35
|
-
location: '
|
36
|
-
|
35
|
+
location: 'US', # String |
|
36
|
+
kv_store_request_create: Fastly::KvStoreRequestCreate.new({name: 'name_example'}), # KvStoreRequestCreate |
|
37
37
|
}
|
38
38
|
|
39
39
|
begin
|
40
40
|
# Create a KV store.
|
41
|
-
result = api_instance.
|
41
|
+
result = api_instance.kv_store_create(opts)
|
42
42
|
p result
|
43
43
|
rescue Fastly::ApiError => e
|
44
|
-
puts "Error when calling KvStoreApi->
|
44
|
+
puts "Error when calling KvStoreApi->kv_store_create: #{e}"
|
45
45
|
end
|
46
46
|
```
|
47
47
|
|
@@ -50,21 +50,21 @@ end
|
|
50
50
|
| Name | Type | Description | Notes |
|
51
51
|
| ---- | ---- | ----------- | ----- |
|
52
52
|
| **location** | **String** | | [optional] |
|
53
|
-
| **
|
53
|
+
| **kv_store_request_create** | [**KvStoreRequestCreate**](KvStoreRequestCreate.md) | | [optional] |
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
57
|
-
[**
|
57
|
+
[**KvStoreDetails**](KvStoreDetails.md)
|
58
58
|
|
59
59
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
60
60
|
[[Back to README]](../../README.md)
|
61
|
-
## `
|
61
|
+
## `kv_store_delete()`
|
62
62
|
|
63
63
|
```ruby
|
64
|
-
|
64
|
+
kv_store_delete(opts) # Delete a KV store.
|
65
65
|
```
|
66
66
|
|
67
|
-
A KV store must be empty before it can be deleted.
|
67
|
+
A KV store must be empty before it can be deleted. Attempting to delete a KV store that contains items will result in a response with a `409` status code.
|
68
68
|
|
69
69
|
### Examples
|
70
70
|
|
@@ -76,9 +76,9 @@ opts = {
|
|
76
76
|
|
77
77
|
begin
|
78
78
|
# Delete a KV store.
|
79
|
-
api_instance.
|
79
|
+
api_instance.kv_store_delete(opts)
|
80
80
|
rescue Fastly::ApiError => e
|
81
|
-
puts "Error when calling KvStoreApi->
|
81
|
+
puts "Error when calling KvStoreApi->kv_store_delete: #{e}"
|
82
82
|
end
|
83
83
|
```
|
84
84
|
|
@@ -94,13 +94,13 @@ nil (empty response body)
|
|
94
94
|
|
95
95
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
96
96
|
[[Back to README]](../../README.md)
|
97
|
-
## `
|
97
|
+
## `kv_store_get()`
|
98
98
|
|
99
99
|
```ruby
|
100
|
-
|
100
|
+
kv_store_get(opts): <KvStoreDetails> # Describe a KV store.
|
101
101
|
```
|
102
102
|
|
103
|
-
Get a KV store
|
103
|
+
Get details of a KV store.
|
104
104
|
|
105
105
|
### Examples
|
106
106
|
|
@@ -112,10 +112,10 @@ opts = {
|
|
112
112
|
|
113
113
|
begin
|
114
114
|
# Describe a KV store.
|
115
|
-
result = api_instance.
|
115
|
+
result = api_instance.kv_store_get(opts)
|
116
116
|
p result
|
117
117
|
rescue Fastly::ApiError => e
|
118
|
-
puts "Error when calling KvStoreApi->
|
118
|
+
puts "Error when calling KvStoreApi->kv_store_get: #{e}"
|
119
119
|
end
|
120
120
|
```
|
121
121
|
|
@@ -127,17 +127,17 @@ end
|
|
127
127
|
|
128
128
|
### Return type
|
129
129
|
|
130
|
-
[**
|
130
|
+
[**KvStoreDetails**](KvStoreDetails.md)
|
131
131
|
|
132
132
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
133
133
|
[[Back to README]](../../README.md)
|
134
|
-
## `
|
134
|
+
## `kv_store_list()`
|
135
135
|
|
136
136
|
```ruby
|
137
|
-
|
137
|
+
kv_store_list(opts): <InlineResponse2003> # List all KV stores.
|
138
138
|
```
|
139
139
|
|
140
|
-
|
140
|
+
List all KV stores.
|
141
141
|
|
142
142
|
### Examples
|
143
143
|
|
@@ -149,11 +149,11 @@ opts = {
|
|
149
149
|
}
|
150
150
|
|
151
151
|
begin
|
152
|
-
# List KV stores.
|
153
|
-
result = api_instance.
|
152
|
+
# List all KV stores.
|
153
|
+
result = api_instance.kv_store_list(opts)
|
154
154
|
p result
|
155
155
|
rescue Fastly::ApiError => e
|
156
|
-
puts "Error when calling KvStoreApi->
|
156
|
+
puts "Error when calling KvStoreApi->kv_store_list: #{e}"
|
157
157
|
end
|
158
158
|
```
|
159
159
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::KvStoreBatchResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **title** | **String** | A descriptor for the response of the entire batch | [optional] |
|
8
8
|
| **type** | **String** | If an error is present in any of the requests, this field will describe that error | [optional] |
|
9
|
-
| **errors** | [**Array<
|
9
|
+
| **errors** | [**Array<KvStoreBatchResponseErrors>**](KvStoreBatchResponseErrors.md) | Errors which occurred while handling the items in the request | [optional] |
|
10
10
|
|
11
11
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::KvStoreBatchResponseErrors
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **key** | **String** | The key that the error corresponds to. This field will be empty if the object or one of its fields was
|
8
|
-
| **index** | **Integer** | The line number of the
|
9
|
-
| **code** | **String** | The HTTP response code for the
|
7
|
+
| **key** | **String** | The key that the error corresponds to. This field will be empty if the object or one of its fields was not parseable. | [optional] |
|
8
|
+
| **index** | **Integer** | The line number of the batch request body on which the error occurred (starting from 0 for the first line). | [optional] |
|
9
|
+
| **code** | **String** | The HTTP response code for the item, or a 400 if the item's operation was not completed. | [optional] |
|
10
10
|
| **reason** | **String** | A descriptor of this particular item's error. | [optional] |
|
11
11
|
|
12
12
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
@@ -1,11 +1,11 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::KvStoreDetails
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | ID of the store. | [optional] |
|
8
|
-
| **name** | **String** |
|
8
|
+
| **name** | **String** | Name of the store. | [optional] |
|
9
9
|
|
10
10
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
11
|
|
data/docs/KvStoreItemApi.md
CHANGED
@@ -13,19 +13,19 @@ api_instance = Fastly::KvStoreItemApi.new
|
|
13
13
|
|
14
14
|
Method | HTTP request | Description
|
15
15
|
------ | ------------ | -----------
|
16
|
-
[**
|
17
|
-
[**
|
18
|
-
[**
|
19
|
-
[**
|
16
|
+
[**kv_store_delete_item**](KvStoreItemApi.md#kv_store_delete_item) | **DELETE** /resources/stores/kv/{store_id}/keys/{key} | Delete an item.
|
17
|
+
[**kv_store_get_item**](KvStoreItemApi.md#kv_store_get_item) | **GET** /resources/stores/kv/{store_id}/keys/{key} | Get an item.
|
18
|
+
[**kv_store_list_item_keys**](KvStoreItemApi.md#kv_store_list_item_keys) | **GET** /resources/stores/kv/{store_id}/keys | List item keys.
|
19
|
+
[**kv_store_upsert_item**](KvStoreItemApi.md#kv_store_upsert_item) | **PUT** /resources/stores/kv/{store_id}/keys/{key} | Insert or update an item.
|
20
20
|
|
21
21
|
|
22
|
-
## `
|
22
|
+
## `kv_store_delete_item()`
|
23
23
|
|
24
24
|
```ruby
|
25
|
-
|
25
|
+
kv_store_delete_item(opts) # Delete an item.
|
26
26
|
```
|
27
27
|
|
28
|
-
Delete an item
|
28
|
+
Delete an item.
|
29
29
|
|
30
30
|
### Examples
|
31
31
|
|
@@ -33,14 +33,16 @@ Delete an item from an kv store
|
|
33
33
|
api_instance = Fastly::KvStoreItemApi.new
|
34
34
|
opts = {
|
35
35
|
store_id: 'store_id_example', # String |
|
36
|
-
|
36
|
+
key: 'key_example', # String |
|
37
|
+
if_generation_match: 56, # Integer |
|
38
|
+
force: true, # Boolean |
|
37
39
|
}
|
38
40
|
|
39
41
|
begin
|
40
|
-
# Delete
|
41
|
-
api_instance.
|
42
|
+
# Delete an item.
|
43
|
+
api_instance.kv_store_delete_item(opts)
|
42
44
|
rescue Fastly::ApiError => e
|
43
|
-
puts "Error when calling KvStoreItemApi->
|
45
|
+
puts "Error when calling KvStoreItemApi->kv_store_delete_item: #{e}"
|
44
46
|
end
|
45
47
|
```
|
46
48
|
|
@@ -49,7 +51,9 @@ end
|
|
49
51
|
| Name | Type | Description | Notes |
|
50
52
|
| ---- | ---- | ----------- | ----- |
|
51
53
|
| **store_id** | **String** | | |
|
52
|
-
| **
|
54
|
+
| **key** | **String** | | |
|
55
|
+
| **if_generation_match** | **Integer** | | [optional] |
|
56
|
+
| **force** | **Boolean** | | [optional][default to false] |
|
53
57
|
|
54
58
|
### Return type
|
55
59
|
|
@@ -57,13 +61,13 @@ nil (empty response body)
|
|
57
61
|
|
58
62
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
59
63
|
[[Back to README]](../../README.md)
|
60
|
-
## `
|
64
|
+
## `kv_store_get_item()`
|
61
65
|
|
62
66
|
```ruby
|
63
|
-
|
67
|
+
kv_store_get_item(opts): File # Get an item.
|
64
68
|
```
|
65
69
|
|
66
|
-
|
70
|
+
Get an item, including its value, metadata (if any), and generation marker.
|
67
71
|
|
68
72
|
### Examples
|
69
73
|
|
@@ -71,17 +75,15 @@ List the keys of all items within an kv store.
|
|
71
75
|
api_instance = Fastly::KvStoreItemApi.new
|
72
76
|
opts = {
|
73
77
|
store_id: 'store_id_example', # String |
|
74
|
-
|
75
|
-
limit: 56, # Integer |
|
76
|
-
prefix: 'prefix_example', # String |
|
78
|
+
key: 'key_example', # String |
|
77
79
|
}
|
78
80
|
|
79
81
|
begin
|
80
|
-
#
|
81
|
-
result = api_instance.
|
82
|
+
# Get an item.
|
83
|
+
result = api_instance.kv_store_get_item(opts)
|
82
84
|
p result
|
83
85
|
rescue Fastly::ApiError => e
|
84
|
-
puts "Error when calling KvStoreItemApi->
|
86
|
+
puts "Error when calling KvStoreItemApi->kv_store_get_item: #{e}"
|
85
87
|
end
|
86
88
|
```
|
87
89
|
|
@@ -90,23 +92,21 @@ end
|
|
90
92
|
| Name | Type | Description | Notes |
|
91
93
|
| ---- | ---- | ----------- | ----- |
|
92
94
|
| **store_id** | **String** | | |
|
93
|
-
| **
|
94
|
-
| **limit** | **Integer** | | [optional][default to 100] |
|
95
|
-
| **prefix** | **String** | | [optional] |
|
95
|
+
| **key** | **String** | | |
|
96
96
|
|
97
97
|
### Return type
|
98
98
|
|
99
|
-
|
99
|
+
**File**
|
100
100
|
|
101
101
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
102
102
|
[[Back to README]](../../README.md)
|
103
|
-
## `
|
103
|
+
## `kv_store_list_item_keys()`
|
104
104
|
|
105
105
|
```ruby
|
106
|
-
|
106
|
+
kv_store_list_item_keys(opts): <InlineResponse2004> # List item keys.
|
107
107
|
```
|
108
108
|
|
109
|
-
|
109
|
+
Lists the matching item keys (or all item keys, if no prefix is supplied).
|
110
110
|
|
111
111
|
### Examples
|
112
112
|
|
@@ -114,15 +114,18 @@ Get the value associated with a key.
|
|
114
114
|
api_instance = Fastly::KvStoreItemApi.new
|
115
115
|
opts = {
|
116
116
|
store_id: 'store_id_example', # String |
|
117
|
-
|
117
|
+
cursor: 'cursor_example', # String |
|
118
|
+
limit: 56, # Integer |
|
119
|
+
prefix: 'prefix_example', # String |
|
120
|
+
consistency: 'strong', # String |
|
118
121
|
}
|
119
122
|
|
120
123
|
begin
|
121
|
-
#
|
122
|
-
result = api_instance.
|
124
|
+
# List item keys.
|
125
|
+
result = api_instance.kv_store_list_item_keys(opts)
|
123
126
|
p result
|
124
127
|
rescue Fastly::ApiError => e
|
125
|
-
puts "Error when calling KvStoreItemApi->
|
128
|
+
puts "Error when calling KvStoreItemApi->kv_store_list_item_keys: #{e}"
|
126
129
|
end
|
127
130
|
```
|
128
131
|
|
@@ -131,21 +134,24 @@ end
|
|
131
134
|
| Name | Type | Description | Notes |
|
132
135
|
| ---- | ---- | ----------- | ----- |
|
133
136
|
| **store_id** | **String** | | |
|
134
|
-
| **
|
137
|
+
| **cursor** | **String** | | [optional] |
|
138
|
+
| **limit** | **Integer** | | [optional][default to 100] |
|
139
|
+
| **prefix** | **String** | | [optional] |
|
140
|
+
| **consistency** | **String** | | [optional][default to 'strong'] |
|
135
141
|
|
136
142
|
### Return type
|
137
143
|
|
138
|
-
**
|
144
|
+
[**InlineResponse2004**](InlineResponse2004.md)
|
139
145
|
|
140
146
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
141
147
|
[[Back to README]](../../README.md)
|
142
|
-
## `
|
148
|
+
## `kv_store_upsert_item()`
|
143
149
|
|
144
150
|
```ruby
|
145
|
-
|
151
|
+
kv_store_upsert_item(opts) # Insert or update an item.
|
146
152
|
```
|
147
153
|
|
148
|
-
|
154
|
+
Inserts or updates an item's value and metadata.
|
149
155
|
|
150
156
|
### Examples
|
151
157
|
|
@@ -153,7 +159,7 @@ Set a new value for a new or existing key in an kv store.
|
|
153
159
|
api_instance = Fastly::KvStoreItemApi.new
|
154
160
|
opts = {
|
155
161
|
store_id: 'store_id_example', # String |
|
156
|
-
|
162
|
+
key: 'key_example', # String |
|
157
163
|
if_generation_match: 56, # Integer |
|
158
164
|
time_to_live_sec: 56, # Integer |
|
159
165
|
metadata: 'metadata_example', # String |
|
@@ -161,15 +167,14 @@ opts = {
|
|
161
167
|
append: true, # Boolean |
|
162
168
|
prepend: true, # Boolean |
|
163
169
|
background_fetch: true, # Boolean |
|
164
|
-
body: '
|
170
|
+
body: File.new('/path/to/some/file'), # File |
|
165
171
|
}
|
166
172
|
|
167
173
|
begin
|
168
|
-
# Insert
|
169
|
-
|
170
|
-
p result
|
174
|
+
# Insert or update an item.
|
175
|
+
api_instance.kv_store_upsert_item(opts)
|
171
176
|
rescue Fastly::ApiError => e
|
172
|
-
puts "Error when calling KvStoreItemApi->
|
177
|
+
puts "Error when calling KvStoreItemApi->kv_store_upsert_item: #{e}"
|
173
178
|
end
|
174
179
|
```
|
175
180
|
|
@@ -178,19 +183,19 @@ end
|
|
178
183
|
| Name | Type | Description | Notes |
|
179
184
|
| ---- | ---- | ----------- | ----- |
|
180
185
|
| **store_id** | **String** | | |
|
181
|
-
| **
|
186
|
+
| **key** | **String** | | |
|
182
187
|
| **if_generation_match** | **Integer** | | [optional] |
|
183
188
|
| **time_to_live_sec** | **Integer** | | [optional] |
|
184
189
|
| **metadata** | **String** | | [optional] |
|
185
|
-
| **add** | **Boolean** | | [optional] |
|
186
|
-
| **append** | **Boolean** | | [optional] |
|
187
|
-
| **prepend** | **Boolean** | | [optional] |
|
188
|
-
| **background_fetch** | **Boolean** | | [optional] |
|
189
|
-
| **body** | **
|
190
|
+
| **add** | **Boolean** | | [optional][default to false] |
|
191
|
+
| **append** | **Boolean** | | [optional][default to false] |
|
192
|
+
| **prepend** | **Boolean** | | [optional][default to false] |
|
193
|
+
| **background_fetch** | **Boolean** | | [optional][default to false] |
|
194
|
+
| **body** | **File** | | [optional] |
|
190
195
|
|
191
196
|
### Return type
|
192
197
|
|
193
|
-
|
198
|
+
nil (empty response body)
|
194
199
|
|
195
200
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
196
201
|
[[Back to README]](../../README.md)
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Fastly::KvStoreRequestCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | A human-readable name for the store. Refer to https://www.fastly.com/documentation/guides/concepts/edge-state/data-stores/#limitations-and-constraints for constraints on the KV store name. | |
|
8
|
+
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Fastly::KvStoreUpsertBatch
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **key** | **String** | The key of the item to be added, updated, retrieved, or deleted. | |
|
8
|
+
| **value** | **String** | Value for the item (in Base64 encoding). | |
|
9
|
+
| **time_to_live_sec** | **Integer** | Indicates that the item should be deleted after the specified number of seconds have elapsed. Deletion is not immediate but will occur within 24 hours of the requested expiration. | [optional] |
|
10
|
+
| **metadata** | **String** | An arbitrary data field which can contain up to 2000 bytes of data. | [optional] |
|
11
|
+
| **background_fetch** | **Boolean** | If set to true, the new value for the item will not be immediately visible to other users of the KV store; they will receive the existing (stale) value while the platform updates cached copies. Setting this to true ensures that other users of the KV store will receive responses to 'get' operations for this item quickly, although they will be slightly out of date. | [optional][default to false] |
|
12
|
+
|
13
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
14
|
+
|