我们从Python开源项目中,提取了以下6个代码示例,用于说明如何使用botocore.exceptions.RefreshWithMFAUnsupportedError()。
def create_mfa_serial_refresher(): def _refresher(): # We can explore an option in the future to support # reprompting for MFA, but for now we just error out # when the temp creds expire. raise RefreshWithMFAUnsupportedError() return _refresher