datadog_api_client 2.16.0 → 2.18.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 (292) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +799 -16
  4. data/.generator/schemas/v2/openapi.yaml +2732 -409
  5. data/.generator/src/generator/cli.py +5 -0
  6. data/.generator/src/generator/formatter.py +4 -0
  7. data/.generator/src/generator/openapi.py +2 -0
  8. data/.generator/src/generator/templates/api_client.j2 +3 -0
  9. data/.generator/src/generator/templates/datadog_api_client.j2 +19 -0
  10. data/.generator/src/generator/templates/inflector.j2 +1 -1
  11. data/.generator/src/generator/templates/model_base.j2 +4 -0
  12. data/.pre-commit-config.yaml +1 -1
  13. data/CHANGELOG.md +54 -0
  14. data/Gemfile +1 -0
  15. data/LICENSE-3rdparty.csv +1 -0
  16. data/datadog_api_client.gemspec +2 -0
  17. data/examples/v1/aws-integration/CreateAWSAccount.rb +2 -2
  18. data/examples/v1/aws-integration/CreateAWSEventBridgeSource.rb +12 -0
  19. data/examples/v1/aws-integration/CreateAWSTagFilter.rb +1 -1
  20. data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +1 -1
  21. data/examples/v1/aws-integration/DeleteAWSAccount.rb +1 -1
  22. data/examples/v1/aws-integration/DeleteAWSEventBridgeSource.rb +11 -0
  23. data/examples/v1/aws-integration/ListAWSEventBridgeSources.rb +5 -0
  24. data/examples/v1/aws-integration/UpdateAWSAccount.rb +6 -6
  25. data/examples/v1/azure-integration/CreateAzureIntegration.rb +2 -0
  26. data/examples/v1/azure-integration/DeleteAzureIntegration.rb +2 -0
  27. data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +2 -0
  28. data/examples/v1/azure-integration/UpdateAzureIntegration.rb +2 -0
  29. data/examples/v1/dashboards/CreateDashboard_1213075383.rb +7 -0
  30. data/examples/v1/dashboards/CreateDashboard_1284514532.rb +3 -0
  31. data/examples/v1/monitors/CreateMonitor_1539578087.rb +0 -1
  32. data/examples/v1/synthetics/PatchTest.rb +22 -0
  33. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +3 -0
  34. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +3 -0
  35. data/examples/v2/confluent-cloud/DeleteConfluentAccount.rb +4 -1
  36. data/examples/v2/confluent-cloud/DeleteConfluentResource.rb +5 -0
  37. data/examples/v2/container-images/ListContainerImages.rb +0 -3
  38. data/examples/v2/container-images/ListContainerImages_3088586393.rb +0 -3
  39. data/examples/v2/container-images/ListContainerImages_3974828736.rb +0 -3
  40. data/examples/v2/containers/ListContainers.rb +5 -0
  41. data/examples/v2/containers/ListContainers_2175733917.rb +8 -0
  42. data/examples/v2/containers/ListContainers_931009654.rb +8 -0
  43. data/examples/v2/dora-metrics/CreateDORADeployment.rb +23 -0
  44. data/examples/v2/dora-metrics/CreateDORAIncident.rb +25 -0
  45. data/examples/v2/downtimes/ListMonitorDowntimes.rb +1 -1
  46. data/examples/v2/events/ListEvents.rb +0 -3
  47. data/examples/v2/events/ListEvents_1527584014.rb +0 -3
  48. data/examples/v2/events/ListEvents_2663715109.rb +0 -3
  49. data/examples/v2/events/SearchEvents.rb +0 -3
  50. data/examples/v2/events/SearchEvents_3856995058.rb +0 -3
  51. data/examples/v2/key-management/CreateCurrentUserApplicationKey.rb +2 -7
  52. data/examples/v2/key-management/DeleteApplicationKey.rb +4 -1
  53. data/examples/v2/key-management/DeleteCurrentUserApplicationKey.rb +4 -1
  54. data/examples/v2/okta-integration/CreateOktaAccount.rb +19 -0
  55. data/examples/v2/okta-integration/DeleteOktaAccount.rb +5 -0
  56. data/examples/v2/okta-integration/GetOktaAccount.rb +8 -0
  57. data/examples/v2/okta-integration/ListOktaAccounts.rb +5 -0
  58. data/examples/v2/okta-integration/UpdateOktaAccount.rb +20 -0
  59. data/examples/v2/powerpack/CreatePowerpack.rb +1 -0
  60. data/examples/v2/powerpack/UpdatePowerpack.rb +1 -0
  61. data/examples/v2/security-monitoring/MuteFindings.rb +29 -0
  62. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +1 -1
  63. data/examples/v2/service-scorecards/CreateScorecardOutcomesBatch.rb +27 -0
  64. data/examples/v2/service-scorecards/CreateScorecardRule.rb +19 -0
  65. data/examples/v2/service-scorecards/DeleteScorecardRule.rb +11 -0
  66. data/examples/v2/service-scorecards/ListScorecardOutcomes.rb +8 -0
  67. data/examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb +13 -0
  68. data/examples/v2/service-scorecards/ListScorecardRules.rb +8 -0
  69. data/examples/v2/service-scorecards/ListScorecardRules_4057666343.rb +13 -0
  70. data/examples/v2/synthetics/SetOnDemandConcurrencyCap.rb +3 -1
  71. data/examples/v2/teams/ListTeams_3429963470.rb +12 -0
  72. data/examples/v2/usage-metering/GetActiveBillingDimensions.rb +8 -0
  73. data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +8 -0
  74. data/examples/v2/usage-metering/GetProjectedCost.rb +8 -0
  75. data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring.rb +4 -1
  76. data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +4 -1
  77. data/examples/v2/usage-metering/GetUsageObservabilityPipelines.rb +4 -1
  78. data/examples/v2/users/GetUser.rb +5 -2
  79. data/lib/datadog_api_client/api_client.rb +3 -0
  80. data/lib/datadog_api_client/configuration.rb +11 -4
  81. data/lib/datadog_api_client/inflector.rb +137 -9
  82. data/lib/datadog_api_client/v1/api/aws_integration_api.rb +194 -0
  83. data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -1
  84. data/lib/datadog_api_client/v1/api/monitors_api.rb +5 -1
  85. data/lib/datadog_api_client/v1/api/synthetics_api.rb +73 -1
  86. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
  87. data/lib/datadog_api_client/v1/model_base.rb +4 -0
  88. data/lib/datadog_api_client/v1/models/aws_account.rb +2 -1
  89. data/lib/datadog_api_client/v1/models/aws_event_bridge_account_configuration.rb +105 -0
  90. data/lib/datadog_api_client/v1/models/aws_event_bridge_create_request.rb +112 -0
  91. data/lib/datadog_api_client/v1/models/aws_event_bridge_create_response.rb +110 -0
  92. data/lib/datadog_api_client/v1/models/aws_event_bridge_create_status.rb +26 -0
  93. data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_request.rb +100 -0
  94. data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_response.rb +80 -0
  95. data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_status.rb +26 -0
  96. data/lib/datadog_api_client/v1/models/aws_event_bridge_list_response.rb +92 -0
  97. data/lib/datadog_api_client/v1/models/aws_event_bridge_source.rb +90 -0
  98. data/lib/datadog_api_client/v1/models/azure_account.rb +24 -2
  99. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +21 -0
  100. data/lib/datadog_api_client/v1/models/monitor_options.rb +1 -1
  101. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +42 -0
  102. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +421 -1
  103. data/lib/datadog_api_client/v1/models/synthetics_patch_test_body.rb +82 -0
  104. data/lib/datadog_api_client/v1/models/synthetics_patch_test_operation.rb +100 -0
  105. data/lib/datadog_api_client/v1/models/synthetics_patch_test_operation_name.rb +31 -0
  106. data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +11 -1
  107. data/lib/datadog_api_client/v1/models/toplist_widget_display.rb +63 -0
  108. data/lib/datadog_api_client/v1/models/toplist_widget_flat.rb +98 -0
  109. data/lib/datadog_api_client/v1/models/toplist_widget_flat_type.rb +26 -0
  110. data/lib/datadog_api_client/v1/models/toplist_widget_legend.rb +28 -0
  111. data/lib/datadog_api_client/v1/models/toplist_widget_scaling.rb +27 -0
  112. data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +119 -0
  113. data/lib/datadog_api_client/v1/models/toplist_widget_stacked_type.rb +26 -0
  114. data/lib/datadog_api_client/v1/models/toplist_widget_style.rb +90 -0
  115. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
  116. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +31 -1
  117. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +31 -1
  118. data/lib/datadog_api_client/v1/models/widget_live_span.rb +2 -0
  119. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +6 -0
  120. data/lib/datadog_api_client/v2/api/container_images_api.rb +0 -6
  121. data/lib/datadog_api_client/v2/api/containers_api.rb +123 -0
  122. data/lib/datadog_api_client/v2/api/dora_metrics_api.rb +181 -0
  123. data/lib/datadog_api_client/v2/api/events_api.rb +0 -12
  124. data/lib/datadog_api_client/v2/api/key_management_api.rb +8 -0
  125. data/lib/datadog_api_client/v2/api/metrics_api.rb +6 -3
  126. data/lib/datadog_api_client/v2/api/okta_integration_api.rb +355 -0
  127. data/lib/datadog_api_client/v2/api/roles_api.rb +2 -0
  128. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +66 -72
  129. data/lib/datadog_api_client/v2/api/service_scorecards_api.rb +457 -0
  130. data/lib/datadog_api_client/v2/api/teams_api.rb +2 -0
  131. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +241 -0
  132. data/lib/datadog_api_client/v2/model_base.rb +4 -0
  133. data/lib/datadog_api_client/v2/models/active_billing_dimensions_attributes.rb +92 -0
  134. data/lib/datadog_api_client/v2/models/active_billing_dimensions_body.rb +100 -0
  135. data/lib/datadog_api_client/v2/models/active_billing_dimensions_response.rb +80 -0
  136. data/lib/datadog_api_client/v2/models/active_billing_dimensions_type.rb +26 -0
  137. data/lib/datadog_api_client/v2/models/api_keys_response.rb +14 -4
  138. data/lib/datadog_api_client/v2/models/api_keys_response_meta.rb +90 -0
  139. data/lib/datadog_api_client/v2/models/api_keys_response_meta_page.rb +80 -0
  140. data/lib/datadog_api_client/v2/models/application_key_response_meta.rb +90 -0
  141. data/lib/datadog_api_client/v2/models/application_key_response_meta_page.rb +80 -0
  142. data/lib/datadog_api_client/v2/models/bulk_mute_findings_request.rb +98 -0
  143. data/lib/datadog_api_client/v2/models/{mute_finding_request_attributes.rb → bulk_mute_findings_request_attributes.rb} +5 -5
  144. data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_data.rb +161 -0
  145. data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta.rb +82 -0
  146. data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta_findings.rb +80 -0
  147. data/lib/datadog_api_client/v2/models/{mute_finding_request_properties.rb → bulk_mute_findings_request_properties.rb} +6 -6
  148. data/lib/datadog_api_client/v2/models/bulk_mute_findings_response.rb +98 -0
  149. data/lib/datadog_api_client/v2/models/bulk_mute_findings_response_data.rb +90 -0
  150. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +13 -1
  151. data/lib/datadog_api_client/v2/models/{mute_finding_response_data.rb → container.rb} +9 -9
  152. data/lib/datadog_api_client/v2/models/container_attributes.rb +183 -0
  153. data/lib/datadog_api_client/v2/models/container_group.rb +110 -0
  154. data/lib/datadog_api_client/v2/models/container_group_attributes.rb +90 -0
  155. data/lib/datadog_api_client/v2/models/container_group_relationships.rb +80 -0
  156. data/lib/datadog_api_client/v2/models/container_group_relationships_link.rb +92 -0
  157. data/lib/datadog_api_client/v2/models/container_group_relationships_links.rb +80 -0
  158. data/lib/datadog_api_client/v2/models/container_group_type.rb +26 -0
  159. data/lib/datadog_api_client/v2/models/container_item.rb +63 -0
  160. data/lib/datadog_api_client/v2/models/container_meta.rb +80 -0
  161. data/lib/datadog_api_client/v2/models/container_meta_page.rb +160 -0
  162. data/lib/datadog_api_client/v2/models/container_meta_page_type.rb +26 -0
  163. data/lib/datadog_api_client/v2/models/container_type.rb +26 -0
  164. data/lib/datadog_api_client/v2/models/containers_response.rb +102 -0
  165. data/lib/datadog_api_client/v2/models/containers_response_links.rb +130 -0
  166. data/lib/datadog_api_client/v2/models/cost_attribution_aggregates_body.rb +100 -0
  167. data/lib/datadog_api_client/v2/models/cost_attribution_type.rb +26 -0
  168. data/lib/datadog_api_client/v2/models/create_rule_request.rb +80 -0
  169. data/lib/datadog_api_client/v2/models/create_rule_request_data.rb +90 -0
  170. data/lib/datadog_api_client/v2/models/create_rule_response.rb +80 -0
  171. data/lib/datadog_api_client/v2/models/create_rule_response_data.rb +110 -0
  172. data/lib/datadog_api_client/v2/models/dora_deployment_request.rb +98 -0
  173. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +170 -0
  174. data/lib/datadog_api_client/v2/models/dora_deployment_request_data.rb +98 -0
  175. data/lib/datadog_api_client/v2/models/dora_deployment_response.rb +98 -0
  176. data/lib/datadog_api_client/v2/models/dora_deployment_response_data.rb +108 -0
  177. data/lib/datadog_api_client/v2/models/dora_deployment_type.rb +26 -0
  178. data/lib/datadog_api_client/v2/models/dora_git_info.rb +125 -0
  179. data/lib/datadog_api_client/v2/models/{mute_finding_response.rb → dora_incident_request.rb} +6 -6
  180. data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +179 -0
  181. data/lib/datadog_api_client/v2/models/dora_incident_request_data.rb +98 -0
  182. data/lib/datadog_api_client/v2/models/dora_incident_response.rb +98 -0
  183. data/lib/datadog_api_client/v2/models/dora_incident_response_data.rb +108 -0
  184. data/lib/datadog_api_client/v2/models/dora_incident_type.rb +26 -0
  185. data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +24 -4
  186. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +14 -4
  187. data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +9 -19
  188. data/lib/datadog_api_client/v2/models/incident_impacts_type.rb +26 -0
  189. data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +21 -1
  190. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_data.rb +11 -1
  191. data/lib/datadog_api_client/v2/models/incident_integration_relationships.rb +90 -0
  192. data/lib/datadog_api_client/v2/models/incident_non_datadog_creator.rb +90 -0
  193. data/lib/datadog_api_client/v2/models/incident_responders_type.rb +26 -0
  194. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +69 -4
  195. data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +42 -4
  196. data/lib/datadog_api_client/v2/models/incident_severity.rb +31 -0
  197. data/lib/datadog_api_client/v2/models/incident_todo_attributes.rb +24 -4
  198. data/lib/datadog_api_client/v2/models/incident_todo_relationships.rb +90 -0
  199. data/lib/datadog_api_client/v2/models/incident_todo_response_data.rb +11 -1
  200. data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +8 -0
  201. data/lib/datadog_api_client/v2/models/incident_user_defined_field_type.rb +26 -0
  202. data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +14 -4
  203. data/lib/datadog_api_client/v2/models/list_rules_response.rb +92 -0
  204. data/lib/datadog_api_client/v2/models/list_rules_response_data_item.rb +110 -0
  205. data/lib/datadog_api_client/v2/models/list_rules_response_links.rb +80 -0
  206. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +13 -1
  207. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status_attributes.rb +12 -1
  208. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +13 -1
  209. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +13 -1
  210. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +13 -1
  211. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb +151 -0
  212. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_body.rb +100 -0
  213. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_meta.rb +92 -0
  214. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_pagination.rb +88 -0
  215. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_response.rb +92 -0
  216. data/lib/datadog_api_client/v2/models/okta_account.rb +129 -0
  217. data/lib/datadog_api_client/v2/models/okta_account_attributes.rb +170 -0
  218. data/lib/datadog_api_client/v2/models/{mute_finding_request.rb → okta_account_request.rb} +6 -6
  219. data/lib/datadog_api_client/v2/models/okta_account_response.rb +80 -0
  220. data/lib/datadog_api_client/v2/models/{mute_finding_request_data.rb → okta_account_response_data.rb} +9 -9
  221. data/lib/datadog_api_client/v2/models/okta_account_type.rb +26 -0
  222. data/lib/datadog_api_client/v2/models/okta_account_update_request.rb +98 -0
  223. data/lib/datadog_api_client/v2/models/okta_account_update_request_attributes.rb +149 -0
  224. data/lib/datadog_api_client/v2/models/okta_account_update_request_data.rb +90 -0
  225. data/lib/datadog_api_client/v2/models/okta_accounts_response.rb +82 -0
  226. data/lib/datadog_api_client/v2/models/outcome_type.rb +26 -0
  227. data/lib/datadog_api_client/v2/models/outcomes_batch_attributes.rb +82 -0
  228. data/lib/datadog_api_client/v2/models/outcomes_batch_request.rb +80 -0
  229. data/lib/datadog_api_client/v2/models/outcomes_batch_request_data.rb +90 -0
  230. data/lib/datadog_api_client/v2/models/outcomes_batch_request_item.rb +150 -0
  231. data/lib/datadog_api_client/v2/models/outcomes_batch_response.rb +121 -0
  232. data/lib/datadog_api_client/v2/models/outcomes_batch_response_attributes.rb +120 -0
  233. data/lib/datadog_api_client/v2/models/outcomes_batch_response_meta.rb +90 -0
  234. data/lib/datadog_api_client/v2/models/outcomes_batch_type.rb +26 -0
  235. data/lib/datadog_api_client/v2/models/outcomes_response.rb +104 -0
  236. data/lib/datadog_api_client/v2/models/outcomes_response_data_item.rb +110 -0
  237. data/lib/datadog_api_client/v2/models/outcomes_response_included_item.rb +100 -0
  238. data/lib/datadog_api_client/v2/models/outcomes_response_included_rule_attributes.rb +90 -0
  239. data/lib/datadog_api_client/v2/models/outcomes_response_links.rb +80 -0
  240. data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +24 -4
  241. data/lib/datadog_api_client/v2/models/powerpack_group_widget.rb +14 -4
  242. data/lib/datadog_api_client/v2/models/powerpack_relationships.rb +2 -2
  243. data/lib/datadog_api_client/v2/models/powerpacks_response_meta_pagination.rb +8 -0
  244. data/lib/datadog_api_client/v2/models/projected_cost.rb +100 -0
  245. data/lib/datadog_api_client/v2/models/projected_cost_attributes.rb +132 -0
  246. data/lib/datadog_api_client/v2/models/projected_cost_response.rb +82 -0
  247. data/lib/datadog_api_client/v2/models/projected_cost_type.rb +26 -0
  248. data/lib/datadog_api_client/v2/models/relationship_to_incident_impact_data.rb +119 -0
  249. data/lib/datadog_api_client/v2/models/relationship_to_incident_impacts.rb +100 -0
  250. data/lib/datadog_api_client/v2/models/relationship_to_incident_responder_data.rb +119 -0
  251. data/lib/datadog_api_client/v2/models/relationship_to_incident_responders.rb +100 -0
  252. data/lib/datadog_api_client/v2/models/relationship_to_incident_user_defined_field_data.rb +119 -0
  253. data/lib/datadog_api_client/v2/models/relationship_to_incident_user_defined_fields.rb +100 -0
  254. data/lib/datadog_api_client/v2/models/relationship_to_outcome.rb +80 -0
  255. data/lib/datadog_api_client/v2/models/relationship_to_outcome_data.rb +90 -0
  256. data/lib/datadog_api_client/v2/models/relationship_to_rule.rb +80 -0
  257. data/lib/datadog_api_client/v2/models/relationship_to_rule_data.rb +80 -0
  258. data/lib/datadog_api_client/v2/models/relationship_to_rule_data_object.rb +90 -0
  259. data/lib/datadog_api_client/v2/models/rule_attributes.rb +160 -0
  260. data/lib/datadog_api_client/v2/models/rule_outcome_relationships.rb +80 -0
  261. data/lib/datadog_api_client/v2/models/rule_type.rb +26 -0
  262. data/lib/datadog_api_client/v2/models/scorecard_type.rb +26 -0
  263. data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_create.rb +1 -0
  264. data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +7 -7
  265. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +11 -1
  266. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +13 -1
  267. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +8 -8
  268. data/lib/datadog_api_client/v2/models/sort_direction.rb +27 -0
  269. data/lib/datadog_api_client/v2/models/state.rb +28 -0
  270. data/lib/datadog_api_client/v2/models/teams_field.rb +40 -0
  271. data/lib/datadog_api_client/v2/models/user_team_permission_attributes.rb +1 -1
  272. data/lib/datadog_api_client/v2/models/widget_live_span.rb +40 -0
  273. data/lib/datadog_api_client/version.rb +1 -1
  274. data/lib/datadog_api_client.rb +16 -1
  275. metadata +186 -25
  276. data/examples/v2/confluent-cloud/DeleteConfluentAccount_2919241291.rb +0 -8
  277. data/examples/v2/downtimes/ListMonitorDowntimes_128979780.rb +0 -5
  278. data/examples/v2/key-management/CreateCurrentUserApplicationKey_1999509896.rb +0 -14
  279. data/examples/v2/key-management/DeleteApplicationKey_771691550.rb +0 -8
  280. data/examples/v2/key-management/DeleteCurrentUserApplicationKey_1266687064.rb +0 -8
  281. data/examples/v2/key-management/GetCurrentUserApplicationKey_1060640890.rb +0 -8
  282. data/examples/v2/key-management/ListApplicationKeys_2237010090.rb +0 -5
  283. data/examples/v2/key-management/ListCurrentUserApplicationKeys_1503860964.rb +0 -5
  284. data/examples/v2/security-monitoring/UpdateFinding.rb +0 -23
  285. data/examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb +0 -5
  286. data/examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb +0 -9
  287. data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring_3959166796.rb +0 -8
  288. data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations_1436752065.rb +0 -8
  289. data/examples/v2/usage-metering/GetUsageObservabilityPipelines_970725512.rb +0 -8
  290. data/examples/v2/users/GetUser_3047557953.rb +0 -8
  291. data/lib/datadog_api_client/v2/models/mute_finding_response_attributes.rb +0 -191
  292. data/lib/datadog_api_client/v2/models/mute_finding_response_properties.rb +0 -114
@@ -3,7 +3,7 @@ require 'zeitwerk'
3
3
  module DatadogAPIClient
4
4
  class DatadogAPIClientInflector < Zeitwerk::Inflector
5
5
  def camelize(basename, abspath)
6
- model_name = "#{abspath.match('v[0-9]')}.#{basename}"
6
+ model_name = "#{abspath.scan(/v[0-9]/).last}.#{basename}"
7
7
  overrides[model_name] || basename.split('_').each(&:capitalize!).join
8
8
  end
9
9
 
@@ -32,6 +32,15 @@ module DatadogAPIClient
32
32
  "v1.aws_account_create_response" => "AWSAccountCreateResponse",
33
33
  "v1.aws_account_delete_request" => "AWSAccountDeleteRequest",
34
34
  "v1.aws_account_list_response" => "AWSAccountListResponse",
35
+ "v1.aws_event_bridge_account_configuration" => "AWSEventBridgeAccountConfiguration",
36
+ "v1.aws_event_bridge_create_request" => "AWSEventBridgeCreateRequest",
37
+ "v1.aws_event_bridge_create_response" => "AWSEventBridgeCreateResponse",
38
+ "v1.aws_event_bridge_create_status" => "AWSEventBridgeCreateStatus",
39
+ "v1.aws_event_bridge_delete_request" => "AWSEventBridgeDeleteRequest",
40
+ "v1.aws_event_bridge_delete_response" => "AWSEventBridgeDeleteResponse",
41
+ "v1.aws_event_bridge_delete_status" => "AWSEventBridgeDeleteStatus",
42
+ "v1.aws_event_bridge_list_response" => "AWSEventBridgeListResponse",
43
+ "v1.aws_event_bridge_source" => "AWSEventBridgeSource",
35
44
  "v1.aws_logs_async_error" => "AWSLogsAsyncError",
36
45
  "v1.aws_logs_async_response" => "AWSLogsAsyncResponse",
37
46
  "v1.aws_logs_lambda" => "AWSLogsLambda",
@@ -601,6 +610,9 @@ module DatadogAPIClient
601
610
  "v1.synthetics_location" => "SyntheticsLocation",
602
611
  "v1.synthetics_locations" => "SyntheticsLocations",
603
612
  "v1.synthetics_parsing_options" => "SyntheticsParsingOptions",
613
+ "v1.synthetics_patch_test_body" => "SyntheticsPatchTestBody",
614
+ "v1.synthetics_patch_test_operation" => "SyntheticsPatchTestOperation",
615
+ "v1.synthetics_patch_test_operation_name" => "SyntheticsPatchTestOperationName",
604
616
  "v1.synthetics_playing_tab" => "SyntheticsPlayingTab",
605
617
  "v1.synthetics_private_location" => "SyntheticsPrivateLocation",
606
618
  "v1.synthetics_private_location_creation_response" => "SyntheticsPrivateLocationCreationResponse",
@@ -664,7 +676,15 @@ module DatadogAPIClient
664
676
  "v1.timeseries_widget_request" => "TimeseriesWidgetRequest",
665
677
  "v1.toplist_widget_definition" => "ToplistWidgetDefinition",
666
678
  "v1.toplist_widget_definition_type" => "ToplistWidgetDefinitionType",
679
+ "v1.toplist_widget_display" => "ToplistWidgetDisplay",
680
+ "v1.toplist_widget_flat" => "ToplistWidgetFlat",
681
+ "v1.toplist_widget_flat_type" => "ToplistWidgetFlatType",
682
+ "v1.toplist_widget_legend" => "ToplistWidgetLegend",
667
683
  "v1.toplist_widget_request" => "ToplistWidgetRequest",
684
+ "v1.toplist_widget_scaling" => "ToplistWidgetScaling",
685
+ "v1.toplist_widget_stacked" => "ToplistWidgetStacked",
686
+ "v1.toplist_widget_stacked_type" => "ToplistWidgetStackedType",
687
+ "v1.toplist_widget_style" => "ToplistWidgetStyle",
668
688
  "v1.topology_map_widget_definition" => "TopologyMapWidgetDefinition",
669
689
  "v1.topology_map_widget_definition_type" => "TopologyMapWidgetDefinitionType",
670
690
  "v1.topology_query" => "TopologyQuery",
@@ -822,6 +842,10 @@ module DatadogAPIClient
822
842
  "v1.widget_vertical_align" => "WidgetVerticalAlign",
823
843
  "v1.widget_view_mode" => "WidgetViewMode",
824
844
  "v1.widget_viz_type" => "WidgetVizType",
845
+ "v2.active_billing_dimensions_attributes" => "ActiveBillingDimensionsAttributes",
846
+ "v2.active_billing_dimensions_body" => "ActiveBillingDimensionsBody",
847
+ "v2.active_billing_dimensions_response" => "ActiveBillingDimensionsResponse",
848
+ "v2.active_billing_dimensions_type" => "ActiveBillingDimensionsType",
825
849
  "v2.api_error_response" => "APIErrorResponse",
826
850
  "v2.api_key_create_attributes" => "APIKeyCreateAttributes",
827
851
  "v2.api_key_create_data" => "APIKeyCreateData",
@@ -830,6 +854,8 @@ module DatadogAPIClient
830
854
  "v2.api_key_response" => "APIKeyResponse",
831
855
  "v2.api_key_response_included_item" => "APIKeyResponseIncludedItem",
832
856
  "v2.api_keys_response" => "APIKeysResponse",
857
+ "v2.api_keys_response_meta" => "APIKeysResponseMeta",
858
+ "v2.api_keys_response_meta_page" => "APIKeysResponseMetaPage",
833
859
  "v2.api_keys_sort" => "APIKeysSort",
834
860
  "v2.api_keys_type" => "APIKeysType",
835
861
  "v2.api_key_update_attributes" => "APIKeyUpdateAttributes",
@@ -842,6 +868,8 @@ module DatadogAPIClient
842
868
  "v2.application_key_relationships" => "ApplicationKeyRelationships",
843
869
  "v2.application_key_response" => "ApplicationKeyResponse",
844
870
  "v2.application_key_response_included_item" => "ApplicationKeyResponseIncludedItem",
871
+ "v2.application_key_response_meta" => "ApplicationKeyResponseMeta",
872
+ "v2.application_key_response_meta_page" => "ApplicationKeyResponseMetaPage",
845
873
  "v2.application_keys_sort" => "ApplicationKeysSort",
846
874
  "v2.application_keys_type" => "ApplicationKeysType",
847
875
  "v2.application_key_update_attributes" => "ApplicationKeyUpdateAttributes",
@@ -877,6 +905,14 @@ module DatadogAPIClient
877
905
  "v2.authn_mapping_update_data" => "AuthNMappingUpdateData",
878
906
  "v2.authn_mapping_update_relationships" => "AuthNMappingUpdateRelationships",
879
907
  "v2.authn_mapping_update_request" => "AuthNMappingUpdateRequest",
908
+ "v2.bulk_mute_findings_request" => "BulkMuteFindingsRequest",
909
+ "v2.bulk_mute_findings_request_attributes" => "BulkMuteFindingsRequestAttributes",
910
+ "v2.bulk_mute_findings_request_data" => "BulkMuteFindingsRequestData",
911
+ "v2.bulk_mute_findings_request_meta" => "BulkMuteFindingsRequestMeta",
912
+ "v2.bulk_mute_findings_request_meta_findings" => "BulkMuteFindingsRequestMetaFindings",
913
+ "v2.bulk_mute_findings_request_properties" => "BulkMuteFindingsRequestProperties",
914
+ "v2.bulk_mute_findings_response" => "BulkMuteFindingsResponse",
915
+ "v2.bulk_mute_findings_response_data" => "BulkMuteFindingsResponseData",
880
916
  "v2.chargeback_breakdown" => "ChargebackBreakdown",
881
917
  "v2.ci_app_aggregate_bucket_value" => "CIAppAggregateBucketValue",
882
918
  "v2.ci_app_aggregate_bucket_value_timeseries_point" => "CIAppAggregateBucketValueTimeseriesPoint",
@@ -996,6 +1032,14 @@ module DatadogAPIClient
996
1032
  "v2.confluent_resource_response_data" => "ConfluentResourceResponseData",
997
1033
  "v2.confluent_resources_response" => "ConfluentResourcesResponse",
998
1034
  "v2.confluent_resource_type" => "ConfluentResourceType",
1035
+ "v2.container" => "Container",
1036
+ "v2.container_attributes" => "ContainerAttributes",
1037
+ "v2.container_group" => "ContainerGroup",
1038
+ "v2.container_group_attributes" => "ContainerGroupAttributes",
1039
+ "v2.container_group_relationships" => "ContainerGroupRelationships",
1040
+ "v2.container_group_relationships_link" => "ContainerGroupRelationshipsLink",
1041
+ "v2.container_group_relationships_links" => "ContainerGroupRelationshipsLinks",
1042
+ "v2.container_group_type" => "ContainerGroupType",
999
1043
  "v2.container_image" => "ContainerImage",
1000
1044
  "v2.container_image_attributes" => "ContainerImageAttributes",
1001
1045
  "v2.container_image_flavor" => "ContainerImageFlavor",
@@ -1013,11 +1057,24 @@ module DatadogAPIClient
1013
1057
  "v2.container_images_response_links" => "ContainerImagesResponseLinks",
1014
1058
  "v2.container_image_type" => "ContainerImageType",
1015
1059
  "v2.container_image_vulnerabilities" => "ContainerImageVulnerabilities",
1060
+ "v2.container_item" => "ContainerItem",
1061
+ "v2.container_meta" => "ContainerMeta",
1062
+ "v2.container_meta_page" => "ContainerMetaPage",
1063
+ "v2.container_meta_page_type" => "ContainerMetaPageType",
1064
+ "v2.containers_response" => "ContainersResponse",
1065
+ "v2.containers_response_links" => "ContainersResponseLinks",
1066
+ "v2.container_type" => "ContainerType",
1016
1067
  "v2.content_encoding" => "ContentEncoding",
1068
+ "v2.cost_attribution_aggregates_body" => "CostAttributionAggregatesBody",
1069
+ "v2.cost_attribution_type" => "CostAttributionType",
1017
1070
  "v2.cost_by_org" => "CostByOrg",
1018
1071
  "v2.cost_by_org_attributes" => "CostByOrgAttributes",
1019
1072
  "v2.cost_by_org_response" => "CostByOrgResponse",
1020
1073
  "v2.cost_by_org_type" => "CostByOrgType",
1074
+ "v2.create_rule_request" => "CreateRuleRequest",
1075
+ "v2.create_rule_request_data" => "CreateRuleRequestData",
1076
+ "v2.create_rule_response" => "CreateRuleResponse",
1077
+ "v2.create_rule_response_data" => "CreateRuleResponseData",
1021
1078
  "v2.creator" => "Creator",
1022
1079
  "v2.dashboard_list_add_items_request" => "DashboardListAddItemsRequest",
1023
1080
  "v2.dashboard_list_add_items_response" => "DashboardListAddItemsResponse",
@@ -1034,6 +1091,19 @@ module DatadogAPIClient
1034
1091
  "v2.detailed_finding" => "DetailedFinding",
1035
1092
  "v2.detailed_finding_attributes" => "DetailedFindingAttributes",
1036
1093
  "v2.detailed_finding_type" => "DetailedFindingType",
1094
+ "v2.dora_deployment_request" => "DORADeploymentRequest",
1095
+ "v2.dora_deployment_request_attributes" => "DORADeploymentRequestAttributes",
1096
+ "v2.dora_deployment_request_data" => "DORADeploymentRequestData",
1097
+ "v2.dora_deployment_response" => "DORADeploymentResponse",
1098
+ "v2.dora_deployment_response_data" => "DORADeploymentResponseData",
1099
+ "v2.dora_deployment_type" => "DORADeploymentType",
1100
+ "v2.dora_git_info" => "DORAGitInfo",
1101
+ "v2.dora_incident_request" => "DORAIncidentRequest",
1102
+ "v2.dora_incident_request_attributes" => "DORAIncidentRequestAttributes",
1103
+ "v2.dora_incident_request_data" => "DORAIncidentRequestData",
1104
+ "v2.dora_incident_response" => "DORAIncidentResponse",
1105
+ "v2.dora_incident_response_data" => "DORAIncidentResponseData",
1106
+ "v2.dora_incident_type" => "DORAIncidentType",
1037
1107
  "v2.downtime_create_request" => "DowntimeCreateRequest",
1038
1108
  "v2.downtime_create_request_attributes" => "DowntimeCreateRequestAttributes",
1039
1109
  "v2.downtime_create_request_data" => "DowntimeCreateRequestData",
@@ -1186,6 +1256,7 @@ module DatadogAPIClient
1186
1256
  "v2.incident_field_attributes_single_value" => "IncidentFieldAttributesSingleValue",
1187
1257
  "v2.incident_field_attributes_single_value_type" => "IncidentFieldAttributesSingleValueType",
1188
1258
  "v2.incident_field_attributes_value_type" => "IncidentFieldAttributesValueType",
1259
+ "v2.incident_impacts_type" => "IncidentImpactsType",
1189
1260
  "v2.incident_integration_metadata_attributes" => "IncidentIntegrationMetadataAttributes",
1190
1261
  "v2.incident_integration_metadata_create_data" => "IncidentIntegrationMetadataCreateData",
1191
1262
  "v2.incident_integration_metadata_create_request" => "IncidentIntegrationMetadataCreateRequest",
@@ -1197,9 +1268,12 @@ module DatadogAPIClient
1197
1268
  "v2.incident_integration_metadata_response_data" => "IncidentIntegrationMetadataResponseData",
1198
1269
  "v2.incident_integration_metadata_response_included_item" => "IncidentIntegrationMetadataResponseIncludedItem",
1199
1270
  "v2.incident_integration_metadata_type" => "IncidentIntegrationMetadataType",
1271
+ "v2.incident_integration_relationships" => "IncidentIntegrationRelationships",
1272
+ "v2.incident_non_datadog_creator" => "IncidentNonDatadogCreator",
1200
1273
  "v2.incident_notification_handle" => "IncidentNotificationHandle",
1201
1274
  "v2.incident_postmortem_type" => "IncidentPostmortemType",
1202
1275
  "v2.incident_related_object" => "IncidentRelatedObject",
1276
+ "v2.incident_responders_type" => "IncidentRespondersType",
1203
1277
  "v2.incident_response" => "IncidentResponse",
1204
1278
  "v2.incident_response_attributes" => "IncidentResponseAttributes",
1205
1279
  "v2.incident_response_data" => "IncidentResponseData",
@@ -1233,6 +1307,7 @@ module DatadogAPIClient
1233
1307
  "v2.incident_service_update_attributes" => "IncidentServiceUpdateAttributes",
1234
1308
  "v2.incident_service_update_data" => "IncidentServiceUpdateData",
1235
1309
  "v2.incident_service_update_request" => "IncidentServiceUpdateRequest",
1310
+ "v2.incident_severity" => "IncidentSeverity",
1236
1311
  "v2.incidents_response" => "IncidentsResponse",
1237
1312
  "v2.incident_team_create_attributes" => "IncidentTeamCreateAttributes",
1238
1313
  "v2.incident_team_create_data" => "IncidentTeamCreateData",
@@ -1260,6 +1335,7 @@ module DatadogAPIClient
1260
1335
  "v2.incident_todo_list_response" => "IncidentTodoListResponse",
1261
1336
  "v2.incident_todo_patch_data" => "IncidentTodoPatchData",
1262
1337
  "v2.incident_todo_patch_request" => "IncidentTodoPatchRequest",
1338
+ "v2.incident_todo_relationships" => "IncidentTodoRelationships",
1263
1339
  "v2.incident_todo_response" => "IncidentTodoResponse",
1264
1340
  "v2.incident_todo_response_data" => "IncidentTodoResponseData",
1265
1341
  "v2.incident_todo_response_included_item" => "IncidentTodoResponseIncludedItem",
@@ -1269,6 +1345,7 @@ module DatadogAPIClient
1269
1345
  "v2.incident_update_data" => "IncidentUpdateData",
1270
1346
  "v2.incident_update_relationships" => "IncidentUpdateRelationships",
1271
1347
  "v2.incident_update_request" => "IncidentUpdateRequest",
1348
+ "v2.incident_user_defined_field_type" => "IncidentUserDefinedFieldType",
1272
1349
  "v2.intake_payload_accepted" => "IntakePayloadAccepted",
1273
1350
  "v2.ip_allowlist_attributes" => "IPAllowlistAttributes",
1274
1351
  "v2.ip_allowlist_data" => "IPAllowlistData",
@@ -1289,6 +1366,9 @@ module DatadogAPIClient
1289
1366
  "v2.list_findings_page" => "ListFindingsPage",
1290
1367
  "v2.list_findings_response" => "ListFindingsResponse",
1291
1368
  "v2.list_powerpacks_response" => "ListPowerpacksResponse",
1369
+ "v2.list_rules_response" => "ListRulesResponse",
1370
+ "v2.list_rules_response_data_item" => "ListRulesResponseDataItem",
1371
+ "v2.list_rules_response_links" => "ListRulesResponseLinks",
1292
1372
  "v2.list_teams_include" => "ListTeamsInclude",
1293
1373
  "v2.list_teams_sort" => "ListTeamsSort",
1294
1374
  "v2.log" => "Log",
@@ -1447,16 +1527,23 @@ module DatadogAPIClient
1447
1527
  "v2.monitor_downtime_match_response_attributes" => "MonitorDowntimeMatchResponseAttributes",
1448
1528
  "v2.monitor_downtime_match_response_data" => "MonitorDowntimeMatchResponseData",
1449
1529
  "v2.monitor_type" => "MonitorType",
1450
- "v2.mute_finding_request" => "MuteFindingRequest",
1451
- "v2.mute_finding_request_attributes" => "MuteFindingRequestAttributes",
1452
- "v2.mute_finding_request_data" => "MuteFindingRequestData",
1453
- "v2.mute_finding_request_properties" => "MuteFindingRequestProperties",
1454
- "v2.mute_finding_response" => "MuteFindingResponse",
1455
- "v2.mute_finding_response_attributes" => "MuteFindingResponseAttributes",
1456
- "v2.mute_finding_response_data" => "MuteFindingResponseData",
1457
- "v2.mute_finding_response_properties" => "MuteFindingResponseProperties",
1530
+ "v2.monthly_cost_attribution_attributes" => "MonthlyCostAttributionAttributes",
1531
+ "v2.monthly_cost_attribution_body" => "MonthlyCostAttributionBody",
1532
+ "v2.monthly_cost_attribution_meta" => "MonthlyCostAttributionMeta",
1533
+ "v2.monthly_cost_attribution_pagination" => "MonthlyCostAttributionPagination",
1534
+ "v2.monthly_cost_attribution_response" => "MonthlyCostAttributionResponse",
1458
1535
  "v2.nullable_relationship_to_user" => "NullableRelationshipToUser",
1459
1536
  "v2.nullable_relationship_to_user_data" => "NullableRelationshipToUserData",
1537
+ "v2.okta_account" => "OktaAccount",
1538
+ "v2.okta_account_attributes" => "OktaAccountAttributes",
1539
+ "v2.okta_account_request" => "OktaAccountRequest",
1540
+ "v2.okta_account_response" => "OktaAccountResponse",
1541
+ "v2.okta_account_response_data" => "OktaAccountResponseData",
1542
+ "v2.okta_accounts_response" => "OktaAccountsResponse",
1543
+ "v2.okta_account_type" => "OktaAccountType",
1544
+ "v2.okta_account_update_request" => "OktaAccountUpdateRequest",
1545
+ "v2.okta_account_update_request_attributes" => "OktaAccountUpdateRequestAttributes",
1546
+ "v2.okta_account_update_request_data" => "OktaAccountUpdateRequestData",
1460
1547
  "v2.on_demand_concurrency_cap" => "OnDemandConcurrencyCap",
1461
1548
  "v2.on_demand_concurrency_cap_attributes" => "OnDemandConcurrencyCapAttributes",
1462
1549
  "v2.on_demand_concurrency_cap_response" => "OnDemandConcurrencyCapResponse",
@@ -1476,6 +1563,20 @@ module DatadogAPIClient
1476
1563
  "v2.organization" => "Organization",
1477
1564
  "v2.organization_attributes" => "OrganizationAttributes",
1478
1565
  "v2.organizations_type" => "OrganizationsType",
1566
+ "v2.outcomes_batch_attributes" => "OutcomesBatchAttributes",
1567
+ "v2.outcomes_batch_request" => "OutcomesBatchRequest",
1568
+ "v2.outcomes_batch_request_data" => "OutcomesBatchRequestData",
1569
+ "v2.outcomes_batch_request_item" => "OutcomesBatchRequestItem",
1570
+ "v2.outcomes_batch_response" => "OutcomesBatchResponse",
1571
+ "v2.outcomes_batch_response_attributes" => "OutcomesBatchResponseAttributes",
1572
+ "v2.outcomes_batch_response_meta" => "OutcomesBatchResponseMeta",
1573
+ "v2.outcomes_batch_type" => "OutcomesBatchType",
1574
+ "v2.outcomes_response" => "OutcomesResponse",
1575
+ "v2.outcomes_response_data_item" => "OutcomesResponseDataItem",
1576
+ "v2.outcomes_response_included_item" => "OutcomesResponseIncludedItem",
1577
+ "v2.outcomes_response_included_rule_attributes" => "OutcomesResponseIncludedRuleAttributes",
1578
+ "v2.outcomes_response_links" => "OutcomesResponseLinks",
1579
+ "v2.outcome_type" => "OutcomeType",
1479
1580
  "v2.pagination" => "Pagination",
1480
1581
  "v2.partial_api_key" => "PartialAPIKey",
1481
1582
  "v2.partial_api_key_attributes" => "PartialAPIKeyAttributes",
@@ -1506,23 +1607,38 @@ module DatadogAPIClient
1506
1607
  "v2.process_summary" => "ProcessSummary",
1507
1608
  "v2.process_summary_attributes" => "ProcessSummaryAttributes",
1508
1609
  "v2.process_summary_type" => "ProcessSummaryType",
1610
+ "v2.projected_cost" => "ProjectedCost",
1611
+ "v2.projected_cost_attributes" => "ProjectedCostAttributes",
1612
+ "v2.projected_cost_response" => "ProjectedCostResponse",
1613
+ "v2.projected_cost_type" => "ProjectedCostType",
1509
1614
  "v2.query_formula" => "QueryFormula",
1510
1615
  "v2.query_sort_order" => "QuerySortOrder",
1511
1616
  "v2.relationship_to_incident_attachment" => "RelationshipToIncidentAttachment",
1512
1617
  "v2.relationship_to_incident_attachment_data" => "RelationshipToIncidentAttachmentData",
1618
+ "v2.relationship_to_incident_impact_data" => "RelationshipToIncidentImpactData",
1619
+ "v2.relationship_to_incident_impacts" => "RelationshipToIncidentImpacts",
1513
1620
  "v2.relationship_to_incident_integration_metadata_data" => "RelationshipToIncidentIntegrationMetadataData",
1514
1621
  "v2.relationship_to_incident_integration_metadatas" => "RelationshipToIncidentIntegrationMetadatas",
1515
1622
  "v2.relationship_to_incident_postmortem" => "RelationshipToIncidentPostmortem",
1516
1623
  "v2.relationship_to_incident_postmortem_data" => "RelationshipToIncidentPostmortemData",
1624
+ "v2.relationship_to_incident_responder_data" => "RelationshipToIncidentResponderData",
1625
+ "v2.relationship_to_incident_responders" => "RelationshipToIncidentResponders",
1626
+ "v2.relationship_to_incident_user_defined_field_data" => "RelationshipToIncidentUserDefinedFieldData",
1627
+ "v2.relationship_to_incident_user_defined_fields" => "RelationshipToIncidentUserDefinedFields",
1517
1628
  "v2.relationship_to_organization" => "RelationshipToOrganization",
1518
1629
  "v2.relationship_to_organization_data" => "RelationshipToOrganizationData",
1519
1630
  "v2.relationship_to_organizations" => "RelationshipToOrganizations",
1631
+ "v2.relationship_to_outcome" => "RelationshipToOutcome",
1632
+ "v2.relationship_to_outcome_data" => "RelationshipToOutcomeData",
1520
1633
  "v2.relationship_to_permission" => "RelationshipToPermission",
1521
1634
  "v2.relationship_to_permission_data" => "RelationshipToPermissionData",
1522
1635
  "v2.relationship_to_permissions" => "RelationshipToPermissions",
1523
1636
  "v2.relationship_to_role" => "RelationshipToRole",
1524
1637
  "v2.relationship_to_role_data" => "RelationshipToRoleData",
1525
1638
  "v2.relationship_to_roles" => "RelationshipToRoles",
1639
+ "v2.relationship_to_rule" => "RelationshipToRule",
1640
+ "v2.relationship_to_rule_data" => "RelationshipToRuleData",
1641
+ "v2.relationship_to_rule_data_object" => "RelationshipToRuleDataObject",
1526
1642
  "v2.relationship_to_saml_assertion_attribute" => "RelationshipToSAMLAssertionAttribute",
1527
1643
  "v2.relationship_to_saml_assertion_attribute_data" => "RelationshipToSAMLAssertionAttributeData",
1528
1644
  "v2.relationship_to_team_link_data" => "RelationshipToTeamLinkData",
@@ -1577,6 +1693,9 @@ module DatadogAPIClient
1577
1693
  "v2.role_update_request" => "RoleUpdateRequest",
1578
1694
  "v2.role_update_response" => "RoleUpdateResponse",
1579
1695
  "v2.role_update_response_data" => "RoleUpdateResponseData",
1696
+ "v2.rule_attributes" => "RuleAttributes",
1697
+ "v2.rule_outcome_relationships" => "RuleOutcomeRelationships",
1698
+ "v2.rule_type" => "RuleType",
1580
1699
  "v2.rum_aggregate_bucket_value" => "RUMAggregateBucketValue",
1581
1700
  "v2.rum_aggregate_bucket_value_timeseries_point" => "RUMAggregateBucketValueTimeseriesPoint",
1582
1701
  "v2.rum_aggregate_request" => "RUMAggregateRequest",
@@ -1639,6 +1758,7 @@ module DatadogAPIClient
1639
1758
  "v2.scalar_meta" => "ScalarMeta",
1640
1759
  "v2.scalar_query" => "ScalarQuery",
1641
1760
  "v2.scalar_response" => "ScalarResponse",
1761
+ "v2.scorecard_type" => "ScorecardType",
1642
1762
  "v2.security_filter" => "SecurityFilter",
1643
1763
  "v2.security_filter_attributes" => "SecurityFilterAttributes",
1644
1764
  "v2.security_filter_create_attributes" => "SecurityFilterCreateAttributes",
@@ -1832,6 +1952,7 @@ module DatadogAPIClient
1832
1952
  "v2.service_definition_v2_version" => "ServiceDefinitionV2Version",
1833
1953
  "v2.slack_integration_metadata" => "SlackIntegrationMetadata",
1834
1954
  "v2.slack_integration_metadata_channel_item" => "SlackIntegrationMetadataChannelItem",
1955
+ "v2.sort_direction" => "SortDirection",
1835
1956
  "v2.span" => "Span",
1836
1957
  "v2.spans_aggregate_bucket" => "SpansAggregateBucket",
1837
1958
  "v2.spans_aggregate_bucket_attributes" => "SpansAggregateBucketAttributes",
@@ -1891,6 +2012,7 @@ module DatadogAPIClient
1891
2012
  "v2.spans_sort_order" => "SpansSortOrder",
1892
2013
  "v2.spans_type" => "SpansType",
1893
2014
  "v2.spans_warning" => "SpansWarning",
2015
+ "v2.state" => "State",
1894
2016
  "v2.team" => "Team",
1895
2017
  "v2.team_attributes" => "TeamAttributes",
1896
2018
  "v2.team_create" => "TeamCreate",
@@ -1918,6 +2040,7 @@ module DatadogAPIClient
1918
2040
  "v2.team_relationships" => "TeamRelationships",
1919
2041
  "v2.team_relationships_links" => "TeamRelationshipsLinks",
1920
2042
  "v2.team_response" => "TeamResponse",
2043
+ "v2.teams_field" => "TeamsField",
1921
2044
  "v2.teams_response" => "TeamsResponse",
1922
2045
  "v2.teams_response_links" => "TeamsResponseLinks",
1923
2046
  "v2.teams_response_meta" => "TeamsResponseMeta",
@@ -1982,6 +2105,7 @@ module DatadogAPIClient
1982
2105
  "v2.user_update_attributes" => "UserUpdateAttributes",
1983
2106
  "v2.user_update_data" => "UserUpdateData",
1984
2107
  "v2.user_update_request" => "UserUpdateRequest",
2108
+ "v2.widget_live_span" => "WidgetLiveSpan",
1985
2109
  # APIs
1986
2110
  "v1.authentication_api" => "AuthenticationAPI",
1987
2111
  "v1.aws_integration_api" => "AWSIntegrationAPI",
@@ -2023,7 +2147,9 @@ module DatadogAPIClient
2023
2147
  "v2.cloudflare_integration_api" => "CloudflareIntegrationAPI",
2024
2148
  "v2.confluent_cloud_api" => "ConfluentCloudAPI",
2025
2149
  "v2.container_images_api" => "ContainerImagesAPI",
2150
+ "v2.containers_api" => "ContainersAPI",
2026
2151
  "v2.dashboard_lists_api" => "DashboardListsAPI",
2152
+ "v2.dora_metrics_api" => "DORAMetricsAPI",
2027
2153
  "v2.downtimes_api" => "DowntimesAPI",
2028
2154
  "v2.events_api" => "EventsAPI",
2029
2155
  "v2.fastly_integration_api" => "FastlyIntegrationAPI",
@@ -2038,6 +2164,7 @@ module DatadogAPIClient
2038
2164
  "v2.logs_metrics_api" => "LogsMetricsAPI",
2039
2165
  "v2.metrics_api" => "MetricsAPI",
2040
2166
  "v2.monitors_api" => "MonitorsAPI",
2167
+ "v2.okta_integration_api" => "OktaIntegrationAPI",
2041
2168
  "v2.opsgenie_integration_api" => "OpsgenieIntegrationAPI",
2042
2169
  "v2.organizations_api" => "OrganizationsAPI",
2043
2170
  "v2.powerpack_api" => "PowerpackAPI",
@@ -2049,6 +2176,7 @@ module DatadogAPIClient
2049
2176
  "v2.sensitive_data_scanner_api" => "SensitiveDataScannerAPI",
2050
2177
  "v2.service_accounts_api" => "ServiceAccountsAPI",
2051
2178
  "v2.service_definition_api" => "ServiceDefinitionAPI",
2179
+ "v2.service_scorecards_api" => "ServiceScorecardsAPI",
2052
2180
  "v2.spans_api" => "SpansAPI",
2053
2181
  "v2.spans_metrics_api" => "SpansMetricsAPI",
2054
2182
  "v2.synthetics_api" => "SyntheticsAPI",
@@ -93,6 +93,73 @@ module DatadogAPIClient::V1
93
93
  return data, status_code, headers
94
94
  end
95
95
 
96
+ # Create an Amazon EventBridge source.
97
+ #
98
+ # @see #create_aws_event_bridge_source_with_http_info
99
+ def create_aws_event_bridge_source(body, opts = {})
100
+ data, _status_code, _headers = create_aws_event_bridge_source_with_http_info(body, opts)
101
+ data
102
+ end
103
+
104
+ # Create an Amazon EventBridge source.
105
+ #
106
+ # Create an Amazon EventBridge source.
107
+ #
108
+ # @param body [AWSEventBridgeCreateRequest] Create an Amazon EventBridge source for an AWS account with a given name and region.
109
+ # @param opts [Hash] the optional parameters
110
+ # @return [Array<(AWSEventBridgeCreateResponse, Integer, Hash)>] AWSEventBridgeCreateResponse data, response status code and response headers
111
+ def create_aws_event_bridge_source_with_http_info(body, opts = {})
112
+
113
+ if @api_client.config.debugging
114
+ @api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.create_aws_event_bridge_source ...'
115
+ end
116
+ # verify the required parameter 'body' is set
117
+ if @api_client.config.client_side_validation && body.nil?
118
+ fail ArgumentError, "Missing the required parameter 'body' when calling AWSIntegrationAPI.create_aws_event_bridge_source"
119
+ end
120
+ # resource path
121
+ local_var_path = '/api/v1/integration/aws/event_bridge'
122
+
123
+ # query parameters
124
+ query_params = opts[:query_params] || {}
125
+
126
+ # header parameters
127
+ header_params = opts[:header_params] || {}
128
+ # HTTP header 'Accept' (if needed)
129
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
130
+ # HTTP header 'Content-Type'
131
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
132
+
133
+ # form parameters
134
+ form_params = opts[:form_params] || {}
135
+
136
+ # http body (model)
137
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
138
+
139
+ # return_type
140
+ return_type = opts[:debug_return_type] || 'AWSEventBridgeCreateResponse'
141
+
142
+ # auth_names
143
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
144
+
145
+ new_options = opts.merge(
146
+ :operation => :create_aws_event_bridge_source,
147
+ :header_params => header_params,
148
+ :query_params => query_params,
149
+ :form_params => form_params,
150
+ :body => post_body,
151
+ :auth_names => auth_names,
152
+ :return_type => return_type,
153
+ :api_version => "V1"
154
+ )
155
+
156
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
157
+ if @api_client.config.debugging
158
+ @api_client.config.logger.debug "API called: AWSIntegrationAPI#create_aws_event_bridge_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
159
+ end
160
+ return data, status_code, headers
161
+ end
162
+
96
163
  # Set an AWS tag filter.
97
164
  #
98
165
  # @see #create_aws_tag_filter_with_http_info
@@ -294,6 +361,73 @@ module DatadogAPIClient::V1
294
361
  return data, status_code, headers
295
362
  end
296
363
 
364
+ # Delete an Amazon EventBridge source.
365
+ #
366
+ # @see #delete_aws_event_bridge_source_with_http_info
367
+ def delete_aws_event_bridge_source(body, opts = {})
368
+ data, _status_code, _headers = delete_aws_event_bridge_source_with_http_info(body, opts)
369
+ data
370
+ end
371
+
372
+ # Delete an Amazon EventBridge source.
373
+ #
374
+ # Delete an Amazon EventBridge source.
375
+ #
376
+ # @param body [AWSEventBridgeDeleteRequest] Delete the Amazon EventBridge source with the given name, region, and associated AWS account.
377
+ # @param opts [Hash] the optional parameters
378
+ # @return [Array<(AWSEventBridgeDeleteResponse, Integer, Hash)>] AWSEventBridgeDeleteResponse data, response status code and response headers
379
+ def delete_aws_event_bridge_source_with_http_info(body, opts = {})
380
+
381
+ if @api_client.config.debugging
382
+ @api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.delete_aws_event_bridge_source ...'
383
+ end
384
+ # verify the required parameter 'body' is set
385
+ if @api_client.config.client_side_validation && body.nil?
386
+ fail ArgumentError, "Missing the required parameter 'body' when calling AWSIntegrationAPI.delete_aws_event_bridge_source"
387
+ end
388
+ # resource path
389
+ local_var_path = '/api/v1/integration/aws/event_bridge'
390
+
391
+ # query parameters
392
+ query_params = opts[:query_params] || {}
393
+
394
+ # header parameters
395
+ header_params = opts[:header_params] || {}
396
+ # HTTP header 'Accept' (if needed)
397
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
398
+ # HTTP header 'Content-Type'
399
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
400
+
401
+ # form parameters
402
+ form_params = opts[:form_params] || {}
403
+
404
+ # http body (model)
405
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
406
+
407
+ # return_type
408
+ return_type = opts[:debug_return_type] || 'AWSEventBridgeDeleteResponse'
409
+
410
+ # auth_names
411
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
412
+
413
+ new_options = opts.merge(
414
+ :operation => :delete_aws_event_bridge_source,
415
+ :header_params => header_params,
416
+ :query_params => query_params,
417
+ :form_params => form_params,
418
+ :body => post_body,
419
+ :auth_names => auth_names,
420
+ :return_type => return_type,
421
+ :api_version => "V1"
422
+ )
423
+
424
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
425
+ if @api_client.config.debugging
426
+ @api_client.config.logger.debug "API called: AWSIntegrationAPI#delete_aws_event_bridge_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
427
+ end
428
+ return data, status_code, headers
429
+ end
430
+
297
431
  # Delete a tag filtering entry.
298
432
  #
299
433
  # @see #delete_aws_tag_filter_with_http_info
@@ -487,6 +621,66 @@ module DatadogAPIClient::V1
487
621
  return data, status_code, headers
488
622
  end
489
623
 
624
+ # Get all Amazon EventBridge sources.
625
+ #
626
+ # @see #list_aws_event_bridge_sources_with_http_info
627
+ def list_aws_event_bridge_sources(opts = {})
628
+ data, _status_code, _headers = list_aws_event_bridge_sources_with_http_info(opts)
629
+ data
630
+ end
631
+
632
+ # Get all Amazon EventBridge sources.
633
+ #
634
+ # Get all Amazon EventBridge sources.
635
+ #
636
+ # @param opts [Hash] the optional parameters
637
+ # @return [Array<(AWSEventBridgeListResponse, Integer, Hash)>] AWSEventBridgeListResponse data, response status code and response headers
638
+ def list_aws_event_bridge_sources_with_http_info(opts = {})
639
+
640
+ if @api_client.config.debugging
641
+ @api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.list_aws_event_bridge_sources ...'
642
+ end
643
+ # resource path
644
+ local_var_path = '/api/v1/integration/aws/event_bridge'
645
+
646
+ # query parameters
647
+ query_params = opts[:query_params] || {}
648
+
649
+ # header parameters
650
+ header_params = opts[:header_params] || {}
651
+ # HTTP header 'Accept' (if needed)
652
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
653
+
654
+ # form parameters
655
+ form_params = opts[:form_params] || {}
656
+
657
+ # http body (model)
658
+ post_body = opts[:debug_body]
659
+
660
+ # return_type
661
+ return_type = opts[:debug_return_type] || 'AWSEventBridgeListResponse'
662
+
663
+ # auth_names
664
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
665
+
666
+ new_options = opts.merge(
667
+ :operation => :list_aws_event_bridge_sources,
668
+ :header_params => header_params,
669
+ :query_params => query_params,
670
+ :form_params => form_params,
671
+ :body => post_body,
672
+ :auth_names => auth_names,
673
+ :return_type => return_type,
674
+ :api_version => "V1"
675
+ )
676
+
677
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
678
+ if @api_client.config.debugging
679
+ @api_client.config.logger.debug "API called: AWSIntegrationAPI#list_aws_event_bridge_sources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
680
+ end
681
+ return data, status_code, headers
682
+ end
683
+
490
684
  # Get all AWS tag filters.
491
685
  #
492
686
  # @see #list_aws_tag_filters_with_http_info
@@ -175,7 +175,7 @@ module DatadogAPIClient::V1
175
175
 
176
176
  # Mute a host.
177
177
  #
178
- # Mute a host.
178
+ # Mute a host. **Note:** This creates a [Downtime V2](https://docs.datadoghq.com/api/latest/downtimes/#schedule-a-downtime) for the host.
179
179
  #
180
180
  # @param host_name [String] Name of the host to mute.
181
181
  # @param body [HostMuteSettings] Mute a host request body.
@@ -127,7 +127,9 @@ module DatadogAPIClient::V1
127
127
  # - error-tracking: `error-tracking alert`
128
128
  # - database-monitoring: `database-monitoring alert`
129
129
  #
130
- # **Note**: Synthetic monitors are created through the Synthetics API. See the [Synthetics API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information.
130
+ # **Notes**:
131
+ # - Synthetic monitors are created through the Synthetics API. See the [Synthetics API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information.
132
+ # - Log monitors require an unscoped App Key.
131
133
  #
132
134
  # #### Query Types
133
135
  #
@@ -864,6 +866,8 @@ module DatadogAPIClient::V1
864
866
  #
865
867
  # Validate the monitor provided in the request.
866
868
  #
869
+ # **Note**: Log monitors require an unscoped App Key.
870
+ #
867
871
  # @param body [Monitor] Monitor request object
868
872
  # @param opts [Hash] the optional parameters
869
873
  # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers