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 ==
.impl StructuralPartialEq for PutOriginEndpointPolicyInput
Auto Trait Implementations§
impl Freeze for PutOriginEndpointPolicyInput
impl RefUnwindSafe for PutOriginEndpointPolicyInput
impl Send for PutOriginEndpointPolicyInput
impl Sync for PutOriginEndpointPolicyInput
impl Unpin for PutOriginEndpointPolicyInput
impl UnwindSafe for PutOriginEndpointPolicyInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more