Created
June 25, 2013 17:35
-
-
Save mursts/5860520 to your computer and use it in GitHub Desktop.
Amazon SimpleDBのドメインを作成する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
import boto.sdb | |
def main(): | |
conn = boto.sdb.connect_to_region('ap-northeast-1') | |
if conn is None: | |
print 'connect failed.' | |
return | |
conn.create_domain('jp.mursts.sdb.glacier_backup') | |
print conn.get_all_domains() | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment