Struct aws_sdk_mediapackagev2::operation::put_origin_endpoint_policy::PutOriginEndpointPolicyInput
source · #[non_exhaustive]pub struct PutOriginEndpointPolicyInput {
pub channel_group_name: Option<String>,
pub channel_name: Option<String>,
pub origin_endpoint_name: Option<String>,
pub policy: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.channel_group_name: Option<String>
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
channel_name: Option<String>
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
origin_endpoint_name: Option<String>
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
policy: Option<String>
The policy to attach to the specified origin endpoint.
Implementations§
source§impl PutOriginEndpointPolicyInput
impl PutOriginEndpointPolicyInput
sourcepub fn channel_group_name(&self) -> Option<&str>
pub fn channel_group_name(&self) -> Option<&str>
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
sourcepub fn channel_name(&self) -> Option<&str>
pub fn channel_name(&self) -> Option<&str>
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
sourcepub fn origin_endpoint_name(&self) -> Option<&str>
pub fn origin_endpoint_name(&self) -> Option<&str>
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
source§impl PutOriginEndpointPolicyInput
impl PutOriginEndpointPolicyInput
sourcepub fn builder() -> PutOriginEndpointPolicyInputBuilder
pub fn builder() -> PutOriginEndpointPolicyInputBuilder
Creates a new builder-style object to manufacture PutOriginEndpointPolicyInput
.
Trait Implementations§
source§impl Clone for PutOriginEndpointPolicyInput
impl Clone for PutOriginEndpointPolicyInput
source§fn clone(&self) -> PutOriginEndpointPolicyInput
fn clone(&self) -> PutOriginEndpointPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutOriginEndpointPolicyInput
impl Debug for PutOriginEndpointPolicyInput
source§impl PartialEq for PutOriginEndpointPolicyInput
impl PartialEq for PutOriginEndpointPolicyInput
source§fn eq(&self, other: &PutOriginEndpointPolicyInput) -> bool
fn eq(&self, other: &PutOriginEndpointPolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.