Struct rusoto_events::PutPermissionRequest[][src]

pub struct PutPermissionRequest {
    pub action: String,
    pub principal: String,
    pub statement_id: String,
}

Fields

The action that you are enabling the other account to perform. Currently, this must be events:PutEvents.

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.

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]

Returns the "default value" for a type. Read more

impl Debug for PutPermissionRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for PutPermissionRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PutPermissionRequest
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations