pub struct Builder { /* private fields */ }
Expand description

Implementations§

CDN Authorization credentials

Examples found in repository?
src/client.rs (line 2243)
2242
2243
2244
2245
        pub fn authorization(mut self, input: crate::model::Authorization) -> Self {
            self.inner = self.inner.authorization(input);
            self
        }

CDN Authorization credentials

Examples found in repository?
src/client.rs (line 2251)
2247
2248
2249
2250
2251
2252
2253
        pub fn set_authorization(
            mut self,
            input: std::option::Option<crate::model::Authorization>,
        ) -> Self {
            self.inner = self.inner.set_authorization(input);
            self
        }

A Common Media Application Format (CMAF) packaging configuration.

Examples found in repository?
src/client.rs (line 2259)
2255
2256
2257
2258
2259
2260
2261
        pub fn cmaf_package(
            mut self,
            input: crate::model::CmafPackageCreateOrUpdateParameters,
        ) -> Self {
            self.inner = self.inner.cmaf_package(input);
            self
        }

A Common Media Application Format (CMAF) packaging configuration.

Examples found in repository?
src/client.rs (line 2267)
2263
2264
2265
2266
2267
2268
2269
        pub fn set_cmaf_package(
            mut self,
            input: std::option::Option<crate::model::CmafPackageCreateOrUpdateParameters>,
        ) -> Self {
            self.inner = self.inner.set_cmaf_package(input);
            self
        }

A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.

Examples found in repository?
src/client.rs (line 2272)
2271
2272
2273
2274
        pub fn dash_package(mut self, input: crate::model::DashPackage) -> Self {
            self.inner = self.inner.dash_package(input);
            self
        }

A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.

Examples found in repository?
src/client.rs (line 2280)
2276
2277
2278
2279
2280
2281
2282
        pub fn set_dash_package(
            mut self,
            input: std::option::Option<crate::model::DashPackage>,
        ) -> Self {
            self.inner = self.inner.set_dash_package(input);
            self
        }

A short text description of the OriginEndpoint.

Examples found in repository?
src/client.rs (line 2285)
2284
2285
2286
2287
        pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.description(input.into());
            self
        }

A short text description of the OriginEndpoint.

Examples found in repository?
src/client.rs (line 2290)
2289
2290
2291
2292
        pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_description(input);
            self
        }

An HTTP Live Streaming (HLS) packaging configuration.

Examples found in repository?
src/client.rs (line 2295)
2294
2295
2296
2297
        pub fn hls_package(mut self, input: crate::model::HlsPackage) -> Self {
            self.inner = self.inner.hls_package(input);
            self
        }

An HTTP Live Streaming (HLS) packaging configuration.

Examples found in repository?
src/client.rs (line 2303)
2299
2300
2301
2302
2303
2304
2305
        pub fn set_hls_package(
            mut self,
            input: std::option::Option<crate::model::HlsPackage>,
        ) -> Self {
            self.inner = self.inner.set_hls_package(input);
            self
        }

The ID of the OriginEndpoint to update.

Examples found in repository?
src/client.rs (line 2308)
2307
2308
2309
2310
        pub fn id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.id(input.into());
            self
        }

The ID of the OriginEndpoint to update.

Examples found in repository?
src/client.rs (line 2313)
2312
2313
2314
2315
        pub fn set_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_id(input);
            self
        }

A short string that will be appended to the end of the Endpoint URL.

Examples found in repository?
src/client.rs (line 2318)
2317
2318
2319
2320
        pub fn manifest_name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.manifest_name(input.into());
            self
        }

A short string that will be appended to the end of the Endpoint URL.

Examples found in repository?
src/client.rs (line 2326)
2322
2323
2324
2325
2326
2327
2328
        pub fn set_manifest_name(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_manifest_name(input);
            self
        }

A Microsoft Smooth Streaming (MSS) packaging configuration.

Examples found in repository?
src/client.rs (line 2331)
2330
2331
2332
2333
        pub fn mss_package(mut self, input: crate::model::MssPackage) -> Self {
            self.inner = self.inner.mss_package(input);
            self
        }

A Microsoft Smooth Streaming (MSS) packaging configuration.

Examples found in repository?
src/client.rs (line 2339)
2335
2336
2337
2338
2339
2340
2341
        pub fn set_mss_package(
            mut self,
            input: std::option::Option<crate::model::MssPackage>,
        ) -> Self {
            self.inner = self.inner.set_mss_package(input);
            self
        }

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

Examples found in repository?
src/client.rs (line 2344)
2343
2344
2345
2346
        pub fn origination(mut self, input: crate::model::Origination) -> Self {
            self.inner = self.inner.origination(input);
            self
        }

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

Examples found in repository?
src/client.rs (line 2352)
2348
2349
2350
2351
2352
2353
2354
        pub fn set_origination(
            mut self,
            input: std::option::Option<crate::model::Origination>,
        ) -> Self {
            self.inner = self.inner.set_origination(input);
            self
        }

Maximum duration (in seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

Examples found in repository?
src/client.rs (line 2357)
2356
2357
2358
2359
        pub fn startover_window_seconds(mut self, input: i32) -> Self {
            self.inner = self.inner.startover_window_seconds(input);
            self
        }

Maximum duration (in seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

Examples found in repository?
src/client.rs (line 2362)
2361
2362
2363
2364
        pub fn set_startover_window_seconds(mut self, input: std::option::Option<i32>) -> Self {
            self.inner = self.inner.set_startover_window_seconds(input);
            self
        }

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.

Examples found in repository?
src/client.rs (line 2367)
2366
2367
2368
2369
        pub fn time_delay_seconds(mut self, input: i32) -> Self {
            self.inner = self.inner.time_delay_seconds(input);
            self
        }

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.

Examples found in repository?
src/client.rs (line 2372)
2371
2372
2373
2374
        pub fn set_time_delay_seconds(mut self, input: std::option::Option<i32>) -> Self {
            self.inner = self.inner.set_time_delay_seconds(input);
            self
        }

Appends an item to whitelist.

To override the contents of this collection use set_whitelist.

A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

Examples found in repository?
src/client.rs (line 2381)
2380
2381
2382
2383
        pub fn whitelist(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.whitelist(input.into());
            self
        }

A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

Examples found in repository?
src/client.rs (line 2389)
2385
2386
2387
2388
2389
2390
2391
        pub fn set_whitelist(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_whitelist(input);
            self
        }

Consumes the builder and constructs a UpdateOriginEndpointInput.

Examples found in repository?
src/client.rs (line 2210)
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::UpdateOriginEndpoint,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::UpdateOriginEndpointError>,
        > {
            let handle = self.handle.clone();
            let operation = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            Ok(crate::operation::customize::CustomizableOperation { handle, operation })
        }

        /// 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](aws_smithy_types::retry::RetryConfig), which can be
        /// set when configuring the client.
        pub async fn send(
            self,
        ) -> std::result::Result<
            crate::output::UpdateOriginEndpointOutput,
            aws_smithy_http::result::SdkError<crate::error::UpdateOriginEndpointError>,
        > {
            let op = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&self.handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            self.handle.client.call(op).await
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more