aws_sdk_cloudfront/client/
list_key_groups.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 [`ListKeyGroups`](crate::operation::list_key_groups::builders::ListKeyGroupsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`marker(impl Into<String>)`](crate::operation::list_key_groups::builders::ListKeyGroupsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_key_groups::builders::ListKeyGroupsFluentBuilder::set_marker):<br>required: **false**<br><p>Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups 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>
7    ///   - [`max_items(i32)`](crate::operation::list_key_groups::builders::ListKeyGroupsFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_key_groups::builders::ListKeyGroupsFluentBuilder::set_max_items):<br>required: **false**<br><p>The maximum number of key groups that you want in the response.</p><br>
8    /// - On success, responds with [`ListKeyGroupsOutput`](crate::operation::list_key_groups::ListKeyGroupsOutput) with field(s):
9    ///   - [`key_group_list(Option<KeyGroupList>)`](crate::operation::list_key_groups::ListKeyGroupsOutput::key_group_list): <p>A list of key groups.</p>
10    /// - On failure, responds with [`SdkError<ListKeyGroupsError>`](crate::operation::list_key_groups::ListKeyGroupsError)
11    pub fn list_key_groups(&self) -> crate::operation::list_key_groups::builders::ListKeyGroupsFluentBuilder {
12        crate::operation::list_key_groups::builders::ListKeyGroupsFluentBuilder::new(self.handle.clone())
13    }
14}