File: common.rnc

package info (click to toggle)
swift 2.35.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,760 kB
  • sloc: python: 281,901; javascript: 1,059; sh: 619; pascal: 295; makefile: 81; xml: 32
file content (26 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"

CanonicalUser =
  element ID { xsd:string } &
  element DisplayName { xsd:string }?

StorageClass = "STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "UNKNOWN"

AccessControlList =
  element Grant {
    element Grantee {
      (
        attribute xsi:type { "AmazonCustomerByEmail" },
        element EmailAddress { xsd:string }
      ) | (
        attribute xsi:type { "CanonicalUser" },
        CanonicalUser
      ) | (
        attribute xsi:type { "Group" },
        element URI { xsd:string }
      )
    } &
    element Permission {
      "READ" | "WRITE" | "READ_ACP" | "WRITE_ACP" | "FULL_CONTROL"
    }
  }*