Struct aws_sdk_iot::operation::get_effective_policies::builders::GetEffectivePoliciesInputBuilder
source · #[non_exhaustive]pub struct GetEffectivePoliciesInputBuilder { /* private fields */ }Expand description
A builder for GetEffectivePoliciesInput.
Implementations§
source§impl GetEffectivePoliciesInputBuilder
impl GetEffectivePoliciesInputBuilder
sourcepub fn principal(self, input: impl Into<String>) -> Self
pub fn principal(self, input: impl Into<String>) -> Self
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 set_principal(self, input: Option<String>) -> Self
pub fn set_principal(self, input: Option<String>) -> Self
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 get_principal(&self) -> &Option<String>
pub fn get_principal(&self) -> &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).
sourcepub fn cognito_identity_pool_id(self, input: impl Into<String>) -> Self
pub fn cognito_identity_pool_id(self, input: impl Into<String>) -> Self
The Cognito identity pool ID.
sourcepub fn set_cognito_identity_pool_id(self, input: Option<String>) -> Self
pub fn set_cognito_identity_pool_id(self, input: Option<String>) -> Self
The Cognito identity pool ID.
sourcepub fn get_cognito_identity_pool_id(&self) -> &Option<String>
pub fn get_cognito_identity_pool_id(&self) -> &Option<String>
The Cognito identity pool ID.
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The thing name.
sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The thing name.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The thing name.
sourcepub fn build(self) -> Result<GetEffectivePoliciesInput, BuildError>
pub fn build(self) -> Result<GetEffectivePoliciesInput, BuildError>
Consumes the builder and constructs a GetEffectivePoliciesInput.
source§impl GetEffectivePoliciesInputBuilder
impl GetEffectivePoliciesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetEffectivePoliciesOutput, SdkError<GetEffectivePoliciesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetEffectivePoliciesOutput, SdkError<GetEffectivePoliciesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetEffectivePoliciesInputBuilder
impl Clone for GetEffectivePoliciesInputBuilder
source§fn clone(&self) -> GetEffectivePoliciesInputBuilder
fn clone(&self) -> GetEffectivePoliciesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetEffectivePoliciesInputBuilder
impl Default for GetEffectivePoliciesInputBuilder
source§fn default() -> GetEffectivePoliciesInputBuilder
fn default() -> GetEffectivePoliciesInputBuilder
source§impl PartialEq for GetEffectivePoliciesInputBuilder
impl PartialEq for GetEffectivePoliciesInputBuilder
source§fn eq(&self, other: &GetEffectivePoliciesInputBuilder) -> bool
fn eq(&self, other: &GetEffectivePoliciesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetEffectivePoliciesInputBuilder
Auto Trait Implementations§
impl Freeze for GetEffectivePoliciesInputBuilder
impl RefUnwindSafe for GetEffectivePoliciesInputBuilder
impl Send for GetEffectivePoliciesInputBuilder
impl Sync for GetEffectivePoliciesInputBuilder
impl Unpin for GetEffectivePoliciesInputBuilder
impl UnwindSafe for GetEffectivePoliciesInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more