Skip to content

Commit

Permalink
Added result_key to Elastic Transcoder & IAM for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastdriven committed Dec 6, 2013
1 parent 6320dfe commit 8658d12
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 24 deletions.
21 changes: 14 additions & 7 deletions boto3/data/aws/resources/elastictranscoder-2012-09-25.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
"resource": "Pipeline",
"operations": {
"create": {
"api_name": "CreatePipeline"
"api_name": "CreatePipeline",
"result_key": "Pipeline"
},
"each": {
"api_name": "ListPipelines"
"api_name": "ListPipelines",
"result_key": "Pipelines"
},
"test_role": {
"api_name": "TestRole"
Expand All @@ -18,24 +20,29 @@
"resource": "Preset",
"operations": {
"create": {
"api_name": "CreatePreset"
"api_name": "CreatePreset",
"result_key": "Preset"
},
"each": {
"api_name": "ListPresets"
"api_name": "ListPresets",
"result_key": "Presets"
}
}
},
"JobCollection": {
"resource": "Job",
"operations": {
"create": {
"api_name": "CreateJob"
"api_name": "CreateJob",
"result_key": "Job"
},
"each_by_pipeline": {
"api_name": "ListJobsByPipeline"
"api_name": "ListJobsByPipeline",
"result_key": "Jobs"
},
"each_by_status": {
"api_name": "ListJobsByStatus"
"api_name": "ListJobsByStatus",
"result_key": "Jobs"
}
}
}
Expand Down
51 changes: 34 additions & 17 deletions boto3/data/aws/resources/iam-2010-05-08.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,68 +4,81 @@
"resource": "AccessKey",
"operations": {
"create": {
"api_name": "CreateAccessKey"
"api_name": "CreateAccessKey",
"result_key": "AccessKey"
},
"each": {
"api_name": "ListAccessKeys"
"api_name": "ListAccessKeys",
"result_key": "AccessKeyMetadata"
}
}
},
"AccountAliasCollection": {
"resource": "AccountAlias",
"operations": {
"create": {
"api_name": "CreateAccountAlias"
"api_name": "CreateAccountAlias",
"result_key": null
},
"each": {
"api_name": "ListAccountAliases"
"api_name": "ListAccountAliases",
"result_key": "AccountAliases"
}
}
},
"GroupCollection": {
"resource": "Group",
"operations": {
"create": {
"api_name": "CreateGroup"
"api_name": "CreateGroup",
"result_key": "Group"
},
"each": {
"api_name": "ListGroups"
"api_name": "ListGroups",
"result_key": "Groups"
},
"each_by_user": {
"api_name": "ListGroupsForUser"
"api_name": "ListGroupsForUser",
"result_key": "Groups"
}
}
},
"InstanceProfileCollection": {
"resource": "InstanceProfile",
"operations": {
"create": {
"api_name": "CreateInstanceProfile"
"api_name": "CreateInstanceProfile",
"result_key": "InstanceProfile"
},
"each": {
"api_name": "ListInstanceProfiles"
"api_name": "ListInstanceProfiles",
"result_key": "InstanceProfiles"
},
"each_by_role": {
"api_name": "ListInstanceProfilesForRole"
"api_name": "ListInstanceProfilesForRole",
"result_key": "InstanceProfiles"
}
}
},
"LoginProfileCollection": {
"resource": "LoginProfile",
"operations": {
"create": {
"api_name": "CreateLoginProfile"
"api_name": "CreateLoginProfile",
"result_key": "LoginProfile"
}
}
},
"RoleCollection": {
"resource": "Role",
"operations": {
"create": {
"api_name": "CreateRole"
"api_name": "CreateRole",
"result_key": "Role"
},
"each": {
"api_name": "ListRoles"
"api_name": "ListRoles",
"result_key": "Roles"
}
}
},
Expand All @@ -76,7 +89,8 @@
"api_name": "ChangePassword"
},
"create": {
"api_name": "CreateUser"
"api_name": "CreateUser",
"result_key": "User"
},
"delete_account_password_policy": {
"api_name": "DeleteAccountPasswordPolicy"
Expand All @@ -103,7 +117,8 @@
"api_name": "ListSigningCertificates"
},
"each": {
"api_name": "ListUsers"
"api_name": "ListUsers",
"result_key": "Users"
},
"update_account_password_policy": {
"api_name": "UpdateAccountPasswordPolicy"
Expand All @@ -126,10 +141,12 @@
"resource": "VirtualMFADevice",
"operations": {
"create": {
"api_name": "CreateVirtualMFADevice"
"api_name": "CreateVirtualMFADevice",
"result_key": "VirtualMFADevice"
},
"each": {
"api_name": "ListVirtualMFADevices"
"api_name": "ListVirtualMFADevices",
"result_key": "VirtualMFADevices"
}
}
}
Expand Down

0 comments on commit 8658d12

Please sign in to comment.