Struct aws_sdk_s3control::operation::put_access_grants_instance_resource_policy::PutAccessGrantsInstanceResourcePolicyInput
source · #[non_exhaustive]pub struct PutAccessGrantsInstanceResourcePolicyInput {
pub account_id: Option<String>,
pub policy: Option<String>,
pub organization: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.account_id: Option<String>The ID of the Amazon Web Services account that is making this request.
policy: Option<String>The resource policy of the S3 Access Grants instance that you are updating.
organization: Option<String>The Organization of the resource policy of the S3 Access Grants instance.
Implementations§
source§impl PutAccessGrantsInstanceResourcePolicyInput
impl PutAccessGrantsInstanceResourcePolicyInput
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that is making this request.
sourcepub fn policy(&self) -> Option<&str>
pub fn policy(&self) -> Option<&str>
The resource policy of the S3 Access Grants instance that you are updating.
sourcepub fn organization(&self) -> Option<&str>
pub fn organization(&self) -> Option<&str>
The Organization of the resource policy of the S3 Access Grants instance.
source§impl PutAccessGrantsInstanceResourcePolicyInput
impl PutAccessGrantsInstanceResourcePolicyInput
sourcepub fn builder() -> PutAccessGrantsInstanceResourcePolicyInputBuilder
pub fn builder() -> PutAccessGrantsInstanceResourcePolicyInputBuilder
Creates a new builder-style object to manufacture PutAccessGrantsInstanceResourcePolicyInput.
Trait Implementations§
source§impl Clone for PutAccessGrantsInstanceResourcePolicyInput
impl Clone for PutAccessGrantsInstanceResourcePolicyInput
source§fn clone(&self) -> PutAccessGrantsInstanceResourcePolicyInput
fn clone(&self) -> PutAccessGrantsInstanceResourcePolicyInput
Returns a copy 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 PartialEq for PutAccessGrantsInstanceResourcePolicyInput
impl PartialEq for PutAccessGrantsInstanceResourcePolicyInput
source§fn eq(&self, other: &PutAccessGrantsInstanceResourcePolicyInput) -> bool
fn eq(&self, other: &PutAccessGrantsInstanceResourcePolicyInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutAccessGrantsInstanceResourcePolicyInput
Auto Trait Implementations§
impl RefUnwindSafe for PutAccessGrantsInstanceResourcePolicyInput
impl Send for PutAccessGrantsInstanceResourcePolicyInput
impl Sync for PutAccessGrantsInstanceResourcePolicyInput
impl Unpin for PutAccessGrantsInstanceResourcePolicyInput
impl UnwindSafe for PutAccessGrantsInstanceResourcePolicyInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.