aws-sdk-mediaconvert 1.85.0

AWS SDK for AWS Elemental MediaConvert
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeEndpoints`](crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder::set_max_results):<br>required: **false**<br>Optional. Max number of endpoints, up to twenty, that will be returned at one time.<br>
    ///   - [`mode(DescribeEndpointsMode)`](crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder::mode) / [`set_mode(Option<DescribeEndpointsMode>)`](crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder::set_mode):<br>required: **false**<br>Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.<br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder::set_next_token):<br>required: **false**<br>Use this string, provided with the response to a previous request, to request the next batch of endpoints.<br>
    /// - On success, responds with [`DescribeEndpointsOutput`](crate::operation::describe_endpoints::DescribeEndpointsOutput) with field(s):
    ///   - [`endpoints(Option<Vec::<Endpoint>>)`](crate::operation::describe_endpoints::DescribeEndpointsOutput::endpoints): List of endpoints
    ///   - [`next_token(Option<String>)`](crate::operation::describe_endpoints::DescribeEndpointsOutput::next_token): Use this string to request the next batch of endpoints.
    /// - On failure, responds with [`SdkError<DescribeEndpointsError>`](crate::operation::describe_endpoints::DescribeEndpointsError)
    #[deprecated(
        note = "DescribeEndpoints and account specific endpoints are no longer required. We recommend that you send your requests directly to the regional endpoint instead."
    )]
    pub fn describe_endpoints(&self) -> crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder {
        crate::operation::describe_endpoints::builders::DescribeEndpointsFluentBuilder::new(self.handle.clone())
    }
}