aws_sdk_mediapackage/client/update_origin_endpoint.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 [`UpdateOriginEndpoint`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`authorization(Authorization)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::authorization) / [`set_authorization(Option<Authorization>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_authorization):<br>required: **false**<br>CDN Authorization credentials<br>
7 /// - [`cmaf_package(CmafPackageCreateOrUpdateParameters)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::cmaf_package) / [`set_cmaf_package(Option<CmafPackageCreateOrUpdateParameters>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_cmaf_package):<br>required: **false**<br>A Common Media Application Format (CMAF) packaging configuration.<br>
8 /// - [`dash_package(DashPackage)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::dash_package) / [`set_dash_package(Option<DashPackage>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_dash_package):<br>required: **false**<br>A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.<br>
9 /// - [`description(impl Into<String>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_description):<br>required: **false**<br>A short text description of the OriginEndpoint.<br>
10 /// - [`hls_package(HlsPackage)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::hls_package) / [`set_hls_package(Option<HlsPackage>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_hls_package):<br>required: **false**<br>An HTTP Live Streaming (HLS) packaging configuration.<br>
11 /// - [`id(impl Into<String>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_id):<br>required: **true**<br>The ID of the OriginEndpoint to update.<br>
12 /// - [`manifest_name(impl Into<String>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::manifest_name) / [`set_manifest_name(Option<String>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_manifest_name):<br>required: **false**<br>A short string that will be appended to the end of the Endpoint URL.<br>
13 /// - [`mss_package(MssPackage)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::mss_package) / [`set_mss_package(Option<MssPackage>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_mss_package):<br>required: **false**<br>A Microsoft Smooth Streaming (MSS) packaging configuration.<br>
14 /// - [`origination(Origination)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::origination) / [`set_origination(Option<Origination>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_origination):<br>required: **false**<br>Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination<br>
15 /// - [`startover_window_seconds(i32)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::startover_window_seconds) / [`set_startover_window_seconds(Option<i32>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_startover_window_seconds):<br>required: **false**<br>Maximum duration (in seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.<br>
16 /// - [`time_delay_seconds(i32)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::time_delay_seconds) / [`set_time_delay_seconds(Option<i32>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_time_delay_seconds):<br>required: **false**<br>Amount of delay (in seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.<br>
17 /// - [`whitelist(impl Into<String>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::whitelist) / [`set_whitelist(Option<Vec::<String>>)`](crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::set_whitelist):<br>required: **false**<br>A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.<br>
18 /// - On success, responds with [`UpdateOriginEndpointOutput`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput) with field(s):
19 /// - [`arn(Option<String>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::arn): The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
20 /// - [`authorization(Option<Authorization>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::authorization): CDN Authorization credentials
21 /// - [`channel_id(Option<String>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::channel_id): The ID of the Channel the OriginEndpoint is associated with.
22 /// - [`cmaf_package(Option<CmafPackage>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::cmaf_package): A Common Media Application Format (CMAF) packaging configuration.
23 /// - [`created_at(Option<String>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::created_at): The date and time the OriginEndpoint was created.
24 /// - [`dash_package(Option<DashPackage>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::dash_package): A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
25 /// - [`description(Option<String>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::description): A short text description of the OriginEndpoint.
26 /// - [`hls_package(Option<HlsPackage>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::hls_package): An HTTP Live Streaming (HLS) packaging configuration.
27 /// - [`id(Option<String>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::id): The ID of the OriginEndpoint.
28 /// - [`manifest_name(Option<String>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::manifest_name): A short string appended to the end of the OriginEndpoint URL.
29 /// - [`mss_package(Option<MssPackage>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::mss_package): A Microsoft Smooth Streaming (MSS) packaging configuration.
30 /// - [`origination(Option<Origination>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::origination): Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
31 /// - [`startover_window_seconds(Option<i32>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::startover_window_seconds): Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.
32 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::tags): A collection of tags associated with a resource
33 /// - [`time_delay_seconds(Option<i32>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::time_delay_seconds): Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.
34 /// - [`url(Option<String>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::url): The URL of the packaged OriginEndpoint for consumption.
35 /// - [`whitelist(Option<Vec::<String>>)`](crate::operation::update_origin_endpoint::UpdateOriginEndpointOutput::whitelist): A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
36 /// - On failure, responds with [`SdkError<UpdateOriginEndpointError>`](crate::operation::update_origin_endpoint::UpdateOriginEndpointError)
37 pub fn update_origin_endpoint(&self) -> crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder {
38 crate::operation::update_origin_endpoint::builders::UpdateOriginEndpointFluentBuilder::new(self.handle.clone())
39 }
40}