aws_sdk_devopsguru/client/get_resource_collection.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 [`GetResourceCollection`](crate::operation::get_resource_collection::builders::GetResourceCollectionFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_resource_collection::builders::GetResourceCollectionFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`resource_collection_type(ResourceCollectionType)`](crate::operation::get_resource_collection::builders::GetResourceCollectionFluentBuilder::resource_collection_type) / [`set_resource_collection_type(Option<ResourceCollectionType>)`](crate::operation::get_resource_collection::builders::GetResourceCollectionFluentBuilder::set_resource_collection_type):<br>required: **true**<br><p>The type of Amazon Web Services resource collections to return. The one valid value is <code>CLOUD_FORMATION</code> for Amazon Web Services CloudFormation stacks.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::get_resource_collection::builders::GetResourceCollectionFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_resource_collection::builders::GetResourceCollectionFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p><br>
9 /// - On success, responds with [`GetResourceCollectionOutput`](crate::operation::get_resource_collection::GetResourceCollectionOutput) with field(s):
10 /// - [`resource_collection(Option<ResourceCollectionFilter>)`](crate::operation::get_resource_collection::GetResourceCollectionOutput::resource_collection): <p>The requested list of Amazon Web Services resource collections. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag <i>key</i>. You can specify up to 500 Amazon Web Services CloudFormation stacks.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::get_resource_collection::GetResourceCollectionOutput::next_token): <p>The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
12 /// - On failure, responds with [`SdkError<GetResourceCollectionError>`](crate::operation::get_resource_collection::GetResourceCollectionError)
13 pub fn get_resource_collection(&self) -> crate::operation::get_resource_collection::builders::GetResourceCollectionFluentBuilder {
14 crate::operation::get_resource_collection::builders::GetResourceCollectionFluentBuilder::new(self.handle.clone())
15 }
16}