CreateAccessPolicyRequest
public struct CreateAccessPolicyRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The identity for this access policy. Choose either a user or a group but not both.
Declaration
Swift
public let accessPolicyIdentity: Identity
-
The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.
Declaration
Swift
public let accessPolicyPermission: Permission
-
The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
Declaration
Swift
public let accessPolicyResource: Resource
-
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.
Declaration
Swift
public let clientToken: String?
-
A list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.
Declaration
Swift
public let tags: [String : String]?
-
Undocumented
Declaration
Swift
public init(accessPolicyIdentity: Identity, accessPolicyPermission: Permission, accessPolicyResource: Resource, clientToken: String? = CreateAccessPolicyRequest.idempotencyToken(), tags: [String : String]? = nil)
-
Declaration
Swift
public func validate(name: String) throws