pub struct ModifyVpcEndpointServicePermissionsRequest {
pub add_allowed_principals: Option<Vec<String>>,
pub dry_run: Option<bool>,
pub remove_allowed_principals: Option<Vec<String>>,
pub service_id: String,
}Fields§
§add_allowed_principals: Option<Vec<String>>The Amazon Resource Names (ARN) of one or more principals. Permissions are granted to the principals in this list. To grant permissions to all principals, specify an asterisk (*).
dry_run: Option<bool>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
remove_allowed_principals: Option<Vec<String>>The Amazon Resource Names (ARN) of one or more principals. Permissions are revoked for principals in this list.
service_id: StringThe ID of the service.
Trait Implementations§
Source§impl Clone for ModifyVpcEndpointServicePermissionsRequest
impl Clone for ModifyVpcEndpointServicePermissionsRequest
Source§fn clone(&self) -> ModifyVpcEndpointServicePermissionsRequest
fn clone(&self) -> ModifyVpcEndpointServicePermissionsRequest
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 Default for ModifyVpcEndpointServicePermissionsRequest
impl Default for ModifyVpcEndpointServicePermissionsRequest
Source§fn default() -> ModifyVpcEndpointServicePermissionsRequest
fn default() -> ModifyVpcEndpointServicePermissionsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifyVpcEndpointServicePermissionsRequest
impl PartialEq for ModifyVpcEndpointServicePermissionsRequest
Source§fn eq(&self, other: &ModifyVpcEndpointServicePermissionsRequest) -> bool
fn eq(&self, other: &ModifyVpcEndpointServicePermissionsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifyVpcEndpointServicePermissionsRequest
Auto Trait Implementations§
impl Freeze for ModifyVpcEndpointServicePermissionsRequest
impl RefUnwindSafe for ModifyVpcEndpointServicePermissionsRequest
impl Send for ModifyVpcEndpointServicePermissionsRequest
impl Sync for ModifyVpcEndpointServicePermissionsRequest
impl Unpin for ModifyVpcEndpointServicePermissionsRequest
impl UnwindSafe for ModifyVpcEndpointServicePermissionsRequest
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