#[non_exhaustive]pub struct CreateAccessPolicyInput {
pub access_policy_identity: Option<Identity>,
pub access_policy_resource: Option<Resource>,
pub access_policy_permission: Option<Permission>,
pub client_token: Option<String>,
pub tags: Option<HashMap<String, 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_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.
A list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
Implementations§
source§impl CreateAccessPolicyInput
impl CreateAccessPolicyInput
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.
A list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
source§impl CreateAccessPolicyInput
impl CreateAccessPolicyInput
sourcepub fn builder() -> CreateAccessPolicyInputBuilder
pub fn builder() -> CreateAccessPolicyInputBuilder
Creates a new builder-style object to manufacture CreateAccessPolicyInput.
Trait Implementations§
source§impl Clone for CreateAccessPolicyInput
impl Clone for CreateAccessPolicyInput
source§fn clone(&self) -> CreateAccessPolicyInput
fn clone(&self) -> CreateAccessPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateAccessPolicyInput
impl Debug for CreateAccessPolicyInput
source§impl PartialEq for CreateAccessPolicyInput
impl PartialEq for CreateAccessPolicyInput
source§fn eq(&self, other: &CreateAccessPolicyInput) -> bool
fn eq(&self, other: &CreateAccessPolicyInput) -> bool
self and other values to be equal, and is used
by ==.