aws_sdk_redshift/client/describe_endpoint_authorization.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 [`DescribeEndpointAuthorization`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`cluster_identifier(impl Into<String>)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::set_cluster_identifier):<br>required: **false**<br><p>The cluster identifier of the cluster to access.</p><br>
8 /// - [`account(impl Into<String>)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::account) / [`set_account(Option<String>)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::set_account):<br>required: **false**<br><p>The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If <code>Grantee</code> parameter is true, then the <code>Account</code> value is of the grantor.</p><br>
9 /// - [`grantee(bool)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::grantee) / [`set_grantee(Option<bool>)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::set_grantee):<br>required: **false**<br><p>Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.</p><br>
10 /// - [`max_records(i32)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::set_max_records):<br>required: **false**<br><p>The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a <code>Marker</code> is included in the response so that the remaining results can be retrieved.</p><br>
11 /// - [`marker(impl Into<String>)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::set_marker):<br>required: **false**<br><p>An optional pagination token provided by a previous <code>DescribeEndpointAuthorization</code> request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the <code>MaxRecords</code> parameter.</p><br>
12 /// - On success, responds with [`DescribeEndpointAuthorizationOutput`](crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationOutput) with field(s):
13 /// - [`endpoint_authorization_list(Option<Vec::<EndpointAuthorization>>)`](crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationOutput::endpoint_authorization_list): <p>The authorizations to an endpoint.</p>
14 /// - [`marker(Option<String>)`](crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationOutput::marker): <p>An optional pagination token provided by a previous <code>DescribeEndpointAuthorization</code> request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the <code>MaxRecords</code> parameter.</p>
15 /// - On failure, responds with [`SdkError<DescribeEndpointAuthorizationError>`](crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError)
16 pub fn describe_endpoint_authorization(
17 &self,
18 ) -> crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder {
19 crate::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder::new(self.handle.clone())
20 }
21}