#[non_exhaustive]pub struct GetEffectivePoliciesInput {
pub principal: Option<String>,
pub cognito_identity_pool_id: Option<String>,
pub thing_name: 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.principal: Option<String>The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
cognito_identity_pool_id: Option<String>The Cognito identity pool ID.
thing_name: Option<String>The thing name.
Implementations§
source§impl GetEffectivePoliciesInput
impl GetEffectivePoliciesInput
sourcepub fn principal(&self) -> Option<&str>
pub fn principal(&self) -> Option<&str>
The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
sourcepub fn cognito_identity_pool_id(&self) -> Option<&str>
pub fn cognito_identity_pool_id(&self) -> Option<&str>
The Cognito identity pool ID.
sourcepub fn thing_name(&self) -> Option<&str>
pub fn thing_name(&self) -> Option<&str>
The thing name.
source§impl GetEffectivePoliciesInput
impl GetEffectivePoliciesInput
sourcepub fn builder() -> GetEffectivePoliciesInputBuilder
pub fn builder() -> GetEffectivePoliciesInputBuilder
Creates a new builder-style object to manufacture GetEffectivePoliciesInput.
Trait Implementations§
source§impl Clone for GetEffectivePoliciesInput
impl Clone for GetEffectivePoliciesInput
source§fn clone(&self) -> GetEffectivePoliciesInput
fn clone(&self) -> GetEffectivePoliciesInput
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 Debug for GetEffectivePoliciesInput
impl Debug for GetEffectivePoliciesInput
source§impl PartialEq for GetEffectivePoliciesInput
impl PartialEq for GetEffectivePoliciesInput
source§fn eq(&self, other: &GetEffectivePoliciesInput) -> bool
fn eq(&self, other: &GetEffectivePoliciesInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetEffectivePoliciesInput
Auto Trait Implementations§
impl Freeze for GetEffectivePoliciesInput
impl RefUnwindSafe for GetEffectivePoliciesInput
impl Send for GetEffectivePoliciesInput
impl Sync for GetEffectivePoliciesInput
impl Unpin for GetEffectivePoliciesInput
impl UnwindSafe for GetEffectivePoliciesInput
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.