@@ -120,9 +120,11 @@ namespace PrometheusService
120120 }
121121
122122 /* *
123- * <p>The <code>CreateLoggingConfiguration</code> operation creates a logging
124- * configuration for the workspace. Use this operation to set the CloudWatch log
125- * group to which the logs will be published to.</p><p><h3>See Also:</h3> <a
123+ * <p>The <code>CreateLoggingConfiguration</code> operation creates rules and
124+ * alerting logging configuration for the workspace. Use this operation to set the
125+ * CloudWatch log group to which the logs will be published to.</p> <p>These
126+ * logging configurations are only for rules and alerting logs.</p>
127+ * <p><h3>See Also:</h3> <a
126128 * href="http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateLoggingConfiguration">AWS
127129 * API Reference</a></p>
128130 */
@@ -146,6 +148,33 @@ namespace PrometheusService
146148 return SubmitAsync (&PrometheusServiceClient::CreateLoggingConfiguration, request, handler, context);
147149 }
148150
151+ /* *
152+ * <p>Creates a query logging configuration for the specified workspace. This
153+ * operation enables logging of queries that exceed the specified QSP
154+ * threshold.</p><p><h3>See Also:</h3> <a
155+ * href="http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateQueryLoggingConfiguration">AWS
156+ * API Reference</a></p>
157+ */
158+ virtual Model::CreateQueryLoggingConfigurationOutcome CreateQueryLoggingConfiguration (const Model::CreateQueryLoggingConfigurationRequest& request) const ;
159+
160+ /* *
161+ * A Callable wrapper for CreateQueryLoggingConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
162+ */
163+ template <typename CreateQueryLoggingConfigurationRequestT = Model::CreateQueryLoggingConfigurationRequest>
164+ Model::CreateQueryLoggingConfigurationOutcomeCallable CreateQueryLoggingConfigurationCallable (const CreateQueryLoggingConfigurationRequestT& request) const
165+ {
166+ return SubmitCallable (&PrometheusServiceClient::CreateQueryLoggingConfiguration, request);
167+ }
168+
169+ /* *
170+ * An Async wrapper for CreateQueryLoggingConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
171+ */
172+ template <typename CreateQueryLoggingConfigurationRequestT = Model::CreateQueryLoggingConfigurationRequest>
173+ void CreateQueryLoggingConfigurationAsync (const CreateQueryLoggingConfigurationRequestT& request, const CreateQueryLoggingConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
174+ {
175+ return SubmitAsync (&PrometheusServiceClient::CreateQueryLoggingConfiguration, request, handler, context);
176+ }
177+
149178 /* *
150179 * <p>The <code>CreateRuleGroupsNamespace</code> operation creates a rule groups
151180 * namespace within a workspace. A rule groups namespace is associated with exactly
@@ -189,9 +218,13 @@ namespace PrometheusService
189218 * href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup">Configuring
190219 * your Amazon EKS cluster</a> in the <i>Amazon Managed Service for Prometheus User
191220 * Guide</i>.</p> <p>The <code>scrapeConfiguration</code> parameter contains the
192- * base-64 encoded YAML configuration for the scraper.</p> <p>For more
193- * information about collectors, including what metrics are collected, and how to
194- * configure the scraper, see <a
221+ * base-64 encoded YAML configuration for the scraper.</p> <p>When creating a
222+ * scraper, the service creates a <code>Network Interface</code> in each
223+ * <b>Availability Zone</b> that are passed into <code>CreateScraper</code> through
224+ * subnets. These network interfaces are used to connect to the Amazon EKS cluster
225+ * within the VPC for scraping metrics.</p> <p>For more information about
226+ * collectors, including what metrics are collected, and how to configure the
227+ * scraper, see <a
195228 * href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html">Using
196229 * an Amazon Web Services managed collector</a> in the <i>Amazon Managed Service
197230 * for Prometheus User Guide</i>.</p> <p><h3>See Also:</h3> <a
@@ -272,8 +305,9 @@ namespace PrometheusService
272305 }
273306
274307 /* *
275- * <p>Deletes the logging configuration for a workspace.</p><p><h3>See Also:</h3>
276- * <a
308+ * <p>Deletes the rules and alerting logging configuration for a workspace.</p>
309+ * <p>These logging configurations are only for rules and alerting logs.</p>
310+ * <p><h3>See Also:</h3> <a
277311 * href="http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteLoggingConfiguration">AWS
278312 * API Reference</a></p>
279313 */
@@ -297,6 +331,32 @@ namespace PrometheusService
297331 return SubmitAsync (&PrometheusServiceClient::DeleteLoggingConfiguration, request, handler, context);
298332 }
299333
334+ /* *
335+ * <p>Deletes the query logging configuration for the specified
336+ * workspace.</p><p><h3>See Also:</h3> <a
337+ * href="http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteQueryLoggingConfiguration">AWS
338+ * API Reference</a></p>
339+ */
340+ virtual Model::DeleteQueryLoggingConfigurationOutcome DeleteQueryLoggingConfiguration (const Model::DeleteQueryLoggingConfigurationRequest& request) const ;
341+
342+ /* *
343+ * A Callable wrapper for DeleteQueryLoggingConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
344+ */
345+ template <typename DeleteQueryLoggingConfigurationRequestT = Model::DeleteQueryLoggingConfigurationRequest>
346+ Model::DeleteQueryLoggingConfigurationOutcomeCallable DeleteQueryLoggingConfigurationCallable (const DeleteQueryLoggingConfigurationRequestT& request) const
347+ {
348+ return SubmitCallable (&PrometheusServiceClient::DeleteQueryLoggingConfiguration, request);
349+ }
350+
351+ /* *
352+ * An Async wrapper for DeleteQueryLoggingConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
353+ */
354+ template <typename DeleteQueryLoggingConfigurationRequestT = Model::DeleteQueryLoggingConfigurationRequest>
355+ void DeleteQueryLoggingConfigurationAsync (const DeleteQueryLoggingConfigurationRequestT& request, const DeleteQueryLoggingConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
356+ {
357+ return SubmitAsync (&PrometheusServiceClient::DeleteQueryLoggingConfiguration, request, handler, context);
358+ }
359+
300360 /* *
301361 * <p>Deletes one rule groups namespace and its associated rule groups
302362 * definition.</p><p><h3>See Also:</h3> <a
@@ -403,8 +463,9 @@ namespace PrometheusService
403463 }
404464
405465 /* *
406- * <p>Returns complete information about the current logging configuration of the
407- * workspace.</p><p><h3>See Also:</h3> <a
466+ * <p>Returns complete information about the current rules and alerting logging
467+ * configuration of the workspace.</p> <p>These logging configurations are
468+ * only for rules and alerting logs.</p> <p><h3>See Also:</h3> <a
408469 * href="http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeLoggingConfiguration">AWS
409470 * API Reference</a></p>
410471 */
@@ -428,6 +489,32 @@ namespace PrometheusService
428489 return SubmitAsync (&PrometheusServiceClient::DescribeLoggingConfiguration, request, handler, context);
429490 }
430491
492+ /* *
493+ * <p>Retrieves the details of the query logging configuration for the specified
494+ * workspace.</p><p><h3>See Also:</h3> <a
495+ * href="http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeQueryLoggingConfiguration">AWS
496+ * API Reference</a></p>
497+ */
498+ virtual Model::DescribeQueryLoggingConfigurationOutcome DescribeQueryLoggingConfiguration (const Model::DescribeQueryLoggingConfigurationRequest& request) const ;
499+
500+ /* *
501+ * A Callable wrapper for DescribeQueryLoggingConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
502+ */
503+ template <typename DescribeQueryLoggingConfigurationRequestT = Model::DescribeQueryLoggingConfigurationRequest>
504+ Model::DescribeQueryLoggingConfigurationOutcomeCallable DescribeQueryLoggingConfigurationCallable (const DescribeQueryLoggingConfigurationRequestT& request) const
505+ {
506+ return SubmitCallable (&PrometheusServiceClient::DescribeQueryLoggingConfiguration, request);
507+ }
508+
509+ /* *
510+ * An Async wrapper for DescribeQueryLoggingConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
511+ */
512+ template <typename DescribeQueryLoggingConfigurationRequestT = Model::DescribeQueryLoggingConfigurationRequest>
513+ void DescribeQueryLoggingConfigurationAsync (const DescribeQueryLoggingConfigurationRequestT& request, const DescribeQueryLoggingConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
514+ {
515+ return SubmitAsync (&PrometheusServiceClient::DescribeQueryLoggingConfiguration, request, handler, context);
516+ }
517+
431518 /* *
432519 * <p>Returns complete information about one rule groups namespace. To retrieve a
433520 * list of rule groups namespaces, use
@@ -787,8 +874,9 @@ namespace PrometheusService
787874 }
788875
789876 /* *
790- * <p>Updates the log group ARN or the workspace ID of the current logging
791- * configuration.</p><p><h3>See Also:</h3> <a
877+ * <p>Updates the log group ARN or the workspace ID of the current rules and
878+ * alerting logging configuration.</p> <p>These logging configurations are
879+ * only for rules and alerting logs.</p> <p><h3>See Also:</h3> <a
792880 * href="http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateLoggingConfiguration">AWS
793881 * API Reference</a></p>
794882 */
@@ -812,6 +900,32 @@ namespace PrometheusService
812900 return SubmitAsync (&PrometheusServiceClient::UpdateLoggingConfiguration, request, handler, context);
813901 }
814902
903+ /* *
904+ * <p>Updates the query logging configuration for the specified
905+ * workspace.</p><p><h3>See Also:</h3> <a
906+ * href="http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateQueryLoggingConfiguration">AWS
907+ * API Reference</a></p>
908+ */
909+ virtual Model::UpdateQueryLoggingConfigurationOutcome UpdateQueryLoggingConfiguration (const Model::UpdateQueryLoggingConfigurationRequest& request) const ;
910+
911+ /* *
912+ * A Callable wrapper for UpdateQueryLoggingConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
913+ */
914+ template <typename UpdateQueryLoggingConfigurationRequestT = Model::UpdateQueryLoggingConfigurationRequest>
915+ Model::UpdateQueryLoggingConfigurationOutcomeCallable UpdateQueryLoggingConfigurationCallable (const UpdateQueryLoggingConfigurationRequestT& request) const
916+ {
917+ return SubmitCallable (&PrometheusServiceClient::UpdateQueryLoggingConfiguration, request);
918+ }
919+
920+ /* *
921+ * An Async wrapper for UpdateQueryLoggingConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
922+ */
923+ template <typename UpdateQueryLoggingConfigurationRequestT = Model::UpdateQueryLoggingConfigurationRequest>
924+ void UpdateQueryLoggingConfigurationAsync (const UpdateQueryLoggingConfigurationRequestT& request, const UpdateQueryLoggingConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
925+ {
926+ return SubmitAsync (&PrometheusServiceClient::UpdateQueryLoggingConfiguration, request, handler, context);
927+ }
928+
815929 /* *
816930 * <p>Updates an existing scraper.</p> <p>You can't use this function to update the
817931 * source from which the scraper is collecting metrics. To change the source,
0 commit comments