Struct aws_sdk_rekognition::input::PutProjectPolicyInput
source · [−]#[non_exhaustive]pub struct PutProjectPolicyInput { /* private fields */ }Implementations
sourceimpl PutProjectPolicyInput
impl PutProjectPolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutProjectPolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutProjectPolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutProjectPolicy>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutProjectPolicyInput.
sourceimpl PutProjectPolicyInput
impl PutProjectPolicyInput
sourcepub fn project_arn(&self) -> Option<&str>
pub fn project_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the project that the project policy is attached to.
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
A name for the policy.
sourcepub fn policy_revision_id(&self) -> Option<&str>
pub fn policy_revision_id(&self) -> Option<&str>
The revision ID for the Project Policy. Each time you modify a policy, Amazon Rekognition Custom Labels generates and assigns a new PolicyRevisionId and then deletes the previous version of the policy.
sourcepub fn policy_document(&self) -> Option<&str>
pub fn policy_document(&self) -> Option<&str>
A resource policy to add to the model. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference.
Trait Implementations
sourceimpl Clone for PutProjectPolicyInput
impl Clone for PutProjectPolicyInput
sourcefn clone(&self) -> PutProjectPolicyInput
fn clone(&self) -> PutProjectPolicyInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PutProjectPolicyInput
impl Debug for PutProjectPolicyInput
sourceimpl PartialEq<PutProjectPolicyInput> for PutProjectPolicyInput
impl PartialEq<PutProjectPolicyInput> for PutProjectPolicyInput
sourcefn eq(&self, other: &PutProjectPolicyInput) -> bool
fn eq(&self, other: &PutProjectPolicyInput) -> bool
impl StructuralPartialEq for PutProjectPolicyInput
Auto Trait Implementations
impl RefUnwindSafe for PutProjectPolicyInput
impl Send for PutProjectPolicyInput
impl Sync for PutProjectPolicyInput
impl Unpin for PutProjectPolicyInput
impl UnwindSafe for PutProjectPolicyInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more