Skip to content

Commit

Permalink
Remove Policy create action.
Browse files Browse the repository at this point in the history
Add reverse attach/detach Group/Role/User actions for Policy.
  • Loading branch information
DenverJ committed Mar 12, 2015
1 parent e57a125 commit d1301c8
Showing 1 changed file with 45 additions and 2 deletions.
47 changes: 45 additions & 2 deletions boto3/data/resources/iam-2010-05-08.resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -854,9 +854,28 @@
"path": "Policy"
},
"actions": {
"Create": {
"AttachGroup": {
"request": {
"operation": "AttachGroupPolicy",
"params": [
{ "target": "PolicyArn", "source": "identifier", "name": "Arn" }
]
}
},
"AttachRole": {
"request": {
"operation": "AttachRolePolicy",
"params": [
{ "target": "PolicyArn", "source": "identifier", "name": "Arn" }
]
}
},
"AttachUser": {
"request": {
"operation": "CreatePolicy"
"operation": "AttachUserPolicy",
"params": [
{ "target": "PolicyArn", "source": "identifier", "name": "Arn" }
]
}
},
"CreateVersion": {
Expand All @@ -881,6 +900,30 @@
{ "target": "PolicyArn", "source": "identifier", "name": "Arn" }
]
}
},
"DetachGroup": {
"request": {
"operation": "DetachGroupPolicy",
"params": [
{ "target": "PolicyArn", "source": "identifier", "name": "Arn" }
]
}
},
"DetachRole": {
"request": {
"operation": "DetachRolePolicy",
"params": [
{ "target": "PolicyArn", "source": "identifier", "name": "Arn" }
]
}
},
"DetachUser": {
"request": {
"operation": "DetachUserPolicy",
"params": [
{ "target": "PolicyArn", "source": "identifier", "name": "Arn" }
]
}
}
},
"has": {
Expand Down

0 comments on commit d1301c8

Please sign in to comment.