Struct aws_sdk_ssm::input::PutResourcePolicyInput  
source · #[non_exhaustive]pub struct PutResourcePolicyInput { /* private fields */ }Implementations§
source§impl PutResourcePolicyInput
 
impl PutResourcePolicyInput
sourcepub async fn make_operation(
    &self,
    _config: &Config
) -> Result<Operation<PutResourcePolicy, AwsResponseRetryClassifier>, BuildError>
 
pub async fn make_operation(
    &self,
    _config: &Config
) -> Result<Operation<PutResourcePolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutResourcePolicy>
sourcepub fn builder() -> Builder
 
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutResourcePolicyInput.
source§impl PutResourcePolicyInput
 
impl PutResourcePolicyInput
sourcepub fn resource_arn(&self) -> Option<&str>
 
pub fn resource_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
sourcepub fn policy_hash(&self) -> Option<&str>
 
pub fn policy_hash(&self) -> Option<&str>
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
Trait Implementations§
source§impl Clone for PutResourcePolicyInput
 
impl Clone for PutResourcePolicyInput
source§fn clone(&self) -> PutResourcePolicyInput
 
fn clone(&self) -> PutResourcePolicyInput
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 PutResourcePolicyInput
 
impl Debug for PutResourcePolicyInput
source§impl PartialEq<PutResourcePolicyInput> for PutResourcePolicyInput
 
impl PartialEq<PutResourcePolicyInput> for PutResourcePolicyInput
source§fn eq(&self, other: &PutResourcePolicyInput) -> bool
 
fn eq(&self, other: &PutResourcePolicyInput) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.