Struct aws_sdk_appflow::client::fluent_builders::DescribeConnectors
source · [−]pub struct DescribeConnectors { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeConnectors
.
Describes the connectors vended by Amazon AppFlow for specified connector types. If you don't specify a connector type, this operation describes all connectors vended by Amazon AppFlow. If there are more connectors than can be returned in one page, the response contains a nextToken
object, which can be be passed in to the next call to the DescribeConnectors
API operation to retrieve the next page.
Implementations
sourceimpl DescribeConnectors
impl DescribeConnectors
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeConnectors, AwsResponseRetryClassifier>, SdkError<DescribeConnectorsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeConnectors, AwsResponseRetryClassifier>, SdkError<DescribeConnectorsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeConnectorsOutput, SdkError<DescribeConnectorsError>>
pub async fn send(
self
) -> Result<DescribeConnectorsOutput, SdkError<DescribeConnectorsError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> DescribeConnectorsPaginator
pub fn into_paginator(self) -> DescribeConnectorsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn connector_types(self, input: ConnectorType) -> Self
pub fn connector_types(self, input: ConnectorType) -> Self
Appends an item to connectorTypes
.
To override the contents of this collection use set_connector_types
.
The type of connector, such as Salesforce, Amplitude, and so on.
sourcepub fn set_connector_types(self, input: Option<Vec<ConnectorType>>) -> Self
pub fn set_connector_types(self, input: Option<Vec<ConnectorType>>) -> Self
The type of connector, such as Salesforce, Amplitude, and so on.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items that should be returned in the result set. The default is 20.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items that should be returned in the result set. The default is 20.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token for the next page of data.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token for the next page of data.
Trait Implementations
sourceimpl Clone for DescribeConnectors
impl Clone for DescribeConnectors
sourcefn clone(&self) -> DescribeConnectors
fn clone(&self) -> DescribeConnectors
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more