ResourcePermission

public struct ResourcePermission : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The IAM action to grant or revoke permissions on, for example “quicksight:DescribeDashboard”.

    Declaration

    Swift

    public let actions: [String]
  • The Amazon Resource Name (ARN) of the principal. This can be one of the following: The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.) The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

    Declaration

    Swift

    public let principal: String
  • Undocumented

    Declaration

    Swift

    public init(actions: [String], principal: String)
  • Declaration

    Swift

    public func validate(name: String) throws