<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Makes No Sense At All &#187; Amazon Webservices</title>
	<atom:link href="http://www.katoemba.net/makesnosenseatall/tag/amazon-webservices/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.katoemba.net/makesnosenseatall</link>
	<description>Interesting things to share around software development, music and what else comes to mind</description>
	<lastBuildDate>Mon, 17 May 2010 19:59:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Signing Amazon Webservices requests</title>
		<link>http://www.katoemba.net/makesnosenseatall/2009/07/11/signing-amazon-webservices-requests/</link>
		<comments>http://www.katoemba.net/makesnosenseatall/2009/07/11/signing-amazon-webservices-requests/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 14:16:45 +0000</pubDate>
		<dc:creator>Berrie</dc:creator>
				<category><![CDATA[Software development]]></category>
		<category><![CDATA[Amazon Webservices]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.katoemba.net/makesnosenseatall/2009/07/11/signing-amazon-webservices-requests/</guid>
		<description><![CDATA[MPoD is retrieving cover art for the currently playing song from Amazon the AWS (Amazon Web Services). From August 15 onwards, all requests made will have to be signed using a secret key that is attached to the registered AWSAccessKeyId. Searching on Google, I found various helpful bits, especially on the learn amazon web services [...]]]></description>
			<content:encoded><![CDATA[<p>MPoD is retrieving cover art for the currently playing song from Amazon the AWS (Amazon Web Services). From August 15 onwards, all requests made will have to be signed using a secret key that is attached to the registered AWSAccessKeyId. Searching on Google, I found various helpful bits, especially on the <a href="http://learnaws.com/archives/category/blog" target="_blank">learn amazon web services</a> blog. But I didn&#8217;t find a ready made implementation that I could use directly from my code.</p>
<p>Based on what I found I created a helper class AWSRequestSigner, that takes a dictionary of parameters to pass to the webservice, and returns a ready made NSURL object that can be used in an NSURLRequest object as in the following example:</p>
<pre>
<code>
NSURL *url = [AWSRequestSigner urlForParameterDict:[NSDictionary dictionaryWithObjectsAndKeys:
                                               @"Sea Of Tears",        @"Title",
                                               @"Eilen Jewell",        @"Artist",
                                               @"ItemSearch",          @"Operation",
                                               @"Images",              @"ResponseGroup",
                                               @"Music",               @"SearchIndex",
                                               @"AWSECommerceService", @"Service",
                                               nil]];
</code>
</pre>
<p>To look at the source code for the AWSRequestSigner class, download it <a href="http://www.katoemba.net/makesnosenseatall/wp-content/uploads/2009/07/AWSRequestSigner.zip" title="AWSRequestSigner.zip">here</a> and open it in XCode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.katoemba.net/makesnosenseatall/2009/07/11/signing-amazon-webservices-requests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
