forked from aws/aws-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.html
More file actions
130 lines (124 loc) · 4.24 KB
/
README.html
File metadata and controls
130 lines (124 loc) · 4.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Readme: AWS SDK for Java - Amazon SQS Sample</title>
<!--
These style should be copied directly from the common CSS.
We include them in the document to make distributing files
easier.
-->
<style type="text/css">
/* --------------------------------------------- */
/* AWS Developer Content Styles */
/* --------------------------------------------- */
body, div, p, td, th {
font-family : helvetica,sans-serif, arial;
font-size : 12px;
color : #000000;
}
.aws-h1, h1{
font-family: verdana, arial, helvetica, sans-serif;
font-size: 18px;
font-weight: bold;
color: #000000;
}
.aws-h2, h2{
font-family: verdana, arial, helvetica, sans-serif;
font-size: 14px;
color: #c60;
}
.aws-h3, h3{
font-family: verdana, arial, helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #333333;
}
/*table ID selector styles*/
#aws-table {
border-top: 1px solid #cccccc;
border-left: 1px solid #cccccc;
width:95%;
}
#aws-table td{
font-size: 12px;
padding: 5px 5px 5px 5px;
border-bottom: 1px solid #cccccc;
border-right: 1px solid #cccccc;
vertical-align:top;
}
#aws-table th {
font-size: 12px;
padding: 5px 5px 5px 5px;
border-bottom: 1px solid #cccccc;
border-right: 1px solid #cccccc;
vertical-align:top;
background-color: #eeeeee;
color: #333333;
font-size: 12px;
font-weight: bold;
text-align: left;
}
/*code, note, and example styles*/
.aws-code .programlisting{
font-family: "Courier New", Courier, mono;
font-size: 12px;
margin-top: 5px;
margin-bottom: 5px;
color: #000066;
padding: 5px;
background-color: #eff7ff;
border: 1px dashed #333;
width:99%;
}
.aws-code-inline {
font-family: "Courier New", Courier, mono;
font-size: 11px;
}
.aws-note {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-top-color: #CCCCCC;
border-right-color: #CCCCCC;
border-bottom-color: #CCCCCC;
border-left-color: #CCCCCC;
padding: 10px;
width:95%;
margin-left: 20px;
margin-right: 20px;
}
</style>
</head>
<body>
<h1>Amazon SimpleDB Sample</h1>
This is a sample that demonstrates how to make basic requests to Amazon SimpleDB using the AWS SDK for Java.
<h2>Prerequisites</h2>
<ul>
<li>You must have a valid Amazon Web Services developer account.</li>
<li>Requires the AWS SDK for Java. For more information on the AWS SDK for Java, see <a href="http://aws.amazon.com/sdkforjava">http://aws.amazon.com/sdkforjava</a>.</li>
<li>You must be signed up to use Amazon SimpleDB. For more information on Amazon SimpleDB, see <a href="http://aws.amazon.com/simpledb">http://aws.amazon.com/simpledb</a>. </li>
</ul>
<h2>Running the Sample</h2>
<p>The basic steps for running the Amazon SimpleDB sample are:</p>
<ol>
<li>Open the AwsCredentials.properties in the sample folder.</li>
<li>Locate the following section and fill in your Access Key ID and Secret Access Key:<br />
<br />
<code># Fill in your AWS Access Key ID and Secret Access Key<br />
# <a href="http://aws.amazon.com/security-credentials">http://aws.amazon.com/security-credentials</a><br />
accessKey =<br />
secretKey =</code><br />
</li>
<li>Save the file.</li>
<li>Run the <code>SimpleDBSample.java</code> file, located in the same directory as the properties file. The sample prints information to the standard output.</li>
</ol>
<p class="aws-note"><strong>NOTE:</strong> The sample also includes an Ant build.xml file to run the sample.</p>
<p>See the <a href="http://docs.amazonwebservices.com/AmazonSimpleDB/latest/GettingStartedGuide/">Amazon SimpleDB Getting Started Guide </a>for step-by-step instructions on running this sample.</p>
</body>
</html>