System.out.println();
// Delete values from an attribute
System.out.println("Deleting Blue attributes in Item_O3.\n");
Attribute deleteValueAttribute = new Attribute("Color", "Blue");
sdb.deleteAttributes(new DeleteAttributesRequest(myDomain, "Item_03")
.withAttributes(deleteValueAttribute));
// Delete an attribute and all of its values
System.out.println("Deleting attribute Year in Item_O3.\n");
sdb.deleteAttributes(new DeleteAttributesRequest(myDomain, "Item_03")
.withAttributes(new Attribute().withName("Year")));
// Replace an attribute
System.out.println("Replacing Size of Item_03 with Medium.\n");
List<ReplaceableAttribute> replaceableAttributes = new ArrayList<ReplaceableAttribute>();
replaceableAttributes.add(new ReplaceableAttribute("Size", "Medium", true));
sdb.putAttributes(new PutAttributesRequest(myDomain, "Item_03", replaceableAttributes));
// Delete an item and all of its attributes
System.out.println("Deleting Item_03.\n");
sdb.deleteAttributes(new DeleteAttributesRequest(myDomain, "Item_03"));
// Delete a domain
System.out.println("Deleting " + myDomain + " domain.\n");
sdb.deleteDomain(new DeleteDomainRequest(myDomain));
} catch (AmazonServiceException ase) {