#[non_exhaustive]pub struct UpdateAccessPolicyInput {
pub access_policy_id: Option<String>,
pub access_policy_identity: Option<Identity>,
pub access_policy_resource: Option<Resource>,
pub access_policy_permission: Option<Permission>,
pub client_token: Option<String>,
}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.access_policy_id: Option<String>The ID of the access policy.
access_policy_identity: Option<Identity>The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
access_policy_resource: Option<Resource>The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
access_policy_permission: Option<Permission>The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.
client_token: Option<String>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
Implementations§
source§impl UpdateAccessPolicyInput
impl UpdateAccessPolicyInput
sourcepub fn access_policy_id(&self) -> Option<&str>
pub fn access_policy_id(&self) -> Option<&str>
The ID of the access policy.
sourcepub fn access_policy_identity(&self) -> Option<&Identity>
pub fn access_policy_identity(&self) -> Option<&Identity>
The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
sourcepub fn access_policy_resource(&self) -> Option<&Resource>
pub fn access_policy_resource(&self) -> Option<&Resource>
The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
sourcepub fn access_policy_permission(&self) -> Option<&Permission>
pub fn access_policy_permission(&self) -> Option<&Permission>
The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
source§impl UpdateAccessPolicyInput
impl UpdateAccessPolicyInput
sourcepub fn builder() -> UpdateAccessPolicyInputBuilder
pub fn builder() -> UpdateAccessPolicyInputBuilder
Creates a new builder-style object to manufacture UpdateAccessPolicyInput.
Trait Implementations§
source§impl Clone for UpdateAccessPolicyInput
impl Clone for UpdateAccessPolicyInput
source§fn clone(&self) -> UpdateAccessPolicyInput
fn clone(&self) -> UpdateAccessPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateAccessPolicyInput
impl Debug for UpdateAccessPolicyInput
source§impl PartialEq for UpdateAccessPolicyInput
impl PartialEq for UpdateAccessPolicyInput
source§fn eq(&self, other: &UpdateAccessPolicyInput) -> bool
fn eq(&self, other: &UpdateAccessPolicyInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAccessPolicyInput
Auto Trait Implementations§
impl Freeze for UpdateAccessPolicyInput
impl RefUnwindSafe for UpdateAccessPolicyInput
impl Send for UpdateAccessPolicyInput
impl Sync for UpdateAccessPolicyInput
impl Unpin for UpdateAccessPolicyInput
impl UnwindSafe for UpdateAccessPolicyInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more