diff options
author | Nisha Yadav <ynisha11@gmail.com> | 2016-08-18 16:26:36 +0530 |
---|---|---|
committer | Nisha Yadav <ynisha11@gmail.com> | 2016-08-18 17:14:18 +0530 |
commit | 70f3ee67e453d8236ab66df7415928bffce34861 (patch) | |
tree | 272d16f1a013e0e184875045a0a58148bbfa7ec2 | |
parent | 9a8b3d6dc64ee3464cf9108a02c2d046766e077e (diff) | |
download | python-keystoneclient-70f3ee67e453d8236ab66df7415928bffce34861.tar.gz |
Follow up patch for Improve docs for v3 ec2
This patch fixes a nit left by the review
I57bf96a60baed3a9420879f4f897e73a40ff102a
Change-Id: I958e6cb1978c100d735e59c12ee662070e7fdca8
Partial-Bug: #1330769
-rw-r--r-- | keystoneclient/v3/ec2.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keystoneclient/v3/ec2.py b/keystoneclient/v3/ec2.py index 06fac20..d32fbca 100644 --- a/keystoneclient/v3/ec2.py +++ b/keystoneclient/v3/ec2.py @@ -20,6 +20,8 @@ class EC2(base.Resource): * id: a string that identifies the EC2 resource. * user_id: the ID field of a pre-existing user in the backend. * project_id: the ID field of a pre-existing project in the backend. + * access: a string representing access key of the access/secret pair. + * secret: a string representing the secret of the access/secret pair. """ @@ -56,9 +58,8 @@ class EC2Manager(base.ManagerWithFind): :param user_id: the ID of the user whose access/secret pair will be retrieved from the server. :type user_id: str or :class:`keystoneclient.v3.users.User` - :param access: the access key whose access/secret pair will be - retrieved from the server. - :type access: str or :class:`keystoneclient.v3.ec2.EC2` + :param str access: the access key whose access/secret pair will be + retrieved from the server. :returns: the specified access/secret pair returned from server. :rtype: :class:`keystoneclient.v3.ec2.EC2` @@ -86,9 +87,8 @@ class EC2Manager(base.ManagerWithFind): :param user_id: the ID of the user whose access/secret pair will be deleted on the server. :type user_id: str or :class:`keystoneclient.v3.users.User` - :param access: the access key whose access/secret pair will be deleted - on the server. - :type access: str or :class:`keystoneclient.v3.ec2.EC2` + :param str access: the access key whose access/secret pair will be + deleted on the server. :returns: Response object with 204 status. :rtype: :class:`requests.models.Response` |