Skip to content

Commit d635af5

Browse files
author
awstools
committed
feat(client-verifiedpermissions): Amazon Verified Permissions / Features : Adds support for entity Cedar tags.
1 parent 6fc319f commit d635af5

File tree

7 files changed

+584
-68
lines changed

7 files changed

+584
-68
lines changed

clients/client-verifiedpermissions/src/commands/BatchIsAuthorizedCommand.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,39 @@ export interface BatchIsAuthorizedCommandOutput extends BatchIsAuthorizedOutput,
8888
* parents: [ // ParentList
8989
* "<EntityIdentifier>",
9090
* ],
91+
* tags: { // EntityCedarTags
92+
* "<keys>": { // CedarTagValue Union: only one key present
93+
* boolean: true || false,
94+
* entityIdentifier: "<EntityIdentifier>",
95+
* long: Number("long"),
96+
* string: "STRING_VALUE",
97+
* set: [ // CedarTagSetAttribute
98+
* {// Union: only one key present
99+
* boolean: true || false,
100+
* entityIdentifier: "<EntityIdentifier>",
101+
* long: Number("long"),
102+
* string: "STRING_VALUE",
103+
* set: [
104+
* "<CedarTagValue>",
105+
* ],
106+
* record: { // CedarTagRecordAttribute
107+
* "<keys>": "<CedarTagValue>",
108+
* },
109+
* ipaddr: "STRING_VALUE",
110+
* decimal: "STRING_VALUE",
111+
* datetime: "STRING_VALUE",
112+
* duration: "STRING_VALUE",
113+
* },
114+
* ],
115+
* record: {
116+
* "<keys>": "<CedarTagValue>",
117+
* },
118+
* ipaddr: "STRING_VALUE",
119+
* decimal: "STRING_VALUE",
120+
* datetime: "STRING_VALUE",
121+
* duration: "STRING_VALUE",
122+
* },
123+
* },
91124
* },
92125
* ],
93126
* cedarJson: "STRING_VALUE",

clients/client-verifiedpermissions/src/commands/BatchIsAuthorizedWithTokenCommand.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,39 @@ export interface BatchIsAuthorizedWithTokenCommandOutput extends BatchIsAuthoriz
9090
* parents: [ // ParentList
9191
* "<EntityIdentifier>",
9292
* ],
93+
* tags: { // EntityCedarTags
94+
* "<keys>": { // CedarTagValue Union: only one key present
95+
* boolean: true || false,
96+
* entityIdentifier: "<EntityIdentifier>",
97+
* long: Number("long"),
98+
* string: "STRING_VALUE",
99+
* set: [ // CedarTagSetAttribute
100+
* {// Union: only one key present
101+
* boolean: true || false,
102+
* entityIdentifier: "<EntityIdentifier>",
103+
* long: Number("long"),
104+
* string: "STRING_VALUE",
105+
* set: [
106+
* "<CedarTagValue>",
107+
* ],
108+
* record: { // CedarTagRecordAttribute
109+
* "<keys>": "<CedarTagValue>",
110+
* },
111+
* ipaddr: "STRING_VALUE",
112+
* decimal: "STRING_VALUE",
113+
* datetime: "STRING_VALUE",
114+
* duration: "STRING_VALUE",
115+
* },
116+
* ],
117+
* record: {
118+
* "<keys>": "<CedarTagValue>",
119+
* },
120+
* ipaddr: "STRING_VALUE",
121+
* decimal: "STRING_VALUE",
122+
* datetime: "STRING_VALUE",
123+
* duration: "STRING_VALUE",
124+
* },
125+
* },
93126
* },
94127
* ],
95128
* cedarJson: "STRING_VALUE",

clients/client-verifiedpermissions/src/commands/IsAuthorizedCommand.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,39 @@ export interface IsAuthorizedCommandOutput extends IsAuthorizedOutput, __Metadat
103103
* parents: [ // ParentList
104104
* "<EntityIdentifier>",
105105
* ],
106+
* tags: { // EntityCedarTags
107+
* "<keys>": { // CedarTagValue Union: only one key present
108+
* boolean: true || false,
109+
* entityIdentifier: "<EntityIdentifier>",
110+
* long: Number("long"),
111+
* string: "STRING_VALUE",
112+
* set: [ // CedarTagSetAttribute
113+
* {// Union: only one key present
114+
* boolean: true || false,
115+
* entityIdentifier: "<EntityIdentifier>",
116+
* long: Number("long"),
117+
* string: "STRING_VALUE",
118+
* set: [
119+
* "<CedarTagValue>",
120+
* ],
121+
* record: { // CedarTagRecordAttribute
122+
* "<keys>": "<CedarTagValue>",
123+
* },
124+
* ipaddr: "STRING_VALUE",
125+
* decimal: "STRING_VALUE",
126+
* datetime: "STRING_VALUE",
127+
* duration: "STRING_VALUE",
128+
* },
129+
* ],
130+
* record: {
131+
* "<keys>": "<CedarTagValue>",
132+
* },
133+
* ipaddr: "STRING_VALUE",
134+
* decimal: "STRING_VALUE",
135+
* datetime: "STRING_VALUE",
136+
* duration: "STRING_VALUE",
137+
* },
138+
* },
106139
* },
107140
* ],
108141
* cedarJson: "STRING_VALUE",

clients/client-verifiedpermissions/src/commands/IsAuthorizedWithTokenCommand.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,39 @@ export interface IsAuthorizedWithTokenCommandOutput extends IsAuthorizedWithToke
101101
* parents: [ // ParentList
102102
* "<EntityIdentifier>",
103103
* ],
104+
* tags: { // EntityCedarTags
105+
* "<keys>": { // CedarTagValue Union: only one key present
106+
* boolean: true || false,
107+
* entityIdentifier: "<EntityIdentifier>",
108+
* long: Number("long"),
109+
* string: "STRING_VALUE",
110+
* set: [ // CedarTagSetAttribute
111+
* {// Union: only one key present
112+
* boolean: true || false,
113+
* entityIdentifier: "<EntityIdentifier>",
114+
* long: Number("long"),
115+
* string: "STRING_VALUE",
116+
* set: [
117+
* "<CedarTagValue>",
118+
* ],
119+
* record: { // CedarTagRecordAttribute
120+
* "<keys>": "<CedarTagValue>",
121+
* },
122+
* ipaddr: "STRING_VALUE",
123+
* decimal: "STRING_VALUE",
124+
* datetime: "STRING_VALUE",
125+
* duration: "STRING_VALUE",
126+
* },
127+
* ],
128+
* record: {
129+
* "<keys>": "<CedarTagValue>",
130+
* },
131+
* ipaddr: "STRING_VALUE",
132+
* decimal: "STRING_VALUE",
133+
* datetime: "STRING_VALUE",
134+
* duration: "STRING_VALUE",
135+
* },
136+
* },
104137
* },
105138
* ],
106139
* cedarJson: "STRING_VALUE",

0 commit comments

Comments
 (0)