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 ==.