aws_sdk_cloudwatchlogs/client/
describe_configuration_templates.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeConfigurationTemplates`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DescribeConfigurationTemplatesOutput`](crate::operation::describe_configuration_templates::DescribeConfigurationTemplatesOutput) with field(s):
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<DescribeConfigurationTemplatesError>`](crate::operation::describe_configuration_templates::DescribeConfigurationTemplatesError)
    pub fn describe_configuration_templates(
        &self,
    ) -> crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder {
        crate::operation::describe_configuration_templates::builders::DescribeConfigurationTemplatesFluentBuilder::new(self.handle.clone())
    }
}