aws_sdk_cloudwatchlogs/client/
list_integrations.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 [`ListIntegrations`](crate::operation::list_integrations::builders::ListIntegrationsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`integration_name_prefix(impl Into<String>)`](crate::operation::list_integrations::builders::ListIntegrationsFluentBuilder::integration_name_prefix) / [`set_integration_name_prefix(Option<String>)`](crate::operation::list_integrations::builders::ListIntegrationsFluentBuilder::set_integration_name_prefix):<br>required: **false**<br><p>To limit the results to integrations that start with a certain name prefix, specify that name prefix here.</p><br>
7    ///   - [`integration_type(IntegrationType)`](crate::operation::list_integrations::builders::ListIntegrationsFluentBuilder::integration_type) / [`set_integration_type(Option<IntegrationType>)`](crate::operation::list_integrations::builders::ListIntegrationsFluentBuilder::set_integration_type):<br>required: **false**<br><p>To limit the results to integrations of a certain type, specify that type here.</p><br>
8    ///   - [`integration_status(IntegrationStatus)`](crate::operation::list_integrations::builders::ListIntegrationsFluentBuilder::integration_status) / [`set_integration_status(Option<IntegrationStatus>)`](crate::operation::list_integrations::builders::ListIntegrationsFluentBuilder::set_integration_status):<br>required: **false**<br><p>To limit the results to integrations with a certain status, specify that status here.</p><br>
9    /// - On success, responds with [`ListIntegrationsOutput`](crate::operation::list_integrations::ListIntegrationsOutput) with field(s):
10    ///   - [`integration_summaries(Option<Vec::<IntegrationSummary>>)`](crate::operation::list_integrations::ListIntegrationsOutput::integration_summaries): <p>An array, where each object in the array contains information about one CloudWatch Logs integration in this account.</p>
11    /// - On failure, responds with [`SdkError<ListIntegrationsError>`](crate::operation::list_integrations::ListIntegrationsError)
12    pub fn list_integrations(&self) -> crate::operation::list_integrations::builders::ListIntegrationsFluentBuilder {
13        crate::operation::list_integrations::builders::ListIntegrationsFluentBuilder::new(self.handle.clone())
14    }
15}