(self, path)
| 774 | |
| 775 | @classmethod |
| 776 | def has_underlying_s3_path(self, path): |
| 777 | bucket, _ = split_s3_bucket_key(path) |
| 778 | return bool( |
| 779 | self._S3_ACCESSPOINT_ARN_TO_ACCOUNT_NAME_REGEX.match(bucket) |
| 780 | or self._S3_OUTPOST_ACCESSPOINT_ARN_TO_ACCOUNT_REGEX.match(bucket) |
| 781 | or self._S3_MRAP_ARN_TO_ACCOUNT_ALIAS_REGEX.match(bucket) |
| 782 | or bucket.endswith('-s3alias') |
| 783 | or bucket.endswith('--op-s3') |
| 784 | ) |
| 785 | |
| 786 | @classmethod |
| 787 | def from_session(cls, session, region, verify_ssl): |