#[non_exhaustive]pub struct PutChannelPolicyInput {
pub channel_group_name: Option<String>,
pub channel_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.
policy: Option<String>
The policy to attach to the specified channel.
Implementations§
source§impl PutChannelPolicyInput
impl PutChannelPolicyInput
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.
source§impl PutChannelPolicyInput
impl PutChannelPolicyInput
sourcepub fn builder() -> PutChannelPolicyInputBuilder
pub fn builder() -> PutChannelPolicyInputBuilder
Creates a new builder-style object to manufacture PutChannelPolicyInput
.
Trait Implementations§
source§impl Clone for PutChannelPolicyInput
impl Clone for PutChannelPolicyInput
source§fn clone(&self) -> PutChannelPolicyInput
fn clone(&self) -> PutChannelPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutChannelPolicyInput
impl Debug for PutChannelPolicyInput
source§impl PartialEq for PutChannelPolicyInput
impl PartialEq for PutChannelPolicyInput
source§fn eq(&self, other: &PutChannelPolicyInput) -> bool
fn eq(&self, other: &PutChannelPolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.