class Aws::IoTSiteWise::Types::UpdateAccessPolicyRequest

@note When making an API call, you may pass UpdateAccessPolicyRequest

data as a hash:

    {
      access_policy_id: "ID", # required
      access_policy_identity: { # required
        user: {
          id: "IdentityId", # required
        },
        group: {
          id: "IdentityId", # required
        },
        iam_user: {
          arn: "ARN", # required
        },
        iam_role: {
          arn: "ARN", # required
        },
      },
      access_policy_resource: { # required
        portal: {
          id: "ID", # required
        },
        project: {
          id: "ID", # required
        },
      },
      access_policy_permission: "ADMINISTRATOR", # required, accepts ADMINISTRATOR, VIEWER
      client_token: "ClientToken",
    }

@!attribute [rw] access_policy_id

The ID of the access policy.
@return [String]

@!attribute [rw] access_policy_identity

The identity for this access policy. Choose an Amazon Web Services
SSO user, an Amazon Web Services SSO group, or an IAM user.
@return [Types::Identity]

@!attribute [rw] access_policy_resource

The IoT SiteWise Monitor resource for this access policy. Choose
either a portal or a project.
@return [Types::Resource]

@!attribute [rw] access_policy_permission

The permission level for this access policy. Note that a project
`ADMINISTRATOR` is also known as a project owner.
@return [String]

@!attribute [rw] client_token

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 suitable default value is auto-generated.** You should normally
not need to pass this option.
@return [String]

Constants

SENSITIVE