#[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 ==.