Struct rusoto_events::PutPermissionRequest [−][src]
pub struct PutPermissionRequest { pub action: String, pub principal: String, pub statement_id: String, }
Fields
action: String
The action that you are enabling the other account to perform. Currently, this must be events:PutEvents
.
principal: String
The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify "*" to permit any account to put events to your default event bus.
If you specify "*", avoid creating rules that may match undesirable events. To create more secure rules, make sure that the event pattern for each rule contains an account
field with a specific account ID from which to receive events. Rules with an account field do not match any events sent from other accounts.
statement_id: String
An identifier string for the external account that you are granting permissions to. If you later want to revoke the permission for this external account, specify this StatementId
when you run RemovePermission.
Trait Implementations
impl Default for PutPermissionRequest
[src]
impl Default for PutPermissionRequest
fn default() -> PutPermissionRequest
[src]
fn default() -> PutPermissionRequest
Returns the "default value" for a type. Read more
impl Debug for PutPermissionRequest
[src]
impl Debug for PutPermissionRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PutPermissionRequest
[src]
impl Clone for PutPermissionRequest
fn clone(&self) -> PutPermissionRequest
[src]
fn clone(&self) -> PutPermissionRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PutPermissionRequest
[src]
impl PartialEq for PutPermissionRequest
fn eq(&self, other: &PutPermissionRequest) -> bool
[src]
fn eq(&self, other: &PutPermissionRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PutPermissionRequest) -> bool
[src]
fn ne(&self, other: &PutPermissionRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PutPermissionRequest
impl Send for PutPermissionRequest
impl Sync for PutPermissionRequest
impl Sync for PutPermissionRequest