[#371] Add IAM and STS clients to boto3-stubs
Signed-off-by: Kirill Sosnovskikh <k.sosnovskikh@yadro.com>
This commit is contained in:
parent
d38808a1f5
commit
80226ee0a8
3 changed files with 7 additions and 5 deletions
|
@ -10,7 +10,9 @@ import boto3
|
|||
import urllib3
|
||||
from botocore.config import Config
|
||||
from botocore.exceptions import ClientError
|
||||
from mypy_boto3_iam import IAMClient
|
||||
from mypy_boto3_s3 import S3Client
|
||||
from mypy_boto3_sts import STSClient
|
||||
|
||||
from frostfs_testlib import reporter
|
||||
from frostfs_testlib.clients.s3.interfaces import S3ClientWrapper, VersioningStatus, _make_objs_dict
|
||||
|
@ -39,8 +41,8 @@ class Boto3ClientWrapper(S3ClientWrapper):
|
|||
self.boto3_client: S3Client = None
|
||||
|
||||
self.iam_endpoint: str = ""
|
||||
self.boto3_iam_client: S3Client = None
|
||||
self.boto3_sts_client: S3Client = None
|
||||
self.boto3_iam_client: IAMClient = None
|
||||
self.boto3_sts_client: STSClient = None
|
||||
|
||||
self.access_key_id = access_key_id
|
||||
self.secret_access_key = secret_access_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue