| ¾Æ¸¶Á¸ :: S3. Amazon :: S3Àº Amazon S3 ¹öŶ ¹× Å°¸¦ »ç¿ëÇÏ¿© ÀÛ¾÷ÇÏ°í °ü¸®ÇϱâÀ§ÇÑ ÈÞ´ë¿ë Ŭ¶óÀ̾ðÆ® ¶óÀ̺귯¸®ÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
¾Æ¸¶Á¸ :: S3. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Timothy Appnel
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~tima/Text-Tiki-0.73/Tiki.pm
¾Æ¸¶Á¸ :: S3. ű×
¾Æ¸¶Á¸ :: S3. ¼³¸í
Amazon :: S3´Â Amazon S3 ¹öŶ ¹× Å°¸¦ »ç¿ëÇÏ¿© °ü¸®ÇϱâÀ§ÇÑ ÈÞ´ë¿ë Ŭ¶óÀ̾ðÆ® ¶óÀ̺귯¸®ÀÔ´Ï´Ù. Amazon :: S3Àº Amazon S3 ¹öŶ ¹× Keys.Synopsis #! / USR / BIN / PerlÀ» »ç¿ëÇÏ´Â ÈÞ´ë¿ë Ŭ¶óÀ̾ðÆ® ¶óÀ̺귯¸®ÀÔ´Ï´Ù. ¾ö°ÝÇÑ »ç¿ë; Amazon :: S3; VARS QW / $ OWNER_ID $ OWNER_DISPLAYNAME /; ³» $ aws_access_key_id = "³ª¸¦ ä¿ì½Ê½Ã¿À!"; ³» $ aws_secret_access_key = "³ª¸¦ ³Ê¹« ä¿ì½Ê½Ã¿À!"; MY $ S3 = Amazon :: S3-> »õ ({AWS_ACCESS_KEY_ID => $ aws_acces_key_id, aws_secret_access_key => $ aws_secret_access_key}); ³» $ ´äº¯ = $ S3-> ¹öŶ; # ¹öŶ ¸¸µé±â MY $ BUCKET_NAME = $ AWS_ACCESS_KEY_ID. '-net-amazon-s3-test'; MY $ BUCKET = $ S3-> add_bucket ({bucket => $ bucket_name}) ¶Ç´Â Die $ S3-> Err. ":". $ s3-> errstr; # ÄÜÅÙÃ÷ Çü½Ä°ú ÀϺΠ¼±ÅÃÀû ¸ÞŸ µ¥ÀÌÅÍ°¡ÀÖ´Â Å°¸¦ ÀúÀåÇϽʽÿÀ. $ keyname = 'testing.txt'; ³» $ value = 't'; $ bucket-> add_key ($ keyname, $ value, {content_type => text / plain ','x-amz-meta-color '=>'orange ',}); # BUCKET $ RESPLESS = $ BUCKET-> ¸ñ·Ï ¶Ç´Â DIE S3-> ERR. ":". $ s3-> errstr; $ ÀÀ´ä -> {bucket}¸¦ ÀμâÇϽʽÿÀ. "n"; $ key (@ {$ ´äº¯ -> {keys}}) {print "t". $ Å° -> {key}. "n"; } # ¹öŶ $ BUCKET-> delete_key ($ Å° À̸§)¿¡¼ Å° »èÁ¦; # »èÁ¦ ¹öŶ $ BUCET-> DELETE_BUCKET; Amazon :: S3Àº Amazon Simple Storage System (S3)¿¡ ´ëÇÑ ÈÞ´ë¿ë Ŭ¶óÀ̾ðÆ® ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÕ´Ï´Ù. "Amazon S3´Â ÀÎÅͳÝÀ»À§ÇÑ ÀúÀå¼ÒÀÔ´Ï´Ù. °³¹ßÀÚ¸¦ À§ÇØ À¥ ½ºÄÉÀÏ ÄÄÇ»ÆÃÀ» ½±°Ô ÇÒ ¼ö ÀÖµµ·Ï ¼³°èµÇ¾ú½À´Ï´Ù. ¾Æ¸¶Á¸ S3Àº À¥ÀÇ ¾î´À °÷¿¡¼³ª ´Ù¸¥ µ¥ÀÌÅ͸¦ ÀúÀåÇÏ°í °Ë»öÇÏ´Â µ¥ »ç¿ëÇÒ ¼öÀÖ´Â °£´ÜÇÑ À¥ ¼ºñ½º ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÕ´Ï´Ù. ±×°ÍÀº µ¿ÀÏÇÑ È®Àå ¼º, ¾ÈÁ¤ÀûÀÌ¸ç ºü¸£°í Àú·ÅÇÑ µ¥ÀÌÅÍ ½ºÅ丮Áö ÀÎÇÁ¶ó¿¡ ´ëÇÑ °³¹ßÀÚ ¾×¼¼½º¸¦ Á¦°øÇÕ´Ï´Ù. AmazonÀº À¥ »çÀÌÆ®ÀÇ ÀÚü ±Û·Î¹ú ³×Æ®¿öÅ©¸¦ ½ÇÇàÇÏ´Â µ¥ »ç¿ëÇÕ´Ï´Ù. ¼ºñ½º´Â ±Ô¸ðÀÇ ÀÌÁ¡À» ±Ø´ëÈÇÏ°í °³¹ßÀÚ¿¡°Ô ÀÌ·¯ÇÑ ÀÌÁ¡À» Àü´ÞÇÏ´Â °ÍÀ» ¸ñÇ¥·ÎÇÕ´Ï´Ù. " ¿ä±¸ »çÇ× : ¡¤ Perl.
¾Æ¸¶Á¸ :: S3. °ü·Ã ¼ÒÇÁÆ®¿þ¾î