@@ -519,112 +519,112 @@ def list_access_keys():
519519 _initialize_client_from_environment ()
520520 return _client .list_access_keys ()
521521
522- def get_access_key (access_key_id ):
522+ def get_access_key (key ):
523523 """
524524 Returns details on a particular access key. A master key must be set first.
525525
526- :param access_key_id : the 'key' value of the access key to retreive data from
526+ :param key : the 'key' value of the access key to retreive data from
527527 """
528528 _initialize_client_from_environment ()
529- return _client .get_access_key (access_key_id )
529+ return _client .get_access_key (key )
530530
531- def update_access_key_name (access_key_id , name ):
531+ def update_access_key_name (key , name ):
532532 """
533533 Updates only the name portion of an access key.
534534
535- :param access_key_id : the 'key' value of the access key to change the name of
535+ :param key : the 'key' value of the access key to change the name of
536536 :param name: the new name to give this access key
537537 """
538538 _initialize_client_from_environment ()
539- return _client .update_access_key_name (access_key_id , name )
539+ return _client .update_access_key_name (key , name )
540540
541- def add_access_key_permissions (access_key_id , permissions ):
541+ def add_access_key_permissions (key , permissions ):
542542 """
543543 Adds to the existing list of permissions on this key with the contents of this list.
544544 Will not remove any existing permissions or modify the remainder of the key.
545545
546- :param access_key_id : the 'key' value of the access key to add permissions to
546+ :param key : the 'key' value of the access key to add permissions to
547547 :param permissions: the new permissions to add to the existing list of permissions
548548 """
549549 _initialize_client_from_environment ()
550- return _client .add_access_key_permissions (access_key_id , permissions )
550+ return _client .add_access_key_permissions (key , permissions )
551551
552- def remove_access_key_permissions (access_key_id , permissions ):
552+ def remove_access_key_permissions (key , permissions ):
553553 """
554554 Removes a list of permissions from the existing list of permissions.
555555 Will not remove all existing permissions unless all such permissions are included
556556 in this list. Not to be confused with key revocation.
557557
558558 See also: revoke_access_key()
559559
560- :param access_key_id : the 'key' value of the access key to remove some permissions from
560+ :param key : the 'key' value of the access key to remove some permissions from
561561 :param permissions: the permissions you wish to remove from this access key
562562 """
563563 _initialize_client_from_environment ()
564- return _client .remove_access_key_permissions (access_key_id , permissions )
564+ return _client .remove_access_key_permissions (key , permissions )
565565
566- def update_access_key_permissions (access_key_id , permissions ):
566+ def update_access_key_permissions (key , permissions ):
567567 """
568568 Replaces all of the permissions on the access key but does not change
569569 non-permission properties such as the key's name.
570570
571571 See also: add_access_key_permissions() and remove_access_key_permissions().
572572
573- :param access_key_id : the 'key' value of the access key to change the permissions of
573+ :param key : the 'key' value of the access key to change the permissions of
574574 :param permissions: the new list of permissions for this key
575575 """
576576 _initialize_client_from_environment ()
577- return _client .update_access_key_permissions (access_key_id , permissions )
577+ return _client .update_access_key_permissions (key , permissions )
578578
579- def update_access_key_options (access_key_id , options ):
579+ def update_access_key_options (key , options ):
580580 """
581581 Replaces all of the options on the access key but does not change
582582 non-option properties such as permissions or the key's name.
583583
584- :param access_key_id : the 'key' value of the access key to change the options of
584+ :param key : the 'key' value of the access key to change the options of
585585 :param options: the new dictionary of options for this key
586586 """
587587 _initialize_client_from_environment ()
588- return _client .update_access_key_options (access_key_id , options )
588+ return _client .update_access_key_options (key , options )
589589
590- def update_access_key_full (access_key_id , name , is_active , permitted , options ):
590+ def update_access_key_full (key , name , is_active , permitted , options ):
591591 """
592592 Replaces the 'name', 'is_active', 'permitted', and 'options' values of a given key.
593593 A master key must be set first.
594594
595- :param access_key_id : the 'key' value of the access key for which the values will be replaced
595+ :param key : the 'key' value of the access key for which the values will be replaced
596596 :param name: the new name desired for this access key
597597 :param is_active: whether the key should become enabled (True) or revoked (False)
598598 :param permitted: the new list of permissions desired for this access key
599599 :param options: the new dictionary of options for this access key
600600 """
601601 _initialize_client_from_environment ()
602- return _client .update_access_key_full (access_key_id , name , is_active , permitted , options )
602+ return _client .update_access_key_full (key , name , is_active , permitted , options )
603603
604- def revoke_access_key (access_key_id ):
604+ def revoke_access_key (key ):
605605 """
606606 Revokes an access key. "Bad dog! No biscuit!"
607607
608- :param access_key_id : the 'key' value of the access key to revoke
608+ :param key : the 'key' value of the access key to revoke
609609 """
610610 _initialize_client_from_environment ()
611- return _client .revoke_access_key (access_key_id )
611+ return _client .revoke_access_key (key )
612612
613- def unrevoke_access_key (access_key_id ):
613+ def unrevoke_access_key (key ):
614614 """
615615 Re-enables an access key.
616616
617- :param access_key_id : the 'key' value of the access key to re-enable (unrevoke)
617+ :param key : the 'key' value of the access key to re-enable (unrevoke)
618618 """
619619 _initialize_client_from_environment ()
620- return _client .unrevoke_access_key (access_key_id )
620+ return _client .unrevoke_access_key (key )
621621
622622
623- def delete_access_key (access_key_id ):
623+ def delete_access_key (key ):
624624 """
625625 Deletes an access key.
626626
627- :param access_key_id : the 'key' value of the access key to delete
627+ :param key : the 'key' value of the access key to delete
628628 """
629629 _initialize_client_from_environment ()
630- return _client .delete_access_key (access_key_id )
630+ return _client .delete_access_key (key )
0 commit comments