[OBJECT-10059] Fix list_mfa and get_session_token

This commit is contained in:
Roman Chernykh 2024-10-28 19:32:18 +03:00
parent 06a4416f10
commit 53f99ebb10
3 changed files with 3 additions and 3 deletions

View file

@ -1319,7 +1319,7 @@ class AwsCliClient(S3ClientWrapper):
return response return response
@reporter.step("Get session token to user") @reporter.step("Get session token for user")
def sts_get_session_token( def sts_get_session_token(
self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None
) -> dict: ) -> dict:

View file

@ -982,7 +982,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
return response return response
@reporter.step("Get session token to user") @reporter.step("Get session token for user")
def sts_get_session_token( def sts_get_session_token(
self, duration_seconds: Optional[str] = "", serial_number: Optional[str] = "", token_code: Optional[str] = "" self, duration_seconds: Optional[str] = "", serial_number: Optional[str] = "", token_code: Optional[str] = ""
) -> dict: ) -> dict:

View file

@ -590,4 +590,4 @@ class S3ClientWrapper(HumanReadableABC):
def sts_get_session_token( def sts_get_session_token(
self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None
) -> dict: ) -> dict:
"""Get session token to user""" """Get session token for user"""