#[non_exhaustive]pub struct AddResourcePermissionsInput {
pub authentication_token: Option<String>,
pub resource_id: Option<String>,
pub principals: Option<Vec<SharePrincipal>>,
pub notification_options: Option<NotificationOptions>,
}
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.authentication_token: Option<String>
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
resource_id: Option<String>
The ID of the resource.
principals: Option<Vec<SharePrincipal>>
The users, groups, or organization being granted permission.
notification_options: Option<NotificationOptions>
The notification options.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddResourcePermissions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddResourcePermissions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AddResourcePermissions
>
Creates a new builder-style object to manufacture AddResourcePermissionsInput
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
The ID of the resource.
The users, groups, or organization being granted permission.
The notification options.
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 AddResourcePermissionsInput
impl Send for AddResourcePermissionsInput
impl Sync for AddResourcePermissionsInput
impl Unpin for AddResourcePermissionsInput
impl UnwindSafe for AddResourcePermissionsInput
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