(key, version_id, is_latest=None, last_modified=None)
| 39 | |
| 40 | @staticmethod |
| 41 | def make_version(key, version_id, is_latest=None, last_modified=None): |
| 42 | version = {"Key": key, "VersionId": version_id} |
| 43 | if is_latest is not None: |
| 44 | version["IsLatest"] = is_latest |
| 45 | if last_modified: |
| 46 | version["LastModified"] = last_modified |
| 47 | return version |
| 48 | |
| 49 | def stub_create_bucket( |
| 50 | self, bucket_name, region_name=None, bucket_configuration=None, error_code=None |
no outgoing calls