pub struct AttachPrincipalPolicyRequest {
pub policy_name: String,
pub principal: String,
}Expand description
The input for the AttachPrincipalPolicy operation.
Fields§
§policy_name: StringThe policy name.
principal: StringThe principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
Trait Implementations§
Source§impl Clone for AttachPrincipalPolicyRequest
impl Clone for AttachPrincipalPolicyRequest
Source§fn clone(&self) -> AttachPrincipalPolicyRequest
fn clone(&self) -> AttachPrincipalPolicyRequest
Returns a duplicate 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 AttachPrincipalPolicyRequest
impl Debug for AttachPrincipalPolicyRequest
Source§impl Default for AttachPrincipalPolicyRequest
impl Default for AttachPrincipalPolicyRequest
Source§fn default() -> AttachPrincipalPolicyRequest
fn default() -> AttachPrincipalPolicyRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for AttachPrincipalPolicyRequest
impl PartialEq for AttachPrincipalPolicyRequest
Source§fn eq(&self, other: &AttachPrincipalPolicyRequest) -> bool
fn eq(&self, other: &AttachPrincipalPolicyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttachPrincipalPolicyRequest
Auto Trait Implementations§
impl Freeze for AttachPrincipalPolicyRequest
impl RefUnwindSafe for AttachPrincipalPolicyRequest
impl Send for AttachPrincipalPolicyRequest
impl Sync for AttachPrincipalPolicyRequest
impl Unpin for AttachPrincipalPolicyRequest
impl UnwindSafe for AttachPrincipalPolicyRequest
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