From 70f3ee67e453d8236ab66df7415928bffce34861 Mon Sep 17 00:00:00 2001 From: Nisha Yadav Date: Thu, 18 Aug 2016 16:26:36 +0530 Subject: [PATCH] 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 --- keystoneclient/v3/ec2.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/keystoneclient/v3/ec2.py b/keystoneclient/v3/ec2.py index 06fac20cd..d32fbcaa3 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`