pub struct PutPermissionInput {
pub event_bus_name: Option<String>,
pub action: Option<String>,
pub principal: Option<String>,
pub statement_id: Option<String>,
pub condition: Option<Condition>,
pub policy: Option<String>,
}Expand description
Input for the PutPermission operation.
Fields§
§event_bus_name: Option<String>The name of the event bus to modify.
action: Option<String>The action to allow (e.g., events:PutEvents).
principal: Option<String>The AWS account ID or * for all accounts.
statement_id: Option<String>An identifier for the statement in the policy.
condition: Option<Condition>A condition for the permission.
policy: Option<String>A full JSON policy to set on the event bus.
Trait Implementations§
Source§impl Clone for PutPermissionInput
impl Clone for PutPermissionInput
Source§fn clone(&self) -> PutPermissionInput
fn clone(&self) -> PutPermissionInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PutPermissionInput
impl Debug for PutPermissionInput
Source§impl Default for PutPermissionInput
impl Default for PutPermissionInput
Source§fn default() -> PutPermissionInput
fn default() -> PutPermissionInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PutPermissionInput
impl<'de> Deserialize<'de> for PutPermissionInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PutPermissionInput
impl RefUnwindSafe for PutPermissionInput
impl Send for PutPermissionInput
impl Sync for PutPermissionInput
impl Unpin for PutPermissionInput
impl UnsafeUnpin for PutPermissionInput
impl UnwindSafe for PutPermissionInput
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
Mutably borrows from an owned value. Read more