aws_sdk_cloudwatchlogs/client/describe_configuration_templates.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DescribeConfigurationTemplates`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`service(impl Into<String>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::service) / [`set_service(Option<String>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::set_service):<br>required: **false**<br><p>Use this parameter to filter the response to include only the configuration templates that apply to the Amazon Web Services service that you specify here.</p><br>
8 /// - [`log_types(impl Into<String>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::log_types) / [`set_log_types(Option<Vec::<String>>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::set_log_types):<br>required: **false**<br><p>Use this parameter to filter the response to include only the configuration templates that apply to the log types that you specify here.</p><br>
9 /// - [`resource_types(impl Into<String>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::resource_types) / [`set_resource_types(Option<Vec::<String>>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::set_resource_types):<br>required: **false**<br><p>Use this parameter to filter the response to include only the configuration templates that apply to the resource types that you specify here.</p><br>
10 /// - [`delivery_destination_types(DeliveryDestinationType)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::delivery_destination_types) / [`set_delivery_destination_types(Option<Vec::<DeliveryDestinationType>>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::set_delivery_destination_types):<br>required: **false**<br><p>Use this parameter to filter the response to include only the configuration templates that apply to the delivery destination types that you specify here.</p><br>
11 /// - [`next_token(impl Into<String>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. The token expires after 24 hours.</p><br>
12 /// - [`limit(i32)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::set_limit):<br>required: **false**<br><p>Use this parameter to limit the number of configuration templates that are returned in the response.</p><br>
13 /// - On success, responds with [`DescribeConfigurationTemplatesOutput`](crate::operation::describe_configuration_templates::DescribeConfigurationTemplatesOutput) with field(s):
14 /// - [`configuration_templates(Option<Vec::<ConfigurationTemplate>>)`](crate::operation::describe_configuration_templates::DescribeConfigurationTemplatesOutput::configuration_templates): <p>An array of objects, where each object describes one configuration template that matches the filters that you specified in the request.</p>
15 /// - [`next_token(Option<String>)`](crate::operation::describe_configuration_templates::DescribeConfigurationTemplatesOutput::next_token): <p>The token for the next set of items to return. The token expires after 24 hours.</p>
16 /// - On failure, responds with [`SdkError<DescribeConfigurationTemplatesError>`](crate::operation::describe_configuration_templates::DescribeConfigurationTemplatesError)
17 pub fn describe_configuration_templates(
18 &self,
19 ) -> crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder {
20 crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::new(self.handle.clone())
21 }
22}