Struct aws_sdk_eventbridge::input::RemovePermissionInput
source · [−]#[non_exhaustive]pub struct RemovePermissionInput {
pub statement_id: Option<String>,
pub remove_all_permissions: bool,
pub event_bus_name: 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.statement_id: Option<String>
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
remove_all_permissions: bool
Specifies whether to remove all permissions.
event_bus_name: Option<String>
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RemovePermission, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RemovePermission, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RemovePermission
>
Creates a new builder-style object to manufacture RemovePermissionInput
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
Specifies whether to remove all permissions.
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RemovePermissionInput
impl Send for RemovePermissionInput
impl Sync for RemovePermissionInput
impl Unpin for RemovePermissionInput
impl UnwindSafe for RemovePermissionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more