Struct aws_sdk_iot::input::DetachPrincipalPolicyInput
source ·
[−]#[non_exhaustive]pub struct DetachPrincipalPolicyInput {
pub policy_name: Option<String>,
pub principal: Option<String>,
}Expand description
The input for the DetachPrincipalPolicy operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.policy_name: Option<String>The name of the policy to detach.
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).
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetachPrincipalPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetachPrincipalPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DetachPrincipalPolicy>
Creates a new builder-style object to manufacture DetachPrincipalPolicyInput
The name of the policy to detach.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DetachPrincipalPolicyInput
impl Send for DetachPrincipalPolicyInput
impl Sync for DetachPrincipalPolicyInput
impl Unpin for DetachPrincipalPolicyInput
impl UnwindSafe for DetachPrincipalPolicyInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
