aws_sdk_mediapackage/client/
delete_origin_endpoint.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteOriginEndpoint`](crate::operation::delete_origin_endpoint::builders::DeleteOriginEndpointFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::delete_origin_endpoint::builders::DeleteOriginEndpointFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_origin_endpoint::builders::DeleteOriginEndpointFluentBuilder::set_id):<br>required: **true**<br>The ID of the OriginEndpoint to delete.<br>
    /// - On success, responds with [`DeleteOriginEndpointOutput`](crate::operation::delete_origin_endpoint::DeleteOriginEndpointOutput)
    /// - On failure, responds with [`SdkError<DeleteOriginEndpointError>`](crate::operation::delete_origin_endpoint::DeleteOriginEndpointError)
    pub fn delete_origin_endpoint(&self) -> crate::operation::delete_origin_endpoint::builders::DeleteOriginEndpointFluentBuilder {
        crate::operation::delete_origin_endpoint::builders::DeleteOriginEndpointFluentBuilder::new(self.handle.clone())
    }
}