diff options
author | Greg Taylor <gtaylor@l11solutions.com> | 2012-08-22 11:35:12 -0400 |
---|---|---|
committer | Greg Taylor <gtaylor@l11solutions.com> | 2012-08-22 11:35:12 -0400 |
commit | a34ed11ce5d863745e12676bd224fa51bdaace73 (patch) | |
tree | c7b693d0bcb8d14700a4a610f345095968a16774 /boto/iam | |
parent | 0eab792d010003e214340530dff72d50ab7e253e (diff) | |
download | boto-a34ed11ce5d863745e12676bd224fa51bdaace73.tar.gz |
Re-name IAMConnection.get_all_server_certs to list_server_certs. Preserved backwards compatibility. This matches the IAM API, and is more consistent.
Diffstat (limited to 'boto/iam')
-rw-r--r-- | boto/iam/connection.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/boto/iam/connection.py b/boto/iam/connection.py index e3edde8a..b71633b8 100644 --- a/boto/iam/connection.py +++ b/boto/iam/connection.py @@ -673,7 +673,7 @@ class IAMConnection(AWSQueryConnection): # Server Certificates # - def get_all_server_certs(self, path_prefix='/', + def list_server_certs(self, path_prefix='/', marker=None, max_items=None): """ Lists the server certificates that have the specified path prefix. @@ -705,6 +705,10 @@ class IAMConnection(AWSQueryConnection): params, list_marker='ServerCertificateMetadataList') + # Preserves backwards compatibility. + # TODO: Look into deprecating this eventually? + get_all_server_certs = list_server_certs + def update_server_cert(self, cert_name, new_cert_name=None, new_path=None): """ |