aws_sdk_cloudfront/client/list_distributions_by_owned_resource.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 [`ListDistributionsByOwnedResource`](crate::operation::list_distributions_by_owned_resource::builders::ListDistributionsByOwnedResourceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_arn(impl Into<String>)`](crate::operation::list_distributions_by_owned_resource::builders::ListDistributionsByOwnedResourceFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::list_distributions_by_owned_resource::builders::ListDistributionsByOwnedResourceFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The ARN of the CloudFront resource that you've shared with other Amazon Web Services accounts.</p><br>
7 /// - [`marker(impl Into<String>)`](crate::operation::list_distributions_by_owned_resource::builders::ListDistributionsByOwnedResourceFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_distributions_by_owned_resource::builders::ListDistributionsByOwnedResourceFluentBuilder::set_marker):<br>required: **false**<br><p>Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of <code>NextMarker</code> from the current page's response.</p><br>
8 /// - [`max_items(i32)`](crate::operation::list_distributions_by_owned_resource::builders::ListDistributionsByOwnedResourceFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_distributions_by_owned_resource::builders::ListDistributionsByOwnedResourceFluentBuilder::set_max_items):<br>required: **false**<br><p>The maximum number of distributions to return.</p><br>
9 /// - On success, responds with [`ListDistributionsByOwnedResourceOutput`](crate::operation::list_distributions_by_owned_resource::ListDistributionsByOwnedResourceOutput) with field(s):
10 /// - [`distribution_list(Option<DistributionIdOwnerList>)`](crate::operation::list_distributions_by_owned_resource::ListDistributionsByOwnedResourceOutput::distribution_list): <p>The list of distributions that are using the shared resource.</p>
11 /// - On failure, responds with [`SdkError<ListDistributionsByOwnedResourceError>`](crate::operation::list_distributions_by_owned_resource::ListDistributionsByOwnedResourceError)
12 pub fn list_distributions_by_owned_resource(
13 &self,
14 ) -> crate::operation::list_distributions_by_owned_resource::builders::ListDistributionsByOwnedResourceFluentBuilder {
15 crate::operation::list_distributions_by_owned_resource::builders::ListDistributionsByOwnedResourceFluentBuilder::new(self.handle.clone())
16 }
17}