fastly 13.1.0 → 15.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 (232) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +48 -0
  3. data/Gemfile.lock +4 -4
  4. data/README.md +26 -12
  5. data/docs/ApiDiscoveryResponseBodyGetAllServices.md +13 -0
  6. data/docs/ApiDiscoveryResponseCustomer.md +10 -0
  7. data/docs/{LogTimeseriesGetResponseMetaFilters.md → ApiDiscoveryResponseCustomerCustomer.md} +3 -2
  8. data/docs/ApiDiscoveryResponseEnable.md +12 -0
  9. data/docs/ApiDiscoveryResponseEnabledServices.md +10 -0
  10. data/docs/ApiDiscoveryResponseLinks.md +10 -0
  11. data/docs/ApiDiscoveryResponseLinksGetAllServices.md +10 -0
  12. data/docs/{LogTimeseriesResultDimensions.md → ApiDiscoveryResponseLinksGetAllServicesLinks.md} +2 -2
  13. data/docs/{DdosProtectionAction.md → ApiDiscoveryResponseLinksLinks.md} +2 -1
  14. data/docs/ApiDiscoveryResponseProduct.md +10 -0
  15. data/docs/ApiDiscoveryResponseProductProduct.md +11 -0
  16. data/docs/ApiDiscoveryResponseService.md +10 -0
  17. data/docs/{BotManagementResponseServiceService.md → ApiDiscoveryResponseServiceService.md} +1 -1
  18. data/docs/AttackReport.md +19 -0
  19. data/docs/AttackSignal.md +12 -0
  20. data/docs/AttackSource.md +13 -0
  21. data/docs/Backend.md +4 -4
  22. data/docs/BackendApi.md +10 -10
  23. data/docs/BackendResponse.md +4 -4
  24. data/docs/BotManagementResponseBodyEnable.md +1 -1
  25. data/docs/BotManagementResponseService.md +1 -1
  26. data/docs/BrotliCompressionResponseBodyEnable.md +1 -1
  27. data/docs/BrotliCompressionResponseService.md +1 -1
  28. data/docs/DdosProtectionApi.md +42 -0
  29. data/docs/DdosProtectionAttributeStats.md +1 -1
  30. data/docs/DdosProtectionInvalidRequest.md +13 -0
  31. data/docs/DdosProtectionNotAuthorized.md +11 -0
  32. data/docs/DdosProtectionResponseConfigure.md +1 -1
  33. data/docs/DdosProtectionResponseEnable.md +1 -1
  34. data/docs/DdosProtectionResponseService.md +1 -1
  35. data/docs/DdosProtectionRule.md +1 -1
  36. data/docs/DdosProtectionRuleAllOf.md +1 -1
  37. data/docs/DdosProtectionRulePatch.md +10 -0
  38. data/docs/DdosProtectionRuleWithStats.md +23 -0
  39. data/docs/DdosProtectionRuleWithStatsAllOf.md +10 -0
  40. data/docs/DdosProtectionTrafficStats.md +1 -0
  41. data/docs/DdosProtectionTrafficStatsAllOf.md +1 -0
  42. data/docs/DmDomainsApi.md +220 -0
  43. data/docs/DomainInspectorResponseBodyEnable.md +1 -1
  44. data/docs/DomainInspectorResponseService.md +1 -1
  45. data/docs/DomainOwnershipsApi.md +2 -2
  46. data/docs/FanoutResponseBodyEnable.md +1 -1
  47. data/docs/FanoutResponseService.md +1 -1
  48. data/docs/Healthcheck.md +1 -1
  49. data/docs/HealthcheckApi.md +4 -4
  50. data/docs/HealthcheckResponse.md +1 -1
  51. data/docs/HistoricalApi.md +2 -0
  52. data/docs/IamRolesApi.md +23 -253
  53. data/docs/IamV1RoleListResponse.md +12 -0
  54. data/docs/IamV1RoleResponse.md +13 -0
  55. data/docs/ImageOptimizerResponseBodyEnable.md +1 -1
  56. data/docs/ImageOptimizerResponseService.md +1 -1
  57. data/docs/InlineResponse20010.md +10 -0
  58. data/docs/InlineResponse2003.md +2 -2
  59. data/docs/InlineResponse2004.md +2 -1
  60. data/docs/InlineResponse2005.md +1 -2
  61. data/docs/InlineResponse2006.md +1 -1
  62. data/docs/InlineResponse2007.md +1 -1
  63. data/docs/InlineResponse2008.md +1 -1
  64. data/docs/InlineResponse2009.md +2 -1
  65. data/docs/InvitationDataAttributes.md +1 -0
  66. data/docs/KvStoreApi.md +4 -2
  67. data/docs/KvStoreItemApi.md +2 -2
  68. data/docs/ListAttackReport.md +11 -0
  69. data/docs/ListAttackReportMeta.md +10 -0
  70. data/docs/{DdosProtectionTrafficAttribute.md → ListSignalReport.md} +2 -1
  71. data/docs/LogExplorerApi.md +1 -1
  72. data/docs/LogExplorerInsightsResponseBodyEnable.md +1 -1
  73. data/docs/LogExplorerInsightsResponseService.md +1 -1
  74. data/docs/LoggingHttpsAdditional.md +1 -0
  75. data/docs/LoggingHttpsApi.md +4 -0
  76. data/docs/LoggingHttpsResponse.md +1 -0
  77. data/docs/NgwafReportsApi.md +99 -0
  78. data/docs/NgwafResponseConfigure.md +1 -1
  79. data/docs/NgwafResponseEnable.md +1 -1
  80. data/docs/NgwafResponseService.md +1 -1
  81. data/docs/ObservabilityTimeseriesApi.md +67 -0
  82. data/docs/OriginInspectorResponseBodyEnable.md +1 -1
  83. data/docs/OriginInspectorResponseService.md +1 -1
  84. data/docs/PoolApi.md +4 -4
  85. data/docs/PoolResponse.md +1 -1
  86. data/docs/PoolResponseCommon.md +1 -1
  87. data/docs/PoolResponsePost.md +1 -1
  88. data/docs/ProductApiDiscoveryApi.md +163 -0
  89. data/docs/RealtimeEntryAggregated.md +1 -0
  90. data/docs/RealtimeMeasurements.md +1 -0
  91. data/docs/RequestBodyForCreate.md +12 -0
  92. data/docs/RequestBodyForUpdate.md +11 -0
  93. data/docs/Results.md +1 -0
  94. data/docs/SchemasUserResponse.md +1 -0
  95. data/docs/SecretStoreApi.md +2 -2
  96. data/docs/SecretStoreItemApi.md +2 -2
  97. data/docs/ServiceAuthorizationsApi.md +2 -2
  98. data/docs/SignalReport.md +13 -0
  99. data/docs/SuccessfulResponseAsObject.md +17 -0
  100. data/docs/SuccessfulResponseAsObjectAllOf.md +15 -0
  101. data/docs/TimeseriesGetResponse.md +11 -0
  102. data/docs/TimeseriesMeta.md +13 -0
  103. data/docs/TimeseriesResult.md +11 -0
  104. data/docs/TlsSubscriptionsApi.md +0 -2
  105. data/docs/TopWorkspace.md +12 -0
  106. data/docs/User.md +1 -0
  107. data/docs/UserApi.md +4 -0
  108. data/docs/UserResponse.md +1 -0
  109. data/docs/WebsocketsResponseBodyEnable.md +1 -1
  110. data/docs/WebsocketsResponseService.md +1 -1
  111. data/lib/fastly/api/backend_api.rb +16 -16
  112. data/lib/fastly/api/ddos_protection_api.rb +73 -0
  113. data/lib/fastly/api/dm_domains_api.rb +362 -0
  114. data/lib/fastly/api/domain_ownerships_api.rb +3 -3
  115. data/lib/fastly/api/healthcheck_api.rb +20 -4
  116. data/lib/fastly/api/historical_api.rb +3 -0
  117. data/lib/fastly/api/iam_roles_api.rb +43 -435
  118. data/lib/fastly/api/kv_store_api.rb +6 -3
  119. data/lib/fastly/api/kv_store_item_api.rb +3 -3
  120. data/lib/fastly/api/logging_https_api.rb +6 -0
  121. data/lib/fastly/api/ngwaf_reports_api.rb +161 -0
  122. data/lib/fastly/api/{observability_timeseries_for_logs_api.rb → observability_timeseries_api.rb} +38 -43
  123. data/lib/fastly/api/pool_api.rb +4 -4
  124. data/lib/fastly/api/product_api_discovery_api.rb +263 -0
  125. data/lib/fastly/api/secret_store_api.rb +3 -3
  126. data/lib/fastly/api/secret_store_item_api.rb +3 -3
  127. data/lib/fastly/api/service_authorizations_api.rb +3 -3
  128. data/lib/fastly/api/tls_subscriptions_api.rb +0 -3
  129. data/lib/fastly/api/user_api.rb +6 -0
  130. data/lib/fastly/configuration.rb +75 -39
  131. data/lib/fastly/models/api_discovery_response_body_get_all_services.rb +256 -0
  132. data/lib/fastly/models/api_discovery_response_customer.rb +216 -0
  133. data/lib/fastly/models/api_discovery_response_customer_customer.rb +227 -0
  134. data/lib/fastly/models/api_discovery_response_enable.rb +243 -0
  135. data/lib/fastly/models/{log_timeseries_get_response_meta_filters.rb → api_discovery_response_enabled_services.rb} +12 -13
  136. data/lib/fastly/models/api_discovery_response_links.rb +216 -0
  137. data/lib/fastly/models/api_discovery_response_links_get_all_services.rb +216 -0
  138. data/lib/fastly/models/api_discovery_response_links_get_all_services_links.rb +217 -0
  139. data/lib/fastly/models/api_discovery_response_links_links.rb +217 -0
  140. data/lib/fastly/models/api_discovery_response_product.rb +216 -0
  141. data/lib/fastly/models/api_discovery_response_product_product.rb +227 -0
  142. data/lib/fastly/models/api_discovery_response_service.rb +216 -0
  143. data/lib/fastly/models/{bot_management_response_service_service.rb → api_discovery_response_service_service.rb} +3 -3
  144. data/lib/fastly/models/attack_report.rb +359 -0
  145. data/lib/fastly/models/attack_signal.rb +252 -0
  146. data/lib/fastly/models/attack_source.rb +267 -0
  147. data/lib/fastly/models/backend.rb +7 -1
  148. data/lib/fastly/models/backend_response.rb +7 -1
  149. data/lib/fastly/models/bot_management_response_body_enable.rb +1 -1
  150. data/lib/fastly/models/bot_management_response_service.rb +1 -1
  151. data/lib/fastly/models/brotli_compression_response_body_enable.rb +1 -1
  152. data/lib/fastly/models/brotli_compression_response_service.rb +1 -1
  153. data/lib/fastly/models/ddos_protection_attribute_stats.rb +2 -1
  154. data/lib/fastly/models/ddos_protection_invalid_request.rb +309 -0
  155. data/lib/fastly/models/{log_timeseries_filter_field_item.rb → ddos_protection_not_authorized.rb} +24 -36
  156. data/lib/fastly/models/ddos_protection_response_configure.rb +1 -1
  157. data/lib/fastly/models/ddos_protection_response_enable.rb +1 -1
  158. data/lib/fastly/models/ddos_protection_response_service.rb +1 -1
  159. data/lib/fastly/models/ddos_protection_rule.rb +2 -1
  160. data/lib/fastly/models/ddos_protection_rule_all_of.rb +2 -1
  161. data/lib/fastly/models/ddos_protection_rule_patch.rb +219 -0
  162. data/lib/fastly/models/ddos_protection_rule_with_stats.rb +365 -0
  163. data/lib/fastly/models/ddos_protection_rule_with_stats_all_of.rb +216 -0
  164. data/lib/fastly/models/ddos_protection_traffic_stats.rb +20 -4
  165. data/lib/fastly/models/ddos_protection_traffic_stats_all_of.rb +20 -4
  166. data/lib/fastly/models/domain_inspector_response_body_enable.rb +1 -1
  167. data/lib/fastly/models/domain_inspector_response_service.rb +1 -1
  168. data/lib/fastly/models/fanout_response_body_enable.rb +1 -1
  169. data/lib/fastly/models/fanout_response_service.rb +1 -1
  170. data/lib/fastly/models/healthcheck.rb +25 -1
  171. data/lib/fastly/models/healthcheck_response.rb +25 -1
  172. data/lib/fastly/models/iam_v1_role_list_response.rb +240 -0
  173. data/lib/fastly/models/{iam_role_all_of.rb → iam_v1_role_response.rb} +14 -34
  174. data/lib/fastly/models/image_optimizer_response_body_enable.rb +1 -1
  175. data/lib/fastly/models/image_optimizer_response_service.rb +1 -1
  176. data/lib/fastly/models/inline_response20010.rb +218 -0
  177. data/lib/fastly/models/inline_response2003.rb +11 -1
  178. data/lib/fastly/models/inline_response2004.rb +20 -8
  179. data/lib/fastly/models/inline_response2005.rb +8 -18
  180. data/lib/fastly/models/inline_response2006.rb +1 -1
  181. data/lib/fastly/models/inline_response2007.rb +1 -1
  182. data/lib/fastly/models/inline_response2008.rb +1 -1
  183. data/lib/fastly/models/inline_response2009.rb +13 -4
  184. data/lib/fastly/models/invitation_data_attributes.rb +12 -1
  185. data/lib/fastly/models/{log_timeseries_get_response.rb → list_attack_report.rb} +5 -5
  186. data/lib/fastly/models/list_attack_report_meta.rb +218 -0
  187. data/lib/fastly/models/{log_timeseries_result_dimensions.rb → list_signal_report.rb} +12 -10
  188. data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +1 -1
  189. data/lib/fastly/models/log_explorer_insights_response_service.rb +1 -1
  190. data/lib/fastly/models/logging_https_additional.rb +16 -4
  191. data/lib/fastly/models/logging_https_response.rb +13 -1
  192. data/lib/fastly/models/ngwaf_response_configure.rb +1 -1
  193. data/lib/fastly/models/ngwaf_response_enable.rb +1 -1
  194. data/lib/fastly/models/ngwaf_response_service.rb +1 -1
  195. data/lib/fastly/models/origin_inspector_response_body_enable.rb +1 -1
  196. data/lib/fastly/models/origin_inspector_response_service.rb +1 -1
  197. data/lib/fastly/models/pool_response.rb +1 -1
  198. data/lib/fastly/models/pool_response_common.rb +1 -1
  199. data/lib/fastly/models/pool_response_post.rb +1 -1
  200. data/lib/fastly/models/realtime_entry_aggregated.rb +14 -4
  201. data/lib/fastly/models/realtime_measurements.rb +14 -4
  202. data/lib/fastly/models/request_body_for_create.rb +244 -0
  203. data/lib/fastly/models/request_body_for_update.rb +229 -0
  204. data/lib/fastly/models/results.rb +11 -1
  205. data/lib/fastly/models/role_user.rb +2 -0
  206. data/lib/fastly/models/schemas_user_response.rb +13 -1
  207. data/lib/fastly/models/signal_report.rb +249 -0
  208. data/lib/fastly/models/{iam_role.rb → successful_response_as_object.rb} +37 -35
  209. data/lib/fastly/models/successful_response_as_object_all_of.rb +268 -0
  210. data/lib/fastly/models/timeseries_get_response.rb +227 -0
  211. data/lib/fastly/models/{log_timeseries_get_response_meta.rb → timeseries_meta.rb} +23 -32
  212. data/lib/fastly/models/{log_timeseries_result.rb → timeseries_result.rb} +9 -5
  213. data/lib/fastly/models/top_workspace.rb +238 -0
  214. data/lib/fastly/models/user.rb +13 -1
  215. data/lib/fastly/models/user_response.rb +13 -1
  216. data/lib/fastly/models/websockets_response_body_enable.rb +1 -1
  217. data/lib/fastly/models/websockets_response_service.rb +1 -1
  218. data/lib/fastly/version.rb +1 -1
  219. data/lib/fastly.rb +40 -13
  220. data/sig.json +1 -1
  221. metadata +82 -28
  222. data/docs/IamRole.md +0 -17
  223. data/docs/IamRoleAllOf.md +0 -15
  224. data/docs/LogTimeseriesFilterFieldItem.md +0 -12
  225. data/docs/LogTimeseriesGetResponse.md +0 -11
  226. data/docs/LogTimeseriesGetResponseMeta.md +0 -14
  227. data/docs/LogTimeseriesResult.md +0 -11
  228. data/docs/LogTimeseriesValueField.md +0 -59
  229. data/docs/ObservabilityTimeseriesForLogsApi.md +0 -67
  230. data/lib/fastly/models/ddos_protection_action.rb +0 -37
  231. data/lib/fastly/models/ddos_protection_traffic_attribute.rb +0 -40
  232. data/lib/fastly/models/log_timeseries_value_field.rb +0 -108
data/docs/IamRolesApi.md CHANGED
@@ -13,39 +13,33 @@ api_instance = Fastly::IamRolesApi.new
13
13
 
14
14
  Method | HTTP request | Description
15
15
  ------ | ------------ | -----------
16
- [**add_role_permissions**](IamRolesApi.md#add_role_permissions) | **POST** /roles/{role_id}/permissions | Add permissions to a role
17
- [**create_a_role**](IamRolesApi.md#create_a_role) | **POST** /roles | Create a role
18
- [**delete_a_role**](IamRolesApi.md#delete_a_role) | **DELETE** /roles/{role_id} | Delete a role
19
- [**get_a_role**](IamRolesApi.md#get_a_role) | **GET** /roles/{role_id} | Get a role
20
- [**list_role_permissions**](IamRolesApi.md#list_role_permissions) | **GET** /roles/{role_id}/permissions | List permissions in a role
21
- [**list_roles**](IamRolesApi.md#list_roles) | **GET** /roles | List roles
22
- [**remove_role_permissions**](IamRolesApi.md#remove_role_permissions) | **DELETE** /roles/{role_id}/permissions | Remove permissions from a role
23
- [**update_a_role**](IamRolesApi.md#update_a_role) | **PATCH** /roles/{role_id} | Update a role
16
+ [**iam_v1_roles_get**](IamRolesApi.md#iam_v1_roles_get) | **GET** /iam/v1/roles/{role_id} | Get IAM role by ID
17
+ [**iam_v1_roles_list**](IamRolesApi.md#iam_v1_roles_list) | **GET** /iam/v1/roles | List IAM roles
24
18
 
25
19
 
26
- ## `add_role_permissions()`
20
+ ## `iam_v1_roles_get()`
27
21
 
28
22
  ```ruby
29
- add_role_permissions(opts): Object # Add permissions to a role
23
+ iam_v1_roles_get(opts): <IamV1RoleResponse> # Get IAM role by ID
30
24
  ```
31
25
 
32
- Add permissions to a role.
26
+ Retrieve a single IAM role by its unique identifier.
33
27
 
34
28
  ### Examples
35
29
 
36
30
  ```ruby
37
31
  api_instance = Fastly::IamRolesApi.new
38
32
  opts = {
39
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
40
- request_body: { key: 3.56}, # Hash<String, Object> |
33
+ role_id: 'Q4rXe9vN1szK8a2fUjYtWp', # String | Alphanumeric string identifying the role.
34
+ include: 'permissions', # String | Include related data (i.e., permissions).
41
35
  }
42
36
 
43
37
  begin
44
- # Add permissions to a role
45
- result = api_instance.add_role_permissions(opts)
38
+ # Get IAM role by ID
39
+ result = api_instance.iam_v1_roles_get(opts)
46
40
  p result
47
41
  rescue Fastly::ApiError => e
48
- puts "Error when calling IamRolesApi->add_role_permissions: #{e}"
42
+ puts "Error when calling IamRolesApi->iam_v1_roles_get: #{e}"
49
43
  end
50
44
  ```
51
45
 
@@ -54,36 +48,37 @@ end
54
48
  | Name | Type | Description | Notes |
55
49
  | ---- | ---- | ----------- | ----- |
56
50
  | **role_id** | **String** | Alphanumeric string identifying the role. | |
57
- | **request_body** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
51
+ | **include** | **String** | Include related data (i.e., permissions). | [optional] |
58
52
 
59
53
  ### Return type
60
54
 
61
- **Object**
55
+ [**IamV1RoleResponse**](IamV1RoleResponse.md)
62
56
 
63
57
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
64
58
  [[Back to README]](../../README.md)
65
- ## `create_a_role()`
59
+ ## `iam_v1_roles_list()`
66
60
 
67
61
  ```ruby
68
- create_a_role(opts): Object # Create a role
62
+ iam_v1_roles_list(opts): <IamV1RoleListResponse> # List IAM roles
69
63
  ```
70
64
 
71
- Create a role.
65
+ Retrieve a paginated list of IAM roles available in the account.
72
66
 
73
67
  ### Examples
74
68
 
75
69
  ```ruby
76
70
  api_instance = Fastly::IamRolesApi.new
77
71
  opts = {
78
- request_body: { key: 3.56}, # Hash<String, Object> |
72
+ limit: 56, # Integer | Number of results per page. The maximum is 1000.
73
+ cursor: 'cursor_example', # String | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
79
74
  }
80
75
 
81
76
  begin
82
- # Create a role
83
- result = api_instance.create_a_role(opts)
77
+ # List IAM roles
78
+ result = api_instance.iam_v1_roles_list(opts)
84
79
  p result
85
80
  rescue Fastly::ApiError => e
86
- puts "Error when calling IamRolesApi->create_a_role: #{e}"
81
+ puts "Error when calling IamRolesApi->iam_v1_roles_list: #{e}"
87
82
  end
88
83
  ```
89
84
 
@@ -91,237 +86,12 @@ end
91
86
 
92
87
  | Name | Type | Description | Notes |
93
88
  | ---- | ---- | ----------- | ----- |
94
- | **request_body** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
89
+ | **limit** | **Integer** | Number of results per page. The maximum is 1000. | [optional][default to 100] |
90
+ | **cursor** | **String** | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty. | [optional] |
95
91
 
96
92
  ### Return type
97
93
 
98
- **Object**
99
-
100
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
101
- [[Back to README]](../../README.md)
102
- ## `delete_a_role()`
103
-
104
- ```ruby
105
- delete_a_role(opts) # Delete a role
106
- ```
107
-
108
- Delete a role.
109
-
110
- ### Examples
111
-
112
- ```ruby
113
- api_instance = Fastly::IamRolesApi.new
114
- opts = {
115
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
116
- }
117
-
118
- begin
119
- # Delete a role
120
- api_instance.delete_a_role(opts)
121
- rescue Fastly::ApiError => e
122
- puts "Error when calling IamRolesApi->delete_a_role: #{e}"
123
- end
124
- ```
125
-
126
- ### Options
127
-
128
- | Name | Type | Description | Notes |
129
- | ---- | ---- | ----------- | ----- |
130
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
131
-
132
- ### Return type
133
-
134
- nil (empty response body)
135
-
136
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
137
- [[Back to README]](../../README.md)
138
- ## `get_a_role()`
139
-
140
- ```ruby
141
- get_a_role(opts): Object # Get a role
142
- ```
143
-
144
- Get a role.
145
-
146
- ### Examples
147
-
148
- ```ruby
149
- api_instance = Fastly::IamRolesApi.new
150
- opts = {
151
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
152
- }
153
-
154
- begin
155
- # Get a role
156
- result = api_instance.get_a_role(opts)
157
- p result
158
- rescue Fastly::ApiError => e
159
- puts "Error when calling IamRolesApi->get_a_role: #{e}"
160
- end
161
- ```
162
-
163
- ### Options
164
-
165
- | Name | Type | Description | Notes |
166
- | ---- | ---- | ----------- | ----- |
167
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
168
-
169
- ### Return type
170
-
171
- **Object**
172
-
173
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
174
- [[Back to README]](../../README.md)
175
- ## `list_role_permissions()`
176
-
177
- ```ruby
178
- list_role_permissions(opts): Object # List permissions in a role
179
- ```
180
-
181
- List all permissions in a role.
182
-
183
- ### Examples
184
-
185
- ```ruby
186
- api_instance = Fastly::IamRolesApi.new
187
- opts = {
188
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
189
- }
190
-
191
- begin
192
- # List permissions in a role
193
- result = api_instance.list_role_permissions(opts)
194
- p result
195
- rescue Fastly::ApiError => e
196
- puts "Error when calling IamRolesApi->list_role_permissions: #{e}"
197
- end
198
- ```
199
-
200
- ### Options
201
-
202
- | Name | Type | Description | Notes |
203
- | ---- | ---- | ----------- | ----- |
204
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
205
-
206
- ### Return type
207
-
208
- **Object**
209
-
210
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
211
- [[Back to README]](../../README.md)
212
- ## `list_roles()`
213
-
214
- ```ruby
215
- list_roles(opts): Object # List roles
216
- ```
217
-
218
- List all roles.
219
-
220
- ### Examples
221
-
222
- ```ruby
223
- api_instance = Fastly::IamRolesApi.new
224
- opts = {
225
- per_page: 20, # Integer | Number of records per page.
226
- page: 1, # Integer | Current page.
227
- }
228
-
229
- begin
230
- # List roles
231
- result = api_instance.list_roles(opts)
232
- p result
233
- rescue Fastly::ApiError => e
234
- puts "Error when calling IamRolesApi->list_roles: #{e}"
235
- end
236
- ```
237
-
238
- ### Options
239
-
240
- | Name | Type | Description | Notes |
241
- | ---- | ---- | ----------- | ----- |
242
- | **per_page** | **Integer** | Number of records per page. | [optional][default to 20] |
243
- | **page** | **Integer** | Current page. | [optional] |
244
-
245
- ### Return type
246
-
247
- **Object**
248
-
249
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
250
- [[Back to README]](../../README.md)
251
- ## `remove_role_permissions()`
252
-
253
- ```ruby
254
- remove_role_permissions(opts) # Remove permissions from a role
255
- ```
256
-
257
- Remove permissions from a role.
258
-
259
- ### Examples
260
-
261
- ```ruby
262
- api_instance = Fastly::IamRolesApi.new
263
- opts = {
264
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
265
- request_body: { key: 3.56}, # Hash<String, Object> |
266
- }
267
-
268
- begin
269
- # Remove permissions from a role
270
- api_instance.remove_role_permissions(opts)
271
- rescue Fastly::ApiError => e
272
- puts "Error when calling IamRolesApi->remove_role_permissions: #{e}"
273
- end
274
- ```
275
-
276
- ### Options
277
-
278
- | Name | Type | Description | Notes |
279
- | ---- | ---- | ----------- | ----- |
280
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
281
- | **request_body** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
282
-
283
- ### Return type
284
-
285
- nil (empty response body)
286
-
287
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
288
- [[Back to README]](../../README.md)
289
- ## `update_a_role()`
290
-
291
- ```ruby
292
- update_a_role(opts): Object # Update a role
293
- ```
294
-
295
- Update a role.
296
-
297
- ### Examples
298
-
299
- ```ruby
300
- api_instance = Fastly::IamRolesApi.new
301
- opts = {
302
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
303
- request_body: { key: 3.56}, # Hash<String, Object> |
304
- }
305
-
306
- begin
307
- # Update a role
308
- result = api_instance.update_a_role(opts)
309
- p result
310
- rescue Fastly::ApiError => e
311
- puts "Error when calling IamRolesApi->update_a_role: #{e}"
312
- end
313
- ```
314
-
315
- ### Options
316
-
317
- | Name | Type | Description | Notes |
318
- | ---- | ---- | ----------- | ----- |
319
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
320
- | **request_body** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
321
-
322
- ### Return type
323
-
324
- **Object**
94
+ [**IamV1RoleListResponse**](IamV1RoleListResponse.md)
325
95
 
326
96
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
327
97
  [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
1
+ # Fastly::IamV1RoleListResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **limit** | **Integer** | Maximum number of results returned. | [optional] |
8
+ | **next_cursor** | **String** | Cursor for the next page. | [optional] |
9
+ | **data** | [**Array&lt;IamV1RoleResponse&gt;**](IamV1RoleResponse.md) | Page of IAM roles (length ≤ limit). | [optional] |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
@@ -0,0 +1,13 @@
1
+ # Fastly::IamV1RoleResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **description** | **String** | | [optional] |
10
+ | **permissions** | **Array&lt;String&gt;** | The set of permissions granted to this role. | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **product** | [**ImageOptimizerResponseProductProduct**](ImageOptimizerResponseProductProduct.md) | | [optional] |
8
- | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
8
+ | **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
9
9
  | **_links** | [**ImageOptimizerResponseLinksLinks**](ImageOptimizerResponseLinksLinks.md) | | [optional] |
10
10
 
11
11
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
7
+ | **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
8
8
 
9
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
10
 
@@ -0,0 +1,10 @@
1
+ # Fastly::InlineResponse20010
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;ServiceAuthorizationResponseData&gt;**](ServiceAuthorizationResponseData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;DdosProtectionRule&gt;**](DdosProtectionRule.md) | | [optional] |
8
- | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
7
+ | **data** | [**Array&lt;DdosProtectionRuleWithStats&gt;**](DdosProtectionRuleWithStats.md) | | |
8
+ | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | |
9
9
 
10
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
11
 
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **expires_at** | **String** | Time-stamp (GMT) when the domain_ownership validation will expire. | [optional][readonly] |
7
+ | **data** | [**Array&lt;SuccessfulResponseAsObject&gt;**](SuccessfulResponseAsObject.md) | | [optional] |
8
+ | **meta** | **Object** | Meta for the pagination. | [optional] |
8
9
 
9
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
11
 
@@ -4,8 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;KvStoreDetails&gt;**](KvStoreDetails.md) | | [optional] |
8
- | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
7
+ | **expires_at** | **String** | Time-stamp (GMT) when the domain_ownership validation will expire. | [optional][readonly] |
9
8
 
10
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | **Array&lt;String&gt;** | | [optional] |
7
+ | **data** | [**Array&lt;KvStoreDetails&gt;**](KvStoreDetails.md) | | [optional] |
8
8
  | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
9
9
 
10
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;SecretStoreResponse&gt;**](SecretStoreResponse.md) | | [optional] |
7
+ | **data** | **Array&lt;String&gt;** | | [optional] |
8
8
  | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
9
9
 
10
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;SecretResponse&gt;**](SecretResponse.md) | | [optional] |
7
+ | **data** | [**Array&lt;SecretStoreResponse&gt;**](SecretStoreResponse.md) | | [optional] |
8
8
  | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
9
9
 
10
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;ServiceAuthorizationResponseData&gt;**](ServiceAuthorizationResponseData.md) | | [optional] |
7
+ | **data** | [**Array&lt;SecretResponse&gt;**](SecretResponse.md) | | [optional] |
8
+ | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
8
9
 
9
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
11
 
@@ -7,6 +7,7 @@
7
7
  | **email** | **String** | The email address of the invitee. | [optional] |
8
8
  | **limit_services** | **Boolean** | Indicates the user has limited access to the customer&#39;s services. | [optional] |
9
9
  | **role** | [**RoleUser**](RoleUser.md) | | [optional] |
10
+ | **roles** | **Array&lt;String&gt;** | | [optional] |
10
11
  | **status_code** | **Integer** | Indicates whether or not the invitation is active. | [optional] |
11
12
 
12
13
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
data/docs/KvStoreApi.md CHANGED
@@ -134,7 +134,7 @@ end
134
134
  ## `kv_store_list()`
135
135
 
136
136
  ```ruby
137
- kv_store_list(opts): <InlineResponse2005> # List all KV stores.
137
+ kv_store_list(opts): <InlineResponse2006> # List all KV stores.
138
138
  ```
139
139
 
140
140
  List all KV stores.
@@ -146,6 +146,7 @@ api_instance = Fastly::KvStoreApi.new
146
146
  opts = {
147
147
  cursor: 'cursor_example', # String |
148
148
  limit: 56, # Integer |
149
+ name: 'name_example', # String | Returns a one-element array containing the details for the named KV store.
149
150
  }
150
151
 
151
152
  begin
@@ -163,10 +164,11 @@ end
163
164
  | ---- | ---- | ----------- | ----- |
164
165
  | **cursor** | **String** | | [optional] |
165
166
  | **limit** | **Integer** | | [optional][default to 1000] |
167
+ | **name** | **String** | Returns a one-element array containing the details for the named KV store. | [optional] |
166
168
 
167
169
  ### Return type
168
170
 
169
- [**InlineResponse2005**](InlineResponse2005.md)
171
+ [**InlineResponse2006**](InlineResponse2006.md)
170
172
 
171
173
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
172
174
  [[Back to README]](../../README.md)
@@ -103,7 +103,7 @@ end
103
103
  ## `kv_store_list_item_keys()`
104
104
 
105
105
  ```ruby
106
- kv_store_list_item_keys(opts): <InlineResponse2006> # List item keys.
106
+ kv_store_list_item_keys(opts): <InlineResponse2007> # List item keys.
107
107
  ```
108
108
 
109
109
  Lists the matching item keys (or all item keys, if no prefix is supplied).
@@ -141,7 +141,7 @@ end
141
141
 
142
142
  ### Return type
143
143
 
144
- [**InlineResponse2006**](InlineResponse2006.md)
144
+ [**InlineResponse2007**](InlineResponse2007.md)
145
145
 
146
146
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
147
147
  [[Back to README]](../../README.md)
@@ -0,0 +1,11 @@
1
+ # Fastly::ListAttackReport
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;AttackReport&gt;**](AttackReport.md) | | [optional] |
8
+ | **meta** | [**ListAttackReportMeta**](ListAttackReportMeta.md) | | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,10 @@
1
+ # Fastly::ListAttackReportMeta
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **total** | **Integer** | The count of attack reports matching the filter. | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -1,9 +1,10 @@
1
- # Fastly::DdosProtectionTrafficAttribute
1
+ # Fastly::ListSignalReport
2
2
 
3
3
  ## Properties
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;SignalReport&gt;**](SignalReport.md) | | [optional] |
7
8
 
8
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
9
10
 
@@ -29,7 +29,7 @@ Retrieves log records.
29
29
  ```ruby
30
30
  api_instance = Fastly::LogExplorerApi.new
31
31
  opts = {
32
- service_id: 'service_id_example', # String |
32
+ service_id: '1jlmtMz1ncwA0KC3TBGD0X', # String |
33
33
  start: 'start_example', # String |
34
34
  _end: '_end_example', # String |
35
35
  limit: 8.14, # Float |
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **product** | [**LogExplorerInsightsResponseProductProduct**](LogExplorerInsightsResponseProductProduct.md) | | [optional] |
8
- | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
8
+ | **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
9
9
  | **_links** | [**LogExplorerInsightsResponseLinksLinks**](LogExplorerInsightsResponseLinksLinks.md) | | [optional] |
10
10
 
11
11
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
7
+ | **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
8
8
 
9
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
10
 
@@ -14,6 +14,7 @@
14
14
  | **method** | **String** | HTTP method used for request. | [optional][default to &#39;POST&#39;] |
15
15
  | **json_format** | **String** | Enforces valid JSON formatting for log entries. | [optional] |
16
16
  | **format** | **String** | A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). | [optional][default to &#39;%h %l %u %t \&quot;%r\&quot; %&amp;gt;s %b&#39;] |
17
+ | **period** | **Integer** | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds. | [optional][default to 5] |
17
18
 
18
19
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
19
20
 
@@ -54,6 +54,7 @@ opts = {
54
54
  header_value: 'header_value_example', # String | Value of the custom header sent with the request.
55
55
  method: 'POST', # String | HTTP method used for request.
56
56
  json_format: '0', # String | Enforces valid JSON formatting for log entries.
57
+ period: 56, # Integer | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds.
57
58
  }
58
59
 
59
60
  begin
@@ -90,6 +91,7 @@ end
90
91
  | **header_value** | **String** | Value of the custom header sent with the request. | [optional][default to &#39;null&#39;] |
91
92
  | **method** | **String** | HTTP method used for request. | [optional][default to &#39;POST&#39;] |
92
93
  | **json_format** | **String** | Enforces valid JSON formatting for log entries. | [optional] |
94
+ | **period** | **Integer** | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds. | [optional][default to 5] |
93
95
 
94
96
  ### Return type
95
97
 
@@ -253,6 +255,7 @@ opts = {
253
255
  header_value: 'header_value_example', # String | Value of the custom header sent with the request.
254
256
  method: 'POST', # String | HTTP method used for request.
255
257
  json_format: '0', # String | Enforces valid JSON formatting for log entries.
258
+ period: 56, # Integer | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds.
256
259
  }
257
260
 
258
261
  begin
@@ -290,6 +293,7 @@ end
290
293
  | **header_value** | **String** | Value of the custom header sent with the request. | [optional][default to &#39;null&#39;] |
291
294
  | **method** | **String** | HTTP method used for request. | [optional][default to &#39;POST&#39;] |
292
295
  | **json_format** | **String** | Enforces valid JSON formatting for log entries. | [optional] |
296
+ | **period** | **Integer** | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds. | [optional][default to 5] |
293
297
 
294
298
  ### Return type
295
299
 
@@ -23,6 +23,7 @@
23
23
  | **header_value** | **String** | Value of the custom header sent with the request. | [optional][default to &#39;null&#39;] |
24
24
  | **method** | **String** | HTTP method used for request. | [optional][default to &#39;POST&#39;] |
25
25
  | **json_format** | **String** | Enforces valid JSON formatting for log entries. | [optional] |
26
+ | **period** | **Integer** | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds. | [optional][default to 5] |
26
27
  | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
27
28
  | **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
28
29
  | **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |