Struct aws_sdk_mediapackage::Client
source · [−]pub struct Client { /* private fields */ }
Expand description
Client for AWS Elemental MediaPackage
Client for invoking operations on AWS Elemental MediaPackage. Each operation on AWS Elemental MediaPackage is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_mediapackage::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_mediapackage::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_mediapackage::Client::from_conf(config);
Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn configure_logs(&self) -> ConfigureLogs
pub fn configure_logs(&self) -> ConfigureLogs
Constructs a fluent builder for the ConfigureLogs
operation.
- The fluent builder is configurable:
egress_access_logs(EgressAccessLogs)
/set_egress_access_logs(Option<EgressAccessLogs>)
: Configure egress access logging.id(impl Into<String>)
/set_id(Option<String>)
: The ID of the channel to log subscription.ingress_access_logs(IngressAccessLogs)
/set_ingress_access_logs(Option<IngressAccessLogs>)
: Configure ingress access logging.
- On success, responds with
ConfigureLogsOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the Channel.description(Option<String>)
: A short text description of the Channel.egress_access_logs(Option<EgressAccessLogs>)
: Configure egress access logging.hls_ingest(Option<HlsIngest>)
: An HTTP Live Streaming (HLS) ingest resource configuration.id(Option<String>)
: The ID of the Channel.ingress_access_logs(Option<IngressAccessLogs>)
: Configure ingress access logging.tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resource
- On failure, responds with
SdkError<ConfigureLogsError>
sourcepub fn create_channel(&self) -> CreateChannel
pub fn create_channel(&self) -> CreateChannel
Constructs a fluent builder for the CreateChannel
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
: A short text description of the Channel.id(impl Into<String>)
/set_id(Option<String>)
: The ID of the Channel. The ID must be unique within the region and it cannot be changed after a Channel is created.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resource
- On success, responds with
CreateChannelOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the Channel.description(Option<String>)
: A short text description of the Channel.egress_access_logs(Option<EgressAccessLogs>)
: Configure egress access logging.hls_ingest(Option<HlsIngest>)
: An HTTP Live Streaming (HLS) ingest resource configuration.id(Option<String>)
: The ID of the Channel.ingress_access_logs(Option<IngressAccessLogs>)
: Configure ingress access logging.tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resource
- On failure, responds with
SdkError<CreateChannelError>
sourcepub fn create_harvest_job(&self) -> CreateHarvestJob
pub fn create_harvest_job(&self) -> CreateHarvestJob
Constructs a fluent builder for the CreateHarvestJob
operation.
- The fluent builder is configurable:
end_time(impl Into<String>)
/set_end_time(Option<String>)
: The end of the time-window which will be harvestedid(impl Into<String>)
/set_id(Option<String>)
: The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submittedorigin_endpoint_id(impl Into<String>)
/set_origin_endpoint_id(Option<String>)
: The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.s3_destination(S3Destination)
/set_s3_destination(Option<S3Destination>)
: Configuration parameters for where in an S3 bucket to place the harvested contentstart_time(impl Into<String>)
/set_start_time(Option<String>)
: The start of the time-window which will be harvested
- On success, responds with
CreateHarvestJobOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the HarvestJob.channel_id(Option<String>)
: The ID of the Channel that the HarvestJob will harvest from.created_at(Option<String>)
: The time the HarvestJob was submittedend_time(Option<String>)
: The end of the time-window which will be harvested.id(Option<String>)
: The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.origin_endpoint_id(Option<String>)
: The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.s3_destination(Option<S3Destination>)
: Configuration parameters for where in an S3 bucket to place the harvested contentstart_time(Option<String>)
: The start of the time-window which will be harvested.status(Option<Status>)
: The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.
- On failure, responds with
SdkError<CreateHarvestJobError>
sourcepub fn create_origin_endpoint(&self) -> CreateOriginEndpoint
pub fn create_origin_endpoint(&self) -> CreateOriginEndpoint
Constructs a fluent builder for the CreateOriginEndpoint
operation.
- The fluent builder is configurable:
authorization(Authorization)
/set_authorization(Option<Authorization>)
: CDN Authorization credentialschannel_id(impl Into<String>)
/set_channel_id(Option<String>)
: The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.cmaf_package(CmafPackageCreateOrUpdateParameters)
/set_cmaf_package(Option<CmafPackageCreateOrUpdateParameters>)
: A Common Media Application Format (CMAF) packaging configuration.dash_package(DashPackage)
/set_dash_package(Option<DashPackage>)
: A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.description(impl Into<String>)
/set_description(Option<String>)
: A short text description of the OriginEndpoint.hls_package(HlsPackage)
/set_hls_package(Option<HlsPackage>)
: An HTTP Live Streaming (HLS) packaging configuration.id(impl Into<String>)
/set_id(Option<String>)
: The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.manifest_name(impl Into<String>)
/set_manifest_name(Option<String>)
: A short string that will be used as the filename of the OriginEndpoint URL (defaults to “index”).mss_package(MssPackage)
/set_mss_package(Option<MssPackage>)
: A Microsoft Smooth Streaming (MSS) packaging configuration.origination(Origination)
/set_origination(Option<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 originationstartover_window_seconds(i32)
/set_startover_window_seconds(i32)
: Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resourcetime_delay_seconds(i32)
/set_time_delay_seconds(i32)
: 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.whitelist(Vec<String>)
/set_whitelist(Option<Vec<String>>)
: A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
- On success, responds with
CreateOriginEndpointOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the OriginEndpoint.authorization(Option<Authorization>)
: CDN Authorization credentialschannel_id(Option<String>)
: The ID of the Channel the OriginEndpoint is associated with.cmaf_package(Option<CmafPackage>)
: A Common Media Application Format (CMAF) packaging configuration.dash_package(Option<DashPackage>)
: A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.description(Option<String>)
: A short text description of the OriginEndpoint.hls_package(Option<HlsPackage>)
: An HTTP Live Streaming (HLS) packaging configuration.id(Option<String>)
: The ID of the OriginEndpoint.manifest_name(Option<String>)
: A short string appended to the end of the OriginEndpoint URL.mss_package(Option<MssPackage>)
: A Microsoft Smooth Streaming (MSS) packaging configuration.origination(Option<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 originationstartover_window_seconds(i32)
: Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resourcetime_delay_seconds(i32)
: 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.url(Option<String>)
: The URL of the packaged OriginEndpoint for consumption.whitelist(Option<Vec<String>>)
: A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
- On failure, responds with
SdkError<CreateOriginEndpointError>
sourcepub fn delete_channel(&self) -> DeleteChannel
pub fn delete_channel(&self) -> DeleteChannel
Constructs a fluent builder for the DeleteChannel
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: The ID of the Channel to delete.
- On success, responds with
DeleteChannelOutput
- On failure, responds with
SdkError<DeleteChannelError>
sourcepub fn delete_origin_endpoint(&self) -> DeleteOriginEndpoint
pub fn delete_origin_endpoint(&self) -> DeleteOriginEndpoint
Constructs a fluent builder for the DeleteOriginEndpoint
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: The ID of the OriginEndpoint to delete.
- On success, responds with
DeleteOriginEndpointOutput
- On failure, responds with
SdkError<DeleteOriginEndpointError>
sourcepub fn describe_channel(&self) -> DescribeChannel
pub fn describe_channel(&self) -> DescribeChannel
Constructs a fluent builder for the DescribeChannel
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: The ID of a Channel.
- On success, responds with
DescribeChannelOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the Channel.description(Option<String>)
: A short text description of the Channel.egress_access_logs(Option<EgressAccessLogs>)
: Configure egress access logging.hls_ingest(Option<HlsIngest>)
: An HTTP Live Streaming (HLS) ingest resource configuration.id(Option<String>)
: The ID of the Channel.ingress_access_logs(Option<IngressAccessLogs>)
: Configure ingress access logging.tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resource
- On failure, responds with
SdkError<DescribeChannelError>
sourcepub fn describe_harvest_job(&self) -> DescribeHarvestJob
pub fn describe_harvest_job(&self) -> DescribeHarvestJob
Constructs a fluent builder for the DescribeHarvestJob
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: The ID of the HarvestJob.
- On success, responds with
DescribeHarvestJobOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the HarvestJob.channel_id(Option<String>)
: The ID of the Channel that the HarvestJob will harvest from.created_at(Option<String>)
: The time the HarvestJob was submittedend_time(Option<String>)
: The end of the time-window which will be harvested.id(Option<String>)
: The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.origin_endpoint_id(Option<String>)
: The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.s3_destination(Option<S3Destination>)
: Configuration parameters for where in an S3 bucket to place the harvested contentstart_time(Option<String>)
: The start of the time-window which will be harvested.status(Option<Status>)
: The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.
- On failure, responds with
SdkError<DescribeHarvestJobError>
sourcepub fn describe_origin_endpoint(&self) -> DescribeOriginEndpoint
pub fn describe_origin_endpoint(&self) -> DescribeOriginEndpoint
Constructs a fluent builder for the DescribeOriginEndpoint
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: The ID of the OriginEndpoint.
- On success, responds with
DescribeOriginEndpointOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the OriginEndpoint.authorization(Option<Authorization>)
: CDN Authorization credentialschannel_id(Option<String>)
: The ID of the Channel the OriginEndpoint is associated with.cmaf_package(Option<CmafPackage>)
: A Common Media Application Format (CMAF) packaging configuration.dash_package(Option<DashPackage>)
: A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.description(Option<String>)
: A short text description of the OriginEndpoint.hls_package(Option<HlsPackage>)
: An HTTP Live Streaming (HLS) packaging configuration.id(Option<String>)
: The ID of the OriginEndpoint.manifest_name(Option<String>)
: A short string appended to the end of the OriginEndpoint URL.mss_package(Option<MssPackage>)
: A Microsoft Smooth Streaming (MSS) packaging configuration.origination(Option<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 originationstartover_window_seconds(i32)
: Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resourcetime_delay_seconds(i32)
: 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.url(Option<String>)
: The URL of the packaged OriginEndpoint for consumption.whitelist(Option<Vec<String>>)
: A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
- On failure, responds with
SdkError<DescribeOriginEndpointError>
sourcepub fn list_channels(&self) -> ListChannels
pub fn list_channels(&self) -> ListChannels
Constructs a fluent builder for the ListChannels
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(i32)
: Upper bound on number of records to return.next_token(impl Into<String>)
/set_next_token(Option<String>)
: A token used to resume pagination from the end of a previous request.
- On success, responds with
ListChannelsOutput
with field(s):channels(Option<Vec<Channel>>)
: A list of Channel records.next_token(Option<String>)
: A token that can be used to resume pagination from the end of the collection.
- On failure, responds with
SdkError<ListChannelsError>
sourcepub fn list_harvest_jobs(&self) -> ListHarvestJobs
pub fn list_harvest_jobs(&self) -> ListHarvestJobs
Constructs a fluent builder for the ListHarvestJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
include_channel_id(impl Into<String>)
/set_include_channel_id(Option<String>)
: When specified, the request will return only HarvestJobs associated with the given Channel ID.include_status(impl Into<String>)
/set_include_status(Option<String>)
: When specified, the request will return only HarvestJobs in the given status.max_results(i32)
/set_max_results(i32)
: The upper bound on the number of records to return.next_token(impl Into<String>)
/set_next_token(Option<String>)
: A token used to resume pagination from the end of a previous request.
- On success, responds with
ListHarvestJobsOutput
with field(s):harvest_jobs(Option<Vec<HarvestJob>>)
: A list of HarvestJob records.next_token(Option<String>)
: A token that can be used to resume pagination from the end of the collection.
- On failure, responds with
SdkError<ListHarvestJobsError>
sourcepub fn list_origin_endpoints(&self) -> ListOriginEndpoints
pub fn list_origin_endpoints(&self) -> ListOriginEndpoints
Constructs a fluent builder for the ListOriginEndpoints
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
channel_id(impl Into<String>)
/set_channel_id(Option<String>)
: When specified, the request will return only OriginEndpoints associated with the given Channel ID.max_results(i32)
/set_max_results(i32)
: The upper bound on the number of records to return.next_token(impl Into<String>)
/set_next_token(Option<String>)
: A token used to resume pagination from the end of a previous request.
- On success, responds with
ListOriginEndpointsOutput
with field(s):next_token(Option<String>)
: A token that can be used to resume pagination from the end of the collection.origin_endpoints(Option<Vec<OriginEndpoint>>)
: A list of OriginEndpoint records.
- On failure, responds with
SdkError<ListOriginEndpointsError>
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
: (undocumented)
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<HashMap<String, String>>)
: (undocumented)
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn rotate_channel_credentials(&self) -> RotateChannelCredentials
pub fn rotate_channel_credentials(&self) -> RotateChannelCredentials
Constructs a fluent builder for the RotateChannelCredentials
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: The ID of the channel to update.
- On success, responds with
RotateChannelCredentialsOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the Channel.description(Option<String>)
: A short text description of the Channel.egress_access_logs(Option<EgressAccessLogs>)
: Configure egress access logging.hls_ingest(Option<HlsIngest>)
: An HTTP Live Streaming (HLS) ingest resource configuration.id(Option<String>)
: The ID of the Channel.ingress_access_logs(Option<IngressAccessLogs>)
: Configure ingress access logging.tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resource
- On failure, responds with
SdkError<RotateChannelCredentialsError>
sourcepub fn rotate_ingest_endpoint_credentials(
&self
) -> RotateIngestEndpointCredentials
pub fn rotate_ingest_endpoint_credentials(
&self
) -> RotateIngestEndpointCredentials
Constructs a fluent builder for the RotateIngestEndpointCredentials
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: The ID of the channel the IngestEndpoint is on.ingest_endpoint_id(impl Into<String>)
/set_ingest_endpoint_id(Option<String>)
: The id of the IngestEndpoint whose credentials should be rotated
- On success, responds with
RotateIngestEndpointCredentialsOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the Channel.description(Option<String>)
: A short text description of the Channel.egress_access_logs(Option<EgressAccessLogs>)
: Configure egress access logging.hls_ingest(Option<HlsIngest>)
: An HTTP Live Streaming (HLS) ingest resource configuration.id(Option<String>)
: The ID of the Channel.ingress_access_logs(Option<IngressAccessLogs>)
: Configure ingress access logging.tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resource
- On failure, responds with
SdkError<RotateIngestEndpointCredentialsError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
: (undocumented)tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: (undocumented)
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
: (undocumented)tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
: The key(s) of tag to be deleted
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_channel(&self) -> UpdateChannel
pub fn update_channel(&self) -> UpdateChannel
Constructs a fluent builder for the UpdateChannel
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
: A short text description of the Channel.id(impl Into<String>)
/set_id(Option<String>)
: The ID of the Channel to update.
- On success, responds with
UpdateChannelOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the Channel.description(Option<String>)
: A short text description of the Channel.egress_access_logs(Option<EgressAccessLogs>)
: Configure egress access logging.hls_ingest(Option<HlsIngest>)
: An HTTP Live Streaming (HLS) ingest resource configuration.id(Option<String>)
: The ID of the Channel.ingress_access_logs(Option<IngressAccessLogs>)
: Configure ingress access logging.tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resource
- On failure, responds with
SdkError<UpdateChannelError>
sourcepub fn update_origin_endpoint(&self) -> UpdateOriginEndpoint
pub fn update_origin_endpoint(&self) -> UpdateOriginEndpoint
Constructs a fluent builder for the UpdateOriginEndpoint
operation.
- The fluent builder is configurable:
authorization(Authorization)
/set_authorization(Option<Authorization>)
: CDN Authorization credentialscmaf_package(CmafPackageCreateOrUpdateParameters)
/set_cmaf_package(Option<CmafPackageCreateOrUpdateParameters>)
: A Common Media Application Format (CMAF) packaging configuration.dash_package(DashPackage)
/set_dash_package(Option<DashPackage>)
: A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.description(impl Into<String>)
/set_description(Option<String>)
: A short text description of the OriginEndpoint.hls_package(HlsPackage)
/set_hls_package(Option<HlsPackage>)
: An HTTP Live Streaming (HLS) packaging configuration.id(impl Into<String>)
/set_id(Option<String>)
: The ID of the OriginEndpoint to update.manifest_name(impl Into<String>)
/set_manifest_name(Option<String>)
: A short string that will be appended to the end of the Endpoint URL.mss_package(MssPackage)
/set_mss_package(Option<MssPackage>)
: A Microsoft Smooth Streaming (MSS) packaging configuration.origination(Origination)
/set_origination(Option<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 originationstartover_window_seconds(i32)
/set_startover_window_seconds(i32)
: Maximum duration (in seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.time_delay_seconds(i32)
/set_time_delay_seconds(i32)
: 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.whitelist(Vec<String>)
/set_whitelist(Option<Vec<String>>)
: A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
- On success, responds with
UpdateOriginEndpointOutput
with field(s):arn(Option<String>)
: The Amazon Resource Name (ARN) assigned to the OriginEndpoint.authorization(Option<Authorization>)
: CDN Authorization credentialschannel_id(Option<String>)
: The ID of the Channel the OriginEndpoint is associated with.cmaf_package(Option<CmafPackage>)
: A Common Media Application Format (CMAF) packaging configuration.dash_package(Option<DashPackage>)
: A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.description(Option<String>)
: A short text description of the OriginEndpoint.hls_package(Option<HlsPackage>)
: An HTTP Live Streaming (HLS) packaging configuration.id(Option<String>)
: The ID of the OriginEndpoint.manifest_name(Option<String>)
: A short string appended to the end of the OriginEndpoint URL.mss_package(Option<MssPackage>)
: A Microsoft Smooth Streaming (MSS) packaging configuration.origination(Option<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 originationstartover_window_seconds(i32)
: Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.tags(Option<HashMap<String, String>>)
: A collection of tags associated with a resourcetime_delay_seconds(i32)
: 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.url(Option<String>)
: The URL of the packaged OriginEndpoint for consumption.whitelist(Option<Vec<String>>)
: A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
- On failure, responds with
SdkError<UpdateOriginEndpointError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more