From e0d0b56e26e90b929825d2cd24c4dc1c4e3dd43b Mon Sep 17 00:00:00 2001 From: amazonwebservices Date: Wed, 18 Jan 2012 04:14:23 -0800 Subject: [PATCH] AWS SDK for iOS 1.1.0 --- NOTICE.txt | 2 +- samples/AWSiOSDemo/.DS_Store | Bin 0 -> 6149 bytes .../AWSiOSDemo}/.DS_Store | Bin 6148 -> 6149 bytes .../AWSiOSDemo/AWSiOSDemoAppDelegate.h | 2 +- .../AWSiOSDemo/AWSiOSDemoAppDelegate.m | 2 +- .../AWSiOSDemo/AWSiOSDemoViewController.h | 2 +- .../AWSiOSDemo/AWSiOSDemoViewController.m | 2 +- .../AWSiOSDemo/Classes/AmazonClientManager.h | 2 +- .../AWSiOSDemo/Classes/AmazonClientManager.m | 2 +- .../AWSiOSDemo/AWSiOSDemo/Classes/Constants.h | 2 +- .../AWSiOSDemo/AWSiOSDemo/Classes/Constants.m | 2 +- .../Classes/S3/AddBucketViewController.h | 2 +- .../Classes/S3/AddBucketViewController.m | 2 +- .../Classes/S3/AddObjectViewController.h | 2 +- .../Classes/S3/AddObjectViewController.m | 2 +- .../AWSiOSDemo/Classes/S3/BucketList.h | 2 +- .../AWSiOSDemo/Classes/S3/BucketList.m | 2 +- .../AWSiOSDemo/Classes/S3/ObjectListing.h | 2 +- .../AWSiOSDemo/Classes/S3/ObjectListing.m | 2 +- .../Classes/S3/ObjectViewController.h | 2 +- .../Classes/S3/ObjectViewController.m | 2 +- .../Classes/S3/S3AsyncViewController.h | 2 +- .../Classes/S3/S3AsyncViewController.m | 2 +- .../AWSiOSDemo/Classes/S3/S3RequestDelegate.h | 4 +- .../AWSiOSDemo/Classes/S3/S3RequestDelegate.m | 2 +- .../AWSiOSDemo/Classes/SDB/DomainList.h | 2 +- .../AWSiOSDemo/Classes/SDB/DomainList.m | 2 +- .../AWSiOSDemo/Classes/SDB/ItemListing.h | 2 +- .../AWSiOSDemo/Classes/SDB/ItemListing.m | 2 +- .../Classes/SDB/ItemViewController.h | 2 +- .../Classes/SDB/ItemViewController.m | 2 +- .../Classes/SDB/SdbAsyncViewController.h | 2 +- .../Classes/SDB/SdbAsyncViewController.m | 2 +- .../Classes/SDB/SdbRequestDelegate.h | 4 +- .../Classes/SDB/SdbRequestDelegate.m | 2 +- .../AWSiOSDemo/Classes/SNS/TopicList.h | 2 +- .../AWSiOSDemo/Classes/SNS/TopicList.m | 2 +- .../AWSiOSDemo/Classes/SQS/AddQueue.h | 2 +- .../AWSiOSDemo/Classes/SQS/AddQueue.m | 2 +- .../AWSiOSDemo/Classes/SQS/Message.h | 2 +- .../AWSiOSDemo/Classes/SQS/Message.m | 2 +- .../AWSiOSDemo/Classes/SQS/MessageList.h | 2 +- .../AWSiOSDemo/Classes/SQS/MessageList.m | 2 +- .../AWSiOSDemo/Classes/SQS/QueueList.h | 2 +- .../AWSiOSDemo/Classes/SQS/QueueList.m | 2 +- .../AWSiOSDemo/Classes/SQS/SendMessage.h | 2 +- .../AWSiOSDemo/Classes/SQS/SendMessage.m | 2 +- samples/AWSiOSDemo/AWSiOSDemo/main.m | 2 +- samples/AWSiOSDemoTVM/.DS_Store | Bin 0 -> 6149 bytes samples/AWSiOSDemoTVM/AWSiOSDemoTVM/.DS_Store | Bin 6148 -> 6149 bytes .../AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.h | 2 +- .../AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.m | 2 +- .../AWSiOSDemoTVMViewController.h | 2 +- .../AWSiOSDemoTVMViewController.m | 2 +- .../Classes/AmazonClientManager.h | 2 +- .../Classes/AmazonClientManager.m | 2 +- .../AWSiOSDemoTVM/Classes/Constants.h | 2 +- .../AWSiOSDemoTVM/Classes/Constants.m | 2 +- .../Classes/S3/AddBucketViewController.h | 2 +- .../Classes/S3/AddBucketViewController.m | 2 +- .../Classes/S3/AddObjectViewController.h | 2 +- .../Classes/S3/AddObjectViewController.m | 2 +- .../AWSiOSDemoTVM/Classes/S3/BucketList.h | 2 +- .../AWSiOSDemoTVM/Classes/S3/BucketList.m | 2 +- .../AWSiOSDemoTVM/Classes/S3/ObjectListing.h | 2 +- .../AWSiOSDemoTVM/Classes/S3/ObjectListing.m | 2 +- .../Classes/S3/ObjectViewController.h | 2 +- .../Classes/S3/ObjectViewController.m | 2 +- .../Classes/S3/S3AsyncViewController.h | 2 +- .../Classes/S3/S3AsyncViewController.m | 2 +- .../Classes/S3/S3RequestDelegate.h | 4 +- .../Classes/S3/S3RequestDelegate.m | 2 +- .../AWSiOSDemoTVM/Classes/SDB/DomainList.h | 2 +- .../AWSiOSDemoTVM/Classes/SDB/DomainList.m | 2 +- .../AWSiOSDemoTVM/Classes/SDB/ItemListing.h | 2 +- .../AWSiOSDemoTVM/Classes/SDB/ItemListing.m | 2 +- .../Classes/SDB/ItemViewController.h | 2 +- .../Classes/SDB/ItemViewController.m | 2 +- .../Classes/SDB/SdbAsyncViewController.h | 2 +- .../Classes/SDB/SdbAsyncViewController.m | 2 +- .../Classes/SDB/SdbRequestDelegate.h | 4 +- .../Classes/SDB/SdbRequestDelegate.m | 2 +- .../AWSiOSDemoTVM/Classes/SNS/TopicList.h | 2 +- .../AWSiOSDemoTVM/Classes/SNS/TopicList.m | 2 +- .../AWSiOSDemoTVM/Classes/SQS/AddQueue.h | 2 +- .../AWSiOSDemoTVM/Classes/SQS/AddQueue.m | 2 +- .../AWSiOSDemoTVM/Classes/SQS/Message.h | 2 +- .../AWSiOSDemoTVM/Classes/SQS/Message.m | 2 +- .../AWSiOSDemoTVM/Classes/SQS/MessageList.h | 2 +- .../AWSiOSDemoTVM/Classes/SQS/MessageList.m | 2 +- .../AWSiOSDemoTVM/Classes/SQS/QueueList.h | 2 +- .../AWSiOSDemoTVM/Classes/SQS/QueueList.m | 2 +- .../AWSiOSDemoTVM/Classes/SQS/SendMessage.h | 2 +- .../AWSiOSDemoTVM/Classes/SQS/SendMessage.m | 2 +- .../Classes/TVMClient/AmazonKeyChainWrapper.h | 2 +- .../Classes/TVMClient/AmazonKeyChainWrapper.m | 2 +- .../Classes/TVMClient/AmazonTVMClient.h | 2 +- .../Classes/TVMClient/AmazonTVMClient.m | 2 +- .../AWSiOSDemoTVM/Classes/TVMClient/Crypto.h | 2 +- .../AWSiOSDemoTVM/Classes/TVMClient/Crypto.m | 2 +- .../Classes/TVMClient/GetTokenRequest.h | 2 +- .../Classes/TVMClient/GetTokenRequest.m | 2 +- .../Classes/TVMClient/GetTokenResponse.h | 2 +- .../Classes/TVMClient/GetTokenResponse.m | 2 +- .../TVMClient/GetTokenResponseHandler.h | 2 +- .../TVMClient/GetTokenResponseHandler.m | 2 +- .../Classes/TVMClient/JSONUtilities.h | 2 +- .../Classes/TVMClient/JSONUtilities.m | 2 +- .../Classes/TVMClient/RegisterDeviceRequest.h | 2 +- .../Classes/TVMClient/RegisterDeviceRequest.m | 2 +- .../AWSiOSDemoTVM/Classes/TVMClient/Request.h | 2 +- .../AWSiOSDemoTVM/Classes/TVMClient/Request.m | 2 +- .../Classes/TVMClient/RequestDelegate.h | 2 +- .../Classes/TVMClient/RequestDelegate.m | 2 +- .../Classes/TVMClient/Response.h | 2 +- .../Classes/TVMClient/Response.m | 2 +- .../Classes/TVMClient/ResponseHandler.h | 2 +- .../Classes/TVMClient/ResponseHandler.m | 2 +- samples/AWSiOSDemoTVM/AWSiOSDemoTVM/main.m | 2 +- samples/AWSiOSDemoTVMIdentity/.DS_Store | Bin 6148 -> 6149 bytes .../AWSiOSDemoTVMIdentity/.DS_Store | Bin 6148 -> 6149 bytes .../AWSiOSDemoTVMIdentityAppDelegate.h | 2 +- .../AWSiOSDemoTVMIdentityAppDelegate.m | 2 +- .../AWSiOSDemoTVMIdentityViewController.h | 2 +- .../AWSiOSDemoTVMIdentityViewController.m | 2 +- .../AWSiOSDemoTVMIdentity/Classes/.DS_Store | Bin 6148 -> 6149 bytes .../Classes/AmazonClientManager.h | 2 +- .../Classes/AmazonClientManager.m | 2 +- .../AWSiOSDemoTVMIdentity/Classes/Constants.h | 2 +- .../AWSiOSDemoTVMIdentity/Classes/Constants.m | 2 +- .../Classes/LoginViewController.h | 2 +- .../Classes/LoginViewController.m | 2 +- .../Classes/S3/.DS_Store | Bin 0 -> 6148 bytes .../Classes/S3/AddBucketViewController.h | 2 +- .../Classes/S3/AddBucketViewController.m | 2 +- .../Classes/S3/AddObjectViewController.h | 2 +- .../Classes/S3/AddObjectViewController.m | 2 +- .../Classes/S3/BucketList.h | 2 +- .../Classes/S3/BucketList.m | 2 +- .../Classes/S3/ObjectListing.h | 2 +- .../Classes/S3/ObjectListing.m | 2 +- .../Classes/S3/ObjectViewController.h | 2 +- .../Classes/S3/ObjectViewController.m | 2 +- .../Classes/S3/S3AsyncViewController.h | 2 +- .../Classes/S3/S3AsyncViewController.m | 2 +- .../Classes/S3/S3RequestDelegate.h | 4 +- .../Classes/S3/S3RequestDelegate.m | 2 +- .../Classes/SDB/DomainList.h | 2 +- .../Classes/SDB/DomainList.m | 2 +- .../Classes/SDB/ItemListing.h | 2 +- .../Classes/SDB/ItemListing.m | 2 +- .../Classes/SDB/ItemViewController.h | 2 +- .../Classes/SDB/ItemViewController.m | 2 +- .../Classes/SDB/SdbAsyncViewController.h | 2 +- .../Classes/SDB/SdbAsyncViewController.m | 2 +- .../Classes/SDB/SdbRequestDelegate.h | 4 +- .../Classes/SDB/SdbRequestDelegate.m | 2 +- .../Classes/SNS/TopicList.h | 2 +- .../Classes/SNS/TopicList.m | 2 +- .../Classes/SQS/AddQueue.h | 2 +- .../Classes/SQS/AddQueue.m | 2 +- .../Classes/SQS/Message.h | 2 +- .../Classes/SQS/Message.m | 2 +- .../Classes/SQS/MessageList.h | 2 +- .../Classes/SQS/MessageList.m | 2 +- .../Classes/SQS/QueueList.h | 2 +- .../Classes/SQS/QueueList.m | 2 +- .../Classes/SQS/SendMessage.h | 2 +- .../Classes/SQS/SendMessage.m | 2 +- .../Classes/TVMClient/AmazonKeyChainWrapper.h | 2 +- .../Classes/TVMClient/AmazonKeyChainWrapper.m | 2 +- .../Classes/TVMClient/AmazonTVMClient.h | 2 +- .../Classes/TVMClient/AmazonTVMClient.m | 2 +- .../Classes/TVMClient/Crypto.h | 2 +- .../Classes/TVMClient/Crypto.m | 2 +- .../Classes/TVMClient/GetTokenRequest.h | 2 +- .../Classes/TVMClient/GetTokenRequest.m | 2 +- .../Classes/TVMClient/GetTokenResponse.h | 2 +- .../Classes/TVMClient/GetTokenResponse.m | 2 +- .../TVMClient/GetTokenResponseHandler.h | 2 +- .../TVMClient/GetTokenResponseHandler.m | 2 +- .../Classes/TVMClient/JSONUtilities.h | 2 +- .../Classes/TVMClient/JSONUtilities.m | 2 +- .../Classes/TVMClient/LoginRequest.h | 2 +- .../Classes/TVMClient/LoginRequest.m | 2 +- .../Classes/TVMClient/LoginResponse.h | 2 +- .../Classes/TVMClient/LoginResponse.m | 2 +- .../Classes/TVMClient/LoginResponseHandler.h | 2 +- .../Classes/TVMClient/LoginResponseHandler.m | 2 +- .../Classes/TVMClient/Request.h | 2 +- .../Classes/TVMClient/Request.m | 2 +- .../Classes/TVMClient/RequestDelegate.h | 2 +- .../Classes/TVMClient/RequestDelegate.m | 2 +- .../Classes/TVMClient/Response.h | 2 +- .../Classes/TVMClient/Response.m | 2 +- .../Classes/TVMClient/ResponseHandler.h | 2 +- .../Classes/TVMClient/ResponseHandler.m | 2 +- .../AWSiOSDemoTVMIdentity/main.m | 2 +- samples/HighScores/.DS_Store | Bin 6148 -> 6149 bytes .../HighScores/AddScoreViewController.h | 4 +- .../HighScores/AddScoreViewController.m | 12 +- samples/HighScores/HighScores/Constants.h | 10 +- samples/HighScores/HighScores/Constants.m | 12 +- samples/HighScores/HighScores/HighScore.h | 10 +- samples/HighScores/HighScores/HighScore.m | 8 +- samples/HighScores/HighScores/HighScoreList.h | 38 +- samples/HighScores/HighScores/HighScoreList.m | 178 ++-- .../HighScores/HighScoresAppDelegate.h | 7 +- .../HighScores/HighScoresAppDelegate.m | 40 +- .../HighScoresTableViewController.h | 11 +- .../HighScoresTableViewController.m | 50 +- .../HighScores/HighScoresViewController.h | 4 +- .../HighScores/HighScoresViewController.m | 37 +- .../HighScores/PlayerViewController.h | 12 +- .../HighScores/PlayerViewController.m | 20 +- samples/HighScores/HighScores/main.m | 7 +- samples/MessageBoard/.DS_Store | Bin 0 -> 6149 bytes samples/MessageBoard/MessageBoard/Constants.h | 18 +- samples/MessageBoard/MessageBoard/Constants.m | 4 +- .../MessageBoard/MembersViewController.h | 6 +- .../MessageBoard/MembersViewController.m | 28 +- .../MessageBoard/MessageBoard/MessageBoard.h | 38 +- .../MessageBoard/MessageBoard/MessageBoard.m | 243 +++--- .../MessageBoard/MessageQueueController.h | 8 +- .../MessageBoard/MessageQueueController.m | 52 +- .../MessageBoard/Message_BoardAppDelegate.h | 7 +- .../MessageBoard/Message_BoardAppDelegate.m | 40 +- .../Message_BoardViewController.h | 12 +- .../Message_BoardViewController.m | 46 +- samples/MessageBoard/MessageBoard/main.m | 7 +- samples/S3Uploader/S3Uploader/Constants.h | 12 +- samples/S3Uploader/S3Uploader/Constants.m | 4 +- .../S3Uploader/S3UploaderAppDelegate.h | 2 +- .../S3Uploader/S3UploaderAppDelegate.m | 2 +- .../S3Uploader/S3UploaderViewController.h | 2 +- .../S3Uploader/S3UploaderViewController.m | 6 +- samples/UserPreference/.DS_Store | Bin 0 -> 6148 bytes samples/UserPreference/README.html | 17 + samples/UserPreference/UserPreference.html | 470 +++++++++++ .../UserPreference.xcodeproj/project.pbxproj | 418 ++++++++++ .../contents.xcworkspacedata | 7 + .../UserPreference/AmazonClientManager.h | 31 + .../UserPreference/AmazonClientManager.m | 99 +++ .../UserPreference/AmazonKeyChainWrapper.h | 41 + .../UserPreference/AmazonKeyChainWrapper.m | 208 +++++ .../UserPreference/AmazonTVMClient.h | 39 + .../UserPreference/AmazonTVMClient.m | 147 ++++ .../UserPreference/AppDelegate.h | 27 + .../UserPreference/AppDelegate.m | 86 ++ .../UserPreference/UserPreference/Constants.h | 30 + .../UserPreference/UserPreference/Constants.m | 33 + .../UserPreference/UserPreference/Crypto.h | 30 + .../UserPreference/UserPreference/Crypto.m | 97 +++ .../UserPreference/DynamoDBManager.h | 32 + .../UserPreference/DynamoDBManager.m | 191 +++++ .../UserPreference/GetTokenRequest.h | 31 + .../UserPreference/GetTokenRequest.m | 52 ++ .../UserPreference/GetTokenResponse.h | 33 + .../UserPreference/GetTokenResponse.m | 48 ++ .../UserPreference/GetTokenResponseHandler.h | 25 + .../UserPreference/GetTokenResponseHandler.m | 59 ++ .../UserPreference/JSONUtilities.h | 24 + .../UserPreference/JSONUtilities.m | 39 + .../UserPreference/RegisterDeviceRequest.h | 31 + .../UserPreference/RegisterDeviceRequest.m | 47 ++ .../UserPreference/UserPreference/Request.h | 24 + .../UserPreference/UserPreference/Request.m | 26 + .../UserPreference/RequestDelegate.h | 32 + .../UserPreference/RequestDelegate.m | 85 ++ .../UserPreference/UserPreference/Response.h | 30 + .../UserPreference/UserPreference/Response.m | 45 + .../UserPreference/ResponseHandler.h | 24 + .../UserPreference/ResponseHandler.m | 27 + .../UserPreference/SelectionViewController.h | 37 + .../UserPreference/SelectionViewController.m | 98 +++ .../UserPreference/UserListViewController.h | 24 + .../UserPreference/UserListViewController.m | 131 +++ .../UserPreference/UserPreference-Info.plist | 47 ++ .../UserPreference/UserPreference-Prefix.pch | 15 + .../UserPreference/UserViewController.h | 29 + .../UserPreference/UserViewController.m | 192 +++++ .../UserPreference/WelcomeView.xib | 536 ++++++++++++ .../UserPreference/WelcomeViewController.h | 36 + .../UserPreference/WelcomeViewController.m | 144 ++++ .../UserPreference/en.lproj/InfoPlist.strings | 2 + samples/UserPreference/UserPreference/main.m | 25 + .../AmazonAutoScalingClient.m | 2 +- src/Amazon.AutoScaling/AutoScalingResponse.m | 2 +- .../AutoScalingResponseUnmarshaller.m | 2 +- .../Model/AutoScalingActivity.m | 2 +- .../Model/AutoScalingActivityUnmarshaller.m | 2 +- .../Model/AutoScalingAdjustmentType.m | 2 +- .../AutoScalingAdjustmentTypeUnmarshaller.m | 2 +- .../Model/AutoScalingAlarm.m | 2 +- .../Model/AutoScalingAlarmUnmarshaller.m | 2 +- .../Model/AutoScalingAlreadyExistsException.m | 2 +- .../Model/AutoScalingAutoScalingGroup.m | 2 +- .../AutoScalingAutoScalingGroupUnmarshaller.m | 2 +- .../AutoScalingAutoScalingInstanceDetails.m | 2 +- ...ngAutoScalingInstanceDetailsUnmarshaller.m | 2 +- .../Model/AutoScalingBlockDeviceMapping.m | 2 +- ...utoScalingBlockDeviceMappingUnmarshaller.m | 2 +- ...AutoScalingCreateAutoScalingGroupRequest.m | 2 +- ...gCreateAutoScalingGroupRequestMarshaller.m | 2 +- ...utoScalingCreateAutoScalingGroupResponse.m | 2 +- ...eateAutoScalingGroupResponseUnmarshaller.m | 2 +- ...oScalingCreateLaunchConfigurationRequest.m | 2 +- ...eateLaunchConfigurationRequestMarshaller.m | 2 +- ...ScalingCreateLaunchConfigurationResponse.m | 2 +- ...eLaunchConfigurationResponseUnmarshaller.m | 2 +- ...AutoScalingDeleteAutoScalingGroupRequest.m | 2 +- ...gDeleteAutoScalingGroupRequestMarshaller.m | 2 +- ...utoScalingDeleteAutoScalingGroupResponse.m | 2 +- ...leteAutoScalingGroupResponseUnmarshaller.m | 2 +- ...oScalingDeleteLaunchConfigurationRequest.m | 2 +- ...leteLaunchConfigurationRequestMarshaller.m | 2 +- ...ScalingDeleteLaunchConfigurationResponse.m | 2 +- ...eLaunchConfigurationResponseUnmarshaller.m | 2 +- ...ngDeleteNotificationConfigurationRequest.m | 2 +- ...tificationConfigurationRequestMarshaller.m | 2 +- ...gDeleteNotificationConfigurationResponse.m | 2 +- ...icationConfigurationResponseUnmarshaller.m | 2 +- .../Model/AutoScalingDeletePolicyRequest.m | 2 +- ...AutoScalingDeletePolicyRequestMarshaller.m | 2 +- .../Model/AutoScalingDeletePolicyResponse.m | 2 +- ...oScalingDeletePolicyResponseUnmarshaller.m | 2 +- .../AutoScalingDeleteScheduledActionRequest.m | 2 +- ...ngDeleteScheduledActionRequestMarshaller.m | 2 +- ...AutoScalingDeleteScheduledActionResponse.m | 2 +- ...eleteScheduledActionResponseUnmarshaller.m | 2 +- ...utoScalingDescribeAdjustmentTypesRequest.m | 2 +- ...DescribeAdjustmentTypesRequestMarshaller.m | 2 +- ...toScalingDescribeAdjustmentTypesResponse.m | 2 +- ...cribeAdjustmentTypesResponseUnmarshaller.m | 2 +- ...oScalingDescribeAutoScalingGroupsRequest.m | 2 +- ...scribeAutoScalingGroupsRequestMarshaller.m | 2 +- ...ScalingDescribeAutoScalingGroupsResponse.m | 2 +- ...ibeAutoScalingGroupsResponseUnmarshaller.m | 2 +- ...alingDescribeAutoScalingInstancesRequest.m | 2 +- ...ibeAutoScalingInstancesRequestMarshaller.m | 2 +- ...lingDescribeAutoScalingInstancesResponse.m | 2 +- ...AutoScalingInstancesResponseUnmarshaller.m | 2 +- ...cribeAutoScalingNotificationTypesRequest.m | 2 +- ...calingNotificationTypesRequestMarshaller.m | 2 +- ...ribeAutoScalingNotificationTypesResponse.m | 2 +- ...ingNotificationTypesResponseUnmarshaller.m | 2 +- ...alingDescribeLaunchConfigurationsRequest.m | 2 +- ...ibeLaunchConfigurationsRequestMarshaller.m | 2 +- ...lingDescribeLaunchConfigurationsResponse.m | 2 +- ...LaunchConfigurationsResponseUnmarshaller.m | 2 +- ...lingDescribeMetricCollectionTypesRequest.m | 2 +- ...beMetricCollectionTypesRequestMarshaller.m | 2 +- ...ingDescribeMetricCollectionTypesResponse.m | 2 +- ...etricCollectionTypesResponseUnmarshaller.m | 2 +- ...escribeNotificationConfigurationsRequest.m | 2 +- ...ificationConfigurationsRequestMarshaller.m | 2 +- ...scribeNotificationConfigurationsResponse.m | 2 +- ...cationConfigurationsResponseUnmarshaller.m | 2 +- .../AutoScalingDescribePoliciesRequest.m | 2 +- ...ScalingDescribePoliciesRequestMarshaller.m | 2 +- .../AutoScalingDescribePoliciesResponse.m | 2 +- ...lingDescribePoliciesResponseUnmarshaller.m | 2 +- ...oScalingDescribeScalingActivitiesRequest.m | 2 +- ...scribeScalingActivitiesRequestMarshaller.m | 2 +- ...ScalingDescribeScalingActivitiesResponse.m | 2 +- ...ibeScalingActivitiesResponseUnmarshaller.m | 2 +- ...calingDescribeScalingProcessTypesRequest.m | 2 +- ...ribeScalingProcessTypesRequestMarshaller.m | 2 +- ...alingDescribeScalingProcessTypesResponse.m | 2 +- ...eScalingProcessTypesResponseUnmarshaller.m | 2 +- ...toScalingDescribeScheduledActionsRequest.m | 2 +- ...escribeScheduledActionsRequestMarshaller.m | 2 +- ...oScalingDescribeScheduledActionsResponse.m | 2 +- ...ribeScheduledActionsResponseUnmarshaller.m | 2 +- ...toScalingDisableMetricsCollectionRequest.m | 2 +- ...isableMetricsCollectionRequestMarshaller.m | 2 +- ...oScalingDisableMetricsCollectionResponse.m | 2 +- ...bleMetricsCollectionResponseUnmarshaller.m | 2 +- src/Amazon.AutoScaling/Model/AutoScalingEbs.m | 2 +- .../Model/AutoScalingEbsUnmarshaller.m | 2 +- ...utoScalingEnableMetricsCollectionRequest.m | 2 +- ...EnableMetricsCollectionRequestMarshaller.m | 2 +- ...toScalingEnableMetricsCollectionResponse.m | 2 +- ...bleMetricsCollectionResponseUnmarshaller.m | 2 +- .../Model/AutoScalingEnabledMetric.m | 2 +- .../AutoScalingEnabledMetricUnmarshaller.m | 2 +- .../Model/AutoScalingExecutePolicyRequest.m | 2 +- ...utoScalingExecutePolicyRequestMarshaller.m | 2 +- .../Model/AutoScalingExecutePolicyResponse.m | 2 +- ...ScalingExecutePolicyResponseUnmarshaller.m | 2 +- .../Model/AutoScalingInstance.m | 2 +- .../Model/AutoScalingInstanceMonitoring.m | 2 +- ...utoScalingInstanceMonitoringUnmarshaller.m | 2 +- .../Model/AutoScalingInstanceUnmarshaller.m | 2 +- .../AutoScalingInvalidNextTokenException.m | 2 +- .../Model/AutoScalingLaunchConfiguration.m | 2 +- ...toScalingLaunchConfigurationUnmarshaller.m | 2 +- .../Model/AutoScalingLimitExceededException.m | 2 +- .../Model/AutoScalingMetricCollectionType.m | 2 +- ...oScalingMetricCollectionTypeUnmarshaller.m | 2 +- .../Model/AutoScalingMetricGranularityType.m | 2 +- ...ScalingMetricGranularityTypeUnmarshaller.m | 2 +- .../AutoScalingNotificationConfiguration.m | 2 +- ...ingNotificationConfigurationUnmarshaller.m | 2 +- .../Model/AutoScalingProcessType.m | 2 +- .../AutoScalingProcessTypeUnmarshaller.m | 2 +- ...alingPutNotificationConfigurationRequest.m | 2 +- ...tificationConfigurationRequestMarshaller.m | 2 +- ...lingPutNotificationConfigurationResponse.m | 2 +- ...icationConfigurationResponseUnmarshaller.m | 2 +- .../AutoScalingPutScalingPolicyRequest.m | 2 +- ...ScalingPutScalingPolicyRequestMarshaller.m | 2 +- .../AutoScalingPutScalingPolicyResponse.m | 2 +- ...lingPutScalingPolicyResponseUnmarshaller.m | 2 +- ...lingPutScheduledUpdateGroupActionRequest.m | 2 +- ...eduledUpdateGroupActionRequestMarshaller.m | 2 +- ...ingPutScheduledUpdateGroupActionResponse.m | 2 +- ...ledUpdateGroupActionResponseUnmarshaller.m | 2 +- .../Model/AutoScalingResourceInUseException.m | 2 +- .../Model/AutoScalingResumeProcessesRequest.m | 2 +- ...oScalingResumeProcessesRequestMarshaller.m | 2 +- .../AutoScalingResumeProcessesResponse.m | 2 +- ...alingResumeProcessesResponseUnmarshaller.m | 2 +- ...calingScalingActivityInProgressException.m | 2 +- .../Model/AutoScalingScalingPolicy.m | 2 +- .../AutoScalingScalingPolicyUnmarshaller.m | 2 +- .../AutoScalingScheduledUpdateGroupAction.m | 2 +- ...ngScheduledUpdateGroupActionUnmarshaller.m | 2 +- .../AutoScalingSetDesiredCapacityRequest.m | 2 +- ...alingSetDesiredCapacityRequestMarshaller.m | 2 +- .../AutoScalingSetDesiredCapacityResponse.m | 2 +- ...ngSetDesiredCapacityResponseUnmarshaller.m | 2 +- .../AutoScalingSetInstanceHealthRequest.m | 2 +- ...calingSetInstanceHealthRequestMarshaller.m | 2 +- .../AutoScalingSetInstanceHealthResponse.m | 2 +- ...ingSetInstanceHealthResponseUnmarshaller.m | 2 +- .../AutoScalingSuspendProcessesRequest.m | 2 +- ...ScalingSuspendProcessesRequestMarshaller.m | 2 +- .../AutoScalingSuspendProcessesResponse.m | 2 +- ...lingSuspendProcessesResponseUnmarshaller.m | 2 +- .../Model/AutoScalingSuspendedProcess.m | 2 +- .../AutoScalingSuspendedProcessUnmarshaller.m | 2 +- ...rminateInstanceInAutoScalingGroupRequest.m | 2 +- ...tanceInAutoScalingGroupRequestMarshaller.m | 2 +- ...minateInstanceInAutoScalingGroupResponse.m | 2 +- ...ceInAutoScalingGroupResponseUnmarshaller.m | 2 +- ...AutoScalingUpdateAutoScalingGroupRequest.m | 2 +- ...gUpdateAutoScalingGroupRequestMarshaller.m | 2 +- ...utoScalingUpdateAutoScalingGroupResponse.m | 2 +- ...dateAutoScalingGroupResponseUnmarshaller.m | 2 +- .../AmazonCloudWatchClient.m | 2 +- src/Amazon.CloudWatch/CloudWatchRequest.m | 2 +- src/Amazon.CloudWatch/CloudWatchResponse.m | 2 +- .../CloudWatchResponseUnmarshaller.m | 2 +- .../Model/CloudWatchAlarmHistoryItem.m | 2 +- .../CloudWatchAlarmHistoryItemUnmarshaller.m | 2 +- .../Model/CloudWatchDatapoint.m | 2 +- .../Model/CloudWatchDatapointUnmarshaller.m | 2 +- .../Model/CloudWatchDeleteAlarmsRequest.m | 2 +- .../CloudWatchDeleteAlarmsRequestMarshaller.m | 2 +- .../Model/CloudWatchDeleteAlarmsResponse.m | 2 +- ...oudWatchDeleteAlarmsResponseUnmarshaller.m | 2 +- .../CloudWatchDescribeAlarmHistoryRequest.m | 2 +- ...tchDescribeAlarmHistoryRequestMarshaller.m | 2 +- .../CloudWatchDescribeAlarmHistoryResponse.m | 2 +- ...DescribeAlarmHistoryResponseUnmarshaller.m | 2 +- ...CloudWatchDescribeAlarmsForMetricRequest.m | 2 +- ...DescribeAlarmsForMetricRequestMarshaller.m | 2 +- ...loudWatchDescribeAlarmsForMetricResponse.m | 2 +- ...cribeAlarmsForMetricResponseUnmarshaller.m | 2 +- .../Model/CloudWatchDescribeAlarmsRequest.m | 2 +- ...loudWatchDescribeAlarmsRequestMarshaller.m | 2 +- .../Model/CloudWatchDescribeAlarmsResponse.m | 2 +- ...dWatchDescribeAlarmsResponseUnmarshaller.m | 2 +- .../Model/CloudWatchDimension.m | 2 +- .../Model/CloudWatchDimensionFilter.m | 2 +- .../Model/CloudWatchDimensionUnmarshaller.m | 2 +- .../CloudWatchDisableAlarmActionsRequest.m | 2 +- ...atchDisableAlarmActionsRequestMarshaller.m | 2 +- .../CloudWatchDisableAlarmActionsResponse.m | 2 +- ...hDisableAlarmActionsResponseUnmarshaller.m | 2 +- .../CloudWatchEnableAlarmActionsRequest.m | 2 +- ...WatchEnableAlarmActionsRequestMarshaller.m | 2 +- .../CloudWatchEnableAlarmActionsResponse.m | 2 +- ...chEnableAlarmActionsResponseUnmarshaller.m | 2 +- .../CloudWatchGetMetricStatisticsRequest.m | 2 +- ...atchGetMetricStatisticsRequestMarshaller.m | 2 +- .../CloudWatchGetMetricStatisticsResponse.m | 2 +- ...hGetMetricStatisticsResponseUnmarshaller.m | 2 +- .../CloudWatchInternalServiceException.m | 2 +- .../Model/CloudWatchInvalidFormatException.m | 2 +- .../CloudWatchInvalidNextTokenException.m | 2 +- ...atchInvalidParameterCombinationException.m | 2 +- ...CloudWatchInvalidParameterValueException.m | 2 +- .../Model/CloudWatchLimitExceededException.m | 2 +- .../Model/CloudWatchListMetricsRequest.m | 2 +- .../CloudWatchListMetricsRequestMarshaller.m | 2 +- .../Model/CloudWatchListMetricsResponse.m | 2 +- ...loudWatchListMetricsResponseUnmarshaller.m | 2 +- .../Model/CloudWatchMetric.m | 2 +- .../Model/CloudWatchMetricAlarm.m | 2 +- .../Model/CloudWatchMetricAlarmUnmarshaller.m | 2 +- .../Model/CloudWatchMetricDatum.m | 2 +- .../Model/CloudWatchMetricUnmarshaller.m | 2 +- ...udWatchMissingRequiredParameterException.m | 2 +- .../Model/CloudWatchPutMetricAlarmRequest.m | 2 +- ...loudWatchPutMetricAlarmRequestMarshaller.m | 2 +- .../Model/CloudWatchPutMetricAlarmResponse.m | 2 +- ...dWatchPutMetricAlarmResponseUnmarshaller.m | 2 +- .../Model/CloudWatchPutMetricDataRequest.m | 2 +- ...CloudWatchPutMetricDataRequestMarshaller.m | 2 +- .../Model/CloudWatchPutMetricDataResponse.m | 2 +- ...udWatchPutMetricDataResponseUnmarshaller.m | 2 +- .../CloudWatchResourceNotFoundException.m | 2 +- .../Model/CloudWatchSetAlarmStateRequest.m | 2 +- ...CloudWatchSetAlarmStateRequestMarshaller.m | 2 +- .../Model/CloudWatchSetAlarmStateResponse.m | 2 +- ...udWatchSetAlarmStateResponseUnmarshaller.m | 2 +- .../Model/CloudWatchStatisticSet.m | 2 +- src/Amazon.DynamoDB/.DS_Store | Bin 0 -> 6149 bytes src/Amazon.DynamoDB/AmazonDynamoDBClient.m | 117 +++ .../DynamoDBExceptionUnmarshaller.m | 38 + src/Amazon.DynamoDB/DynamoDBRequest.m | 145 ++++ src/Amazon.DynamoDB/DynamoDBResponse.m | 90 ++ .../DynamoDBResponseUnmarshaller.m | 27 + .../DynamoDBWebServiceClient.m | 189 +++++ .../Model/DynamoDBAttributeValue.m | 123 +++ .../DynamoDBAttributeValueUnmarshaller.m | 54 ++ .../Model/DynamoDBAttributeValueUpdate.m | 71 ++ .../Model/DynamoDBBatchGetItemRequest.m | 66 ++ .../DynamoDBBatchGetItemRequestMarshaller.m | 163 ++++ .../Model/DynamoDBBatchGetItemResponse.m | 99 +++ ...DynamoDBBatchGetItemResponseUnmarshaller.m | 54 ++ .../Model/DynamoDBBatchResponse.m | 83 ++ .../Model/DynamoDBBatchResponseUnmarshaller.m | 56 ++ src/Amazon.DynamoDB/Model/DynamoDBCondition.m | 70 ++ .../DynamoDBConditionalCheckFailedException.m | 57 ++ .../Model/DynamoDBCreateTableRequest.m | 86 ++ .../DynamoDBCreateTableRequestMarshaller.m | 107 +++ .../Model/DynamoDBCreateTableResponse.m | 85 ++ .../DynamoDBCreateTableResponseUnmarshaller.m | 42 + .../Model/DynamoDBDeleteItemRequest.m | 88 ++ .../DynamoDBDeleteItemRequestMarshaller.m | 198 +++++ .../Model/DynamoDBDeleteItemResponse.m | 98 +++ .../DynamoDBDeleteItemResponseUnmarshaller.m | 50 ++ .../Model/DynamoDBDeleteTableRequest.m | 66 ++ .../DynamoDBDeleteTableRequestMarshaller.m | 51 ++ .../Model/DynamoDBDeleteTableResponse.m | 89 ++ .../DynamoDBDeleteTableResponseUnmarshaller.m | 42 + .../Model/DynamoDBDescribeTableRequest.m | 66 ++ .../DynamoDBDescribeTableRequestMarshaller.m | 51 ++ .../Model/DynamoDBDescribeTableResponse.m | 81 ++ ...ynamoDBDescribeTableResponseUnmarshaller.m | 42 + .../Model/DynamoDBExpectedAttributeValue.m | 86 ++ .../Model/DynamoDBGetItemRequest.m | 95 +++ .../Model/DynamoDBGetItemRequestMarshaller.m | 155 ++++ .../Model/DynamoDBGetItemResponse.m | 94 +++ .../DynamoDBGetItemResponseUnmarshaller.m | 50 ++ .../DynamoDBInternalServerErrorException.m | 57 ++ src/Amazon.DynamoDB/Model/DynamoDBKey.m | 80 ++ src/Amazon.DynamoDB/Model/DynamoDBKeySchema.m | 70 ++ .../Model/DynamoDBKeySchemaElement.m | 71 ++ .../DynamoDBKeySchemaElementUnmarshaller.m | 42 + .../Model/DynamoDBKeySchemaUnmarshaller.m | 44 + .../Model/DynamoDBKeyUnmarshaller.m | 44 + .../Model/DynamoDBKeysAndAttributes.m | 79 ++ .../DynamoDBKeysAndAttributesUnmarshaller.m | 47 ++ .../Model/DynamoDBLimitExceededException.m | 57 ++ .../Model/DynamoDBListTablesRequest.m | 61 ++ .../DynamoDBListTablesRequestMarshaller.m | 55 ++ .../Model/DynamoDBListTablesResponse.m | 87 ++ .../DynamoDBListTablesResponseUnmarshaller.m | 47 ++ .../Model/DynamoDBProvisionedThroughput.m | 61 ++ ...DynamoDBProvisionedThroughputDescription.m | 69 ++ ...isionedThroughputDescriptionUnmarshaller.m | 52 ++ ...DBProvisionedThroughputExceededException.m | 57 ++ .../Model/DynamoDBPutItemRequest.m | 97 +++ .../Model/DynamoDBPutItemRequestMarshaller.m | 153 ++++ .../Model/DynamoDBPutItemResponse.m | 98 +++ .../DynamoDBPutItemResponseUnmarshaller.m | 50 ++ .../Model/DynamoDBQueryRequest.m | 129 +++ .../Model/DynamoDBQueryRequestMarshaller.m | 264 ++++++ .../Model/DynamoDBQueryResponse.m | 103 +++ .../Model/DynamoDBQueryResponseUnmarshaller.m | 67 ++ .../Model/DynamoDBResourceInUseException.m | 57 ++ .../Model/DynamoDBResourceNotFoundException.m | 57 ++ .../Model/DynamoDBScanRequest.m | 111 +++ .../Model/DynamoDBScanRequestMarshaller.m | 219 +++++ .../Model/DynamoDBScanResponse.m | 107 +++ .../Model/DynamoDBScanResponseUnmarshaller.m | 72 ++ .../Model/DynamoDBTableDescription.m | 81 ++ .../DynamoDBTableDescriptionUnmarshaller.m | 69 ++ .../Model/DynamoDBUpdateItemRequest.m | 102 +++ .../DynamoDBUpdateItemRequestMarshaller.m | 253 ++++++ .../Model/DynamoDBUpdateItemResponse.m | 98 +++ .../DynamoDBUpdateItemResponseUnmarshaller.m | 50 ++ .../Model/DynamoDBUpdateTableRequest.m | 71 ++ .../DynamoDBUpdateTableRequestMarshaller.m | 67 ++ .../Model/DynamoDBUpdateTableResponse.m | 89 ++ .../DynamoDBUpdateTableResponseUnmarshaller.m | 42 + src/Amazon.EC2/AmazonEC2Client.m | 9 +- src/Amazon.EC2/EC2Request.m | 2 +- src/Amazon.EC2/EC2Response.m | 2 +- src/Amazon.EC2/EC2ResponseUnmarshaller.m | 2 +- .../Model/EC2ActivateLicenseRequest.m | 2 +- .../EC2ActivateLicenseRequestMarshaller.m | 4 +- .../Model/EC2ActivateLicenseResponse.m | 2 +- .../EC2ActivateLicenseResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Address.m | 2 +- src/Amazon.EC2/Model/EC2AddressUnmarshaller.m | 2 +- .../Model/EC2AllocateAddressRequest.m | 2 +- .../EC2AllocateAddressRequestMarshaller.m | 4 +- .../Model/EC2AllocateAddressResponse.m | 2 +- .../EC2AllocateAddressResponseUnmarshaller.m | 2 +- .../Model/EC2AssociateAddressRequest.m | 2 +- .../EC2AssociateAddressRequestMarshaller.m | 4 +- .../Model/EC2AssociateAddressResponse.m | 2 +- .../EC2AssociateAddressResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2AttachVolumeRequest.m | 2 +- .../Model/EC2AttachVolumeRequestMarshaller.m | 4 +- .../Model/EC2AttachVolumeResponse.m | 2 +- .../EC2AttachVolumeResponseUnmarshaller.m | 2 +- .../EC2AuthorizeSecurityGroupIngressRequest.m | 2 +- ...izeSecurityGroupIngressRequestMarshaller.m | 4 +- ...EC2AuthorizeSecurityGroupIngressResponse.m | 2 +- ...SecurityGroupIngressResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2AvailabilityZone.m | 15 +- .../Model/EC2AvailabilityZoneMessage.m | 57 ++ .../EC2AvailabilityZoneMessageUnmarshaller.m | 77 ++ .../Model/EC2AvailabilityZoneUnmarshaller.m | 11 +- src/Amazon.EC2/Model/EC2BlockDeviceMapping.m | 2 +- .../Model/EC2BlockDeviceMappingUnmarshaller.m | 2 +- .../Model/EC2BundleInstanceRequest.m | 2 +- .../EC2BundleInstanceRequestMarshaller.m | 4 +- .../Model/EC2BundleInstanceResponse.m | 2 +- .../EC2BundleInstanceResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2BundleTask.m | 2 +- src/Amazon.EC2/Model/EC2BundleTaskError.m | 2 +- .../Model/EC2BundleTaskErrorUnmarshaller.m | 2 +- .../Model/EC2BundleTaskUnmarshaller.m | 2 +- .../Model/EC2CancelBundleTaskRequest.m | 2 +- .../EC2CancelBundleTaskRequestMarshaller.m | 4 +- .../Model/EC2CancelBundleTaskResponse.m | 2 +- .../EC2CancelBundleTaskResponseUnmarshaller.m | 2 +- .../EC2CancelSpotInstanceRequestsRequest.m | 2 +- ...celSpotInstanceRequestsRequestMarshaller.m | 4 +- .../EC2CancelSpotInstanceRequestsResponse.m | 2 +- ...SpotInstanceRequestsResponseUnmarshaller.m | 2 +- .../Model/EC2CancelledSpotInstanceRequest.m | 2 +- ...CancelledSpotInstanceRequestUnmarshaller.m | 2 +- .../Model/EC2ConfirmProductInstanceRequest.m | 2 +- ...2ConfirmProductInstanceRequestMarshaller.m | 4 +- .../Model/EC2ConfirmProductInstanceResponse.m | 2 +- ...nfirmProductInstanceResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2CreateImageRequest.m | 2 +- .../Model/EC2CreateImageRequestMarshaller.m | 4 +- src/Amazon.EC2/Model/EC2CreateImageResponse.m | 2 +- .../EC2CreateImageResponseUnmarshaller.m | 2 +- .../Model/EC2CreateKeyPairRequest.m | 2 +- .../Model/EC2CreateKeyPairRequestMarshaller.m | 4 +- .../Model/EC2CreateKeyPairResponse.m | 2 +- .../EC2CreateKeyPairResponseUnmarshaller.m | 2 +- .../Model/EC2CreatePlacementGroupRequest.m | 2 +- ...EC2CreatePlacementGroupRequestMarshaller.m | 4 +- .../Model/EC2CreatePlacementGroupResponse.m | 2 +- ...CreatePlacementGroupResponseUnmarshaller.m | 2 +- .../Model/EC2CreateSecurityGroupRequest.m | 2 +- .../EC2CreateSecurityGroupRequestMarshaller.m | 4 +- .../Model/EC2CreateSecurityGroupResponse.m | 2 +- ...2CreateSecurityGroupResponseUnmarshaller.m | 2 +- .../Model/EC2CreateSnapshotRequest.m | 2 +- .../EC2CreateSnapshotRequestMarshaller.m | 4 +- .../Model/EC2CreateSnapshotResponse.m | 2 +- .../EC2CreateSnapshotResponseUnmarshaller.m | 2 +- ...EC2CreateSpotDatafeedSubscriptionRequest.m | 2 +- ...potDatafeedSubscriptionRequestMarshaller.m | 4 +- ...C2CreateSpotDatafeedSubscriptionResponse.m | 2 +- ...DatafeedSubscriptionResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2CreateTagsRequest.m | 2 +- .../Model/EC2CreateTagsRequestMarshaller.m | 4 +- src/Amazon.EC2/Model/EC2CreateTagsResponse.m | 2 +- .../Model/EC2CreateTagsResponseUnmarshaller.m | 2 +- .../Model/EC2CreateVolumePermission.m | 2 +- .../EC2CreateVolumePermissionModifications.m | 2 +- .../EC2CreateVolumePermissionUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2CreateVolumeRequest.m | 2 +- .../Model/EC2CreateVolumeRequestMarshaller.m | 4 +- .../Model/EC2CreateVolumeResponse.m | 2 +- .../EC2CreateVolumeResponseUnmarshaller.m | 2 +- .../Model/EC2DeactivateLicenseRequest.m | 2 +- .../EC2DeactivateLicenseRequestMarshaller.m | 4 +- .../Model/EC2DeactivateLicenseResponse.m | 2 +- ...EC2DeactivateLicenseResponseUnmarshaller.m | 2 +- .../Model/EC2DeleteKeyPairRequest.m | 2 +- .../Model/EC2DeleteKeyPairRequestMarshaller.m | 4 +- .../Model/EC2DeleteKeyPairResponse.m | 2 +- .../EC2DeleteKeyPairResponseUnmarshaller.m | 2 +- .../Model/EC2DeletePlacementGroupRequest.m | 2 +- ...EC2DeletePlacementGroupRequestMarshaller.m | 4 +- .../Model/EC2DeletePlacementGroupResponse.m | 2 +- ...DeletePlacementGroupResponseUnmarshaller.m | 2 +- .../Model/EC2DeleteSecurityGroupRequest.m | 2 +- .../EC2DeleteSecurityGroupRequestMarshaller.m | 4 +- .../Model/EC2DeleteSecurityGroupResponse.m | 2 +- ...2DeleteSecurityGroupResponseUnmarshaller.m | 2 +- .../Model/EC2DeleteSnapshotRequest.m | 2 +- .../EC2DeleteSnapshotRequestMarshaller.m | 4 +- .../Model/EC2DeleteSnapshotResponse.m | 2 +- .../EC2DeleteSnapshotResponseUnmarshaller.m | 2 +- ...EC2DeleteSpotDatafeedSubscriptionRequest.m | 2 +- ...potDatafeedSubscriptionRequestMarshaller.m | 4 +- ...C2DeleteSpotDatafeedSubscriptionResponse.m | 2 +- ...DatafeedSubscriptionResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2DeleteTagsRequest.m | 2 +- .../Model/EC2DeleteTagsRequestMarshaller.m | 4 +- src/Amazon.EC2/Model/EC2DeleteTagsResponse.m | 2 +- .../Model/EC2DeleteTagsResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2DeleteVolumeRequest.m | 2 +- .../Model/EC2DeleteVolumeRequestMarshaller.m | 4 +- .../Model/EC2DeleteVolumeResponse.m | 2 +- .../EC2DeleteVolumeResponseUnmarshaller.m | 2 +- .../Model/EC2DeregisterImageRequest.m | 2 +- .../EC2DeregisterImageRequestMarshaller.m | 4 +- .../Model/EC2DeregisterImageResponse.m | 2 +- .../EC2DeregisterImageResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeAddressesRequest.m | 2 +- .../EC2DescribeAddressesRequestMarshaller.m | 4 +- .../Model/EC2DescribeAddressesResponse.m | 2 +- ...EC2DescribeAddressesResponseUnmarshaller.m | 2 +- .../EC2DescribeAvailabilityZonesRequest.m | 2 +- ...scribeAvailabilityZonesRequestMarshaller.m | 4 +- .../EC2DescribeAvailabilityZonesResponse.m | 2 +- ...ibeAvailabilityZonesResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeBundleTasksRequest.m | 2 +- .../EC2DescribeBundleTasksRequestMarshaller.m | 4 +- .../Model/EC2DescribeBundleTasksResponse.m | 2 +- ...2DescribeBundleTasksResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeImageAttributeRequest.m | 2 +- ...2DescribeImageAttributeRequestMarshaller.m | 4 +- .../Model/EC2DescribeImageAttributeResponse.m | 2 +- ...scribeImageAttributeResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeImagesRequest.m | 2 +- .../EC2DescribeImagesRequestMarshaller.m | 4 +- .../Model/EC2DescribeImagesResponse.m | 2 +- .../EC2DescribeImagesResponseUnmarshaller.m | 2 +- .../EC2DescribeInstanceAttributeRequest.m | 2 +- ...scribeInstanceAttributeRequestMarshaller.m | 4 +- .../EC2DescribeInstanceAttributeResponse.m | 2 +- ...ibeInstanceAttributeResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeInstanceStatusRequest.m | 87 ++ ...2DescribeInstanceStatusRequestMarshaller.m | 83 ++ .../Model/EC2DescribeInstanceStatusResponse.m | 83 ++ ...scribeInstanceStatusResponseUnmarshaller.m | 86 ++ .../Model/EC2DescribeInstancesRequest.m | 2 +- .../EC2DescribeInstancesRequestMarshaller.m | 4 +- .../Model/EC2DescribeInstancesResponse.m | 2 +- ...EC2DescribeInstancesResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeKeyPairsRequest.m | 2 +- .../EC2DescribeKeyPairsRequestMarshaller.m | 4 +- .../Model/EC2DescribeKeyPairsResponse.m | 2 +- .../EC2DescribeKeyPairsResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeLicensesRequest.m | 2 +- .../EC2DescribeLicensesRequestMarshaller.m | 4 +- .../Model/EC2DescribeLicensesResponse.m | 2 +- .../EC2DescribeLicensesResponseUnmarshaller.m | 2 +- .../Model/EC2DescribePlacementGroupsRequest.m | 2 +- ...DescribePlacementGroupsRequestMarshaller.m | 4 +- .../EC2DescribePlacementGroupsResponse.m | 2 +- ...cribePlacementGroupsResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeRegionsRequest.m | 2 +- .../EC2DescribeRegionsRequestMarshaller.m | 4 +- .../Model/EC2DescribeRegionsResponse.m | 2 +- .../EC2DescribeRegionsResponseUnmarshaller.m | 2 +- ...escribeReservedInstancesOfferingsRequest.m | 6 +- ...ervedInstancesOfferingsRequestMarshaller.m | 9 +- ...scribeReservedInstancesOfferingsResponse.m | 2 +- ...edInstancesOfferingsResponseUnmarshaller.m | 2 +- .../EC2DescribeReservedInstancesRequest.m | 6 +- ...scribeReservedInstancesRequestMarshaller.m | 9 +- .../EC2DescribeReservedInstancesResponse.m | 2 +- ...ibeReservedInstancesResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeSecurityGroupsRequest.m | 2 +- ...2DescribeSecurityGroupsRequestMarshaller.m | 4 +- .../Model/EC2DescribeSecurityGroupsResponse.m | 2 +- ...scribeSecurityGroupsResponseUnmarshaller.m | 2 +- .../EC2DescribeSnapshotAttributeRequest.m | 2 +- ...scribeSnapshotAttributeRequestMarshaller.m | 4 +- .../EC2DescribeSnapshotAttributeResponse.m | 2 +- ...ibeSnapshotAttributeResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeSnapshotsRequest.m | 2 +- .../EC2DescribeSnapshotsRequestMarshaller.m | 4 +- .../Model/EC2DescribeSnapshotsResponse.m | 2 +- ...EC2DescribeSnapshotsResponseUnmarshaller.m | 2 +- ...2DescribeSpotDatafeedSubscriptionRequest.m | 2 +- ...potDatafeedSubscriptionRequestMarshaller.m | 4 +- ...DescribeSpotDatafeedSubscriptionResponse.m | 2 +- ...DatafeedSubscriptionResponseUnmarshaller.m | 2 +- .../EC2DescribeSpotInstanceRequestsRequest.m | 2 +- ...ibeSpotInstanceRequestsRequestMarshaller.m | 4 +- .../EC2DescribeSpotInstanceRequestsResponse.m | 2 +- ...SpotInstanceRequestsResponseUnmarshaller.m | 2 +- .../EC2DescribeSpotPriceHistoryRequest.m | 2 +- ...escribeSpotPriceHistoryRequestMarshaller.m | 4 +- .../EC2DescribeSpotPriceHistoryResponse.m | 2 +- ...ribeSpotPriceHistoryResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2DescribeTagsRequest.m | 2 +- .../Model/EC2DescribeTagsRequestMarshaller.m | 4 +- .../Model/EC2DescribeTagsResponse.m | 2 +- .../EC2DescribeTagsResponseUnmarshaller.m | 2 +- .../Model/EC2DescribeVolumesRequest.m | 2 +- .../EC2DescribeVolumesRequestMarshaller.m | 4 +- .../Model/EC2DescribeVolumesResponse.m | 2 +- .../EC2DescribeVolumesResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2DetachVolumeRequest.m | 2 +- .../Model/EC2DetachVolumeRequestMarshaller.m | 4 +- .../Model/EC2DetachVolumeResponse.m | 2 +- .../EC2DetachVolumeResponseUnmarshaller.m | 2 +- .../Model/EC2DisassociateAddressRequest.m | 2 +- .../EC2DisassociateAddressRequestMarshaller.m | 4 +- .../Model/EC2DisassociateAddressResponse.m | 2 +- ...2DisassociateAddressResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2EbsBlockDevice.m | 2 +- .../Model/EC2EbsBlockDeviceUnmarshaller.m | 2 +- .../Model/EC2EbsInstanceBlockDevice.m | 2 +- .../EC2EbsInstanceBlockDeviceSpecification.m | 2 +- .../EC2EbsInstanceBlockDeviceUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Filter.m | 2 +- .../Model/EC2GetConsoleOutputRequest.m | 2 +- .../EC2GetConsoleOutputRequestMarshaller.m | 4 +- .../Model/EC2GetConsoleOutputResponse.m | 2 +- .../EC2GetConsoleOutputResponseUnmarshaller.m | 2 +- .../Model/EC2GetPasswordDataRequest.m | 2 +- .../EC2GetPasswordDataRequestMarshaller.m | 4 +- .../Model/EC2GetPasswordDataResponse.m | 2 +- .../EC2GetPasswordDataResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2GroupIdentifier.m | 2 +- .../Model/EC2GroupIdentifierUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Image.m | 2 +- src/Amazon.EC2/Model/EC2ImageAttribute.m | 2 +- .../Model/EC2ImageAttributeUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2ImageUnmarshaller.m | 2 +- .../Model/EC2ImportKeyPairRequest.m | 2 +- .../Model/EC2ImportKeyPairRequestMarshaller.m | 4 +- .../Model/EC2ImportKeyPairResponse.m | 2 +- .../EC2ImportKeyPairResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Instance.m | 2 +- src/Amazon.EC2/Model/EC2InstanceAttribute.m | 2 +- .../Model/EC2InstanceAttributeUnmarshaller.m | 2 +- .../Model/EC2InstanceBlockDeviceMapping.m | 2 +- ...2InstanceBlockDeviceMappingSpecification.m | 2 +- ...C2InstanceBlockDeviceMappingUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2InstanceLicense.m | 2 +- .../Model/EC2InstanceLicenseSpecification.m | 2 +- .../Model/EC2InstanceLicenseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2InstanceMonitoring.m | 2 +- .../Model/EC2InstanceMonitoringUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2InstanceState.m | 2 +- src/Amazon.EC2/Model/EC2InstanceStateChange.m | 2 +- .../EC2InstanceStateChangeUnmarshaller.m | 2 +- .../Model/EC2InstanceStateUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2InstanceStatus.m | 78 ++ src/Amazon.EC2/Model/EC2InstanceStatusEvent.m | 69 ++ .../EC2InstanceStatusEventUnmarshaller.m | 92 +++ .../Model/EC2InstanceStatusUnmarshaller.m | 97 +++ .../Model/EC2InstanceUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2IpPermission.m | 2 +- .../Model/EC2IpPermissionUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2KeyPair.m | 2 +- src/Amazon.EC2/Model/EC2KeyPairInfo.m | 2 +- .../Model/EC2KeyPairInfoUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2KeyPairUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2LaunchPermission.m | 2 +- .../Model/EC2LaunchPermissionModifications.m | 2 +- .../Model/EC2LaunchPermissionUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2LaunchSpecification.m | 2 +- .../EC2LaunchSpecificationUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2License.m | 2 +- src/Amazon.EC2/Model/EC2LicenseCapacity.m | 2 +- .../Model/EC2LicenseCapacityUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2LicenseUnmarshaller.m | 2 +- .../Model/EC2ModifyImageAttributeRequest.m | 2 +- ...EC2ModifyImageAttributeRequestMarshaller.m | 6 +- .../Model/EC2ModifyImageAttributeResponse.m | 2 +- ...ModifyImageAttributeResponseUnmarshaller.m | 2 +- .../Model/EC2ModifyInstanceAttributeRequest.m | 2 +- ...ModifyInstanceAttributeRequestMarshaller.m | 18 +- .../EC2ModifyInstanceAttributeResponse.m | 2 +- ...ifyInstanceAttributeResponseUnmarshaller.m | 2 +- .../Model/EC2ModifySnapshotAttributeRequest.m | 2 +- ...ModifySnapshotAttributeRequestMarshaller.m | 4 +- .../EC2ModifySnapshotAttributeResponse.m | 2 +- ...ifySnapshotAttributeResponseUnmarshaller.m | 2 +- .../Model/EC2MonitorInstancesRequest.m | 2 +- .../EC2MonitorInstancesRequestMarshaller.m | 4 +- .../Model/EC2MonitorInstancesResponse.m | 2 +- .../EC2MonitorInstancesResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Monitoring.m | 2 +- .../Model/EC2MonitoringUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Placement.m | 2 +- src/Amazon.EC2/Model/EC2PlacementGroup.m | 2 +- .../Model/EC2PlacementGroupUnmarshaller.m | 2 +- .../Model/EC2PlacementUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2ProductCode.m | 2 +- .../Model/EC2ProductCodeUnmarshaller.m | 2 +- ...PurchaseReservedInstancesOfferingRequest.m | 2 +- ...servedInstancesOfferingRequestMarshaller.m | 4 +- ...urchaseReservedInstancesOfferingResponse.m | 2 +- ...vedInstancesOfferingResponseUnmarshaller.m | 2 +- .../Model/EC2RebootInstancesRequest.m | 2 +- .../EC2RebootInstancesRequestMarshaller.m | 4 +- .../Model/EC2RebootInstancesResponse.m | 2 +- .../EC2RebootInstancesResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2RecurringCharge.m | 61 ++ .../Model/EC2RecurringChargeUnmarshaller.m | 82 ++ src/Amazon.EC2/Model/EC2Region.m | 2 +- src/Amazon.EC2/Model/EC2RegionUnmarshaller.m | 2 +- .../Model/EC2RegisterImageRequest.m | 2 +- .../Model/EC2RegisterImageRequestMarshaller.m | 4 +- .../Model/EC2RegisterImageResponse.m | 2 +- .../EC2RegisterImageResponseUnmarshaller.m | 2 +- .../Model/EC2ReleaseAddressRequest.m | 2 +- .../EC2ReleaseAddressRequestMarshaller.m | 4 +- .../Model/EC2ReleaseAddressResponse.m | 2 +- .../EC2ReleaseAddressResponseUnmarshaller.m | 2 +- .../Model/EC2RequestSpotInstancesRequest.m | 2 +- ...EC2RequestSpotInstancesRequestMarshaller.m | 4 +- .../Model/EC2RequestSpotInstancesResponse.m | 2 +- ...RequestSpotInstancesResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Reservation.m | 2 +- .../Model/EC2ReservationUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2ReservedInstances.m | 19 +- .../Model/EC2ReservedInstancesOffering.m | 19 +- ...EC2ReservedInstancesOfferingUnmarshaller.m | 16 +- .../Model/EC2ReservedInstancesUnmarshaller.m | 16 +- .../Model/EC2ResetImageAttributeRequest.m | 2 +- .../EC2ResetImageAttributeRequestMarshaller.m | 4 +- .../Model/EC2ResetImageAttributeResponse.m | 2 +- ...2ResetImageAttributeResponseUnmarshaller.m | 2 +- .../Model/EC2ResetInstanceAttributeRequest.m | 2 +- ...2ResetInstanceAttributeRequestMarshaller.m | 4 +- .../Model/EC2ResetInstanceAttributeResponse.m | 2 +- ...setInstanceAttributeResponseUnmarshaller.m | 2 +- .../Model/EC2ResetSnapshotAttributeRequest.m | 2 +- ...2ResetSnapshotAttributeRequestMarshaller.m | 4 +- .../Model/EC2ResetSnapshotAttributeResponse.m | 2 +- ...setSnapshotAttributeResponseUnmarshaller.m | 2 +- .../EC2RevokeSecurityGroupIngressRequest.m | 2 +- ...okeSecurityGroupIngressRequestMarshaller.m | 4 +- .../EC2RevokeSecurityGroupIngressResponse.m | 2 +- ...SecurityGroupIngressResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2RunInstancesRequest.m | 2 +- .../Model/EC2RunInstancesRequestMarshaller.m | 4 +- .../Model/EC2RunInstancesResponse.m | 2 +- .../EC2RunInstancesResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2S3Storage.m | 2 +- .../Model/EC2S3StorageUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2SecurityGroup.m | 2 +- .../Model/EC2SecurityGroupUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Snapshot.m | 2 +- .../Model/EC2SnapshotUnmarshaller.m | 2 +- .../Model/EC2SpotDatafeedSubscription.m | 2 +- .../EC2SpotDatafeedSubscriptionUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2SpotInstanceRequest.m | 2 +- .../EC2SpotInstanceRequestUnmarshaller.m | 2 +- .../Model/EC2SpotInstanceStateFault.m | 2 +- .../EC2SpotInstanceStateFaultUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2SpotPlacement.m | 2 +- .../Model/EC2SpotPlacementUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2SpotPrice.m | 2 +- .../Model/EC2SpotPriceUnmarshaller.m | 2 +- .../Model/EC2StartInstancesRequest.m | 2 +- .../EC2StartInstancesRequestMarshaller.m | 4 +- .../Model/EC2StartInstancesResponse.m | 2 +- .../EC2StartInstancesResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2StateReason.m | 2 +- .../Model/EC2StateReasonUnmarshaller.m | 2 +- .../Model/EC2StopInstancesRequest.m | 2 +- .../Model/EC2StopInstancesRequestMarshaller.m | 4 +- .../Model/EC2StopInstancesResponse.m | 2 +- .../EC2StopInstancesResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Storage.m | 2 +- src/Amazon.EC2/Model/EC2StorageUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Tag.m | 2 +- src/Amazon.EC2/Model/EC2TagDescription.m | 2 +- .../Model/EC2TagDescriptionUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2TagUnmarshaller.m | 2 +- .../Model/EC2TerminateInstancesRequest.m | 2 +- .../EC2TerminateInstancesRequestMarshaller.m | 4 +- .../Model/EC2TerminateInstancesResponse.m | 2 +- ...C2TerminateInstancesResponseUnmarshaller.m | 2 +- .../Model/EC2UnmonitorInstancesRequest.m | 2 +- .../EC2UnmonitorInstancesRequestMarshaller.m | 4 +- .../Model/EC2UnmonitorInstancesResponse.m | 2 +- ...C2UnmonitorInstancesResponseUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2UserIdGroupPair.m | 2 +- .../Model/EC2UserIdGroupPairUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2Volume.m | 2 +- src/Amazon.EC2/Model/EC2VolumeAttachment.m | 2 +- .../Model/EC2VolumeAttachmentUnmarshaller.m | 2 +- src/Amazon.EC2/Model/EC2VolumeUnmarshaller.m | 2 +- src/Amazon.ElasticLoadBalancing/.DS_Store | Bin 6148 -> 6149 bytes .../AmazonElasticLoadBalancingClient.m | 137 +-- .../ElasticLoadBalancingResponse.m | 2 +- ...ElasticLoadBalancingResponseUnmarshaller.m | 2 +- ...icLoadBalancingAppCookieStickinessPolicy.m | 2 +- ...ingAppCookieStickinessPolicyUnmarshaller.m | 2 +- ...ApplySecurityGroupsToLoadBalancerRequest.m | 70 ++ ...ityGroupsToLoadBalancerRequestMarshaller.m | 54 ++ ...pplySecurityGroupsToLoadBalancerResponse.m | 91 ++ ...GroupsToLoadBalancerResponseUnmarshaller.m | 75 ++ ...ancingAttachLoadBalancerToSubnetsRequest.m | 70 ++ ...chLoadBalancerToSubnetsRequestMarshaller.m | 54 ++ ...ncingAttachLoadBalancerToSubnetsResponse.m | 95 +++ ...oadBalancerToSubnetsResponseUnmarshaller.m | 75 ++ ...ticLoadBalancingBackendServerDescription.m | 2 +- ...cingBackendServerDescriptionUnmarshaller.m | 2 +- ...oadBalancingCertificateNotFoundException.m | 2 +- ...LoadBalancingConfigureHealthCheckRequest.m | 2 +- ...ingConfigureHealthCheckRequestMarshaller.m | 4 +- ...oadBalancingConfigureHealthCheckResponse.m | 2 +- ...ConfigureHealthCheckResponseUnmarshaller.m | 2 +- ...ngCreateAppCookieStickinessPolicyRequest.m | 2 +- ...pCookieStickinessPolicyRequestMarshaller.m | 4 +- ...gCreateAppCookieStickinessPolicyResponse.m | 18 +- ...okieStickinessPolicyResponseUnmarshaller.m | 2 +- ...ingCreateLBCookieStickinessPolicyRequest.m | 2 +- ...BCookieStickinessPolicyRequestMarshaller.m | 4 +- ...ngCreateLBCookieStickinessPolicyResponse.m | 18 +- ...okieStickinessPolicyResponseUnmarshaller.m | 2 +- ...ancingCreateLoadBalancerListenersRequest.m | 2 +- ...teLoadBalancerListenersRequestMarshaller.m | 4 +- ...ncingCreateLoadBalancerListenersResponse.m | 10 +- ...oadBalancerListenersResponseUnmarshaller.m | 2 +- ...BalancingCreateLoadBalancerPolicyRequest.m | 2 +- ...reateLoadBalancerPolicyRequestMarshaller.m | 4 +- ...alancingCreateLoadBalancerPolicyResponse.m | 18 +- ...teLoadBalancerPolicyResponseUnmarshaller.m | 2 +- ...icLoadBalancingCreateLoadBalancerRequest.m | 28 +- ...ncingCreateLoadBalancerRequestMarshaller.m | 26 +- ...cLoadBalancingCreateLoadBalancerResponse.m | 22 +- ...ngCreateLoadBalancerResponseUnmarshaller.m | 2 +- ...ancingDeleteLoadBalancerListenersRequest.m | 2 +- ...teLoadBalancerListenersRequestMarshaller.m | 4 +- ...ncingDeleteLoadBalancerListenersResponse.m | 2 +- ...oadBalancerListenersResponseUnmarshaller.m | 2 +- ...BalancingDeleteLoadBalancerPolicyRequest.m | 2 +- ...eleteLoadBalancerPolicyRequestMarshaller.m | 4 +- ...alancingDeleteLoadBalancerPolicyResponse.m | 2 +- ...teLoadBalancerPolicyResponseUnmarshaller.m | 2 +- ...icLoadBalancingDeleteLoadBalancerRequest.m | 2 +- ...ncingDeleteLoadBalancerRequestMarshaller.m | 4 +- ...cLoadBalancingDeleteLoadBalancerResponse.m | 2 +- ...ngDeleteLoadBalancerResponseUnmarshaller.m | 2 +- ...registerInstancesFromLoadBalancerRequest.m | 2 +- ...stancesFromLoadBalancerRequestMarshaller.m | 4 +- ...egisterInstancesFromLoadBalancerResponse.m | 2 +- ...ncesFromLoadBalancerResponseUnmarshaller.m | 2 +- ...adBalancingDescribeInstanceHealthRequest.m | 2 +- ...gDescribeInstanceHealthRequestMarshaller.m | 4 +- ...dBalancingDescribeInstanceHealthResponse.m | 2 +- ...scribeInstanceHealthResponseUnmarshaller.m | 2 +- ...ncingDescribeLoadBalancerPoliciesRequest.m | 2 +- ...ibeLoadBalancerPoliciesRequestMarshaller.m | 4 +- ...cingDescribeLoadBalancerPoliciesResponse.m | 2 +- ...LoadBalancerPoliciesResponseUnmarshaller.m | 2 +- ...ngDescribeLoadBalancerPolicyTypesRequest.m | 2 +- ...LoadBalancerPolicyTypesRequestMarshaller.m | 4 +- ...gDescribeLoadBalancerPolicyTypesResponse.m | 2 +- ...dBalancerPolicyTypesResponseUnmarshaller.m | 2 +- ...oadBalancingDescribeLoadBalancersRequest.m | 6 +- ...ngDescribeLoadBalancersRequestMarshaller.m | 9 +- ...adBalancingDescribeLoadBalancersResponse.m | 6 +- ...escribeLoadBalancersResponseUnmarshaller.m | 7 +- ...cingDetachLoadBalancerFromSubnetsRequest.m | 70 ++ ...LoadBalancerFromSubnetsRequestMarshaller.m | 54 ++ ...ingDetachLoadBalancerFromSubnetsResponse.m | 87 ++ ...dBalancerFromSubnetsResponseUnmarshaller.m | 75 ++ ...eAvailabilityZonesForLoadBalancerRequest.m | 2 +- ...ityZonesForLoadBalancerRequestMarshaller.m | 4 +- ...AvailabilityZonesForLoadBalancerResponse.m | 2 +- ...ZonesForLoadBalancerResponseUnmarshaller.m | 2 +- ...cLoadBalancingDuplicateListenerException.m | 2 +- ...ancingDuplicateLoadBalancerNameException.m | 2 +- ...oadBalancingDuplicatePolicyNameException.m | 2 +- ...eAvailabilityZonesForLoadBalancerRequest.m | 2 +- ...ityZonesForLoadBalancerRequestMarshaller.m | 4 +- ...AvailabilityZonesForLoadBalancerResponse.m | 2 +- ...ZonesForLoadBalancerResponseUnmarshaller.m | 2 +- .../Model/ElasticLoadBalancingHealthCheck.m | 2 +- ...sticLoadBalancingHealthCheckUnmarshaller.m | 2 +- .../Model/ElasticLoadBalancingInstance.m | 2 +- .../Model/ElasticLoadBalancingInstanceState.m | 2 +- ...icLoadBalancingInstanceStateUnmarshaller.m | 2 +- ...ElasticLoadBalancingInstanceUnmarshaller.m | 2 +- ...cingInvalidConfigurationRequestException.m | 2 +- ...ticLoadBalancingInvalidInstanceException.m | 2 +- ...adBalancingInvalidSecurityGroupException.m | 57 ++ ...asticLoadBalancingInvalidSubnetException.m | 57 ++ ...ticLoadBalancingLBCookieStickinessPolicy.m | 2 +- ...cingLBCookieStickinessPolicyUnmarshaller.m | 2 +- .../Model/ElasticLoadBalancingListener.m | 2 +- .../ElasticLoadBalancingListenerDescription.m | 2 +- ...BalancingListenerDescriptionUnmarshaller.m | 2 +- ...icLoadBalancingListenerNotFoundException.m | 2 +- ...ElasticLoadBalancingListenerUnmarshaller.m | 2 +- ...sticLoadBalancingLoadBalancerDescription.m | 32 +- ...ncingLoadBalancerDescriptionUnmarshaller.m | 25 +- ...adBalancingLoadBalancerNotFoundException.m | 2 +- .../Model/ElasticLoadBalancingPolicies.m | 2 +- ...ElasticLoadBalancingPoliciesUnmarshaller.m | 2 +- .../ElasticLoadBalancingPolicyAttribute.m | 2 +- ...cLoadBalancingPolicyAttributeDescription.m | 2 +- ...ngPolicyAttributeDescriptionUnmarshaller.m | 2 +- ...dBalancingPolicyAttributeTypeDescription.m | 2 +- ...licyAttributeTypeDescriptionUnmarshaller.m | 2 +- .../ElasticLoadBalancingPolicyDescription.m | 2 +- ...adBalancingPolicyDescriptionUnmarshaller.m | 2 +- ...sticLoadBalancingPolicyNotFoundException.m | 2 +- ...lasticLoadBalancingPolicyTypeDescription.m | 2 +- ...lancingPolicyTypeDescriptionUnmarshaller.m | 2 +- ...LoadBalancingPolicyTypeNotFoundException.m | 2 +- ...RegisterInstancesWithLoadBalancerRequest.m | 2 +- ...stancesWithLoadBalancerRequestMarshaller.m | 4 +- ...egisterInstancesWithLoadBalancerResponse.m | 2 +- ...ncesWithLoadBalancerResponseUnmarshaller.m | 2 +- ...oadBalancerListenerSSLCertificateRequest.m | 2 +- ...rListenerSSLCertificateRequestMarshaller.m | 4 +- ...adBalancerListenerSSLCertificateResponse.m | 10 +- ...stenerSSLCertificateResponseUnmarshaller.m | 2 +- ...dBalancerPoliciesForBackendServerRequest.m | 2 +- ...oliciesForBackendServerRequestMarshaller.m | 4 +- ...BalancerPoliciesForBackendServerResponse.m | 2 +- ...ciesForBackendServerResponseUnmarshaller.m | 2 +- ...SetLoadBalancerPoliciesOfListenerRequest.m | 2 +- ...ancerPoliciesOfListenerRequestMarshaller.m | 4 +- ...etLoadBalancerPoliciesOfListenerResponse.m | 10 +- ...erPoliciesOfListenerResponseUnmarshaller.m | 2 +- .../ElasticLoadBalancingSourceSecurityGroup.m | 2 +- ...BalancingSourceSecurityGroupUnmarshaller.m | 2 +- ...sticLoadBalancingSubnetNotFoundException.m | 57 ++ ...adBalancingTooManyLoadBalancersException.m | 2 +- ...ticLoadBalancingTooManyPoliciesException.m | 2 +- src/Amazon.Runtime/AmazonAuthUtils.m | 48 +- .../AmazonBoolValueUnmarshaller.m | 2 +- src/Amazon.Runtime/AmazonClientException.m | 2 +- src/Amazon.Runtime/AmazonCredentials.m | 12 +- .../AmazonDictionaryUnmarshaller.m | 2 +- src/Amazon.Runtime/AmazonEndpoints.m | 60 +- src/Amazon.Runtime/AmazonJSON.m | 42 + src/Amazon.Runtime/AmazonListUnmarshaller.m | 2 +- src/Amazon.Runtime/AmazonLogger.m | 2 +- src/Amazon.Runtime/AmazonMD5Util.m | 2 +- src/Amazon.Runtime/AmazonRequestDelegate.m | 2 +- src/Amazon.Runtime/AmazonSDKUtil.m | 89 +- src/Amazon.Runtime/AmazonServiceException.m | 2 +- .../AmazonServiceExceptionUnmarshaller.m | 2 +- src/Amazon.Runtime/AmazonServiceRequest.m | 2 +- .../AmazonServiceRequestConfig.m | 2 +- src/Amazon.Runtime/AmazonServiceResponse.m | 8 +- .../AmazonServiceResponseUnmarshaller.m | 2 +- src/Amazon.Runtime/AmazonSignatureException.m | 2 +- src/Amazon.Runtime/AmazonURLRequest.m | 2 +- .../AmazonUnmarshallerXMLParserDelegate.m | 2 +- src/Amazon.Runtime/AmazonValueUnmarshaller.m | 2 +- src/Amazon.Runtime/AmazonWebServiceClient.m | 8 +- src/Amazon.S3/.DS_Store | Bin 0 -> 6149 bytes src/Amazon.S3/AmazonS3Client.m | 2 +- .../Model/S3AbortMultipartUploadRequest.m | 2 +- .../Model/S3AbortMultipartUploadResponse.m | 2 +- src/Amazon.S3/Model/S3AbstractPutRequest.m | 2 +- src/Amazon.S3/Model/S3AccessControlList.m | 2 +- .../Model/S3AccessControlListUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3Bucket.m | 2 +- src/Amazon.S3/Model/S3BucketNameUtilities.m | 2 +- src/Amazon.S3/Model/S3BucketPolicy.m | 2 +- src/Amazon.S3/Model/S3BucketUnmarshaller.m | 2 +- .../Model/S3BucketVersioningConfiguration.m | 2 +- ...ucketVersioningConfigurationUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3CannedACL.m | 2 +- .../Model/S3CompleteMultipartUploadRequest.m | 2 +- .../Model/S3CompleteMultipartUploadResponse.m | 2 +- .../Model/S3CompleteMultipartUploadResult.m | 2 +- ...ompleteMultipartUploadResultUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3CopyObjectRequest.m | 2 +- src/Amazon.S3/Model/S3CopyObjectResponse.m | 2 +- src/Amazon.S3/Model/S3CopyObjectResult.m | 2 +- .../Model/S3CopyObjectResultUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3CopyPartRequest.m | 4 +- src/Amazon.S3/Model/S3CopyPartResponse.m | 2 +- src/Amazon.S3/Model/S3CopyPartResult.m | 2 +- .../Model/S3CopyPartResultUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3CreateBucketRequest.m | 2 +- src/Amazon.S3/Model/S3CreateBucketResponse.m | 2 +- .../Model/S3DeleteBucketPolicyRequest.m | 2 +- .../Model/S3DeleteBucketPolicyResponse.m | 2 +- src/Amazon.S3/Model/S3DeleteBucketRequest.m | 2 +- src/Amazon.S3/Model/S3DeleteBucketResponse.m | 2 +- src/Amazon.S3/Model/S3DeleteObjectRequest.m | 2 +- src/Amazon.S3/Model/S3DeleteObjectResponse.m | 2 +- src/Amazon.S3/Model/S3DeleteVersionRequest.m | 4 +- src/Amazon.S3/Model/S3DeleteVersionResponse.m | 2 +- src/Amazon.S3/Model/S3ErrorResponseHandler.m | 2 +- src/Amazon.S3/Model/S3GetACLRequest.m | 2 +- src/Amazon.S3/Model/S3GetACLResponse.m | 2 +- .../Model/S3GetBucketPolicyRequest.m | 2 +- .../Model/S3GetBucketPolicyResponse.m | 2 +- ...3GetBucketVersioningConfigurationRequest.m | 2 +- ...GetBucketVersioningConfigurationResponse.m | 2 +- .../Model/S3GetObjectMetadataRequest.m | 2 +- .../Model/S3GetObjectMetadataResponse.m | 2 +- src/Amazon.S3/Model/S3GetObjectRequest.m | 26 +- src/Amazon.S3/Model/S3GetObjectResponse.m | 2 +- .../Model/S3GetPreSignedURLRequest.m | 20 +- src/Amazon.S3/Model/S3Grant.m | 2 +- src/Amazon.S3/Model/S3GrantUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3Grantee.m | 2 +- .../Model/S3InitiateMultipartUploadRequest.m | 2 +- .../Model/S3InitiateMultipartUploadResponse.m | 2 +- ...nitiateMultipartUploadResultUnmarshaller.m | 2 +- .../Model/S3ListBucketResultUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3ListBucketsRequest.m | 2 +- src/Amazon.S3/Model/S3ListBucketsResponse.m | 2 +- src/Amazon.S3/Model/S3ListBucketsResult.m | 2 +- .../Model/S3ListBucketsResultUnmarshaller.m | 2 +- .../Model/S3ListMultipartUploadsRequest.m | 2 +- .../Model/S3ListMultipartUploadsResponse.m | 2 +- .../Model/S3ListMultipartUploadsResult.m | 2 +- ...S3ListMultipartUploadsResultUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3ListObjectsRequest.m | 2 +- src/Amazon.S3/Model/S3ListObjectsResponse.m | 2 +- src/Amazon.S3/Model/S3ListObjectsResult.m | 2 +- src/Amazon.S3/Model/S3ListPartsRequest.m | 2 +- src/Amazon.S3/Model/S3ListPartsResponse.m | 2 +- src/Amazon.S3/Model/S3ListPartsResult.m | 2 +- .../Model/S3ListPartsResultUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3ListVersionsRequest.m | 2 +- src/Amazon.S3/Model/S3ListVersionsResponse.m | 2 +- src/Amazon.S3/Model/S3ListVersionsResult.m | 2 +- .../Model/S3ListVersionsResultUnmarshaller.m | 2 +- .../Model/S3LocationConstraintUnmarshaller.m | 2 +- .../Model/S3MultiFactorAuthentication.m | 2 +- src/Amazon.S3/Model/S3MultipartUpload.m | 2 +- .../Model/S3MultipartUploadUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3ObjectSummary.m | 2 +- .../Model/S3ObjectSummaryUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3Owner.m | 2 +- src/Amazon.S3/Model/S3OwnerUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3Part.m | 2 +- src/Amazon.S3/Model/S3PartUnmarshaller.m | 2 +- src/Amazon.S3/Model/S3Permission.m | 2 +- src/Amazon.S3/Model/S3PutObjectRequest.m | 2 +- src/Amazon.S3/Model/S3PutObjectResponse.m | 2 +- src/Amazon.S3/Model/S3Region.m | 6 +- src/Amazon.S3/Model/S3Request.m | 2 +- src/Amazon.S3/Model/S3Response.m | 2 +- .../Model/S3ResponseHeaderOverrides.m | 2 +- src/Amazon.S3/Model/S3SetACLRequest.m | 2 +- src/Amazon.S3/Model/S3SetACLResponse.m | 2 +- .../Model/S3SetBucketPolicyRequest.m | 2 +- .../Model/S3SetBucketPolicyResponse.m | 2 +- ...3SetBucketVersioningConfigurationRequest.m | 2 +- ...SetBucketVersioningConfigurationResponse.m | 2 +- src/Amazon.S3/Model/S3UploadPartRequest.m | 2 +- src/Amazon.S3/Model/S3UploadPartResponse.m | 2 +- src/Amazon.S3/Model/S3VersionSummary.m | 2 +- .../Model/S3VersionSummaryUnmarshaller.m | 2 +- src/Amazon.SES/AmazonSESClient.m | 2 +- src/Amazon.SES/Model/SESBody.m | 2 +- src/Amazon.SES/Model/SESContent.m | 2 +- .../SESDeleteVerifiedEmailAddressRequest.m | 2 +- ...eteVerifiedEmailAddressRequestMarshaller.m | 2 +- .../SESDeleteVerifiedEmailAddressResponse.m | 2 +- ...VerifiedEmailAddressResponseUnmarshaller.m | 2 +- src/Amazon.SES/Model/SESDestination.m | 2 +- src/Amazon.SES/Model/SESGetSendQuotaRequest.m | 2 +- .../Model/SESGetSendQuotaRequestMarshaller.m | 2 +- .../Model/SESGetSendQuotaResponse.m | 2 +- .../SESGetSendQuotaResponseUnmarshaller.m | 2 +- .../Model/SESGetSendStatisticsRequest.m | 2 +- .../SESGetSendStatisticsRequestMarshaller.m | 2 +- .../Model/SESGetSendStatisticsResponse.m | 2 +- ...SESGetSendStatisticsResponseUnmarshaller.m | 2 +- .../SESListVerifiedEmailAddressesRequest.m | 2 +- ...tVerifiedEmailAddressesRequestMarshaller.m | 2 +- .../SESListVerifiedEmailAddressesResponse.m | 2 +- ...rifiedEmailAddressesResponseUnmarshaller.m | 2 +- src/Amazon.SES/Model/SESMessage.m | 2 +- .../Model/SESMessageRejectedException.m | 2 +- src/Amazon.SES/Model/SESRawMessage.m | 2 +- src/Amazon.SES/Model/SESSendDataPoint.m | 2 +- .../Model/SESSendDataPointUnmarshaller.m | 2 +- src/Amazon.SES/Model/SESSendEmailRequest.m | 2 +- .../Model/SESSendEmailRequestMarshaller.m | 2 +- src/Amazon.SES/Model/SESSendEmailResponse.m | 2 +- .../Model/SESSendEmailResponseUnmarshaller.m | 2 +- src/Amazon.SES/Model/SESSendRawEmailRequest.m | 2 +- .../Model/SESSendRawEmailRequestMarshaller.m | 2 +- .../Model/SESSendRawEmailResponse.m | 2 +- .../SESSendRawEmailResponseUnmarshaller.m | 2 +- .../Model/SESVerifyEmailAddressRequest.m | 2 +- .../SESVerifyEmailAddressRequestMarshaller.m | 2 +- .../Model/SESVerifyEmailAddressResponse.m | 2 +- ...ESVerifyEmailAddressResponseUnmarshaller.m | 2 +- src/Amazon.SES/SESResponse.m | 2 +- src/Amazon.SES/SESResponseUnmarshaller.m | 2 +- src/Amazon.SNS/AmazonSNSClient.m | 16 +- .../Model/SNSAddPermissionRequest.m | 2 +- .../Model/SNSAddPermissionRequestMarshaller.m | 2 +- .../Model/SNSAddPermissionResponse.m | 2 +- .../SNSAddPermissionResponseUnmarshaller.m | 2 +- .../Model/SNSAuthorizationErrorException.m | 2 +- .../Model/SNSConfirmSubscriptionRequest.m | 2 +- .../SNSConfirmSubscriptionRequestMarshaller.m | 2 +- .../Model/SNSConfirmSubscriptionResponse.m | 2 +- ...SConfirmSubscriptionResponseUnmarshaller.m | 2 +- src/Amazon.SNS/Model/SNSCreateTopicRequest.m | 2 +- .../Model/SNSCreateTopicRequestMarshaller.m | 2 +- src/Amazon.SNS/Model/SNSCreateTopicResponse.m | 2 +- .../SNSCreateTopicResponseUnmarshaller.m | 2 +- src/Amazon.SNS/Model/SNSDeleteTopicRequest.m | 2 +- .../Model/SNSDeleteTopicRequestMarshaller.m | 2 +- src/Amazon.SNS/Model/SNSDeleteTopicResponse.m | 2 +- .../SNSDeleteTopicResponseUnmarshaller.m | 2 +- .../SNSGetSubscriptionAttributesRequest.m | 66 ++ ...tSubscriptionAttributesRequestMarshaller.m | 43 + .../SNSGetSubscriptionAttributesResponse.m | 94 +++ ...bscriptionAttributesResponseUnmarshaller.m | 84 ++ .../Model/SNSGetTopicAttributesRequest.m | 2 +- .../SNSGetTopicAttributesRequestMarshaller.m | 2 +- .../Model/SNSGetTopicAttributesResponse.m | 2 +- ...NSGetTopicAttributesResponseUnmarshaller.m | 2 +- .../Model/SNSInternalErrorException.m | 2 +- .../Model/SNSInvalidParameterException.m | 2 +- .../SNSListSubscriptionsByTopicRequest.m | 2 +- ...istSubscriptionsByTopicRequestMarshaller.m | 2 +- .../SNSListSubscriptionsByTopicResponse.m | 2 +- ...SubscriptionsByTopicResponseUnmarshaller.m | 2 +- .../Model/SNSListSubscriptionsRequest.m | 2 +- .../SNSListSubscriptionsRequestMarshaller.m | 2 +- .../Model/SNSListSubscriptionsResponse.m | 2 +- ...SNSListSubscriptionsResponseUnmarshaller.m | 2 +- src/Amazon.SNS/Model/SNSListTopicsRequest.m | 2 +- .../Model/SNSListTopicsRequestMarshaller.m | 2 +- src/Amazon.SNS/Model/SNSListTopicsResponse.m | 2 +- .../Model/SNSListTopicsResponseUnmarshaller.m | 2 +- src/Amazon.SNS/Model/SNSNotFoundException.m | 2 +- src/Amazon.SNS/Model/SNSPublishRequest.m | 12 +- .../Model/SNSPublishRequestMarshaller.m | 7 +- src/Amazon.SNS/Model/SNSPublishResponse.m | 2 +- .../Model/SNSPublishResponseUnmarshaller.m | 2 +- .../Model/SNSRemovePermissionRequest.m | 2 +- .../SNSRemovePermissionRequestMarshaller.m | 2 +- .../Model/SNSRemovePermissionResponse.m | 2 +- .../SNSRemovePermissionResponseUnmarshaller.m | 2 +- .../SNSSetSubscriptionAttributesRequest.m | 76 ++ ...tSubscriptionAttributesRequestMarshaller.m | 53 ++ .../SNSSetSubscriptionAttributesResponse.m | 73 ++ ...bscriptionAttributesResponseUnmarshaller.m | 50 ++ .../Model/SNSSetTopicAttributesRequest.m | 2 +- .../SNSSetTopicAttributesRequestMarshaller.m | 2 +- .../Model/SNSSetTopicAttributesResponse.m | 2 +- ...NSSetTopicAttributesResponseUnmarshaller.m | 2 +- src/Amazon.SNS/Model/SNSSubscribeRequest.m | 2 +- .../Model/SNSSubscribeRequestMarshaller.m | 2 +- src/Amazon.SNS/Model/SNSSubscribeResponse.m | 2 +- .../Model/SNSSubscribeResponseUnmarshaller.m | 2 +- src/Amazon.SNS/Model/SNSSubscription.m | 2 +- .../SNSSubscriptionLimitExceededException.m | 2 +- .../Model/SNSSubscriptionUnmarshaller.m | 2 +- src/Amazon.SNS/Model/SNSTopic.m | 2 +- .../Model/SNSTopicLimitExceededException.m | 2 +- src/Amazon.SNS/Model/SNSTopicUnmarshaller.m | 2 +- src/Amazon.SNS/Model/SNSUnsubscribeRequest.m | 2 +- .../Model/SNSUnsubscribeRequestMarshaller.m | 2 +- src/Amazon.SNS/Model/SNSUnsubscribeResponse.m | 2 +- .../SNSUnsubscribeResponseUnmarshaller.m | 2 +- src/Amazon.SNS/SNSResponse.m | 2 +- src/Amazon.SNS/SNSResponseUnmarshaller.m | 2 +- src/Amazon.SQS/AmazonSQSClient.m | 2 +- .../Model/SQSAddPermissionRequest.m | 2 +- .../Model/SQSAddPermissionRequestMarshaller.m | 2 +- .../Model/SQSAddPermissionResponse.m | 2 +- .../SQSAddPermissionResponseUnmarshaller.m | 2 +- .../SQSBatchEntryIdsNotDistinctException.m | 2 +- .../Model/SQSBatchRequestTooLongException.m | 2 +- .../Model/SQSBatchResponseErrorEntry.m | 2 +- .../SQSBatchResponseErrorEntryUnmarshaller.m | 2 +- .../SQSChangeMessageVisibilityBatchRequest.m | 2 +- ...ChangeMessageVisibilityBatchRequestEntry.m | 2 +- ...eMessageVisibilityBatchRequestMarshaller.m | 2 +- .../SQSChangeMessageVisibilityBatchResponse.m | 2 +- ...hangeMessageVisibilityBatchResponseEntry.m | 2 +- ...VisibilityBatchResponseEntryUnmarshaller.m | 2 +- ...ssageVisibilityBatchResponseUnmarshaller.m | 2 +- .../Model/SQSChangeMessageVisibilityRequest.m | 2 +- ...ChangeMessageVisibilityRequestMarshaller.m | 2 +- .../SQSChangeMessageVisibilityResponse.m | 2 +- ...ngeMessageVisibilityResponseUnmarshaller.m | 2 +- src/Amazon.SQS/Model/SQSCreateQueueRequest.m | 2 +- .../Model/SQSCreateQueueRequestMarshaller.m | 2 +- src/Amazon.SQS/Model/SQSCreateQueueResponse.m | 2 +- .../SQSCreateQueueResponseUnmarshaller.m | 2 +- .../Model/SQSDeleteMessageBatchRequest.m | 2 +- .../Model/SQSDeleteMessageBatchRequestEntry.m | 2 +- .../SQSDeleteMessageBatchRequestMarshaller.m | 2 +- .../Model/SQSDeleteMessageBatchResponse.m | 2 +- .../SQSDeleteMessageBatchResponseEntry.m | 2 +- ...eteMessageBatchResponseEntryUnmarshaller.m | 2 +- ...QSDeleteMessageBatchResponseUnmarshaller.m | 2 +- .../Model/SQSDeleteMessageRequest.m | 2 +- .../Model/SQSDeleteMessageRequestMarshaller.m | 2 +- .../Model/SQSDeleteMessageResponse.m | 2 +- .../SQSDeleteMessageResponseUnmarshaller.m | 2 +- src/Amazon.SQS/Model/SQSDeleteQueueRequest.m | 2 +- .../Model/SQSDeleteQueueRequestMarshaller.m | 2 +- src/Amazon.SQS/Model/SQSDeleteQueueResponse.m | 2 +- .../SQSDeleteQueueResponseUnmarshaller.m | 2 +- .../Model/SQSEmptyBatchRequestException.m | 2 +- .../Model/SQSGetQueueAttributesRequest.m | 2 +- .../SQSGetQueueAttributesRequestMarshaller.m | 2 +- .../Model/SQSGetQueueAttributesResponse.m | 2 +- ...QSGetQueueAttributesResponseUnmarshaller.m | 2 +- src/Amazon.SQS/Model/SQSGetQueueUrlRequest.m | 2 +- .../Model/SQSGetQueueUrlRequestMarshaller.m | 2 +- src/Amazon.SQS/Model/SQSGetQueueUrlResponse.m | 2 +- .../SQSGetQueueUrlResponseUnmarshaller.m | 2 +- .../Model/SQSInvalidAttributeNameException.m | 2 +- .../Model/SQSInvalidBatchEntryIdException.m | 2 +- .../Model/SQSInvalidIdFormatException.m | 2 +- .../SQSInvalidMessageContentsException.m | 2 +- src/Amazon.SQS/Model/SQSListQueuesRequest.m | 2 +- .../Model/SQSListQueuesRequestMarshaller.m | 2 +- src/Amazon.SQS/Model/SQSListQueuesResponse.m | 2 +- .../Model/SQSListQueuesResponseUnmarshaller.m | 2 +- src/Amazon.SQS/Model/SQSMessage.m | 2 +- .../Model/SQSMessageNotInflightException.m | 2 +- src/Amazon.SQS/Model/SQSMessageUnmarshaller.m | 2 +- src/Amazon.SQS/Model/SQSOverLimitException.m | 2 +- .../Model/SQSQueueDeletedRecentlyException.m | 2 +- .../Model/SQSQueueDoesNotExistException.m | 2 +- .../Model/SQSQueueNameExistsException.m | 2 +- .../SQSReceiptHandleIsInvalidException.m | 2 +- .../Model/SQSReceiveMessageRequest.m | 2 +- .../SQSReceiveMessageRequestMarshaller.m | 2 +- .../Model/SQSReceiveMessageResponse.m | 2 +- .../SQSReceiveMessageResponseUnmarshaller.m | 2 +- .../Model/SQSRemovePermissionRequest.m | 2 +- .../SQSRemovePermissionRequestMarshaller.m | 2 +- .../Model/SQSRemovePermissionResponse.m | 2 +- .../SQSRemovePermissionResponseUnmarshaller.m | 2 +- .../Model/SQSSendMessageBatchRequest.m | 2 +- .../Model/SQSSendMessageBatchRequestEntry.m | 2 +- .../SQSSendMessageBatchRequestMarshaller.m | 2 +- .../Model/SQSSendMessageBatchResponse.m | 2 +- .../Model/SQSSendMessageBatchResponseEntry.m | 2 +- ...endMessageBatchResponseEntryUnmarshaller.m | 2 +- .../SQSSendMessageBatchResponseUnmarshaller.m | 2 +- src/Amazon.SQS/Model/SQSSendMessageRequest.m | 2 +- .../Model/SQSSendMessageRequestMarshaller.m | 2 +- src/Amazon.SQS/Model/SQSSendMessageResponse.m | 2 +- .../SQSSendMessageResponseUnmarshaller.m | 2 +- .../Model/SQSSetQueueAttributesRequest.m | 2 +- .../SQSSetQueueAttributesRequestMarshaller.m | 2 +- .../Model/SQSSetQueueAttributesResponse.m | 2 +- ...QSSetQueueAttributesResponseUnmarshaller.m | 2 +- ...SQSTooManyEntriesInBatchRequestException.m | 2 +- src/Amazon.SQS/SQSResponse.m | 2 +- src/Amazon.SQS/SQSResponseUnmarshaller.m | 2 +- src/Amazon.SimpleDB/AmazonSimpleDBClient.m | 2 +- src/Amazon.SimpleDB/Model/SimpleDBAttribute.m | 2 +- .../SimpleDBAttributeDoesNotExistException.m | 2 +- .../Model/SimpleDBAttributeUnmarshaller.m | 2 +- .../SimpleDBBatchDeleteAttributesRequest.m | 2 +- ...DBBatchDeleteAttributesRequestMarshaller.m | 2 +- .../SimpleDBBatchDeleteAttributesResponse.m | 2 +- ...atchDeleteAttributesResponseUnmarshaller.m | 2 +- .../Model/SimpleDBBatchPutAttributesRequest.m | 2 +- ...pleDBBatchPutAttributesRequestMarshaller.m | 2 +- .../SimpleDBBatchPutAttributesResponse.m | 2 +- ...DBBatchPutAttributesResponseUnmarshaller.m | 2 +- .../Model/SimpleDBCreateDomainRequest.m | 2 +- .../SimpleDBCreateDomainRequestMarshaller.m | 2 +- .../Model/SimpleDBCreateDomainResponse.m | 2 +- ...SimpleDBCreateDomainResponseUnmarshaller.m | 2 +- .../Model/SimpleDBDeletableItem.m | 2 +- .../Model/SimpleDBDeleteAttributesRequest.m | 2 +- ...impleDBDeleteAttributesRequestMarshaller.m | 2 +- .../Model/SimpleDBDeleteAttributesResponse.m | 2 +- ...leDBDeleteAttributesResponseUnmarshaller.m | 2 +- .../Model/SimpleDBDeleteDomainRequest.m | 2 +- .../SimpleDBDeleteDomainRequestMarshaller.m | 2 +- .../Model/SimpleDBDeleteDomainResponse.m | 2 +- ...SimpleDBDeleteDomainResponseUnmarshaller.m | 2 +- .../Model/SimpleDBDomainMetadataRequest.m | 2 +- .../SimpleDBDomainMetadataRequestMarshaller.m | 2 +- .../Model/SimpleDBDomainMetadataResponse.m | 2 +- ...mpleDBDomainMetadataResponseUnmarshaller.m | 2 +- .../SimpleDBDuplicateItemNameException.m | 2 +- .../Model/SimpleDBGetAttributesRequest.m | 2 +- .../SimpleDBGetAttributesRequestMarshaller.m | 2 +- .../Model/SimpleDBGetAttributesResponse.m | 2 +- ...impleDBGetAttributesResponseUnmarshaller.m | 2 +- .../Model/SimpleDBInvalidNextTokenException.m | 2 +- ...SimpleDBInvalidNumberPredicatesException.m | 2 +- ...SimpleDBInvalidNumberValueTestsException.m | 2 +- .../SimpleDBInvalidParameterValueException.m | 2 +- .../SimpleDBInvalidQueryExpressionException.m | 2 +- src/Amazon.SimpleDB/Model/SimpleDBItem.m | 2 +- .../Model/SimpleDBItemUnmarshaller.m | 2 +- .../Model/SimpleDBListDomainsRequest.m | 2 +- .../SimpleDBListDomainsRequestMarshaller.m | 2 +- .../Model/SimpleDBListDomainsResponse.m | 2 +- .../SimpleDBListDomainsResponseUnmarshaller.m | 2 +- .../Model/SimpleDBMissingParameterException.m | 2 +- .../Model/SimpleDBNoSuchDomainException.m | 2 +- ...BNumberDomainAttributesExceededException.m | 2 +- ...mpleDBNumberDomainBytesExceededException.m | 2 +- .../SimpleDBNumberDomainsExceededException.m | 2 +- ...eDBNumberItemAttributesExceededException.m | 2 +- ...mberSubmittedAttributesExceededException.m | 2 +- ...eDBNumberSubmittedItemsExceededException.m | 2 +- .../Model/SimpleDBPutAttributesRequest.m | 2 +- .../SimpleDBPutAttributesRequestMarshaller.m | 2 +- .../Model/SimpleDBPutAttributesResponse.m | 2 +- ...impleDBPutAttributesResponseUnmarshaller.m | 2 +- .../Model/SimpleDBReplaceableAttribute.m | 2 +- .../Model/SimpleDBReplaceableItem.m | 2 +- .../Model/SimpleDBRequestTimeoutException.m | 2 +- .../Model/SimpleDBSelectRequest.m | 2 +- .../Model/SimpleDBSelectRequestMarshaller.m | 2 +- .../Model/SimpleDBSelectResponse.m | 2 +- .../SimpleDBSelectResponseUnmarshaller.m | 2 +- ...pleDBTooManyRequestedAttributesException.m | 2 +- .../Model/SimpleDBUpdateCondition.m | 2 +- src/Amazon.SimpleDB/SimpleDBRequest.m | 2 +- src/Amazon.SimpleDB/SimpleDBResponse.m | 2 +- .../SimpleDBResponseUnmarshaller.m | 2 +- .../S3Uploader => src/ThirdParty}/.DS_Store | Bin 6148 -> 6148 bytes src/ThirdParty/GTMLogger+ASL.h | 2 +- src/ThirdParty/JSON/JSON.h | 10 + src/ThirdParty/JSON/LICENSE | 24 + src/ThirdParty/JSON/SBJson.h | 83 ++ src/ThirdParty/JSON/SBJsonParser.h | 107 +++ src/ThirdParty/JSON/SBJsonParser.m | 104 +++ src/ThirdParty/JSON/SBJsonStreamParser.h | 167 ++++ src/ThirdParty/JSON/SBJsonStreamParser.m | 251 ++++++ .../JSON/SBJsonStreamParserAccumulator.h | 40 + .../JSON/SBJsonStreamParserAccumulator.m | 51 ++ .../JSON/SBJsonStreamParserAdapter.h | 148 ++++ .../JSON/SBJsonStreamParserAdapter.m | 171 ++++ src/ThirdParty/JSON/SBJsonStreamParserState.h | 81 ++ src/ThirdParty/JSON/SBJsonStreamParserState.m | 347 ++++++++ src/ThirdParty/JSON/SBJsonStreamWriter.h | 194 +++++ src/ThirdParty/JSON/SBJsonStreamWriter.m | 375 +++++++++ .../JSON/SBJsonStreamWriterAccumulator.h | 39 + .../JSON/SBJsonStreamWriterAccumulator.m | 56 ++ src/ThirdParty/JSON/SBJsonStreamWriterState.h | 69 ++ src/ThirdParty/JSON/SBJsonStreamWriterState.m | 139 ++++ src/ThirdParty/JSON/SBJsonTokeniser.h | 70 ++ src/ThirdParty/JSON/SBJsonTokeniser.m | 463 +++++++++++ src/ThirdParty/JSON/SBJsonUTF8Stream.h | 59 ++ src/ThirdParty/JSON/SBJsonUTF8Stream.m | 143 ++++ src/ThirdParty/JSON/SBJsonWriter.h | 115 +++ src/ThirdParty/JSON/SBJsonWriter.m | 113 +++ src/include/.DS_Store | Bin 12292 -> 15364 bytes src/include/AmazonAuthUtils.h | 10 +- src/include/AmazonBoolValueUnmarshaller.h | 2 +- src/include/AmazonClientException.h | 2 +- src/include/AmazonCredentials.h | 10 +- src/include/AmazonDictionaryUnmarshaller.h | 2 +- src/include/AmazonEndpoints.h | 18 +- src/include/AmazonJSON.h | 25 + src/include/AmazonListUnmarshaller.h | 2 +- src/include/AmazonLogger.h | 2 +- src/include/AmazonMD5Util.h | 2 +- src/include/AmazonRequestDelegate.h | 4 +- src/include/AmazonSDKUtil.h | 14 +- src/include/AmazonServiceException.h | 2 +- .../AmazonServiceExceptionUnmarshaller.h | 2 +- src/include/AmazonServiceRequest.h | 2 +- src/include/AmazonServiceRequestConfig.h | 2 +- src/include/AmazonServiceResponse.h | 8 +- .../AmazonServiceResponseUnmarshaller.h | 2 +- src/include/AmazonSignatureException.h | 2 +- src/include/AmazonURLRequest.h | 2 +- .../AmazonUnmarshallerXMLParserDelegate.h | 2 +- src/include/AmazonValueUnmarshaller.h | 2 +- src/include/AmazonWebServiceClient.h | 16 +- .../AutoScaling/AmazonAutoScalingClient.h | 2 +- src/include/AutoScaling/AutoScalingActivity.h | 2 +- .../AutoScalingActivityUnmarshaller.h | 2 +- .../AutoScaling/AutoScalingAdjustmentType.h | 2 +- .../AutoScalingAdjustmentTypeUnmarshaller.h | 2 +- src/include/AutoScaling/AutoScalingAlarm.h | 2 +- .../AutoScalingAlarmUnmarshaller.h | 2 +- .../AutoScalingAlreadyExistsException.h | 2 +- .../AutoScaling/AutoScalingAutoScalingGroup.h | 2 +- .../AutoScalingAutoScalingGroupUnmarshaller.h | 2 +- .../AutoScalingAutoScalingInstanceDetails.h | 2 +- ...ngAutoScalingInstanceDetailsUnmarshaller.h | 2 +- .../AutoScalingBlockDeviceMapping.h | 2 +- ...utoScalingBlockDeviceMappingUnmarshaller.h | 2 +- ...AutoScalingCreateAutoScalingGroupRequest.h | 2 +- ...gCreateAutoScalingGroupRequestMarshaller.h | 2 +- ...utoScalingCreateAutoScalingGroupResponse.h | 2 +- ...eateAutoScalingGroupResponseUnmarshaller.h | 2 +- ...oScalingCreateLaunchConfigurationRequest.h | 2 +- ...eateLaunchConfigurationRequestMarshaller.h | 2 +- ...ScalingCreateLaunchConfigurationResponse.h | 2 +- ...eLaunchConfigurationResponseUnmarshaller.h | 2 +- ...AutoScalingDeleteAutoScalingGroupRequest.h | 2 +- ...gDeleteAutoScalingGroupRequestMarshaller.h | 2 +- ...utoScalingDeleteAutoScalingGroupResponse.h | 2 +- ...leteAutoScalingGroupResponseUnmarshaller.h | 2 +- ...oScalingDeleteLaunchConfigurationRequest.h | 2 +- ...leteLaunchConfigurationRequestMarshaller.h | 2 +- ...ScalingDeleteLaunchConfigurationResponse.h | 2 +- ...eLaunchConfigurationResponseUnmarshaller.h | 2 +- ...ngDeleteNotificationConfigurationRequest.h | 2 +- ...tificationConfigurationRequestMarshaller.h | 2 +- ...gDeleteNotificationConfigurationResponse.h | 2 +- ...icationConfigurationResponseUnmarshaller.h | 2 +- .../AutoScalingDeletePolicyRequest.h | 2 +- ...AutoScalingDeletePolicyRequestMarshaller.h | 2 +- .../AutoScalingDeletePolicyResponse.h | 2 +- ...oScalingDeletePolicyResponseUnmarshaller.h | 2 +- .../AutoScalingDeleteScheduledActionRequest.h | 2 +- ...ngDeleteScheduledActionRequestMarshaller.h | 2 +- ...AutoScalingDeleteScheduledActionResponse.h | 2 +- ...eleteScheduledActionResponseUnmarshaller.h | 2 +- ...utoScalingDescribeAdjustmentTypesRequest.h | 2 +- ...DescribeAdjustmentTypesRequestMarshaller.h | 2 +- ...toScalingDescribeAdjustmentTypesResponse.h | 2 +- ...cribeAdjustmentTypesResponseUnmarshaller.h | 2 +- ...oScalingDescribeAutoScalingGroupsRequest.h | 2 +- ...scribeAutoScalingGroupsRequestMarshaller.h | 2 +- ...ScalingDescribeAutoScalingGroupsResponse.h | 2 +- ...ibeAutoScalingGroupsResponseUnmarshaller.h | 2 +- ...alingDescribeAutoScalingInstancesRequest.h | 2 +- ...ibeAutoScalingInstancesRequestMarshaller.h | 2 +- ...lingDescribeAutoScalingInstancesResponse.h | 2 +- ...AutoScalingInstancesResponseUnmarshaller.h | 2 +- ...cribeAutoScalingNotificationTypesRequest.h | 2 +- ...calingNotificationTypesRequestMarshaller.h | 2 +- ...ribeAutoScalingNotificationTypesResponse.h | 2 +- ...ingNotificationTypesResponseUnmarshaller.h | 2 +- ...alingDescribeLaunchConfigurationsRequest.h | 2 +- ...ibeLaunchConfigurationsRequestMarshaller.h | 2 +- ...lingDescribeLaunchConfigurationsResponse.h | 2 +- ...LaunchConfigurationsResponseUnmarshaller.h | 2 +- ...lingDescribeMetricCollectionTypesRequest.h | 2 +- ...beMetricCollectionTypesRequestMarshaller.h | 2 +- ...ingDescribeMetricCollectionTypesResponse.h | 2 +- ...etricCollectionTypesResponseUnmarshaller.h | 2 +- ...escribeNotificationConfigurationsRequest.h | 2 +- ...ificationConfigurationsRequestMarshaller.h | 2 +- ...scribeNotificationConfigurationsResponse.h | 2 +- ...cationConfigurationsResponseUnmarshaller.h | 2 +- .../AutoScalingDescribePoliciesRequest.h | 2 +- ...ScalingDescribePoliciesRequestMarshaller.h | 2 +- .../AutoScalingDescribePoliciesResponse.h | 2 +- ...lingDescribePoliciesResponseUnmarshaller.h | 2 +- ...oScalingDescribeScalingActivitiesRequest.h | 2 +- ...scribeScalingActivitiesRequestMarshaller.h | 2 +- ...ScalingDescribeScalingActivitiesResponse.h | 2 +- ...ibeScalingActivitiesResponseUnmarshaller.h | 2 +- ...calingDescribeScalingProcessTypesRequest.h | 2 +- ...ribeScalingProcessTypesRequestMarshaller.h | 2 +- ...alingDescribeScalingProcessTypesResponse.h | 2 +- ...eScalingProcessTypesResponseUnmarshaller.h | 2 +- ...toScalingDescribeScheduledActionsRequest.h | 2 +- ...escribeScheduledActionsRequestMarshaller.h | 2 +- ...oScalingDescribeScheduledActionsResponse.h | 2 +- ...ribeScheduledActionsResponseUnmarshaller.h | 2 +- ...toScalingDisableMetricsCollectionRequest.h | 2 +- ...isableMetricsCollectionRequestMarshaller.h | 2 +- ...oScalingDisableMetricsCollectionResponse.h | 2 +- ...bleMetricsCollectionResponseUnmarshaller.h | 2 +- src/include/AutoScaling/AutoScalingEbs.h | 2 +- .../AutoScaling/AutoScalingEbsUnmarshaller.h | 2 +- ...utoScalingEnableMetricsCollectionRequest.h | 2 +- ...EnableMetricsCollectionRequestMarshaller.h | 2 +- ...toScalingEnableMetricsCollectionResponse.h | 2 +- ...bleMetricsCollectionResponseUnmarshaller.h | 2 +- .../AutoScaling/AutoScalingEnabledMetric.h | 2 +- .../AutoScalingEnabledMetricUnmarshaller.h | 2 +- .../AutoScalingExecutePolicyRequest.h | 2 +- ...utoScalingExecutePolicyRequestMarshaller.h | 2 +- .../AutoScalingExecutePolicyResponse.h | 2 +- ...ScalingExecutePolicyResponseUnmarshaller.h | 2 +- src/include/AutoScaling/AutoScalingInstance.h | 2 +- .../AutoScalingInstanceMonitoring.h | 2 +- ...utoScalingInstanceMonitoringUnmarshaller.h | 2 +- .../AutoScalingInstanceUnmarshaller.h | 2 +- .../AutoScalingInvalidNextTokenException.h | 2 +- .../AutoScalingLaunchConfiguration.h | 2 +- ...toScalingLaunchConfigurationUnmarshaller.h | 2 +- .../AutoScalingLimitExceededException.h | 2 +- .../AutoScalingMetricCollectionType.h | 2 +- ...oScalingMetricCollectionTypeUnmarshaller.h | 2 +- .../AutoScalingMetricGranularityType.h | 2 +- ...ScalingMetricGranularityTypeUnmarshaller.h | 2 +- .../AutoScalingNotificationConfiguration.h | 2 +- ...ingNotificationConfigurationUnmarshaller.h | 2 +- .../AutoScaling/AutoScalingProcessType.h | 2 +- .../AutoScalingProcessTypeUnmarshaller.h | 2 +- ...alingPutNotificationConfigurationRequest.h | 2 +- ...tificationConfigurationRequestMarshaller.h | 2 +- ...lingPutNotificationConfigurationResponse.h | 2 +- ...icationConfigurationResponseUnmarshaller.h | 2 +- .../AutoScalingPutScalingPolicyRequest.h | 2 +- ...ScalingPutScalingPolicyRequestMarshaller.h | 2 +- .../AutoScalingPutScalingPolicyResponse.h | 2 +- ...lingPutScalingPolicyResponseUnmarshaller.h | 2 +- ...lingPutScheduledUpdateGroupActionRequest.h | 2 +- ...eduledUpdateGroupActionRequestMarshaller.h | 2 +- ...ingPutScheduledUpdateGroupActionResponse.h | 2 +- ...ledUpdateGroupActionResponseUnmarshaller.h | 2 +- .../AutoScalingResourceInUseException.h | 2 +- src/include/AutoScaling/AutoScalingResponse.h | 2 +- .../AutoScalingResponseUnmarshaller.h | 2 +- .../AutoScalingResumeProcessesRequest.h | 2 +- ...oScalingResumeProcessesRequestMarshaller.h | 2 +- .../AutoScalingResumeProcessesResponse.h | 2 +- ...alingResumeProcessesResponseUnmarshaller.h | 2 +- ...calingScalingActivityInProgressException.h | 2 +- .../AutoScaling/AutoScalingScalingPolicy.h | 2 +- .../AutoScalingScalingPolicyUnmarshaller.h | 2 +- .../AutoScalingScheduledUpdateGroupAction.h | 2 +- ...ngScheduledUpdateGroupActionUnmarshaller.h | 2 +- .../AutoScalingSetDesiredCapacityRequest.h | 2 +- ...alingSetDesiredCapacityRequestMarshaller.h | 2 +- .../AutoScalingSetDesiredCapacityResponse.h | 2 +- ...ngSetDesiredCapacityResponseUnmarshaller.h | 2 +- .../AutoScalingSetInstanceHealthRequest.h | 2 +- ...calingSetInstanceHealthRequestMarshaller.h | 2 +- .../AutoScalingSetInstanceHealthResponse.h | 2 +- ...ingSetInstanceHealthResponseUnmarshaller.h | 2 +- .../AutoScalingSuspendProcessesRequest.h | 2 +- ...ScalingSuspendProcessesRequestMarshaller.h | 2 +- .../AutoScalingSuspendProcessesResponse.h | 2 +- ...lingSuspendProcessesResponseUnmarshaller.h | 2 +- .../AutoScaling/AutoScalingSuspendedProcess.h | 2 +- .../AutoScalingSuspendedProcessUnmarshaller.h | 2 +- ...rminateInstanceInAutoScalingGroupRequest.h | 2 +- ...tanceInAutoScalingGroupRequestMarshaller.h | 2 +- ...minateInstanceInAutoScalingGroupResponse.h | 2 +- ...ceInAutoScalingGroupResponseUnmarshaller.h | 2 +- ...AutoScalingUpdateAutoScalingGroupRequest.h | 2 +- ...gUpdateAutoScalingGroupRequestMarshaller.h | 2 +- ...utoScalingUpdateAutoScalingGroupResponse.h | 2 +- ...dateAutoScalingGroupResponseUnmarshaller.h | 2 +- .../CloudWatch/AmazonCloudWatchClient.h | 2 +- .../CloudWatch/CloudWatchAlarmHistoryItem.h | 2 +- .../CloudWatchAlarmHistoryItemUnmarshaller.h | 2 +- src/include/CloudWatch/CloudWatchDatapoint.h | 2 +- .../CloudWatchDatapointUnmarshaller.h | 2 +- .../CloudWatchDeleteAlarmsRequest.h | 2 +- .../CloudWatchDeleteAlarmsRequestMarshaller.h | 2 +- .../CloudWatchDeleteAlarmsResponse.h | 2 +- ...oudWatchDeleteAlarmsResponseUnmarshaller.h | 2 +- .../CloudWatchDescribeAlarmHistoryRequest.h | 2 +- ...tchDescribeAlarmHistoryRequestMarshaller.h | 2 +- .../CloudWatchDescribeAlarmHistoryResponse.h | 2 +- ...DescribeAlarmHistoryResponseUnmarshaller.h | 2 +- ...CloudWatchDescribeAlarmsForMetricRequest.h | 2 +- ...DescribeAlarmsForMetricRequestMarshaller.h | 2 +- ...loudWatchDescribeAlarmsForMetricResponse.h | 2 +- ...cribeAlarmsForMetricResponseUnmarshaller.h | 2 +- .../CloudWatchDescribeAlarmsRequest.h | 2 +- ...loudWatchDescribeAlarmsRequestMarshaller.h | 2 +- .../CloudWatchDescribeAlarmsResponse.h | 2 +- ...dWatchDescribeAlarmsResponseUnmarshaller.h | 2 +- src/include/CloudWatch/CloudWatchDimension.h | 2 +- .../CloudWatch/CloudWatchDimensionFilter.h | 2 +- .../CloudWatchDimensionUnmarshaller.h | 2 +- .../CloudWatchDisableAlarmActionsRequest.h | 2 +- ...atchDisableAlarmActionsRequestMarshaller.h | 2 +- .../CloudWatchDisableAlarmActionsResponse.h | 2 +- ...hDisableAlarmActionsResponseUnmarshaller.h | 2 +- .../CloudWatchEnableAlarmActionsRequest.h | 2 +- ...WatchEnableAlarmActionsRequestMarshaller.h | 2 +- .../CloudWatchEnableAlarmActionsResponse.h | 2 +- ...chEnableAlarmActionsResponseUnmarshaller.h | 2 +- .../CloudWatchGetMetricStatisticsRequest.h | 2 +- ...atchGetMetricStatisticsRequestMarshaller.h | 2 +- .../CloudWatchGetMetricStatisticsResponse.h | 2 +- ...hGetMetricStatisticsResponseUnmarshaller.h | 2 +- .../CloudWatchInternalServiceException.h | 2 +- .../CloudWatchInvalidFormatException.h | 2 +- .../CloudWatchInvalidNextTokenException.h | 2 +- ...atchInvalidParameterCombinationException.h | 2 +- ...CloudWatchInvalidParameterValueException.h | 2 +- .../CloudWatchLimitExceededException.h | 2 +- .../CloudWatch/CloudWatchListMetricsRequest.h | 2 +- .../CloudWatchListMetricsRequestMarshaller.h | 2 +- .../CloudWatchListMetricsResponse.h | 2 +- ...loudWatchListMetricsResponseUnmarshaller.h | 2 +- src/include/CloudWatch/CloudWatchMetric.h | 2 +- .../CloudWatch/CloudWatchMetricAlarm.h | 2 +- .../CloudWatchMetricAlarmUnmarshaller.h | 2 +- .../CloudWatch/CloudWatchMetricDatum.h | 2 +- .../CloudWatch/CloudWatchMetricUnmarshaller.h | 2 +- ...udWatchMissingRequiredParameterException.h | 2 +- .../CloudWatchPutMetricAlarmRequest.h | 2 +- ...loudWatchPutMetricAlarmRequestMarshaller.h | 2 +- .../CloudWatchPutMetricAlarmResponse.h | 2 +- ...dWatchPutMetricAlarmResponseUnmarshaller.h | 2 +- .../CloudWatchPutMetricDataRequest.h | 2 +- ...CloudWatchPutMetricDataRequestMarshaller.h | 2 +- .../CloudWatchPutMetricDataResponse.h | 2 +- ...udWatchPutMetricDataResponseUnmarshaller.h | 2 +- src/include/CloudWatch/CloudWatchRequest.h | 2 +- .../CloudWatchResourceNotFoundException.h | 2 +- src/include/CloudWatch/CloudWatchResponse.h | 2 +- .../CloudWatchResponseUnmarshaller.h | 2 +- .../CloudWatchSetAlarmStateRequest.h | 2 +- ...CloudWatchSetAlarmStateRequestMarshaller.h | 2 +- .../CloudWatchSetAlarmStateResponse.h | 2 +- ...udWatchSetAlarmStateResponseUnmarshaller.h | 2 +- .../CloudWatch/CloudWatchStatisticSet.h | 2 +- src/include/DynamoDB/AmazonDynamoDBClient.h | 453 ++++++++++ src/include/DynamoDB/DynamoDBAttributeValue.h | 116 +++ .../DynamoDBAttributeValueUnmarshaller.h | 30 + .../DynamoDB/DynamoDBAttributeValueUpdate.h | 96 +++ .../DynamoDB/DynamoDBBatchGetItemRequest.h | 69 ++ .../DynamoDBBatchGetItemRequestMarshaller.h | 34 + .../DynamoDB/DynamoDBBatchGetItemResponse.h | 88 ++ ...DynamoDBBatchGetItemResponseUnmarshaller.h | 30 + src/include/DynamoDB/DynamoDBBatchResponse.h | 75 ++ .../DynamoDBBatchResponseUnmarshaller.h | 30 + src/include/DynamoDB/DynamoDBCondition.h | 79 ++ .../DynamoDBConditionalCheckFailedException.h | 51 ++ .../DynamoDB/DynamoDBCreateTableRequest.h | 132 +++ .../DynamoDBCreateTableRequestMarshaller.h | 40 + .../DynamoDB/DynamoDBCreateTableResponse.h | 63 ++ .../DynamoDBCreateTableResponseUnmarshaller.h | 30 + .../DynamoDB/DynamoDBDeleteItemRequest.h | 110 +++ .../DynamoDBDeleteItemRequestMarshaller.h | 37 + .../DynamoDB/DynamoDBDeleteItemResponse.h | 81 ++ .../DynamoDBDeleteItemResponseUnmarshaller.h | 30 + .../DynamoDB/DynamoDBDeleteTableRequest.h | 68 ++ .../DynamoDBDeleteTableRequestMarshaller.h | 34 + .../DynamoDB/DynamoDBDeleteTableResponse.h | 64 ++ .../DynamoDBDeleteTableResponseUnmarshaller.h | 30 + .../DynamoDB/DynamoDBDescribeTableRequest.h | 68 ++ .../DynamoDBDescribeTableRequestMarshaller.h | 34 + .../DynamoDB/DynamoDBDescribeTableResponse.h | 62 ++ ...ynamoDBDescribeTableResponseUnmarshaller.h | 30 + .../DynamoDB/DynamoDBExceptionUnmarshaller.h | 24 + .../DynamoDB/DynamoDBExpectedAttributeValue.h | 103 +++ src/include/DynamoDB/DynamoDBGetItemRequest.h | 107 +++ .../DynamoDBGetItemRequestMarshaller.h | 37 + .../DynamoDB/DynamoDBGetItemResponse.h | 77 ++ .../DynamoDBGetItemResponseUnmarshaller.h | 30 + .../DynamoDBInternalServerErrorException.h | 51 ++ src/include/DynamoDB/DynamoDBKey.h | 137 +++ src/include/DynamoDB/DynamoDBKeySchema.h | 70 ++ .../DynamoDB/DynamoDBKeySchemaElement.h | 75 ++ .../DynamoDBKeySchemaElementUnmarshaller.h | 30 + .../DynamoDB/DynamoDBKeySchemaUnmarshaller.h | 30 + .../DynamoDB/DynamoDBKeyUnmarshaller.h | 30 + .../DynamoDB/DynamoDBKeysAndAttributes.h | 81 ++ .../DynamoDBKeysAndAttributesUnmarshaller.h | 30 + .../DynamoDB/DynamoDBLimitExceededException.h | 51 ++ .../DynamoDB/DynamoDBListTablesRequest.h | 71 ++ .../DynamoDBListTablesRequestMarshaller.h | 34 + .../DynamoDB/DynamoDBListTablesResponse.h | 80 ++ .../DynamoDBListTablesResponseUnmarshaller.h | 30 + .../DynamoDB/DynamoDBProvisionedThroughput.h | 66 ++ ...DynamoDBProvisionedThroughputDescription.h | 78 ++ ...isionedThroughputDescriptionUnmarshaller.h | 31 + ...DBProvisionedThroughputExceededException.h | 51 ++ src/include/DynamoDB/DynamoDBPutItemRequest.h | 117 +++ .../DynamoDBPutItemRequestMarshaller.h | 34 + .../DynamoDB/DynamoDBPutItemResponse.h | 79 ++ .../DynamoDBPutItemResponseUnmarshaller.h | 30 + src/include/DynamoDB/DynamoDBQueryRequest.h | 163 ++++ .../DynamoDB/DynamoDBQueryRequestMarshaller.h | 52 ++ src/include/DynamoDB/DynamoDBQueryResponse.h | 95 +++ .../DynamoDBQueryResponseUnmarshaller.h | 31 + src/include/DynamoDB/DynamoDBRequest.h | 27 + src/include/DynamoDB/DynamoDBRequest4.h | 30 + .../DynamoDB/DynamoDBResourceInUseException.h | 51 ++ .../DynamoDBResourceNotFoundException.h | 51 ++ src/include/DynamoDB/DynamoDBResponse.h | 21 + .../DynamoDB/DynamoDBResponseUnmarshaller.h | 23 + src/include/DynamoDB/DynamoDBScanRequest.h | 140 ++++ .../DynamoDB/DynamoDBScanRequestMarshaller.h | 37 + src/include/DynamoDB/DynamoDBScanResponse.h | 102 +++ .../DynamoDBScanResponseUnmarshaller.h | 31 + .../DynamoDB/DynamoDBTableDescription.h | 111 +++ .../DynamoDBTableDescriptionUnmarshaller.h | 31 + .../DynamoDB/DynamoDBUpdateItemRequest.h | 129 +++ .../DynamoDBUpdateItemRequestMarshaller.h | 37 + .../DynamoDB/DynamoDBUpdateItemResponse.h | 79 ++ .../DynamoDBUpdateItemResponseUnmarshaller.h | 30 + .../DynamoDB/DynamoDBUpdateTableRequest.h | 79 ++ .../DynamoDBUpdateTableRequestMarshaller.h | 35 + .../DynamoDB/DynamoDBUpdateTableResponse.h | 64 ++ .../DynamoDBUpdateTableResponseUnmarshaller.h | 30 + .../DynamoDB/DynamoDBWebServiceClient.h | 92 +++ src/include/EC2/AmazonEC2Client.h | 96 ++- src/include/EC2/EC2ActivateLicenseRequest.h | 2 +- .../EC2/EC2ActivateLicenseRequestMarshaller.h | 2 +- src/include/EC2/EC2ActivateLicenseResponse.h | 2 +- .../EC2ActivateLicenseResponseUnmarshaller.h | 2 +- src/include/EC2/EC2Address.h | 2 +- src/include/EC2/EC2AddressUnmarshaller.h | 2 +- src/include/EC2/EC2AllocateAddressRequest.h | 2 +- .../EC2/EC2AllocateAddressRequestMarshaller.h | 2 +- src/include/EC2/EC2AllocateAddressResponse.h | 2 +- .../EC2AllocateAddressResponseUnmarshaller.h | 2 +- src/include/EC2/EC2AssociateAddressRequest.h | 2 +- .../EC2AssociateAddressRequestMarshaller.h | 2 +- src/include/EC2/EC2AssociateAddressResponse.h | 2 +- .../EC2AssociateAddressResponseUnmarshaller.h | 2 +- src/include/EC2/EC2AttachVolumeRequest.h | 2 +- .../EC2/EC2AttachVolumeRequestMarshaller.h | 2 +- src/include/EC2/EC2AttachVolumeResponse.h | 2 +- .../EC2/EC2AttachVolumeResponseUnmarshaller.h | 2 +- .../EC2AuthorizeSecurityGroupIngressRequest.h | 2 +- ...izeSecurityGroupIngressRequestMarshaller.h | 2 +- ...EC2AuthorizeSecurityGroupIngressResponse.h | 2 +- ...SecurityGroupIngressResponseUnmarshaller.h | 2 +- src/include/EC2/EC2AvailabilityZone.h | 21 +- src/include/EC2/EC2AvailabilityZoneMessage.h | 54 ++ .../EC2AvailabilityZoneMessageUnmarshaller.h | 38 + .../EC2/EC2AvailabilityZoneUnmarshaller.h | 4 +- src/include/EC2/EC2BlockDeviceMapping.h | 2 +- .../EC2/EC2BlockDeviceMappingUnmarshaller.h | 2 +- src/include/EC2/EC2BundleInstanceRequest.h | 2 +- .../EC2/EC2BundleInstanceRequestMarshaller.h | 2 +- src/include/EC2/EC2BundleInstanceResponse.h | 2 +- .../EC2BundleInstanceResponseUnmarshaller.h | 2 +- src/include/EC2/EC2BundleTask.h | 2 +- src/include/EC2/EC2BundleTaskError.h | 2 +- .../EC2/EC2BundleTaskErrorUnmarshaller.h | 2 +- src/include/EC2/EC2BundleTaskUnmarshaller.h | 2 +- src/include/EC2/EC2CancelBundleTaskRequest.h | 2 +- .../EC2CancelBundleTaskRequestMarshaller.h | 2 +- src/include/EC2/EC2CancelBundleTaskResponse.h | 2 +- .../EC2CancelBundleTaskResponseUnmarshaller.h | 2 +- .../EC2CancelSpotInstanceRequestsRequest.h | 2 +- ...celSpotInstanceRequestsRequestMarshaller.h | 2 +- .../EC2CancelSpotInstanceRequestsResponse.h | 2 +- ...SpotInstanceRequestsResponseUnmarshaller.h | 2 +- .../EC2/EC2CancelledSpotInstanceRequest.h | 2 +- ...CancelledSpotInstanceRequestUnmarshaller.h | 2 +- .../EC2/EC2ConfirmProductInstanceRequest.h | 2 +- ...2ConfirmProductInstanceRequestMarshaller.h | 2 +- .../EC2/EC2ConfirmProductInstanceResponse.h | 2 +- ...nfirmProductInstanceResponseUnmarshaller.h | 2 +- src/include/EC2/EC2CreateImageRequest.h | 2 +- .../EC2/EC2CreateImageRequestMarshaller.h | 2 +- src/include/EC2/EC2CreateImageResponse.h | 2 +- .../EC2/EC2CreateImageResponseUnmarshaller.h | 2 +- src/include/EC2/EC2CreateKeyPairRequest.h | 2 +- .../EC2/EC2CreateKeyPairRequestMarshaller.h | 2 +- src/include/EC2/EC2CreateKeyPairResponse.h | 2 +- .../EC2CreateKeyPairResponseUnmarshaller.h | 2 +- .../EC2/EC2CreatePlacementGroupRequest.h | 2 +- ...EC2CreatePlacementGroupRequestMarshaller.h | 2 +- .../EC2/EC2CreatePlacementGroupResponse.h | 2 +- ...CreatePlacementGroupResponseUnmarshaller.h | 2 +- .../EC2/EC2CreateSecurityGroupRequest.h | 2 +- .../EC2CreateSecurityGroupRequestMarshaller.h | 2 +- .../EC2/EC2CreateSecurityGroupResponse.h | 2 +- ...2CreateSecurityGroupResponseUnmarshaller.h | 2 +- src/include/EC2/EC2CreateSnapshotRequest.h | 2 +- .../EC2/EC2CreateSnapshotRequestMarshaller.h | 2 +- src/include/EC2/EC2CreateSnapshotResponse.h | 2 +- .../EC2CreateSnapshotResponseUnmarshaller.h | 2 +- ...EC2CreateSpotDatafeedSubscriptionRequest.h | 2 +- ...potDatafeedSubscriptionRequestMarshaller.h | 2 +- ...C2CreateSpotDatafeedSubscriptionResponse.h | 2 +- ...DatafeedSubscriptionResponseUnmarshaller.h | 2 +- src/include/EC2/EC2CreateTagsRequest.h | 2 +- .../EC2/EC2CreateTagsRequestMarshaller.h | 2 +- src/include/EC2/EC2CreateTagsResponse.h | 2 +- .../EC2/EC2CreateTagsResponseUnmarshaller.h | 2 +- src/include/EC2/EC2CreateVolumePermission.h | 2 +- .../EC2CreateVolumePermissionModifications.h | 2 +- .../EC2CreateVolumePermissionUnmarshaller.h | 2 +- src/include/EC2/EC2CreateVolumeRequest.h | 2 +- .../EC2/EC2CreateVolumeRequestMarshaller.h | 2 +- src/include/EC2/EC2CreateVolumeResponse.h | 2 +- .../EC2/EC2CreateVolumeResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DeactivateLicenseRequest.h | 2 +- .../EC2DeactivateLicenseRequestMarshaller.h | 2 +- .../EC2/EC2DeactivateLicenseResponse.h | 2 +- ...EC2DeactivateLicenseResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DeleteKeyPairRequest.h | 2 +- .../EC2/EC2DeleteKeyPairRequestMarshaller.h | 2 +- src/include/EC2/EC2DeleteKeyPairResponse.h | 2 +- .../EC2DeleteKeyPairResponseUnmarshaller.h | 2 +- .../EC2/EC2DeletePlacementGroupRequest.h | 2 +- ...EC2DeletePlacementGroupRequestMarshaller.h | 2 +- .../EC2/EC2DeletePlacementGroupResponse.h | 2 +- ...DeletePlacementGroupResponseUnmarshaller.h | 2 +- .../EC2/EC2DeleteSecurityGroupRequest.h | 2 +- .../EC2DeleteSecurityGroupRequestMarshaller.h | 2 +- .../EC2/EC2DeleteSecurityGroupResponse.h | 2 +- ...2DeleteSecurityGroupResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DeleteSnapshotRequest.h | 2 +- .../EC2/EC2DeleteSnapshotRequestMarshaller.h | 2 +- src/include/EC2/EC2DeleteSnapshotResponse.h | 2 +- .../EC2DeleteSnapshotResponseUnmarshaller.h | 2 +- ...EC2DeleteSpotDatafeedSubscriptionRequest.h | 2 +- ...potDatafeedSubscriptionRequestMarshaller.h | 2 +- ...C2DeleteSpotDatafeedSubscriptionResponse.h | 2 +- ...DatafeedSubscriptionResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DeleteTagsRequest.h | 2 +- .../EC2/EC2DeleteTagsRequestMarshaller.h | 2 +- src/include/EC2/EC2DeleteTagsResponse.h | 2 +- .../EC2/EC2DeleteTagsResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DeleteVolumeRequest.h | 2 +- .../EC2/EC2DeleteVolumeRequestMarshaller.h | 2 +- src/include/EC2/EC2DeleteVolumeResponse.h | 2 +- .../EC2/EC2DeleteVolumeResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DeregisterImageRequest.h | 2 +- .../EC2/EC2DeregisterImageRequestMarshaller.h | 2 +- src/include/EC2/EC2DeregisterImageResponse.h | 2 +- .../EC2DeregisterImageResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DescribeAddressesRequest.h | 2 +- .../EC2DescribeAddressesRequestMarshaller.h | 2 +- .../EC2/EC2DescribeAddressesResponse.h | 2 +- ...EC2DescribeAddressesResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribeAvailabilityZonesRequest.h | 2 +- ...scribeAvailabilityZonesRequestMarshaller.h | 2 +- .../EC2DescribeAvailabilityZonesResponse.h | 2 +- ...ibeAvailabilityZonesResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribeBundleTasksRequest.h | 2 +- .../EC2DescribeBundleTasksRequestMarshaller.h | 2 +- .../EC2/EC2DescribeBundleTasksResponse.h | 2 +- ...2DescribeBundleTasksResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribeImageAttributeRequest.h | 2 +- ...2DescribeImageAttributeRequestMarshaller.h | 2 +- .../EC2/EC2DescribeImageAttributeResponse.h | 2 +- ...scribeImageAttributeResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DescribeImagesRequest.h | 2 +- .../EC2/EC2DescribeImagesRequestMarshaller.h | 2 +- src/include/EC2/EC2DescribeImagesResponse.h | 2 +- .../EC2DescribeImagesResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribeInstanceAttributeRequest.h | 2 +- ...scribeInstanceAttributeRequestMarshaller.h | 2 +- .../EC2DescribeInstanceAttributeResponse.h | 2 +- ...ibeInstanceAttributeResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribeInstanceStatusRequest.h | 88 ++ ...2DescribeInstanceStatusRequestMarshaller.h | 35 + .../EC2/EC2DescribeInstanceStatusResponse.h | 74 ++ ...scribeInstanceStatusResponseUnmarshaller.h | 40 + src/include/EC2/EC2DescribeInstancesRequest.h | 4 +- .../EC2DescribeInstancesRequestMarshaller.h | 2 +- .../EC2/EC2DescribeInstancesResponse.h | 2 +- ...EC2DescribeInstancesResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DescribeKeyPairsRequest.h | 2 +- .../EC2DescribeKeyPairsRequestMarshaller.h | 2 +- src/include/EC2/EC2DescribeKeyPairsResponse.h | 2 +- .../EC2DescribeKeyPairsResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DescribeLicensesRequest.h | 2 +- .../EC2DescribeLicensesRequestMarshaller.h | 2 +- src/include/EC2/EC2DescribeLicensesResponse.h | 2 +- .../EC2DescribeLicensesResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribePlacementGroupsRequest.h | 2 +- ...DescribePlacementGroupsRequestMarshaller.h | 2 +- .../EC2/EC2DescribePlacementGroupsResponse.h | 2 +- ...cribePlacementGroupsResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DescribeRegionsRequest.h | 2 +- .../EC2/EC2DescribeRegionsRequestMarshaller.h | 2 +- src/include/EC2/EC2DescribeRegionsResponse.h | 2 +- .../EC2DescribeRegionsResponseUnmarshaller.h | 2 +- ...escribeReservedInstancesOfferingsRequest.h | 10 +- ...ervedInstancesOfferingsRequestMarshaller.h | 2 +- ...scribeReservedInstancesOfferingsResponse.h | 2 +- ...edInstancesOfferingsResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribeReservedInstancesRequest.h | 8 +- ...scribeReservedInstancesRequestMarshaller.h | 2 +- .../EC2DescribeReservedInstancesResponse.h | 2 +- ...ibeReservedInstancesResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribeSecurityGroupsRequest.h | 2 +- ...2DescribeSecurityGroupsRequestMarshaller.h | 2 +- .../EC2/EC2DescribeSecurityGroupsResponse.h | 2 +- ...scribeSecurityGroupsResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribeSnapshotAttributeRequest.h | 2 +- ...scribeSnapshotAttributeRequestMarshaller.h | 2 +- .../EC2DescribeSnapshotAttributeResponse.h | 2 +- ...ibeSnapshotAttributeResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DescribeSnapshotsRequest.h | 2 +- .../EC2DescribeSnapshotsRequestMarshaller.h | 2 +- .../EC2/EC2DescribeSnapshotsResponse.h | 2 +- ...EC2DescribeSnapshotsResponseUnmarshaller.h | 2 +- ...2DescribeSpotDatafeedSubscriptionRequest.h | 2 +- ...potDatafeedSubscriptionRequestMarshaller.h | 2 +- ...DescribeSpotDatafeedSubscriptionResponse.h | 2 +- ...DatafeedSubscriptionResponseUnmarshaller.h | 2 +- .../EC2DescribeSpotInstanceRequestsRequest.h | 2 +- ...ibeSpotInstanceRequestsRequestMarshaller.h | 2 +- .../EC2DescribeSpotInstanceRequestsResponse.h | 2 +- ...SpotInstanceRequestsResponseUnmarshaller.h | 2 +- .../EC2/EC2DescribeSpotPriceHistoryRequest.h | 2 +- ...escribeSpotPriceHistoryRequestMarshaller.h | 2 +- .../EC2/EC2DescribeSpotPriceHistoryResponse.h | 2 +- ...ribeSpotPriceHistoryResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DescribeTagsRequest.h | 2 +- .../EC2/EC2DescribeTagsRequestMarshaller.h | 2 +- src/include/EC2/EC2DescribeTagsResponse.h | 2 +- .../EC2/EC2DescribeTagsResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DescribeVolumesRequest.h | 2 +- .../EC2/EC2DescribeVolumesRequestMarshaller.h | 2 +- src/include/EC2/EC2DescribeVolumesResponse.h | 2 +- .../EC2DescribeVolumesResponseUnmarshaller.h | 2 +- src/include/EC2/EC2DetachVolumeRequest.h | 2 +- .../EC2/EC2DetachVolumeRequestMarshaller.h | 2 +- src/include/EC2/EC2DetachVolumeResponse.h | 2 +- .../EC2/EC2DetachVolumeResponseUnmarshaller.h | 2 +- .../EC2/EC2DisassociateAddressRequest.h | 2 +- .../EC2DisassociateAddressRequestMarshaller.h | 2 +- .../EC2/EC2DisassociateAddressResponse.h | 2 +- ...2DisassociateAddressResponseUnmarshaller.h | 2 +- src/include/EC2/EC2EbsBlockDevice.h | 2 +- .../EC2/EC2EbsBlockDeviceUnmarshaller.h | 2 +- src/include/EC2/EC2EbsInstanceBlockDevice.h | 2 +- .../EC2EbsInstanceBlockDeviceSpecification.h | 2 +- .../EC2EbsInstanceBlockDeviceUnmarshaller.h | 2 +- src/include/EC2/EC2Filter.h | 2 +- src/include/EC2/EC2GetConsoleOutputRequest.h | 2 +- .../EC2GetConsoleOutputRequestMarshaller.h | 2 +- src/include/EC2/EC2GetConsoleOutputResponse.h | 2 +- .../EC2GetConsoleOutputResponseUnmarshaller.h | 2 +- src/include/EC2/EC2GetPasswordDataRequest.h | 2 +- .../EC2/EC2GetPasswordDataRequestMarshaller.h | 2 +- src/include/EC2/EC2GetPasswordDataResponse.h | 2 +- .../EC2GetPasswordDataResponseUnmarshaller.h | 2 +- src/include/EC2/EC2GroupIdentifier.h | 2 +- .../EC2/EC2GroupIdentifierUnmarshaller.h | 2 +- src/include/EC2/EC2Image.h | 2 +- src/include/EC2/EC2ImageAttribute.h | 2 +- .../EC2/EC2ImageAttributeUnmarshaller.h | 2 +- src/include/EC2/EC2ImageUnmarshaller.h | 2 +- src/include/EC2/EC2ImportKeyPairRequest.h | 2 +- .../EC2/EC2ImportKeyPairRequestMarshaller.h | 2 +- src/include/EC2/EC2ImportKeyPairResponse.h | 2 +- .../EC2ImportKeyPairResponseUnmarshaller.h | 2 +- src/include/EC2/EC2Instance.h | 4 +- src/include/EC2/EC2InstanceAttribute.h | 2 +- .../EC2/EC2InstanceAttributeUnmarshaller.h | 2 +- .../EC2/EC2InstanceBlockDeviceMapping.h | 2 +- ...2InstanceBlockDeviceMappingSpecification.h | 2 +- ...C2InstanceBlockDeviceMappingUnmarshaller.h | 2 +- src/include/EC2/EC2InstanceLicense.h | 2 +- .../EC2/EC2InstanceLicenseSpecification.h | 2 +- .../EC2/EC2InstanceLicenseUnmarshaller.h | 2 +- src/include/EC2/EC2InstanceMonitoring.h | 2 +- .../EC2/EC2InstanceMonitoringUnmarshaller.h | 2 +- src/include/EC2/EC2InstanceState.h | 4 +- src/include/EC2/EC2InstanceStateChange.h | 2 +- .../EC2/EC2InstanceStateChangeUnmarshaller.h | 2 +- .../EC2/EC2InstanceStateUnmarshaller.h | 2 +- src/include/EC2/EC2InstanceStatus.h | 80 ++ src/include/EC2/EC2InstanceStatusEvent.h | 73 ++ .../EC2/EC2InstanceStatusEventUnmarshaller.h | 39 + .../EC2/EC2InstanceStatusUnmarshaller.h | 41 + src/include/EC2/EC2InstanceUnmarshaller.h | 2 +- src/include/EC2/EC2IpPermission.h | 2 +- src/include/EC2/EC2IpPermissionUnmarshaller.h | 2 +- src/include/EC2/EC2KeyPair.h | 2 +- src/include/EC2/EC2KeyPairInfo.h | 2 +- src/include/EC2/EC2KeyPairInfoUnmarshaller.h | 2 +- src/include/EC2/EC2KeyPairUnmarshaller.h | 2 +- src/include/EC2/EC2LaunchPermission.h | 2 +- .../EC2/EC2LaunchPermissionModifications.h | 2 +- .../EC2/EC2LaunchPermissionUnmarshaller.h | 2 +- src/include/EC2/EC2LaunchSpecification.h | 4 +- .../EC2/EC2LaunchSpecificationUnmarshaller.h | 2 +- src/include/EC2/EC2License.h | 2 +- src/include/EC2/EC2LicenseCapacity.h | 2 +- .../EC2/EC2LicenseCapacityUnmarshaller.h | 2 +- src/include/EC2/EC2LicenseUnmarshaller.h | 2 +- .../EC2/EC2ModifyImageAttributeRequest.h | 2 +- ...EC2ModifyImageAttributeRequestMarshaller.h | 2 +- .../EC2/EC2ModifyImageAttributeResponse.h | 2 +- ...ModifyImageAttributeResponseUnmarshaller.h | 2 +- .../EC2/EC2ModifyInstanceAttributeRequest.h | 2 +- ...ModifyInstanceAttributeRequestMarshaller.h | 2 +- .../EC2/EC2ModifyInstanceAttributeResponse.h | 2 +- ...ifyInstanceAttributeResponseUnmarshaller.h | 2 +- .../EC2/EC2ModifySnapshotAttributeRequest.h | 2 +- ...ModifySnapshotAttributeRequestMarshaller.h | 2 +- .../EC2/EC2ModifySnapshotAttributeResponse.h | 2 +- ...ifySnapshotAttributeResponseUnmarshaller.h | 2 +- src/include/EC2/EC2MonitorInstancesRequest.h | 2 +- .../EC2MonitorInstancesRequestMarshaller.h | 2 +- src/include/EC2/EC2MonitorInstancesResponse.h | 2 +- .../EC2MonitorInstancesResponseUnmarshaller.h | 2 +- src/include/EC2/EC2Monitoring.h | 2 +- src/include/EC2/EC2MonitoringUnmarshaller.h | 2 +- src/include/EC2/EC2Placement.h | 2 +- src/include/EC2/EC2PlacementGroup.h | 2 +- .../EC2/EC2PlacementGroupUnmarshaller.h | 2 +- src/include/EC2/EC2PlacementUnmarshaller.h | 2 +- src/include/EC2/EC2ProductCode.h | 2 +- src/include/EC2/EC2ProductCodeUnmarshaller.h | 2 +- ...PurchaseReservedInstancesOfferingRequest.h | 2 +- ...servedInstancesOfferingRequestMarshaller.h | 2 +- ...urchaseReservedInstancesOfferingResponse.h | 2 +- ...vedInstancesOfferingResponseUnmarshaller.h | 2 +- src/include/EC2/EC2RebootInstancesRequest.h | 2 +- .../EC2/EC2RebootInstancesRequestMarshaller.h | 2 +- src/include/EC2/EC2RebootInstancesResponse.h | 2 +- .../EC2RebootInstancesResponseUnmarshaller.h | 2 +- src/include/EC2/EC2RecurringCharge.h | 60 ++ .../EC2/EC2RecurringChargeUnmarshaller.h | 38 + src/include/EC2/EC2Region.h | 2 +- src/include/EC2/EC2RegionUnmarshaller.h | 2 +- src/include/EC2/EC2RegisterImageRequest.h | 2 +- .../EC2/EC2RegisterImageRequestMarshaller.h | 2 +- src/include/EC2/EC2RegisterImageResponse.h | 2 +- .../EC2RegisterImageResponseUnmarshaller.h | 2 +- src/include/EC2/EC2ReleaseAddressRequest.h | 2 +- .../EC2/EC2ReleaseAddressRequestMarshaller.h | 2 +- src/include/EC2/EC2ReleaseAddressResponse.h | 2 +- .../EC2ReleaseAddressResponseUnmarshaller.h | 2 +- src/include/EC2/EC2Request.h | 2 +- .../EC2/EC2RequestSpotInstancesRequest.h | 2 +- ...EC2RequestSpotInstancesRequestMarshaller.h | 2 +- .../EC2/EC2RequestSpotInstancesResponse.h | 2 +- ...RequestSpotInstancesResponseUnmarshaller.h | 2 +- src/include/EC2/EC2Reservation.h | 2 +- src/include/EC2/EC2ReservationUnmarshaller.h | 2 +- src/include/EC2/EC2ReservedInstances.h | 23 +- .../EC2/EC2ReservedInstancesOffering.h | 41 +- ...EC2ReservedInstancesOfferingUnmarshaller.h | 4 +- .../EC2/EC2ReservedInstancesUnmarshaller.h | 4 +- .../EC2/EC2ResetImageAttributeRequest.h | 2 +- .../EC2ResetImageAttributeRequestMarshaller.h | 2 +- .../EC2/EC2ResetImageAttributeResponse.h | 2 +- ...2ResetImageAttributeResponseUnmarshaller.h | 2 +- .../EC2/EC2ResetInstanceAttributeRequest.h | 2 +- ...2ResetInstanceAttributeRequestMarshaller.h | 2 +- .../EC2/EC2ResetInstanceAttributeResponse.h | 2 +- ...setInstanceAttributeResponseUnmarshaller.h | 2 +- .../EC2/EC2ResetSnapshotAttributeRequest.h | 2 +- ...2ResetSnapshotAttributeRequestMarshaller.h | 2 +- .../EC2/EC2ResetSnapshotAttributeResponse.h | 2 +- ...setSnapshotAttributeResponseUnmarshaller.h | 2 +- src/include/EC2/EC2Response.h | 2 +- src/include/EC2/EC2ResponseUnmarshaller.h | 2 +- .../EC2RevokeSecurityGroupIngressRequest.h | 2 +- ...okeSecurityGroupIngressRequestMarshaller.h | 2 +- .../EC2RevokeSecurityGroupIngressResponse.h | 2 +- ...SecurityGroupIngressResponseUnmarshaller.h | 2 +- src/include/EC2/EC2RunInstancesRequest.h | 4 +- .../EC2/EC2RunInstancesRequestMarshaller.h | 2 +- src/include/EC2/EC2RunInstancesResponse.h | 2 +- .../EC2/EC2RunInstancesResponseUnmarshaller.h | 2 +- src/include/EC2/EC2S3Storage.h | 2 +- src/include/EC2/EC2S3StorageUnmarshaller.h | 2 +- src/include/EC2/EC2SecurityGroup.h | 2 +- .../EC2/EC2SecurityGroupUnmarshaller.h | 2 +- src/include/EC2/EC2Snapshot.h | 2 +- src/include/EC2/EC2SnapshotUnmarshaller.h | 2 +- src/include/EC2/EC2SpotDatafeedSubscription.h | 2 +- .../EC2SpotDatafeedSubscriptionUnmarshaller.h | 2 +- src/include/EC2/EC2SpotInstanceRequest.h | 2 +- .../EC2/EC2SpotInstanceRequestUnmarshaller.h | 2 +- src/include/EC2/EC2SpotInstanceStateFault.h | 2 +- .../EC2SpotInstanceStateFaultUnmarshaller.h | 2 +- src/include/EC2/EC2SpotPlacement.h | 2 +- .../EC2/EC2SpotPlacementUnmarshaller.h | 2 +- src/include/EC2/EC2SpotPrice.h | 4 +- src/include/EC2/EC2SpotPriceUnmarshaller.h | 2 +- src/include/EC2/EC2StartInstancesRequest.h | 2 +- .../EC2/EC2StartInstancesRequestMarshaller.h | 2 +- src/include/EC2/EC2StartInstancesResponse.h | 2 +- .../EC2StartInstancesResponseUnmarshaller.h | 2 +- src/include/EC2/EC2StateReason.h | 2 +- src/include/EC2/EC2StateReasonUnmarshaller.h | 2 +- src/include/EC2/EC2StopInstancesRequest.h | 2 +- .../EC2/EC2StopInstancesRequestMarshaller.h | 2 +- src/include/EC2/EC2StopInstancesResponse.h | 2 +- .../EC2StopInstancesResponseUnmarshaller.h | 2 +- src/include/EC2/EC2Storage.h | 2 +- src/include/EC2/EC2StorageUnmarshaller.h | 2 +- src/include/EC2/EC2Tag.h | 2 +- src/include/EC2/EC2TagDescription.h | 2 +- .../EC2/EC2TagDescriptionUnmarshaller.h | 2 +- src/include/EC2/EC2TagUnmarshaller.h | 2 +- .../EC2/EC2TerminateInstancesRequest.h | 2 +- .../EC2TerminateInstancesRequestMarshaller.h | 2 +- .../EC2/EC2TerminateInstancesResponse.h | 2 +- ...C2TerminateInstancesResponseUnmarshaller.h | 2 +- .../EC2/EC2UnmonitorInstancesRequest.h | 2 +- .../EC2UnmonitorInstancesRequestMarshaller.h | 2 +- .../EC2/EC2UnmonitorInstancesResponse.h | 2 +- ...C2UnmonitorInstancesResponseUnmarshaller.h | 2 +- src/include/EC2/EC2UserIdGroupPair.h | 2 +- .../EC2/EC2UserIdGroupPairUnmarshaller.h | 2 +- src/include/EC2/EC2Volume.h | 2 +- src/include/EC2/EC2VolumeAttachment.h | 2 +- .../EC2/EC2VolumeAttachmentUnmarshaller.h | 2 +- src/include/EC2/EC2VolumeUnmarshaller.h | 2 +- .../AmazonElasticLoadBalancingClient.h | 777 ++++++++++-------- ...icLoadBalancingAppCookieStickinessPolicy.h | 2 +- ...ingAppCookieStickinessPolicyUnmarshaller.h | 2 +- ...ApplySecurityGroupsToLoadBalancerRequest.h | 71 ++ ...ityGroupsToLoadBalancerRequestMarshaller.h | 33 + ...pplySecurityGroupsToLoadBalancerResponse.h | 69 ++ ...GroupsToLoadBalancerResponseUnmarshaller.h | 39 + ...ancingAttachLoadBalancerToSubnetsRequest.h | 69 ++ ...chLoadBalancerToSubnetsRequestMarshaller.h | 33 + ...ncingAttachLoadBalancerToSubnetsResponse.h | 70 ++ ...oadBalancerToSubnetsResponseUnmarshaller.h | 39 + ...ticLoadBalancingBackendServerDescription.h | 2 +- ...cingBackendServerDescriptionUnmarshaller.h | 2 +- ...oadBalancingCertificateNotFoundException.h | 2 +- ...LoadBalancingConfigureHealthCheckRequest.h | 2 +- ...ingConfigureHealthCheckRequestMarshaller.h | 2 +- ...oadBalancingConfigureHealthCheckResponse.h | 2 +- ...ConfigureHealthCheckResponseUnmarshaller.h | 2 +- ...ngCreateAppCookieStickinessPolicyRequest.h | 2 +- ...pCookieStickinessPolicyRequestMarshaller.h | 2 +- ...gCreateAppCookieStickinessPolicyResponse.h | 6 +- ...okieStickinessPolicyResponseUnmarshaller.h | 2 +- ...ingCreateLBCookieStickinessPolicyRequest.h | 2 +- ...BCookieStickinessPolicyRequestMarshaller.h | 2 +- ...ngCreateLBCookieStickinessPolicyResponse.h | 6 +- ...okieStickinessPolicyResponseUnmarshaller.h | 2 +- ...ancingCreateLoadBalancerListenersRequest.h | 2 +- ...teLoadBalancerListenersRequestMarshaller.h | 2 +- ...ncingCreateLoadBalancerListenersResponse.h | 4 +- ...oadBalancerListenersResponseUnmarshaller.h | 2 +- ...BalancingCreateLoadBalancerPolicyRequest.h | 2 +- ...reateLoadBalancerPolicyRequestMarshaller.h | 2 +- ...alancingCreateLoadBalancerPolicyResponse.h | 8 +- ...teLoadBalancerPolicyResponseUnmarshaller.h | 2 +- ...icLoadBalancingCreateLoadBalancerRequest.h | 26 +- ...ncingCreateLoadBalancerRequestMarshaller.h | 4 +- ...cLoadBalancingCreateLoadBalancerResponse.h | 7 +- ...ngCreateLoadBalancerResponseUnmarshaller.h | 2 +- ...ancingDeleteLoadBalancerListenersRequest.h | 2 +- ...teLoadBalancerListenersRequestMarshaller.h | 2 +- ...ncingDeleteLoadBalancerListenersResponse.h | 2 +- ...oadBalancerListenersResponseUnmarshaller.h | 2 +- ...BalancingDeleteLoadBalancerPolicyRequest.h | 2 +- ...eleteLoadBalancerPolicyRequestMarshaller.h | 2 +- ...alancingDeleteLoadBalancerPolicyResponse.h | 2 +- ...teLoadBalancerPolicyResponseUnmarshaller.h | 2 +- ...icLoadBalancingDeleteLoadBalancerRequest.h | 2 +- ...ncingDeleteLoadBalancerRequestMarshaller.h | 2 +- ...cLoadBalancingDeleteLoadBalancerResponse.h | 2 +- ...ngDeleteLoadBalancerResponseUnmarshaller.h | 2 +- ...registerInstancesFromLoadBalancerRequest.h | 2 +- ...stancesFromLoadBalancerRequestMarshaller.h | 2 +- ...egisterInstancesFromLoadBalancerResponse.h | 2 +- ...ncesFromLoadBalancerResponseUnmarshaller.h | 2 +- ...adBalancingDescribeInstanceHealthRequest.h | 2 +- ...gDescribeInstanceHealthRequestMarshaller.h | 2 +- ...dBalancingDescribeInstanceHealthResponse.h | 2 +- ...scribeInstanceHealthResponseUnmarshaller.h | 2 +- ...ncingDescribeLoadBalancerPoliciesRequest.h | 2 +- ...ibeLoadBalancerPoliciesRequestMarshaller.h | 2 +- ...cingDescribeLoadBalancerPoliciesResponse.h | 2 +- ...LoadBalancerPoliciesResponseUnmarshaller.h | 2 +- ...ngDescribeLoadBalancerPolicyTypesRequest.h | 2 +- ...LoadBalancerPolicyTypesRequestMarshaller.h | 2 +- ...gDescribeLoadBalancerPolicyTypesResponse.h | 2 +- ...dBalancerPolicyTypesResponseUnmarshaller.h | 2 +- ...oadBalancingDescribeLoadBalancersRequest.h | 8 +- ...ngDescribeLoadBalancersRequestMarshaller.h | 2 +- ...adBalancingDescribeLoadBalancersResponse.h | 8 +- ...escribeLoadBalancersResponseUnmarshaller.h | 2 +- ...cingDetachLoadBalancerFromSubnetsRequest.h | 70 ++ ...LoadBalancerFromSubnetsRequestMarshaller.h | 33 + ...ingDetachLoadBalancerFromSubnetsResponse.h | 69 ++ ...dBalancerFromSubnetsResponseUnmarshaller.h | 39 + ...eAvailabilityZonesForLoadBalancerRequest.h | 2 +- ...ityZonesForLoadBalancerRequestMarshaller.h | 2 +- ...AvailabilityZonesForLoadBalancerResponse.h | 2 +- ...ZonesForLoadBalancerResponseUnmarshaller.h | 2 +- ...cLoadBalancingDuplicateListenerException.h | 2 +- ...ancingDuplicateLoadBalancerNameException.h | 2 +- ...oadBalancingDuplicatePolicyNameException.h | 2 +- ...eAvailabilityZonesForLoadBalancerRequest.h | 2 +- ...ityZonesForLoadBalancerRequestMarshaller.h | 2 +- ...AvailabilityZonesForLoadBalancerResponse.h | 2 +- ...ZonesForLoadBalancerResponseUnmarshaller.h | 2 +- .../ElasticLoadBalancingHealthCheck.h | 2 +- ...sticLoadBalancingHealthCheckUnmarshaller.h | 2 +- .../ElasticLoadBalancingInstance.h | 2 +- .../ElasticLoadBalancingInstanceState.h | 2 +- ...icLoadBalancingInstanceStateUnmarshaller.h | 2 +- ...ElasticLoadBalancingInstanceUnmarshaller.h | 2 +- ...cingInvalidConfigurationRequestException.h | 2 +- ...ticLoadBalancingInvalidInstanceException.h | 2 +- ...adBalancingInvalidSecurityGroupException.h | 50 ++ ...asticLoadBalancingInvalidSubnetException.h | 50 ++ ...ticLoadBalancingLBCookieStickinessPolicy.h | 2 +- ...cingLBCookieStickinessPolicyUnmarshaller.h | 2 +- .../ElasticLoadBalancingListener.h | 2 +- .../ElasticLoadBalancingListenerDescription.h | 2 +- ...BalancingListenerDescriptionUnmarshaller.h | 2 +- ...icLoadBalancingListenerNotFoundException.h | 2 +- ...ElasticLoadBalancingListenerUnmarshaller.h | 2 +- ...sticLoadBalancingLoadBalancerDescription.h | 32 +- ...ncingLoadBalancerDescriptionUnmarshaller.h | 4 +- ...adBalancingLoadBalancerNotFoundException.h | 2 +- .../ElasticLoadBalancingPolicies.h | 2 +- ...ElasticLoadBalancingPoliciesUnmarshaller.h | 2 +- .../ElasticLoadBalancingPolicyAttribute.h | 2 +- ...cLoadBalancingPolicyAttributeDescription.h | 2 +- ...ngPolicyAttributeDescriptionUnmarshaller.h | 2 +- ...dBalancingPolicyAttributeTypeDescription.h | 5 +- ...licyAttributeTypeDescriptionUnmarshaller.h | 2 +- .../ElasticLoadBalancingPolicyDescription.h | 2 +- ...adBalancingPolicyDescriptionUnmarshaller.h | 2 +- ...sticLoadBalancingPolicyNotFoundException.h | 2 +- ...lasticLoadBalancingPolicyTypeDescription.h | 2 +- ...lancingPolicyTypeDescriptionUnmarshaller.h | 2 +- ...LoadBalancingPolicyTypeNotFoundException.h | 2 +- ...RegisterInstancesWithLoadBalancerRequest.h | 22 +- ...stancesWithLoadBalancerRequestMarshaller.h | 2 +- ...egisterInstancesWithLoadBalancerResponse.h | 2 +- ...ncesWithLoadBalancerResponseUnmarshaller.h | 2 +- .../ElasticLoadBalancingResponse.h | 2 +- ...ElasticLoadBalancingResponseUnmarshaller.h | 2 +- ...oadBalancerListenerSSLCertificateRequest.h | 2 +- ...rListenerSSLCertificateRequestMarshaller.h | 2 +- ...adBalancerListenerSSLCertificateResponse.h | 4 +- ...stenerSSLCertificateResponseUnmarshaller.h | 2 +- ...dBalancerPoliciesForBackendServerRequest.h | 2 +- ...oliciesForBackendServerRequestMarshaller.h | 2 +- ...BalancerPoliciesForBackendServerResponse.h | 2 +- ...ciesForBackendServerResponseUnmarshaller.h | 2 +- ...SetLoadBalancerPoliciesOfListenerRequest.h | 2 +- ...ancerPoliciesOfListenerRequestMarshaller.h | 2 +- ...etLoadBalancerPoliciesOfListenerResponse.h | 4 +- ...erPoliciesOfListenerResponseUnmarshaller.h | 2 +- .../ElasticLoadBalancingSourceSecurityGroup.h | 2 +- ...BalancingSourceSecurityGroupUnmarshaller.h | 2 +- ...sticLoadBalancingSubnetNotFoundException.h | 50 ++ ...adBalancingTooManyLoadBalancersException.h | 2 +- ...ticLoadBalancingTooManyPoliciesException.h | 2 +- src/include/S3/AmazonS3Client.h | 2 +- .../S3/S3AbortMultipartUploadRequest.h | 2 +- .../S3/S3AbortMultipartUploadResponse.h | 2 +- src/include/S3/S3AbstractPutRequest.h | 2 +- src/include/S3/S3AccessControlList.h | 2 +- .../S3/S3AccessControlListUnmarshaller.h | 2 +- src/include/S3/S3Bucket.h | 2 +- src/include/S3/S3BucketNameUtilities.h | 2 +- src/include/S3/S3BucketPolicy.h | 2 +- src/include/S3/S3BucketUnmarshaller.h | 2 +- .../S3/S3BucketVersioningConfiguration.h | 2 +- ...ucketVersioningConfigurationUnmarshaller.h | 2 +- src/include/S3/S3CannedACL.h | 2 +- .../S3/S3CompleteMultipartUploadRequest.h | 2 +- .../S3/S3CompleteMultipartUploadResponse.h | 2 +- .../S3/S3CompleteMultipartUploadResult.h | 2 +- ...ompleteMultipartUploadResultUnmarshaller.h | 2 +- src/include/S3/S3Constants.h | 4 +- src/include/S3/S3CopyObjectRequest.h | 2 +- src/include/S3/S3CopyObjectResponse.h | 2 +- src/include/S3/S3CopyObjectResult.h | 4 +- .../S3/S3CopyObjectResultUnmarshaller.h | 2 +- src/include/S3/S3CopyPartRequest.h | 2 +- src/include/S3/S3CopyPartResponse.h | 2 +- src/include/S3/S3CopyPartResult.h | 4 +- src/include/S3/S3CopyPartResultUnmarshaller.h | 2 +- src/include/S3/S3CreateBucketRequest.h | 2 +- src/include/S3/S3CreateBucketResponse.h | 2 +- src/include/S3/S3DeleteBucketPolicyRequest.h | 2 +- src/include/S3/S3DeleteBucketPolicyResponse.h | 2 +- src/include/S3/S3DeleteBucketRequest.h | 4 +- src/include/S3/S3DeleteBucketResponse.h | 2 +- src/include/S3/S3DeleteObjectRequest.h | 2 +- src/include/S3/S3DeleteObjectResponse.h | 2 +- src/include/S3/S3DeleteVersionRequest.h | 2 +- src/include/S3/S3DeleteVersionResponse.h | 2 +- src/include/S3/S3ErrorResponseHandler.h | 2 +- src/include/S3/S3GetACLRequest.h | 2 +- src/include/S3/S3GetACLResponse.h | 2 +- src/include/S3/S3GetBucketPolicyRequest.h | 2 +- src/include/S3/S3GetBucketPolicyResponse.h | 2 +- ...3GetBucketVersioningConfigurationRequest.h | 2 +- ...GetBucketVersioningConfigurationResponse.h | 2 +- src/include/S3/S3GetObjectMetadataRequest.h | 2 +- src/include/S3/S3GetObjectMetadataResponse.h | 2 +- src/include/S3/S3GetObjectRequest.h | 9 +- src/include/S3/S3GetObjectResponse.h | 2 +- src/include/S3/S3GetPreSignedURLRequest.h | 7 +- src/include/S3/S3Grant.h | 2 +- src/include/S3/S3GrantUnmarshaller.h | 2 +- src/include/S3/S3Grantee.h | 2 +- .../S3/S3InitiateMultipartUploadRequest.h | 2 +- .../S3/S3InitiateMultipartUploadResponse.h | 2 +- ...nitiateMultipartUploadResultUnmarshaller.h | 2 +- .../S3/S3ListBucketResultUnmarshaller.h | 2 +- src/include/S3/S3ListBucketsRequest.h | 2 +- src/include/S3/S3ListBucketsResponse.h | 2 +- src/include/S3/S3ListBucketsResult.h | 2 +- .../S3/S3ListBucketsResultUnmarshaller.h | 2 +- .../S3/S3ListMultipartUploadsRequest.h | 2 +- .../S3/S3ListMultipartUploadsResponse.h | 2 +- src/include/S3/S3ListMultipartUploadsResult.h | 2 +- ...S3ListMultipartUploadsResultUnmarshaller.h | 2 +- src/include/S3/S3ListObjectsRequest.h | 2 +- src/include/S3/S3ListObjectsResponse.h | 2 +- src/include/S3/S3ListObjectsResult.h | 2 +- src/include/S3/S3ListPartsRequest.h | 2 +- src/include/S3/S3ListPartsResponse.h | 2 +- src/include/S3/S3ListPartsResult.h | 4 +- .../S3/S3ListPartsResultUnmarshaller.h | 2 +- src/include/S3/S3ListVersionsRequest.h | 2 +- src/include/S3/S3ListVersionsResponse.h | 2 +- src/include/S3/S3ListVersionsResult.h | 2 +- .../S3/S3ListVersionsResultUnmarshaller.h | 2 +- .../S3/S3LocationConstraintUnmarshaller.h | 2 +- src/include/S3/S3MultiFactorAuthentication.h | 2 +- src/include/S3/S3MultipartUpload.h | 2 +- .../S3/S3MultipartUploadUnmarshaller.h | 2 +- src/include/S3/S3ObjectSummary.h | 2 +- src/include/S3/S3ObjectSummaryUnmarshaller.h | 2 +- src/include/S3/S3Owner.h | 2 +- src/include/S3/S3OwnerUnmarshaller.h | 2 +- src/include/S3/S3Part.h | 2 +- src/include/S3/S3Permission.h | 2 +- src/include/S3/S3PutObjectRequest.h | 2 +- src/include/S3/S3PutObjectResponse.h | 2 +- src/include/S3/S3Region.h | 4 +- src/include/S3/S3Request.h | 2 +- src/include/S3/S3Response.h | 2 +- src/include/S3/S3ResponseHeaderOverrides.h | 2 +- src/include/S3/S3ServiceModel.h | 2 +- src/include/S3/S3ServiceTransform.h | 2 +- src/include/S3/S3SetACLRequest.h | 2 +- src/include/S3/S3SetACLResponse.h | 2 +- src/include/S3/S3SetBucketPolicyRequest.h | 2 +- src/include/S3/S3SetBucketPolicyResponse.h | 2 +- ...3SetBucketVersioningConfigurationRequest.h | 2 +- ...SetBucketVersioningConfigurationResponse.h | 2 +- src/include/S3/S3UploadPartRequest.h | 2 +- src/include/S3/S3UploadPartResponse.h | 2 +- src/include/S3/S3VersionSummary.h | 2 +- src/include/S3/S3VersionSummaryUnmarshaller.h | 2 +- src/include/SES/AmazonSESClient.h | 2 +- src/include/SES/SESBody.h | 2 +- src/include/SES/SESContent.h | 2 +- .../SESDeleteVerifiedEmailAddressRequest.h | 2 +- ...eteVerifiedEmailAddressRequestMarshaller.h | 2 +- .../SESDeleteVerifiedEmailAddressResponse.h | 2 +- ...VerifiedEmailAddressResponseUnmarshaller.h | 2 +- src/include/SES/SESDestination.h | 2 +- src/include/SES/SESGetSendQuotaRequest.h | 2 +- .../SES/SESGetSendQuotaRequestMarshaller.h | 2 +- src/include/SES/SESGetSendQuotaResponse.h | 2 +- .../SES/SESGetSendQuotaResponseUnmarshaller.h | 2 +- src/include/SES/SESGetSendStatisticsRequest.h | 2 +- .../SESGetSendStatisticsRequestMarshaller.h | 2 +- .../SES/SESGetSendStatisticsResponse.h | 2 +- ...SESGetSendStatisticsResponseUnmarshaller.h | 2 +- .../SESListVerifiedEmailAddressesRequest.h | 2 +- ...tVerifiedEmailAddressesRequestMarshaller.h | 2 +- .../SESListVerifiedEmailAddressesResponse.h | 2 +- ...rifiedEmailAddressesResponseUnmarshaller.h | 2 +- src/include/SES/SESMessage.h | 2 +- src/include/SES/SESMessageRejectedException.h | 2 +- src/include/SES/SESRawMessage.h | 2 +- src/include/SES/SESResponse.h | 2 +- src/include/SES/SESResponseUnmarshaller.h | 2 +- src/include/SES/SESSendDataPoint.h | 2 +- .../SES/SESSendDataPointUnmarshaller.h | 2 +- src/include/SES/SESSendEmailRequest.h | 2 +- .../SES/SESSendEmailRequestMarshaller.h | 2 +- src/include/SES/SESSendEmailResponse.h | 2 +- .../SES/SESSendEmailResponseUnmarshaller.h | 2 +- src/include/SES/SESSendRawEmailRequest.h | 2 +- .../SES/SESSendRawEmailRequestMarshaller.h | 2 +- src/include/SES/SESSendRawEmailResponse.h | 2 +- .../SES/SESSendRawEmailResponseUnmarshaller.h | 2 +- .../SES/SESVerifyEmailAddressRequest.h | 2 +- .../SESVerifyEmailAddressRequestMarshaller.h | 2 +- .../SES/SESVerifyEmailAddressResponse.h | 2 +- ...ESVerifyEmailAddressResponseUnmarshaller.h | 2 +- src/include/SNS/AmazonSNSClient.h | 85 +- src/include/SNS/SNSAddPermissionRequest.h | 2 +- .../SNS/SNSAddPermissionRequestMarshaller.h | 2 +- src/include/SNS/SNSAddPermissionResponse.h | 2 +- .../SNSAddPermissionResponseUnmarshaller.h | 2 +- .../SNS/SNSAuthorizationErrorException.h | 2 +- .../SNS/SNSConfirmSubscriptionRequest.h | 25 +- .../SNSConfirmSubscriptionRequestMarshaller.h | 2 +- .../SNS/SNSConfirmSubscriptionResponse.h | 2 +- ...SConfirmSubscriptionResponseUnmarshaller.h | 2 +- src/include/SNS/SNSCreateTopicRequest.h | 2 +- .../SNS/SNSCreateTopicRequestMarshaller.h | 2 +- src/include/SNS/SNSCreateTopicResponse.h | 2 +- .../SNS/SNSCreateTopicResponseUnmarshaller.h | 2 +- src/include/SNS/SNSDeleteTopicRequest.h | 2 +- .../SNS/SNSDeleteTopicRequestMarshaller.h | 2 +- src/include/SNS/SNSDeleteTopicResponse.h | 2 +- .../SNS/SNSDeleteTopicResponseUnmarshaller.h | 2 +- .../SNS/SNSGetSubscriptionAttributesRequest.h | 65 ++ ...tSubscriptionAttributesRequestMarshaller.h | 33 + .../SNSGetSubscriptionAttributesResponse.h | 77 ++ ...bscriptionAttributesResponseUnmarshaller.h | 39 + .../SNS/SNSGetTopicAttributesRequest.h | 2 +- .../SNSGetTopicAttributesRequestMarshaller.h | 2 +- .../SNS/SNSGetTopicAttributesResponse.h | 12 +- ...NSGetTopicAttributesResponseUnmarshaller.h | 2 +- src/include/SNS/SNSInternalErrorException.h | 2 +- .../SNS/SNSInvalidParameterException.h | 2 +- .../SNS/SNSListSubscriptionsByTopicRequest.h | 2 +- ...istSubscriptionsByTopicRequestMarshaller.h | 2 +- .../SNS/SNSListSubscriptionsByTopicResponse.h | 2 +- ...SubscriptionsByTopicResponseUnmarshaller.h | 2 +- src/include/SNS/SNSListSubscriptionsRequest.h | 2 +- .../SNSListSubscriptionsRequestMarshaller.h | 2 +- .../SNS/SNSListSubscriptionsResponse.h | 2 +- ...SNSListSubscriptionsResponseUnmarshaller.h | 2 +- src/include/SNS/SNSListTopicsRequest.h | 2 +- .../SNS/SNSListTopicsRequestMarshaller.h | 2 +- src/include/SNS/SNSListTopicsResponse.h | 2 +- .../SNS/SNSListTopicsResponseUnmarshaller.h | 2 +- src/include/SNS/SNSNotFoundException.h | 2 +- src/include/SNS/SNSPublishRequest.h | 26 +- src/include/SNS/SNSPublishRequestMarshaller.h | 2 +- src/include/SNS/SNSPublishResponse.h | 2 +- .../SNS/SNSPublishResponseUnmarshaller.h | 2 +- src/include/SNS/SNSRemovePermissionRequest.h | 2 +- .../SNSRemovePermissionRequestMarshaller.h | 2 +- src/include/SNS/SNSRemovePermissionResponse.h | 2 +- .../SNSRemovePermissionResponseUnmarshaller.h | 2 +- src/include/SNS/SNSResponse.h | 2 +- src/include/SNS/SNSResponseUnmarshaller.h | 2 +- .../SNS/SNSSetSubscriptionAttributesRequest.h | 81 ++ ...tSubscriptionAttributesRequestMarshaller.h | 33 + .../SNSSetSubscriptionAttributesResponse.h | 34 + ...bscriptionAttributesResponseUnmarshaller.h | 32 + .../SNS/SNSSetTopicAttributesRequest.h | 7 +- .../SNSSetTopicAttributesRequestMarshaller.h | 2 +- .../SNS/SNSSetTopicAttributesResponse.h | 2 +- ...NSSetTopicAttributesResponseUnmarshaller.h | 2 +- src/include/SNS/SNSSubscribeRequest.h | 2 +- .../SNS/SNSSubscribeRequestMarshaller.h | 2 +- src/include/SNS/SNSSubscribeResponse.h | 2 +- .../SNS/SNSSubscribeResponseUnmarshaller.h | 2 +- src/include/SNS/SNSSubscription.h | 2 +- .../SNSSubscriptionLimitExceededException.h | 2 +- src/include/SNS/SNSSubscriptionUnmarshaller.h | 2 +- src/include/SNS/SNSTopic.h | 2 +- .../SNS/SNSTopicLimitExceededException.h | 2 +- src/include/SNS/SNSTopicUnmarshaller.h | 2 +- src/include/SNS/SNSUnsubscribeRequest.h | 2 +- .../SNS/SNSUnsubscribeRequestMarshaller.h | 2 +- src/include/SNS/SNSUnsubscribeResponse.h | 2 +- .../SNS/SNSUnsubscribeResponseUnmarshaller.h | 2 +- src/include/SQS/AmazonSQSClient.h | 2 +- src/include/SQS/SQSAddPermissionRequest.h | 2 +- .../SQS/SQSAddPermissionRequestMarshaller.h | 2 +- src/include/SQS/SQSAddPermissionResponse.h | 2 +- .../SQSAddPermissionResponseUnmarshaller.h | 2 +- .../SQSBatchEntryIdsNotDistinctException.h | 2 +- .../SQS/SQSBatchRequestTooLongException.h | 2 +- src/include/SQS/SQSBatchResponseErrorEntry.h | 2 +- .../SQSBatchResponseErrorEntryUnmarshaller.h | 2 +- .../SQSChangeMessageVisibilityBatchRequest.h | 2 +- ...ChangeMessageVisibilityBatchRequestEntry.h | 2 +- ...eMessageVisibilityBatchRequestMarshaller.h | 2 +- .../SQSChangeMessageVisibilityBatchResponse.h | 2 +- ...hangeMessageVisibilityBatchResponseEntry.h | 2 +- ...VisibilityBatchResponseEntryUnmarshaller.h | 2 +- ...ssageVisibilityBatchResponseUnmarshaller.h | 2 +- .../SQS/SQSChangeMessageVisibilityRequest.h | 2 +- ...ChangeMessageVisibilityRequestMarshaller.h | 2 +- .../SQS/SQSChangeMessageVisibilityResponse.h | 2 +- ...ngeMessageVisibilityResponseUnmarshaller.h | 2 +- src/include/SQS/SQSCreateQueueRequest.h | 2 +- .../SQS/SQSCreateQueueRequestMarshaller.h | 2 +- src/include/SQS/SQSCreateQueueResponse.h | 2 +- .../SQS/SQSCreateQueueResponseUnmarshaller.h | 2 +- .../SQS/SQSDeleteMessageBatchRequest.h | 2 +- .../SQS/SQSDeleteMessageBatchRequestEntry.h | 2 +- .../SQSDeleteMessageBatchRequestMarshaller.h | 2 +- .../SQS/SQSDeleteMessageBatchResponse.h | 2 +- .../SQS/SQSDeleteMessageBatchResponseEntry.h | 2 +- ...eteMessageBatchResponseEntryUnmarshaller.h | 2 +- ...QSDeleteMessageBatchResponseUnmarshaller.h | 2 +- src/include/SQS/SQSDeleteMessageRequest.h | 2 +- .../SQS/SQSDeleteMessageRequestMarshaller.h | 2 +- src/include/SQS/SQSDeleteMessageResponse.h | 2 +- .../SQSDeleteMessageResponseUnmarshaller.h | 2 +- src/include/SQS/SQSDeleteQueueRequest.h | 2 +- .../SQS/SQSDeleteQueueRequestMarshaller.h | 2 +- src/include/SQS/SQSDeleteQueueResponse.h | 2 +- .../SQS/SQSDeleteQueueResponseUnmarshaller.h | 2 +- .../SQS/SQSEmptyBatchRequestException.h | 2 +- .../SQS/SQSGetQueueAttributesRequest.h | 2 +- .../SQSGetQueueAttributesRequestMarshaller.h | 2 +- .../SQS/SQSGetQueueAttributesResponse.h | 2 +- ...QSGetQueueAttributesResponseUnmarshaller.h | 2 +- src/include/SQS/SQSGetQueueUrlRequest.h | 2 +- .../SQS/SQSGetQueueUrlRequestMarshaller.h | 2 +- src/include/SQS/SQSGetQueueUrlResponse.h | 2 +- .../SQS/SQSGetQueueUrlResponseUnmarshaller.h | 2 +- .../SQS/SQSInvalidAttributeNameException.h | 2 +- .../SQS/SQSInvalidBatchEntryIdException.h | 2 +- src/include/SQS/SQSInvalidIdFormatException.h | 2 +- .../SQS/SQSInvalidMessageContentsException.h | 2 +- src/include/SQS/SQSListQueuesRequest.h | 2 +- .../SQS/SQSListQueuesRequestMarshaller.h | 2 +- src/include/SQS/SQSListQueuesResponse.h | 2 +- .../SQS/SQSListQueuesResponseUnmarshaller.h | 2 +- src/include/SQS/SQSMessage.h | 2 +- .../SQS/SQSMessageNotInflightException.h | 2 +- src/include/SQS/SQSMessageUnmarshaller.h | 2 +- src/include/SQS/SQSOverLimitException.h | 2 +- .../SQS/SQSQueueDeletedRecentlyException.h | 2 +- .../SQS/SQSQueueDoesNotExistException.h | 2 +- src/include/SQS/SQSQueueNameExistsException.h | 2 +- .../SQS/SQSReceiptHandleIsInvalidException.h | 2 +- src/include/SQS/SQSReceiveMessageRequest.h | 2 +- .../SQS/SQSReceiveMessageRequestMarshaller.h | 2 +- src/include/SQS/SQSReceiveMessageResponse.h | 2 +- .../SQSReceiveMessageResponseUnmarshaller.h | 2 +- src/include/SQS/SQSRemovePermissionRequest.h | 2 +- .../SQSRemovePermissionRequestMarshaller.h | 2 +- src/include/SQS/SQSRemovePermissionResponse.h | 2 +- .../SQSRemovePermissionResponseUnmarshaller.h | 2 +- src/include/SQS/SQSResponse.h | 2 +- src/include/SQS/SQSResponseUnmarshaller.h | 2 +- src/include/SQS/SQSSendMessageBatchRequest.h | 2 +- .../SQS/SQSSendMessageBatchRequestEntry.h | 2 +- .../SQSSendMessageBatchRequestMarshaller.h | 2 +- src/include/SQS/SQSSendMessageBatchResponse.h | 2 +- .../SQS/SQSSendMessageBatchResponseEntry.h | 2 +- ...endMessageBatchResponseEntryUnmarshaller.h | 2 +- .../SQSSendMessageBatchResponseUnmarshaller.h | 2 +- src/include/SQS/SQSSendMessageRequest.h | 2 +- .../SQS/SQSSendMessageRequestMarshaller.h | 2 +- src/include/SQS/SQSSendMessageResponse.h | 2 +- .../SQS/SQSSendMessageResponseUnmarshaller.h | 2 +- .../SQS/SQSSetQueueAttributesRequest.h | 2 +- .../SQSSetQueueAttributesRequestMarshaller.h | 2 +- .../SQS/SQSSetQueueAttributesResponse.h | 2 +- ...QSSetQueueAttributesResponseUnmarshaller.h | 2 +- ...SQSTooManyEntriesInBatchRequestException.h | 2 +- src/include/SimpleDB/AmazonSimpleDBClient.h | 2 +- src/include/SimpleDB/SimpleDBAttribute.h | 2 +- .../SimpleDBAttributeDoesNotExistException.h | 2 +- .../SimpleDB/SimpleDBAttributeUnmarshaller.h | 2 +- .../SimpleDBBatchDeleteAttributesRequest.h | 2 +- ...DBBatchDeleteAttributesRequestMarshaller.h | 2 +- .../SimpleDBBatchDeleteAttributesResponse.h | 2 +- ...atchDeleteAttributesResponseUnmarshaller.h | 2 +- .../SimpleDBBatchPutAttributesRequest.h | 2 +- ...pleDBBatchPutAttributesRequestMarshaller.h | 2 +- .../SimpleDBBatchPutAttributesResponse.h | 2 +- ...DBBatchPutAttributesResponseUnmarshaller.h | 2 +- .../SimpleDB/SimpleDBCreateDomainRequest.h | 2 +- .../SimpleDBCreateDomainRequestMarshaller.h | 2 +- .../SimpleDB/SimpleDBCreateDomainResponse.h | 2 +- ...SimpleDBCreateDomainResponseUnmarshaller.h | 2 +- src/include/SimpleDB/SimpleDBDeletableItem.h | 2 +- .../SimpleDBDeleteAttributesRequest.h | 2 +- ...impleDBDeleteAttributesRequestMarshaller.h | 2 +- .../SimpleDBDeleteAttributesResponse.h | 2 +- ...leDBDeleteAttributesResponseUnmarshaller.h | 2 +- .../SimpleDB/SimpleDBDeleteDomainRequest.h | 2 +- .../SimpleDBDeleteDomainRequestMarshaller.h | 2 +- .../SimpleDB/SimpleDBDeleteDomainResponse.h | 2 +- ...SimpleDBDeleteDomainResponseUnmarshaller.h | 2 +- .../SimpleDB/SimpleDBDomainMetadataRequest.h | 2 +- .../SimpleDBDomainMetadataRequestMarshaller.h | 2 +- .../SimpleDB/SimpleDBDomainMetadataResponse.h | 2 +- ...mpleDBDomainMetadataResponseUnmarshaller.h | 2 +- .../SimpleDBDuplicateItemNameException.h | 2 +- .../SimpleDB/SimpleDBGetAttributesRequest.h | 2 +- .../SimpleDBGetAttributesRequestMarshaller.h | 2 +- .../SimpleDB/SimpleDBGetAttributesResponse.h | 2 +- ...impleDBGetAttributesResponseUnmarshaller.h | 2 +- .../SimpleDBInvalidNextTokenException.h | 2 +- ...SimpleDBInvalidNumberPredicatesException.h | 2 +- ...SimpleDBInvalidNumberValueTestsException.h | 2 +- .../SimpleDBInvalidParameterValueException.h | 2 +- .../SimpleDBInvalidQueryExpressionException.h | 2 +- src/include/SimpleDB/SimpleDBItem.h | 2 +- .../SimpleDB/SimpleDBItemUnmarshaller.h | 2 +- .../SimpleDB/SimpleDBListDomainsRequest.h | 2 +- .../SimpleDBListDomainsRequestMarshaller.h | 2 +- .../SimpleDB/SimpleDBListDomainsResponse.h | 2 +- .../SimpleDBListDomainsResponseUnmarshaller.h | 2 +- .../SimpleDBMissingParameterException.h | 2 +- .../SimpleDB/SimpleDBNoSuchDomainException.h | 2 +- ...BNumberDomainAttributesExceededException.h | 2 +- ...mpleDBNumberDomainBytesExceededException.h | 2 +- .../SimpleDBNumberDomainsExceededException.h | 2 +- ...eDBNumberItemAttributesExceededException.h | 2 +- ...mberSubmittedAttributesExceededException.h | 2 +- ...eDBNumberSubmittedItemsExceededException.h | 2 +- .../SimpleDB/SimpleDBPutAttributesRequest.h | 2 +- .../SimpleDBPutAttributesRequestMarshaller.h | 2 +- .../SimpleDB/SimpleDBPutAttributesResponse.h | 2 +- ...impleDBPutAttributesResponseUnmarshaller.h | 2 +- .../SimpleDB/SimpleDBReplaceableAttribute.h | 2 +- .../SimpleDB/SimpleDBReplaceableItem.h | 2 +- .../SimpleDBRequestTimeoutException.h | 2 +- src/include/SimpleDB/SimpleDBResponse.h | 2 +- .../SimpleDB/SimpleDBResponseUnmarshaller.h | 2 +- src/include/SimpleDB/SimpleDBSelectRequest.h | 2 +- .../SimpleDBSelectRequestMarshaller.h | 2 +- src/include/SimpleDB/SimpleDBSelectResponse.h | 2 +- .../SimpleDBSelectResponseUnmarshaller.h | 2 +- ...pleDBTooManyRequestedAttributesException.h | 2 +- .../SimpleDB/SimpleDBUpdateCondition.h | 2 +- 2815 files changed, 28564 insertions(+), 3599 deletions(-) create mode 100644 samples/AWSiOSDemo/.DS_Store rename samples/{S3Uploader => AWSiOSDemo/AWSiOSDemo}/.DS_Store (86%) create mode 100644 samples/AWSiOSDemoTVM/.DS_Store create mode 100644 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/.DS_Store create mode 100644 samples/MessageBoard/.DS_Store create mode 100644 samples/UserPreference/.DS_Store create mode 100644 samples/UserPreference/README.html create mode 100644 samples/UserPreference/UserPreference.html create mode 100644 samples/UserPreference/UserPreference.xcodeproj/project.pbxproj create mode 100644 samples/UserPreference/UserPreference.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 samples/UserPreference/UserPreference/AmazonClientManager.h create mode 100644 samples/UserPreference/UserPreference/AmazonClientManager.m create mode 100644 samples/UserPreference/UserPreference/AmazonKeyChainWrapper.h create mode 100644 samples/UserPreference/UserPreference/AmazonKeyChainWrapper.m create mode 100644 samples/UserPreference/UserPreference/AmazonTVMClient.h create mode 100644 samples/UserPreference/UserPreference/AmazonTVMClient.m create mode 100644 samples/UserPreference/UserPreference/AppDelegate.h create mode 100644 samples/UserPreference/UserPreference/AppDelegate.m create mode 100644 samples/UserPreference/UserPreference/Constants.h create mode 100644 samples/UserPreference/UserPreference/Constants.m create mode 100644 samples/UserPreference/UserPreference/Crypto.h create mode 100644 samples/UserPreference/UserPreference/Crypto.m create mode 100644 samples/UserPreference/UserPreference/DynamoDBManager.h create mode 100644 samples/UserPreference/UserPreference/DynamoDBManager.m create mode 100644 samples/UserPreference/UserPreference/GetTokenRequest.h create mode 100644 samples/UserPreference/UserPreference/GetTokenRequest.m create mode 100644 samples/UserPreference/UserPreference/GetTokenResponse.h create mode 100644 samples/UserPreference/UserPreference/GetTokenResponse.m create mode 100644 samples/UserPreference/UserPreference/GetTokenResponseHandler.h create mode 100644 samples/UserPreference/UserPreference/GetTokenResponseHandler.m create mode 100644 samples/UserPreference/UserPreference/JSONUtilities.h create mode 100644 samples/UserPreference/UserPreference/JSONUtilities.m create mode 100644 samples/UserPreference/UserPreference/RegisterDeviceRequest.h create mode 100644 samples/UserPreference/UserPreference/RegisterDeviceRequest.m create mode 100644 samples/UserPreference/UserPreference/Request.h create mode 100644 samples/UserPreference/UserPreference/Request.m create mode 100644 samples/UserPreference/UserPreference/RequestDelegate.h create mode 100644 samples/UserPreference/UserPreference/RequestDelegate.m create mode 100644 samples/UserPreference/UserPreference/Response.h create mode 100644 samples/UserPreference/UserPreference/Response.m create mode 100644 samples/UserPreference/UserPreference/ResponseHandler.h create mode 100644 samples/UserPreference/UserPreference/ResponseHandler.m create mode 100644 samples/UserPreference/UserPreference/SelectionViewController.h create mode 100644 samples/UserPreference/UserPreference/SelectionViewController.m create mode 100644 samples/UserPreference/UserPreference/UserListViewController.h create mode 100644 samples/UserPreference/UserPreference/UserListViewController.m create mode 100644 samples/UserPreference/UserPreference/UserPreference-Info.plist create mode 100644 samples/UserPreference/UserPreference/UserPreference-Prefix.pch create mode 100644 samples/UserPreference/UserPreference/UserViewController.h create mode 100644 samples/UserPreference/UserPreference/UserViewController.m create mode 100644 samples/UserPreference/UserPreference/WelcomeView.xib create mode 100644 samples/UserPreference/UserPreference/WelcomeViewController.h create mode 100644 samples/UserPreference/UserPreference/WelcomeViewController.m create mode 100644 samples/UserPreference/UserPreference/en.lproj/InfoPlist.strings create mode 100644 samples/UserPreference/UserPreference/main.m create mode 100644 src/Amazon.DynamoDB/.DS_Store create mode 100644 src/Amazon.DynamoDB/AmazonDynamoDBClient.m create mode 100644 src/Amazon.DynamoDB/DynamoDBExceptionUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/DynamoDBRequest.m create mode 100644 src/Amazon.DynamoDB/DynamoDBResponse.m create mode 100644 src/Amazon.DynamoDB/DynamoDBResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/DynamoDBWebServiceClient.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBAttributeValue.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBAttributeValueUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBAttributeValueUpdate.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBBatchResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBBatchResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBCondition.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBConditionalCheckFailedException.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBCreateTableRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBCreateTableRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBCreateTableResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBCreateTableResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDeleteItemRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDeleteItemRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDeleteItemResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDeleteItemResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDeleteTableRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDeleteTableRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDeleteTableResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDeleteTableResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDescribeTableRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDescribeTableRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDescribeTableResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBDescribeTableResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBExpectedAttributeValue.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBGetItemRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBGetItemRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBGetItemResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBGetItemResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBInternalServerErrorException.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBKey.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBKeySchema.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBKeySchemaElement.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBKeySchemaElementUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBKeySchemaUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBKeyUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBKeysAndAttributes.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBKeysAndAttributesUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBLimitExceededException.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBListTablesRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBListTablesRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBListTablesResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBListTablesResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughput.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputDescription.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputDescriptionUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputExceededException.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBPutItemRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBPutItemRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBPutItemResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBPutItemResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBQueryRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBQueryRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBQueryResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBQueryResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBResourceInUseException.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBResourceNotFoundException.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBScanRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBScanRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBScanResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBScanResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBTableDescription.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBTableDescriptionUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBUpdateItemRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBUpdateItemRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBUpdateItemResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBUpdateItemResponseUnmarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBUpdateTableRequest.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBUpdateTableRequestMarshaller.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBUpdateTableResponse.m create mode 100644 src/Amazon.DynamoDB/Model/DynamoDBUpdateTableResponseUnmarshaller.m create mode 100644 src/Amazon.EC2/Model/EC2AvailabilityZoneMessage.m create mode 100644 src/Amazon.EC2/Model/EC2AvailabilityZoneMessageUnmarshaller.m create mode 100644 src/Amazon.EC2/Model/EC2DescribeInstanceStatusRequest.m create mode 100644 src/Amazon.EC2/Model/EC2DescribeInstanceStatusRequestMarshaller.m create mode 100644 src/Amazon.EC2/Model/EC2DescribeInstanceStatusResponse.m create mode 100644 src/Amazon.EC2/Model/EC2DescribeInstanceStatusResponseUnmarshaller.m create mode 100644 src/Amazon.EC2/Model/EC2InstanceStatus.m create mode 100644 src/Amazon.EC2/Model/EC2InstanceStatusEvent.m create mode 100644 src/Amazon.EC2/Model/EC2InstanceStatusEventUnmarshaller.m create mode 100644 src/Amazon.EC2/Model/EC2InstanceStatusUnmarshaller.m create mode 100644 src/Amazon.EC2/Model/EC2RecurringCharge.m create mode 100644 src/Amazon.EC2/Model/EC2RecurringChargeUnmarshaller.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidSecurityGroupException.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidSubnetException.m create mode 100644 src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSubnetNotFoundException.m create mode 100644 src/Amazon.Runtime/AmazonJSON.m create mode 100644 src/Amazon.S3/.DS_Store create mode 100644 src/Amazon.SNS/Model/SNSGetSubscriptionAttributesRequest.m create mode 100644 src/Amazon.SNS/Model/SNSGetSubscriptionAttributesRequestMarshaller.m create mode 100644 src/Amazon.SNS/Model/SNSGetSubscriptionAttributesResponse.m create mode 100644 src/Amazon.SNS/Model/SNSGetSubscriptionAttributesResponseUnmarshaller.m create mode 100644 src/Amazon.SNS/Model/SNSSetSubscriptionAttributesRequest.m create mode 100644 src/Amazon.SNS/Model/SNSSetSubscriptionAttributesRequestMarshaller.m create mode 100644 src/Amazon.SNS/Model/SNSSetSubscriptionAttributesResponse.m create mode 100644 src/Amazon.SNS/Model/SNSSetSubscriptionAttributesResponseUnmarshaller.m rename {samples/S3Uploader/S3Uploader => src/ThirdParty}/.DS_Store (84%) create mode 100755 src/ThirdParty/JSON/JSON.h create mode 100755 src/ThirdParty/JSON/LICENSE create mode 100755 src/ThirdParty/JSON/SBJson.h create mode 100755 src/ThirdParty/JSON/SBJsonParser.h create mode 100755 src/ThirdParty/JSON/SBJsonParser.m create mode 100755 src/ThirdParty/JSON/SBJsonStreamParser.h create mode 100755 src/ThirdParty/JSON/SBJsonStreamParser.m create mode 100755 src/ThirdParty/JSON/SBJsonStreamParserAccumulator.h create mode 100755 src/ThirdParty/JSON/SBJsonStreamParserAccumulator.m create mode 100755 src/ThirdParty/JSON/SBJsonStreamParserAdapter.h create mode 100755 src/ThirdParty/JSON/SBJsonStreamParserAdapter.m create mode 100755 src/ThirdParty/JSON/SBJsonStreamParserState.h create mode 100755 src/ThirdParty/JSON/SBJsonStreamParserState.m create mode 100755 src/ThirdParty/JSON/SBJsonStreamWriter.h create mode 100755 src/ThirdParty/JSON/SBJsonStreamWriter.m create mode 100755 src/ThirdParty/JSON/SBJsonStreamWriterAccumulator.h create mode 100755 src/ThirdParty/JSON/SBJsonStreamWriterAccumulator.m create mode 100755 src/ThirdParty/JSON/SBJsonStreamWriterState.h create mode 100755 src/ThirdParty/JSON/SBJsonStreamWriterState.m create mode 100755 src/ThirdParty/JSON/SBJsonTokeniser.h create mode 100755 src/ThirdParty/JSON/SBJsonTokeniser.m create mode 100755 src/ThirdParty/JSON/SBJsonUTF8Stream.h create mode 100755 src/ThirdParty/JSON/SBJsonUTF8Stream.m create mode 100755 src/ThirdParty/JSON/SBJsonWriter.h create mode 100755 src/ThirdParty/JSON/SBJsonWriter.m create mode 100644 src/include/AmazonJSON.h create mode 100644 src/include/DynamoDB/AmazonDynamoDBClient.h create mode 100644 src/include/DynamoDB/DynamoDBAttributeValue.h create mode 100644 src/include/DynamoDB/DynamoDBAttributeValueUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBAttributeValueUpdate.h create mode 100644 src/include/DynamoDB/DynamoDBBatchGetItemRequest.h create mode 100644 src/include/DynamoDB/DynamoDBBatchGetItemRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBBatchGetItemResponse.h create mode 100644 src/include/DynamoDB/DynamoDBBatchGetItemResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBBatchResponse.h create mode 100644 src/include/DynamoDB/DynamoDBBatchResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBCondition.h create mode 100644 src/include/DynamoDB/DynamoDBConditionalCheckFailedException.h create mode 100644 src/include/DynamoDB/DynamoDBCreateTableRequest.h create mode 100644 src/include/DynamoDB/DynamoDBCreateTableRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBCreateTableResponse.h create mode 100644 src/include/DynamoDB/DynamoDBCreateTableResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBDeleteItemRequest.h create mode 100644 src/include/DynamoDB/DynamoDBDeleteItemRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBDeleteItemResponse.h create mode 100644 src/include/DynamoDB/DynamoDBDeleteItemResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBDeleteTableRequest.h create mode 100644 src/include/DynamoDB/DynamoDBDeleteTableRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBDeleteTableResponse.h create mode 100644 src/include/DynamoDB/DynamoDBDeleteTableResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBDescribeTableRequest.h create mode 100644 src/include/DynamoDB/DynamoDBDescribeTableRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBDescribeTableResponse.h create mode 100644 src/include/DynamoDB/DynamoDBDescribeTableResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBExceptionUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBExpectedAttributeValue.h create mode 100644 src/include/DynamoDB/DynamoDBGetItemRequest.h create mode 100644 src/include/DynamoDB/DynamoDBGetItemRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBGetItemResponse.h create mode 100644 src/include/DynamoDB/DynamoDBGetItemResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBInternalServerErrorException.h create mode 100644 src/include/DynamoDB/DynamoDBKey.h create mode 100644 src/include/DynamoDB/DynamoDBKeySchema.h create mode 100644 src/include/DynamoDB/DynamoDBKeySchemaElement.h create mode 100644 src/include/DynamoDB/DynamoDBKeySchemaElementUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBKeySchemaUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBKeyUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBKeysAndAttributes.h create mode 100644 src/include/DynamoDB/DynamoDBKeysAndAttributesUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBLimitExceededException.h create mode 100644 src/include/DynamoDB/DynamoDBListTablesRequest.h create mode 100644 src/include/DynamoDB/DynamoDBListTablesRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBListTablesResponse.h create mode 100644 src/include/DynamoDB/DynamoDBListTablesResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBProvisionedThroughput.h create mode 100644 src/include/DynamoDB/DynamoDBProvisionedThroughputDescription.h create mode 100644 src/include/DynamoDB/DynamoDBProvisionedThroughputDescriptionUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBProvisionedThroughputExceededException.h create mode 100644 src/include/DynamoDB/DynamoDBPutItemRequest.h create mode 100644 src/include/DynamoDB/DynamoDBPutItemRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBPutItemResponse.h create mode 100644 src/include/DynamoDB/DynamoDBPutItemResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBQueryRequest.h create mode 100644 src/include/DynamoDB/DynamoDBQueryRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBQueryResponse.h create mode 100644 src/include/DynamoDB/DynamoDBQueryResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBRequest.h create mode 100644 src/include/DynamoDB/DynamoDBRequest4.h create mode 100644 src/include/DynamoDB/DynamoDBResourceInUseException.h create mode 100644 src/include/DynamoDB/DynamoDBResourceNotFoundException.h create mode 100644 src/include/DynamoDB/DynamoDBResponse.h create mode 100644 src/include/DynamoDB/DynamoDBResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBScanRequest.h create mode 100644 src/include/DynamoDB/DynamoDBScanRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBScanResponse.h create mode 100644 src/include/DynamoDB/DynamoDBScanResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBTableDescription.h create mode 100644 src/include/DynamoDB/DynamoDBTableDescriptionUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBUpdateItemRequest.h create mode 100644 src/include/DynamoDB/DynamoDBUpdateItemRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBUpdateItemResponse.h create mode 100644 src/include/DynamoDB/DynamoDBUpdateItemResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBUpdateTableRequest.h create mode 100644 src/include/DynamoDB/DynamoDBUpdateTableRequestMarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBUpdateTableResponse.h create mode 100644 src/include/DynamoDB/DynamoDBUpdateTableResponseUnmarshaller.h create mode 100644 src/include/DynamoDB/DynamoDBWebServiceClient.h create mode 100644 src/include/EC2/EC2AvailabilityZoneMessage.h create mode 100644 src/include/EC2/EC2AvailabilityZoneMessageUnmarshaller.h create mode 100644 src/include/EC2/EC2DescribeInstanceStatusRequest.h create mode 100644 src/include/EC2/EC2DescribeInstanceStatusRequestMarshaller.h create mode 100644 src/include/EC2/EC2DescribeInstanceStatusResponse.h create mode 100644 src/include/EC2/EC2DescribeInstanceStatusResponseUnmarshaller.h create mode 100644 src/include/EC2/EC2InstanceStatus.h create mode 100644 src/include/EC2/EC2InstanceStatusEvent.h create mode 100644 src/include/EC2/EC2InstanceStatusEventUnmarshaller.h create mode 100644 src/include/EC2/EC2InstanceStatusUnmarshaller.h create mode 100644 src/include/EC2/EC2RecurringCharge.h create mode 100644 src/include/EC2/EC2RecurringChargeUnmarshaller.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidSecurityGroupException.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidSubnetException.h create mode 100644 src/include/ElasticLoadBalancing/ElasticLoadBalancingSubnetNotFoundException.h create mode 100644 src/include/SNS/SNSGetSubscriptionAttributesRequest.h create mode 100644 src/include/SNS/SNSGetSubscriptionAttributesRequestMarshaller.h create mode 100644 src/include/SNS/SNSGetSubscriptionAttributesResponse.h create mode 100644 src/include/SNS/SNSGetSubscriptionAttributesResponseUnmarshaller.h create mode 100644 src/include/SNS/SNSSetSubscriptionAttributesRequest.h create mode 100644 src/include/SNS/SNSSetSubscriptionAttributesRequestMarshaller.h create mode 100644 src/include/SNS/SNSSetSubscriptionAttributesResponse.h create mode 100644 src/include/SNS/SNSSetSubscriptionAttributesResponseUnmarshaller.h diff --git a/NOTICE.txt b/NOTICE.txt index 6f23c812..34f24cda 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,5 +1,5 @@ AWS SDK for iOS -Copyright 2010 Amazon.com, Inc. or its affiliates. All Rights Reserved. +Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. This product includes software developed by Amazon Technologies, Inc (http://www.amazon.com/). diff --git a/samples/AWSiOSDemo/.DS_Store b/samples/AWSiOSDemo/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..99018f4662ffd041a64d355fb6f313fe2a2018ad GIT binary patch literal 6149 zcmeHK%}T>S5T3PFV^!!y(A(m6=| z8^kj&3j2XSxm9}Vr_;psC(3i}rvvmTy%Wbn)O#kn8-?lMu6i(^A2(Vx**tA#H94=> zZM!B<8m%nbLaDx6dxuA7mmNQQdd^=okpekavTJYwuc#E(6ebVD0H8DIu}Vu1DsiH*=Pm}^v92Y%@KO#U(<3F`EgAe06jgSkfZpa`9c zs8fY`VhEj%c4^`qgSkeX4nob0D+$z9Bl%21qCUR;orGx;Ioa$!aW1_pKpXNDYxM22D@1j;NVguV|c85bMxo!Gdrn_5$Sx#Ewf;ILUf>!JWWG-L zceuyR?)`cHGz|OWWM!p*6p#W^Knh5KUn}6fm$p1lRFnczKni>-;NOQvckBws#Q1bD z#0WrKFdfEq%o4=r31U|`CNe{_q!N>AHDXxOnQv9s6^@BXht=?5b+XljVsSd(-=ZAW zB`Qh*DKJ&wG`B17{~P)b^Z%5jofMD)|4IQ{^xJ;TD^+iuUCw)Lqd(HU=9BKmbx;_h m9TTG+bK~v!GK#XU`I^tW!Z9)E%mj literal 0 HcmV?d00001 diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/.DS_Store b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/.DS_Store index d220799a64673d0f9bfd983214e24ffec1c24e1a..fbc896fbc91408e0f4fe374c27d533160f99937e 100644 GIT binary patch delta 9 QcmZoMXf@ctBEiT701m_gK>z>% delta 7 OcmZoQXffEpA^`vjP69Rn diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.h index b8add321..3404a915 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.m index f0b14e69..d2a81cc3 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.h index 7c52b69d..5bc629c7 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.m index 4dc6dd9d..cfce3551 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.h index b03ed8b9..bde65d23 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.m index 37753966..4fc52065 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.h index 3f70eefe..ce60d859 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.m index 5562c944..7a4e3e81 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.h index 0754e78b..b4e01abb 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.m index 2b548845..d13ef793 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.h index 7d32a072..f8568a12 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.m index a0c75f33..74dfed0b 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.h index 60b33cba..16ad0166 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.m index cf49d9ed..56db0202 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.h index 27a29757..960fcb80 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.m index 802428e8..4208e812 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.h index 8c4728b9..2ec75554 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.m index a3f32dbf..04df7bb3 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.h index edd3b076..ee319d4a 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.m index d5b0370a..d2ac8765 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.h index 6d722dc2..b3fceece 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -42,4 +42,4 @@ -@end \ No newline at end of file +@end diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.m index 6c57feb9..7a7da0d5 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.h index 30481771..23e02bec 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.m index 64b65c08..36fcf3bf 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.h index dc80a1b1..63570ad7 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.m index d530e31d..9322708d 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.h index b3e504a1..e1ce2d0e 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.m index 53165947..a993fce5 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.h index 36c33e03..68ac5820 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.m index 7dafa79e..b16acdb6 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.h index 44ea741a..92d8d1ce 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -43,4 +43,4 @@ -@end \ No newline at end of file +@end diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.m index e2872198..276cdea7 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.h index 78fd9b9a..d28ba8ff 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.m index 0e2164e2..c08d3330 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.h index 9eaa0781..535d3875 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.m index 07bee305..f1a87d08 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.h index 90ccfcad..f287f656 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.m index e0aa8b4d..59256bf1 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.h index b2d9a079..e03fb341 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.m index 774acaa2..37ae455e 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.h index 09d7bd10..13154d37 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.m index 0b611049..8693af09 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.h index 904cabd0..19023f4a 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.m index e7628b2d..936b7088 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.h index 9d694306..7ddec347 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.m index 93e4a496..178d9307 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.h index e9904fe2..26d26538 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.m index afd90e39..de5a4d73 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.h index cc01f5bc..021e68df 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.m index 863506fa..8c556b4d 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.h index b7227b02..b9395846 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.m index 089ffa7a..08c3a67f 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.h index cede33bc..77d8c607 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.m index 29b896db..18b63070 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.h index 2254e42a..13aca9e6 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.m index 46a21d5b..69df11c8 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.h index c11bcee6..c2b16a97 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.m index 959bec0b..8b372681 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.h index 7ebbc9bf..d1197d3f 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.m index 90604751..a53f53eb 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.h index 89394e27..a3dd9e98 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.m index 097fbe36..0a810217 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.h index 89c61038..4e3a11e7 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.m index d93c3de9..26d97abb 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.h index ff901109..5c53fd2a 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.m index 21de33ef..92514dc0 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.h b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.h index 36146c72..2fb101ec 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.h +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.m index 02c2899c..1b29bedd 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/main.m b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/main.m index 381301b2..d7f08413 100644 --- a/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/main.m +++ b/samples/AWSiOSDemoTVM/AWSiOSDemoTVM/main.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/.DS_Store b/samples/AWSiOSDemoTVMIdentity/.DS_Store index 33bdf5d8177911649ac6e5f95d365932b50bf3e9..3c157b83df97ec555b953c89dd76fda9251f1a31 100644 GIT binary patch delta 272 zcmZoMXf>E1#>B)qu~2NHo+2aD!~pA!4;mOJ8;Gz>?ANYODlaZb%E?b+U|`sgRFIQd zTw-8wjgg6&g_Vt+0|5Sqk}W@%Y!phQj-#kV!`Z^#FEltr^F(# zOh95u22cjf4$05Y0kUJDs>3r=N;2XFB&(~9%}sR_j4X_6brh-%Z4C_!bQH{u%xY^n zfk5B@hp3XCjYmjgZC!msBhXPmz{m)p8F-;IjB4K4Bgnd$or9kP=)a8@zcWwf7ts{~ X$%1q=KxnY$%^@Nim?t){FmeF^TCYYU delta 72 zcmZoQXfc=|#>CJzu~2NHo+2aT!~knX#>qTPdYe_4AG2(BV9sLN%+A5j0aUWtkoi0F aWPTA{PDTa>h66y%FxiGjdUK4(5@rCPy%A9W diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/.DS_Store b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/.DS_Store index d220799a64673d0f9bfd983214e24ffec1c24e1a..fbc896fbc91408e0f4fe374c27d533160f99937e 100644 GIT binary patch delta 9 QcmZoMXf@ctBEiT701m_gK>z>% delta 7 OcmZoQXffEpA^`vjP69Rn diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.h b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.h index f236f41d..b834c006 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.h +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.m b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.m index 54a1c3a2..f10e79cc 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.m +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.h b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.h index 4633d29d..60a8257e 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.h +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.m b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.m index cc25a406..2f9a02e3 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.m +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/.DS_Store b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/.DS_Store index 72ff5390df33d6e35806005e31157386deb9fcc5..0ea3b72562f2fae8677f44818e7786141b661d92 100644 GIT binary patch delta 9 QcmZoMXf@ctBEiT701m_gK>z>% delta 7 OcmZoQXffEpA^`vjP69Rn diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.h b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.h index 31c875fa..186e1a90 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.h +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.m b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.m index 6558ea88..43ee4ce9 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.m +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.h b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.h index b53b21e6..fee1793c 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.h +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.m b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.m index 5562c944..7a4e3e81 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.m +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.h b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.h index 965c0fd5..a892588e 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.h +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.m b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.m index cddb1a4b..465d2740 100644 --- a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.m +++ b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/.DS_Store b/samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0GN&&V_}VE1GL5thmPjK+){lbsoZrOXY?brcMZENgWXstpYd40IICjm&Cm lIXO8eZ(uYADiq~RDNfEw%FoYX-29M{jcqeK$6tO%E&y~o6?Xst delta 71 zcmZoQXfc@J&&W72U^gS<L^qj8W~vVD41GU b*4A=za!lU9XuO$)iJ5I;gW_g(j=%f>p28Al diff --git a/samples/HighScores/HighScores/AddScoreViewController.h b/samples/HighScores/HighScores/AddScoreViewController.h index ddafb832..807d81da 100644 --- a/samples/HighScores/HighScores/AddScoreViewController.h +++ b/samples/HighScores/HighScores/AddScoreViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ #import -@interface AddScoreViewController : UIViewController { +@interface AddScoreViewController:UIViewController { IBOutlet UITextField *player; IBOutlet UITextField *score; } diff --git a/samples/HighScores/HighScores/AddScoreViewController.m b/samples/HighScores/HighScores/AddScoreViewController.m index 5c2c590c..b79e3066 100644 --- a/samples/HighScores/HighScores/AddScoreViewController.m +++ b/samples/HighScores/HighScores/AddScoreViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -27,18 +27,18 @@ -(IBAction)add:(id)sender { [player resignFirstResponder]; [score resignFirstResponder]; - - HighScore *highScore = [[[HighScore alloc] initWithPlayer:[player text] andScore:[[score text] intValue]] autorelease]; + + HighScore *highScore = [[[HighScore alloc] initWithPlayer:[player text] andScore:[[score text] intValue]] autorelease]; HighScoreList *highScoreList = [[[HighScoreList alloc] init] autorelease]; [highScoreList addHighScore:highScore]; - + [self dismissModalViewControllerAnimated:YES]; } -(IBAction)cancel:(id)sender { - [self dismissModalViewControllerAnimated:YES]; -} + [self dismissModalViewControllerAnimated:YES]; +} -(BOOL) textFieldShouldReturn:(UITextField *)textField { diff --git a/samples/HighScores/HighScores/Constants.h b/samples/HighScores/HighScores/Constants.h index b7c3c294..46f05d81 100644 --- a/samples/HighScores/HighScores/Constants.h +++ b/samples/HighScores/HighScores/Constants.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -15,15 +15,15 @@ // Constants used to represent your AWS Credentials. -#define ACCESS_KEY_ID @"CHANGE ME" -#define SECRET_KEY @"CHANGE ME" -#define CREDENTIALS_MESSAGE @"AWS Credentials not configured correctly. Please review the README file." +#define ACCESS_KEY_ID @"CHANGE ME" +#define SECRET_KEY @"CHANGE ME" +#define CREDENTIALS_MESSAGE @"AWS Credentials not configured correctly. Please review the README file." @interface Constants:NSObject { } -+(NSString*)getRandomPlayerName; ++(NSString *)getRandomPlayerName; +(int)getRandomScore; +(UIAlertView *)credentialsAlert; diff --git a/samples/HighScores/HighScores/Constants.m b/samples/HighScores/HighScores/Constants.m index a862d083..afa14366 100644 --- a/samples/HighScores/HighScores/Constants.m +++ b/samples/HighScores/HighScores/Constants.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,15 +20,15 @@ @implementation Constants +(UIAlertView *)credentialsAlert { - return [[[UIAlertView alloc] initWithTitle:@"Missing Credentials" message:CREDENTIALS_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] autorelease]; + return [[[UIAlertView alloc] initWithTitle:@"Missing Credentials" message:CREDENTIALS_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] autorelease]; } -+(NSString*)getRandomPlayerName ++(NSString *)getRandomPlayerName { NSArray *playerNames = [[[NSArray alloc] initWithObjects:@"Norm", @"Jim", @"Jason", @"Zach", @"Matt", @"Glenn", @"Will", @"Wade", @"Trevor", @"Jeremy", @"Ryan", @"Matty", @"Steve", @"Pavel", nil] autorelease]; - int name1 = arc4random() % [playerNames count]; - int name2 = arc4random() % [playerNames count]; - + int name1 = arc4random() % [playerNames count]; + int name2 = arc4random() % [playerNames count]; + return [NSString stringWithFormat:@"%@ %@", [playerNames objectAtIndex:name1], [playerNames objectAtIndex:name2]]; } diff --git a/samples/HighScores/HighScores/HighScore.h b/samples/HighScores/HighScores/HighScore.h index 5387f9d8..7d619a48 100644 --- a/samples/HighScores/HighScores/HighScore.h +++ b/samples/HighScores/HighScores/HighScore.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -16,16 +16,16 @@ #import -@interface HighScore : NSObject { +@interface HighScore:NSObject { NSString *player; - int score; + int score; } @property (nonatomic, readonly) NSString *player; -@property (nonatomic, readonly) int score; +@property (nonatomic, readonly) int score; --(id)initWithPlayer:(NSString*)thePlayer andScore:(int)theScore; +-(id)initWithPlayer:(NSString *)thePlayer andScore:(int)theScore; @end diff --git a/samples/HighScores/HighScores/HighScore.m b/samples/HighScores/HighScores/HighScore.m index 6ec0bc93..a9acb3ab 100644 --- a/samples/HighScores/HighScores/HighScore.m +++ b/samples/HighScores/HighScores/HighScore.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,15 +21,15 @@ @implementation HighScore @synthesize player; @synthesize score; --(id)initWithPlayer:(NSString*)thePlayer andScore:(int)theScore +-(id)initWithPlayer:(NSString *)thePlayer andScore:(int)theScore { self = [super init]; if (self) { player = [thePlayer retain]; - score = theScore; + score = theScore; } - + return self; } diff --git a/samples/HighScores/HighScores/HighScoreList.h b/samples/HighScores/HighScores/HighScoreList.h index 7bd68d71..338f6476 100644 --- a/samples/HighScores/HighScores/HighScoreList.h +++ b/samples/HighScores/HighScores/HighScoreList.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -18,37 +18,37 @@ #import "HighScore.h" -#define NO_SORT 0 -#define PLAYER_SORT 1 -#define SCORE_SORT 2 +#define NO_SORT 0 +#define PLAYER_SORT 1 +#define SCORE_SORT 2 -@interface HighScoreList : NSObject { +@interface HighScoreList:NSObject { AmazonSimpleDBClient *sdbClient; - NSString *nextToken; - int sortMethod; + NSString *nextToken; + int sortMethod; } @property (nonatomic, retain) NSString *nextToken; -(int)highScoreCount; --(NSArray*)getHighScores; --(NSArray*)getNextPageOfScores; --(void)addHighScore:(HighScore*)theHighScore; --(void)removeHighScore:(HighScore*)theHighScore; +-(NSArray *)getHighScores; +-(NSArray *)getNextPageOfScores; +-(void)addHighScore:(HighScore *)theHighScore; +-(void)removeHighScore:(HighScore *)theHighScore; -(void)createHighScoresDomain; -(void)clearHighScores; --(HighScore*)getPlayer:(NSString*)playerName; +-(HighScore *)getPlayer:(NSString *)playerName; // Utility Methods --(NSArray*)convertItemsToHighScores:(NSArray*)items; --(HighScore*)convertSimpleDBItemToHighScore:(SimpleDBItem*)theItem; --(NSString*)getPlayerNameFromItem:(SimpleDBItem*)theItem; --(int)getPlayerScoreFromItem:(SimpleDBItem*)theItem; --(int)getIntValueForAttribute:(NSString*)theAttribute fromList:(NSArray*)attributeList; --(NSString*)getStringValueForAttribute:(NSString*)theAttribute fromList:(NSArray*)attributeList; --(NSString*)getPaddedScore:(int)theScore; +-(NSArray *)convertItemsToHighScores:(NSArray *)items; +-(HighScore *)convertSimpleDBItemToHighScore:(SimpleDBItem *)theItem; +-(NSString *)getPlayerNameFromItem:(SimpleDBItem *)theItem; +-(int)getPlayerScoreFromItem:(SimpleDBItem *)theItem; +-(int)getIntValueForAttribute:(NSString *)theAttribute fromList:(NSArray *)attributeList; +-(NSString *)getStringValueForAttribute:(NSString *)theAttribute fromList:(NSArray *)attributeList; +-(NSString *)getPaddedScore:(int)theScore; @end diff --git a/samples/HighScores/HighScores/HighScoreList.m b/samples/HighScores/HighScores/HighScoreList.m index a38db141..0aff7547 100644 --- a/samples/HighScores/HighScores/HighScoreList.m +++ b/samples/HighScores/HighScores/HighScoreList.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,22 +23,22 @@ // http://aws.amazon.com/articles/1231 // ======================================================== -#define HIGH_SCORE_DOMAIN @"HighScores" +#define HIGH_SCORE_DOMAIN @"HighScores" -#define PLAYER_ATTRIBUTE @"player" -#define SCORE_ATTRIBUTE @"score" +#define PLAYER_ATTRIBUTE @"player" +#define SCORE_ATTRIBUTE @"score" -#define COUNT_QUERY @"select count(*) from HighScores" +#define COUNT_QUERY @"select count(*) from HighScores" -#define PLAYER_SORT_QUERY @"select player, score from HighScores where player > '' order by player asc" -#define SCORE_SORT_QUERY @"select player, score from HighScores where score >= '0' order by score desc" -#define NO_SORT_QUERY @"select player, score from HighScores" +#define PLAYER_SORT_QUERY @"select player, score from HighScores where player > '' order by player asc" +#define SCORE_SORT_QUERY @"select player, score from HighScores where score >= '0' order by score desc" +#define NO_SORT_QUERY @"select player, score from HighScores" /* * This class provides all the functionality for the High Scores list. * - * The class uses SimpleDB to store individuals Items in a Domain. + * The class uses SimpleDB to store individuals Items in a Domain. * Each Item represents a player and their score. */ @implementation HighScoreList @@ -53,11 +53,11 @@ -(id)init if (self) { // Initial the SimpleDB Client. - sdbClient = [[AmazonSimpleDBClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY]; + sdbClient = [[AmazonSimpleDBClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY]; self.nextToken = nil; - sortMethod = NO_SORT; + sortMethod = NO_SORT; } - + return self; } @@ -67,11 +67,11 @@ -(id)initWithSortMethod:(int)theSortMethod if (self) { // Initial the SimpleDB Client. - sdbClient = [[AmazonSimpleDBClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY]; + sdbClient = [[AmazonSimpleDBClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY]; self.nextToken = nil; - sortMethod = theSortMethod; + sortMethod = theSortMethod; } - + return self; } @@ -83,14 +83,14 @@ -(int)highScoreCount @try { SimpleDBSelectRequest *selectRequest = [[[SimpleDBSelectRequest alloc] initWithSelectExpression:COUNT_QUERY] autorelease]; selectRequest.consistentRead = YES; - + SimpleDBSelectResponse *selectResponse = [sdbClient select:selectRequest]; - SimpleDBItem *countItem = [selectResponse.items objectAtIndex:0]; - + SimpleDBItem *countItem = [selectResponse.items objectAtIndex:0]; + return [self getIntValueForAttribute:@"Count" fromList:countItem.attributes]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : [%@]", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : [%@]", exception); return 0; } } @@ -98,19 +98,19 @@ -(int)highScoreCount /* * Gets the item from the High Scores domain with the item name equal to 'thePlayer'. */ --(HighScore*)getPlayer:(NSString*)thePlayer +-(HighScore *)getPlayer:(NSString *)thePlayer { @try { - SimpleDBGetAttributesRequest *gar = [[SimpleDBGetAttributesRequest alloc] initWithDomainName:HIGH_SCORE_DOMAIN andItemName:thePlayer]; + SimpleDBGetAttributesRequest *gar = [[SimpleDBGetAttributesRequest alloc] initWithDomainName:HIGH_SCORE_DOMAIN andItemName:thePlayer]; SimpleDBGetAttributesResponse *response = [sdbClient getAttributes:gar]; - - NSString *playerName = [self getStringValueForAttribute:PLAYER_ATTRIBUTE fromList:response.attributes]; - int score = [self getIntValueForAttribute:SCORE_ATTRIBUTE fromList:response.attributes]; - + + NSString *playerName = [self getStringValueForAttribute:PLAYER_ATTRIBUTE fromList:response.attributes]; + int score = [self getIntValueForAttribute:SCORE_ATTRIBUTE fromList:response.attributes]; + return [[HighScore alloc] initWithPlayer:playerName andScore:score]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : [%@]", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : [%@]", exception); return nil; } } @@ -118,27 +118,40 @@ -(HighScore*)getPlayer:(NSString*)thePlayer /* * Using the pre-defined query, extracts items from the domain in a determined order using the 'select' operation. */ --(NSArray*)getHighScores +-(NSArray *)getHighScores { NSString *query = nil; - switch ( sortMethod ) { - case PLAYER_SORT: { query = PLAYER_SORT_QUERY; break; } - case SCORE_SORT: { query = SCORE_SORT_QUERY; break; } - default: { query = NO_SORT_QUERY; } + + switch (sortMethod) { + case PLAYER_SORT: { + query = PLAYER_SORT_QUERY; + break; + } + + case SCORE_SORT: { + query = SCORE_SORT_QUERY; + break; + } + + default: { + query = NO_SORT_QUERY; } - + } + @try { SimpleDBSelectRequest *selectRequest = [[[SimpleDBSelectRequest alloc] initWithSelectExpression:query] autorelease]; selectRequest.consistentRead = YES; - if ( self.nextToken != nil ) selectRequest.nextToken = self.nextToken; + if (self.nextToken != nil) { + selectRequest.nextToken = self.nextToken; + } SimpleDBSelectResponse *selectResponse = [sdbClient select:selectRequest]; self.nextToken = selectResponse.nextToken; return [self convertItemsToHighScores:selectResponse.items]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : [%@]", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : [%@]", exception); return [NSArray array]; } } @@ -146,9 +159,9 @@ -(NSArray*)getHighScores /* * If a 'nextToken' was returned on the previous query execution, use the next token to get the next batch of items. */ --(NSArray*)getNextPageOfScores +-(NSArray *)getNextPageOfScores { - if ( self.nextToken == nil ) { + if (self.nextToken == nil) { return [NSArray array]; } else { @@ -159,15 +172,15 @@ -(NSArray*)getNextPageOfScores /* * Creates a new item and adds it to the HighScores domain. */ --(void)addHighScore:(HighScore*)theHighScore +-(void)addHighScore:(HighScore *)theHighScore { @try { - NSString *paddedScore = [self getPaddedScore:theHighScore.score]; - + NSString *paddedScore = [self getPaddedScore:theHighScore.score]; + SimpleDBReplaceableAttribute *playerAttribute = [[[SimpleDBReplaceableAttribute alloc] initWithName:PLAYER_ATTRIBUTE andValue:theHighScore.player andReplace:YES] autorelease]; - SimpleDBReplaceableAttribute *scoreAttribute = [[[SimpleDBReplaceableAttribute alloc] initWithName:SCORE_ATTRIBUTE andValue:paddedScore andReplace:YES] autorelease]; + SimpleDBReplaceableAttribute *scoreAttribute = [[[SimpleDBReplaceableAttribute alloc] initWithName:SCORE_ATTRIBUTE andValue:paddedScore andReplace:YES] autorelease]; - NSMutableArray *attributes = [[[NSMutableArray alloc] initWithCapacity:1] autorelease]; + NSMutableArray *attributes = [[[NSMutableArray alloc] initWithCapacity:1] autorelease]; [attributes addObject:playerAttribute]; [attributes addObject:scoreAttribute]; @@ -175,8 +188,8 @@ -(void)addHighScore:(HighScore*)theHighScore [sdbClient putAttributes:putAttributesRequest]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : [%@]", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : [%@]", exception); } } @@ -184,14 +197,14 @@ -(void)addHighScore:(HighScore*)theHighScore * Removes the item from the HighScores domain. * The item removes is the item whose 'player' matches the theHighScore submitted. */ --(void)removeHighScore:(HighScore*)theHighScore +-(void)removeHighScore:(HighScore *)theHighScore { @try { SimpleDBDeleteAttributesRequest *deleteItem = [[[SimpleDBDeleteAttributesRequest alloc] initWithDomainName:HIGH_SCORE_DOMAIN andItemName:theHighScore.player] autorelease]; - [sdbClient deleteAttributes:deleteItem]; + [sdbClient deleteAttributes:deleteItem]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : [%@]", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : [%@]", exception); } } @@ -201,11 +214,11 @@ -(void)removeHighScore:(HighScore*)theHighScore -(void)createHighScoresDomain { @try { - SimpleDBCreateDomainRequest *createDomain = [[[SimpleDBCreateDomainRequest alloc] initWithDomainName:HIGH_SCORE_DOMAIN] autorelease]; + SimpleDBCreateDomainRequest *createDomain = [[[SimpleDBCreateDomainRequest alloc] initWithDomainName:HIGH_SCORE_DOMAIN] autorelease]; [sdbClient createDomain:createDomain]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : [%@]", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : [%@]", exception); } } @@ -215,34 +228,34 @@ -(void)createHighScoresDomain -(void)clearHighScores { @try { - SimpleDBDeleteDomainRequest *deleteDomain = [[[SimpleDBDeleteDomainRequest alloc] initWithDomainName:HIGH_SCORE_DOMAIN] autorelease]; + SimpleDBDeleteDomainRequest *deleteDomain = [[[SimpleDBDeleteDomainRequest alloc] initWithDomainName:HIGH_SCORE_DOMAIN] autorelease]; [sdbClient deleteDomain:deleteDomain]; - - SimpleDBCreateDomainRequest *createDomain = [[[SimpleDBCreateDomainRequest alloc] initWithDomainName:HIGH_SCORE_DOMAIN] autorelease]; + + SimpleDBCreateDomainRequest *createDomain = [[[SimpleDBCreateDomainRequest alloc] initWithDomainName:HIGH_SCORE_DOMAIN] autorelease]; [sdbClient createDomain:createDomain]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : [%@]", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : [%@]", exception); } } /* * Converts an array of Items into an array of HighScore objects. */ --(NSArray*)convertItemsToHighScores:(NSArray*)theItems +-(NSArray *)convertItemsToHighScores:(NSArray *)theItems { - NSMutableArray *highScores = [[[NSMutableArray alloc] initWithCapacity:[theItems count]] autorelease]; - for ( SimpleDBItem *item in theItems ) { + NSMutableArray *highScores = [[[NSMutableArray alloc] initWithCapacity:[theItems count]] autorelease]; + for (SimpleDBItem *item in theItems) { [highScores addObject:[self convertSimpleDBItemToHighScore:item]]; } - + return highScores; } /* * Converts a single SimpleDB Item into a HighScore object. */ --(HighScore*)convertSimpleDBItemToHighScore:(SimpleDBItem*)theItem +-(HighScore *)convertSimpleDBItemToHighScore:(SimpleDBItem *)theItem { return [[[HighScore alloc] initWithPlayer:[self getPlayerNameFromItem:theItem] andScore:[self getPlayerScoreFromItem:theItem]] autorelease]; } @@ -250,7 +263,7 @@ -(HighScore*)convertSimpleDBItemToHighScore:(SimpleDBItem*)theItem /* * Extracts the 'player' attribute from the SimpleDB Item. */ --(NSString*)getPlayerNameFromItem:(SimpleDBItem*)theItem +-(NSString *)getPlayerNameFromItem:(SimpleDBItem *)theItem { return [self getStringValueForAttribute:PLAYER_ATTRIBUTE fromList:theItem.attributes]; } @@ -258,7 +271,7 @@ -(NSString*)getPlayerNameFromItem:(SimpleDBItem*)theItem /* * Extracts the 'score' attribute from the SimpleDB Item. */ --(int)getPlayerScoreFromItem:(SimpleDBItem*)theItem +-(int)getPlayerScoreFromItem:(SimpleDBItem *)theItem { return [self getIntValueForAttribute:SCORE_ATTRIBUTE fromList:theItem.attributes]; } @@ -267,46 +280,47 @@ -(int)getPlayerScoreFromItem:(SimpleDBItem*)theItem * Extracts the value for the given attribute from the list of attributes. * Extracted value is returned as a NSString. */ --(NSString*)getStringValueForAttribute:(NSString*)theAttribute fromList:(NSArray*)attributeList +-(NSString *)getStringValueForAttribute:(NSString *)theAttribute fromList:(NSArray *)attributeList { - for ( SimpleDBAttribute *attribute in attributeList ) { - if ( [attribute.name isEqualToString:theAttribute] ) { + for (SimpleDBAttribute *attribute in attributeList) { + if ( [attribute.name isEqualToString:theAttribute]) { return attribute.value; } } - - return @""; + + return @""; } /* * Extracts the value for the given attribute from the list of attributes. * Extracted value is returned as an int. */ --(int)getIntValueForAttribute:(NSString*)theAttribute fromList:(NSArray*)attributeList +-(int)getIntValueForAttribute:(NSString *)theAttribute fromList:(NSArray *)attributeList { - for ( SimpleDBAttribute *attribute in attributeList ) { - if ( [attribute.name isEqualToString:theAttribute] ) { + for (SimpleDBAttribute *attribute in attributeList) { + if ( [attribute.name isEqualToString:theAttribute]) { return [attribute.value intValue]; } } - - return 0; + + return 0; } /* * Creates a padded number and returns it as a string. * All strings returned will have 10 characters. */ --(NSString*)getPaddedScore:(int)theScore +-(NSString *)getPaddedScore:(int)theScore { - NSString *pad = @"0000000000"; + NSString *pad = @"0000000000"; NSString *scoreValue = [NSString stringWithFormat:@"%d", theScore]; - - NSRange range; + + NSRange range; + range.location = [pad length] - [scoreValue length]; - range.length = [scoreValue length]; - - return [pad stringByReplacingCharactersInRange:range withString:scoreValue]; + range.length = [scoreValue length]; + + return [pad stringByReplacingCharactersInRange:range withString:scoreValue]; } -(void)dealloc diff --git a/samples/HighScores/HighScores/HighScoresAppDelegate.h b/samples/HighScores/HighScores/HighScoresAppDelegate.h index 77a6e342..e4d46635 100644 --- a/samples/HighScores/HighScores/HighScoresAppDelegate.h +++ b/samples/HighScores/HighScores/HighScoresAppDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,11 +17,10 @@ @class HighScoresViewController; -@interface HighScoresAppDelegate : NSObject { - +@interface HighScoresAppDelegate:NSObject { } -@property (nonatomic, retain) IBOutlet UIWindow *window; +@property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet HighScoresViewController *viewController; diff --git a/samples/HighScores/HighScores/HighScoresAppDelegate.m b/samples/HighScores/HighScores/HighScoresAppDelegate.m index f90b96ef..88683f78 100644 --- a/samples/HighScores/HighScores/HighScoresAppDelegate.m +++ b/samples/HighScores/HighScores/HighScoresAppDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,59 +20,59 @@ @implementation HighScoresAppDelegate -@synthesize window=_window; +@synthesize window = _window; -@synthesize viewController=_viewController; +@synthesize viewController = _viewController; -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. - + self.window.rootViewController = self.viewController; [self.window makeKeyAndVisible]; return YES; } -- (void)applicationWillResignActive:(UIApplication *)application +-(void)applicationWillResignActive:(UIApplication *)application { /* - Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + * Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + * Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. */ } -- (void)applicationDidEnterBackground:(UIApplication *)application +-(void)applicationDidEnterBackground:(UIApplication *)application { /* - Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + * Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + * If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. */ } -- (void)applicationWillEnterForeground:(UIApplication *)application +-(void)applicationWillEnterForeground:(UIApplication *)application { /* - Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + * Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. */ } -- (void)applicationDidBecomeActive:(UIApplication *)application +-(void)applicationDidBecomeActive:(UIApplication *)application { /* - Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + * Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. */ } -- (void)applicationWillTerminate:(UIApplication *)application +-(void)applicationWillTerminate:(UIApplication *)application { /* - Called when the application is about to terminate. - Save data if appropriate. - See also applicationDidEnterBackground:. + * Called when the application is about to terminate. + * Save data if appropriate. + * See also applicationDidEnterBackground:. */ } -- (void)dealloc +-(void)dealloc { [_window release]; [_viewController release]; diff --git a/samples/HighScores/HighScores/HighScoresTableViewController.h b/samples/HighScores/HighScores/HighScoresTableViewController.h index 5f48465e..3b8dcc6e 100644 --- a/samples/HighScores/HighScores/HighScoresTableViewController.h +++ b/samples/HighScores/HighScores/HighScoresTableViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -16,12 +16,11 @@ #import #import "HighScoreList.h" -@interface HighScoresTableViewController : UIViewController { - +@interface HighScoresTableViewController:UIViewController { IBOutlet UITableView *highScores; - - HighScoreList *highScoreList; - NSMutableArray *scores; + + HighScoreList *highScoreList; + NSMutableArray *scores; } -(id)initWithSortMethod:(int)theSortMethod; diff --git a/samples/HighScores/HighScores/HighScoresTableViewController.m b/samples/HighScores/HighScores/HighScoresTableViewController.m index 77efaf8f..c377c653 100644 --- a/samples/HighScores/HighScores/HighScoresTableViewController.m +++ b/samples/HighScores/HighScores/HighScoresTableViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ @implementation HighScoresTableViewController -(id)initWithSortMethod:(int)theSortMethod { highScoreList = [[HighScoreList alloc] initWithSortMethod:theSortMethod]; - scores = [[NSMutableArray alloc] initWithCapacity:0]; + scores = [[NSMutableArray alloc] initWithCapacity:0]; return [super initWithNibName:@"HighScoresTableViewController" bundle:nil]; } @@ -44,58 +44,58 @@ -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger) -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { - if ( [scores count] == 0 ) { + if ( [scores count] == 0) { [scores addObjectsFromArray:[highScoreList getHighScores]]; - } - else if ( indexPath.row > [scores count] - 1 ) { + } + else if (indexPath.row > [scores count] - 1) { [scores addObjectsFromArray:[highScoreList getNextPageOfScores]]; } - - + + static NSString *CellIdentifier = @"Cell"; - + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; - + if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:CellIdentifier] autorelease]; } - - // Configure the cell... - HighScore *highScore = [scores objectAtIndex:indexPath.row]; - cell.textLabel.text = highScore.player; + + // Configure the cell... + HighScore *highScore = [scores objectAtIndex:indexPath.row]; + cell.textLabel.text = highScore.player; cell.textLabel.adjustsFontSizeToFitWidth = YES; - cell.detailTextLabel.text = [NSString stringWithFormat:@"%d", highScore.score]; - + cell.detailTextLabel.text = [NSString stringWithFormat:@"%d", highScore.score]; + return cell; } -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { - HighScore *highScore = (HighScore*)[scores objectAtIndex:indexPath.row]; - + HighScore *highScore = (HighScore *)[scores objectAtIndex:indexPath.row]; + PlayerViewController *playerView = [[PlayerViewController alloc] initWithPlayer:highScore]; - + playerView.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; [self presentModalViewController:playerView animated:YES]; - [playerView release]; + [playerView release]; } -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { if (editingStyle == UITableViewCellEditingStyleDelete) { - HighScore *highScore = (HighScore*)[scores objectAtIndex:indexPath.row]; + HighScore *highScore = (HighScore *)[scores objectAtIndex:indexPath.row]; [highScoreList removeHighScore:highScore]; - + [scores removeObjectAtIndex:indexPath.row]; - - NSArray *indexPaths = [NSArray arrayWithObjects:indexPath, nil]; + + NSArray *indexPaths = [NSArray arrayWithObjects:indexPath, nil]; [tableView beginUpdates]; [tableView deleteRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationFade]; - [tableView endUpdates]; + [tableView endUpdates]; } } --(void)dealloc +-(void)dealloc { [scores release]; [highScoreList release]; diff --git a/samples/HighScores/HighScores/HighScoresViewController.h b/samples/HighScores/HighScores/HighScoresViewController.h index e0e98cb4..528251ff 100644 --- a/samples/HighScores/HighScores/HighScoresViewController.h +++ b/samples/HighScores/HighScores/HighScoresViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ #import -@interface HighScoresViewController : UIViewController { +@interface HighScoresViewController:UIViewController { IBOutlet UISwitch *sortByPlayer; IBOutlet UISwitch *sortByScore; } diff --git a/samples/HighScores/HighScores/HighScoresViewController.m b/samples/HighScores/HighScores/HighScoresViewController.m index 06adc215..37853e1a 100644 --- a/samples/HighScores/HighScores/HighScoresViewController.m +++ b/samples/HighScores/HighScores/HighScoresViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,21 +22,21 @@ @implementation HighScoresViewController -(void)viewDidLoad { - if ( [ACCESS_KEY_ID isEqualToString:@"CHANGE ME"] ) { - [[Constants credentialsAlert] show]; + if ( [ACCESS_KEY_ID isEqualToString:@"CHANGE ME"]) { + [[Constants credentialsAlert] show]; } } -(IBAction)playerSort:(id)sender { - if ( sortByPlayer.on ) { + if (sortByPlayer.on) { [sortByScore setOn:NO animated:YES]; } } -(IBAction)scoreSort:(id)sender { - if ( sortByScore.on ) { + if (sortByScore.on) { [sortByPlayer setOn:NO animated:YES]; } } @@ -44,16 +44,17 @@ -(IBAction)scoreSort:(id)sender -(IBAction)showScores:(id)sender { HighScoresTableViewController *scores = nil; - if ( sortByScore.on ) { + + if (sortByScore.on) { scores = [[HighScoresTableViewController alloc] initWithSortMethod:SCORE_SORT]; } - else if ( sortByPlayer.on ) { + else if (sortByPlayer.on) { scores = [[HighScoresTableViewController alloc] initWithSortMethod:PLAYER_SORT]; - } + } else { - scores = [[HighScoresTableViewController alloc] initWithSortMethod:NO_SORT]; + scores = [[HighScoresTableViewController alloc] initWithSortMethod:NO_SORT]; } - + scores.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; [self presentModalViewController:scores animated:YES]; [scores release]; @@ -62,6 +63,7 @@ -(IBAction)showScores:(id)sender -(IBAction)addSingleScore:(id)sender { AddScoreViewController *addScores = [[AddScoreViewController alloc] init]; + addScores.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; [self presentModalViewController:addScores animated:YES]; [addScores release]; @@ -70,19 +72,20 @@ -(IBAction)addSingleScore:(id)sender -(IBAction)createHighScoresList:(id)sender { HighScoreList *highScores = [[[HighScoreList alloc] init] autorelease]; + [highScores createHighScoresDomain]; - - for ( int i = 1; i < 10; i++ ) { - NSString *player = [Constants getRandomPlayerName]; - HighScore *highScore = [[[HighScore alloc] initWithPlayer:player andScore:[Constants getRandomScore]] autorelease]; - + for (int i = 1; i < 10; i++) { + NSString *player = [Constants getRandomPlayerName]; + HighScore *highScore = [[[HighScore alloc] initWithPlayer:player andScore:[Constants getRandomScore]] autorelease]; + [highScores addHighScore:highScore]; } } -- (IBAction)clearHighScoreList:(id)sender +-(IBAction)clearHighScoreList:(id)sender { - HighScoreList *highScores = [[[HighScoreList alloc] init] autorelease]; + HighScoreList *highScores = [[[HighScoreList alloc] init] autorelease]; + [highScores clearHighScores]; } diff --git a/samples/HighScores/HighScores/PlayerViewController.h b/samples/HighScores/HighScores/PlayerViewController.h index 083eece3..a0b5b0dc 100644 --- a/samples/HighScores/HighScores/PlayerViewController.h +++ b/samples/HighScores/HighScores/PlayerViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,16 +17,14 @@ #import "HighScore.h" -@interface PlayerViewController : UIViewController { - - HighScore *playerScore; - +@interface PlayerViewController:UIViewController { + HighScore *playerScore; + IBOutlet UILabel *player; IBOutlet UILabel *score; - } -- (id)initWithPlayer:(HighScore*)thePlayer; +-(id)initWithPlayer:(HighScore *)thePlayer; -(IBAction)ok:(id)sender; diff --git a/samples/HighScores/HighScores/PlayerViewController.m b/samples/HighScores/HighScores/PlayerViewController.m index 80d200e2..738da63c 100644 --- a/samples/HighScores/HighScores/PlayerViewController.m +++ b/samples/HighScores/HighScores/PlayerViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -18,25 +18,25 @@ @implementation PlayerViewController -- (id)initWithPlayer:(HighScore*)thePlayer; -{ - if ( (self = [super initWithNibName:@"PlayerViewController" bundle:nil]) ) { +-(id)initWithPlayer:(HighScore *)thePlayer; +{ + if ((self = [super initWithNibName:@"PlayerViewController" bundle:nil])) { playerScore = thePlayer; } - - return self; + + return self; } -(IBAction)ok:(id)sender { - [self dismissModalViewControllerAnimated:YES]; + [self dismissModalViewControllerAnimated:YES]; } -- (void)viewDidLoad +-(void)viewDidLoad { player.text = playerScore.player; - score.text = [NSString stringWithFormat:@"%d", playerScore.score]; - + score.text = [NSString stringWithFormat:@"%d", playerScore.score]; + [super viewDidLoad]; } diff --git a/samples/HighScores/HighScores/main.m b/samples/HighScores/HighScores/main.m index 8b755b1a..d7f08413 100644 --- a/samples/HighScores/HighScores/main.m +++ b/samples/HighScores/HighScores/main.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,8 +17,9 @@ int main(int argc, char *argv[]) { - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - int retVal = UIApplicationMain(argc, argv, nil, nil); + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + int retVal = UIApplicationMain(argc, argv, nil, nil); + [pool release]; return retVal; } diff --git a/samples/MessageBoard/.DS_Store b/samples/MessageBoard/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e174f6f46ecb2241fbb62ae817320a998cc73816 GIT binary patch literal 6149 zcmeHKyH3PF3>?E1C!n~Ja({t8SVc!k#SicZqB$uNC;C);7oW!XA;c*{N<)Ljkv+SP zXQNCJ#{g`2A8&vifGyn-A0C$G_uUtERv9DGdB!7N@qz&pSL@8VSGXhV$m=Kn4dZxx zK0Hm+Vck)xk^)jd3P=GdAO%(^;Juf&y-ZY;0#ZNzzjIv8REAa0lr z<2q&uV)F#C7tV>y&@8FMq*{#_mUQM@)%C(TG3l@xKCGT>HKABMo#(eGhxJ57DIf(- z6*$lB&inr@{g?Uwl%$;$kOKco0o&~F_XA(4dh6olyw^7R1Kn#r>26#Hg(2E8G1@UV h-j1)MDC?T9dA}FVi9u&R=tTVtxGpj&@Yf1ld;vWS72*H@ literal 0 HcmV?d00001 diff --git a/samples/MessageBoard/MessageBoard/Constants.h b/samples/MessageBoard/MessageBoard/Constants.h index 26e1d6d8..464f517b 100644 --- a/samples/MessageBoard/MessageBoard/Constants.h +++ b/samples/MessageBoard/MessageBoard/Constants.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,15 +22,15 @@ // to devices securely. // http://aws.amazon.com/articles/Mobile/4611615499399490 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -#define ACCESS_KEY_ID @"CHANGE ME" -#define SECRET_KEY @"CHANGE ME" -#define CONFIRM_SUBSCRIPTION_MESSAGE @"A confirmation must be accepted before messages are received." -#define QUEUE_NOTICE @"It may take a few minutes before the queue starts receiving messages." -#define SMS_SUBSCRIPTION_MESSAGE @"SMS Subscritions must include country codes. 1 for US phones." -#define CREDENTIALS_MESSAGE @"AWS Credentials not configured correctly. Please review the README file." +#define ACCESS_KEY_ID @"CHANGE ME" +#define SECRET_KEY @"CHANGE ME" +#define CONFIRM_SUBSCRIPTION_MESSAGE @"A confirmation must be accepted before messages are received." +#define QUEUE_NOTICE @"It may take a few minutes before the queue starts receiving messages." +#define SMS_SUBSCRIPTION_MESSAGE @"SMS Subscritions must include country codes. 1 for US phones." +#define CREDENTIALS_MESSAGE @"AWS Credentials not configured correctly. Please review the README file." -#define TOPIC_NAME @"MessageBoard" -#define QUEUE_NAME @"message-board-queue" +#define TOPIC_NAME @"MessageBoard" +#define QUEUE_NAME @"message-board-queue" @interface Constants:NSObject { } diff --git a/samples/MessageBoard/MessageBoard/Constants.m b/samples/MessageBoard/MessageBoard/Constants.m index fc9d2086..af22bea5 100644 --- a/samples/MessageBoard/MessageBoard/Constants.m +++ b/samples/MessageBoard/MessageBoard/Constants.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -35,7 +35,7 @@ +(UIAlertView *)smsSubscriptionAlert +(UIAlertView *)credentialsAlert { - return [[[UIAlertView alloc] initWithTitle:@"Missing Credentials" message:CREDENTIALS_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] autorelease]; + return [[[UIAlertView alloc] initWithTitle:@"Missing Credentials" message:CREDENTIALS_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] autorelease]; } @end diff --git a/samples/MessageBoard/MessageBoard/MembersViewController.h b/samples/MessageBoard/MessageBoard/MembersViewController.h index 366836f0..cf4eca20 100644 --- a/samples/MessageBoard/MessageBoard/MembersViewController.h +++ b/samples/MessageBoard/MessageBoard/MembersViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ #import // View used to display the subscribers for the topic. -@interface MembersViewController : UIViewController { - IBOutlet UITableView *members; +@interface MembersViewController:UIViewController { + IBOutlet UITableView *members; } @property (nonatomic, retain) NSMutableArray *subscribers; diff --git a/samples/MessageBoard/MessageBoard/MembersViewController.m b/samples/MessageBoard/MessageBoard/MembersViewController.m index 016b6a29..5d9f9573 100644 --- a/samples/MessageBoard/MessageBoard/MembersViewController.m +++ b/samples/MessageBoard/MessageBoard/MembersViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ @implementation MembersViewController @synthesize subscribers; -- (id)init +-(id)init { self.subscribers = [[MessageBoard instance] listSubscribers]; return [super initWithNibName:@"MembersViewController" bundle:nil]; @@ -45,19 +45,19 @@ -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger) -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; - + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; - + if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:CellIdentifier] autorelease]; } - - // Configure the cell... - SNSSubscription *subscriber = [self.subscribers objectAtIndex:indexPath.row]; - cell.textLabel.text = subscriber.endpoint; + + // Configure the cell... + SNSSubscription *subscriber = [self.subscribers objectAtIndex:indexPath.row]; + cell.textLabel.text = subscriber.endpoint; cell.textLabel.adjustsFontSizeToFitWidth = YES; - cell.detailTextLabel.text = subscriber.protocol; - + cell.detailTextLabel.text = subscriber.protocol; + return cell; } @@ -65,18 +65,18 @@ -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEdi { if (editingStyle == UITableViewCellEditingStyleDelete) { SNSSubscription *subscriber = [self.subscribers objectAtIndex:indexPath.row]; - + [[MessageBoard instance] removeSubscriber:subscriber.subscriptionArn]; [self.subscribers removeObjectAtIndex:indexPath.row]; - NSArray *indexPaths = [NSArray arrayWithObjects:indexPath, nil]; + NSArray *indexPaths = [NSArray arrayWithObjects:indexPath, nil]; [tableView beginUpdates]; [tableView deleteRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationFade]; - [tableView endUpdates]; + [tableView endUpdates]; } } -- (void)dealloc +-(void)dealloc { [subscribers release]; [super dealloc]; diff --git a/samples/MessageBoard/MessageBoard/MessageBoard.h b/samples/MessageBoard/MessageBoard/MessageBoard.h index 73efe0cd..118a03c0 100644 --- a/samples/MessageBoard/MessageBoard/MessageBoard.h +++ b/samples/MessageBoard/MessageBoard/MessageBoard.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -18,33 +18,33 @@ #import #import -@interface MessageBoard : NSObject { +@interface MessageBoard:NSObject { AmazonSNSClient *snsClient; AmazonSQSClient *sqsClient; - NSString *topicARN; - NSString *queueUrl; + NSString *topicARN; + NSString *queueUrl; } -+(MessageBoard*)instance; ++(MessageBoard *)instance; -(id)init; --(NSString*)createTopic; +-(NSString *)createTopic; -(void)deleteTopic; --(NSString*)findTopicArn; --(void)subscribeEmail:(NSString*)emailAddress; --(void)subscribeSms:(NSString*)smsNumber; --(void)post:(NSString*)theMessage; --(NSMutableArray*)listSubscribers; --(void)removeSubscriber:(NSString*)subscriptionArn; +-(NSString *)findTopicArn; +-(void)subscribeEmail:(NSString *)emailAddress; +-(void)subscribeSms:(NSString *)smsNumber; +-(void)post:(NSString *)theMessage; +-(NSMutableArray *)listSubscribers; +-(void)removeSubscriber:(NSString *)subscriptionArn; --(NSString*)findQueueUrl; --(NSMutableArray*)getMessagesFromQueue; +-(NSString *)findQueueUrl; +-(NSMutableArray *)getMessagesFromQueue; -(void)subscribeQueue; --(NSString*)createQueue; +-(NSString *)createQueue; -(void)deleteQueue; --(NSString*)getQueueArn:(NSString*)queueUrl; --(void)addPolicyToQueueForTopic:(NSString*)queueUrl queueArn:(NSString*)queueArn; --(NSString*)generateSqsPolicyForTopic:(NSString*)queueArn; --(void)deleteMessageFromQueue:(SQSMessage*)message; +-(NSString *)getQueueArn:(NSString *)queueUrl; +-(void)addPolicyToQueueForTopic:(NSString *)queueUrl queueArn:(NSString *)queueArn; +-(NSString *)generateSqsPolicyForTopic:(NSString *)queueArn; +-(void)deleteMessageFromQueue:(SQSMessage *)message; @end diff --git a/samples/MessageBoard/MessageBoard/MessageBoard.m b/samples/MessageBoard/MessageBoard/MessageBoard.m index 52daeaa2..e2949ab3 100644 --- a/samples/MessageBoard/MessageBoard/MessageBoard.m +++ b/samples/MessageBoard/MessageBoard/MessageBoard.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -18,25 +18,25 @@ #import "Constants.h" - -// This singleton class provides all the functionality to manipulate the Amazon + +// This singleton class provides all the functionality to manipulate the Amazon // SNS Topic and Amazon SQS Queue used in this sample application. @implementation MessageBoard -static MessageBoard* _instance = nil; +static MessageBoard *_instance = nil; -+(MessageBoard*)instance ++(MessageBoard *)instance { @synchronized([MessageBoard class]) { if (!_instance) { [[self alloc] init]; } - + return _instance; } - + return nil; } @@ -48,141 +48,142 @@ +(id)alloc _instance = [super alloc]; return _instance; } - + return nil; } --(id)init { +-(id)init +{ self = [super init]; if (self != nil) { - snsClient = [[AmazonSNSClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY]; - sqsClient = [[AmazonSQSClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY]; - + snsClient = [[AmazonSNSClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY]; + sqsClient = [[AmazonSQSClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY]; + // Find the Topic for this App or create one. topicARN = [[self findTopicArn] retain]; - if ( topicARN == nil ) { + if (topicARN == nil) { topicARN = [[self createTopic] retain]; } // Find the Queue for this App or create one. queueUrl = [[self findQueueUrl] retain]; - if ( queueUrl == nil ) { + if (queueUrl == nil) { queueUrl = [[self createQueue] retain]; - + // Allow time for the queue to be created. [NSThread sleepForTimeInterval:4.0]; - + [self subscribeQueue]; } } - + return self; } --(NSString*)createTopic +-(NSString *)createTopic { @try { - SNSCreateTopicRequest *ctr = [[[SNSCreateTopicRequest alloc] initWithName:TOPIC_NAME] autorelease]; - SNSCreateTopicResponse *response = [snsClient createTopic:ctr]; + SNSCreateTopicRequest *ctr = [[[SNSCreateTopicRequest alloc] initWithName:TOPIC_NAME] autorelease]; + SNSCreateTopicResponse *response = [snsClient createTopic:ctr]; // Adding the DisplayName attribute to the Topic allows for SMS notifications. - SNSSetTopicAttributesRequest* st = [[[SNSSetTopicAttributesRequest alloc] initWithTopicArn:response.topicArn andAttributeName:@"DisplayName" andAttributeValue:TOPIC_NAME] autorelease]; - [snsClient setTopicAttributes:st]; - + SNSSetTopicAttributesRequest *st = [[[SNSSetTopicAttributesRequest alloc] initWithTopicArn:response.topicArn andAttributeName:@"DisplayName" andAttributeValue:TOPIC_NAME] autorelease]; + [snsClient setTopicAttributes:st]; + return response.topicArn; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); return nil; - } + } } --(void)subscribeEmail:(NSString*)emailAddress +-(void)subscribeEmail:(NSString *)emailAddress { @try { SNSSubscribeRequest *sr = [[[SNSSubscribeRequest alloc] initWithTopicArn:topicARN andProtocol:@"email" andEndpoint:emailAddress] autorelease]; - [snsClient subscribe:sr]; + [snsClient subscribe:sr]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); } } --(void)subscribeSms:(NSString*)smsNumber +-(void)subscribeSms:(NSString *)smsNumber { @try { SNSSubscribeRequest *sr = [[[SNSSubscribeRequest alloc] initWithTopicArn:topicARN andProtocol:@"sms" andEndpoint:smsNumber] autorelease]; [snsClient subscribe:sr]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); - } + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); + } } -(void)subscribeQueue { @try { - NSString *queueArn = [self getQueueArn:queueUrl]; - + NSString *queueArn = [self getQueueArn:queueUrl]; + SNSSubscribeRequest *request = [[[SNSSubscribeRequest alloc] initWithTopicArn:topicARN andProtocol:@"sqs" andEndpoint:queueArn] autorelease]; [snsClient subscribe:request]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); - } + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); + } } --(NSMutableArray*)listSubscribers +-(NSMutableArray *)listSubscribers { @try { - SNSListSubscriptionsByTopicRequest *ls = [[[SNSListSubscriptionsByTopicRequest alloc] initWithTopicArn:topicARN] autorelease]; + SNSListSubscriptionsByTopicRequest *ls = [[[SNSListSubscriptionsByTopicRequest alloc] initWithTopicArn:topicARN] autorelease]; SNSListSubscriptionsByTopicResponse *response = [snsClient listSubscriptionsByTopic:ls]; return response.subscriptions; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); return [NSArray array]; } } // Unscribe an endpoint from the topic. --(void)removeSubscriber:(NSString*)subscriptionArn +-(void)removeSubscriber:(NSString *)subscriptionArn { @try { SNSUnsubscribeRequest *unsubscribeRequest = [[[SNSUnsubscribeRequest alloc] initWithSubscriptionArn:subscriptionArn] autorelease]; [snsClient unsubscribe:unsubscribeRequest]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); - } + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); + } } // Post a notification to the topic. --(void)post:(NSString*)theMessage; +-(void)post:(NSString *)theMessage; { @try { - if ( [theMessage isEqualToString:@"wipe"] ) { + if ( [theMessage isEqualToString:@"wipe"]) { [self deleteQueue]; [self deleteTopic]; } - else { + else { SNSPublishRequest *pr = [[[SNSPublishRequest alloc] initWithTopicArn:topicARN andMessage:theMessage] autorelease]; [snsClient publish:pr]; } } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); } } -(void)deleteTopic { @try { - SNSDeleteTopicRequest* dtr = [[[SNSDeleteTopicRequest alloc] initWithTopicArn:topicARN] autorelease]; - [snsClient deleteTopic:dtr]; + SNSDeleteTopicRequest *dtr = [[[SNSDeleteTopicRequest alloc] initWithTopicArn:topicARN] autorelease]; + [snsClient deleteTopic:dtr]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); } } @@ -192,105 +193,104 @@ -(void)deleteQueue SQSDeleteQueueRequest *request = [[[SQSDeleteQueueRequest alloc] initWithQueueUrl:queueUrl] autorelease]; [sqsClient deleteQueue:request]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); } } --(NSString*)createQueue +-(NSString *)createQueue { @try { - SQSCreateQueueRequest *cqr = [[[SQSCreateQueueRequest alloc] initWithQueueName:QUEUE_NAME] autorelease]; + SQSCreateQueueRequest *cqr = [[[SQSCreateQueueRequest alloc] initWithQueueName:QUEUE_NAME] autorelease]; SQSCreateQueueResponse *response = [sqsClient createQueue:cqr]; - - NSString *queueArn = [self getQueueArn:response.queueUrl]; + + NSString *queueArn = [self getQueueArn:response.queueUrl]; [self addPolicyToQueueForTopic:response.queueUrl queueArn:queueArn]; - + return response.queueUrl; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); - return nil; - } + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); + return nil; + } } --(NSMutableArray*)getMessagesFromQueue +-(NSMutableArray *)getMessagesFromQueue { @try { SQSReceiveMessageRequest *rmr = [[[SQSReceiveMessageRequest alloc] initWithQueueUrl:queueUrl] autorelease]; rmr.maxNumberOfMessages = [NSNumber numberWithInt:10]; - rmr.visibilityTimeout = [NSNumber numberWithInt:30]; - - SQSReceiveMessageResponse *response = nil; - NSMutableArray *allMessages = [[[NSMutableArray alloc] init] autorelease]; + rmr.visibilityTimeout = [NSNumber numberWithInt:30]; + + SQSReceiveMessageResponse *response = nil; + NSMutableArray *allMessages = [[[NSMutableArray alloc] init] autorelease]; do { response = [sqsClient receiveMessage:rmr]; [allMessages addObjectsFromArray:response.messages]; [NSThread sleepForTimeInterval:1.0]; - } - while ( [response.messages count] != 0 ); - + } while ( [response.messages count] != 0); + return allMessages; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); - return [NSArray array]; + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); + return [NSArray array]; } } --(void)deleteMessageFromQueue:(SQSMessage*)message +-(void)deleteMessageFromQueue:(SQSMessage *)message { @try { SQSDeleteMessageRequest *request = [[[SQSDeleteMessageRequest alloc] initWithQueueUrl:queueUrl andReceiptHandle:message.receiptHandle] autorelease]; [sqsClient deleteMessage:request]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); } } // Get the QueueArn attribute from the Queue. The QueueArn is necessary for create a policy on the queue // that allows for messages from the Amazon SNS Topic. --(NSString*)getQueueArn:(NSString*)theQueueUrl +-(NSString *)getQueueArn:(NSString *)theQueueUrl { @try { SQSGetQueueAttributesRequest *gqar = [[[SQSGetQueueAttributesRequest alloc] initWithQueueUrl:theQueueUrl] autorelease]; [gqar.attributeNames addObject:@"QueueArn"]; - + SQSGetQueueAttributesResponse *response = [sqsClient getQueueAttributes:gqar]; - + return [response.attributes valueForKey:@"QueueArn"]; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); return nil; - } + } } // Add a policy to a specific queue by setting the queue's Policy attribute. // Assigning a policy to the queue is necessary as described in Amazon SNS' FAQ: // http://aws.amazon.com/sns/faqs/#26 --(void)addPolicyToQueueForTopic:(NSString*)theQueueUrl queueArn:(NSString*)queueArn +-(void)addPolicyToQueueForTopic:(NSString *)theQueueUrl queueArn:(NSString *)queueArn { @try { NSMutableDictionary *attributes = [[[NSMutableDictionary alloc] init] autorelease]; [attributes setValue:[self generateSqsPolicyForTopic:queueArn] forKey:@"Policy"]; - - SQSSetQueueAttributesRequest *request = [[[SQSSetQueueAttributesRequest alloc] initWithQueueUrl:theQueueUrl andAttributes:attributes] autorelease]; - [sqsClient setQueueAttributes:request]; + + SQSSetQueueAttributesRequest *request = [[[SQSSetQueueAttributesRequest alloc] initWithQueueUrl:theQueueUrl andAttributes:attributes] autorelease]; + [sqsClient setQueueAttributes:request]; // It can take some time for policy to propagate to the queue. } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); - } + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); + } } -// Creates the policy object that is necessary to allow the topic to send message to the queue. The topic will +// Creates the policy object that is necessary to allow the topic to send message to the queue. The topic will // send all topic notifications to the queue. --(NSString*)generateSqsPolicyForTopic:(NSString*)queueArn +-(NSString *)generateSqsPolicyForTopic:(NSString *)queueArn { NSMutableString *policy = [[NSMutableString alloc] initWithCapacity:256]; - + [policy appendString:@"{"]; [policy appendString:[[[NSString alloc] initWithFormat:@"\"Version\":\"2008-10-17\","] autorelease]]; [policy appendString:[[[NSString alloc] initWithFormat:@"\"Id\":\"%@/policyId\",", queueArn] autorelease]]; @@ -307,61 +307,58 @@ -(NSString*)generateSqsPolicyForTopic:(NSString*)queueArn [policy appendString:[[[NSString alloc] initWithFormat:@" }"] autorelease]]; [policy appendString:[[[NSString alloc] initWithFormat:@"]"] autorelease]]; [policy appendString:@"}"]; - + return [policy autorelease]; } // Determines if a topic exists with the given topic name. // The topic name is assigned in the Constants.h file. --(NSString*)findTopicArn +-(NSString *)findTopicArn { @try { NSString *topicNameToFind = [NSString stringWithFormat:@":%@", TOPIC_NAME]; - NSString *nextToken = nil; + NSString *nextToken = nil; do { - SNSListTopicsRequest *listTopicsRequest = [[[SNSListTopicsRequest alloc] initWithNextToken:nextToken] autorelease]; - SNSListTopicsResponse *response = [snsClient listTopics:listTopicsRequest]; - - for ( SNSTopic *topic in response.topics ) { - if ( [topic.topicArn hasSuffix:topicNameToFind] ) { + SNSListTopicsRequest *listTopicsRequest = [[[SNSListTopicsRequest alloc] initWithNextToken:nextToken] autorelease]; + SNSListTopicsResponse *response = [snsClient listTopics:listTopicsRequest]; + for (SNSTopic *topic in response.topics) { + if ( [topic.topicArn hasSuffix:topicNameToFind]) { return topic.topicArn; } } - + nextToken = response.nextToken; - } - while ( nextToken != nil ); - + } while (nextToken != nil); + return nil; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); return nil; - } + } } // Determine if a queue exists with the given queue name. // The queue name is assigned in the Constants.h file. --(NSString*)findQueueUrl +-(NSString *)findQueueUrl { @try { - NSString *queueNameToFind = [NSString stringWithFormat:@"/%@", QUEUE_NAME]; - - SQSListQueuesRequest *request = [[[SQSListQueuesRequest alloc] init] autorelease]; + NSString *queueNameToFind = [NSString stringWithFormat:@"/%@", QUEUE_NAME]; + + SQSListQueuesRequest *request = [[[SQSListQueuesRequest alloc] init] autorelease]; SQSListQueuesResponse *queuesResponse = [sqsClient listQueues:request]; - - for ( NSString *qUrl in queuesResponse.queueUrls ) { - if ( [qUrl hasSuffix:queueNameToFind] ) { + for (NSString *qUrl in queuesResponse.queueUrls) { + if ( [qUrl hasSuffix:queueNameToFind]) { return qUrl; } } - + return nil; } - @catch ( NSException *exception ) { - NSLog( @"Exception : %@", exception ); + @catch (NSException *exception) { + NSLog(@"Exception : %@", exception); return nil; - } + } } -(void)dealloc diff --git a/samples/MessageBoard/MessageBoard/MessageQueueController.h b/samples/MessageBoard/MessageBoard/MessageQueueController.h index ef861949..97607b52 100644 --- a/samples/MessageBoard/MessageBoard/MessageQueueController.h +++ b/samples/MessageBoard/MessageBoard/MessageQueueController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,14 +17,14 @@ // View used to display the messages in the queue. -@interface MessageQueueController : UIViewController { - IBOutlet UITableView *messageTable; +@interface MessageQueueController:UIViewController { + IBOutlet UITableView *messageTable; } @property (nonatomic, retain) NSMutableArray *messages; -(IBAction)back:(id)sender; --(NSString*)extractMessageFromJson:(NSString*)json; +-(NSString *)extractMessageFromJson:(NSString *)json; @end diff --git a/samples/MessageBoard/MessageBoard/MessageQueueController.m b/samples/MessageBoard/MessageBoard/MessageQueueController.m index 0a7b1b58..0f756676 100644 --- a/samples/MessageBoard/MessageBoard/MessageQueueController.m +++ b/samples/MessageBoard/MessageBoard/MessageQueueController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ @implementation MessageQueueController @synthesize messages; -- (id)init +-(id)init { self.messages = [[MessageBoard instance] getMessagesFromQueue]; return [super initWithNibName:@"MessageQueueController" bundle:nil]; @@ -46,70 +46,70 @@ -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger) -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; - + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; - + if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:CellIdentifier] autorelease]; } - - // Configure the cell... - SQSMessage *message = [self.messages objectAtIndex:indexPath.row]; - if ( message != nil && message.body != nil ){ - cell.textLabel.text = [self extractMessageFromJson:message.body]; - cell.textLabel.adjustsFontSizeToFitWidth = YES; + + // Configure the cell... + SQSMessage *message = [self.messages objectAtIndex:indexPath.row]; + if (message != nil && message.body != nil) { + cell.textLabel.text = [self extractMessageFromJson:message.body]; + cell.textLabel.adjustsFontSizeToFitWidth = YES; } - + return cell; } -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { if (editingStyle == UITableViewCellEditingStyleDelete) { - SQSMessage *message = [self.messages objectAtIndex:indexPath.row]; - + SQSMessage *message = [self.messages objectAtIndex:indexPath.row]; + [[MessageBoard instance] deleteMessageFromQueue:message]; [self.messages removeObjectAtIndex:indexPath.row]; - - NSArray *indexPaths = [NSArray arrayWithObjects:indexPath, nil]; + + NSArray *indexPaths = [NSArray arrayWithObjects:indexPath, nil]; [tableView beginUpdates]; [tableView deleteRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationFade]; - [tableView endUpdates]; + [tableView endUpdates]; } } //------------------------------------------- // Better to use an actual JSON Parser here. //------------------------------------------- --(NSString*)extractMessageFromJson:(NSString*)json +-(NSString *)extractMessageFromJson:(NSString *)json { @try { NSRange startIndex = [json rangeOfString:@"\"Message\""]; - if ( startIndex.length != 0 ) { + if (startIndex.length != 0) { NSRange startIndexRange = { startIndex.location, [json length] - startIndex.location }; - - NSRange colonIndex = [json rangeOfString:@":" options:NSLiteralSearch range:startIndexRange]; + + NSRange colonIndex = [json rangeOfString:@":" options:NSLiteralSearch range:startIndexRange]; NSRange colonIndexRange = { colonIndex.location, [json length] - colonIndex.location }; - + NSRange startQuoteIndex = [json rangeOfString:@"\"" options:NSLiteralSearch range:colonIndexRange]; NSRange startQuoteRange = { startQuoteIndex.location + 1, [json length] - startQuoteIndex.location - 1 }; - + NSRange endQuoteIndex = [json rangeOfString:@"\"" options:NSLiteralSearch range:startQuoteRange]; - + NSRange elementRange = { startQuoteIndex.location + 1, endQuoteIndex.location - startQuoteIndex.location - 1 }; - + return [json substringWithRange:elementRange]; } else { return nil; } } - @catch ( NSException *exception ) { + @catch (NSException *exception) { return nil; } } -- (void)dealloc +-(void)dealloc { [messages release]; [super dealloc]; diff --git a/samples/MessageBoard/MessageBoard/Message_BoardAppDelegate.h b/samples/MessageBoard/MessageBoard/Message_BoardAppDelegate.h index 31aca880..53f4f915 100644 --- a/samples/MessageBoard/MessageBoard/Message_BoardAppDelegate.h +++ b/samples/MessageBoard/MessageBoard/Message_BoardAppDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -18,11 +18,10 @@ @class Message_BoardViewController; -@interface Message_BoardAppDelegate : NSObject { - +@interface Message_BoardAppDelegate:NSObject { } -@property (nonatomic, retain) IBOutlet UIWindow *window; +@property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet Message_BoardViewController *viewController; diff --git a/samples/MessageBoard/MessageBoard/Message_BoardAppDelegate.m b/samples/MessageBoard/MessageBoard/Message_BoardAppDelegate.m index 19b43c75..07f8b5f6 100644 --- a/samples/MessageBoard/MessageBoard/Message_BoardAppDelegate.m +++ b/samples/MessageBoard/MessageBoard/Message_BoardAppDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,60 +21,60 @@ @implementation Message_BoardAppDelegate -@synthesize window=_window; +@synthesize window = _window; -@synthesize viewController=_viewController; +@synthesize viewController = _viewController; -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. [MessageBoard instance]; // Initialized here to more quickly be available when the app is running. - + self.window.rootViewController = self.viewController; [self.window makeKeyAndVisible]; return YES; } -- (void)applicationWillResignActive:(UIApplication *)application +-(void)applicationWillResignActive:(UIApplication *)application { /* - Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + * Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + * Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. */ } -- (void)applicationDidEnterBackground:(UIApplication *)application +-(void)applicationDidEnterBackground:(UIApplication *)application { /* - Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + * Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + * If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. */ } -- (void)applicationWillEnterForeground:(UIApplication *)application +-(void)applicationWillEnterForeground:(UIApplication *)application { /* - Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + * Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. */ } -- (void)applicationDidBecomeActive:(UIApplication *)application +-(void)applicationDidBecomeActive:(UIApplication *)application { /* - Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + * Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. */ } -- (void)applicationWillTerminate:(UIApplication *)application +-(void)applicationWillTerminate:(UIApplication *)application { /* - Called when the application is about to terminate. - Save data if appropriate. - See also applicationDidEnterBackground:. + * Called when the application is about to terminate. + * Save data if appropriate. + * See also applicationDidEnterBackground:. */ } -- (void)dealloc +-(void)dealloc { [_window release]; [_viewController release]; diff --git a/samples/MessageBoard/MessageBoard/Message_BoardViewController.h b/samples/MessageBoard/MessageBoard/Message_BoardViewController.h index 0b54ec2b..529afe9f 100644 --- a/samples/MessageBoard/MessageBoard/Message_BoardViewController.h +++ b/samples/MessageBoard/MessageBoard/Message_BoardViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,14 +19,14 @@ #import "MessageBoard.h" // Main View -@interface Message_BoardViewController : UIViewController { - MessageBoard *messageBoard; +@interface Message_BoardViewController:UIViewController { + MessageBoard *messageBoard; IBOutlet UITextField *message; IBOutlet UITextField *email; IBOutlet UITextField *sms; - - bool seenQueueMessage; + + bool seenQueueMessage; } -(IBAction)subscribeEmail:(id)sender; @@ -35,7 +35,7 @@ -(IBAction)viewQueue:(id)sender; -(IBAction)post:(id)sender; --(void)animateTextField:(UITextField*)textField up:(BOOL)moveUp; +-(void)animateTextField:(UITextField *)textField up:(BOOL)moveUp; @end diff --git a/samples/MessageBoard/MessageBoard/Message_BoardViewController.m b/samples/MessageBoard/MessageBoard/Message_BoardViewController.m index a9fb0e99..5f1db962 100644 --- a/samples/MessageBoard/MessageBoard/Message_BoardViewController.m +++ b/samples/MessageBoard/MessageBoard/Message_BoardViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -25,28 +25,28 @@ @implementation Message_BoardViewController -(void)viewDidLoad { - if ( [ACCESS_KEY_ID isEqualToString:@"CHANGE ME"] ) { - [[Constants credentialsAlert] show]; + if ( [ACCESS_KEY_ID isEqualToString:@"CHANGE ME"]) { + [[Constants credentialsAlert] show]; } } -(IBAction)viewQueue:(id)sender { - if ( !seenQueueMessage ) { + if (!seenQueueMessage) { seenQueueMessage = YES; - [[Constants queueAlert] show]; + [[Constants queueAlert] show]; } - - MessageQueueController *queue = [[MessageQueueController alloc] init]; + + MessageQueueController *queue = [[MessageQueueController alloc] init]; queue.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; [self presentModalViewController:queue animated:YES]; - [queue release]; + [queue release]; } -(IBAction)subscribeEmail:(id)sender { - [email resignFirstResponder]; + [email resignFirstResponder]; [[MessageBoard instance] subscribeEmail:email.text]; [[Constants confirmationAlert] show]; } @@ -54,11 +54,11 @@ -(IBAction)subscribeEmail:(id)sender -(IBAction)subscribeSMS:(id)sender { [sms resignFirstResponder]; - - if ( [sms.text length] < 10 ) { - [[Constants smsSubscriptionAlert] show]; + + if ( [sms.text length] < 10) { + [[Constants smsSubscriptionAlert] show]; } - else { + else { [[MessageBoard instance] subscribeSms:sms.text]; [[Constants confirmationAlert] show]; } @@ -66,7 +66,8 @@ -(IBAction)subscribeSMS:(id)sender -(IBAction)viewMembers:(id)sender { - MembersViewController *members = [[MembersViewController alloc] init]; + MembersViewController *members = [[MembersViewController alloc] init]; + members.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; [self presentModalViewController:members animated:YES]; [members release]; @@ -74,8 +75,8 @@ -(IBAction)viewMembers:(id)sender -(IBAction)post:(id)sender { - [message resignFirstResponder]; - [[MessageBoard instance] post:message.text]; + [message resignFirstResponder]; + [[MessageBoard instance] post:message.text]; } -(BOOL) textFieldShouldReturn:(UITextField *)textField @@ -94,21 +95,22 @@ -(void)textFieldDidEndEditing:(UITextField *)textField [self animateTextField:sms up:NO]; } --(void)animateTextField:(UITextField*)textField up:(BOOL)moveUp +-(void)animateTextField:(UITextField *)textField up:(BOOL)moveUp { int move = 50; - if ( moveUp ) { + + if (moveUp) { move = -50; } - - [UIView beginAnimations: @"animation" context: nil]; - [UIView setAnimationBeginsFromCurrentState: YES]; + + [UIView beginAnimations:@"animation" context:nil]; + [UIView setAnimationBeginsFromCurrentState:YES]; [UIView setAnimationDuration:0.25f]; self.view.frame = CGRectOffset(self.view.frame, 0, move); [UIView commitAnimations]; } -- (void)dealloc +-(void)dealloc { [super dealloc]; } diff --git a/samples/MessageBoard/MessageBoard/main.m b/samples/MessageBoard/MessageBoard/main.m index e9d1319d..0b783230 100644 --- a/samples/MessageBoard/MessageBoard/main.m +++ b/samples/MessageBoard/MessageBoard/main.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -18,8 +18,9 @@ int main(int argc, char *argv[]) { - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - int retVal = UIApplicationMain(argc, argv, nil, nil); + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + int retVal = UIApplicationMain(argc, argv, nil, nil); + [pool release]; return retVal; } diff --git a/samples/S3Uploader/S3Uploader/Constants.h b/samples/S3Uploader/S3Uploader/Constants.h index 2bb93819..7c0de6e6 100644 --- a/samples/S3Uploader/S3Uploader/Constants.h +++ b/samples/S3Uploader/S3Uploader/Constants.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -15,16 +15,16 @@ // Constants used to represent your AWS Credentials. -#define ACCESS_KEY_ID @"CHANGE ME" -#define SECRET_KEY @"CHANGE ME" +#define ACCESS_KEY_ID @"CHANGE ME" +#define SECRET_KEY @"CHANGE ME" // Constants for the Bucket and Object name. -#define PICTURE_BUCKET @"picture-bucket" -#define PICTURE_NAME @"NameOfThePicture" +#define PICTURE_BUCKET @"picture-bucket" +#define PICTURE_NAME @"NameOfThePicture" -#define CREDENTIALS_MESSAGE @"AWS Credentials not configured correctly. Please review the README file." +#define CREDENTIALS_MESSAGE @"AWS Credentials not configured correctly. Please review the README file." @interface Constants:NSObject { diff --git a/samples/S3Uploader/S3Uploader/Constants.m b/samples/S3Uploader/S3Uploader/Constants.m index c5a19f56..afe668be 100644 --- a/samples/S3Uploader/S3Uploader/Constants.m +++ b/samples/S3Uploader/S3Uploader/Constants.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ +(void)showAlertMessage:(NSString *)message withTitle:(NSString *)title +(UIAlertView *)credentialsAlert { - return [[[UIAlertView alloc] initWithTitle:@"Missing Credentials" message:CREDENTIALS_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] autorelease]; + return [[[UIAlertView alloc] initWithTitle:@"Missing Credentials" message:CREDENTIALS_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] autorelease]; } @end diff --git a/samples/S3Uploader/S3Uploader/S3UploaderAppDelegate.h b/samples/S3Uploader/S3Uploader/S3UploaderAppDelegate.h index ff58edb0..933b76b2 100644 --- a/samples/S3Uploader/S3Uploader/S3UploaderAppDelegate.h +++ b/samples/S3Uploader/S3Uploader/S3UploaderAppDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/S3Uploader/S3Uploader/S3UploaderAppDelegate.m b/samples/S3Uploader/S3Uploader/S3UploaderAppDelegate.m index 087b0a1d..17f4f861 100644 --- a/samples/S3Uploader/S3Uploader/S3UploaderAppDelegate.m +++ b/samples/S3Uploader/S3Uploader/S3UploaderAppDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/S3Uploader/S3Uploader/S3UploaderViewController.h b/samples/S3Uploader/S3Uploader/S3UploaderViewController.h index ef9074e0..17287137 100644 --- a/samples/S3Uploader/S3Uploader/S3UploaderViewController.h +++ b/samples/S3Uploader/S3Uploader/S3UploaderViewController.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/S3Uploader/S3Uploader/S3UploaderViewController.m b/samples/S3Uploader/S3Uploader/S3UploaderViewController.m index 16c479f3..872e8b87 100644 --- a/samples/S3Uploader/S3Uploader/S3UploaderViewController.m +++ b/samples/S3Uploader/S3Uploader/S3UploaderViewController.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ @implementation S3UploaderViewController -(void)viewDidLoad { - if ( [ACCESS_KEY_ID isEqualToString:@"CHANGE ME"] ) { - [[Constants credentialsAlert] show]; + if ( [ACCESS_KEY_ID isEqualToString:@"CHANGE ME"]) { + [[Constants credentialsAlert] show]; } } diff --git a/samples/UserPreference/.DS_Store b/samples/UserPreference/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 + +

Running the UserPreference Sample

+

This sample is a mobile application that demonstrates how to use Amazon DynamoDB to store a user preferences using the AWS iOS SDK.

+

For a more detailed description of the code, please visit this writeup. +

    +
  1. Open the AWSiOSSDK/samples/UserPreference/UserPreference.xcodeproj project file in Xcode.
  2. +
  3. Configure the sample with your Token Vending Machine settings: +
      +
    1. Open the Constants.h file.
    2. +
    3. Modify the TOKEN_VENDING_MACHINE_URL with the DNS domain name where your Token Vending Machine is running (ex: tvm.elasticbeanstalk.com).
    4. +
    5. Modify the USE_SSL to YES or NO based on whether your Token Vending Machine is running SSL or not.
    6. +
    +
  4. Run the project.
  5. +
+ + diff --git a/samples/UserPreference/UserPreference.html b/samples/UserPreference/UserPreference.html new file mode 100644 index 00000000..1395582b --- /dev/null +++ b/samples/UserPreference/UserPreference.html @@ -0,0 +1,470 @@ + + + Storing User Preference in Amazon DynamoDB + + + +

Storing User Preference in Amazon DynamoDB using the AWS SDK for iOS and the AWS SDK for Android

+

+ Amazon DynamoDB is a fast, highly scalable, highly available, cost-effective, non-relational database service. Amazon DynamoDB removes traditional scalability limitations on data storage while maintaining low latency and predictable performance. The sample mobile application + described here demonstrates how to store user preferences in Amazon DynamoDB. Because more and more people are using multiple mobile devices, connecting these devices to the cloud and storing user preferences in the cloud enables developers to provide a more uniform cross-device experience for their users.

+

This article shows sample code for both the + iOS and Android platforms. The complete sample code and project files are included in the AWS + SDKs for these mobile platforms. Links to the SDKs are available at the end of this article. +

+

+ To use the sample app, you'll need to deploy a token vending machine (TVM). A TVM is a cloud-based application that manages AWS credentials for users of mobile applications. To deploy the TVM, you'll first need to obtain your own AWS credentials: an Access Key ID and Secret Key. +

+ If you haven't already signed up for Amazon Web Services (AWS), + you will need to do that first to get your AWS credentials. + You can sign up for AWS here. + After you sign up, you can retrieve your credentials at this page. The credentials will be used to set up the TVM to authenticate users of AWS mobile applications. Sample Java web applications are available here: Anonymous TVM and Identity TVM (This sample uses Anonymous TVM). +

+ +

Overview

+

In Amazon DynamoDB, a database is a collection of tables. A table is a collection of items, and each item is a collection of attributes. For our app, we create a single table to store our list of users and their preferences. Each item in the table represents an individual user. Each item + has multiple attributes, which include the user's name and their preferences. Each item also has a hash key—in this case, userNo—which is the primary key for the table.

+ +

The app demonstrates how to add and remove users, and modify and retrieve their preference data. The app also demonstrates how to create + and delete Amazon DynamoDB tables.

+ +

Registering the Device with Token Vending Machine

+

In order to create an Amazon DynamoDB client, we must first register the mobile device with the token vending machine (TVM). For this sample, we use the Anonymous TVM to register the device. Then we store the UID and key returned by the TVM on the device. + +

  • iOS
+

+ +
+
+RegisterDeviceRequest *request = [[[RegisterDeviceRequest alloc] initWithEndpoint:self.endpoint andUid:uid andKey:key usingSSL:self.useSSL] autorelease];
+ResponseHandler *handler = [[[ResponseHandler alloc] init] autorelease];
+
+response = [self processRequest:request responseHandler:handler];
+if ( [response wasSuccessful]) {
+    [AmazonKeyChainWrapper registerDeviceId:uid andKey:key];
+}
+

+
  • Android
+

+ +
+
+RegisterDeviceRequest registerDeviceRequest = new RegisterDeviceRequest(
+		this.endpoint, this.useSSL, uid, key);
+ResponseHandler handler = new ResponseHandler();
+
+response = this.processRequest(registerDeviceRequest, handler);
+if (response.requestWasSuccessful()) {
+	AmazonSharedPreferencesWrapper.registerDeviceId(
+			this.sharedPreferences, uid, key);
+}
+		    
+

+

+ +

Retrieving the Temporary Credentials from Token Vending Machine

+

The following code demonstrates how to request that the TVM generate temporary credentials, and how to store the returned credentials on the device. + +

  • iOS
+

+ +
+
+Request *request = [[[GetTokenRequest alloc] initWithEndpoint:self.endpoint andUid:uid andKey:key usingSSL:self.useSSL] autorelease];
+ResponseHandler *handler = [[[GetTokenResponseHandler alloc] initWithKey:key] autorelease];
+
+GetTokenResponse *response = (GetTokenResponse *)[self processRequest:request responseHandler:handler];
+
+if ( [response wasSuccessful]) {
+    [AmazonKeyChainWrapper storeCredentialsInKeyChain:response.accessKey secretKey:response.secretKey securityToken:response.securityToken expiration:response.expirationDate];
+}
+

+
  • Android
+

+ +
+
+Request getTokenRequest = new GetTokenRequest(this.endpoint,
+		this.useSSL, uid, key);
+ResponseHandler handler = new GetTokenResponseHandler(key);
+
+GetTokenResponse getTokenResponse = (GetTokenResponse) this
+		.processRequest(getTokenRequest, handler);
+if (getTokenResponse.requestWasSuccessful()) {
+	AmazonSharedPreferencesWrapper.storeCredentialsInSharedPreferences(
+			this.sharedPreferences, getTokenResponse.getAccessKey(),
+			getTokenResponse.getSecretKey(),
+			getTokenResponse.getSecurityToken(),
+			getTokenResponse.getExpirationDate());
+}
+		    
+

+

+ +

Creating an Amazon DynamoDB Client

+

To make service requests to Amazon DynamoDB, you need to instantiate an Amazon DynamoDB client. The code below shows how to create an Amazon DynamoDB client for iOS or Android using the stored temporary credentials from the TVM. + +

  • iOS
+

+ +
+
+AmazonCredentials *credentials = [AmazonKeyChainWrapper getCredentialsFromKeyChain];
+AmazonDynamoDBClient *ddb = [[AmazonDynamoDBClient alloc] initWithCredentials:credentials];
+

+
  • Android
+

+ +
+
+AWSCredentials credentials = AmazonSharedPreferencesWrapper
+		.getCredentialsFromSharedPreferences(this.sharedPreferences);
+
+AmazonDynamoDBClient ddb = new AmazonDynamoDBClient(credentials);
+		    
+

+

+ +

Creating a User List (Table Creation)

+

Each user's preferences are stored as items in an Amazon DynamoDB table. The following code creates that table using the client we created above. Every Amazon DynamoDB table require a hash key. In this sample, we use userNo as the hash key for the table. + +

  • iOS
+

+ +
+
+DynamoDBKeySchemaElement *kse = [[[DynamoDBKeySchemaElement alloc] 
+				initWithAttributeName:@"userNo" 
+				andAttributeType:@"N"] autorelease];
+
+DynamoDBKeySchema *ks = [[[DynamoDBKeySchema alloc] 
+			initWithHashKeyElement:kse] autorelease];
+
+DynamoDBProvisionedThroughput *pt = [[[DynamoDBProvisionedThroughput alloc] init] autorelease];
+pt.readCapacityUnits  = [NSNumber numberWithInt:10];
+pt.writeCapacityUnits = [NSNumber numberWithInt:5];
+
+DynamoDBCreateTableRequest *request = [[DynamoDBCreateTableRequest alloc] 
+				      initWithTableName:TEST_TABLE_NAME 
+				      andKeySchema:ks 
+				      andProvisionedThroughput:pt];
+
+DynamoDBCreateTableResponse *response = [[AmazonClientManager ddb] createTable:request];
+[request release];
+

+
  • Android
+

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+KeySchemaElement kse = new KeySchemaElement().withAttributeName(
+		"userNo").withAttributeType(ScalarAttributeType.N);
+KeySchema ks = new KeySchema().withHashKeyElement(kse);
+ProvisionedThroughput pt = new ProvisionedThroughput()
+		.withReadCapacityUnits(10l).withWriteCapacityUnits(5l);
+
+CreateTableRequest request = new CreateTableRequest()
+		.withTableName(PropertyLoader.getInstance().getTestTableName())
+		.withKeySchema(ks).withProvisionedThroughput(pt);
+
+ddb.createTable(request);
+		    
+

+

+ +

Checking the Status of the Table (Table Description)

+

Before we can move to the next step (creating users), we must wait until the status of the tables is ACTIVE. To retrieve the status of the table, we use a describe table request. This request returns information about the table such as the name of the table, item count, creation date and time, and its status. + +

  • iOS
+

+ +
+
+DynamoDBDescribeTableRequest *request = [[[DynamoDBDescribeTableRequest alloc] initWithTableName:TEST_TABLE_NAME] autorelease];
+DynamoDBDescribeTableResponse *response = [[AmazonClientManager ddb] describeTable:request];
+
+NSString *status = response.table.tableStatus;
+		    
+

+
  • Android
+

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+DescribeTableRequest request = new DescribeTableRequest()
+		.withTableName(PropertyLoader.getInstance()
+				.getTestTableName());
+DescribeTableResult result = ddb.describeTable(request);
+
+String status = result.getTable().getTableStatus();
+		    
+

+ +

+ +

Creating Users (Item Creation)

+

For each user, we'll create an item in the table. An item is a collection of attribute/value pairs. For each item, we'll have three attributes: userNo, firstName and lastName. These are added to a put item request in order to create the item.

+ +
  • iOS
+

+ +
+
+NSMutableDictionary *userDic = 
+[NSDictionary dictionaryWithObjectsAndKeys:
+    [[[DynamoDBAttributeValue alloc] initWithN:[NSString stringWithFormat:@"%d", i]] autorelease],
+    @"userNo",
+    [[[DynamoDBAttributeValue alloc] initWithS:[Constants getRandomName]] autorelease], 
+    @"firstName", 
+    [[[DynamoDBAttributeValue alloc] initWithS:[Constants getRandomName]] autorelease], 
+    @"lastName",
+    nil];
+DynamoDBPutItemRequest *request =
+    [[DynamoDBPutItemRequest alloc] 
+	initWithTableName:TEST_TABLE_NAME 
+	andItem:userDic];
+[[AmazonClientManager ddb] putItem:request];
+[request release];
+

+
  • Android
+

+ +
+
+HashMap<String, AttributeValue> item = new HashMap<String, AttributeValue>();
+
+AttributeValue userNo = new AttributeValue().withN(String
+		.valueOf(i));
+item.put("userNo", userNo);
+
+AttributeValue firstName = new AttributeValue().withS(Constants
+		.getRandomName());
+item.put("firstName", firstName);
+
+AttributeValue lastName = new AttributeValue().withS(Constants
+		.getRandomName());
+item.put("lastName", lastName);
+
+PutItemRequest request = new PutItemRequest().withTableName(
+		PropertyLoader.getInstance().getTestTableName()).withItem(
+		item);
+
+ddb.putItem(request);
+		    
+

+ +

Deleting Users (Item Deletion)

+

To remove a user from the list simply means deleting the corresponding item from the table. We specify the item we wish to delete using the hash key for the item.

+ +
  • iOS
+

+ +
+
+DynamoDBDeleteItemRequest *request = [[DynamoDBDeleteItemRequest alloc] 
+				    initWithTableName:TEST_TABLE_NAME 
+				    andKey:[[[DynamoDBKey alloc] initWithHashKeyElement:aPrimaryKey] autorelease]];
+
+[[AmazonClientManager ddb] deleteItem:request];
+[request release];
+

+
  • Android
+

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+Key primaryKey = new Key().withHashKeyElement(targetValue);
+DeleteItemRequest request = new DeleteItemRequest().withTableName(
+		PropertyLoader.getInstance().getTestTableName()).withKey(
+		primaryKey);
+ddb.deleteItem(request);
+		    
+

+

+ +

Listing Users (Table Scan)

+

We can retrieve a collection of users with a scan request. + A scan request simply scans the table and returns the results in an undetermined order. Scan is an expensive operation and should be used with care to avoid disrupting your higher priority production traffic on the table. See the Amazon DynamoDB developer guide for more recommendations for safely using the Scan operation. +

+ +
  • iOS
+

+ +
+
+DynamoDBScanRequest *request = [[[DynamoDBScanRequest alloc] initWithTableName:TEST_TABLE_NAME] autorelease];
+DynamoDBScanResponse *response = [[AmazonClientManager ddb] scan:request];
+
+NSMutableArray *users = response.items;
+		    
+

+
  • Android
+

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+ScanRequest request = new ScanRequest();
+request.setTableName(PropertyLoader.getInstance().getTestTableName());
+ScanResult result = ddb.scan(request);
+
+ArrayList<HashMap<String, AttributeValue>> users = (ArrayList<HashMap<String, AttributeValue>>) result.getItems();
+		    
+
+

+

+ +

Retrieving a User's Preferences (Item Retrieval)

+

Knowing a user's userNo, the hash key of the table, it is easy to find the item for the user. + This next snippet shows how to get all the attributes for an item using the hash key.

+ +
  • iOS
+

+ +
+
+DynamoDBGetItemRequest *request = [[DynamoDBGetItemRequest alloc] 
+				initWithTableName:TEST_TABLE_NAME 
+				andKey:[[[DynamoDBKey alloc] initWithHashKeyElement:
+					 [[[DynamoDBAttributeValue alloc] initWithN:[NSString stringWithFormat:@"%d", userNo]] autorelease]]autorelease]];
+DynamoDBGetItemResponse *response = [[AmazonClientManager ddb] getItem:request];
+[request release];
+
+NSMutableDictionary *userPereferences = response.item;
+		    
+

+
  • Android
+

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+AttributeValue userNoAttr = new AttributeValue().withN(String
+		.valueOf(userNo));
+Key primaryKey = new Key().withHashKeyElement(userNoAttr);
+GetItemRequest request = new GetItemRequest().withTableName(
+		PropertyLoader.getInstance().getTestTableName()).withKey(
+		primaryKey);
+
+GetItemResult result = ddb.getItem(request);
+
+HashMap<String, AttributeValue> userPreferences = (HashMap<String, AttributeValue>) result.getItem();
+		    
+

+

+ +

Modifying User Preferences (Item Update)

+

The hash key also makes it easy to update an attribute for an item. + +

  • iOS
+

+ +
+
+DynamoDBAttributeValue *attr = [[DynamoDBAttributeValue alloc] initWithS:aValue];
+DynamoDBAttributeValueUpdate *attrUpdate = [[DynamoDBAttributeValueUpdate alloc] 
+						   initWithValue:attr 
+						   andAction:@"PUT"];
+[attr release];
+DynamoDBUpdateItemRequest *request = [[DynamoDBUpdateItemRequest alloc] 
+				      initWithTableName:TEST_TABLE_NAME 
+				      andKey:[[[DynamoDBKey alloc] 
+					       initWithHashKeyElement:aPrimaryKey] autorelease]
+				      andAttributeUpdates:[NSMutableDictionary
+							   dictionaryWithObject: attrUpdate
+							   forKey:aKey]];
+[attrUpdate release];
+[[AmazonClientManager ddb] updateItem:request];
+[request release];
+		    
+

+
  • Android
+

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+AttributeValue av = new AttributeValue().withS(value);
+AttributeValueUpdate avu = new AttributeValueUpdate().withValue(av)
+		.withAction(AttributeAction.PUT);
+Key primaryKey = new Key().withHashKeyElement(targetValue);
+HashMap<String, AttributeValueUpdate> updates = new HashMap<String, AttributeValueUpdate>();
+updates.put(key, avu);
+
+UpdateItemRequest request = new UpdateItemRequest()
+		.withTableName(PropertyLoader.getInstance().getTestTableName())
+		.withKey(primaryKey).withAttributeUpdates(updates);
+
+ddb.updateItem(request);
+		    
+

+

+ +

List Deletion (Table Deletion)

+

The easiest way to remove all the user preference data is to delete the Amazon DynamoDB table. The following code show how. + +

  • iOS
+

+ +
+
+DynamoDBDeleteTableRequest *request = [[DynamoDBDeleteTableRequest alloc] initWithTableName:TEST_TABLE_NAME];
+        [[AmazonClientManager ddb] deleteTable:request];
+        [request release];
+		    
+

+
  • Android
+

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+DeleteTableRequest request = new DeleteTableRequest()
+		.withTableName(PropertyLoader.getInstance().getTestTableName());
+ddb.deleteTable(request);
+		    
+

+

+ +

Conclusion and Additional Resources

+

The code in this article demonstrates how to use Amazon DynamoDB as a storage device for your + mobile application. You can find more information about Amazon DynamoDB here.

+

Sample apps that include the code from this article are provided with both mobile SDKs. You can download the SDKs using the following links:

+ + + +

For more information about using AWS credentials with mobile applications see the following article:

+ + +

Questions?

+

Please feel free to ask questions or provide comments in the Mobile Development Forum.

+ + diff --git a/samples/UserPreference/UserPreference.xcodeproj/project.pbxproj b/samples/UserPreference/UserPreference.xcodeproj/project.pbxproj new file mode 100644 index 00000000..a2437fb6 --- /dev/null +++ b/samples/UserPreference/UserPreference.xcodeproj/project.pbxproj @@ -0,0 +1,418 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + CE2617D914A5476800258242 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE2617D814A5476800258242 /* UIKit.framework */; }; + CE2617DB14A5476800258242 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE2617DA14A5476800258242 /* Foundation.framework */; }; + CE2617DD14A5476800258242 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE2617DC14A5476800258242 /* CoreGraphics.framework */; }; + CE2617E314A5476800258242 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = CE2617E114A5476800258242 /* InfoPlist.strings */; }; + CE2617E514A5476800258242 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CE2617E414A5476800258242 /* main.m */; }; + CE2617E914A5476800258242 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CE2617E814A5476800258242 /* AppDelegate.m */; }; + CE2617FD14A54C2D00258242 /* WelcomeView.xib in Resources */ = {isa = PBXBuildFile; fileRef = CE2617FC14A54C2D00258242 /* WelcomeView.xib */; }; + CE71256A14B51C08006F5F34 /* UserViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CE71256914B51C03006F5F34 /* UserViewController.m */; }; + CE71256D14B53268006F5F34 /* SelectionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CE71256C14B53264006F5F34 /* SelectionViewController.m */; }; + CE79A1AB14A5528C00268707 /* WelcomeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1AA14A5528C00268707 /* WelcomeViewController.m */; }; + CE79A1B314A5553200268707 /* Constants.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1B214A5553200268707 /* Constants.m */; }; + CE79A1B614A5594A00268707 /* UserListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1B514A5594A00268707 /* UserListViewController.m */; }; + CE79A1D214AA542100268707 /* AmazonClientManager.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1B914AA542100268707 /* AmazonClientManager.m */; }; + CE79A1D314AA542100268707 /* AmazonKeyChainWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1BB14AA542100268707 /* AmazonKeyChainWrapper.m */; }; + CE79A1D414AA542100268707 /* AmazonTVMClient.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1BD14AA542100268707 /* AmazonTVMClient.m */; }; + CE79A1D514AA542100268707 /* Crypto.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1BF14AA542100268707 /* Crypto.m */; }; + CE79A1D614AA542100268707 /* GetTokenRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1C114AA542100268707 /* GetTokenRequest.m */; }; + CE79A1D714AA542100268707 /* GetTokenResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1C314AA542100268707 /* GetTokenResponse.m */; }; + CE79A1D814AA542100268707 /* GetTokenResponseHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1C514AA542100268707 /* GetTokenResponseHandler.m */; }; + CE79A1D914AA542100268707 /* JSONUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1C714AA542100268707 /* JSONUtilities.m */; }; + CE79A1DA14AA542100268707 /* RegisterDeviceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1C914AA542100268707 /* RegisterDeviceRequest.m */; }; + CE79A1DB14AA542100268707 /* Request.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1CB14AA542100268707 /* Request.m */; }; + CE79A1DC14AA542100268707 /* RequestDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1CD14AA542100268707 /* RequestDelegate.m */; }; + CE79A1DD14AA542100268707 /* Response.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1CF14AA542100268707 /* Response.m */; }; + CE79A1DE14AA542100268707 /* ResponseHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1D114AA542100268707 /* ResponseHandler.m */; }; + CE79A1E414AA54B700268707 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE79A1E314AA54B700268707 /* Security.framework */; }; + CE79A1F214AA83F200268707 /* DynamoDBManager.m in Sources */ = {isa = PBXBuildFile; fileRef = CE79A1F114AA83F200268707 /* DynamoDBManager.m */; }; + D0FCB13C14C0C9D2000F7853 /* AWSiOSSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0FCB13B14C0C9D2000F7853 /* AWSiOSSDK.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + CE2617D414A5476800258242 /* UserPreference.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UserPreference.app; sourceTree = BUILT_PRODUCTS_DIR; }; + CE2617D814A5476800258242 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + CE2617DA14A5476800258242 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + CE2617DC14A5476800258242 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + CE2617E014A5476800258242 /* UserPreference-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "UserPreference-Info.plist"; sourceTree = ""; }; + CE2617E214A5476800258242 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + CE2617E414A5476800258242 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + CE2617E614A5476800258242 /* UserPreference-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UserPreference-Prefix.pch"; sourceTree = ""; }; + CE2617E714A5476800258242 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + CE2617E814A5476800258242 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + CE2617FC14A54C2D00258242 /* WelcomeView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WelcomeView.xib; sourceTree = ""; }; + CE71256814B51BFE006F5F34 /* UserViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserViewController.h; sourceTree = ""; }; + CE71256914B51C03006F5F34 /* UserViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserViewController.m; sourceTree = ""; }; + CE71256B14B53260006F5F34 /* SelectionViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SelectionViewController.h; sourceTree = ""; }; + CE71256C14B53264006F5F34 /* SelectionViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SelectionViewController.m; sourceTree = ""; }; + CE79A1A914A5528C00268707 /* WelcomeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WelcomeViewController.h; sourceTree = ""; }; + CE79A1AA14A5528C00268707 /* WelcomeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = WelcomeViewController.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1B114A5553200268707 /* Constants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Constants.h; sourceTree = ""; }; + CE79A1B214A5553200268707 /* Constants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Constants.m; sourceTree = ""; }; + CE79A1B414A5594A00268707 /* UserListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserListViewController.h; sourceTree = ""; }; + CE79A1B514A5594A00268707 /* UserListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserListViewController.m; sourceTree = ""; }; + CE79A1B814AA542100268707 /* AmazonClientManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = AmazonClientManager.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1B914AA542100268707 /* AmazonClientManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = AmazonClientManager.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1BA14AA542100268707 /* AmazonKeyChainWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = AmazonKeyChainWrapper.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1BB14AA542100268707 /* AmazonKeyChainWrapper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = AmazonKeyChainWrapper.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1BC14AA542100268707 /* AmazonTVMClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = AmazonTVMClient.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1BD14AA542100268707 /* AmazonTVMClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = AmazonTVMClient.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1BE14AA542100268707 /* Crypto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = Crypto.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1BF14AA542100268707 /* Crypto.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = Crypto.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1C014AA542100268707 /* GetTokenRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = GetTokenRequest.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1C114AA542100268707 /* GetTokenRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = GetTokenRequest.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1C214AA542100268707 /* GetTokenResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = GetTokenResponse.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1C314AA542100268707 /* GetTokenResponse.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = GetTokenResponse.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1C414AA542100268707 /* GetTokenResponseHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = GetTokenResponseHandler.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1C514AA542100268707 /* GetTokenResponseHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = GetTokenResponseHandler.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1C614AA542100268707 /* JSONUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = JSONUtilities.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1C714AA542100268707 /* JSONUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = JSONUtilities.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1C814AA542100268707 /* RegisterDeviceRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = RegisterDeviceRequest.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1C914AA542100268707 /* RegisterDeviceRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = RegisterDeviceRequest.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1CA14AA542100268707 /* Request.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = Request.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1CB14AA542100268707 /* Request.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = Request.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1CC14AA542100268707 /* RequestDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = RequestDelegate.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1CD14AA542100268707 /* RequestDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = RequestDelegate.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1CE14AA542100268707 /* Response.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = Response.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1CF14AA542100268707 /* Response.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = Response.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1D014AA542100268707 /* ResponseHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = ResponseHandler.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + CE79A1D114AA542100268707 /* ResponseHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = ResponseHandler.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + CE79A1E314AA54B700268707 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; + CE79A1F014AA83F200268707 /* DynamoDBManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DynamoDBManager.h; sourceTree = ""; }; + CE79A1F114AA83F200268707 /* DynamoDBManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DynamoDBManager.m; sourceTree = ""; }; + D0FCB13B14C0C9D2000F7853 /* AWSiOSSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AWSiOSSDK.framework; path = ../../AWSiOSSDK.framework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + CE2617D114A5476800258242 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CE79A1E414AA54B700268707 /* Security.framework in Frameworks */, + CE2617D914A5476800258242 /* UIKit.framework in Frameworks */, + CE2617DB14A5476800258242 /* Foundation.framework in Frameworks */, + CE2617DD14A5476800258242 /* CoreGraphics.framework in Frameworks */, + D0FCB13C14C0C9D2000F7853 /* AWSiOSSDK.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + CE2617C914A5476700258242 = { + isa = PBXGroup; + children = ( + CE2617DE14A5476800258242 /* UserPreference */, + CE2617D714A5476800258242 /* Frameworks */, + CE2617D514A5476800258242 /* Products */, + ); + sourceTree = ""; + }; + CE2617D514A5476800258242 /* Products */ = { + isa = PBXGroup; + children = ( + CE2617D414A5476800258242 /* UserPreference.app */, + ); + name = Products; + sourceTree = ""; + }; + CE2617D714A5476800258242 /* Frameworks */ = { + isa = PBXGroup; + children = ( + D0FCB13B14C0C9D2000F7853 /* AWSiOSSDK.framework */, + CE79A1E314AA54B700268707 /* Security.framework */, + CE2617D814A5476800258242 /* UIKit.framework */, + CE2617DA14A5476800258242 /* Foundation.framework */, + CE2617DC14A5476800258242 /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + CE2617DE14A5476800258242 /* UserPreference */ = { + isa = PBXGroup; + children = ( + CE2617E714A5476800258242 /* AppDelegate.h */, + CE2617E814A5476800258242 /* AppDelegate.m */, + CE79A1B114A5553200268707 /* Constants.h */, + CE79A1B214A5553200268707 /* Constants.m */, + CE79A1F014AA83F200268707 /* DynamoDBManager.h */, + CE79A1F114AA83F200268707 /* DynamoDBManager.m */, + CE2617FC14A54C2D00258242 /* WelcomeView.xib */, + CE79A1A914A5528C00268707 /* WelcomeViewController.h */, + CE79A1AA14A5528C00268707 /* WelcomeViewController.m */, + CE79A1B414A5594A00268707 /* UserListViewController.h */, + CE79A1B514A5594A00268707 /* UserListViewController.m */, + CE71256814B51BFE006F5F34 /* UserViewController.h */, + CE71256914B51C03006F5F34 /* UserViewController.m */, + CE71256B14B53260006F5F34 /* SelectionViewController.h */, + CE71256C14B53264006F5F34 /* SelectionViewController.m */, + CE79A1B714AA540700268707 /* TVM */, + CE2617DF14A5476800258242 /* Supporting Files */, + ); + path = UserPreference; + sourceTree = ""; + }; + CE2617DF14A5476800258242 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + CE2617E014A5476800258242 /* UserPreference-Info.plist */, + CE2617E114A5476800258242 /* InfoPlist.strings */, + CE2617E414A5476800258242 /* main.m */, + CE2617E614A5476800258242 /* UserPreference-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + CE79A1B714AA540700268707 /* TVM */ = { + isa = PBXGroup; + children = ( + CE79A1B814AA542100268707 /* AmazonClientManager.h */, + CE79A1B914AA542100268707 /* AmazonClientManager.m */, + CE79A1BA14AA542100268707 /* AmazonKeyChainWrapper.h */, + CE79A1BB14AA542100268707 /* AmazonKeyChainWrapper.m */, + CE79A1BC14AA542100268707 /* AmazonTVMClient.h */, + CE79A1BD14AA542100268707 /* AmazonTVMClient.m */, + CE79A1BE14AA542100268707 /* Crypto.h */, + CE79A1BF14AA542100268707 /* Crypto.m */, + CE79A1C014AA542100268707 /* GetTokenRequest.h */, + CE79A1C114AA542100268707 /* GetTokenRequest.m */, + CE79A1C214AA542100268707 /* GetTokenResponse.h */, + CE79A1C314AA542100268707 /* GetTokenResponse.m */, + CE79A1C414AA542100268707 /* GetTokenResponseHandler.h */, + CE79A1C514AA542100268707 /* GetTokenResponseHandler.m */, + CE79A1C614AA542100268707 /* JSONUtilities.h */, + CE79A1C714AA542100268707 /* JSONUtilities.m */, + CE79A1C814AA542100268707 /* RegisterDeviceRequest.h */, + CE79A1C914AA542100268707 /* RegisterDeviceRequest.m */, + CE79A1CA14AA542100268707 /* Request.h */, + CE79A1CB14AA542100268707 /* Request.m */, + CE79A1CC14AA542100268707 /* RequestDelegate.h */, + CE79A1CD14AA542100268707 /* RequestDelegate.m */, + CE79A1CE14AA542100268707 /* Response.h */, + CE79A1CF14AA542100268707 /* Response.m */, + CE79A1D014AA542100268707 /* ResponseHandler.h */, + CE79A1D114AA542100268707 /* ResponseHandler.m */, + ); + name = TVM; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + CE2617D314A5476800258242 /* UserPreference */ = { + isa = PBXNativeTarget; + buildConfigurationList = CE2617F514A5476800258242 /* Build configuration list for PBXNativeTarget "UserPreference" */; + buildPhases = ( + CE2617D014A5476800258242 /* Sources */, + CE2617D114A5476800258242 /* Frameworks */, + CE2617D214A5476800258242 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = UserPreference; + productName = UserPreference; + productReference = CE2617D414A5476800258242 /* UserPreference.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + CE2617CB14A5476700258242 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0420; + }; + buildConfigurationList = CE2617CE14A5476700258242 /* Build configuration list for PBXProject "UserPreference" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = CE2617C914A5476700258242; + productRefGroup = CE2617D514A5476800258242 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CE2617D314A5476800258242 /* UserPreference */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + CE2617D214A5476800258242 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE2617E314A5476800258242 /* InfoPlist.strings in Resources */, + CE2617FD14A54C2D00258242 /* WelcomeView.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + CE2617D014A5476800258242 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE2617E514A5476800258242 /* main.m in Sources */, + CE2617E914A5476800258242 /* AppDelegate.m in Sources */, + CE79A1AB14A5528C00268707 /* WelcomeViewController.m in Sources */, + CE79A1B314A5553200268707 /* Constants.m in Sources */, + CE79A1B614A5594A00268707 /* UserListViewController.m in Sources */, + CE79A1D214AA542100268707 /* AmazonClientManager.m in Sources */, + CE79A1D314AA542100268707 /* AmazonKeyChainWrapper.m in Sources */, + CE79A1D414AA542100268707 /* AmazonTVMClient.m in Sources */, + CE79A1D514AA542100268707 /* Crypto.m in Sources */, + CE79A1D614AA542100268707 /* GetTokenRequest.m in Sources */, + CE79A1D714AA542100268707 /* GetTokenResponse.m in Sources */, + CE79A1D814AA542100268707 /* GetTokenResponseHandler.m in Sources */, + CE79A1D914AA542100268707 /* JSONUtilities.m in Sources */, + CE79A1DA14AA542100268707 /* RegisterDeviceRequest.m in Sources */, + CE79A1DB14AA542100268707 /* Request.m in Sources */, + CE79A1DC14AA542100268707 /* RequestDelegate.m in Sources */, + CE79A1DD14AA542100268707 /* Response.m in Sources */, + CE79A1DE14AA542100268707 /* ResponseHandler.m in Sources */, + CE79A1F214AA83F200268707 /* DynamoDBManager.m in Sources */, + CE71256A14B51C08006F5F34 /* UserViewController.m in Sources */, + CE71256D14B53268006F5F34 /* SelectionViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + CE2617E114A5476800258242 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + CE2617E214A5476800258242 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + CE2617F314A5476800258242 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + CE2617F414A5476800258242 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + CE2617F614A5476800258242 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + armv7, + armv6, + ); + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)\"", + "\"$(SRCROOT)/../..\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "UserPreference/UserPreference-Prefix.pch"; + INFOPLIST_FILE = "UserPreference/UserPreference-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 4.1; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + CE2617F714A5476800258242 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + armv7, + armv6, + ); + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)\"", + "\"$(SRCROOT)/../..\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "UserPreference/UserPreference-Prefix.pch"; + INFOPLIST_FILE = "UserPreference/UserPreference-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 4.1; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + CE2617CE14A5476700258242 /* Build configuration list for PBXProject "UserPreference" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE2617F314A5476800258242 /* Debug */, + CE2617F414A5476800258242 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CE2617F514A5476800258242 /* Build configuration list for PBXNativeTarget "UserPreference" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE2617F614A5476800258242 /* Debug */, + CE2617F714A5476800258242 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = CE2617CB14A5476700258242 /* Project object */; +} diff --git a/samples/UserPreference/UserPreference.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/samples/UserPreference/UserPreference.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..0a66227c --- /dev/null +++ b/samples/UserPreference/UserPreference.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/samples/UserPreference/UserPreference/AmazonClientManager.h b/samples/UserPreference/UserPreference/AmazonClientManager.h new file mode 100644 index 00000000..ef783a1e --- /dev/null +++ b/samples/UserPreference/UserPreference/AmazonClientManager.h @@ -0,0 +1,31 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import +#import "Constants.h" +#import "Response.h" + +@interface AmazonClientManager:NSObject +{ +} + ++(AmazonDynamoDBClient *)ddb; ++(bool)hasCredentials; ++(Response *)validateCredentials; ++(void)clearCredentials; ++(void)wipeAllCredentials; + +@end diff --git a/samples/UserPreference/UserPreference/AmazonClientManager.m b/samples/UserPreference/UserPreference/AmazonClientManager.m new file mode 100644 index 00000000..e50f1c3f --- /dev/null +++ b/samples/UserPreference/UserPreference/AmazonClientManager.m @@ -0,0 +1,99 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "AmazonClientManager.h" +#import +#import "AmazonKeyChainWrapper.h" +#import "AmazonTVMClient.h" +#import +#import +#import + +static AmazonDynamoDBClient *ddb = nil; +static AmazonTVMClient *tvm = nil; + +@implementation AmazonClientManager + ++(AmazonDynamoDBClient *)ddb +{ + @try + { + [AmazonClientManager validateCredentials]; + return ddb; + } + @catch (NSException *exception) + { + NSLog(@"Exception: %@", exception); + } +} + ++(AmazonTVMClient *)tvm +{ + if (tvm == nil) { + tvm = [[AmazonTVMClient alloc] initWithEndpoint:TOKEN_VENDING_MACHINE_URL useSSL:USE_SSL]; + } + + return tvm; +} + ++(bool)hasCredentials +{ + return ![TOKEN_VENDING_MACHINE_URL isEqualToString:@"CHANGE ME"]; +} + ++(Response *)validateCredentials +{ + Response *ableToGetToken = nil; + + if ([AmazonKeyChainWrapper areCredentialsExpired]) { + [AmazonClientManager clearCredentials]; + + ableToGetToken = [[AmazonClientManager tvm] anonymousRegister]; + + if ( [ableToGetToken wasSuccessful]) + { + ableToGetToken = [[AmazonClientManager tvm] getToken]; + } + } + else + { + ableToGetToken = [[[Response alloc] initWithCode:200 andMessage:@"OK"] autorelease]; + } + + if ( [ableToGetToken wasSuccessful] && ddb == nil) + { + [AmazonClientManager clearCredentials]; + + AmazonCredentials *credentials = [AmazonKeyChainWrapper getCredentialsFromKeyChain]; + + ddb = [[AmazonDynamoDBClient alloc] initWithCredentials:credentials]; + } + + return ableToGetToken; +} + ++(void)clearCredentials +{ + [ddb release]; + ddb = nil; +} + ++(void)wipeAllCredentials +{ + [AmazonClientManager clearCredentials]; + [AmazonKeyChainWrapper wipeCredentialsFromKeyChain]; +} + +@end diff --git a/samples/UserPreference/UserPreference/AmazonKeyChainWrapper.h b/samples/UserPreference/UserPreference/AmazonKeyChainWrapper.h new file mode 100644 index 00000000..7ddec347 --- /dev/null +++ b/samples/UserPreference/UserPreference/AmazonKeyChainWrapper.h @@ -0,0 +1,41 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import + + +@interface AmazonKeyChainWrapper:NSObject { +} + ++(bool)areCredentialsExpired; ++(AmazonCredentials *)getCredentialsFromKeyChain; ++(void)storeCredentialsInKeyChain:(NSString *)theAccessKey secretKey:(NSString *)theSecretKey securityToken:(NSString *)theSecurityToken expiration:(NSString *)theExpirationDate; + ++(NSString *)getValueFromKeyChain:(NSString *)key; ++(void)storeValueInKeyChain:(NSString *)value forKey:(NSString *)key; + ++(void)registerDeviceId:(NSString *)uid andKey:(NSString *)key; ++(NSString *)getUidForDevice; ++(NSString *)getKeyForDevice; + ++(NSDate *)convertStringToDate:(NSString *)expiration; ++(bool)isExpired:(NSDate *)date; + ++(void)wipeKeyChain; ++(void)wipeCredentialsFromKeyChain; ++(NSMutableDictionary *)createKeychainDictionaryForKey:(NSString *)key; + +@end diff --git a/samples/UserPreference/UserPreference/AmazonKeyChainWrapper.m b/samples/UserPreference/UserPreference/AmazonKeyChainWrapper.m new file mode 100644 index 00000000..e5200cac --- /dev/null +++ b/samples/UserPreference/UserPreference/AmazonKeyChainWrapper.m @@ -0,0 +1,208 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "AmazonKeyChainWrapper.h" +#import + + +static NSString *kKeychainAccessKeyIdentifier = @"AWSiOSDemoTVM.com.amazon.aws.demo.AWSAccessKey"; +static NSString *kKeychainSecretKeyIdentifier = @"AWSiOSDemoTVM.com.amazon.aws.demo.AWSSecretKey"; +static NSString *kKeychainSecrutiyTokenIdentifier = @"AWSiOSDemoTVM.com.amazon.aws.demo.AWSSecurityToken"; +static NSString *kKeychainExpirationDateIdentifier = @"AWSiOSDemoTVM.com.amazon.aws.demo.AWSExpirationDate"; + +static NSString *kKeychainUidIdentifier = @"AWSiOSDemoTVM.com.amazon.aws.demo.UID"; +static NSString *kKeychainKeyIdentifier = @"AWSiOSDemoTVM.com.amazon.aws.demo.KEY"; + + +@implementation AmazonKeyChainWrapper + ++(bool)areCredentialsExpired +{ + AMZLogDebug(@"areCredentialsExpired"); + + NSString *expiration = [AmazonKeyChainWrapper getValueFromKeyChain:kKeychainExpirationDateIdentifier]; + if (expiration == nil) { + return YES; + } + else { + NSDate *expirationDate = [AmazonKeyChainWrapper convertStringToDate:expiration]; + + AMZLog(@"expirationDate : %@, %@", expiration, expirationDate); + + return [AmazonKeyChainWrapper isExpired:expirationDate]; + } +} + ++(void)registerDeviceId:(NSString *)uid andKey:(NSString *)key +{ + [AmazonKeyChainWrapper storeValueInKeyChain:uid forKey:kKeychainUidIdentifier]; + [AmazonKeyChainWrapper storeValueInKeyChain:key forKey:kKeychainKeyIdentifier]; +} + ++(NSString *)getKeyForDevice +{ + return [AmazonKeyChainWrapper getValueFromKeyChain:kKeychainKeyIdentifier]; +} + ++(NSString *)getUidForDevice +{ + return [AmazonKeyChainWrapper getValueFromKeyChain:kKeychainUidIdentifier]; +} + ++(AmazonCredentials *)getCredentialsFromKeyChain +{ + NSString *accessKey = [AmazonKeyChainWrapper getValueFromKeyChain:kKeychainAccessKeyIdentifier]; + NSString *secretKey = [AmazonKeyChainWrapper getValueFromKeyChain:kKeychainSecretKeyIdentifier]; + NSString *securityToken = [AmazonKeyChainWrapper getValueFromKeyChain:kKeychainSecrutiyTokenIdentifier]; + + if ((accessKey != nil) && (secretKey != nil) && (securityToken != nil)) { + if (![AmazonKeyChainWrapper areCredentialsExpired]) { + AmazonCredentials *credentials = [[[AmazonCredentials alloc] initWithAccessKey:accessKey withSecretKey:secretKey] autorelease]; + credentials.securityToken = securityToken; + + return credentials; + } + } + + return nil; +} + ++(void)storeCredentialsInKeyChain:(NSString *)theAccessKey secretKey:(NSString *)theSecretKey securityToken:(NSString *)theSecurityToken expiration:(NSString *)theExpirationDate +{ + [AmazonKeyChainWrapper storeValueInKeyChain:theAccessKey forKey:kKeychainAccessKeyIdentifier]; + [AmazonKeyChainWrapper storeValueInKeyChain:theSecretKey forKey:kKeychainSecretKeyIdentifier]; + [AmazonKeyChainWrapper storeValueInKeyChain:theSecurityToken forKey:kKeychainSecrutiyTokenIdentifier]; + [AmazonKeyChainWrapper storeValueInKeyChain:theExpirationDate forKey:kKeychainExpirationDateIdentifier]; +} + ++(bool)isExpired:(NSDate *)date +{ + NSDate *soon = [NSDate dateWithTimeIntervalSinceNow:(15 * 60)]; // Fifteen minutes from now. + + if ( [soon compare:date] == NSOrderedDescending) { + return YES; + } + else { + return NO; + } +} + ++(NSDate *)convertStringToDate:(NSString *)expiration +{ + if (expiration != nil) + { + long long exactSecondOfExpiration = (long long)([expiration longLongValue] / 1000); + return [[[NSDate alloc] initWithTimeIntervalSince1970:exactSecondOfExpiration] autorelease]; + } + else + { + return nil; + } +} + ++(NSString *)getValueFromKeyChain:(NSString *)key +{ + AMZLogDebug(@"Get Value for KeyChain key:[%@]", key); + + NSMutableDictionary *queryDictionary = [[[NSMutableDictionary alloc] init] autorelease]; + + [queryDictionary setObject:[key dataUsingEncoding:NSUTF8StringEncoding] forKey:(id)kSecAttrGeneric]; + [queryDictionary setObject:(id) kCFBooleanTrue forKey:(id)kSecReturnAttributes]; + [queryDictionary setObject:(id) kSecMatchLimitOne forKey:(id)kSecMatchLimit]; + [queryDictionary setObject:(id) kCFBooleanTrue forKey:(id)kSecReturnData]; + [queryDictionary setObject:(id) kSecClassGenericPassword forKey:(id)kSecClass]; + + NSDictionary *returnedDictionary = [[[NSMutableDictionary alloc] init] autorelease]; + OSStatus keychainError = SecItemCopyMatching((CFDictionaryRef)queryDictionary, (CFTypeRef *)&returnedDictionary); + if (keychainError == noErr) + { + NSData *rawData = [returnedDictionary objectForKey:(id)kSecValueData]; + return [[[NSString alloc] initWithBytes:[rawData bytes] length:[rawData length] encoding:NSUTF8StringEncoding] autorelease]; + } + else + { + return nil; + } +} + ++(void)storeValueInKeyChain:(NSString *)value forKey:(NSString *)key +{ + AMZLogDebug(@"Storing value:[%@] in KeyChain as key:[%@]", value, key); + + NSMutableDictionary *keychainDictionary = [[[NSMutableDictionary alloc] init] autorelease]; + [keychainDictionary setObject:[key dataUsingEncoding:NSUTF8StringEncoding] forKey:(id)kSecAttrGeneric]; + [keychainDictionary setObject:(id) kSecClassGenericPassword forKey:(id)kSecClass]; + [keychainDictionary setObject:[value dataUsingEncoding:NSUTF8StringEncoding] forKey:(id)kSecValueData]; + [keychainDictionary setObject:[key dataUsingEncoding:NSUTF8StringEncoding] forKey:(id)kSecAttrAccount]; + [keychainDictionary setObject:(id) kSecAttrAccessibleWhenUnlockedThisDeviceOnly forKey:(id)kSecAttrAccessible]; + + OSStatus keychainError = SecItemAdd((CFDictionaryRef)keychainDictionary, NULL); + if (keychainError == errSecDuplicateItem) { + SecItemDelete((CFDictionaryRef)keychainDictionary); + SecItemAdd((CFDictionaryRef)keychainDictionary, NULL); + } +} + ++(void)wipeKeyChain +{ + OSStatus keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainAccessKeyIdentifier]); + + AMZLogDebug(@"Keychain Key: kKeychainAccessKeyIdentifier, Error Code: %ld", keychainError); + + keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainSecretKeyIdentifier]); + AMZLogDebug(@"Keychain Key: kKeychainSecretKeyIdentifier, Error Code: %ld", keychainError); + + keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainSecrutiyTokenIdentifier]); + AMZLogDebug(@"Keychain Key: kKeychainSecrutiyTokenIdentifier, Error Code: %ld", keychainError); + + keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainExpirationDateIdentifier]); + AMZLogDebug(@"Keychain Key: kKeychainExpirationDateIdentifier, Error Code: %ld", keychainError); + + keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainUidIdentifier]); + AMZLogDebug(@"Keychain Key: kKeychainUidIdentifier, Error Code: %ld", keychainError); + + keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainKeyIdentifier]); + AMZLogDebug(@"Keychain Key: kKeychainKeyIdentifier, Error Code: %ld", keychainError); +} + ++(void)wipeCredentialsFromKeyChain +{ + OSStatus keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainAccessKeyIdentifier]); + + AMZLogDebug(@"Keychain Key: kKeychainAccessKeyIdentifier, Error Code: %ld", keychainError); + + keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainSecretKeyIdentifier]); + AMZLogDebug(@"Keychain Key: kKeychainSecretKeyIdentifier, Error Code: %ld", keychainError); + + keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainSecrutiyTokenIdentifier]); + AMZLogDebug(@"Keychain Key: kKeychainSecrutiyTokenIdentifier, Error Code: %ld", keychainError); + + keychainError = SecItemDelete((CFDictionaryRef)[AmazonKeyChainWrapper createKeychainDictionaryForKey : kKeychainExpirationDateIdentifier]); + AMZLogDebug(@"Keychain Key: kKeychainExpirationDateIdentifier, Error Code: %ld", keychainError); +} + ++(NSMutableDictionary *)createKeychainDictionaryForKey:(NSString *)key +{ + NSMutableDictionary *dictionary = [[[NSMutableDictionary alloc] init] autorelease]; + + [dictionary setObject:[key dataUsingEncoding:NSUTF8StringEncoding] forKey:(id)kSecAttrGeneric]; + [dictionary setObject:(id) kSecClassGenericPassword forKey:(id)kSecClass]; + [dictionary setObject:[key dataUsingEncoding:NSUTF8StringEncoding] forKey:(id)kSecAttrAccount]; + [dictionary setObject:(id) kSecAttrAccessibleWhenUnlockedThisDeviceOnly forKey:(id)kSecAttrAccessible]; + + return dictionary; +} + +@end diff --git a/samples/UserPreference/UserPreference/AmazonTVMClient.h b/samples/UserPreference/UserPreference/AmazonTVMClient.h new file mode 100644 index 00000000..d3253ff7 --- /dev/null +++ b/samples/UserPreference/UserPreference/AmazonTVMClient.h @@ -0,0 +1,39 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "Request.h" +#import "Response.h" +#import "ResponseHandler.h" + + +@interface AmazonTVMClient:NSObject { + NSString *endpoint; + bool useSSL; + NSURLConnection *conn; +} + +@property (nonatomic, retain) NSString *endpoint; +@property (nonatomic) bool useSSL; +@property (nonatomic, retain) NSURLConnection *conn; + +-(id)initWithEndpoint:(NSString *)endpoint useSSL:(bool)useSSL; +-(Response *)anonymousRegister; +-(Response *)getToken; +-(Response *)processRequest:(Request *)request responseHandler:(ResponseHandler *)handler; +-(NSString *)getEndpointDomain:(NSString *)originalEndpoint; + +@end + diff --git a/samples/UserPreference/UserPreference/AmazonTVMClient.m b/samples/UserPreference/UserPreference/AmazonTVMClient.m new file mode 100644 index 00000000..cb2a20d9 --- /dev/null +++ b/samples/UserPreference/UserPreference/AmazonTVMClient.m @@ -0,0 +1,147 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "AmazonTVMClient.h" +#import "AmazonKeyChainWrapper.h" +#import +#import + +#import "RequestDelegate.h" + +#import "GetTokenResponseHandler.h" +#import "GetTokenRequest.h" +#import "GetTokenResponse.h" + +#import "RegisterDeviceRequest.h" + +#import "Crypto.h" + +@implementation AmazonTVMClient + +@synthesize endpoint, useSSL, conn; + +-(id)initWithEndpoint:(NSString *)theEndpoint useSSL:(bool)usingSSL; +{ + if ((self = [super init])) { + self.endpoint = [self getEndpointDomain:[theEndpoint lowercaseString]]; + self.useSSL = usingSSL; + } + + return self; +} + +-(Response *)anonymousRegister +{ + Response *response = [[[Response alloc] initWithCode:200 andMessage:@"OK"] autorelease]; + + if ( [AmazonKeyChainWrapper getUidForDevice] == nil) { + NSString *uid = [Crypto generateRandomString]; + NSString *key = [Crypto generateRandomString]; + + RegisterDeviceRequest *request = [[[RegisterDeviceRequest alloc] initWithEndpoint:self.endpoint andUid:uid andKey:key usingSSL:self.useSSL] autorelease]; + ResponseHandler *handler = [[[ResponseHandler alloc] init] autorelease]; + + response = [self processRequest:request responseHandler:handler]; + if ( [response wasSuccessful]) { + [AmazonKeyChainWrapper registerDeviceId:uid andKey:key]; + } + else { + AMZLogDebug(@"Token Vending Machine responded with Code: [%d] and Messgae: [%@]", response.code, response.message); + } + } + + return response; +} + +-(Response *)getToken +{ + NSString *uid = [AmazonKeyChainWrapper getUidForDevice]; + NSString *key = [AmazonKeyChainWrapper getKeyForDevice]; + + Request *request = [[[GetTokenRequest alloc] initWithEndpoint:self.endpoint andUid:uid andKey:key usingSSL:self.useSSL] autorelease]; + ResponseHandler *handler = [[[GetTokenResponseHandler alloc] initWithKey:key] autorelease]; + + GetTokenResponse *response = (GetTokenResponse *)[self processRequest:request responseHandler:handler]; + + if ( [response wasSuccessful]) { + [AmazonKeyChainWrapper storeCredentialsInKeyChain:response.accessKey secretKey:response.secretKey securityToken:response.securityToken expiration:response.expirationDate]; + } + else { + AMZLogDebug(@"Token Vending Machine responded with Code: [%d] and Messgae: [%@]", response.code, response.message); + } + + return response; +} + +-(Response *)processRequest:(Request *)request responseHandler:(ResponseHandler *)handler +{ + int retries = 2; + RequestDelegate *delegate = [[[RequestDelegate alloc] init] autorelease]; + + do { + AMZLogDebug(@"Request URL: %@", [request buildRequestUrl]); + + NSURL *url = [[[NSURL alloc] initWithString:[request buildRequestUrl]] autorelease]; + NSURLRequest *theRequest = [NSURLRequest requestWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:30.0]; + /*conn = [[NSURLConnection alloc] initWithRequest:theRequest delegate:delegate]; + * + * while (!delegate.failed && !delegate.done) { + * [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[[NSDate date] dateByAddingTimeInterval:1]]; + * } + */ + NSError *error = nil; + NSURLResponse *response = nil; + + NSData *data = [NSURLConnection sendSynchronousRequest:theRequest returningResponse:&response error:&error]; + + if (error == nil) + { + return [handler handleResponse:200 body:[[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding] autorelease]]; + } + } while (delegate.failed && retries-- > 0); + + return [[[Response alloc] initWithCode:500 andMessage:delegate.responseBody] autorelease]; +} + +-(NSString *)getEndpointDomain:(NSString *)originalEndpoint +{ + NSRange endpointRange; + + if ( [originalEndpoint hasPrefix:@"http://"] || [originalEndpoint hasPrefix:@"https://"]) { + NSRange startOfDomain = [originalEndpoint rangeOfString:@"://"]; + endpointRange.location = startOfDomain.location + 3; + } + else { + endpointRange.location = 0; + } + + if ( [originalEndpoint hasSuffix:@"/"]) { + endpointRange.length = ([originalEndpoint length] - 1) - endpointRange.location; + } + else { + endpointRange.length = [originalEndpoint length] - endpointRange.location; + } + + return [originalEndpoint substringWithRange:endpointRange]; +} + +-(void)dealloc +{ + [conn release]; + [endpoint release]; + [super dealloc]; +} + +@end diff --git a/samples/UserPreference/UserPreference/AppDelegate.h b/samples/UserPreference/UserPreference/AppDelegate.h new file mode 100644 index 00000000..f3f8fb3c --- /dev/null +++ b/samples/UserPreference/UserPreference/AppDelegate.h @@ -0,0 +1,27 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + +@class ViewController; + +@interface AppDelegate:UIResponder +{ +} + +@property (strong, nonatomic) UIWindow *window; +@property (strong, nonatomic) UINavigationController *navigationController; + +@end diff --git a/samples/UserPreference/UserPreference/AppDelegate.m b/samples/UserPreference/UserPreference/AppDelegate.m new file mode 100644 index 00000000..6c64fd49 --- /dev/null +++ b/samples/UserPreference/UserPreference/AppDelegate.m @@ -0,0 +1,86 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "AppDelegate.h" +#import "WelcomeViewController.h" + +@implementation AppDelegate + +@synthesize window = _window; +@synthesize navigationController = _navigationController; + +-(void)dealloc +{ + [_window release]; + [_navigationController release]; + [super dealloc]; +} + +-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; + + self.navigationController = [[[UINavigationController alloc] init] autorelease]; + self.window.rootViewController = self.navigationController; + + WelcomeViewController *welcome_view = [[WelcomeViewController alloc] initWithNibName:@"WelcomeView" bundle:nil]; + + [self.navigationController pushViewController:welcome_view animated:YES]; + [welcome_view release]; + + [self.window makeKeyAndVisible]; + return YES; +} + +-(void)applicationWillResignActive:(UIApplication *)application +{ + /* + * Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + * Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + */ +} + +-(void)applicationDidEnterBackground:(UIApplication *)application +{ + /* + * Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + * If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + */ +} + +-(void)applicationWillEnterForeground:(UIApplication *)application +{ + /* + * Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + */ +} + +-(void)applicationDidBecomeActive:(UIApplication *)application +{ + /* + * Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + */ +} + +-(void)applicationWillTerminate:(UIApplication *)application +{ + /* + * Called when the application is about to terminate. + * Save data if appropriate. + * See also applicationDidEnterBackground:. + */ +} + +@end diff --git a/samples/UserPreference/UserPreference/Constants.h b/samples/UserPreference/UserPreference/Constants.h new file mode 100644 index 00000000..f0350f29 --- /dev/null +++ b/samples/UserPreference/UserPreference/Constants.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + +#define TOKEN_VENDING_MACHINE_URL @"CHANGE ME" +#define USE_SSL NO +#define CREDENTIALS_ALERT_MESSAGE @"Please update the Constants.h file with the Token Vending Machine URL." +#define TEST_TABLE_NAME @"TestUserPereference" + +@interface Constants:NSObject +{ +} + + + (NSString *)getRandomName; ++(NSArray *)getColors; + +@end diff --git a/samples/UserPreference/UserPreference/Constants.m b/samples/UserPreference/UserPreference/Constants.m new file mode 100644 index 00000000..0423c331 --- /dev/null +++ b/samples/UserPreference/UserPreference/Constants.m @@ -0,0 +1,33 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "Constants.h" + +@implementation Constants + ++(NSString *)getRandomName +{ + NSArray *nameList = [NSArray arrayWithObjects:@"Norm", @"Jim", @"Jason", @"Zach", @"Matt", @"Glenn", @"Will", @"Wade", @"Trevor", @"Jeremy", @"Ryan", @"Matty", @"Steve", @"Pavel", nil]; + int name1 = arc4random() % [nameList count]; + + return [nameList objectAtIndex:name1]; +} + ++(NSArray *)getColors +{ + return [NSArray arrayWithObjects:@"Black", @"Blue", @"Green", @"Red", @"Yellow", nil]; +} + +@end diff --git a/samples/UserPreference/UserPreference/Crypto.h b/samples/UserPreference/UserPreference/Crypto.h new file mode 100644 index 00000000..021e68df --- /dev/null +++ b/samples/UserPreference/UserPreference/Crypto.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + + +@interface Crypto:NSObject { +} + ++(NSData *)decrypt:(NSString *)data key:(NSString *)key; ++(NSData *)aes128Decrypt:(NSData *)data key:(NSData *)key withIV:(NSData *)iv; + ++(NSData *)hexDecode:(NSString *)hexString; ++(NSString *)hexEncode:(NSString *)string; + ++(NSString *)generateRandomString; + +@end diff --git a/samples/UserPreference/UserPreference/Crypto.m b/samples/UserPreference/UserPreference/Crypto.m new file mode 100644 index 00000000..8c556b4d --- /dev/null +++ b/samples/UserPreference/UserPreference/Crypto.m @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "Crypto.h" +#import +#import + +@implementation Crypto + ++(NSData *)decrypt:(NSString *)data key:(NSString *)key +{ + NSData *dataToDecrypt = [NSData dataWithBase64EncodedString:data]; + + NSRange ivRange = { 0, 16 }; + NSData *iv = [dataToDecrypt subdataWithRange:ivRange]; + + NSRange dataRange = { 16, [dataToDecrypt length] - 16 }; + NSData *decrypt = (NSData *)[dataToDecrypt subdataWithRange:dataRange]; + + return [Crypto aes128Decrypt:decrypt key:[Crypto hexDecode:key] withIV:iv]; +} + ++(NSData *)aes128Decrypt:(NSData *)data key:(NSData *)key withIV:(NSData *)iv +{ + NSUInteger dataLength = [data length]; + size_t bufferSize = dataLength + kCCBlockSizeAES128; + void *buffer = malloc(bufferSize); + + size_t numBytesDecrypted = 0; + CCCryptorStatus cryptStatus = CCCrypt(kCCDecrypt, kCCAlgorithmAES128, kCCOptionPKCS7Padding, [key bytes], kCCKeySizeAES128, [iv bytes], [data bytes], dataLength, buffer, bufferSize, &numBytesDecrypted); + + if (cryptStatus == kCCSuccess) { + return [NSData dataWithBytesNoCopy:buffer length:numBytesDecrypted]; + } + + free(buffer); + return nil; +} + ++(NSData *)hexDecode:(NSString *)hexString +{ + NSMutableData *stringData = [[[NSMutableData alloc] init] autorelease]; + unsigned char whole_byte; + char byte_chars[3] = { '\0', '\0', '\0' }; + int i; + for (i = 0; i < [hexString length] / 2; i++) { + byte_chars[0] = [hexString characterAtIndex:i * 2]; + byte_chars[1] = [hexString characterAtIndex:i * 2 + 1]; + whole_byte = strtol(byte_chars, NULL, 16); + [stringData appendBytes:&whole_byte length:1]; + } + + return stringData; +} + ++(NSString *)hexEncode:(NSString *)string +{ + NSUInteger len = [string length]; + unichar *chars = malloc(len * sizeof(unichar)); + + [string getCharacters:chars]; + + NSMutableString *hexString = [[NSMutableString alloc] init]; + for (NSUInteger i = 0; i < len; i++) { + if ((int)chars[i] < 16) { + [hexString appendString:@"0"]; + } + [hexString appendString:[NSString stringWithFormat:@"%x", chars[i]]]; + } + free(chars); + + return [hexString autorelease]; +} + ++(NSString *)generateRandomString +{ + unichar random[16]; + + SecRandomCopyBytes(kSecRandomDefault, 16, (uint8_t *)&random); + + NSString *base = [[[NSString alloc] initWithCharacters:random length:16] autorelease]; + return [[Crypto hexEncode:base] substringToIndex:32]; +} + +@end diff --git a/samples/UserPreference/UserPreference/DynamoDBManager.h b/samples/UserPreference/UserPreference/DynamoDBManager.h new file mode 100644 index 00000000..a3545cbe --- /dev/null +++ b/samples/UserPreference/UserPreference/DynamoDBManager.h @@ -0,0 +1,32 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import + +@interface DynamoDBManager:NSObject +{ +} + ++(void)createTable; ++(NSString *)getTestTableStatus; ++(void)insertUsers; ++(NSMutableArray *)getUserList; ++(NSMutableDictionary *)getUserInfo:(int)userNo; ++(void)updateAttributeStringValue:(NSString *)aValue forKey:(NSString *)aKey withPrimaryKey:(DynamoDBAttributeValue *)aPrimaryKey; ++(void)deleteUser:(DynamoDBAttributeValue *)aPrimaryKey; ++(void)cleanUp; + +@end diff --git a/samples/UserPreference/UserPreference/DynamoDBManager.m b/samples/UserPreference/UserPreference/DynamoDBManager.m new file mode 100644 index 00000000..d12db8fc --- /dev/null +++ b/samples/UserPreference/UserPreference/DynamoDBManager.m @@ -0,0 +1,191 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBManager.h" + +#import +#import +#import +#import "AmazonClientManager.h" + +@implementation DynamoDBManager + +/* + Creates a table with the following attributes: + + Table name: TEST_TABLE_NAME + Hash key: userNo type N + Read Capacity Units: 10 + Write Capacity Units: 5 + */ ++(void)createTable +{ + @try + { + DynamoDBKeySchemaElement *kse = [[[DynamoDBKeySchemaElement alloc] initWithAttributeName:@"userNo" andAttributeType:@"N"] autorelease]; + + DynamoDBKeySchema *ks = [[[DynamoDBKeySchema alloc] initWithHashKeyElement:kse] autorelease]; + + DynamoDBProvisionedThroughput *pt = [[[DynamoDBProvisionedThroughput alloc] init] autorelease]; + pt.readCapacityUnits = [NSNumber numberWithInt:10]; + pt.writeCapacityUnits = [NSNumber numberWithInt:5]; + + DynamoDBCreateTableRequest *request = [[[DynamoDBCreateTableRequest alloc] initWithTableName:TEST_TABLE_NAME andKeySchema:ks andProvisionedThroughput:pt] autorelease]; + [[AmazonClientManager ddb] createTable:request]; + } + @catch (NSException *exception) + { + NSLog(@"Exception: %@", exception); + } +} + +/* + Retrieves the table description and returns the table status as a string. + */ ++(NSString *)getTestTableStatus +{ + @try + { + DynamoDBDescribeTableRequest *request = [[[DynamoDBDescribeTableRequest alloc] initWithTableName:TEST_TABLE_NAME] autorelease]; + DynamoDBDescribeTableResponse *response = [[AmazonClientManager ddb] describeTable:request]; + + return response.table.tableStatus; + } + @catch (DynamoDBResourceNotFoundException *ex) { + return nil; + } +} + +/* + Inserts ten users with userNo from 1 to 10 and random names. + */ ++(void)insertUsers +{ + @try + { + for (int i = 1; i <= 10; i++) + { + NSMutableDictionary *userDic = + [NSDictionary dictionaryWithObjectsAndKeys: + [[[DynamoDBAttributeValue alloc] initWithN:[NSString stringWithFormat:@"%d", i]] autorelease], @"userNo", + [[[DynamoDBAttributeValue alloc] initWithS:[Constants getRandomName]] autorelease], @"firstName", + [[[DynamoDBAttributeValue alloc] initWithS:[Constants getRandomName]] autorelease], @"lastName", + nil]; + + DynamoDBPutItemRequest *request = [[[DynamoDBPutItemRequest alloc] initWithTableName:TEST_TABLE_NAME andItem:userDic] autorelease]; + [[AmazonClientManager ddb] putItem:request]; + } + } + @catch (NSException *exception) + { + NSLog(@"Exception: %@", exception); + } +} + +/* + Scans the table and returns the list of users. + */ ++(NSMutableArray *)getUserList +{ + @try + { + DynamoDBScanRequest *request = [[[DynamoDBScanRequest alloc] initWithTableName:TEST_TABLE_NAME] autorelease]; + DynamoDBScanResponse *response = [[AmazonClientManager ddb] scan:request]; + + return response.items; + } + @catch (NSException *exception) + { + NSLog(@"Exception: %@", exception); + return nil; + } +} + +/* + Retrieves all of the attribute/value pairs for the specified user. + */ ++(NSMutableDictionary *)getUserInfo:(int)userNo +{ + @try + { + DynamoDBGetItemRequest *request = [[[DynamoDBGetItemRequest alloc] initWithTableName:TEST_TABLE_NAME + andKey:[[[DynamoDBKey alloc] initWithHashKeyElement: + [[[DynamoDBAttributeValue alloc] initWithN:[NSString stringWithFormat:@"%d", userNo]] autorelease]] autorelease]] autorelease]; + DynamoDBGetItemResponse *response = [[AmazonClientManager ddb] getItem:request]; + + return response.item; + } + @catch (NSException *exception) + { + NSLog(@"Exception: %@", exception); + return nil; + } +} + +/* + Updates one attribute/value pair for the specified user. + */ ++(void)updateAttributeStringValue:(NSString *)aValue forKey:(NSString *)aKey withPrimaryKey:(DynamoDBAttributeValue *)aPrimaryKey +{ + @try + { + DynamoDBAttributeValue *attr = [[[DynamoDBAttributeValue alloc] initWithS:aValue] autorelease]; + DynamoDBAttributeValueUpdate *attrUpdate = [[[DynamoDBAttributeValueUpdate alloc] initWithValue:attr andAction:@"PUT"] autorelease]; + + DynamoDBUpdateItemRequest *request = [[[DynamoDBUpdateItemRequest alloc] initWithTableName:TEST_TABLE_NAME + andKey:[[[DynamoDBKey alloc] initWithHashKeyElement:aPrimaryKey] autorelease] + andAttributeUpdates:[NSMutableDictionary dictionaryWithObject:attrUpdate forKey:aKey]] autorelease]; + [[AmazonClientManager ddb] updateItem:request]; + } + @catch (NSException *exception) + { + NSLog(@"Exception: %@", exception); + } +} + +/* + Deletes the specified user and all of its attribute/value pairs. + */ ++(void)deleteUser:(DynamoDBAttributeValue *)aPrimaryKey +{ + @try + { + DynamoDBDeleteItemRequest *request = [[[DynamoDBDeleteItemRequest alloc] initWithTableName:TEST_TABLE_NAME andKey:[[[DynamoDBKey alloc] initWithHashKeyElement:aPrimaryKey] autorelease]] autorelease]; + + [[AmazonClientManager ddb] deleteItem:request]; + } + @catch (NSException *exception) + { + NSLog(@"Exception: %@", exception); + } +} + +/* + Deletes the test table and all of its users and their attribute/value pairs. + */ ++(void)cleanUp +{ + @try + { + DynamoDBDeleteTableRequest *request = [[[DynamoDBDeleteTableRequest alloc] initWithTableName:TEST_TABLE_NAME] autorelease]; + [[AmazonClientManager ddb] deleteTable:request]; + } + @catch (NSException *exception) + { + NSLog(@"Exception: %@", exception); + } +} + +@end diff --git a/samples/UserPreference/UserPreference/GetTokenRequest.h b/samples/UserPreference/UserPreference/GetTokenRequest.h new file mode 100644 index 00000000..b9395846 --- /dev/null +++ b/samples/UserPreference/UserPreference/GetTokenRequest.h @@ -0,0 +1,31 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "Request.h" + +#define GET_TOKEN_REQUEST @"http://%@/gettoken?uid=%@×tamp=%@&signature=%@" +#define SSL_GET_TOKEN_REQUEST @"https://%@/gettoken?uid=%@×tamp=%@&signature=%@" + +@interface GetTokenRequest:Request { + NSString *endpoint; + NSString *uid; + NSString *key; + bool useSSL; +} + +-(id)initWithEndpoint:(NSString *)theEndpoint andUid:(NSString *)theUid andKey:(NSString *)theKey usingSSL:(bool)usingSSL; + +@end diff --git a/samples/UserPreference/UserPreference/GetTokenRequest.m b/samples/UserPreference/UserPreference/GetTokenRequest.m new file mode 100644 index 00000000..86a5678c --- /dev/null +++ b/samples/UserPreference/UserPreference/GetTokenRequest.m @@ -0,0 +1,52 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "GetTokenRequest.h" +#import + +@implementation GetTokenRequest + +-(id)initWithEndpoint:(NSString *)theEndpoint andUid:(NSString *)theUid andKey:(NSString *)theKey usingSSL:(bool)usingSSL +{ + if ((self = [super init])) { + endpoint = [theEndpoint retain]; + uid = [theUid retain]; + key = [theKey retain]; + useSSL = usingSSL; + } + + return self; +} + +-(NSString *)buildRequestUrl +{ + NSDate *currentTime = [NSDate date]; + + NSString *timestamp = [currentTime stringWithISO8601Format]; + NSString *signature = [AmazonAuthUtils HMACSign:[timestamp dataUsingEncoding:NSUTF8StringEncoding] withKey:key usingAlgorithm:kCCHmacAlgSHA256]; + + return [NSString stringWithFormat:(useSSL ? SSL_GET_TOKEN_REQUEST:GET_TOKEN_REQUEST), endpoint, [uid stringWithURLEncoding], [timestamp stringWithURLEncoding], [signature stringWithURLEncoding]]; +} + +-(void)dealloc +{ + [endpoint release]; + [uid release]; + [key release]; + [super dealloc]; +} + +@end + diff --git a/samples/UserPreference/UserPreference/GetTokenResponse.h b/samples/UserPreference/UserPreference/GetTokenResponse.h new file mode 100644 index 00000000..77d8c607 --- /dev/null +++ b/samples/UserPreference/UserPreference/GetTokenResponse.h @@ -0,0 +1,33 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "Response.h" + +@interface GetTokenResponse:Response { + NSString *accessKey; + NSString *secretKey; + NSString *securityToken; + NSString *expirationDate; +} + +@property (nonatomic, retain) NSString *accessKey; +@property (nonatomic, retain) NSString *secretKey; +@property (nonatomic, retain) NSString *securityToken; +@property (nonatomic, retain) NSString *expirationDate; + +-(id)initWithAccessKey:(NSString *)theAccessKey andSecretKey:(NSString *)theSecurityKey andSecurityToken:(NSString *)theSecurityToken andExpirationDate:(NSString *)theExpirationDate; + +@end diff --git a/samples/UserPreference/UserPreference/GetTokenResponse.m b/samples/UserPreference/UserPreference/GetTokenResponse.m new file mode 100644 index 00000000..18b63070 --- /dev/null +++ b/samples/UserPreference/UserPreference/GetTokenResponse.m @@ -0,0 +1,48 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "GetTokenResponse.h" + +@implementation GetTokenResponse + +@synthesize accessKey; +@synthesize secretKey; +@synthesize securityToken; +@synthesize expirationDate; + +-(id)initWithAccessKey:(NSString *)theAccessKey andSecretKey:(NSString *)theSecurityKey andSecurityToken:(NSString *)theSecurityToken andExpirationDate:(NSString *)theExpirationDate +{ + if ((self = [super initWithCode:200 andMessage:nil])) { + self.accessKey = theAccessKey; + self.secretKey = theSecurityKey; + self.securityToken = theSecurityToken; + self.expirationDate = theExpirationDate; + } + + return self; +} + +-(void)dealloc +{ + [accessKey release]; + [secretKey release]; + [securityToken release]; + [expirationDate release]; + + [super dealloc]; +} + +@end + diff --git a/samples/UserPreference/UserPreference/GetTokenResponseHandler.h b/samples/UserPreference/UserPreference/GetTokenResponseHandler.h new file mode 100644 index 00000000..13aca9e6 --- /dev/null +++ b/samples/UserPreference/UserPreference/GetTokenResponseHandler.h @@ -0,0 +1,25 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "ResponseHandler.h" + +@interface GetTokenResponseHandler:ResponseHandler { + NSString *key; +} + +-(id)initWithKey:(NSString *)theKey; + +@end diff --git a/samples/UserPreference/UserPreference/GetTokenResponseHandler.m b/samples/UserPreference/UserPreference/GetTokenResponseHandler.m new file mode 100644 index 00000000..46483da7 --- /dev/null +++ b/samples/UserPreference/UserPreference/GetTokenResponseHandler.m @@ -0,0 +1,59 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "GetTokenResponseHandler.h" +#import "GetTokenResponse.h" +#import "Crypto.h" +#import "JSONUtilities.h" + +@implementation GetTokenResponseHandler + +-(id)initWithKey:(NSString *)theKey +{ + if ((self = [super init])) { + key = [theKey retain]; + } + + return self; +} + +-(Response *)handleResponse:(int)responseCode body:(NSString *)responseBody +{ + if (responseCode == 200) { + NSData *body = [Crypto decrypt:responseBody key:key]; + NSString *json = [[NSString alloc] initWithData:body encoding:NSUTF8StringEncoding]; + + NSString *accessKey = [JSONUtilities getJSONElement:json element:@"accessKey"]; + NSString *secretKey = [JSONUtilities getJSONElement:json element:@"secretKey"]; + NSString *securityToken = [JSONUtilities getJSONElement:json element:@"securityToken"]; + NSString *expirationDate = [JSONUtilities getJSONElement:json element:@"expirationDate"]; + + [json release]; + + return [[[GetTokenResponse alloc] initWithAccessKey:accessKey andSecretKey:secretKey andSecurityToken:securityToken andExpirationDate:expirationDate] autorelease]; + } + else { + return [[[GetTokenResponse alloc] initWithCode:responseCode andMessage:responseBody] autorelease]; + } +} + +-(void)dealloc +{ + [key release]; + [super dealloc]; +} + +@end + diff --git a/samples/UserPreference/UserPreference/JSONUtilities.h b/samples/UserPreference/UserPreference/JSONUtilities.h new file mode 100644 index 00000000..c2b16a97 --- /dev/null +++ b/samples/UserPreference/UserPreference/JSONUtilities.h @@ -0,0 +1,24 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + + +@interface JSONUtilities:NSObject { +} + ++(NSString *)getJSONElement:(NSString *)json element:(NSString *)elementName; + +@end diff --git a/samples/UserPreference/UserPreference/JSONUtilities.m b/samples/UserPreference/UserPreference/JSONUtilities.m new file mode 100644 index 00000000..8b372681 --- /dev/null +++ b/samples/UserPreference/UserPreference/JSONUtilities.m @@ -0,0 +1,39 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "JSONUtilities.h" + +@implementation JSONUtilities + ++(NSString *)getJSONElement:(NSString *)json element:(NSString *)elementName +{ + NSRange hasElement = [json rangeOfString:elementName]; + + if (hasElement.location != NSNotFound) { + NSRange startSearchRange = { hasElement.location, [json length] - hasElement.location }; + NSRange startRange = [json rangeOfString:@"\"" options:NSLiteralSearch range:startSearchRange]; + + NSRange endSearchRange = { startRange.location + 1, ([json length] - startRange.location) - 1 }; + NSRange endRange = [json rangeOfString:@"\"" options:NSLiteralSearch range:endSearchRange]; + + NSRange elementRange = { startRange.location + 1, endRange.location - startRange.location - 1 }; + return [json substringWithRange:elementRange]; + } + + return nil; +} + + +@end diff --git a/samples/UserPreference/UserPreference/RegisterDeviceRequest.h b/samples/UserPreference/UserPreference/RegisterDeviceRequest.h new file mode 100644 index 00000000..d1197d3f --- /dev/null +++ b/samples/UserPreference/UserPreference/RegisterDeviceRequest.h @@ -0,0 +1,31 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "Request.h" + +#define REGISTER_REQUEST @"http://%@/registerdevice?uid=%@&key=%@" +#define SSL_REGISTER_REQUEST @"https://%@/registerdevice?uid=%@&key=%@" + +@interface RegisterDeviceRequest:Request { + NSString *endpoint; + NSString *uid; + NSString *key; + bool useSSL; +} + +-(id)initWithEndpoint:(NSString *)theEndpoint andUid:(NSString *)theUid andKey:(NSString *)theKey usingSSL:(bool)usingSSL; + +@end diff --git a/samples/UserPreference/UserPreference/RegisterDeviceRequest.m b/samples/UserPreference/UserPreference/RegisterDeviceRequest.m new file mode 100644 index 00000000..362d4e53 --- /dev/null +++ b/samples/UserPreference/UserPreference/RegisterDeviceRequest.m @@ -0,0 +1,47 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "RegisterDeviceRequest.h" +#import + +@implementation RegisterDeviceRequest + +-(id)initWithEndpoint:(NSString *)theEndpoint andUid:(NSString *)theUid andKey:(NSString *)theKey usingSSL:(bool)usingSSL +{ + if ((self = [super init])) { + endpoint = [theEndpoint retain]; + uid = [theUid retain]; + key = [theKey retain]; + useSSL = usingSSL; + } + + return self; +} + +-(NSString *)buildRequestUrl +{ + return [NSString stringWithFormat:(useSSL ? SSL_REGISTER_REQUEST:REGISTER_REQUEST), endpoint, uid, key]; +} + +-(void)dealloc +{ + [endpoint release]; + [uid release]; + [key release]; + [super dealloc]; +} + +@end + diff --git a/samples/UserPreference/UserPreference/Request.h b/samples/UserPreference/UserPreference/Request.h new file mode 100644 index 00000000..a3dd9e98 --- /dev/null +++ b/samples/UserPreference/UserPreference/Request.h @@ -0,0 +1,24 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + + +@interface Request:NSObject { +} + +-(NSString *)buildRequestUrl; + +@end diff --git a/samples/UserPreference/UserPreference/Request.m b/samples/UserPreference/UserPreference/Request.m new file mode 100644 index 00000000..0a810217 --- /dev/null +++ b/samples/UserPreference/UserPreference/Request.m @@ -0,0 +1,26 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "Request.h" + +@implementation Request + +-(NSString *)buildRequestUrl +{ + return nil; +} + +@end + diff --git a/samples/UserPreference/UserPreference/RequestDelegate.h b/samples/UserPreference/UserPreference/RequestDelegate.h new file mode 100644 index 00000000..4e3a11e7 --- /dev/null +++ b/samples/UserPreference/UserPreference/RequestDelegate.h @@ -0,0 +1,32 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + + +@interface RequestDelegate:NSObject { + NSMutableData *receivedData; + + NSString *responseBody; + + bool failed; + bool done; +} + +@property (nonatomic, retain) NSString *responseBody; +@property (nonatomic) bool failed; +@property (nonatomic) bool done; + +@end diff --git a/samples/UserPreference/UserPreference/RequestDelegate.m b/samples/UserPreference/UserPreference/RequestDelegate.m new file mode 100644 index 00000000..26d97abb --- /dev/null +++ b/samples/UserPreference/UserPreference/RequestDelegate.m @@ -0,0 +1,85 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "RequestDelegate.h" +#import + +@implementation RequestDelegate + +@synthesize failed; +@synthesize done; +@synthesize responseBody; + +-(id)init +{ + if ((self = [super init])) { + failed = NO; + done = NO; + receivedData = [[NSMutableData data] retain]; + responseBody = nil; + } + + return self; +} + +-(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response +{ + [receivedData setLength:0]; + NSHTTPURLResponse *httpUrlResponse = (NSHTTPURLResponse *)response; + if ( [httpUrlResponse statusCode] != 200) { + failed = YES; + } +} + +-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data +{ + [receivedData appendData:data]; +} + +-(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error +{ + AMZLogDebug(@"Error: %@", error); + + [connection release]; + connection = nil; + + responseBody = [error localizedDescription]; + [receivedData release]; + receivedData = nil; + + failed = YES; + done = YES; +} + +-(void)connectionDidFinishLoading:(NSURLConnection *)connection +{ + [connection release]; + connection = nil; + + responseBody = [[NSString alloc] initWithData:receivedData encoding:NSUTF8StringEncoding]; + [receivedData release]; + receivedData = nil; + done = YES; +} + +-(void)dealloc +{ + [receivedData release]; + [responseBody release]; + [super dealloc]; +} + +@end + diff --git a/samples/UserPreference/UserPreference/Response.h b/samples/UserPreference/UserPreference/Response.h new file mode 100644 index 00000000..5c53fd2a --- /dev/null +++ b/samples/UserPreference/UserPreference/Response.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + + +@interface Response:NSObject { + int code; + NSString *message; +} + +@property (nonatomic) int code; +@property (nonatomic, retain) NSString *message; + +-(id)initWithCode:(int)code andMessage:(NSString *)message; +-(bool)wasSuccessful; + +@end diff --git a/samples/UserPreference/UserPreference/Response.m b/samples/UserPreference/UserPreference/Response.m new file mode 100644 index 00000000..92514dc0 --- /dev/null +++ b/samples/UserPreference/UserPreference/Response.m @@ -0,0 +1,45 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "Response.h" + +@implementation Response + +@synthesize code; +@synthesize message; + +-(id)initWithCode:(int)theCode andMessage:(NSString *)theMessage +{ + if ((self = [super init])) { + code = theCode; + self.message = theMessage; + } + + return self; +} + +-(bool)wasSuccessful +{ + return self.code == 200; +} + +-(void)dealloc +{ + [message release]; + [super dealloc]; +} + +@end + diff --git a/samples/UserPreference/UserPreference/ResponseHandler.h b/samples/UserPreference/UserPreference/ResponseHandler.h new file mode 100644 index 00000000..2fb101ec --- /dev/null +++ b/samples/UserPreference/UserPreference/ResponseHandler.h @@ -0,0 +1,24 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "Response.h" + +@interface ResponseHandler:NSObject { +} + +-(Response *)handleResponse:(int)responseCode body:(NSString *)responseBody; + +@end diff --git a/samples/UserPreference/UserPreference/ResponseHandler.m b/samples/UserPreference/UserPreference/ResponseHandler.m new file mode 100644 index 00000000..1b29bedd --- /dev/null +++ b/samples/UserPreference/UserPreference/ResponseHandler.m @@ -0,0 +1,27 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ResponseHandler.h" +#import "Response.h" + +@implementation ResponseHandler + +-(Response *)handleResponse:(int)responseCode body:(NSString *)responseBody +{ + return [[[Response alloc] initWithCode:responseCode andMessage:responseBody] autorelease]; +} + +@end + diff --git a/samples/UserPreference/UserPreference/SelectionViewController.h b/samples/UserPreference/UserPreference/SelectionViewController.h new file mode 100644 index 00000000..6a887659 --- /dev/null +++ b/samples/UserPreference/UserPreference/SelectionViewController.h @@ -0,0 +1,37 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + +@protocol SelectionViewControllerDelegate; + +@interface SelectionViewController:UITableViewController +{ + NSArray *dataSource; + NSString *selectedValue; + + id delegate; +} + +@property (nonatomic, retain) NSArray *dataSource; +@property (nonatomic, retain) NSString *selectedValue; +@property (nonatomic, retain) id delegate; + +@end + +@protocol SelectionViewControllerDelegate < NSObject > +@optional +-(void)selectionViewController:(SelectionViewController *)selectionViewController; +@end \ No newline at end of file diff --git a/samples/UserPreference/UserPreference/SelectionViewController.m b/samples/UserPreference/UserPreference/SelectionViewController.m new file mode 100644 index 00000000..b7245395 --- /dev/null +++ b/samples/UserPreference/UserPreference/SelectionViewController.m @@ -0,0 +1,98 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "SelectionViewController.h" + + +@implementation SelectionViewController + +@synthesize dataSource, selectedValue, delegate; + +-(id)initWithStyle:(UITableViewStyle)style +{ + self = [super initWithStyle:style]; + if (self) { + // Custom initialization + } + return self; +} + +#pragma mark - View lifecycle + +-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + return YES; +} + +-(void)dealloc +{ + [dataSource release]; + [selectedValue release]; + [delegate release]; + + [super dealloc]; +} + +#pragma mark - Table view data source + +-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView +{ + return 1; +} + +-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section +{ + return [self.dataSource count]; +} + +-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath +{ + static NSString *CellIdentifier = @"SelectionCell"; + + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; + + if (cell == nil) { + cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; + } + cell.selectionStyle = UITableViewCellSelectionStyleNone; + + if ([[self.dataSource objectAtIndex:indexPath.row] isEqualToString:self.selectedValue]) + { + cell.accessoryType = UITableViewCellAccessoryCheckmark; + } + else + { + cell.accessoryType = UITableViewCellAccessoryNone; + } + + cell.textLabel.text = [self.dataSource objectAtIndex:indexPath.row]; + + return cell; +} + +#pragma mark - Table view delegate + +-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath +{ + self.selectedValue = [self.dataSource objectAtIndex:indexPath.row]; + [tableView reloadData]; + + if ([self.delegate respondsToSelector:@selector(selectionViewController:)]) + { + [self.delegate selectionViewController:self]; + } +} + +@end diff --git a/samples/UserPreference/UserPreference/UserListViewController.h b/samples/UserPreference/UserPreference/UserListViewController.h new file mode 100644 index 00000000..0db5b3a4 --- /dev/null +++ b/samples/UserPreference/UserPreference/UserListViewController.h @@ -0,0 +1,24 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + +@interface UserListView:UITableViewController +{ +} + +@property (strong, nonatomic) NSMutableArray *users; + +@end diff --git a/samples/UserPreference/UserPreference/UserListViewController.m b/samples/UserPreference/UserPreference/UserListViewController.m new file mode 100644 index 00000000..91b1b82b --- /dev/null +++ b/samples/UserPreference/UserPreference/UserListViewController.m @@ -0,0 +1,131 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "UserListViewController.h" +#import "DynamoDBManager.h" +#import +#import "UserViewController.h" + +@implementation UserListView + +@synthesize users; + +-(id)initWithStyle:(UITableViewStyle)style +{ + self = [super initWithStyle:style]; + if (self) { + self.users = nil; + self.title = @"User List"; + + self.navigationItem.rightBarButtonItem = self.editButtonItem; + } + return self; +} + +#pragma mark - View lifecycle + +-(void)viewDidLoad +{ + [super viewDidLoad]; + + self.users = [DynamoDBManager getUserList]; +} + +-(void)viewDidUnload +{ + [super viewDidUnload]; +} + +-(void)viewWillAppear:(BOOL)animated +{ + [super viewWillAppear:animated]; +} + +-(void)viewDidAppear:(BOOL)animated +{ + [super viewDidAppear:animated]; +} + +-(void)viewWillDisappear:(BOOL)animated +{ + [super viewWillDisappear:animated]; +} + +-(void)viewDidDisappear:(BOOL)animated +{ + [super viewDidDisappear:animated]; +} + +-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + return YES; +} + +#pragma mark - Table view data source + +-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView +{ + return 1; +} + +-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section +{ + return self.users.count; +} + +-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath +{ + static NSString *CellIdentifier = @"Cell"; + + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; + + if (cell == nil) { + cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; + } + + cell.textLabel.text = [NSString stringWithFormat:@"%@ %@", + ((DynamoDBAttributeValue *)[[self.users objectAtIndex:indexPath.row] objectForKey:@"firstName"]).s, + ((DynamoDBAttributeValue *)[[self.users objectAtIndex:indexPath.row] objectForKey:@"lastName"]).s]; + + cell.accessoryType = UITableViewCellStateShowingEditControlMask; + + return cell; +} + +-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath +{ + if (editingStyle == UITableViewCellEditingStyleDelete) + { + [DynamoDBManager deleteUser:(DynamoDBAttributeValue *)[[self.users objectAtIndex:indexPath.row] objectForKey:@"userNo"]]; + [self.users removeObjectAtIndex:indexPath.row]; + [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] + withRowAnimation:YES]; + } +} + +#pragma mark - Table view delegate + +-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath +{ + UserViewController *userView = [[UserViewController alloc] initWithStyle:UITableViewStyleGrouped]; + + userView.userNo = [((DynamoDBAttributeValue *)[[self.users objectAtIndex:indexPath.row] objectForKey:@"userNo"]).n intValue]; + [self.navigationController pushViewController:userView animated:YES]; + [userView release]; + + [tableView deselectRowAtIndexPath:indexPath animated:YES]; +} + +@end diff --git a/samples/UserPreference/UserPreference/UserPreference-Info.plist b/samples/UserPreference/UserPreference/UserPreference-Info.plist new file mode 100644 index 00000000..d6249012 --- /dev/null +++ b/samples/UserPreference/UserPreference/UserPreference-Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFiles + + CFBundleIdentifier + com.amazon.aws.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/samples/UserPreference/UserPreference/UserPreference-Prefix.pch b/samples/UserPreference/UserPreference/UserPreference-Prefix.pch new file mode 100644 index 00000000..d3865334 --- /dev/null +++ b/samples/UserPreference/UserPreference/UserPreference-Prefix.pch @@ -0,0 +1,15 @@ +// +// Prefix header for all source files of the 'UserPreference' target in the 'UserPreference' project +// + +#import +#import "Constants.h" + +#ifndef __IPHONE_4_0 +#warning "This project uses features only available in iOS SDK 4.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/samples/UserPreference/UserPreference/UserViewController.h b/samples/UserPreference/UserPreference/UserViewController.h new file mode 100644 index 00000000..65cb3098 --- /dev/null +++ b/samples/UserPreference/UserPreference/UserViewController.h @@ -0,0 +1,29 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "SelectionViewController.h" + +@interface UserViewController:UITableViewController +{ + int userNo; + NSMutableDictionary *userInfo; + NSArray *tableDataSource; +} + +@property (assign) int userNo; +@property (nonatomic, retain) NSMutableDictionary *userInfo; + +@end diff --git a/samples/UserPreference/UserPreference/UserViewController.m b/samples/UserPreference/UserPreference/UserViewController.m new file mode 100644 index 00000000..d521cfa7 --- /dev/null +++ b/samples/UserPreference/UserPreference/UserViewController.m @@ -0,0 +1,192 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "UserViewController.h" +#import "DynamoDBManager.h" +#import +#import "SelectionViewController.h" +#import +#import "AmazonClientManager.h" + +@implementation UserViewController + +@synthesize userNo, userInfo; + +-(id)initWithStyle:(UITableViewStyle)style +{ + self = [super initWithStyle:style]; + if (self) { + self.userNo = 0; + self.userInfo = nil; + + tableDataSource = [[NSArray arrayWithObjects: + [NSArray arrayWithObjects:@"Auto Login", nil], + [NSArray arrayWithObjects:@"Color Theme", nil], + [NSArray arrayWithObjects:@"Vibrate", @"Silent", nil], + nil] retain]; + } + return self; +} + +#pragma mark - View lifecycle + +-(void)viewWillAppear:(BOOL)animated +{ + [super viewWillAppear:animated]; + + self.userInfo = [DynamoDBManager getUserInfo:self.userNo]; + + self.title = [NSString stringWithFormat:@"%@ %@", + ((DynamoDBAttributeValue *)[self.userInfo objectForKey:@"firstName"]).s, + ((DynamoDBAttributeValue *)[self.userInfo objectForKey:@"lastName"]).s]; +} + +-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + return YES; +} + +-(void)dealloc +{ + [userInfo release]; + [tableDataSource release]; + + [super dealloc]; +} + +#pragma mark - Table view data source + +-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView +{ + return [tableDataSource count]; +} + +-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section +{ + return [(NSArray *)[tableDataSource objectAtIndex:section] count]; +} + +-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath +{ + static NSString *CellIdentifier = @"UserViewCell"; + + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; + + if (cell == nil) { + cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:CellIdentifier] autorelease]; + } + cell.selectionStyle = UITableViewCellSelectionStyleNone; + + cell.textLabel.text = [[tableDataSource objectAtIndex:indexPath.section] objectAtIndex:indexPath.row]; + + if ([cell.textLabel.text isEqualToString:@"Auto Login"]) + { + UISwitch *autoLogin = [[UISwitch alloc] init]; + autoLogin.on = [((DynamoDBAttributeValue *)[self.userInfo objectForKey:@"autoLogin"]).s isEqualToString:@"YES"] ? YES : NO; + [autoLogin addTarget:self action:@selector(autoLoginSwichChanged:) forControlEvents:UIControlEventValueChanged]; + cell.accessoryView = autoLogin; + [autoLogin release]; + } + else if ([cell.textLabel.text isEqualToString:@"Color Theme"]) + { + cell.detailTextLabel.text = ((DynamoDBAttributeValue *)[self.userInfo objectForKey:@"colorTheme"]).s; + cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; + } + else if ([cell.textLabel.text isEqualToString:@"Vibrate"]) + { + UISwitch *vibrate = [[UISwitch alloc] init]; + [vibrate addTarget:self action:@selector(vibrateSwichChanged:) forControlEvents:UIControlEventValueChanged]; + vibrate.on = [((DynamoDBAttributeValue *)[self.userInfo objectForKey:@"vibrate"]).s isEqualToString:@"YES"] ? YES : NO; + cell.accessoryView = vibrate; + [vibrate release]; + } + else if ([cell.textLabel.text isEqualToString:@"Silent"]) + { + UISwitch *silent = [[UISwitch alloc] init]; + [silent addTarget:self action:@selector(silentSwichChanged:) forControlEvents:UIControlEventValueChanged]; + silent.on = [((DynamoDBAttributeValue *)[self.userInfo objectForKey:@"silent"]).s isEqualToString:@"YES"] ? YES : NO; + cell.accessoryView = silent; + [silent release]; + } + + return cell; +} + +#pragma mark - Table view delegate + +-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath +{ + if ([[[tableDataSource objectAtIndex:indexPath.section] objectAtIndex:indexPath.row] isEqualToString:@"Color Theme"]) + { + SelectionViewController *selectionView = [[SelectionViewController alloc] initWithStyle:UITableViewStyleGrouped]; + selectionView.dataSource = [Constants getColors]; + selectionView.selectedValue = ((DynamoDBAttributeValue *)[self.userInfo objectForKey:@"colorTheme"]).s; + selectionView.title = @"Color Theme"; + selectionView.delegate = self; + [self.navigationController pushViewController:selectionView animated:YES]; + [selectionView release]; + } +} + +#pragma mark - SelectionView delegate + +-(void)selectionViewController:(SelectionViewController *)selectionViewController +{ + [DynamoDBManager updateAttributeStringValue:selectionViewController.selectedValue + forKey:@"colorTheme" + withPrimaryKey:(DynamoDBAttributeValue *)[self.userInfo objectForKey:@"userNo"]]; + + if (((DynamoDBAttributeValue *)[self.userInfo objectForKey:@"colorTheme"]) == nil) + { + [self.userInfo setObject:[[[DynamoDBAttributeValue alloc] initWithS:@""] autorelease] forKey:@"colorTheme"]; + } + ((DynamoDBAttributeValue *)[self.userInfo objectForKey:@"colorTheme"]).s = selectionViewController.selectedValue; + + [self.navigationController popViewControllerAnimated:YES]; + [self.tableView reloadData]; +} + +#pragma mark - UISwitch Actions + +-(void)autoLoginSwichChanged:(UISwitch *)aSwitch +{ + [aSwitch retain]; + [DynamoDBManager updateAttributeStringValue:aSwitch.on ? @"YES":@"NO" + forKey:@"autoLogin" + withPrimaryKey:(DynamoDBAttributeValue *)[self.userInfo objectForKey:@"userNo"]]; + [aSwitch release]; +} + +-(void)vibrateSwichChanged:(UISwitch *)aSwitch +{ + [aSwitch retain]; + [DynamoDBManager updateAttributeStringValue:aSwitch.on ? @"YES":@"NO" + forKey:@"vibrate" + withPrimaryKey:(DynamoDBAttributeValue *)[self.userInfo objectForKey:@"userNo"]]; + [aSwitch release]; +} + +-(void)silentSwichChanged:(UISwitch *)aSwitch +{ + [aSwitch retain]; + [DynamoDBManager updateAttributeStringValue:aSwitch.on ? @"YES":@"NO" + forKey:@"silent" + withPrimaryKey:(DynamoDBAttributeValue *)[self.userInfo objectForKey:@"userNo"]]; + [aSwitch release]; +} + +#pragma mark - + +@end diff --git a/samples/UserPreference/UserPreference/WelcomeView.xib b/samples/UserPreference/UserPreference/WelcomeView.xib new file mode 100644 index 00000000..bef288cb --- /dev/null +++ b/samples/UserPreference/UserPreference/WelcomeView.xib @@ -0,0 +1,536 @@ + + + + 1280 + 10K549 + 1938 + 1038.36 + 461.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 933 + + + IBUIButton + IBUIView + IBUILabel + IBProxyObject + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + + + + 301 + {{20, 20}, {280, 21}} + + + + NO + YES + 7 + NO + IBCocoaTouchFramework + Token Vending Machine URL + + 3 + MC4zMzMzMzMzMzMzAA + + + 1 + 10 + 1 + + 1 + 17 + + + Helvetica + 17 + 16 + + + + + 301 + {{20, 49}, {280, 21}} + + + + NO + YES + 7 + NO + IBCocoaTouchFramework + http://aws.amazon.com/sdkforios/ + + 1 + MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA + + + 0 + 12 + 1 + 1 + + 2 + 17 + + + Helvetica-Bold + 17 + 16 + + + + + 301 + {{20, 85}, {280, 21}} + + + + NO + YES + 7 + NO + IBCocoaTouchFramework + SSL Enabled? + + + 1 + 10 + 1 + + + + + + 301 + {{20, 114}, {280, 21}} + + + + NO + YES + 7 + NO + IBCocoaTouchFramework + NO + + 1 + MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA + + + 1 + 5 + 1 + + + + + + -2147483347 + {{20, 314}, {280, 37}} + + + + NO + IBCocoaTouchFramework + 0 + 0 + 1 + 3. List Users + + 3 + MQA + + + 1 + MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA + + + 3 + MC41AA + + + 2 + 15 + + + Helvetica-Bold + 15 + 16 + + + + + -2147483347 + {{20, 359}, {280, 37}} + + + + NO + IBCocoaTouchFramework + 0 + 0 + 1 + 4. Delete Table + + + 1 + MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA + + + + + + + + -2147483356 + {{20, 269}, {280, 37}} + + + + NO + IBCocoaTouchFramework + 0 + 0 + 1 + 2. Insert Users + + + 1 + MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA + + + + + + + + -2147483356 + {{20, 224}, {280, 37}} + + + + NO + IBCocoaTouchFramework + 0 + 0 + 1 + 1. Create Table + + + 1 + MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA + + + + + + + {{0, 64}, {320, 416}} + + + + + 3 + MQA + + 2 + + + + + + NO + + IBCocoaTouchFramework + + + + + + + view + + + + 17 + + + + cleanUpButton + + + + 33 + + + + createDbButton + + + + 34 + + + + setUpButton + + + + 35 + + + + sslEnabledLabel + + + + 36 + + + + tokenVendingMachineUrlLabel + + + + 37 + + + + startButton + + + + 38 + + + + showUserList: + + + 7 + + 42 + + + + setUpUserList: + + + 7 + + 41 + + + + cleanUp: + + + 7 + + 39 + + + + createDB: + + + 7 + + 40 + + + + + + 0 + + + + + + 1 + + + + + + + + + + + + + + + -1 + + + File's Owner + + + -2 + + + + + 3 + + + + + 6 + + + + + 7 + + + + + 8 + + + + + 9 + + + + + 22 + + + + + 25 + + + + + 29 + + + + + + + WelcomeViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 42 + + + + + WelcomeViewController + UIViewController + + id + id + id + id + + + + cleanUp: + id + + + createDB: + id + + + setUpUserList: + id + + + showUserList: + id + + + + UIButton + UIButton + UIButton + UILabel + UIButton + UILabel + + + + cleanUpButton + UIButton + + + createDbButton + UIButton + + + setUpButton + UIButton + + + sslEnabledLabel + UILabel + + + startButton + UIButton + + + tokenVendingMachineUrlLabel + UILabel + + + + IBProjectSource + ./Classes/WelcomeViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + 933 + + diff --git a/samples/UserPreference/UserPreference/WelcomeViewController.h b/samples/UserPreference/UserPreference/WelcomeViewController.h new file mode 100644 index 00000000..56829dbf --- /dev/null +++ b/samples/UserPreference/UserPreference/WelcomeViewController.h @@ -0,0 +1,36 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import + +@interface WelcomeViewController:UIViewController +{ + IBOutlet UILabel *tokenVendingMachineUrlLabel; + IBOutlet UILabel *sslEnabledLabel; + + IBOutlet UIButton *createDbButton; + IBOutlet UIButton *setUpButton; + IBOutlet UIButton *startButton; + IBOutlet UIButton *cleanUpButton; +} + +-(IBAction)createDB:(id)sender; +-(IBAction)setUpUserList:(id)sender; +-(IBAction)showUserList:(id)sender; +-(IBAction)cleanUp:(id)sender; + +-(void)showAlert:(NSString *)message withStatus:(NSString *)status; + +@end diff --git a/samples/UserPreference/UserPreference/WelcomeViewController.m b/samples/UserPreference/UserPreference/WelcomeViewController.m new file mode 100644 index 00000000..63cee130 --- /dev/null +++ b/samples/UserPreference/UserPreference/WelcomeViewController.m @@ -0,0 +1,144 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "WelcomeViewController.h" +#import "UserListViewController.h" +#import "DynamoDBManager.h" + +@implementation WelcomeViewController + +-(id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + self.title = @"User Preference Demo"; + } + return self; +} + +#pragma mark - View lifecycle + +-(void)viewDidLoad +{ + [super viewDidLoad]; + + tokenVendingMachineUrlLabel.text = TOKEN_VENDING_MACHINE_URL; + sslEnabledLabel.text = USE_SSL ? @"YES" : @"NO"; + + // if TOKEN_VENDING_MACHINE_URL is a valid URL + if ([NSURL URLWithString:TOKEN_VENDING_MACHINE_URL] != nil) + { + createDbButton.hidden = NO; + setUpButton.hidden = NO; + startButton.hidden = NO; + cleanUpButton.hidden = NO; + } +} + +-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + // Return YES for supported orientations + return (interfaceOrientation == UIInterfaceOrientationPortrait); +} + +-(void)dealloc +{ + [tokenVendingMachineUrlLabel release]; + [sslEnabledLabel release]; + [setUpButton release]; + [startButton release]; + [cleanUpButton release]; + + [super dealloc]; +} + +#pragma mark - User Action + +-(IBAction)createDB:(id)sender +{ + NSString *tableStatus = [DynamoDBManager getTestTableStatus]; + + if (tableStatus == nil) + { + [DynamoDBManager createTable]; + } + else + { + [self showAlert:@"The test table already exists." withStatus:tableStatus]; + } +} + +-(IBAction)setUpUserList:(id)sender +{ + NSString *tableStatus = [DynamoDBManager getTestTableStatus]; + + if ([tableStatus isEqualToString:@"ACTIVE"]) + { + [DynamoDBManager insertUsers]; + } + else + { + [self showAlert:@"The test table is not ready yet." withStatus:tableStatus]; + } +} + +-(IBAction)showUserList:(id)sender +{ + NSString *tableStatus = [DynamoDBManager getTestTableStatus]; + + if ([tableStatus isEqualToString:@"ACTIVE"]) + { + UserListView *user_list_view = [[UserListView alloc] initWithStyle:UITableViewStyleGrouped]; + [self.navigationController pushViewController:user_list_view animated:YES]; + [user_list_view release]; + } + else + { + [self showAlert:@"The test table is not ready yet." withStatus:tableStatus]; + } +} + +-(IBAction)cleanUp:(id)sender +{ + NSString *tableStatus = [DynamoDBManager getTestTableStatus]; + + if ([tableStatus isEqualToString:@"ACTIVE"]) + { + [DynamoDBManager cleanUp]; + } + else + { + [self showAlert:@"The test table is not ready yet." withStatus:tableStatus]; + } +} + +-(void)showAlert:(NSString *)message withStatus:(NSString *)status +{ + UIAlertView *alert = [[UIAlertView alloc] + initWithTitle:@"Warning" + message:[NSString stringWithFormat:@"%@\nTable Status: %@.", + message, + status] + delegate:nil + cancelButtonTitle:nil + otherButtonTitles:@"OK", nil]; + + [alert show]; + [alert release]; +} + +#pragma mark - + +@end diff --git a/samples/UserPreference/UserPreference/en.lproj/InfoPlist.strings b/samples/UserPreference/UserPreference/en.lproj/InfoPlist.strings new file mode 100644 index 00000000..477b28ff --- /dev/null +++ b/samples/UserPreference/UserPreference/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/samples/UserPreference/UserPreference/main.m b/samples/UserPreference/UserPreference/main.m new file mode 100644 index 00000000..030c18b1 --- /dev/null +++ b/samples/UserPreference/UserPreference/main.m @@ -0,0 +1,25 @@ +// +// main.m +// UserPreference +// +// Created by Matsuda, Yosuke on 12/23/11. +// Copyright (c) 2011 __MyCompanyName__. All rights reserved. +// + +#import + +#import "AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @try + { + @autoreleasepool + { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } + } + @catch (NSException *exception) { + NSLog(@"Exception: %@", exception); + } +} \ No newline at end of file diff --git a/src/Amazon.AutoScaling/AmazonAutoScalingClient.m b/src/Amazon.AutoScaling/AmazonAutoScalingClient.m index 11b4f200..761ef467 100644 --- a/src/Amazon.AutoScaling/AmazonAutoScalingClient.m +++ b/src/Amazon.AutoScaling/AmazonAutoScalingClient.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/AutoScalingResponse.m b/src/Amazon.AutoScaling/AutoScalingResponse.m index 2c78a3f2..c2d4a589 100644 --- a/src/Amazon.AutoScaling/AutoScalingResponse.m +++ b/src/Amazon.AutoScaling/AutoScalingResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/AutoScalingResponseUnmarshaller.m b/src/Amazon.AutoScaling/AutoScalingResponseUnmarshaller.m index 57bbf445..ae5fb639 100644 --- a/src/Amazon.AutoScaling/AutoScalingResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/AutoScalingResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingActivity.m b/src/Amazon.AutoScaling/Model/AutoScalingActivity.m index 9a840120..cc5c784c 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingActivity.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingActivity.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingActivityUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingActivityUnmarshaller.m index 9efa5689..12328516 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingActivityUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingActivityUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingAdjustmentType.m b/src/Amazon.AutoScaling/Model/AutoScalingAdjustmentType.m index 678359ba..1584b181 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingAdjustmentType.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingAdjustmentType.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingAdjustmentTypeUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingAdjustmentTypeUnmarshaller.m index 3853e734..65e9d1f5 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingAdjustmentTypeUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingAdjustmentTypeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingAlarm.m b/src/Amazon.AutoScaling/Model/AutoScalingAlarm.m index 107182f1..fd2efc6c 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingAlarm.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingAlarm.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingAlarmUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingAlarmUnmarshaller.m index 60a21de4..ea5e8b6a 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingAlarmUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingAlarmUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingAlreadyExistsException.m b/src/Amazon.AutoScaling/Model/AutoScalingAlreadyExistsException.m index fdd1c2d4..6622c3f5 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingAlreadyExistsException.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingAlreadyExistsException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingGroup.m b/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingGroup.m index 1a5d3755..c5d7492b 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingGroup.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingGroup.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingGroupUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingGroupUnmarshaller.m index 39e255ff..0b355e45 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingGroupUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingGroupUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingInstanceDetails.m b/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingInstanceDetails.m index 95f1d695..bf652d2a 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingInstanceDetails.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingInstanceDetails.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingInstanceDetailsUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingInstanceDetailsUnmarshaller.m index b626d193..3b7501ea 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingInstanceDetailsUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingAutoScalingInstanceDetailsUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingBlockDeviceMapping.m b/src/Amazon.AutoScaling/Model/AutoScalingBlockDeviceMapping.m index 26bef7be..adf2c42f 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingBlockDeviceMapping.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingBlockDeviceMapping.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingBlockDeviceMappingUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingBlockDeviceMappingUnmarshaller.m index be8e56af..24b11215 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingBlockDeviceMappingUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingBlockDeviceMappingUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupRequest.m index cb59aa17..0d34a254 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupRequestMarshaller.m index b3f6a445..c403fffe 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupResponse.m index 3b33a3c1..7d66dc27 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupResponseUnmarshaller.m index e8608aca..8fc555db 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingCreateAutoScalingGroupResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationRequest.m index fce03af4..8f4c3366 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationRequestMarshaller.m index 494d3608..6c1a446d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationResponse.m index 8da1650d..f7c891fe 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationResponseUnmarshaller.m index a670db64..e008b22a 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingCreateLaunchConfigurationResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupRequest.m index a2890429..f2fac5a1 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupRequestMarshaller.m index 1ef5b88e..eaae0e27 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupResponse.m index 4d0e8cc8..f6bb84b5 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupResponseUnmarshaller.m index 77f020e8..03fb4438 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteAutoScalingGroupResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationRequest.m index 00451ad6..cd9ad3b6 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationRequestMarshaller.m index bebd5609..5a998b86 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationResponse.m index bcdf4428..c33ff706 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationResponseUnmarshaller.m index 8ec89af7..dbc331f8 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteLaunchConfigurationResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationRequest.m index 039533d8..86e35ff4 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationRequestMarshaller.m index 35ad37cd..aa7871e9 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationResponse.m index 7763b73e..791c0e0c 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationResponseUnmarshaller.m index 9af18a7e..15611cbf 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteNotificationConfigurationResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyRequest.m index 36c23555..a00db5ec 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyRequestMarshaller.m index dafbbd57..855aab0e 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyResponse.m index 2e4a5301..abc62d07 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyResponseUnmarshaller.m index 4cbaf8d9..c27db376 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeletePolicyResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionRequest.m index e82db20f..4bf582b1 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionRequestMarshaller.m index db12ad8d..c2ea018b 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionResponse.m index 9e836e3e..7aab7f5d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionResponseUnmarshaller.m index ee3fe3f1..1743f12d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDeleteScheduledActionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesRequest.m index eb18a73a..e90454ba 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesRequestMarshaller.m index 8c58015c..b01c0a42 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesResponse.m index e4dd387c..de2d3c27 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesResponseUnmarshaller.m index 82b79f95..2e448802 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAdjustmentTypesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsRequest.m index bbf713c6..44d3e72e 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsRequestMarshaller.m index 850c2dc3..297a9425 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsResponse.m index 6867b7f7..00797487 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsResponseUnmarshaller.m index d0f56fa3..c3654f53 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingGroupsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesRequest.m index 801468f3..9a6c0d09 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesRequestMarshaller.m index e9471132..1aa6a737 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesResponse.m index 68af5ae5..9cbb99b7 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesResponseUnmarshaller.m index 10c20aec..3d38558d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesRequest.m index 4ba8c5ad..ffc8b66d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesRequestMarshaller.m index 7a2b5e7e..95b97306 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesResponse.m index bc932224..99c7fdd0 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesResponseUnmarshaller.m index b2f8dbd5..6572a6c1 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeAutoScalingNotificationTypesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsRequest.m index 038271e6..840bddd7 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsRequestMarshaller.m index 5f62a3ac..a6f7b9f1 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsResponse.m index 002b4814..39177bca 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsResponseUnmarshaller.m index bbc1be3a..482d638d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeLaunchConfigurationsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesRequest.m index b37164a5..e9185654 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesRequestMarshaller.m index ed0be223..488517f1 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesResponse.m index 919a992d..a409557b 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesResponseUnmarshaller.m index 29af7146..f82b56ed 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeMetricCollectionTypesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsRequest.m index bb072bdb..ed86058e 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsRequestMarshaller.m index 88e3e083..d6e39092 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsResponse.m index eced902e..f1ee7eea 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsResponseUnmarshaller.m index e96413d3..d62d9bb4 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeNotificationConfigurationsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesRequest.m index 1f28d3ac..12ab1883 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesRequestMarshaller.m index 2337a8f8..7ab0db04 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesResponse.m index 31a786cc..247c1ece 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesResponseUnmarshaller.m index 0f933a11..44dd2ab3 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribePoliciesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesRequest.m index c960866a..e15e4669 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesRequestMarshaller.m index e949204d..b1751caa 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesResponse.m index 52453a4b..3f1138b1 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesResponseUnmarshaller.m index c96a775d..00c59cc9 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingActivitiesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesRequest.m index d4503f71..da1f66b0 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesRequestMarshaller.m index 78214692..d5e86725 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesResponse.m index 25e745a1..23a083fa 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesResponseUnmarshaller.m index 8c881cea..a93190c6 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScalingProcessTypesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsRequest.m index 5fdba146..423ac476 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsRequestMarshaller.m index ff91b046..89ea2c39 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsResponse.m index d018f0da..ed5de60c 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsResponseUnmarshaller.m index 09ad5fc3..1f94c02d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDescribeScheduledActionsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionRequest.m index f5c94476..b88a9efd 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionRequestMarshaller.m index 100c514b..264e0ed7 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionResponse.m index 90ef9656..8cdcce48 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionResponseUnmarshaller.m index 84cf46f9..1cecd995 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingDisableMetricsCollectionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingEbs.m b/src/Amazon.AutoScaling/Model/AutoScalingEbs.m index 27a51c2b..6dd70013 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingEbs.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingEbs.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingEbsUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingEbsUnmarshaller.m index a49fb065..e9be7910 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingEbsUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingEbsUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionRequest.m index e8e2cdbc..df5b362b 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionRequestMarshaller.m index cd7de45c..73d2b405 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionResponse.m index 0cddf866..0db555f4 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionResponseUnmarshaller.m index 0ef92793..5909fb86 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingEnableMetricsCollectionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingEnabledMetric.m b/src/Amazon.AutoScaling/Model/AutoScalingEnabledMetric.m index a6fb66f2..4b5c51f4 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingEnabledMetric.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingEnabledMetric.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingEnabledMetricUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingEnabledMetricUnmarshaller.m index 68a46c9a..48efe058 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingEnabledMetricUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingEnabledMetricUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyRequest.m index c716c187..8b6fcf97 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyRequestMarshaller.m index 12152412..027dbaa7 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyResponse.m index f565b15d..ef1c7832 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyResponseUnmarshaller.m index b497abe2..fd5a2a58 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingExecutePolicyResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingInstance.m b/src/Amazon.AutoScaling/Model/AutoScalingInstance.m index d9f05c25..1129937d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingInstance.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingInstance.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingInstanceMonitoring.m b/src/Amazon.AutoScaling/Model/AutoScalingInstanceMonitoring.m index ac25b126..ca2a8f72 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingInstanceMonitoring.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingInstanceMonitoring.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingInstanceMonitoringUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingInstanceMonitoringUnmarshaller.m index da3ee8ed..0c2f6413 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingInstanceMonitoringUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingInstanceMonitoringUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingInstanceUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingInstanceUnmarshaller.m index 1b1d9f04..4369f985 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingInstanceUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingInstanceUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingInvalidNextTokenException.m b/src/Amazon.AutoScaling/Model/AutoScalingInvalidNextTokenException.m index 3c2fe427..99314d80 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingInvalidNextTokenException.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingInvalidNextTokenException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingLaunchConfiguration.m b/src/Amazon.AutoScaling/Model/AutoScalingLaunchConfiguration.m index f842720a..3c97997a 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingLaunchConfiguration.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingLaunchConfiguration.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingLaunchConfigurationUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingLaunchConfigurationUnmarshaller.m index f3ff4a18..9fc3d4a3 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingLaunchConfigurationUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingLaunchConfigurationUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingLimitExceededException.m b/src/Amazon.AutoScaling/Model/AutoScalingLimitExceededException.m index c06326da..9ec09cb6 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingLimitExceededException.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingLimitExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingMetricCollectionType.m b/src/Amazon.AutoScaling/Model/AutoScalingMetricCollectionType.m index 0e4efc64..f95553b1 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingMetricCollectionType.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingMetricCollectionType.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingMetricCollectionTypeUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingMetricCollectionTypeUnmarshaller.m index 371e99fb..898604f9 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingMetricCollectionTypeUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingMetricCollectionTypeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingMetricGranularityType.m b/src/Amazon.AutoScaling/Model/AutoScalingMetricGranularityType.m index 77dff257..45b12a39 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingMetricGranularityType.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingMetricGranularityType.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingMetricGranularityTypeUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingMetricGranularityTypeUnmarshaller.m index 0ed7483b..a6c3d922 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingMetricGranularityTypeUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingMetricGranularityTypeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingNotificationConfiguration.m b/src/Amazon.AutoScaling/Model/AutoScalingNotificationConfiguration.m index 98448fc6..1cd30a18 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingNotificationConfiguration.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingNotificationConfiguration.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingNotificationConfigurationUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingNotificationConfigurationUnmarshaller.m index 431f339c..692b74f9 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingNotificationConfigurationUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingNotificationConfigurationUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingProcessType.m b/src/Amazon.AutoScaling/Model/AutoScalingProcessType.m index 5c3ed8c2..1ed6268e 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingProcessType.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingProcessType.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingProcessTypeUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingProcessTypeUnmarshaller.m index e65aa269..1b0a6430 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingProcessTypeUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingProcessTypeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationRequest.m index 42256927..6f793e70 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationRequestMarshaller.m index 550d166b..f4df871d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationResponse.m index c0b70fc4..4f261286 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationResponseUnmarshaller.m index 0c45509e..85eb4d85 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutNotificationConfigurationResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyRequest.m index 3e543b31..d17af976 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyRequestMarshaller.m index 5f8df4a4..be731cd8 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyResponse.m index 9ca82902..c9968ec0 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyResponseUnmarshaller.m index 7c1d372c..1d24e02c 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutScalingPolicyResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionRequest.m index 791da7d7..15970465 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionRequestMarshaller.m index 13cfb42a..f477b56a 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionResponse.m index 433becdb..010ede4f 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionResponseUnmarshaller.m index d093717d..76dd45fa 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingPutScheduledUpdateGroupActionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingResourceInUseException.m b/src/Amazon.AutoScaling/Model/AutoScalingResourceInUseException.m index 82672272..9f63da2d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingResourceInUseException.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingResourceInUseException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesRequest.m index dbef4065..da053c93 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesRequestMarshaller.m index 256d1c07..bd783c3a 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesResponse.m index 39b61192..bb1efef2 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesResponseUnmarshaller.m index 59ed07ea..d5386209 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingResumeProcessesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingScalingActivityInProgressException.m b/src/Amazon.AutoScaling/Model/AutoScalingScalingActivityInProgressException.m index 97d4a0eb..b39b834e 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingScalingActivityInProgressException.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingScalingActivityInProgressException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingScalingPolicy.m b/src/Amazon.AutoScaling/Model/AutoScalingScalingPolicy.m index 298cb33a..85ded3e6 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingScalingPolicy.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingScalingPolicy.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingScalingPolicyUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingScalingPolicyUnmarshaller.m index 3cfc92c5..51adece5 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingScalingPolicyUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingScalingPolicyUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingScheduledUpdateGroupAction.m b/src/Amazon.AutoScaling/Model/AutoScalingScheduledUpdateGroupAction.m index 8d98bf54..9c75a899 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingScheduledUpdateGroupAction.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingScheduledUpdateGroupAction.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingScheduledUpdateGroupActionUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingScheduledUpdateGroupActionUnmarshaller.m index 79bdb285..4e0e98c2 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingScheduledUpdateGroupActionUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingScheduledUpdateGroupActionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityRequest.m index 671853ac..cbbbb93e 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityRequestMarshaller.m index d1a4957a..009db1d5 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityResponse.m index 9b9c454e..b1627a29 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityResponseUnmarshaller.m index 27d52e6b..c32f7bd0 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSetDesiredCapacityResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthRequest.m index 43e5ebd9..301564f6 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthRequestMarshaller.m index cff86776..8cf061a3 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthResponse.m index 3ab1ce57..ff096277 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthResponseUnmarshaller.m index d6327ae6..cdd7f514 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSetInstanceHealthResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesRequest.m index 484031ea..0023056e 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesRequestMarshaller.m index 8cc382b4..4a71f6ec 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesResponse.m index 30426fdb..6a4d94c0 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesResponseUnmarshaller.m index 56b92ff1..e6abde58 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSuspendProcessesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSuspendedProcess.m b/src/Amazon.AutoScaling/Model/AutoScalingSuspendedProcess.m index ad6ab79f..992761c3 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSuspendedProcess.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSuspendedProcess.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingSuspendedProcessUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingSuspendedProcessUnmarshaller.m index 7bd04ca8..72fef833 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingSuspendedProcessUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingSuspendedProcessUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupRequest.m index ca511101..df98024b 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupRequestMarshaller.m index 211d983e..bd32e1cb 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupResponse.m index 6551db72..da5ace5d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupResponseUnmarshaller.m index 732db376..ad2e2d4d 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingTerminateInstanceInAutoScalingGroupResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupRequest.m b/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupRequest.m index 78b04aae..69024caf 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupRequest.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupRequestMarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupRequestMarshaller.m index ca9ef831..916d1f83 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupRequestMarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupResponse.m b/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupResponse.m index dab48045..7d780e48 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupResponse.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupResponseUnmarshaller.m b/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupResponseUnmarshaller.m index e795846e..c2bf382b 100644 --- a/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupResponseUnmarshaller.m +++ b/src/Amazon.AutoScaling/Model/AutoScalingUpdateAutoScalingGroupResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/AmazonCloudWatchClient.m b/src/Amazon.CloudWatch/AmazonCloudWatchClient.m index f6394cae..9cbe24cb 100644 --- a/src/Amazon.CloudWatch/AmazonCloudWatchClient.m +++ b/src/Amazon.CloudWatch/AmazonCloudWatchClient.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/CloudWatchRequest.m b/src/Amazon.CloudWatch/CloudWatchRequest.m index 11d4a724..3c7b32ed 100644 --- a/src/Amazon.CloudWatch/CloudWatchRequest.m +++ b/src/Amazon.CloudWatch/CloudWatchRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/CloudWatchResponse.m b/src/Amazon.CloudWatch/CloudWatchResponse.m index 32e3cb3a..0ad89c1e 100644 --- a/src/Amazon.CloudWatch/CloudWatchResponse.m +++ b/src/Amazon.CloudWatch/CloudWatchResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/CloudWatchResponseUnmarshaller.m b/src/Amazon.CloudWatch/CloudWatchResponseUnmarshaller.m index 1e4931ea..a59f035f 100644 --- a/src/Amazon.CloudWatch/CloudWatchResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/CloudWatchResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchAlarmHistoryItem.m b/src/Amazon.CloudWatch/Model/CloudWatchAlarmHistoryItem.m index a610de7f..cb322126 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchAlarmHistoryItem.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchAlarmHistoryItem.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchAlarmHistoryItemUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchAlarmHistoryItemUnmarshaller.m index 9247550e..617791a3 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchAlarmHistoryItemUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchAlarmHistoryItemUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDatapoint.m b/src/Amazon.CloudWatch/Model/CloudWatchDatapoint.m index 16807509..60f695eb 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDatapoint.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDatapoint.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDatapointUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDatapointUnmarshaller.m index e15012c2..62b1c894 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDatapointUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDatapointUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsRequest.m index 000fd842..14ddeaf2 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsRequestMarshaller.m index 494b6ea8..66c45e79 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsResponse.m index 3836368e..efb926e2 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsResponseUnmarshaller.m index 372f2225..387ea11a 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDeleteAlarmsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryRequest.m index 3447921c..32400855 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryRequestMarshaller.m index f5c0e892..6365b5d8 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryResponse.m index 42937d2a..d84576bd 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryResponseUnmarshaller.m index 2af190c9..86c59928 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmHistoryResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricRequest.m index 98aa5a5e..98902ae7 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricRequestMarshaller.m index 15f1c9a3..893a1e87 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricResponse.m index 5e51178b..0d5b98c4 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricResponseUnmarshaller.m index 1e87ce50..6e2b89e4 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsForMetricResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsRequest.m index 16f8c4e5..ad4cffdc 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsRequestMarshaller.m index 3fd1ab96..cac091f3 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsResponse.m index aa132712..e61c3e21 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsResponseUnmarshaller.m index 9caf7e55..cdf591de 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDescribeAlarmsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDimension.m b/src/Amazon.CloudWatch/Model/CloudWatchDimension.m index 23cf3799..16b901df 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDimension.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDimension.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDimensionFilter.m b/src/Amazon.CloudWatch/Model/CloudWatchDimensionFilter.m index 27f3c9d4..388f4dc0 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDimensionFilter.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDimensionFilter.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDimensionUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDimensionUnmarshaller.m index f5077bc0..cca4c6fa 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDimensionUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDimensionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsRequest.m index c7e45002..b5f63593 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsRequestMarshaller.m index 7a9e7133..2cbc727a 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsResponse.m index 3ebe9b0c..18ae2598 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsResponseUnmarshaller.m index e772d2ea..4e87b1a0 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchDisableAlarmActionsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsRequest.m index 3f0d8048..fa36f8d6 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsRequestMarshaller.m index 75b112ec..5386d9c1 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsResponse.m index b7723d35..086a8bde 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsResponseUnmarshaller.m index 8dc150aa..ce7e4ad9 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchEnableAlarmActionsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsRequest.m index 3f6bd425..98afb457 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsRequestMarshaller.m index 58433c66..268a12d0 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsResponse.m index 0e4bd0b8..d11aab8d 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsResponseUnmarshaller.m index 970a7e75..05c1e03b 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchGetMetricStatisticsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchInternalServiceException.m b/src/Amazon.CloudWatch/Model/CloudWatchInternalServiceException.m index 6e355720..99db1b91 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchInternalServiceException.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchInternalServiceException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchInvalidFormatException.m b/src/Amazon.CloudWatch/Model/CloudWatchInvalidFormatException.m index 85eb1370..c798a9d6 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchInvalidFormatException.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchInvalidFormatException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchInvalidNextTokenException.m b/src/Amazon.CloudWatch/Model/CloudWatchInvalidNextTokenException.m index 5691beba..4955effd 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchInvalidNextTokenException.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchInvalidNextTokenException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchInvalidParameterCombinationException.m b/src/Amazon.CloudWatch/Model/CloudWatchInvalidParameterCombinationException.m index 7c5b21bf..7c2906d2 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchInvalidParameterCombinationException.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchInvalidParameterCombinationException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchInvalidParameterValueException.m b/src/Amazon.CloudWatch/Model/CloudWatchInvalidParameterValueException.m index f4bb7db7..2d03e067 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchInvalidParameterValueException.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchInvalidParameterValueException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchLimitExceededException.m b/src/Amazon.CloudWatch/Model/CloudWatchLimitExceededException.m index cc6e65e8..bbcafcfc 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchLimitExceededException.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchLimitExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchListMetricsRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchListMetricsRequest.m index 58e7aba6..ba27e6a8 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchListMetricsRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchListMetricsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchListMetricsRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchListMetricsRequestMarshaller.m index 68de5009..458747fe 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchListMetricsRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchListMetricsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchListMetricsResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchListMetricsResponse.m index 5d4a40f7..718cdcf4 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchListMetricsResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchListMetricsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchListMetricsResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchListMetricsResponseUnmarshaller.m index da3c3e9e..b169740d 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchListMetricsResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchListMetricsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchMetric.m b/src/Amazon.CloudWatch/Model/CloudWatchMetric.m index 32ca9e7b..0fd3fd53 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchMetric.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchMetric.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchMetricAlarm.m b/src/Amazon.CloudWatch/Model/CloudWatchMetricAlarm.m index 8b6c906c..bfa34a68 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchMetricAlarm.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchMetricAlarm.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchMetricAlarmUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchMetricAlarmUnmarshaller.m index 16c88b36..b146140b 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchMetricAlarmUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchMetricAlarmUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchMetricDatum.m b/src/Amazon.CloudWatch/Model/CloudWatchMetricDatum.m index ecf99830..305a2fd6 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchMetricDatum.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchMetricDatum.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchMetricUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchMetricUnmarshaller.m index cb4ab873..478192a3 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchMetricUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchMetricUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchMissingRequiredParameterException.m b/src/Amazon.CloudWatch/Model/CloudWatchMissingRequiredParameterException.m index 25fe64a9..44029560 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchMissingRequiredParameterException.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchMissingRequiredParameterException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmRequest.m index 4d530ba7..acdbd252 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmRequestMarshaller.m index e911a52d..1fcba1f4 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmResponse.m index fe5c8627..a067a5b3 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmResponseUnmarshaller.m index 7d3cf485..e43fe381 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricAlarmResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataRequest.m index 7b2d7257..6acb2584 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataRequestMarshaller.m index 891d45e1..4c26c940 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataResponse.m index d6e206b9..519395e2 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataResponseUnmarshaller.m index 59d77ae8..9e8b205d 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchPutMetricDataResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchResourceNotFoundException.m b/src/Amazon.CloudWatch/Model/CloudWatchResourceNotFoundException.m index 57de5b38..29d8ceb2 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchResourceNotFoundException.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchResourceNotFoundException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateRequest.m b/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateRequest.m index a38639d2..51d37318 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateRequest.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateRequestMarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateRequestMarshaller.m index 85560d7a..5b5e1bea 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateRequestMarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateResponse.m b/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateResponse.m index 8844711d..ac45e8d9 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateResponse.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateResponseUnmarshaller.m b/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateResponseUnmarshaller.m index 710abd4d..411ab770 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateResponseUnmarshaller.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchSetAlarmStateResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.CloudWatch/Model/CloudWatchStatisticSet.m b/src/Amazon.CloudWatch/Model/CloudWatchStatisticSet.m index dec6c9cf..c965b6c8 100644 --- a/src/Amazon.CloudWatch/Model/CloudWatchStatisticSet.m +++ b/src/Amazon.CloudWatch/Model/CloudWatchStatisticSet.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.DynamoDB/.DS_Store b/src/Amazon.DynamoDB/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..ef925599b444e421728c030c4ba029b06d83270e GIT binary patch literal 6149 zcmeHKO>7%Q6n@Wf+TCPLCxt@FpSB4?RS959f}yHlleo}Q(niF=4oz{_-f6S2*^NAF zJ75A90)db?AP_&-B7P(eh^nO=i$Dm81D6O1TeQd9Ds?zwku%+<%)>}qNO*Y%!j>+{Meg_IWTDDt~&DY zQD)6l+0K^F+s9X8KMKWTydemyY=@w!9jQm*Y=cXCl?~P1pxzAJm`?`5oc|0L<$4q} zmqQ`F>y0P~W+UOtGz*oOug216ld1B!h#K*95?E!dDfpwDa{4V^q|Bn?(~vTdfoWXc z!G?BTea)_GuN&TT>uvdo0}m7{^=NsShp{My?lM2&QOtCMQ|*-mMa>6pjR&QtXpPD( zHI*l%&m*pgkFW5MdyBF;6M6n=pL^@OufO5O+|8CmD`we!~WZP78GB<6oZwzKA=Ld6#O_>=-o!7^c#U6F`szo2|t-U$wfDXI{@4&}!9zKJM@Hu=7>u?!zlg>-qBkZ5akG@ka|ecAAy91v`QJ+ IQU(V80+wX`DgXcg literal 0 HcmV?d00001 diff --git a/src/Amazon.DynamoDB/AmazonDynamoDBClient.m b/src/Amazon.DynamoDB/AmazonDynamoDBClient.m new file mode 100644 index 00000000..65907bca --- /dev/null +++ b/src/Amazon.DynamoDB/AmazonDynamoDBClient.m @@ -0,0 +1,117 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "AmazonDynamoDBClient.h" +#import "../AmazonServiceRequest.h" + + +@implementation AmazonDynamoDBClient + +-(id)initWithCredentials:(AmazonCredentials *)theCredentials +{ + if (self = [super initWithCredentials:theCredentials]) { + self.endpoint = @"https://dynamodb.us-east-1.amazonaws.com/"; + } + return self; +} + +-(DynamoDBScanResponse *)scan:(DynamoDBScanRequest *)scanRequest +{ + AmazonServiceRequest *request = [DynamoDBScanRequestMarshaller createRequest:scanRequest]; + + return (DynamoDBScanResponse *)[self invoke:request rawRequest:scanRequest unmarshallerDelegate:[DynamoDBScanResponseUnmarshaller class]]; +} + +-(DynamoDBCreateTableResponse *)createTable:(DynamoDBCreateTableRequest *)createTableRequest +{ + AmazonServiceRequest *request = [DynamoDBCreateTableRequestMarshaller createRequest:createTableRequest]; + + return (DynamoDBCreateTableResponse *)[self invoke:request rawRequest:createTableRequest unmarshallerDelegate:[DynamoDBCreateTableResponseUnmarshaller class]]; +} + +-(DynamoDBListTablesResponse *)listTables:(DynamoDBListTablesRequest *)listTablesRequest +{ + AmazonServiceRequest *request = [DynamoDBListTablesRequestMarshaller createRequest:listTablesRequest]; + + return (DynamoDBListTablesResponse *)[self invoke:request rawRequest:listTablesRequest unmarshallerDelegate:[DynamoDBListTablesResponseUnmarshaller class]]; +} + +-(DynamoDBQueryResponse *)query:(DynamoDBQueryRequest *)queryRequest +{ + AmazonServiceRequest *request = [DynamoDBQueryRequestMarshaller createRequest:queryRequest]; + + return (DynamoDBQueryResponse *)[self invoke:request rawRequest:queryRequest unmarshallerDelegate:[DynamoDBQueryResponseUnmarshaller class]]; +} + +-(DynamoDBUpdateItemResponse *)updateItem:(DynamoDBUpdateItemRequest *)updateItemRequest +{ + AmazonServiceRequest *request = [DynamoDBUpdateItemRequestMarshaller createRequest:updateItemRequest]; + + return (DynamoDBUpdateItemResponse *)[self invoke:request rawRequest:updateItemRequest unmarshallerDelegate:[DynamoDBUpdateItemResponseUnmarshaller class]]; +} + +-(DynamoDBUpdateTableResponse *)updateTable:(DynamoDBUpdateTableRequest *)updateTableRequest +{ + AmazonServiceRequest *request = [DynamoDBUpdateTableRequestMarshaller createRequest:updateTableRequest]; + + return (DynamoDBUpdateTableResponse *)[self invoke:request rawRequest:updateTableRequest unmarshallerDelegate:[DynamoDBUpdateTableResponseUnmarshaller class]]; +} + +-(DynamoDBPutItemResponse *)putItem:(DynamoDBPutItemRequest *)putItemRequest +{ + AmazonServiceRequest *request = [DynamoDBPutItemRequestMarshaller createRequest:putItemRequest]; + + return (DynamoDBPutItemResponse *)[self invoke:request rawRequest:putItemRequest unmarshallerDelegate:[DynamoDBPutItemResponseUnmarshaller class]]; +} + +-(DynamoDBDeleteTableResponse *)deleteTable:(DynamoDBDeleteTableRequest *)deleteTableRequest +{ + AmazonServiceRequest *request = [DynamoDBDeleteTableRequestMarshaller createRequest:deleteTableRequest]; + + return (DynamoDBDeleteTableResponse *)[self invoke:request rawRequest:deleteTableRequest unmarshallerDelegate:[DynamoDBDeleteTableResponseUnmarshaller class]]; +} + +-(DynamoDBDeleteItemResponse *)deleteItem:(DynamoDBDeleteItemRequest *)deleteItemRequest +{ + AmazonServiceRequest *request = [DynamoDBDeleteItemRequestMarshaller createRequest:deleteItemRequest]; + + return (DynamoDBDeleteItemResponse *)[self invoke:request rawRequest:deleteItemRequest unmarshallerDelegate:[DynamoDBDeleteItemResponseUnmarshaller class]]; +} + +-(DynamoDBDescribeTableResponse *)describeTable:(DynamoDBDescribeTableRequest *)describeTableRequest +{ + AmazonServiceRequest *request = [DynamoDBDescribeTableRequestMarshaller createRequest:describeTableRequest]; + + return (DynamoDBDescribeTableResponse *)[self invoke:request rawRequest:describeTableRequest unmarshallerDelegate:[DynamoDBDescribeTableResponseUnmarshaller class]]; +} + +-(DynamoDBGetItemResponse *)getItem:(DynamoDBGetItemRequest *)getItemRequest +{ + AmazonServiceRequest *request = [DynamoDBGetItemRequestMarshaller createRequest:getItemRequest]; + + return (DynamoDBGetItemResponse *)[self invoke:request rawRequest:getItemRequest unmarshallerDelegate:[DynamoDBGetItemResponseUnmarshaller class]]; +} + +-(DynamoDBBatchGetItemResponse *)batchGetItem:(DynamoDBBatchGetItemRequest *)batchGetItemRequest +{ + AmazonServiceRequest *request = [DynamoDBBatchGetItemRequestMarshaller createRequest:batchGetItemRequest]; + + return (DynamoDBBatchGetItemResponse *)[self invoke:request rawRequest:batchGetItemRequest unmarshallerDelegate:[DynamoDBBatchGetItemResponseUnmarshaller class]]; +} + + + +@end + diff --git a/src/Amazon.DynamoDB/DynamoDBExceptionUnmarshaller.m b/src/Amazon.DynamoDB/DynamoDBExceptionUnmarshaller.m new file mode 100644 index 00000000..6d9aeecf --- /dev/null +++ b/src/Amazon.DynamoDB/DynamoDBExceptionUnmarshaller.m @@ -0,0 +1,38 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBExceptionUnmarshaller.h" + +@implementation DynamoDBExceptionUnmarshaller + ++(AmazonServiceException *)unmarshall:(NSDictionary *)jsonObject +{ + AmazonServiceException *exception = [AmazonServiceException exceptionWithMessage:@""]; + + NSString *exceptionString = [jsonObject valueForKey:@"__type"]; + + exception.errorCode = [[exceptionString componentsSeparatedByString:@"#"] objectAtIndex:1]; + exception.message = [jsonObject valueForKey:@"message"]; + + return exception; +} + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/DynamoDBRequest.m b/src/Amazon.DynamoDB/DynamoDBRequest.m new file mode 100644 index 00000000..84fa50ae --- /dev/null +++ b/src/Amazon.DynamoDB/DynamoDBRequest.m @@ -0,0 +1,145 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBRequest.h" +#import + +@implementation DynamoDBRequest + +@synthesize content; + +-(NSMutableURLRequest *)configureURLRequest +{ + [self.urlRequest setHTTPMethod:@"POST"]; + + NSString *rfc822Date = [[NSDate date] stringWithRFC822Format]; + [self addValue:rfc822Date forHeader:@"Date"]; + [self addValue:rfc822Date forHeader:@"X-Amz-Date"]; + [self addValue:[self getHostFromEndpoint] forHeader:@"Host"]; + [self addValue:self.credentials.securityToken forHeader:@"x-amz-security-token"]; + [self addValue:[self generateAuthorization] forHeader:@"X-Amzn-Authorization"]; + [self addValue:self.userAgent forHeader:@"User-Agent"]; + for (NSString *header in headers) { + [self.urlRequest setValue:[headers valueForKey:header] forHTTPHeaderField:header]; + } + + [self.urlRequest setHTTPBody:[content dataUsingEncoding:NSUTF8StringEncoding]]; + + NSURL *url = [NSURL URLWithString:self.endpoint]; + [urlRequest setURL:url]; + + return self.urlRequest; +} + +-(NSString *)generateAuthorization +{ + NSMutableString *buffer = [[[NSMutableString alloc] initWithCapacity:256] autorelease]; + + [buffer appendString:@"AWS3 "]; + [buffer appendString:[NSString stringWithFormat:@"AWSAccessKeyId=%@,", self.credentials.accessKey]]; + [buffer appendString:@"Algorithm=HmacSHA256,"]; + + [buffer appendString:@"SignedHeaders="]; + NSArray *headersToSign = [self headersToSign]; + for (int i = 0; i < [headersToSign count]; i++) { + if (i > 0) { + [buffer appendString:@";"]; + } + [buffer appendString:[headersToSign objectAtIndex:i]]; + } + [buffer appendString:@","]; + + [buffer appendString:[NSString stringWithFormat:@"Signature=%@", [self generateSignature]]]; + + return buffer; +} + +-(NSString *)generateSignature +{ + NSString *stringToSign = [self generateStringToSign]; + NSData *dataToSign = [DynamoDBRequest hash:[stringToSign dataUsingEncoding:NSUTF8StringEncoding]]; + + return [AmazonAuthUtils HMACSign:dataToSign withKey:self.credentials.secretKey usingAlgorithm:kCCHmacAlgSHA256]; +} + +-(NSString *)generateStringToSign +{ + NSMutableString *stringToSign = [[[NSMutableString alloc] initWithCapacity:256] autorelease]; + + [stringToSign appendString:@"POST\n"]; + [stringToSign appendString:@"/\n"]; + [stringToSign appendString:@"\n"]; + + NSArray *headersToSign = [self headersToSign]; + for (NSString *header in headersToSign) { + [stringToSign appendString:[NSString stringWithFormat:@"%@:%@\n", [header lowercaseString], [headers valueForKey:header]]]; + } + + [stringToSign appendString:@"\n"]; + [stringToSign appendString:[NSString stringWithFormat:@"%@", content]]; + + return stringToSign; +} + +-(NSArray *)headersToSign +{ + NSMutableArray *headersToSign = [[[NSMutableArray alloc] initWithCapacity:1] autorelease]; + for (NSString *header in [headers allKeys]) { + NSString *lowerCaseHeader = [header lowercaseString]; + + if ( [lowerCaseHeader hasPrefix:@"x-amz"] || [lowerCaseHeader isEqualToString:@"host"]) { + [headersToSign addObject:header]; + } + } + + [headersToSign sortUsingSelector:@selector(caseInsensitiveCompare:)]; + + return headersToSign; +} + +-(void)addValue:(NSString *)theValue forHeader:(NSString *)theHeader +{ + if (nil == headers) { + headers = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + [headers setValue:theValue forKey:theHeader]; +} + ++(NSData *)hash:(NSData *)dataToHash +{ + const void *cStr = [dataToHash bytes]; + unsigned char result[CC_SHA256_DIGEST_LENGTH]; + + CC_SHA256(cStr, [dataToHash length], result); + + return [[[NSData alloc] initWithBytes:result length:CC_SHA256_DIGEST_LENGTH] autorelease]; +} + +-(NSString *)getHostFromEndpoint +{ + NSRange startOfHost = [self.endpoint rangeOfString:@"://"]; + + return [self.endpoint substringFromIndex:(startOfHost.location + 3)]; +} + +-(void)dealloc +{ + [headers release]; + [content release]; + + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/DynamoDBResponse.m b/src/Amazon.DynamoDB/DynamoDBResponse.m new file mode 100644 index 00000000..6ee4af2e --- /dev/null +++ b/src/Amazon.DynamoDB/DynamoDBResponse.m @@ -0,0 +1,90 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBResponse.h" +#import "AmazonServiceResponseUnmarshaller.h" +#import "AmazonLogger.h" +#import "AmazonJSON.h" + +#define REQUEST_ID_HEADER @"X-Amzn-Requestid" + +@implementation DynamoDBResponse + +-(id)init +{ + self = [super init]; + if (self != nil) { + } + + return self; +} + +-(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response +{ + [super connection:connection didReceiveResponse:response]; + + NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; + self.requestId = [[httpResponse allHeaderFields] valueForKey:REQUEST_ID_HEADER]; +} + +-(void)connectionDidFinishLoading:(NSURLConnection *)connection +{ + NSDate *startDate = [NSDate date]; + + isFinishedLoading = YES; + + NSString *jsonString = [[[NSString alloc] initWithData:body encoding:NSUTF8StringEncoding] autorelease]; + AMZLogDebug(@"Response Body:\n%@", jsonString); + if (self.httpStatusCode == 413) { + @throw [AmazonServiceException exceptionWithMessage : @"Request Entity Too Large" withErrorCode : @"RequestEntityTooLarge" withStatusCode : 413 withRequestId : self.requestId]; + } + else { + NSMutableDictionary *jsonObject = [AmazonJSON JSONValue:jsonString]; + AmazonServiceResponse *response = [unmarshallerDelegate unmarshall:jsonObject]; + + if (response.exception) { + ((AmazonServiceException *)response.exception).requestId = self.requestId; + + NSException *exceptionFound = [[response.exception copy] autorelease]; + if ([(NSObject *)request.delegate respondsToSelector:@selector(request:didFailWithServiceException:)]) { + [request.delegate request:request didFailWithServiceException:(AmazonServiceException *)exceptionFound]; + return; + } + else { + @throw exceptionFound; + } + } + response.requestId = self.requestId; + + + [response postProcess]; + processingTime = fabs([startDate timeIntervalSinceNow]); + response.processingTime = processingTime; + + + + if ([(NSObject *)request.delegate respondsToSelector:@selector(request:didCompleteWithResponse:)]) { + [request.delegate request:request didCompleteWithResponse:response]; + } + } +} + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/DynamoDBResponseUnmarshaller.m b/src/Amazon.DynamoDB/DynamoDBResponseUnmarshaller.m new file mode 100644 index 00000000..28be07ce --- /dev/null +++ b/src/Amazon.DynamoDB/DynamoDBResponseUnmarshaller.m @@ -0,0 +1,27 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBResponse.h" + +@implementation DynamoDBResponseUnmarshaller + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/DynamoDBWebServiceClient.m b/src/Amazon.DynamoDB/DynamoDBWebServiceClient.m new file mode 100644 index 00000000..3b6e4f50 --- /dev/null +++ b/src/Amazon.DynamoDB/DynamoDBWebServiceClient.m @@ -0,0 +1,189 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBWebServiceClient.h" + +@implementation DynamoDBWebServiceClient + +@synthesize endpoint, maxRetries, timeout, userAgent, delay; + +-(id)initWithCredentials:(AmazonCredentials *)theCredentials +{ + if (self = [self init]) { + credentials = [theCredentials retain]; + maxRetries = 11; + timeout = 30; + delay = 0.05; + userAgent = [[AmazonSDKUtil userAgentString] retain]; + } + return self; +} + ++(id)constructResponseFromRequest:(AmazonServiceRequest *)request +{ + NSString *requestClassName = NSStringFromClass([request class]); + NSString *responseClassName = [[requestClassName substringToIndex:[requestClassName length] - 7] stringByAppendingFormat:@"Response"]; + + id response = [[NSClassFromString(responseClassName) alloc] init]; + + if (nil == response) { + response = [[DynamoDBResponse alloc] init]; + } + + return [response autorelease]; +} + +-(AmazonServiceResponse *)invoke:(AmazonServiceRequest *)generatedRequest rawRequest:(AmazonServiceRequestConfig *)originalRequest unmarshallerDelegate:(Class)unmarshallerDelegate +{ + if (nil == generatedRequest) { + @throw [AmazonClientException exceptionWithMessage : @"Request cannot be nil."]; + } + + [generatedRequest setUserAgent:self.userAgent]; + + if (nil == generatedRequest.endpoint) { + generatedRequest.endpoint = [self endpoint]; + } + if (nil == generatedRequest.credentials) { + [generatedRequest setCredentials:credentials]; + } + + +#ifdef GHUNIT_CLI + if ( [generatedRequest.endpoint hasPrefix:@"https://"]) { + generatedRequest.endpoint = [generatedRequest.endpoint stringByReplacingOccurrencesOfString:@"https://" withString:@"http://"]; + } +#endif + + NSMutableURLRequest *urlRequest = [generatedRequest configureURLRequest]; + + AMZLogDebug(@"%@ %@", [urlRequest HTTPMethod], [urlRequest URL]); + AMZLogDebug(@"Request body: "); + NSString *rBody = [[NSString alloc] initWithData:[urlRequest HTTPBody] encoding:NSUTF8StringEncoding]; + AMZLogDebug(@"%@", rBody); + [rBody release]; + + DynamoDBResponse *response = nil; + int retries = 0; + while (retries < self.maxRetries) { + AMZLogDebug(@"Begin Request: %@:%d", NSStringFromClass([generatedRequest class]), retries); + + response = [DynamoDBWebServiceClient constructResponseFromRequest:generatedRequest]; + [response setRequest:generatedRequest]; + response.unmarshallerDelegate = unmarshallerDelegate; + + [urlRequest setTimeoutInterval:self.timeout]; + + AMZLogDebug(@"%@ %@", [urlRequest HTTPMethod], [urlRequest URL]); + AMZLogDebug(@"Request headers: "); + for (id hKey in [[urlRequest allHTTPHeaderFields] allKeys]) + { + AMZLogDebug(@" %@: %@", [hKey description], [[urlRequest allHTTPHeaderFields] valueForKey:hKey]); + } + + + NSURLConnection *urlConnection = [NSURLConnection connectionWithRequest:urlRequest delegate:response]; + originalRequest.urlConnection = urlConnection; + + if ([generatedRequest delegate] == nil) { + NSTimer *timeoutTimer = [NSTimer scheduledTimerWithTimeInterval:self.timeout target:response selector:@selector(timeout) userInfo:nil repeats:NO]; + generatedRequest.delegate = [[[AmazonRequestDelegate alloc] init] autorelease]; + + while (![(AmazonRequestDelegate *)(generatedRequest.delegate)isFinishedOrFailed]) { + [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]]; + } + + if (response.didTimeout) { + [urlConnection cancel]; + } + else { + [timeoutTimer invalidate]; // invalidate also releases the object. + } + + AMZLogDebug(@"Response Status Code : %d", response.httpStatusCode); + if ( [self shouldRetry:response exception:((AmazonRequestDelegate *)generatedRequest.delegate).exception]) { + AMZLog(@"Retring Request: %d", retries); + generatedRequest.delegate = nil; + + [self pauseExponentially:retries]; + retries++; + } + else { + break; + } + } + else { + return nil; + } + } + + if (response.exception != nil) { + @throw response.exception; + } + else { + if (((AmazonRequestDelegate *)generatedRequest.delegate).exception != nil) { + @throw((AmazonRequestDelegate *)generatedRequest.delegate).exception; + } + else if (((AmazonRequestDelegate *)generatedRequest.delegate).response != nil) { + return ((AmazonRequestDelegate *)generatedRequest.delegate).response; + } + else { + return nil; //TODO: Throw an exception here AmazonClientException + } + } +} + +-(bool)shouldRetry:(DynamoDBResponse *)response exception:(NSException *)theException +{ + AmazonServiceException *exception = (AmazonServiceException *)theException; + + if (response.didTimeout || response.httpStatusCode == 500 || response.httpStatusCode == 503) { + return YES; + } + else if (exception == nil) { + return NO; + } + else if ( [exception.errorCode isEqualToString:@"ProvisionedThroughputExceededException"]) { + return YES; + } + else if (exception.reason != nil && [exception.reason rangeOfString:@"Throttling"].location != NSNotFound) { + return YES; + } + + return NO; +} + +-(void)pauseExponentially:(int)tryCount +{ + NSTimeInterval pause = self.delay * (pow(2, tryCount)); + + [NSThread sleepForTimeInterval:pause]; +} + +-(void)setUserAgent:(NSString *)newUserAgent +{ + userAgent = [[NSString stringWithFormat:@"%@, %@", newUserAgent, [AmazonSDKUtil userAgentString]] retain]; +} + +-(void)dealloc +{ + [credentials release]; + [endpoint release]; + [userAgent release]; + + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBAttributeValue.m b/src/Amazon.DynamoDB/Model/DynamoDBAttributeValue.m new file mode 100644 index 00000000..45a022c9 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBAttributeValue.m @@ -0,0 +1,123 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" + + +@implementation DynamoDBAttributeValue + +@synthesize s; +@synthesize n; +@synthesize sS; +@synthesize nS; + + +-(id)init +{ + if (self = [super init]) { + s = nil; + n = nil; + sS = [[NSMutableArray alloc] initWithCapacity:1]; + nS = [[NSMutableArray alloc] initWithCapacity:1]; + } + + return self; +} + +-(id)initWithS:(NSString *)theS +{ + if (self = [self init]) { + self.s = theS; + } + + return self; +} + +-(id)initWithSS:(NSMutableArray *)theSS +{ + if (self = [self init]) { + self.sS = theSS; + } + + return self; +} + +-(id)initWithN:(NSString *)theN +{ + if (self = [self init]) { + self.n = theN; + } + + return self; +} + +-(id)initWithNS:(NSMutableArray *)theNS +{ + if (self = [self init]) { + self.nS = theNS; + } + + return self; +} + + +-(void)addSS:(NSString *)sSObject +{ + if (sS == nil) { + sS = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [sS addObject:sSObject]; +} + +-(void)addNS:(NSString *)nSObject +{ + if (nS == nil) { + nS = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [nS addObject:nSObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"S: %@,", s] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"N: %@,", n] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"SS: %@,", sS] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"NS: %@,", nS] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [s release]; + [n release]; + [sS release]; + [nS release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBAttributeValueUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBAttributeValueUnmarshaller.m new file mode 100644 index 00000000..2240e828 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBAttributeValueUnmarshaller.m @@ -0,0 +1,54 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" + + +@implementation DynamoDBAttributeValueUnmarshaller + + ++(DynamoDBAttributeValue *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBAttributeValue *attributeValue = [[[DynamoDBAttributeValue alloc] init] autorelease]; + + + + if ([jsonObject valueForKey:@"S"] != nil) { + attributeValue.s = [jsonObject valueForKey:@"S"]; + } + + + if ([jsonObject valueForKey:@"N"] != nil) { + attributeValue.n = [jsonObject valueForKey:@"N"]; + } + + + NSArray *sSArray = [jsonObject valueForKey:@"SS"]; + for (NSString *memberObject in sSArray) { + [attributeValue.sS addObject:memberObject]; + } + + + NSArray *nSArray = [jsonObject valueForKey:@"NS"]; + for (NSString *memberObject in nSArray) { + [attributeValue.nS addObject:memberObject]; + } + + return attributeValue; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBAttributeValueUpdate.m b/src/Amazon.DynamoDB/Model/DynamoDBAttributeValueUpdate.m new file mode 100644 index 00000000..19357cd7 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBAttributeValueUpdate.m @@ -0,0 +1,71 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValueUpdate.h" + + +@implementation DynamoDBAttributeValueUpdate + +@synthesize value; +@synthesize action; + + +-(id)init +{ + if (self = [super init]) { + value = nil; + action = nil; + } + + return self; +} + +-(id)initWithValue:(DynamoDBAttributeValue *)theValue andAction:(NSString *)theAction +{ + if (self = [self init]) { + self.value = theValue; + self.action = theAction; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Value: %@,", value] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Action: %@,", action] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [value release]; + [action release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemRequest.m new file mode 100644 index 00000000..414e2507 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemRequest.m @@ -0,0 +1,66 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBBatchGetItemRequest.h" + + +@implementation DynamoDBBatchGetItemRequest + +@synthesize requestItems; + + +-(id)init +{ + if (self = [super init]) { + requestItems = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)setRequestItemsValue:(DynamoDBKeysAndAttributes *)theValue forKey:(NSString *)theKey +{ + if (requestItems == nil) { + requestItems = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + [requestItems setValue:theValue forKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"RequestItems: %@,", requestItems] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [requestItems release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemRequestMarshaller.m new file mode 100644 index 00000000..605e9b01 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemRequestMarshaller.m @@ -0,0 +1,163 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBBatchGetItemRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBBatchGetItemRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBBatchGetItemRequest *)batchGetItemRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[batchGetItemRequest delegate]]; + [request setCredentials:[batchGetItemRequest credentials]]; + [request setEndpoint:[batchGetItemRequest requestEndpoint]]; + [request setRequestTag:[batchGetItemRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.BatchGetItem" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + if (batchGetItemRequest.requestItems != nil) { + NSMutableDictionary *requestItemsJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:requestItemsJson forKey:@"RequestItems"]; + for (NSString *requestItemsListValue in batchGetItemRequest.requestItems) { + NSMutableDictionary *requestItemsListValueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [requestItemsJson setValue:requestItemsListValueJson forKey:requestItemsListValue]; + + DynamoDBKeysAndAttributes *requestItemsListValueValue = [batchGetItemRequest.requestItems valueForKey:requestItemsListValue]; + + + + if (requestItemsListValueValue != nil) { + NSArray *keysList = requestItemsListValueValue.keys; + if (keysList != nil && [keysList count] > 0) { + NSMutableArray *keysArray = [[[NSMutableArray alloc] init] autorelease]; + [requestItemsListValueJson setValue:keysArray forKey:@"Keys"]; + for (DynamoDBKey *keysListValue in keysList) { + NSMutableDictionary *keysArrayObject = [[[NSMutableDictionary alloc] init] autorelease]; + [keysArray addObject:keysArrayObject]; + if (keysListValue != nil) { + DynamoDBAttributeValue *hashKeyElement = keysListValue.hashKeyElement; + if (hashKeyElement != nil) { + NSMutableDictionary *hashKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keysArrayObject setValue:hashKeyElementJson forKey:@"HashKeyElement"]; + + + if (hashKeyElement.s != nil) { + [hashKeyElementJson setValue:hashKeyElement.s forKey:@"S"]; + } + + if (hashKeyElement.n != nil) { + [hashKeyElementJson setValue:hashKeyElement.n forKey:@"N"]; + } + if (hashKeyElement != nil) { + NSArray *sSList = hashKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (hashKeyElement != nil) { + NSArray *nSList = hashKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + if (keysListValue != nil) { + DynamoDBAttributeValue *rangeKeyElement = keysListValue.rangeKeyElement; + if (rangeKeyElement != nil) { + NSMutableDictionary *rangeKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keysArrayObject setValue:rangeKeyElementJson forKey:@"RangeKeyElement"]; + + + if (rangeKeyElement.s != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.s forKey:@"S"]; + } + + if (rangeKeyElement.n != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.n forKey:@"N"]; + } + if (rangeKeyElement != nil) { + NSArray *sSList = rangeKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (rangeKeyElement != nil) { + NSArray *nSList = rangeKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + } + } + } + if (requestItemsListValueValue != nil) { + NSArray *attributesToGetList = requestItemsListValueValue.attributesToGet; + if (attributesToGetList != nil && [attributesToGetList count] > 0) { + NSMutableArray *attributesToGetArray = [[[NSMutableArray alloc] init] autorelease]; + [requestItemsListValueJson setValue:attributesToGetArray forKey:@"AttributesToGet"]; + for (NSString *attributesToGetListValue in attributesToGetList) { + if (attributesToGetListValue != nil) { + [attributesToGetArray addObject:attributesToGetListValue]; + } + } + } + } + } + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemResponse.m new file mode 100644 index 00000000..6650aee7 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemResponse.m @@ -0,0 +1,99 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBBatchGetItemResponse.h" + + +@implementation DynamoDBBatchGetItemResponse + +@synthesize responses; +@synthesize unprocessedKeys; + + +-(id)init +{ + if (self = [super init]) { + responses = [[NSMutableDictionary alloc] initWithCapacity:1]; + unprocessedKeys = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ProvisionedThroughputExceededException"]) { + newException = [[DynamoDBProvisionedThroughputExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + +-(DynamoDBBatchResponse *)responsesValueForKey:(NSString *)theKey +{ + return (DynamoDBBatchResponse *)[responses valueForKey:theKey]; +} + +-(DynamoDBKeysAndAttributes *)unprocessedKeysValueForKey:(NSString *)theKey +{ + return (DynamoDBKeysAndAttributes *)[unprocessedKeys valueForKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Responses: %@,", responses] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"UnprocessedKeys: %@,", unprocessedKeys] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [responses release]; + [unprocessedKeys release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemResponseUnmarshaller.m new file mode 100644 index 00000000..1d0ee9c8 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBBatchGetItemResponseUnmarshaller.m @@ -0,0 +1,54 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBBatchGetItemResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBBatchResponseUnmarshaller.h" +#import "DynamoDBBatchResponseUnmarshaller.h" +#import "DynamoDBKeysAndAttributesUnmarshaller.h" +#import "DynamoDBKeysAndAttributesUnmarshaller.h" + + +@implementation DynamoDBBatchGetItemResponseUnmarshaller + + ++(DynamoDBBatchGetItemResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBBatchGetItemResponse *batchGetItemResult = [[[DynamoDBBatchGetItemResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [batchGetItemResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + NSDictionary *responsesObject = [jsonObject valueForKey:@"Responses"]; + for (NSString *key in [responsesObject allKeys]) { + NSDictionary *value = [responsesObject valueForKey:key]; + [batchGetItemResult.responses setValue:[DynamoDBBatchResponseUnmarshaller unmarshall:value] forKey:key]; + } + + + NSDictionary *unprocessedKeysObject = [jsonObject valueForKey:@"UnprocessedKeys"]; + for (NSString *key in [unprocessedKeysObject allKeys]) { + NSDictionary *value = [unprocessedKeysObject valueForKey:key]; + [batchGetItemResult.unprocessedKeys setValue:[DynamoDBKeysAndAttributesUnmarshaller unmarshall:value] forKey:key]; + } + } + + return batchGetItemResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBBatchResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBBatchResponse.m new file mode 100644 index 00000000..454a4178 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBBatchResponse.m @@ -0,0 +1,83 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBBatchResponse.h" + + +@implementation DynamoDBBatchResponse + +@synthesize items; +@synthesize consumedCapacityUnits; + + +-(id)init +{ + if (self = [super init]) { + items = [[NSMutableArray alloc] initWithCapacity:1]; + consumedCapacityUnits = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSDictionary *)itemsObjectAtIndex:(int)index +{ + return (NSDictionary *)[items objectAtIndex:index]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Items: %@,", items] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ConsumedCapacityUnits: %@,", consumedCapacityUnits] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [items release]; + [consumedCapacityUnits release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBBatchResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBBatchResponseUnmarshaller.m new file mode 100644 index 00000000..33ea15b6 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBBatchResponseUnmarshaller.m @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBBatchResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" + + +@implementation DynamoDBBatchResponseUnmarshaller + + ++(DynamoDBBatchResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBBatchResponse *batchResponse = [[[DynamoDBBatchResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [batchResponse setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + NSArray *itemsArray = [jsonObject valueForKey:@"Items"]; + for (NSDictionary *mapObject in itemsArray) { + NSMutableDictionary *member = [[[NSMutableDictionary alloc] init] autorelease]; + for (NSString *key in [mapObject allKeys]) { + NSDictionary *value = [mapObject valueForKey:key]; + [member setValue:[DynamoDBAttributeValueUnmarshaller unmarshall:value] forKey:key]; + } + + + [batchResponse.items addObject:member]; + } + + + if ([jsonObject valueForKey:@"ConsumedCapacityUnits"] != nil) { + batchResponse.consumedCapacityUnits = [jsonObject valueForKey:@"ConsumedCapacityUnits"]; + } + } + + return batchResponse; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBCondition.m b/src/Amazon.DynamoDB/Model/DynamoDBCondition.m new file mode 100644 index 00000000..105b12e5 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBCondition.m @@ -0,0 +1,70 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBCondition.h" + + +@implementation DynamoDBCondition + +@synthesize attributeValueList; +@synthesize comparisonOperator; + + +-(id)init +{ + if (self = [super init]) { + attributeValueList = [[NSMutableArray alloc] initWithCapacity:1]; + comparisonOperator = nil; + } + + return self; +} + + +-(void)addAttributeValueList:(DynamoDBAttributeValue *)attributeValueListObject +{ + if (attributeValueList == nil) { + attributeValueList = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [attributeValueList addObject:attributeValueListObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributeValueList: %@,", attributeValueList] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ComparisonOperator: %@,", comparisonOperator] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [attributeValueList release]; + [comparisonOperator release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBConditionalCheckFailedException.m b/src/Amazon.DynamoDB/Model/DynamoDBConditionalCheckFailedException.m new file mode 100644 index 00000000..c4350c6f --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBConditionalCheckFailedException.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBConditionalCheckFailedException.h" + + + + +@implementation DynamoDBConditionalCheckFailedException + + + +-(id)initWithMessage:(NSString *)theMessage +{ + if (self = [super initWithMessage:theMessage]) { + } + + return self; +} + + +-(void)setPropertiesWithException:(AmazonServiceException *)theException +{ + [super setPropertiesWithException:theException]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBCreateTableRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBCreateTableRequest.m new file mode 100644 index 00000000..268e7646 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBCreateTableRequest.m @@ -0,0 +1,86 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBCreateTableRequest.h" + + +@implementation DynamoDBCreateTableRequest + +@synthesize tableName; +@synthesize keySchema; +@synthesize provisionedThroughput; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + keySchema = nil; + provisionedThroughput = nil; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName andKeySchema:(DynamoDBKeySchema *)theKeySchema +{ + if (self = [self init]) { + self.tableName = theTableName; + self.keySchema = theKeySchema; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName andKeySchema:(DynamoDBKeySchema *)theKeySchema andProvisionedThroughput:(DynamoDBProvisionedThroughput *)theProvisionedThroughput +{ + if (self = [self init]) { + self.tableName = theTableName; + self.keySchema = theKeySchema; + self.provisionedThroughput = theProvisionedThroughput; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"KeySchema: %@,", keySchema] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ProvisionedThroughput: %@,", provisionedThroughput] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableName release]; + [keySchema release]; + [provisionedThroughput release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBCreateTableRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBCreateTableRequestMarshaller.m new file mode 100644 index 00000000..13a75d37 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBCreateTableRequestMarshaller.m @@ -0,0 +1,107 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBCreateTableRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBCreateTableRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBCreateTableRequest *)createTableRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[createTableRequest delegate]]; + [request setCredentials:[createTableRequest credentials]]; + [request setEndpoint:[createTableRequest requestEndpoint]]; + [request setRequestTag:[createTableRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.CreateTable" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (createTableRequest.tableName != nil) { + [json setValue:createTableRequest.tableName forKey:@"TableName"]; + } + if (createTableRequest != nil) { + DynamoDBKeySchema *keySchema = createTableRequest.keySchema; + if (keySchema != nil) { + NSMutableDictionary *keySchemaJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:keySchemaJson forKey:@"KeySchema"]; + + if (keySchema != nil) { + DynamoDBKeySchemaElement *hashKeyElement = keySchema.hashKeyElement; + if (hashKeyElement != nil) { + NSMutableDictionary *hashKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keySchemaJson setValue:hashKeyElementJson forKey:@"HashKeyElement"]; + + + if (hashKeyElement.attributeName != nil) { + [hashKeyElementJson setValue:hashKeyElement.attributeName forKey:@"AttributeName"]; + } + + if (hashKeyElement.attributeType != nil) { + [hashKeyElementJson setValue:hashKeyElement.attributeType forKey:@"AttributeType"]; + } + } + } + if (keySchema != nil) { + DynamoDBKeySchemaElement *rangeKeyElement = keySchema.rangeKeyElement; + if (rangeKeyElement != nil) { + NSMutableDictionary *rangeKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keySchemaJson setValue:rangeKeyElementJson forKey:@"RangeKeyElement"]; + + + if (rangeKeyElement.attributeName != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.attributeName forKey:@"AttributeName"]; + } + + if (rangeKeyElement.attributeType != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.attributeType forKey:@"AttributeType"]; + } + } + } + } + } + if (createTableRequest != nil) { + DynamoDBProvisionedThroughput *provisionedThroughput = createTableRequest.provisionedThroughput; + if (provisionedThroughput != nil) { + NSMutableDictionary *provisionedThroughputJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:provisionedThroughputJson forKey:@"ProvisionedThroughput"]; + + + if (provisionedThroughput.readCapacityUnits != nil) { + [provisionedThroughputJson setValue:provisionedThroughput.readCapacityUnits forKey:@"ReadCapacityUnits"]; + } + + if (provisionedThroughput.writeCapacityUnits != nil) { + [provisionedThroughputJson setValue:provisionedThroughput.writeCapacityUnits forKey:@"WriteCapacityUnits"]; + } + } + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBCreateTableResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBCreateTableResponse.m new file mode 100644 index 00000000..5074bc98 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBCreateTableResponse.m @@ -0,0 +1,85 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBCreateTableResponse.h" + + +@implementation DynamoDBCreateTableResponse + +@synthesize tableDescription; + + +-(id)init +{ + if (self = [super init]) { + tableDescription = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ResourceInUseException"]) { + newException = [[DynamoDBResourceInUseException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"LimitExceededException"]) { + newException = [[DynamoDBLimitExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableDescription: %@,", tableDescription] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableDescription release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBCreateTableResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBCreateTableResponseUnmarshaller.m new file mode 100644 index 00000000..57995a6d --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBCreateTableResponseUnmarshaller.m @@ -0,0 +1,42 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBCreateTableResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBTableDescriptionUnmarshaller.h" + + +@implementation DynamoDBCreateTableResponseUnmarshaller + + ++(DynamoDBCreateTableResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBCreateTableResponse *createTableResult = [[[DynamoDBCreateTableResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [createTableResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + if ([jsonObject valueForKey:@"TableDescription"] != nil) { + createTableResult.tableDescription = [DynamoDBTableDescriptionUnmarshaller unmarshall:[jsonObject valueForKey:@"TableDescription"]]; + } + } + + return createTableResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemRequest.m new file mode 100644 index 00000000..16209c09 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemRequest.m @@ -0,0 +1,88 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBDeleteItemRequest.h" + + +@implementation DynamoDBDeleteItemRequest + +@synthesize tableName; +@synthesize key; +@synthesize expected; +@synthesize returnValues; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + key = nil; + expected = [[NSMutableDictionary alloc] initWithCapacity:1]; + returnValues = nil; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName andKey:(DynamoDBKey *)theKey +{ + if (self = [self init]) { + self.tableName = theTableName; + self.key = theKey; + } + + return self; +} + + +-(void)setExpectedValue:(DynamoDBExpectedAttributeValue *)theValue forKey:(NSString *)theKey +{ + if (expected == nil) { + expected = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + [expected setValue:theValue forKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Key: %@,", key] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Expected: %@,", expected] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ReturnValues: %@,", returnValues] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableName release]; + [key release]; + [expected release]; + [returnValues release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemRequestMarshaller.m new file mode 100644 index 00000000..4a8abc7f --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemRequestMarshaller.m @@ -0,0 +1,198 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBDeleteItemRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBDeleteItemRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBDeleteItemRequest *)deleteItemRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[deleteItemRequest delegate]]; + [request setCredentials:[deleteItemRequest credentials]]; + [request setEndpoint:[deleteItemRequest requestEndpoint]]; + [request setRequestTag:[deleteItemRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.DeleteItem" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (deleteItemRequest.tableName != nil) { + [json setValue:deleteItemRequest.tableName forKey:@"TableName"]; + } + if (deleteItemRequest != nil) { + DynamoDBKey *key = deleteItemRequest.key; + if (key != nil) { + NSMutableDictionary *keyJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:keyJson forKey:@"Key"]; + + if (key != nil) { + DynamoDBAttributeValue *hashKeyElement = key.hashKeyElement; + if (hashKeyElement != nil) { + NSMutableDictionary *hashKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keyJson setValue:hashKeyElementJson forKey:@"HashKeyElement"]; + + + if (hashKeyElement.s != nil) { + [hashKeyElementJson setValue:hashKeyElement.s forKey:@"S"]; + } + + if (hashKeyElement.n != nil) { + [hashKeyElementJson setValue:hashKeyElement.n forKey:@"N"]; + } + if (hashKeyElement != nil) { + NSArray *sSList = hashKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (hashKeyElement != nil) { + NSArray *nSList = hashKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + if (key != nil) { + DynamoDBAttributeValue *rangeKeyElement = key.rangeKeyElement; + if (rangeKeyElement != nil) { + NSMutableDictionary *rangeKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keyJson setValue:rangeKeyElementJson forKey:@"RangeKeyElement"]; + + + if (rangeKeyElement.s != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.s forKey:@"S"]; + } + + if (rangeKeyElement.n != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.n forKey:@"N"]; + } + if (rangeKeyElement != nil) { + NSArray *sSList = rangeKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (rangeKeyElement != nil) { + NSArray *nSList = rangeKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + } + } + if (deleteItemRequest.expected != nil) { + NSMutableDictionary *expectedJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:expectedJson forKey:@"Expected"]; + for (NSString *expectedListValue in deleteItemRequest.expected) { + NSMutableDictionary *expectedListValueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [expectedJson setValue:expectedListValueJson forKey:expectedListValue]; + + DynamoDBExpectedAttributeValue *expectedListValueValue = [deleteItemRequest.expected valueForKey:expectedListValue]; + + if (expectedListValueValue != nil) { + DynamoDBAttributeValue *value = expectedListValueValue.value; + if (value != nil) { + NSMutableDictionary *valueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [expectedListValueJson setValue:valueJson forKey:@"Value"]; + + + if (value.s != nil) { + [valueJson setValue:value.s forKey:@"S"]; + } + + if (value.n != nil) { + [valueJson setValue:value.n forKey:@"N"]; + } + if (value != nil) { + NSArray *sSList = value.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [valueJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (value != nil) { + NSArray *nSList = value.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [valueJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + + if (expectedListValueValue.existsIsSet) { + [expectedListValueJson setValue:(expectedListValueValue.exists ? @"true":@"false")forKey:@"Exists"]; + } + } + } + + if (deleteItemRequest.returnValues != nil) { + [json setValue:deleteItemRequest.returnValues forKey:@"ReturnValues"]; + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemResponse.m new file mode 100644 index 00000000..05e65558 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemResponse.m @@ -0,0 +1,98 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBDeleteItemResponse.h" + + +@implementation DynamoDBDeleteItemResponse + +@synthesize attributes; +@synthesize consumedCapacityUnits; + + +-(id)init +{ + if (self = [super init]) { + attributes = [[NSMutableDictionary alloc] initWithCapacity:1]; + consumedCapacityUnits = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ProvisionedThroughputExceededException"]) { + newException = [[DynamoDBProvisionedThroughputExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ConditionalCheckFailedException"]) { + newException = [[DynamoDBConditionalCheckFailedException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + +-(DynamoDBAttributeValue *)attributesValueForKey:(NSString *)theKey +{ + return (DynamoDBAttributeValue *)[attributes valueForKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Attributes: %@,", attributes] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ConsumedCapacityUnits: %@,", consumedCapacityUnits] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [attributes release]; + [consumedCapacityUnits release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemResponseUnmarshaller.m new file mode 100644 index 00000000..b6f9eaae --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDeleteItemResponseUnmarshaller.m @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBDeleteItemResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" + + +@implementation DynamoDBDeleteItemResponseUnmarshaller + + ++(DynamoDBDeleteItemResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBDeleteItemResponse *deleteItemResult = [[[DynamoDBDeleteItemResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [deleteItemResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + NSDictionary *attributesObject = [jsonObject valueForKey:@"Attributes"]; + for (NSString *key in [attributesObject allKeys]) { + NSDictionary *value = [attributesObject valueForKey:key]; + [deleteItemResult.attributes setValue:[DynamoDBAttributeValueUnmarshaller unmarshall:value] forKey:key]; + } + + + if ([jsonObject valueForKey:@"ConsumedCapacityUnits"] != nil) { + deleteItemResult.consumedCapacityUnits = [jsonObject valueForKey:@"ConsumedCapacityUnits"]; + } + } + + return deleteItemResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableRequest.m new file mode 100644 index 00000000..64015645 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableRequest.m @@ -0,0 +1,66 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBDeleteTableRequest.h" + + +@implementation DynamoDBDeleteTableRequest + +@synthesize tableName; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName +{ + if (self = [self init]) { + self.tableName = theTableName; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableName release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableRequestMarshaller.m new file mode 100644 index 00000000..f062e55c --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableRequestMarshaller.m @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBDeleteTableRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBDeleteTableRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBDeleteTableRequest *)deleteTableRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[deleteTableRequest delegate]]; + [request setCredentials:[deleteTableRequest credentials]]; + [request setEndpoint:[deleteTableRequest requestEndpoint]]; + [request setRequestTag:[deleteTableRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.DeleteTable" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (deleteTableRequest.tableName != nil) { + [json setValue:deleteTableRequest.tableName forKey:@"TableName"]; + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableResponse.m new file mode 100644 index 00000000..aa4a3dc6 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableResponse.m @@ -0,0 +1,89 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBDeleteTableResponse.h" + + +@implementation DynamoDBDeleteTableResponse + +@synthesize tableDescription; + + +-(id)init +{ + if (self = [super init]) { + tableDescription = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ResourceInUseException"]) { + newException = [[DynamoDBResourceInUseException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"LimitExceededException"]) { + newException = [[DynamoDBLimitExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableDescription: %@,", tableDescription] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableDescription release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableResponseUnmarshaller.m new file mode 100644 index 00000000..f53374ae --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDeleteTableResponseUnmarshaller.m @@ -0,0 +1,42 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBDeleteTableResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBTableDescriptionUnmarshaller.h" + + +@implementation DynamoDBDeleteTableResponseUnmarshaller + + ++(DynamoDBDeleteTableResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBDeleteTableResponse *deleteTableResult = [[[DynamoDBDeleteTableResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [deleteTableResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + if ([jsonObject valueForKey:@"TableDescription"] != nil) { + deleteTableResult.tableDescription = [DynamoDBTableDescriptionUnmarshaller unmarshall:[jsonObject valueForKey:@"TableDescription"]]; + } + } + + return deleteTableResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableRequest.m new file mode 100644 index 00000000..816b23c2 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableRequest.m @@ -0,0 +1,66 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBDescribeTableRequest.h" + + +@implementation DynamoDBDescribeTableRequest + +@synthesize tableName; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName +{ + if (self = [self init]) { + self.tableName = theTableName; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableName release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableRequestMarshaller.m new file mode 100644 index 00000000..0ed1aec7 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableRequestMarshaller.m @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBDescribeTableRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBDescribeTableRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBDescribeTableRequest *)describeTableRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[describeTableRequest delegate]]; + [request setCredentials:[describeTableRequest credentials]]; + [request setEndpoint:[describeTableRequest requestEndpoint]]; + [request setRequestTag:[describeTableRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.DescribeTable" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (describeTableRequest.tableName != nil) { + [json setValue:describeTableRequest.tableName forKey:@"TableName"]; + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableResponse.m new file mode 100644 index 00000000..0b6d53b3 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableResponse.m @@ -0,0 +1,81 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBDescribeTableResponse.h" + + +@implementation DynamoDBDescribeTableResponse + +@synthesize table; + + +-(id)init +{ + if (self = [super init]) { + table = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Table: %@,", table] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [table release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableResponseUnmarshaller.m new file mode 100644 index 00000000..02c8d63e --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBDescribeTableResponseUnmarshaller.m @@ -0,0 +1,42 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBDescribeTableResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBTableDescriptionUnmarshaller.h" + + +@implementation DynamoDBDescribeTableResponseUnmarshaller + + ++(DynamoDBDescribeTableResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBDescribeTableResponse *describeTableResult = [[[DynamoDBDescribeTableResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [describeTableResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + if ([jsonObject valueForKey:@"Table"] != nil) { + describeTableResult.table = [DynamoDBTableDescriptionUnmarshaller unmarshall:[jsonObject valueForKey:@"Table"]]; + } + } + + return describeTableResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBExpectedAttributeValue.m b/src/Amazon.DynamoDB/Model/DynamoDBExpectedAttributeValue.m new file mode 100644 index 00000000..486438e3 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBExpectedAttributeValue.m @@ -0,0 +1,86 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBExpectedAttributeValue.h" + + +@implementation DynamoDBExpectedAttributeValue + +@synthesize value; +@synthesize exists; +@synthesize existsIsSet; + + +-(id)init +{ + if (self = [super init]) { + value = nil; + exists = NO; + existsIsSet = NO; + } + + return self; +} + +-(id)initWithValue:(DynamoDBAttributeValue *)theValue +{ + if (self = [self init]) { + self.value = theValue; + } + + return self; +} + +-(id)initWithExists:(bool)theExists +{ + if (self = [self init]) { + self.exists = theExists; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Value: %@,", value] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Exists: %d,", exists] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)setExists:(bool)theValue +{ + exists = theValue; + existsIsSet = YES; +} + + +-(void)dealloc +{ + [value release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBGetItemRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBGetItemRequest.m new file mode 100644 index 00000000..4408cea1 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBGetItemRequest.m @@ -0,0 +1,95 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBGetItemRequest.h" + + +@implementation DynamoDBGetItemRequest + +@synthesize tableName; +@synthesize key; +@synthesize attributesToGet; +@synthesize consistentRead; +@synthesize consistentReadIsSet; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + key = nil; + attributesToGet = [[NSMutableArray alloc] initWithCapacity:1]; + consistentRead = NO; + consistentReadIsSet = NO; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName andKey:(DynamoDBKey *)theKey +{ + if (self = [self init]) { + self.tableName = theTableName; + self.key = theKey; + } + + return self; +} + + +-(void)addAttributesToGet:(NSString *)attributesToGetObject +{ + if (attributesToGet == nil) { + attributesToGet = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [attributesToGet addObject:attributesToGetObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Key: %@,", key] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributesToGet: %@,", attributesToGet] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ConsistentRead: %d,", consistentRead] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)setConsistentRead:(bool)theValue +{ + consistentRead = theValue; + consistentReadIsSet = YES; +} + + +-(void)dealloc +{ + [tableName release]; + [key release]; + [attributesToGet release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBGetItemRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBGetItemRequestMarshaller.m new file mode 100644 index 00000000..fc0e90a2 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBGetItemRequestMarshaller.m @@ -0,0 +1,155 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBGetItemRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBGetItemRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBGetItemRequest *)getItemRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[getItemRequest delegate]]; + [request setCredentials:[getItemRequest credentials]]; + [request setEndpoint:[getItemRequest requestEndpoint]]; + [request setRequestTag:[getItemRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.GetItem" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (getItemRequest.tableName != nil) { + [json setValue:getItemRequest.tableName forKey:@"TableName"]; + } + if (getItemRequest != nil) { + DynamoDBKey *key = getItemRequest.key; + if (key != nil) { + NSMutableDictionary *keyJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:keyJson forKey:@"Key"]; + + if (key != nil) { + DynamoDBAttributeValue *hashKeyElement = key.hashKeyElement; + if (hashKeyElement != nil) { + NSMutableDictionary *hashKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keyJson setValue:hashKeyElementJson forKey:@"HashKeyElement"]; + + + if (hashKeyElement.s != nil) { + [hashKeyElementJson setValue:hashKeyElement.s forKey:@"S"]; + } + + if (hashKeyElement.n != nil) { + [hashKeyElementJson setValue:hashKeyElement.n forKey:@"N"]; + } + if (hashKeyElement != nil) { + NSArray *sSList = hashKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (hashKeyElement != nil) { + NSArray *nSList = hashKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + if (key != nil) { + DynamoDBAttributeValue *rangeKeyElement = key.rangeKeyElement; + if (rangeKeyElement != nil) { + NSMutableDictionary *rangeKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keyJson setValue:rangeKeyElementJson forKey:@"RangeKeyElement"]; + + + if (rangeKeyElement.s != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.s forKey:@"S"]; + } + + if (rangeKeyElement.n != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.n forKey:@"N"]; + } + if (rangeKeyElement != nil) { + NSArray *sSList = rangeKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (rangeKeyElement != nil) { + NSArray *nSList = rangeKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + } + } + if (getItemRequest != nil) { + NSArray *attributesToGetList = getItemRequest.attributesToGet; + if (attributesToGetList != nil && [attributesToGetList count] > 0) { + NSMutableArray *attributesToGetArray = [[[NSMutableArray alloc] init] autorelease]; + [json setValue:attributesToGetArray forKey:@"AttributesToGet"]; + for (NSString *attributesToGetListValue in attributesToGetList) { + if (attributesToGetListValue != nil) { + [attributesToGetArray addObject:attributesToGetListValue]; + } + } + } + } + + if (getItemRequest.consistentReadIsSet) { + [json setValue:(getItemRequest.consistentRead ? @"true":@"false")forKey:@"ConsistentRead"]; + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBGetItemResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBGetItemResponse.m new file mode 100644 index 00000000..93b55956 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBGetItemResponse.m @@ -0,0 +1,94 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBGetItemResponse.h" + + +@implementation DynamoDBGetItemResponse + +@synthesize item; +@synthesize consumedCapacityUnits; + + +-(id)init +{ + if (self = [super init]) { + item = [[NSMutableDictionary alloc] initWithCapacity:1]; + consumedCapacityUnits = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ProvisionedThroughputExceededException"]) { + newException = [[DynamoDBProvisionedThroughputExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + +-(DynamoDBAttributeValue *)itemValueForKey:(NSString *)theKey +{ + return (DynamoDBAttributeValue *)[item valueForKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Item: %@,", item] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ConsumedCapacityUnits: %@,", consumedCapacityUnits] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [item release]; + [consumedCapacityUnits release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBGetItemResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBGetItemResponseUnmarshaller.m new file mode 100644 index 00000000..a9e3bf42 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBGetItemResponseUnmarshaller.m @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBGetItemResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" + + +@implementation DynamoDBGetItemResponseUnmarshaller + + ++(DynamoDBGetItemResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBGetItemResponse *getItemResult = [[[DynamoDBGetItemResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [getItemResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + NSDictionary *itemObject = [jsonObject valueForKey:@"Item"]; + for (NSString *key in [itemObject allKeys]) { + NSDictionary *value = [itemObject valueForKey:key]; + [getItemResult.item setValue:[DynamoDBAttributeValueUnmarshaller unmarshall:value] forKey:key]; + } + + + if ([jsonObject valueForKey:@"ConsumedCapacityUnits"] != nil) { + getItemResult.consumedCapacityUnits = [jsonObject valueForKey:@"ConsumedCapacityUnits"]; + } + } + + return getItemResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBInternalServerErrorException.m b/src/Amazon.DynamoDB/Model/DynamoDBInternalServerErrorException.m new file mode 100644 index 00000000..abef9caa --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBInternalServerErrorException.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBInternalServerErrorException.h" + + + + +@implementation DynamoDBInternalServerErrorException + + + +-(id)initWithMessage:(NSString *)theMessage +{ + if (self = [super initWithMessage:theMessage]) { + } + + return self; +} + + +-(void)setPropertiesWithException:(AmazonServiceException *)theException +{ + [super setPropertiesWithException:theException]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBKey.m b/src/Amazon.DynamoDB/Model/DynamoDBKey.m new file mode 100644 index 00000000..46a6e96d --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBKey.m @@ -0,0 +1,80 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKey.h" + + +@implementation DynamoDBKey + +@synthesize hashKeyElement; +@synthesize rangeKeyElement; + + +-(id)init +{ + if (self = [super init]) { + hashKeyElement = nil; + rangeKeyElement = nil; + } + + return self; +} + +-(id)initWithHashKeyElement:(DynamoDBAttributeValue *)theHashKeyElement +{ + if (self = [self init]) { + self.hashKeyElement = theHashKeyElement; + } + + return self; +} + +-(id)initWithHashKeyElement:(DynamoDBAttributeValue *)theHashKeyElement andRangeKeyElement:(DynamoDBAttributeValue *)theRangeKeyElement +{ + if (self = [self init]) { + self.hashKeyElement = theHashKeyElement; + self.rangeKeyElement = theRangeKeyElement; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"HashKeyElement: %@,", hashKeyElement] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"RangeKeyElement: %@,", rangeKeyElement] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [hashKeyElement release]; + [rangeKeyElement release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBKeySchema.m b/src/Amazon.DynamoDB/Model/DynamoDBKeySchema.m new file mode 100644 index 00000000..b4bab74d --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBKeySchema.m @@ -0,0 +1,70 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeySchema.h" + + +@implementation DynamoDBKeySchema + +@synthesize hashKeyElement; +@synthesize rangeKeyElement; + + +-(id)init +{ + if (self = [super init]) { + hashKeyElement = nil; + rangeKeyElement = nil; + } + + return self; +} + +-(id)initWithHashKeyElement:(DynamoDBKeySchemaElement *)theHashKeyElement +{ + if (self = [self init]) { + self.hashKeyElement = theHashKeyElement; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"HashKeyElement: %@,", hashKeyElement] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"RangeKeyElement: %@,", rangeKeyElement] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [hashKeyElement release]; + [rangeKeyElement release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBKeySchemaElement.m b/src/Amazon.DynamoDB/Model/DynamoDBKeySchemaElement.m new file mode 100644 index 00000000..0a342ced --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBKeySchemaElement.m @@ -0,0 +1,71 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeySchemaElement.h" + + +@implementation DynamoDBKeySchemaElement + +@synthesize attributeName; +@synthesize attributeType; + + +-(id)init +{ + if (self = [super init]) { + attributeName = nil; + attributeType = nil; + } + + return self; +} + +-(id)initWithAttributeName:(NSString *)theAttributeName andAttributeType:(NSString *)theAttributeType +{ + if (self = [self init]) { + self.attributeName = theAttributeName; + self.attributeType = theAttributeType; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributeName: %@,", attributeName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributeType: %@,", attributeType] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [attributeName release]; + [attributeType release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBKeySchemaElementUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBKeySchemaElementUnmarshaller.m new file mode 100644 index 00000000..b02eb265 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBKeySchemaElementUnmarshaller.m @@ -0,0 +1,42 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeySchemaElementUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" + + +@implementation DynamoDBKeySchemaElementUnmarshaller + + ++(DynamoDBKeySchemaElement *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBKeySchemaElement *keySchemaElement = [[[DynamoDBKeySchemaElement alloc] init] autorelease]; + + + + if ([jsonObject valueForKey:@"AttributeName"] != nil) { + keySchemaElement.attributeName = [jsonObject valueForKey:@"AttributeName"]; + } + + + if ([jsonObject valueForKey:@"AttributeType"] != nil) { + keySchemaElement.attributeType = [jsonObject valueForKey:@"AttributeType"]; + } + + return keySchemaElement; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBKeySchemaUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBKeySchemaUnmarshaller.m new file mode 100644 index 00000000..ecbb1a40 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBKeySchemaUnmarshaller.m @@ -0,0 +1,44 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeySchemaUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBKeySchemaElementUnmarshaller.h" +#import "DynamoDBKeySchemaElementUnmarshaller.h" + + +@implementation DynamoDBKeySchemaUnmarshaller + + ++(DynamoDBKeySchema *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBKeySchema *keySchema = [[[DynamoDBKeySchema alloc] init] autorelease]; + + + + if ([jsonObject valueForKey:@"HashKeyElement"] != nil) { + keySchema.hashKeyElement = [DynamoDBKeySchemaElementUnmarshaller unmarshall:[jsonObject valueForKey:@"HashKeyElement"]]; + } + + + if ([jsonObject valueForKey:@"RangeKeyElement"] != nil) { + keySchema.rangeKeyElement = [DynamoDBKeySchemaElementUnmarshaller unmarshall:[jsonObject valueForKey:@"RangeKeyElement"]]; + } + + return keySchema; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBKeyUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBKeyUnmarshaller.m new file mode 100644 index 00000000..dcef89e8 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBKeyUnmarshaller.m @@ -0,0 +1,44 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeyUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" + + +@implementation DynamoDBKeyUnmarshaller + + ++(DynamoDBKey *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBKey *key = [[[DynamoDBKey alloc] init] autorelease]; + + + + if ([jsonObject valueForKey:@"HashKeyElement"] != nil) { + key.hashKeyElement = [DynamoDBAttributeValueUnmarshaller unmarshall:[jsonObject valueForKey:@"HashKeyElement"]]; + } + + + if ([jsonObject valueForKey:@"RangeKeyElement"] != nil) { + key.rangeKeyElement = [DynamoDBAttributeValueUnmarshaller unmarshall:[jsonObject valueForKey:@"RangeKeyElement"]]; + } + + return key; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBKeysAndAttributes.m b/src/Amazon.DynamoDB/Model/DynamoDBKeysAndAttributes.m new file mode 100644 index 00000000..443dae32 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBKeysAndAttributes.m @@ -0,0 +1,79 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeysAndAttributes.h" + + +@implementation DynamoDBKeysAndAttributes + +@synthesize keys; +@synthesize attributesToGet; + + +-(id)init +{ + if (self = [super init]) { + keys = [[NSMutableArray alloc] initWithCapacity:1]; + attributesToGet = [[NSMutableArray alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)addKey:(DynamoDBKey *)keyObject +{ + if (keys == nil) { + keys = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [keys addObject:keyObject]; +} + +-(void)addAttributesToGet:(NSString *)attributesToGetObject +{ + if (attributesToGet == nil) { + attributesToGet = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [attributesToGet addObject:attributesToGetObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Keys: %@,", keys] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributesToGet: %@,", attributesToGet] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [keys release]; + [attributesToGet release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBKeysAndAttributesUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBKeysAndAttributesUnmarshaller.m new file mode 100644 index 00000000..66c6407f --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBKeysAndAttributesUnmarshaller.m @@ -0,0 +1,47 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeysAndAttributesUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBKeyUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" + + +@implementation DynamoDBKeysAndAttributesUnmarshaller + + ++(DynamoDBKeysAndAttributes *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBKeysAndAttributes *keysAndAttributes = [[[DynamoDBKeysAndAttributes alloc] init] autorelease]; + + + + NSArray *keysArray = [jsonObject valueForKey:@"Keys"]; + for (NSDictionary *memberObject in keysArray) { + [keysAndAttributes.keys addObject:[DynamoDBKeyUnmarshaller unmarshall:memberObject]]; + } + + + NSArray *attributesToGetArray = [jsonObject valueForKey:@"AttributesToGet"]; + for (NSString *memberObject in attributesToGetArray) { + [keysAndAttributes.attributesToGet addObject:memberObject]; + } + + return keysAndAttributes; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBLimitExceededException.m b/src/Amazon.DynamoDB/Model/DynamoDBLimitExceededException.m new file mode 100644 index 00000000..70b59882 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBLimitExceededException.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBLimitExceededException.h" + + + + +@implementation DynamoDBLimitExceededException + + + +-(id)initWithMessage:(NSString *)theMessage +{ + if (self = [super initWithMessage:theMessage]) { + } + + return self; +} + + +-(void)setPropertiesWithException:(AmazonServiceException *)theException +{ + [super setPropertiesWithException:theException]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBListTablesRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBListTablesRequest.m new file mode 100644 index 00000000..9ac6f0b9 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBListTablesRequest.m @@ -0,0 +1,61 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBListTablesRequest.h" + + +@implementation DynamoDBListTablesRequest + +@synthesize exclusiveStartTableName; +@synthesize limit; + + +-(id)init +{ + if (self = [super init]) { + exclusiveStartTableName = nil; + limit = nil; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ExclusiveStartTableName: %@,", exclusiveStartTableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Limit: %@,", limit] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [exclusiveStartTableName release]; + [limit release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBListTablesRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBListTablesRequestMarshaller.m new file mode 100644 index 00000000..510a2cbd --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBListTablesRequestMarshaller.m @@ -0,0 +1,55 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBListTablesRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBListTablesRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBListTablesRequest *)listTablesRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[listTablesRequest delegate]]; + [request setCredentials:[listTablesRequest credentials]]; + [request setEndpoint:[listTablesRequest requestEndpoint]]; + [request setRequestTag:[listTablesRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.ListTables" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (listTablesRequest.exclusiveStartTableName != nil) { + [json setValue:listTablesRequest.exclusiveStartTableName forKey:@"ExclusiveStartTableName"]; + } + + if (listTablesRequest.limit != nil) { + [json setValue:listTablesRequest.limit forKey:@"Limit"]; + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBListTablesResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBListTablesResponse.m new file mode 100644 index 00000000..b876d9f4 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBListTablesResponse.m @@ -0,0 +1,87 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBListTablesResponse.h" + + +@implementation DynamoDBListTablesResponse + +@synthesize tableNames; +@synthesize lastEvaluatedTableName; + + +-(id)init +{ + if (self = [super init]) { + tableNames = [[NSMutableArray alloc] initWithCapacity:1]; + lastEvaluatedTableName = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSString *)tableNamesObjectAtIndex:(int)index +{ + return (NSString *)[tableNames objectAtIndex:index]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableNames: %@,", tableNames] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"LastEvaluatedTableName: %@,", lastEvaluatedTableName] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableNames release]; + [lastEvaluatedTableName release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBListTablesResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBListTablesResponseUnmarshaller.m new file mode 100644 index 00000000..0878dfca --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBListTablesResponseUnmarshaller.m @@ -0,0 +1,47 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBListTablesResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" + + +@implementation DynamoDBListTablesResponseUnmarshaller + + ++(DynamoDBListTablesResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBListTablesResponse *listTablesResult = [[[DynamoDBListTablesResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [listTablesResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + NSArray *tableNamesArray = [jsonObject valueForKey:@"TableNames"]; + for (NSString *memberObject in tableNamesArray) { + [listTablesResult.tableNames addObject:memberObject]; + } + + + if ([jsonObject valueForKey:@"LastEvaluatedTableName"] != nil) { + listTablesResult.lastEvaluatedTableName = [jsonObject valueForKey:@"LastEvaluatedTableName"]; + } + } + + return listTablesResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughput.m b/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughput.m new file mode 100644 index 00000000..0c12f378 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughput.m @@ -0,0 +1,61 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBProvisionedThroughput.h" + + +@implementation DynamoDBProvisionedThroughput + +@synthesize readCapacityUnits; +@synthesize writeCapacityUnits; + + +-(id)init +{ + if (self = [super init]) { + readCapacityUnits = nil; + writeCapacityUnits = nil; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ReadCapacityUnits: %@,", readCapacityUnits] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"WriteCapacityUnits: %@,", writeCapacityUnits] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [readCapacityUnits release]; + [writeCapacityUnits release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputDescription.m b/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputDescription.m new file mode 100644 index 00000000..7e730887 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputDescription.m @@ -0,0 +1,69 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBProvisionedThroughputDescription.h" + + +@implementation DynamoDBProvisionedThroughputDescription + +@synthesize lastIncreaseDateTime; +@synthesize lastDecreaseDateTime; +@synthesize readCapacityUnits; +@synthesize writeCapacityUnits; + + +-(id)init +{ + if (self = [super init]) { + lastIncreaseDateTime = nil; + lastDecreaseDateTime = nil; + readCapacityUnits = nil; + writeCapacityUnits = nil; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"LastIncreaseDateTime: %@,", lastIncreaseDateTime] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"LastDecreaseDateTime: %@,", lastDecreaseDateTime] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ReadCapacityUnits: %@,", readCapacityUnits] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"WriteCapacityUnits: %@,", writeCapacityUnits] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [lastIncreaseDateTime release]; + [lastDecreaseDateTime release]; + [readCapacityUnits release]; + [writeCapacityUnits release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputDescriptionUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputDescriptionUnmarshaller.m new file mode 100644 index 00000000..8c93cad4 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputDescriptionUnmarshaller.m @@ -0,0 +1,52 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBProvisionedThroughputDescriptionUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" + + +@implementation DynamoDBProvisionedThroughputDescriptionUnmarshaller + + ++(DynamoDBProvisionedThroughputDescription *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBProvisionedThroughputDescription *provisionedThroughputDescription = [[[DynamoDBProvisionedThroughputDescription alloc] init] autorelease]; + + + + if ([jsonObject valueForKey:@"LastIncreaseDateTime"] != nil) { + provisionedThroughputDescription.lastIncreaseDateTime = [AmazonSDKUtil millisSinceEpochToDate:[jsonObject valueForKey:@"LastIncreaseDateTime"]]; + } + + + if ([jsonObject valueForKey:@"LastDecreaseDateTime"] != nil) { + provisionedThroughputDescription.lastDecreaseDateTime = [AmazonSDKUtil millisSinceEpochToDate:[jsonObject valueForKey:@"LastDecreaseDateTime"]]; + } + + + if ([jsonObject valueForKey:@"ReadCapacityUnits"] != nil) { + provisionedThroughputDescription.readCapacityUnits = [jsonObject valueForKey:@"ReadCapacityUnits"]; + } + + + if ([jsonObject valueForKey:@"WriteCapacityUnits"] != nil) { + provisionedThroughputDescription.writeCapacityUnits = [jsonObject valueForKey:@"WriteCapacityUnits"]; + } + + return provisionedThroughputDescription; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputExceededException.m b/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputExceededException.m new file mode 100644 index 00000000..9c176dd8 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBProvisionedThroughputExceededException.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBProvisionedThroughputExceededException.h" + + + + +@implementation DynamoDBProvisionedThroughputExceededException + + + +-(id)initWithMessage:(NSString *)theMessage +{ + if (self = [super initWithMessage:theMessage]) { + } + + return self; +} + + +-(void)setPropertiesWithException:(AmazonServiceException *)theException +{ + [super setPropertiesWithException:theException]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBPutItemRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBPutItemRequest.m new file mode 100644 index 00000000..0c6555d9 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBPutItemRequest.m @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBPutItemRequest.h" + + +@implementation DynamoDBPutItemRequest + +@synthesize tableName; +@synthesize item; +@synthesize expected; +@synthesize returnValues; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + item = [[NSMutableDictionary alloc] initWithCapacity:1]; + expected = [[NSMutableDictionary alloc] initWithCapacity:1]; + returnValues = nil; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName andItem:(NSMutableDictionary *)theItem +{ + if (self = [self init]) { + self.tableName = theTableName; + self.item = theItem; + } + + return self; +} + + +-(void)setItemValue:(DynamoDBAttributeValue *)theValue forKey:(NSString *)theKey +{ + if (item == nil) { + item = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + [item setValue:theValue forKey:theKey]; +} + +-(void)setExpectedValue:(DynamoDBExpectedAttributeValue *)theValue forKey:(NSString *)theKey +{ + if (expected == nil) { + expected = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + [expected setValue:theValue forKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Item: %@,", item] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Expected: %@,", expected] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ReturnValues: %@,", returnValues] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableName release]; + [item release]; + [expected release]; + [returnValues release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBPutItemRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBPutItemRequestMarshaller.m new file mode 100644 index 00000000..25ac37f5 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBPutItemRequestMarshaller.m @@ -0,0 +1,153 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBPutItemRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBPutItemRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBPutItemRequest *)putItemRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[putItemRequest delegate]]; + [request setCredentials:[putItemRequest credentials]]; + [request setEndpoint:[putItemRequest requestEndpoint]]; + [request setRequestTag:[putItemRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.PutItem" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (putItemRequest.tableName != nil) { + [json setValue:putItemRequest.tableName forKey:@"TableName"]; + } + if (putItemRequest.item != nil) { + NSMutableDictionary *itemJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:itemJson forKey:@"Item"]; + for (NSString *itemListValue in putItemRequest.item) { + NSMutableDictionary *itemListValueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [itemJson setValue:itemListValueJson forKey:itemListValue]; + + DynamoDBAttributeValue *itemListValueValue = [putItemRequest.item valueForKey:itemListValue]; + + + if (itemListValueValue.s != nil) { + [itemListValueJson setValue:itemListValueValue.s forKey:@"S"]; + } + + if (itemListValueValue.n != nil) { + [itemListValueJson setValue:itemListValueValue.n forKey:@"N"]; + } + if (itemListValueValue != nil) { + NSArray *sSList = itemListValueValue.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [itemListValueJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (itemListValueValue != nil) { + NSArray *nSList = itemListValueValue.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [itemListValueJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + if (putItemRequest.expected != nil) { + NSMutableDictionary *expectedJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:expectedJson forKey:@"Expected"]; + for (NSString *expectedListValue in putItemRequest.expected) { + NSMutableDictionary *expectedListValueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [expectedJson setValue:expectedListValueJson forKey:expectedListValue]; + + DynamoDBExpectedAttributeValue *expectedListValueValue = [putItemRequest.expected valueForKey:expectedListValue]; + + if (expectedListValueValue != nil) { + DynamoDBAttributeValue *value = expectedListValueValue.value; + if (value != nil) { + NSMutableDictionary *valueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [expectedListValueJson setValue:valueJson forKey:@"Value"]; + + + if (value.s != nil) { + [valueJson setValue:value.s forKey:@"S"]; + } + + if (value.n != nil) { + [valueJson setValue:value.n forKey:@"N"]; + } + if (value != nil) { + NSArray *sSList = value.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [valueJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (value != nil) { + NSArray *nSList = value.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [valueJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + + if (expectedListValueValue.existsIsSet) { + [expectedListValueJson setValue:(expectedListValueValue.exists ? @"true":@"false")forKey:@"Exists"]; + } + } + } + + if (putItemRequest.returnValues != nil) { + [json setValue:putItemRequest.returnValues forKey:@"ReturnValues"]; + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBPutItemResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBPutItemResponse.m new file mode 100644 index 00000000..d72c21c4 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBPutItemResponse.m @@ -0,0 +1,98 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBPutItemResponse.h" + + +@implementation DynamoDBPutItemResponse + +@synthesize attributes; +@synthesize consumedCapacityUnits; + + +-(id)init +{ + if (self = [super init]) { + attributes = [[NSMutableDictionary alloc] initWithCapacity:1]; + consumedCapacityUnits = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ProvisionedThroughputExceededException"]) { + newException = [[DynamoDBProvisionedThroughputExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ConditionalCheckFailedException"]) { + newException = [[DynamoDBConditionalCheckFailedException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + +-(DynamoDBAttributeValue *)attributesValueForKey:(NSString *)theKey +{ + return (DynamoDBAttributeValue *)[attributes valueForKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Attributes: %@,", attributes] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ConsumedCapacityUnits: %@,", consumedCapacityUnits] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [attributes release]; + [consumedCapacityUnits release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBPutItemResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBPutItemResponseUnmarshaller.m new file mode 100644 index 00000000..3ae32972 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBPutItemResponseUnmarshaller.m @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBPutItemResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" + + +@implementation DynamoDBPutItemResponseUnmarshaller + + ++(DynamoDBPutItemResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBPutItemResponse *putItemResult = [[[DynamoDBPutItemResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [putItemResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + NSDictionary *attributesObject = [jsonObject valueForKey:@"Attributes"]; + for (NSString *key in [attributesObject allKeys]) { + NSDictionary *value = [attributesObject valueForKey:key]; + [putItemResult.attributes setValue:[DynamoDBAttributeValueUnmarshaller unmarshall:value] forKey:key]; + } + + + if ([jsonObject valueForKey:@"ConsumedCapacityUnits"] != nil) { + putItemResult.consumedCapacityUnits = [jsonObject valueForKey:@"ConsumedCapacityUnits"]; + } + } + + return putItemResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBQueryRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBQueryRequest.m new file mode 100644 index 00000000..780850e4 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBQueryRequest.m @@ -0,0 +1,129 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBQueryRequest.h" + + +@implementation DynamoDBQueryRequest + +@synthesize tableName; +@synthesize attributesToGet; +@synthesize limit; +@synthesize consistentRead; +@synthesize consistentReadIsSet; +@synthesize count; +@synthesize countIsSet; +@synthesize hashKeyValue; +@synthesize rangeKeyCondition; +@synthesize scanIndexForward; +@synthesize scanIndexForwardIsSet; +@synthesize exclusiveStartKey; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + attributesToGet = [[NSMutableArray alloc] initWithCapacity:1]; + limit = nil; + consistentRead = NO; + consistentReadIsSet = NO; + count = NO; + countIsSet = NO; + hashKeyValue = nil; + rangeKeyCondition = nil; + scanIndexForward = NO; + scanIndexForwardIsSet = NO; + exclusiveStartKey = nil; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName andHashKeyValue:(DynamoDBAttributeValue *)theHashKeyValue +{ + if (self = [self init]) { + self.tableName = theTableName; + self.hashKeyValue = theHashKeyValue; + } + + return self; +} + + +-(void)addAttributesToGet:(NSString *)attributesToGetObject +{ + if (attributesToGet == nil) { + attributesToGet = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [attributesToGet addObject:attributesToGetObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributesToGet: %@,", attributesToGet] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Limit: %@,", limit] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ConsistentRead: %d,", consistentRead] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Count: %d,", count] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"HashKeyValue: %@,", hashKeyValue] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"RangeKeyCondition: %@,", rangeKeyCondition] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ScanIndexForward: %d,", scanIndexForward] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ExclusiveStartKey: %@,", exclusiveStartKey] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)setConsistentRead:(bool)theValue +{ + consistentRead = theValue; + consistentReadIsSet = YES; +} + +-(void)setCount:(bool)theValue +{ + count = theValue; + countIsSet = YES; +} + +-(void)setScanIndexForward:(bool)theValue +{ + scanIndexForward = theValue; + scanIndexForwardIsSet = YES; +} + + +-(void)dealloc +{ + [tableName release]; + [attributesToGet release]; + [limit release]; + [hashKeyValue release]; + [rangeKeyCondition release]; + [exclusiveStartKey release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBQueryRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBQueryRequestMarshaller.m new file mode 100644 index 00000000..70352cca --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBQueryRequestMarshaller.m @@ -0,0 +1,264 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBQueryRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBQueryRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBQueryRequest *)queryRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[queryRequest delegate]]; + [request setCredentials:[queryRequest credentials]]; + [request setEndpoint:[queryRequest requestEndpoint]]; + [request setRequestTag:[queryRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.Query" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (queryRequest.tableName != nil) { + [json setValue:queryRequest.tableName forKey:@"TableName"]; + } + if (queryRequest != nil) { + NSArray *attributesToGetList = queryRequest.attributesToGet; + if (attributesToGetList != nil && [attributesToGetList count] > 0) { + NSMutableArray *attributesToGetArray = [[[NSMutableArray alloc] init] autorelease]; + [json setValue:attributesToGetArray forKey:@"AttributesToGet"]; + for (NSString *attributesToGetListValue in attributesToGetList) { + if (attributesToGetListValue != nil) { + [attributesToGetArray addObject:attributesToGetListValue]; + } + } + } + } + + if (queryRequest.limit != nil) { + [json setValue:queryRequest.limit forKey:@"Limit"]; + } + + if (queryRequest.consistentReadIsSet) { + [json setValue:(queryRequest.consistentRead ? @"true":@"false")forKey:@"ConsistentRead"]; + } + + if (queryRequest.countIsSet) { + [json setValue:(queryRequest.count ? @"true":@"false")forKey:@"Count"]; + } + if (queryRequest != nil) { + DynamoDBAttributeValue *hashKeyValue = queryRequest.hashKeyValue; + if (hashKeyValue != nil) { + NSMutableDictionary *hashKeyValueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:hashKeyValueJson forKey:@"HashKeyValue"]; + + + if (hashKeyValue.s != nil) { + [hashKeyValueJson setValue:hashKeyValue.s forKey:@"S"]; + } + + if (hashKeyValue.n != nil) { + [hashKeyValueJson setValue:hashKeyValue.n forKey:@"N"]; + } + if (hashKeyValue != nil) { + NSArray *sSList = hashKeyValue.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyValueJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (hashKeyValue != nil) { + NSArray *nSList = hashKeyValue.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyValueJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + if (queryRequest != nil) { + DynamoDBCondition *rangeKeyCondition = queryRequest.rangeKeyCondition; + if (rangeKeyCondition != nil) { + NSMutableDictionary *rangeKeyConditionJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:rangeKeyConditionJson forKey:@"RangeKeyCondition"]; + + + + if (rangeKeyCondition != nil) { + NSArray *attributeValueListList = rangeKeyCondition.attributeValueList; + if (attributeValueListList != nil && [attributeValueListList count] > 0) { + NSMutableArray *attributeValueListArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyConditionJson setValue:attributeValueListArray forKey:@"AttributeValueList"]; + for (DynamoDBAttributeValue *attributeValueListListValue in attributeValueListList) { + NSMutableDictionary *attributeValueListArrayObject = [[[NSMutableDictionary alloc] init] autorelease]; + [attributeValueListArray addObject:attributeValueListArrayObject]; + + if (attributeValueListListValue.s != nil) { + [attributeValueListArrayObject setValue:attributeValueListListValue.s forKey:@"S"]; + } + + if (attributeValueListListValue.n != nil) { + [attributeValueListArrayObject setValue:attributeValueListListValue.n forKey:@"N"]; + } + if (attributeValueListListValue != nil) { + NSArray *sSList = attributeValueListListValue.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [attributeValueListArrayObject setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (attributeValueListListValue != nil) { + NSArray *nSList = attributeValueListListValue.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [attributeValueListArrayObject setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + } + + if (rangeKeyCondition.comparisonOperator != nil) { + [rangeKeyConditionJson setValue:rangeKeyCondition.comparisonOperator forKey:@"ComparisonOperator"]; + } + } + } + + if (queryRequest.scanIndexForwardIsSet) { + [json setValue:(queryRequest.scanIndexForward ? @"true":@"false")forKey:@"ScanIndexForward"]; + } + if (queryRequest != nil) { + DynamoDBKey *exclusiveStartKey = queryRequest.exclusiveStartKey; + if (exclusiveStartKey != nil) { + NSMutableDictionary *exclusiveStartKeyJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:exclusiveStartKeyJson forKey:@"ExclusiveStartKey"]; + + if (exclusiveStartKey != nil) { + DynamoDBAttributeValue *hashKeyElement = exclusiveStartKey.hashKeyElement; + if (hashKeyElement != nil) { + NSMutableDictionary *hashKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [exclusiveStartKeyJson setValue:hashKeyElementJson forKey:@"HashKeyElement"]; + + + if (hashKeyElement.s != nil) { + [hashKeyElementJson setValue:hashKeyElement.s forKey:@"S"]; + } + + if (hashKeyElement.n != nil) { + [hashKeyElementJson setValue:hashKeyElement.n forKey:@"N"]; + } + if (hashKeyElement != nil) { + NSArray *sSList = hashKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (hashKeyElement != nil) { + NSArray *nSList = hashKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + if (exclusiveStartKey != nil) { + DynamoDBAttributeValue *rangeKeyElement = exclusiveStartKey.rangeKeyElement; + if (rangeKeyElement != nil) { + NSMutableDictionary *rangeKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [exclusiveStartKeyJson setValue:rangeKeyElementJson forKey:@"RangeKeyElement"]; + + + if (rangeKeyElement.s != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.s forKey:@"S"]; + } + + if (rangeKeyElement.n != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.n forKey:@"N"]; + } + if (rangeKeyElement != nil) { + NSArray *sSList = rangeKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (rangeKeyElement != nil) { + NSArray *nSList = rangeKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + } + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBQueryResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBQueryResponse.m new file mode 100644 index 00000000..147cd22a --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBQueryResponse.m @@ -0,0 +1,103 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBQueryResponse.h" + + +@implementation DynamoDBQueryResponse + +@synthesize items; +@synthesize count; +@synthesize lastEvaluatedKey; +@synthesize consumedCapacityUnits; + + +-(id)init +{ + if (self = [super init]) { + items = [[NSMutableArray alloc] initWithCapacity:1]; + count = nil; + lastEvaluatedKey = nil; + consumedCapacityUnits = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ProvisionedThroughputExceededException"]) { + newException = [[DynamoDBProvisionedThroughputExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSDictionary *)itemsObjectAtIndex:(int)index +{ + return (NSDictionary *)[items objectAtIndex:index]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Items: %@,", items] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Count: %@,", count] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"LastEvaluatedKey: %@,", lastEvaluatedKey] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ConsumedCapacityUnits: %@,", consumedCapacityUnits] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [items release]; + [count release]; + [lastEvaluatedKey release]; + [consumedCapacityUnits release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBQueryResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBQueryResponseUnmarshaller.m new file mode 100644 index 00000000..7af9f944 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBQueryResponseUnmarshaller.m @@ -0,0 +1,67 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBQueryResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBKeyUnmarshaller.h" + + +@implementation DynamoDBQueryResponseUnmarshaller + + ++(DynamoDBQueryResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBQueryResponse *queryResult = [[[DynamoDBQueryResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [queryResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + NSArray *itemsArray = [jsonObject valueForKey:@"Items"]; + for (NSDictionary *mapObject in itemsArray) { + NSMutableDictionary *member = [[[NSMutableDictionary alloc] init] autorelease]; + for (NSString *key in [mapObject allKeys]) { + NSDictionary *value = [mapObject valueForKey:key]; + [member setValue:[DynamoDBAttributeValueUnmarshaller unmarshall:value] forKey:key]; + } + + + [queryResult.items addObject:member]; + } + + + if ([jsonObject valueForKey:@"Count"] != nil) { + queryResult.count = [jsonObject valueForKey:@"Count"]; + } + + + if ([jsonObject valueForKey:@"LastEvaluatedKey"] != nil) { + queryResult.lastEvaluatedKey = [DynamoDBKeyUnmarshaller unmarshall:[jsonObject valueForKey:@"LastEvaluatedKey"]]; + } + + + if ([jsonObject valueForKey:@"ConsumedCapacityUnits"] != nil) { + queryResult.consumedCapacityUnits = [jsonObject valueForKey:@"ConsumedCapacityUnits"]; + } + } + + return queryResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBResourceInUseException.m b/src/Amazon.DynamoDB/Model/DynamoDBResourceInUseException.m new file mode 100644 index 00000000..ec6518c4 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBResourceInUseException.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBResourceInUseException.h" + + + + +@implementation DynamoDBResourceInUseException + + + +-(id)initWithMessage:(NSString *)theMessage +{ + if (self = [super initWithMessage:theMessage]) { + } + + return self; +} + + +-(void)setPropertiesWithException:(AmazonServiceException *)theException +{ + [super setPropertiesWithException:theException]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBResourceNotFoundException.m b/src/Amazon.DynamoDB/Model/DynamoDBResourceNotFoundException.m new file mode 100644 index 00000000..914a2183 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBResourceNotFoundException.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBResourceNotFoundException.h" + + + + +@implementation DynamoDBResourceNotFoundException + + + +-(id)initWithMessage:(NSString *)theMessage +{ + if (self = [super initWithMessage:theMessage]) { + } + + return self; +} + + +-(void)setPropertiesWithException:(AmazonServiceException *)theException +{ + [super setPropertiesWithException:theException]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBScanRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBScanRequest.m new file mode 100644 index 00000000..aae662be --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBScanRequest.m @@ -0,0 +1,111 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBScanRequest.h" + + +@implementation DynamoDBScanRequest + +@synthesize tableName; +@synthesize attributesToGet; +@synthesize limit; +@synthesize count; +@synthesize countIsSet; +@synthesize scanFilter; +@synthesize exclusiveStartKey; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + attributesToGet = [[NSMutableArray alloc] initWithCapacity:1]; + limit = nil; + count = NO; + countIsSet = NO; + scanFilter = [[NSMutableDictionary alloc] initWithCapacity:1]; + exclusiveStartKey = nil; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName +{ + if (self = [self init]) { + self.tableName = theTableName; + } + + return self; +} + + +-(void)addAttributesToGet:(NSString *)attributesToGetObject +{ + if (attributesToGet == nil) { + attributesToGet = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [attributesToGet addObject:attributesToGetObject]; +} + +-(void)setScanFilterValue:(DynamoDBCondition *)theValue forKey:(NSString *)theKey +{ + if (scanFilter == nil) { + scanFilter = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + [scanFilter setValue:theValue forKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributesToGet: %@,", attributesToGet] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Limit: %@,", limit] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Count: %d,", count] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ScanFilter: %@,", scanFilter] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ExclusiveStartKey: %@,", exclusiveStartKey] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)setCount:(bool)theValue +{ + count = theValue; + countIsSet = YES; +} + + +-(void)dealloc +{ + [tableName release]; + [attributesToGet release]; + [limit release]; + [scanFilter release]; + [exclusiveStartKey release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBScanRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBScanRequestMarshaller.m new file mode 100644 index 00000000..d4e5dfa4 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBScanRequestMarshaller.m @@ -0,0 +1,219 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBScanRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBScanRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBScanRequest *)scanRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[scanRequest delegate]]; + [request setCredentials:[scanRequest credentials]]; + [request setEndpoint:[scanRequest requestEndpoint]]; + [request setRequestTag:[scanRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.Scan" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (scanRequest.tableName != nil) { + [json setValue:scanRequest.tableName forKey:@"TableName"]; + } + if (scanRequest != nil) { + NSArray *attributesToGetList = scanRequest.attributesToGet; + if (attributesToGetList != nil && [attributesToGetList count] > 0) { + NSMutableArray *attributesToGetArray = [[[NSMutableArray alloc] init] autorelease]; + [json setValue:attributesToGetArray forKey:@"AttributesToGet"]; + for (NSString *attributesToGetListValue in attributesToGetList) { + if (attributesToGetListValue != nil) { + [attributesToGetArray addObject:attributesToGetListValue]; + } + } + } + } + + if (scanRequest.limit != nil) { + [json setValue:scanRequest.limit forKey:@"Limit"]; + } + + if (scanRequest.countIsSet) { + [json setValue:(scanRequest.count ? @"true":@"false")forKey:@"Count"]; + } + if (scanRequest.scanFilter != nil) { + NSMutableDictionary *scanFilterJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:scanFilterJson forKey:@"ScanFilter"]; + for (NSString *scanFilterListValue in scanRequest.scanFilter) { + NSMutableDictionary *scanFilterListValueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [scanFilterJson setValue:scanFilterListValueJson forKey:scanFilterListValue]; + + DynamoDBCondition *scanFilterListValueValue = [scanRequest.scanFilter valueForKey:scanFilterListValue]; + + + + if (scanFilterListValueValue != nil) { + NSArray *attributeValueListList = scanFilterListValueValue.attributeValueList; + if (attributeValueListList != nil && [attributeValueListList count] > 0) { + NSMutableArray *attributeValueListArray = [[[NSMutableArray alloc] init] autorelease]; + [scanFilterListValueJson setValue:attributeValueListArray forKey:@"AttributeValueList"]; + for (DynamoDBAttributeValue *attributeValueListListValue in attributeValueListList) { + NSMutableDictionary *attributeValueListArrayObject = [[[NSMutableDictionary alloc] init] autorelease]; + [attributeValueListArray addObject:attributeValueListArrayObject]; + + if (attributeValueListListValue.s != nil) { + [attributeValueListArrayObject setValue:attributeValueListListValue.s forKey:@"S"]; + } + + if (attributeValueListListValue.n != nil) { + [attributeValueListArrayObject setValue:attributeValueListListValue.n forKey:@"N"]; + } + if (attributeValueListListValue != nil) { + NSArray *sSList = attributeValueListListValue.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [attributeValueListArrayObject setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (attributeValueListListValue != nil) { + NSArray *nSList = attributeValueListListValue.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [attributeValueListArrayObject setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + } + + if (scanFilterListValueValue.comparisonOperator != nil) { + [scanFilterListValueJson setValue:scanFilterListValueValue.comparisonOperator forKey:@"ComparisonOperator"]; + } + } + } + if (scanRequest != nil) { + DynamoDBKey *exclusiveStartKey = scanRequest.exclusiveStartKey; + if (exclusiveStartKey != nil) { + NSMutableDictionary *exclusiveStartKeyJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:exclusiveStartKeyJson forKey:@"ExclusiveStartKey"]; + + if (exclusiveStartKey != nil) { + DynamoDBAttributeValue *hashKeyElement = exclusiveStartKey.hashKeyElement; + if (hashKeyElement != nil) { + NSMutableDictionary *hashKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [exclusiveStartKeyJson setValue:hashKeyElementJson forKey:@"HashKeyElement"]; + + + if (hashKeyElement.s != nil) { + [hashKeyElementJson setValue:hashKeyElement.s forKey:@"S"]; + } + + if (hashKeyElement.n != nil) { + [hashKeyElementJson setValue:hashKeyElement.n forKey:@"N"]; + } + if (hashKeyElement != nil) { + NSArray *sSList = hashKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (hashKeyElement != nil) { + NSArray *nSList = hashKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + if (exclusiveStartKey != nil) { + DynamoDBAttributeValue *rangeKeyElement = exclusiveStartKey.rangeKeyElement; + if (rangeKeyElement != nil) { + NSMutableDictionary *rangeKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [exclusiveStartKeyJson setValue:rangeKeyElementJson forKey:@"RangeKeyElement"]; + + + if (rangeKeyElement.s != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.s forKey:@"S"]; + } + + if (rangeKeyElement.n != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.n forKey:@"N"]; + } + if (rangeKeyElement != nil) { + NSArray *sSList = rangeKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (rangeKeyElement != nil) { + NSArray *nSList = rangeKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + } + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBScanResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBScanResponse.m new file mode 100644 index 00000000..8df26f46 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBScanResponse.m @@ -0,0 +1,107 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBScanResponse.h" + + +@implementation DynamoDBScanResponse + +@synthesize items; +@synthesize count; +@synthesize scannedCount; +@synthesize lastEvaluatedKey; +@synthesize consumedCapacityUnits; + + +-(id)init +{ + if (self = [super init]) { + items = [[NSMutableArray alloc] initWithCapacity:1]; + count = nil; + scannedCount = nil; + lastEvaluatedKey = nil; + consumedCapacityUnits = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ProvisionedThroughputExceededException"]) { + newException = [[DynamoDBProvisionedThroughputExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSDictionary *)itemsObjectAtIndex:(int)index +{ + return (NSDictionary *)[items objectAtIndex:index]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Items: %@,", items] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Count: %@,", count] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ScannedCount: %@,", scannedCount] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"LastEvaluatedKey: %@,", lastEvaluatedKey] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ConsumedCapacityUnits: %@,", consumedCapacityUnits] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [items release]; + [count release]; + [scannedCount release]; + [lastEvaluatedKey release]; + [consumedCapacityUnits release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBScanResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBScanResponseUnmarshaller.m new file mode 100644 index 00000000..f986d889 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBScanResponseUnmarshaller.m @@ -0,0 +1,72 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBScanResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBKeyUnmarshaller.h" + + +@implementation DynamoDBScanResponseUnmarshaller + + ++(DynamoDBScanResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBScanResponse *scanResult = [[[DynamoDBScanResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [scanResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + NSArray *itemsArray = [jsonObject valueForKey:@"Items"]; + for (NSDictionary *mapObject in itemsArray) { + NSMutableDictionary *member = [[[NSMutableDictionary alloc] init] autorelease]; + for (NSString *key in [mapObject allKeys]) { + NSDictionary *value = [mapObject valueForKey:key]; + [member setValue:[DynamoDBAttributeValueUnmarshaller unmarshall:value] forKey:key]; + } + + + [scanResult.items addObject:member]; + } + + + if ([jsonObject valueForKey:@"Count"] != nil) { + scanResult.count = [jsonObject valueForKey:@"Count"]; + } + + + if ([jsonObject valueForKey:@"ScannedCount"] != nil) { + scanResult.scannedCount = [jsonObject valueForKey:@"ScannedCount"]; + } + + + if ([jsonObject valueForKey:@"LastEvaluatedKey"] != nil) { + scanResult.lastEvaluatedKey = [DynamoDBKeyUnmarshaller unmarshall:[jsonObject valueForKey:@"LastEvaluatedKey"]]; + } + + + if ([jsonObject valueForKey:@"ConsumedCapacityUnits"] != nil) { + scanResult.consumedCapacityUnits = [jsonObject valueForKey:@"ConsumedCapacityUnits"]; + } + } + + return scanResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBTableDescription.m b/src/Amazon.DynamoDB/Model/DynamoDBTableDescription.m new file mode 100644 index 00000000..f9455d76 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBTableDescription.m @@ -0,0 +1,81 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBTableDescription.h" + + +@implementation DynamoDBTableDescription + +@synthesize tableName; +@synthesize keySchema; +@synthesize tableStatus; +@synthesize creationDateTime; +@synthesize provisionedThroughput; +@synthesize tableSizeBytes; +@synthesize itemCount; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + keySchema = nil; + tableStatus = nil; + creationDateTime = nil; + provisionedThroughput = nil; + tableSizeBytes = nil; + itemCount = nil; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"KeySchema: %@,", keySchema] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableStatus: %@,", tableStatus] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"CreationDateTime: %@,", creationDateTime] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ProvisionedThroughput: %@,", provisionedThroughput] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableSizeBytes: %@,", tableSizeBytes] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ItemCount: %@,", itemCount] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableName release]; + [keySchema release]; + [tableStatus release]; + [creationDateTime release]; + [provisionedThroughput release]; + [tableSizeBytes release]; + [itemCount release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBTableDescriptionUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBTableDescriptionUnmarshaller.m new file mode 100644 index 00000000..2365ff80 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBTableDescriptionUnmarshaller.m @@ -0,0 +1,69 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBTableDescriptionUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBKeySchemaUnmarshaller.h" +#import "DynamoDBProvisionedThroughputDescriptionUnmarshaller.h" + + +@implementation DynamoDBTableDescriptionUnmarshaller + + ++(DynamoDBTableDescription *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBTableDescription *tableDescription = [[[DynamoDBTableDescription alloc] init] autorelease]; + + + + if ([jsonObject valueForKey:@"TableName"] != nil) { + tableDescription.tableName = [jsonObject valueForKey:@"TableName"]; + } + + + if ([jsonObject valueForKey:@"KeySchema"] != nil) { + tableDescription.keySchema = [DynamoDBKeySchemaUnmarshaller unmarshall:[jsonObject valueForKey:@"KeySchema"]]; + } + + + if ([jsonObject valueForKey:@"TableStatus"] != nil) { + tableDescription.tableStatus = [jsonObject valueForKey:@"TableStatus"]; + } + + + if ([jsonObject valueForKey:@"CreationDateTime"] != nil) { + tableDescription.creationDateTime = [AmazonSDKUtil millisSinceEpochToDate:[jsonObject valueForKey:@"CreationDateTime"]]; + } + + + if ([jsonObject valueForKey:@"ProvisionedThroughput"] != nil) { + tableDescription.provisionedThroughput = [DynamoDBProvisionedThroughputDescriptionUnmarshaller unmarshall:[jsonObject valueForKey:@"ProvisionedThroughput"]]; + } + + + if ([jsonObject valueForKey:@"TableSizeBytes"] != nil) { + tableDescription.tableSizeBytes = [jsonObject valueForKey:@"TableSizeBytes"]; + } + + + if ([jsonObject valueForKey:@"ItemCount"] != nil) { + tableDescription.itemCount = [jsonObject valueForKey:@"ItemCount"]; + } + + return tableDescription; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemRequest.m new file mode 100644 index 00000000..8905c44f --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemRequest.m @@ -0,0 +1,102 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBUpdateItemRequest.h" + + +@implementation DynamoDBUpdateItemRequest + +@synthesize tableName; +@synthesize key; +@synthesize attributeUpdates; +@synthesize expected; +@synthesize returnValues; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + key = nil; + attributeUpdates = [[NSMutableDictionary alloc] initWithCapacity:1]; + expected = [[NSMutableDictionary alloc] initWithCapacity:1]; + returnValues = nil; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName andKey:(DynamoDBKey *)theKey andAttributeUpdates:(NSMutableDictionary *)theAttributeUpdates +{ + if (self = [self init]) { + self.tableName = theTableName; + self.key = theKey; + self.attributeUpdates = theAttributeUpdates; + } + + return self; +} + + +-(void)setAttributeUpdatesValue:(DynamoDBAttributeValueUpdate *)theValue forKey:(NSString *)theKey +{ + if (attributeUpdates == nil) { + attributeUpdates = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + [attributeUpdates setValue:theValue forKey:theKey]; +} + +-(void)setExpectedValue:(DynamoDBExpectedAttributeValue *)theValue forKey:(NSString *)theKey +{ + if (expected == nil) { + expected = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + [expected setValue:theValue forKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Key: %@,", key] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributeUpdates: %@,", attributeUpdates] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Expected: %@,", expected] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ReturnValues: %@,", returnValues] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableName release]; + [key release]; + [attributeUpdates release]; + [expected release]; + [returnValues release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemRequestMarshaller.m new file mode 100644 index 00000000..948e002d --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemRequestMarshaller.m @@ -0,0 +1,253 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBUpdateItemRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBUpdateItemRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBUpdateItemRequest *)updateItemRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[updateItemRequest delegate]]; + [request setCredentials:[updateItemRequest credentials]]; + [request setEndpoint:[updateItemRequest requestEndpoint]]; + [request setRequestTag:[updateItemRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.UpdateItem" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (updateItemRequest.tableName != nil) { + [json setValue:updateItemRequest.tableName forKey:@"TableName"]; + } + if (updateItemRequest != nil) { + DynamoDBKey *key = updateItemRequest.key; + if (key != nil) { + NSMutableDictionary *keyJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:keyJson forKey:@"Key"]; + + if (key != nil) { + DynamoDBAttributeValue *hashKeyElement = key.hashKeyElement; + if (hashKeyElement != nil) { + NSMutableDictionary *hashKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keyJson setValue:hashKeyElementJson forKey:@"HashKeyElement"]; + + + if (hashKeyElement.s != nil) { + [hashKeyElementJson setValue:hashKeyElement.s forKey:@"S"]; + } + + if (hashKeyElement.n != nil) { + [hashKeyElementJson setValue:hashKeyElement.n forKey:@"N"]; + } + if (hashKeyElement != nil) { + NSArray *sSList = hashKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (hashKeyElement != nil) { + NSArray *nSList = hashKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [hashKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + if (key != nil) { + DynamoDBAttributeValue *rangeKeyElement = key.rangeKeyElement; + if (rangeKeyElement != nil) { + NSMutableDictionary *rangeKeyElementJson = [[[NSMutableDictionary alloc] init] autorelease]; + [keyJson setValue:rangeKeyElementJson forKey:@"RangeKeyElement"]; + + + if (rangeKeyElement.s != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.s forKey:@"S"]; + } + + if (rangeKeyElement.n != nil) { + [rangeKeyElementJson setValue:rangeKeyElement.n forKey:@"N"]; + } + if (rangeKeyElement != nil) { + NSArray *sSList = rangeKeyElement.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (rangeKeyElement != nil) { + NSArray *nSList = rangeKeyElement.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [rangeKeyElementJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + } + } + if (updateItemRequest.attributeUpdates != nil) { + NSMutableDictionary *attributeUpdatesJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:attributeUpdatesJson forKey:@"AttributeUpdates"]; + for (NSString *attributeUpdatesListValue in updateItemRequest.attributeUpdates) { + NSMutableDictionary *attributeUpdatesListValueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [attributeUpdatesJson setValue:attributeUpdatesListValueJson forKey:attributeUpdatesListValue]; + + DynamoDBAttributeValueUpdate *attributeUpdatesListValueValue = [updateItemRequest.attributeUpdates valueForKey:attributeUpdatesListValue]; + + if (attributeUpdatesListValueValue != nil) { + DynamoDBAttributeValue *value = attributeUpdatesListValueValue.value; + if (value != nil) { + NSMutableDictionary *valueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [attributeUpdatesListValueJson setValue:valueJson forKey:@"Value"]; + + + if (value.s != nil) { + [valueJson setValue:value.s forKey:@"S"]; + } + + if (value.n != nil) { + [valueJson setValue:value.n forKey:@"N"]; + } + if (value != nil) { + NSArray *sSList = value.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [valueJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (value != nil) { + NSArray *nSList = value.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [valueJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + + if (attributeUpdatesListValueValue.action != nil) { + [attributeUpdatesListValueJson setValue:attributeUpdatesListValueValue.action forKey:@"Action"]; + } + } + } + if (updateItemRequest.expected != nil) { + NSMutableDictionary *expectedJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:expectedJson forKey:@"Expected"]; + for (NSString *expectedListValue in updateItemRequest.expected) { + NSMutableDictionary *expectedListValueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [expectedJson setValue:expectedListValueJson forKey:expectedListValue]; + + DynamoDBExpectedAttributeValue *expectedListValueValue = [updateItemRequest.expected valueForKey:expectedListValue]; + + if (expectedListValueValue != nil) { + DynamoDBAttributeValue *value = expectedListValueValue.value; + if (value != nil) { + NSMutableDictionary *valueJson = [[[NSMutableDictionary alloc] init] autorelease]; + [expectedListValueJson setValue:valueJson forKey:@"Value"]; + + + if (value.s != nil) { + [valueJson setValue:value.s forKey:@"S"]; + } + + if (value.n != nil) { + [valueJson setValue:value.n forKey:@"N"]; + } + if (value != nil) { + NSArray *sSList = value.sS; + if (sSList != nil && [sSList count] > 0) { + NSMutableArray *sSArray = [[[NSMutableArray alloc] init] autorelease]; + [valueJson setValue:sSArray forKey:@"SS"]; + for (NSString *sSListValue in sSList) { + if (sSListValue != nil) { + [sSArray addObject:sSListValue]; + } + } + } + } + if (value != nil) { + NSArray *nSList = value.nS; + if (nSList != nil && [nSList count] > 0) { + NSMutableArray *nSArray = [[[NSMutableArray alloc] init] autorelease]; + [valueJson setValue:nSArray forKey:@"NS"]; + for (NSString *nSListValue in nSList) { + if (nSListValue != nil) { + [nSArray addObject:nSListValue]; + } + } + } + } + } + } + + if (expectedListValueValue.existsIsSet) { + [expectedListValueJson setValue:(expectedListValueValue.exists ? @"true":@"false")forKey:@"Exists"]; + } + } + } + + if (updateItemRequest.returnValues != nil) { + [json setValue:updateItemRequest.returnValues forKey:@"ReturnValues"]; + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemResponse.m new file mode 100644 index 00000000..fe8fbc30 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemResponse.m @@ -0,0 +1,98 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBUpdateItemResponse.h" + + +@implementation DynamoDBUpdateItemResponse + +@synthesize attributes; +@synthesize consumedCapacityUnits; + + +-(id)init +{ + if (self = [super init]) { + attributes = [[NSMutableDictionary alloc] initWithCapacity:1]; + consumedCapacityUnits = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ProvisionedThroughputExceededException"]) { + newException = [[DynamoDBProvisionedThroughputExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ConditionalCheckFailedException"]) { + newException = [[DynamoDBConditionalCheckFailedException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + +-(DynamoDBAttributeValue *)attributesValueForKey:(NSString *)theKey +{ + return (DynamoDBAttributeValue *)[attributes valueForKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Attributes: %@,", attributes] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ConsumedCapacityUnits: %@,", consumedCapacityUnits] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [attributes release]; + [consumedCapacityUnits release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemResponseUnmarshaller.m new file mode 100644 index 00000000..e33a6efc --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBUpdateItemResponseUnmarshaller.m @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBUpdateItemResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBAttributeValueUnmarshaller.h" +#import "DynamoDBAttributeValueUnmarshaller.h" + + +@implementation DynamoDBUpdateItemResponseUnmarshaller + + ++(DynamoDBUpdateItemResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBUpdateItemResponse *updateItemResult = [[[DynamoDBUpdateItemResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [updateItemResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + NSDictionary *attributesObject = [jsonObject valueForKey:@"Attributes"]; + for (NSString *key in [attributesObject allKeys]) { + NSDictionary *value = [attributesObject valueForKey:key]; + [updateItemResult.attributes setValue:[DynamoDBAttributeValueUnmarshaller unmarshall:value] forKey:key]; + } + + + if ([jsonObject valueForKey:@"ConsumedCapacityUnits"] != nil) { + updateItemResult.consumedCapacityUnits = [jsonObject valueForKey:@"ConsumedCapacityUnits"]; + } + } + + return updateItemResult; +} + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableRequest.m b/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableRequest.m new file mode 100644 index 00000000..4e1a1b26 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableRequest.m @@ -0,0 +1,71 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBUpdateTableRequest.h" + + +@implementation DynamoDBUpdateTableRequest + +@synthesize tableName; +@synthesize provisionedThroughput; + + +-(id)init +{ + if (self = [super init]) { + tableName = nil; + provisionedThroughput = nil; + } + + return self; +} + +-(id)initWithTableName:(NSString *)theTableName andProvisionedThroughput:(DynamoDBProvisionedThroughput *)theProvisionedThroughput +{ + if (self = [self init]) { + self.tableName = theTableName; + self.provisionedThroughput = theProvisionedThroughput; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableName: %@,", tableName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"ProvisionedThroughput: %@,", provisionedThroughput] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableName release]; + [provisionedThroughput release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableRequestMarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableRequestMarshaller.m new file mode 100644 index 00000000..6f761b92 --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableRequestMarshaller.m @@ -0,0 +1,67 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBUpdateTableRequestMarshaller.h" +#import "AmazonJSON.h" + +@implementation DynamoDBUpdateTableRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(DynamoDBUpdateTableRequest *)updateTableRequest +{ + DynamoDBRequest *request = [[DynamoDBRequest alloc] init]; + + [request setDelegate:[updateTableRequest delegate]]; + [request setCredentials:[updateTableRequest credentials]]; + [request setEndpoint:[updateTableRequest requestEndpoint]]; + [request setRequestTag:[updateTableRequest requestTag]]; + + + [request addValue:@"DynamoDB_20111205.UpdateTable" forHeader:@"X-Amz-Target"]; + [request addValue:@"application/x-amz-json-1.0" forHeader:@"Content-Type"]; + + + NSMutableDictionary *json = [[[NSMutableDictionary alloc] init] autorelease]; + + if (updateTableRequest.tableName != nil) { + [json setValue:updateTableRequest.tableName forKey:@"TableName"]; + } + if (updateTableRequest != nil) { + DynamoDBProvisionedThroughput *provisionedThroughput = updateTableRequest.provisionedThroughput; + if (provisionedThroughput != nil) { + NSMutableDictionary *provisionedThroughputJson = [[[NSMutableDictionary alloc] init] autorelease]; + [json setValue:provisionedThroughputJson forKey:@"ProvisionedThroughput"]; + + + if (provisionedThroughput.readCapacityUnits != nil) { + [provisionedThroughputJson setValue:provisionedThroughput.readCapacityUnits forKey:@"ReadCapacityUnits"]; + } + + if (provisionedThroughput.writeCapacityUnits != nil) { + [provisionedThroughputJson setValue:provisionedThroughput.writeCapacityUnits forKey:@"WriteCapacityUnits"]; + } + } + } + + + + request.content = [AmazonJSON JSONRepresentation:json]; + [request addValue:[NSString stringWithFormat:@"%d", [request.content length]] forHeader:@"Content-Length"]; + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableResponse.m b/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableResponse.m new file mode 100644 index 00000000..34175ddf --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableResponse.m @@ -0,0 +1,89 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBUpdateTableResponse.h" + + +@implementation DynamoDBUpdateTableResponse + +@synthesize tableDescription; + + +-(id)init +{ + if (self = [super init]) { + tableDescription = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"ResourceInUseException"]) { + newException = [[DynamoDBResourceInUseException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"LimitExceededException"]) { + newException = [[DynamoDBLimitExceededException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalServerError"]) { + newException = [[DynamoDBInternalServerErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"ResourceNotFoundException"]) { + newException = [[DynamoDBResourceNotFoundException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"TableDescription: %@,", tableDescription] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [tableDescription release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableResponseUnmarshaller.m b/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableResponseUnmarshaller.m new file mode 100644 index 00000000..466df27c --- /dev/null +++ b/src/Amazon.DynamoDB/Model/DynamoDBUpdateTableResponseUnmarshaller.m @@ -0,0 +1,42 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBUpdateTableResponseUnmarshaller.h" +#import "DynamoDBExceptionUnmarshaller.h" +#import "../AmazonSDKUtil.h" +#import "DynamoDBTableDescriptionUnmarshaller.h" + + +@implementation DynamoDBUpdateTableResponseUnmarshaller + + ++(DynamoDBUpdateTableResponse *)unmarshall:(NSDictionary *)jsonObject +{ + DynamoDBUpdateTableResponse *updateTableResult = [[[DynamoDBUpdateTableResponse alloc] init] autorelease]; + + + if ([jsonObject valueForKey:@"__type"] != nil) { + [updateTableResult setException:[DynamoDBExceptionUnmarshaller unmarshall:jsonObject]]; + } + else { + if ([jsonObject valueForKey:@"TableDescription"] != nil) { + updateTableResult.tableDescription = [DynamoDBTableDescriptionUnmarshaller unmarshall:[jsonObject valueForKey:@"TableDescription"]]; + } + } + + return updateTableResult; +} + +@end diff --git a/src/Amazon.EC2/AmazonEC2Client.m b/src/Amazon.EC2/AmazonEC2Client.m index 62c979bf..99efa6fa 100644 --- a/src/Amazon.EC2/AmazonEC2Client.m +++ b/src/Amazon.EC2/AmazonEC2Client.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -441,6 +441,13 @@ -(EC2CreateVolumeResponse *)createVolume:(EC2CreateVolumeRequest *)createVolumeR return (EC2CreateVolumeResponse *)[self invoke:request rawRequest:createVolumeRequest unmarshallerDelegate:[EC2CreateVolumeResponseUnmarshaller class]]; } +-(EC2DescribeInstanceStatusResponse *)describeInstanceStatus:(EC2DescribeInstanceStatusRequest *)describeInstanceStatusRequest +{ + AmazonServiceRequest *request = [EC2DescribeInstanceStatusRequestMarshaller createRequest:describeInstanceStatusRequest]; + + return (EC2DescribeInstanceStatusResponse *)[self invoke:request rawRequest:describeInstanceStatusRequest unmarshallerDelegate:[EC2DescribeInstanceStatusResponseUnmarshaller class]]; +} + -(EC2DescribeReservedInstancesOfferingsResponse *)describeReservedInstancesOfferings:(EC2DescribeReservedInstancesOfferingsRequest *)describeReservedInstancesOfferingsRequest { AmazonServiceRequest *request = [EC2DescribeReservedInstancesOfferingsRequestMarshaller createRequest:describeReservedInstancesOfferingsRequest]; diff --git a/src/Amazon.EC2/EC2Request.m b/src/Amazon.EC2/EC2Request.m index 253cefd2..e1a9d23a 100644 --- a/src/Amazon.EC2/EC2Request.m +++ b/src/Amazon.EC2/EC2Request.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/EC2Response.m b/src/Amazon.EC2/EC2Response.m index e7d92207..5880d5f9 100644 --- a/src/Amazon.EC2/EC2Response.m +++ b/src/Amazon.EC2/EC2Response.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/EC2ResponseUnmarshaller.m b/src/Amazon.EC2/EC2ResponseUnmarshaller.m index 41c203b7..9b993ae1 100644 --- a/src/Amazon.EC2/EC2ResponseUnmarshaller.m +++ b/src/Amazon.EC2/EC2ResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ActivateLicenseRequest.m b/src/Amazon.EC2/Model/EC2ActivateLicenseRequest.m index 0cce8f55..149c8f3b 100644 --- a/src/Amazon.EC2/Model/EC2ActivateLicenseRequest.m +++ b/src/Amazon.EC2/Model/EC2ActivateLicenseRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ActivateLicenseRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ActivateLicenseRequestMarshaller.m index 150d5ada..6ee6ef1b 100644 --- a/src/Amazon.EC2/Model/EC2ActivateLicenseRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ActivateLicenseRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ActivateLicenseRequest *)activateLice AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ActivateLicense" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[activateLicenseRequest delegate]]; [request setCredentials:[activateLicenseRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2ActivateLicenseResponse.m b/src/Amazon.EC2/Model/EC2ActivateLicenseResponse.m index 0c1df286..5d21e4de 100644 --- a/src/Amazon.EC2/Model/EC2ActivateLicenseResponse.m +++ b/src/Amazon.EC2/Model/EC2ActivateLicenseResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ActivateLicenseResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ActivateLicenseResponseUnmarshaller.m index 3b6fccc3..e6351ab6 100644 --- a/src/Amazon.EC2/Model/EC2ActivateLicenseResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ActivateLicenseResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Address.m b/src/Amazon.EC2/Model/EC2Address.m index 301ecf9d..dac4cc09 100644 --- a/src/Amazon.EC2/Model/EC2Address.m +++ b/src/Amazon.EC2/Model/EC2Address.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AddressUnmarshaller.m b/src/Amazon.EC2/Model/EC2AddressUnmarshaller.m index 2ffd98b4..54118680 100644 --- a/src/Amazon.EC2/Model/EC2AddressUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2AddressUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AllocateAddressRequest.m b/src/Amazon.EC2/Model/EC2AllocateAddressRequest.m index 5f83746d..11fbc3b9 100644 --- a/src/Amazon.EC2/Model/EC2AllocateAddressRequest.m +++ b/src/Amazon.EC2/Model/EC2AllocateAddressRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AllocateAddressRequestMarshaller.m b/src/Amazon.EC2/Model/EC2AllocateAddressRequestMarshaller.m index 88462458..59c40a81 100644 --- a/src/Amazon.EC2/Model/EC2AllocateAddressRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2AllocateAddressRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2AllocateAddressRequest *)allocateAddr AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"AllocateAddress" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[allocateAddressRequest delegate]]; [request setCredentials:[allocateAddressRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2AllocateAddressResponse.m b/src/Amazon.EC2/Model/EC2AllocateAddressResponse.m index d2ef3cd4..259a8ce1 100644 --- a/src/Amazon.EC2/Model/EC2AllocateAddressResponse.m +++ b/src/Amazon.EC2/Model/EC2AllocateAddressResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AllocateAddressResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2AllocateAddressResponseUnmarshaller.m index e2f39051..2a2dacae 100644 --- a/src/Amazon.EC2/Model/EC2AllocateAddressResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2AllocateAddressResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AssociateAddressRequest.m b/src/Amazon.EC2/Model/EC2AssociateAddressRequest.m index 86470d39..076c4ae4 100644 --- a/src/Amazon.EC2/Model/EC2AssociateAddressRequest.m +++ b/src/Amazon.EC2/Model/EC2AssociateAddressRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AssociateAddressRequestMarshaller.m b/src/Amazon.EC2/Model/EC2AssociateAddressRequestMarshaller.m index b18fc037..5453f2ce 100644 --- a/src/Amazon.EC2/Model/EC2AssociateAddressRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2AssociateAddressRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2AssociateAddressRequest *)associateAd AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"AssociateAddress" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[associateAddressRequest delegate]]; [request setCredentials:[associateAddressRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2AssociateAddressResponse.m b/src/Amazon.EC2/Model/EC2AssociateAddressResponse.m index cef0f92d..4ec13638 100644 --- a/src/Amazon.EC2/Model/EC2AssociateAddressResponse.m +++ b/src/Amazon.EC2/Model/EC2AssociateAddressResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AssociateAddressResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2AssociateAddressResponseUnmarshaller.m index ae732c57..d339a314 100644 --- a/src/Amazon.EC2/Model/EC2AssociateAddressResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2AssociateAddressResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AttachVolumeRequest.m b/src/Amazon.EC2/Model/EC2AttachVolumeRequest.m index f909eafb..319bb217 100644 --- a/src/Amazon.EC2/Model/EC2AttachVolumeRequest.m +++ b/src/Amazon.EC2/Model/EC2AttachVolumeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AttachVolumeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2AttachVolumeRequestMarshaller.m index 1fe64957..4bf5e588 100644 --- a/src/Amazon.EC2/Model/EC2AttachVolumeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2AttachVolumeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2AttachVolumeRequest *)attachVolumeReq AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"AttachVolume" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[attachVolumeRequest delegate]]; [request setCredentials:[attachVolumeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2AttachVolumeResponse.m b/src/Amazon.EC2/Model/EC2AttachVolumeResponse.m index 0936a45f..92a466df 100644 --- a/src/Amazon.EC2/Model/EC2AttachVolumeResponse.m +++ b/src/Amazon.EC2/Model/EC2AttachVolumeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AttachVolumeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2AttachVolumeResponseUnmarshaller.m index 9f90bf4d..b832e7d2 100644 --- a/src/Amazon.EC2/Model/EC2AttachVolumeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2AttachVolumeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressRequest.m b/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressRequest.m index a1d8a1f3..4cae260c 100644 --- a/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressRequest.m +++ b/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressRequestMarshaller.m b/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressRequestMarshaller.m index 078f5b9b..89a9f715 100644 --- a/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2AuthorizeSecurityGroupIngressRequest AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"AuthorizeSecurityGroupIngress" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[authorizeSecurityGroupIngressRequest delegate]]; [request setCredentials:[authorizeSecurityGroupIngressRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressResponse.m b/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressResponse.m index 2a348093..bdabb42e 100644 --- a/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressResponse.m +++ b/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressResponseUnmarshaller.m index a9b33dae..d4e6c74c 100644 --- a/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2AuthorizeSecurityGroupIngressResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2AvailabilityZone.m b/src/Amazon.EC2/Model/EC2AvailabilityZone.m index 09581ab5..20e04806 100644 --- a/src/Amazon.EC2/Model/EC2AvailabilityZone.m +++ b/src/Amazon.EC2/Model/EC2AvailabilityZone.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ @implementation EC2AvailabilityZone @synthesize zoneName; @synthesize state; @synthesize regionName; +@synthesize messages; -(id)init @@ -29,12 +30,22 @@ -(id)init zoneName = nil; state = nil; regionName = nil; + messages = [[NSMutableArray alloc] initWithCapacity:1]; } return self; } +-(void)addMessage:(EC2AvailabilityZoneMessage *)messageObject +{ + if (messages == nil) { + messages = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [messages addObject:messageObject]; +} + -(NSString *)description { @@ -44,6 +55,7 @@ -(NSString *)description [buffer appendString:[[[NSString alloc] initWithFormat:@"ZoneName: %@,", zoneName] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"State: %@,", state] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"RegionName: %@,", regionName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Messages: %@,", messages] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -57,6 +69,7 @@ -(void)dealloc [zoneName release]; [state release]; [regionName release]; + [messages release]; [super dealloc]; } diff --git a/src/Amazon.EC2/Model/EC2AvailabilityZoneMessage.m b/src/Amazon.EC2/Model/EC2AvailabilityZoneMessage.m new file mode 100644 index 00000000..7f193f00 --- /dev/null +++ b/src/Amazon.EC2/Model/EC2AvailabilityZoneMessage.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2AvailabilityZoneMessage.h" + + +@implementation EC2AvailabilityZoneMessage + +@synthesize message; + + +-(id)init +{ + if (self = [super init]) { + message = nil; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Message: %@,", message] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [message release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.EC2/Model/EC2AvailabilityZoneMessageUnmarshaller.m b/src/Amazon.EC2/Model/EC2AvailabilityZoneMessageUnmarshaller.m new file mode 100644 index 00000000..12a5b993 --- /dev/null +++ b/src/Amazon.EC2/Model/EC2AvailabilityZoneMessageUnmarshaller.m @@ -0,0 +1,77 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2AvailabilityZoneMessageUnmarshaller.h" + +@implementation EC2AvailabilityZoneMessageUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + + + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + + + if ([[elementName lowercaseString] isEqualToString:@"requestid"]) { + if (parentObject != nil && [parentObject respondsToSelector:@selector(setRequestId:)]) { + [parentObject performSelector:@selector(setRequestId:) withObject:self.currentText]; + } + } + + if ([elementName isEqualToString:@"message"]) { + self.response.message = self.currentText; + return; + } + + if ([elementName isEqualToString:@"availabilityZoneMessage"]) { + if (caller != nil) { + [parser setDelegate:caller]; + } + + if (parentObject != nil && [parentObject respondsToSelector:parentSetter]) { + [parentObject performSelector:parentSetter withObject:self.response]; + } + + return; + } +} + +-(EC2AvailabilityZoneMessage *)response +{ + if (nil == response) { + response = [[EC2AvailabilityZoneMessage alloc] init]; + } + return response; +} + + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.EC2/Model/EC2AvailabilityZoneUnmarshaller.m b/src/Amazon.EC2/Model/EC2AvailabilityZoneUnmarshaller.m index ad98974c..1892ca66 100644 --- a/src/Amazon.EC2/Model/EC2AvailabilityZoneUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2AvailabilityZoneUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,6 +23,15 @@ -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName name [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + if ([elementName isEqualToString:@"messageSet"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.messages withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"messageSet"; + listUnmarshaller.entryElementName = @"item"; + listUnmarshaller.delegateClass = [EC2AvailabilityZoneMessageUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + if ([elementName isEqualToString:@"Error"]) { diff --git a/src/Amazon.EC2/Model/EC2BlockDeviceMapping.m b/src/Amazon.EC2/Model/EC2BlockDeviceMapping.m index a0ae751e..366dfb27 100644 --- a/src/Amazon.EC2/Model/EC2BlockDeviceMapping.m +++ b/src/Amazon.EC2/Model/EC2BlockDeviceMapping.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2BlockDeviceMappingUnmarshaller.m b/src/Amazon.EC2/Model/EC2BlockDeviceMappingUnmarshaller.m index aab5b42b..019880cb 100644 --- a/src/Amazon.EC2/Model/EC2BlockDeviceMappingUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2BlockDeviceMappingUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2BundleInstanceRequest.m b/src/Amazon.EC2/Model/EC2BundleInstanceRequest.m index 92a21c54..fc2c1c2e 100644 --- a/src/Amazon.EC2/Model/EC2BundleInstanceRequest.m +++ b/src/Amazon.EC2/Model/EC2BundleInstanceRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2BundleInstanceRequestMarshaller.m b/src/Amazon.EC2/Model/EC2BundleInstanceRequestMarshaller.m index 1dbe71ce..1f6e2005 100644 --- a/src/Amazon.EC2/Model/EC2BundleInstanceRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2BundleInstanceRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2BundleInstanceRequest *)bundleInstanc AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"BundleInstance" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[bundleInstanceRequest delegate]]; [request setCredentials:[bundleInstanceRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2BundleInstanceResponse.m b/src/Amazon.EC2/Model/EC2BundleInstanceResponse.m index 42815888..ffb535c7 100644 --- a/src/Amazon.EC2/Model/EC2BundleInstanceResponse.m +++ b/src/Amazon.EC2/Model/EC2BundleInstanceResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2BundleInstanceResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2BundleInstanceResponseUnmarshaller.m index e32a8d02..78f3af66 100644 --- a/src/Amazon.EC2/Model/EC2BundleInstanceResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2BundleInstanceResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2BundleTask.m b/src/Amazon.EC2/Model/EC2BundleTask.m index d373368c..5f1b7b4e 100644 --- a/src/Amazon.EC2/Model/EC2BundleTask.m +++ b/src/Amazon.EC2/Model/EC2BundleTask.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2BundleTaskError.m b/src/Amazon.EC2/Model/EC2BundleTaskError.m index 0bd4492e..cb547226 100644 --- a/src/Amazon.EC2/Model/EC2BundleTaskError.m +++ b/src/Amazon.EC2/Model/EC2BundleTaskError.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2BundleTaskErrorUnmarshaller.m b/src/Amazon.EC2/Model/EC2BundleTaskErrorUnmarshaller.m index 0f35edc8..ba8a251f 100644 --- a/src/Amazon.EC2/Model/EC2BundleTaskErrorUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2BundleTaskErrorUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2BundleTaskUnmarshaller.m b/src/Amazon.EC2/Model/EC2BundleTaskUnmarshaller.m index 019cec9b..aa548f70 100644 --- a/src/Amazon.EC2/Model/EC2BundleTaskUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2BundleTaskUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CancelBundleTaskRequest.m b/src/Amazon.EC2/Model/EC2CancelBundleTaskRequest.m index 3ec1937a..89cc4a45 100644 --- a/src/Amazon.EC2/Model/EC2CancelBundleTaskRequest.m +++ b/src/Amazon.EC2/Model/EC2CancelBundleTaskRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CancelBundleTaskRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CancelBundleTaskRequestMarshaller.m index 9c2f2337..245b299c 100644 --- a/src/Amazon.EC2/Model/EC2CancelBundleTaskRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CancelBundleTaskRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CancelBundleTaskRequest *)cancelBundl AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CancelBundleTask" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[cancelBundleTaskRequest delegate]]; [request setCredentials:[cancelBundleTaskRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CancelBundleTaskResponse.m b/src/Amazon.EC2/Model/EC2CancelBundleTaskResponse.m index 9f16bb5d..4501d352 100644 --- a/src/Amazon.EC2/Model/EC2CancelBundleTaskResponse.m +++ b/src/Amazon.EC2/Model/EC2CancelBundleTaskResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CancelBundleTaskResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CancelBundleTaskResponseUnmarshaller.m index 0a030ade..068cbf9b 100644 --- a/src/Amazon.EC2/Model/EC2CancelBundleTaskResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CancelBundleTaskResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsRequest.m b/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsRequest.m index 9b5a2bff..30c43350 100644 --- a/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsRequest.m +++ b/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsRequestMarshaller.m index dad5b948..b7d800bc 100644 --- a/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CancelSpotInstanceRequestsRequest *)c AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CancelSpotInstanceRequests" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[cancelSpotInstanceRequestsRequest delegate]]; [request setCredentials:[cancelSpotInstanceRequestsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsResponse.m b/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsResponse.m index 43d37b80..214f5a2d 100644 --- a/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsResponse.m +++ b/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsResponseUnmarshaller.m index 49a9d8ee..5f0e34ec 100644 --- a/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CancelSpotInstanceRequestsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CancelledSpotInstanceRequest.m b/src/Amazon.EC2/Model/EC2CancelledSpotInstanceRequest.m index 0cae000b..46cbddcc 100644 --- a/src/Amazon.EC2/Model/EC2CancelledSpotInstanceRequest.m +++ b/src/Amazon.EC2/Model/EC2CancelledSpotInstanceRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CancelledSpotInstanceRequestUnmarshaller.m b/src/Amazon.EC2/Model/EC2CancelledSpotInstanceRequestUnmarshaller.m index eebc7a57..b2c0f8bc 100644 --- a/src/Amazon.EC2/Model/EC2CancelledSpotInstanceRequestUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CancelledSpotInstanceRequestUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ConfirmProductInstanceRequest.m b/src/Amazon.EC2/Model/EC2ConfirmProductInstanceRequest.m index f136994d..72ca741c 100644 --- a/src/Amazon.EC2/Model/EC2ConfirmProductInstanceRequest.m +++ b/src/Amazon.EC2/Model/EC2ConfirmProductInstanceRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ConfirmProductInstanceRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ConfirmProductInstanceRequestMarshaller.m index 7b0248cf..2b1fd349 100644 --- a/src/Amazon.EC2/Model/EC2ConfirmProductInstanceRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ConfirmProductInstanceRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ConfirmProductInstanceRequest *)confi AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ConfirmProductInstance" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[confirmProductInstanceRequest delegate]]; [request setCredentials:[confirmProductInstanceRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2ConfirmProductInstanceResponse.m b/src/Amazon.EC2/Model/EC2ConfirmProductInstanceResponse.m index 593f549e..77aec04e 100644 --- a/src/Amazon.EC2/Model/EC2ConfirmProductInstanceResponse.m +++ b/src/Amazon.EC2/Model/EC2ConfirmProductInstanceResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ConfirmProductInstanceResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ConfirmProductInstanceResponseUnmarshaller.m index e79d5676..f8f9091f 100644 --- a/src/Amazon.EC2/Model/EC2ConfirmProductInstanceResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ConfirmProductInstanceResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateImageRequest.m b/src/Amazon.EC2/Model/EC2CreateImageRequest.m index 51776a29..d5dd1597 100644 --- a/src/Amazon.EC2/Model/EC2CreateImageRequest.m +++ b/src/Amazon.EC2/Model/EC2CreateImageRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateImageRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CreateImageRequestMarshaller.m index f1b447e6..9ba48d00 100644 --- a/src/Amazon.EC2/Model/EC2CreateImageRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateImageRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CreateImageRequest *)createImageReque AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CreateImage" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[createImageRequest delegate]]; [request setCredentials:[createImageRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CreateImageResponse.m b/src/Amazon.EC2/Model/EC2CreateImageResponse.m index 67ca35e0..5b3415dd 100644 --- a/src/Amazon.EC2/Model/EC2CreateImageResponse.m +++ b/src/Amazon.EC2/Model/EC2CreateImageResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateImageResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CreateImageResponseUnmarshaller.m index 9756ce91..d0419a52 100644 --- a/src/Amazon.EC2/Model/EC2CreateImageResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateImageResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateKeyPairRequest.m b/src/Amazon.EC2/Model/EC2CreateKeyPairRequest.m index 283f2b67..d284d223 100644 --- a/src/Amazon.EC2/Model/EC2CreateKeyPairRequest.m +++ b/src/Amazon.EC2/Model/EC2CreateKeyPairRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateKeyPairRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CreateKeyPairRequestMarshaller.m index 044bdaf9..f4002040 100644 --- a/src/Amazon.EC2/Model/EC2CreateKeyPairRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateKeyPairRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CreateKeyPairRequest *)createKeyPairR AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CreateKeyPair" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[createKeyPairRequest delegate]]; [request setCredentials:[createKeyPairRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CreateKeyPairResponse.m b/src/Amazon.EC2/Model/EC2CreateKeyPairResponse.m index d54ae11f..0845a39d 100644 --- a/src/Amazon.EC2/Model/EC2CreateKeyPairResponse.m +++ b/src/Amazon.EC2/Model/EC2CreateKeyPairResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateKeyPairResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CreateKeyPairResponseUnmarshaller.m index 4517b903..e4bffa74 100644 --- a/src/Amazon.EC2/Model/EC2CreateKeyPairResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateKeyPairResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreatePlacementGroupRequest.m b/src/Amazon.EC2/Model/EC2CreatePlacementGroupRequest.m index e6b97b8a..6e81642b 100644 --- a/src/Amazon.EC2/Model/EC2CreatePlacementGroupRequest.m +++ b/src/Amazon.EC2/Model/EC2CreatePlacementGroupRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreatePlacementGroupRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CreatePlacementGroupRequestMarshaller.m index 587bc8da..a1beeab6 100644 --- a/src/Amazon.EC2/Model/EC2CreatePlacementGroupRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreatePlacementGroupRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CreatePlacementGroupRequest *)createP AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CreatePlacementGroup" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[createPlacementGroupRequest delegate]]; [request setCredentials:[createPlacementGroupRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CreatePlacementGroupResponse.m b/src/Amazon.EC2/Model/EC2CreatePlacementGroupResponse.m index c64f7097..5aa6a863 100644 --- a/src/Amazon.EC2/Model/EC2CreatePlacementGroupResponse.m +++ b/src/Amazon.EC2/Model/EC2CreatePlacementGroupResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreatePlacementGroupResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CreatePlacementGroupResponseUnmarshaller.m index 1d9ec514..9c72c74d 100644 --- a/src/Amazon.EC2/Model/EC2CreatePlacementGroupResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreatePlacementGroupResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateSecurityGroupRequest.m b/src/Amazon.EC2/Model/EC2CreateSecurityGroupRequest.m index f031cbf7..fe870231 100644 --- a/src/Amazon.EC2/Model/EC2CreateSecurityGroupRequest.m +++ b/src/Amazon.EC2/Model/EC2CreateSecurityGroupRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateSecurityGroupRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CreateSecurityGroupRequestMarshaller.m index 5dbc6457..0f9aa42f 100644 --- a/src/Amazon.EC2/Model/EC2CreateSecurityGroupRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateSecurityGroupRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CreateSecurityGroupRequest *)createSe AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CreateSecurityGroup" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[createSecurityGroupRequest delegate]]; [request setCredentials:[createSecurityGroupRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CreateSecurityGroupResponse.m b/src/Amazon.EC2/Model/EC2CreateSecurityGroupResponse.m index bfb862e0..8f563988 100644 --- a/src/Amazon.EC2/Model/EC2CreateSecurityGroupResponse.m +++ b/src/Amazon.EC2/Model/EC2CreateSecurityGroupResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateSecurityGroupResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CreateSecurityGroupResponseUnmarshaller.m index 8ff31239..d261814e 100644 --- a/src/Amazon.EC2/Model/EC2CreateSecurityGroupResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateSecurityGroupResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateSnapshotRequest.m b/src/Amazon.EC2/Model/EC2CreateSnapshotRequest.m index 2c363d47..d0d448ed 100644 --- a/src/Amazon.EC2/Model/EC2CreateSnapshotRequest.m +++ b/src/Amazon.EC2/Model/EC2CreateSnapshotRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateSnapshotRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CreateSnapshotRequestMarshaller.m index e078b13e..beb1e303 100644 --- a/src/Amazon.EC2/Model/EC2CreateSnapshotRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateSnapshotRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CreateSnapshotRequest *)createSnapsho AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CreateSnapshot" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[createSnapshotRequest delegate]]; [request setCredentials:[createSnapshotRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CreateSnapshotResponse.m b/src/Amazon.EC2/Model/EC2CreateSnapshotResponse.m index 74c362bb..229234f7 100644 --- a/src/Amazon.EC2/Model/EC2CreateSnapshotResponse.m +++ b/src/Amazon.EC2/Model/EC2CreateSnapshotResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateSnapshotResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CreateSnapshotResponseUnmarshaller.m index 41a1c157..d2a50d28 100644 --- a/src/Amazon.EC2/Model/EC2CreateSnapshotResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateSnapshotResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionRequest.m b/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionRequest.m index c4bec9c4..37c29640 100644 --- a/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionRequest.m +++ b/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionRequestMarshaller.m index eba0fe89..845df59e 100644 --- a/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CreateSpotDatafeedSubscriptionRequest AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CreateSpotDatafeedSubscription" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[createSpotDatafeedSubscriptionRequest delegate]]; [request setCredentials:[createSpotDatafeedSubscriptionRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionResponse.m b/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionResponse.m index b4be9a74..9a3cb2a8 100644 --- a/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionResponse.m +++ b/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionResponseUnmarshaller.m index 2fda503c..78cdc2dc 100644 --- a/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateSpotDatafeedSubscriptionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateTagsRequest.m b/src/Amazon.EC2/Model/EC2CreateTagsRequest.m index 4c82bb6b..58921391 100644 --- a/src/Amazon.EC2/Model/EC2CreateTagsRequest.m +++ b/src/Amazon.EC2/Model/EC2CreateTagsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateTagsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CreateTagsRequestMarshaller.m index 00d8e182..dbcd48d3 100644 --- a/src/Amazon.EC2/Model/EC2CreateTagsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateTagsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CreateTagsRequest *)createTagsRequest AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CreateTags" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[createTagsRequest delegate]]; [request setCredentials:[createTagsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CreateTagsResponse.m b/src/Amazon.EC2/Model/EC2CreateTagsResponse.m index 827fea37..566a1721 100644 --- a/src/Amazon.EC2/Model/EC2CreateTagsResponse.m +++ b/src/Amazon.EC2/Model/EC2CreateTagsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateTagsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CreateTagsResponseUnmarshaller.m index 0a3e8d9d..3cde88f3 100644 --- a/src/Amazon.EC2/Model/EC2CreateTagsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateTagsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateVolumePermission.m b/src/Amazon.EC2/Model/EC2CreateVolumePermission.m index a002fe72..cea75829 100644 --- a/src/Amazon.EC2/Model/EC2CreateVolumePermission.m +++ b/src/Amazon.EC2/Model/EC2CreateVolumePermission.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateVolumePermissionModifications.m b/src/Amazon.EC2/Model/EC2CreateVolumePermissionModifications.m index 4a6898ef..f1a20197 100644 --- a/src/Amazon.EC2/Model/EC2CreateVolumePermissionModifications.m +++ b/src/Amazon.EC2/Model/EC2CreateVolumePermissionModifications.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateVolumePermissionUnmarshaller.m b/src/Amazon.EC2/Model/EC2CreateVolumePermissionUnmarshaller.m index 454179e9..12a908c6 100644 --- a/src/Amazon.EC2/Model/EC2CreateVolumePermissionUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateVolumePermissionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateVolumeRequest.m b/src/Amazon.EC2/Model/EC2CreateVolumeRequest.m index 6c95a7f8..ca35e332 100644 --- a/src/Amazon.EC2/Model/EC2CreateVolumeRequest.m +++ b/src/Amazon.EC2/Model/EC2CreateVolumeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateVolumeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2CreateVolumeRequestMarshaller.m index 3d558201..7fb8a67e 100644 --- a/src/Amazon.EC2/Model/EC2CreateVolumeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateVolumeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2CreateVolumeRequest *)createVolumeReq AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"CreateVolume" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[createVolumeRequest delegate]]; [request setCredentials:[createVolumeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2CreateVolumeResponse.m b/src/Amazon.EC2/Model/EC2CreateVolumeResponse.m index 12c994b4..e05dc371 100644 --- a/src/Amazon.EC2/Model/EC2CreateVolumeResponse.m +++ b/src/Amazon.EC2/Model/EC2CreateVolumeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2CreateVolumeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2CreateVolumeResponseUnmarshaller.m index 97adba7f..5e282c75 100644 --- a/src/Amazon.EC2/Model/EC2CreateVolumeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2CreateVolumeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeactivateLicenseRequest.m b/src/Amazon.EC2/Model/EC2DeactivateLicenseRequest.m index fe30d57b..45126e64 100644 --- a/src/Amazon.EC2/Model/EC2DeactivateLicenseRequest.m +++ b/src/Amazon.EC2/Model/EC2DeactivateLicenseRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeactivateLicenseRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DeactivateLicenseRequestMarshaller.m index 50703a0d..6beb0694 100644 --- a/src/Amazon.EC2/Model/EC2DeactivateLicenseRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeactivateLicenseRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DeactivateLicenseRequest *)deactivate AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DeactivateLicense" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[deactivateLicenseRequest delegate]]; [request setCredentials:[deactivateLicenseRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DeactivateLicenseResponse.m b/src/Amazon.EC2/Model/EC2DeactivateLicenseResponse.m index 8f2a36a9..ffa8ff82 100644 --- a/src/Amazon.EC2/Model/EC2DeactivateLicenseResponse.m +++ b/src/Amazon.EC2/Model/EC2DeactivateLicenseResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeactivateLicenseResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DeactivateLicenseResponseUnmarshaller.m index b6755c4b..0e0a7699 100644 --- a/src/Amazon.EC2/Model/EC2DeactivateLicenseResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeactivateLicenseResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteKeyPairRequest.m b/src/Amazon.EC2/Model/EC2DeleteKeyPairRequest.m index 41c439cc..1ca08da5 100644 --- a/src/Amazon.EC2/Model/EC2DeleteKeyPairRequest.m +++ b/src/Amazon.EC2/Model/EC2DeleteKeyPairRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteKeyPairRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DeleteKeyPairRequestMarshaller.m index 57b2458e..a6bb05ee 100644 --- a/src/Amazon.EC2/Model/EC2DeleteKeyPairRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteKeyPairRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DeleteKeyPairRequest *)deleteKeyPairR AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DeleteKeyPair" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[deleteKeyPairRequest delegate]]; [request setCredentials:[deleteKeyPairRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DeleteKeyPairResponse.m b/src/Amazon.EC2/Model/EC2DeleteKeyPairResponse.m index 0fb04c2f..543e2f5d 100644 --- a/src/Amazon.EC2/Model/EC2DeleteKeyPairResponse.m +++ b/src/Amazon.EC2/Model/EC2DeleteKeyPairResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteKeyPairResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DeleteKeyPairResponseUnmarshaller.m index 00576b9f..367cd778 100644 --- a/src/Amazon.EC2/Model/EC2DeleteKeyPairResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteKeyPairResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeletePlacementGroupRequest.m b/src/Amazon.EC2/Model/EC2DeletePlacementGroupRequest.m index 5b7ee4bf..b7f90832 100644 --- a/src/Amazon.EC2/Model/EC2DeletePlacementGroupRequest.m +++ b/src/Amazon.EC2/Model/EC2DeletePlacementGroupRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeletePlacementGroupRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DeletePlacementGroupRequestMarshaller.m index 116b19cb..4499389c 100644 --- a/src/Amazon.EC2/Model/EC2DeletePlacementGroupRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeletePlacementGroupRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DeletePlacementGroupRequest *)deleteP AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DeletePlacementGroup" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[deletePlacementGroupRequest delegate]]; [request setCredentials:[deletePlacementGroupRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DeletePlacementGroupResponse.m b/src/Amazon.EC2/Model/EC2DeletePlacementGroupResponse.m index 2c632801..c9a86966 100644 --- a/src/Amazon.EC2/Model/EC2DeletePlacementGroupResponse.m +++ b/src/Amazon.EC2/Model/EC2DeletePlacementGroupResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeletePlacementGroupResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DeletePlacementGroupResponseUnmarshaller.m index 05160008..363e6ae7 100644 --- a/src/Amazon.EC2/Model/EC2DeletePlacementGroupResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeletePlacementGroupResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteSecurityGroupRequest.m b/src/Amazon.EC2/Model/EC2DeleteSecurityGroupRequest.m index d7a18a2c..0408496d 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSecurityGroupRequest.m +++ b/src/Amazon.EC2/Model/EC2DeleteSecurityGroupRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteSecurityGroupRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DeleteSecurityGroupRequestMarshaller.m index 07482afa..079a4506 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSecurityGroupRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteSecurityGroupRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DeleteSecurityGroupRequest *)deleteSe AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DeleteSecurityGroup" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[deleteSecurityGroupRequest delegate]]; [request setCredentials:[deleteSecurityGroupRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DeleteSecurityGroupResponse.m b/src/Amazon.EC2/Model/EC2DeleteSecurityGroupResponse.m index edd04975..421b31d4 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSecurityGroupResponse.m +++ b/src/Amazon.EC2/Model/EC2DeleteSecurityGroupResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteSecurityGroupResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DeleteSecurityGroupResponseUnmarshaller.m index c3d7dba2..b835a442 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSecurityGroupResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteSecurityGroupResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteSnapshotRequest.m b/src/Amazon.EC2/Model/EC2DeleteSnapshotRequest.m index 0a100004..1b75b07a 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSnapshotRequest.m +++ b/src/Amazon.EC2/Model/EC2DeleteSnapshotRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteSnapshotRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DeleteSnapshotRequestMarshaller.m index 578e6257..ba038412 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSnapshotRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteSnapshotRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DeleteSnapshotRequest *)deleteSnapsho AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DeleteSnapshot" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[deleteSnapshotRequest delegate]]; [request setCredentials:[deleteSnapshotRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DeleteSnapshotResponse.m b/src/Amazon.EC2/Model/EC2DeleteSnapshotResponse.m index acd97d3d..ee3ee11f 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSnapshotResponse.m +++ b/src/Amazon.EC2/Model/EC2DeleteSnapshotResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteSnapshotResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DeleteSnapshotResponseUnmarshaller.m index 39720931..b108925f 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSnapshotResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteSnapshotResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionRequest.m b/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionRequest.m index 51f02db5..96fb600e 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionRequest.m +++ b/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionRequestMarshaller.m index 13efb230..8372a9fd 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DeleteSpotDatafeedSubscriptionRequest AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DeleteSpotDatafeedSubscription" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[deleteSpotDatafeedSubscriptionRequest delegate]]; [request setCredentials:[deleteSpotDatafeedSubscriptionRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionResponse.m b/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionResponse.m index a40d9ed2..fed57243 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionResponse.m +++ b/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionResponseUnmarshaller.m index 143c6efe..532144e8 100644 --- a/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteSpotDatafeedSubscriptionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteTagsRequest.m b/src/Amazon.EC2/Model/EC2DeleteTagsRequest.m index 34f3f315..19207505 100644 --- a/src/Amazon.EC2/Model/EC2DeleteTagsRequest.m +++ b/src/Amazon.EC2/Model/EC2DeleteTagsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteTagsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DeleteTagsRequestMarshaller.m index 35ea2078..2cc063b3 100644 --- a/src/Amazon.EC2/Model/EC2DeleteTagsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteTagsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DeleteTagsRequest *)deleteTagsRequest AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DeleteTags" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[deleteTagsRequest delegate]]; [request setCredentials:[deleteTagsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DeleteTagsResponse.m b/src/Amazon.EC2/Model/EC2DeleteTagsResponse.m index a0d90aea..a3f57bfb 100644 --- a/src/Amazon.EC2/Model/EC2DeleteTagsResponse.m +++ b/src/Amazon.EC2/Model/EC2DeleteTagsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteTagsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DeleteTagsResponseUnmarshaller.m index d0554656..c0ccf1bb 100644 --- a/src/Amazon.EC2/Model/EC2DeleteTagsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteTagsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteVolumeRequest.m b/src/Amazon.EC2/Model/EC2DeleteVolumeRequest.m index 6f740c39..5fb05a27 100644 --- a/src/Amazon.EC2/Model/EC2DeleteVolumeRequest.m +++ b/src/Amazon.EC2/Model/EC2DeleteVolumeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteVolumeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DeleteVolumeRequestMarshaller.m index aa23dced..745e8a37 100644 --- a/src/Amazon.EC2/Model/EC2DeleteVolumeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteVolumeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DeleteVolumeRequest *)deleteVolumeReq AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DeleteVolume" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[deleteVolumeRequest delegate]]; [request setCredentials:[deleteVolumeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DeleteVolumeResponse.m b/src/Amazon.EC2/Model/EC2DeleteVolumeResponse.m index b16ce80e..c856815d 100644 --- a/src/Amazon.EC2/Model/EC2DeleteVolumeResponse.m +++ b/src/Amazon.EC2/Model/EC2DeleteVolumeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeleteVolumeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DeleteVolumeResponseUnmarshaller.m index ffaa1e43..01db0800 100644 --- a/src/Amazon.EC2/Model/EC2DeleteVolumeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeleteVolumeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeregisterImageRequest.m b/src/Amazon.EC2/Model/EC2DeregisterImageRequest.m index 544b1fb5..1196f595 100644 --- a/src/Amazon.EC2/Model/EC2DeregisterImageRequest.m +++ b/src/Amazon.EC2/Model/EC2DeregisterImageRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeregisterImageRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DeregisterImageRequestMarshaller.m index 43a6da0f..6a594d0e 100644 --- a/src/Amazon.EC2/Model/EC2DeregisterImageRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeregisterImageRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DeregisterImageRequest *)deregisterIm AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DeregisterImage" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[deregisterImageRequest delegate]]; [request setCredentials:[deregisterImageRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DeregisterImageResponse.m b/src/Amazon.EC2/Model/EC2DeregisterImageResponse.m index ca90face..7478c87b 100644 --- a/src/Amazon.EC2/Model/EC2DeregisterImageResponse.m +++ b/src/Amazon.EC2/Model/EC2DeregisterImageResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DeregisterImageResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DeregisterImageResponseUnmarshaller.m index 081947ad..98087ada 100644 --- a/src/Amazon.EC2/Model/EC2DeregisterImageResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DeregisterImageResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeAddressesRequest.m b/src/Amazon.EC2/Model/EC2DescribeAddressesRequest.m index 3f3fe941..cc509c4d 100644 --- a/src/Amazon.EC2/Model/EC2DescribeAddressesRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeAddressesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeAddressesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeAddressesRequestMarshaller.m index 78d377b8..680ddecb 100644 --- a/src/Amazon.EC2/Model/EC2DescribeAddressesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeAddressesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeAddressesRequest *)describeAd AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeAddresses" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeAddressesRequest delegate]]; [request setCredentials:[describeAddressesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeAddressesResponse.m b/src/Amazon.EC2/Model/EC2DescribeAddressesResponse.m index f24824e0..7c2c1c6c 100644 --- a/src/Amazon.EC2/Model/EC2DescribeAddressesResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeAddressesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeAddressesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeAddressesResponseUnmarshaller.m index 0cc0fc1b..cd86ea2e 100644 --- a/src/Amazon.EC2/Model/EC2DescribeAddressesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeAddressesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesRequest.m b/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesRequest.m index 9be80d70..a68523ce 100644 --- a/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesRequestMarshaller.m index 64350bf7..da0069c2 100644 --- a/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeAvailabilityZonesRequest *)de AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeAvailabilityZones" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeAvailabilityZonesRequest delegate]]; [request setCredentials:[describeAvailabilityZonesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesResponse.m b/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesResponse.m index 9460dd31..851c48d9 100644 --- a/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesResponseUnmarshaller.m index e14a7c08..13af15f0 100644 --- a/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeAvailabilityZonesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeBundleTasksRequest.m b/src/Amazon.EC2/Model/EC2DescribeBundleTasksRequest.m index d246edd6..26090c25 100644 --- a/src/Amazon.EC2/Model/EC2DescribeBundleTasksRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeBundleTasksRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeBundleTasksRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeBundleTasksRequestMarshaller.m index 6d399c90..58635964 100644 --- a/src/Amazon.EC2/Model/EC2DescribeBundleTasksRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeBundleTasksRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeBundleTasksRequest *)describe AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeBundleTasks" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeBundleTasksRequest delegate]]; [request setCredentials:[describeBundleTasksRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeBundleTasksResponse.m b/src/Amazon.EC2/Model/EC2DescribeBundleTasksResponse.m index d78bc5e5..af0bff76 100644 --- a/src/Amazon.EC2/Model/EC2DescribeBundleTasksResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeBundleTasksResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeBundleTasksResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeBundleTasksResponseUnmarshaller.m index d2659ca4..bdc0853e 100644 --- a/src/Amazon.EC2/Model/EC2DescribeBundleTasksResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeBundleTasksResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeImageAttributeRequest.m b/src/Amazon.EC2/Model/EC2DescribeImageAttributeRequest.m index 20e17f9a..8dc5ada3 100644 --- a/src/Amazon.EC2/Model/EC2DescribeImageAttributeRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeImageAttributeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeImageAttributeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeImageAttributeRequestMarshaller.m index dcd834f2..76ff7211 100644 --- a/src/Amazon.EC2/Model/EC2DescribeImageAttributeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeImageAttributeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeImageAttributeRequest *)descr AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeImageAttribute" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeImageAttributeRequest delegate]]; [request setCredentials:[describeImageAttributeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeImageAttributeResponse.m b/src/Amazon.EC2/Model/EC2DescribeImageAttributeResponse.m index 8825eaf9..29654cc8 100644 --- a/src/Amazon.EC2/Model/EC2DescribeImageAttributeResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeImageAttributeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeImageAttributeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeImageAttributeResponseUnmarshaller.m index 34532b6c..a3c2e759 100644 --- a/src/Amazon.EC2/Model/EC2DescribeImageAttributeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeImageAttributeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeImagesRequest.m b/src/Amazon.EC2/Model/EC2DescribeImagesRequest.m index 8abb5442..2c754fd5 100644 --- a/src/Amazon.EC2/Model/EC2DescribeImagesRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeImagesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeImagesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeImagesRequestMarshaller.m index 40cc3d79..869a25d3 100644 --- a/src/Amazon.EC2/Model/EC2DescribeImagesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeImagesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeImagesRequest *)describeImage AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeImages" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeImagesRequest delegate]]; [request setCredentials:[describeImagesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeImagesResponse.m b/src/Amazon.EC2/Model/EC2DescribeImagesResponse.m index 7045c25f..97c72656 100644 --- a/src/Amazon.EC2/Model/EC2DescribeImagesResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeImagesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeImagesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeImagesResponseUnmarshaller.m index d35360d6..68f32828 100644 --- a/src/Amazon.EC2/Model/EC2DescribeImagesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeImagesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeRequest.m b/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeRequest.m index 36953287..5ca24362 100644 --- a/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeRequestMarshaller.m index 51ba1e3f..eca6fe29 100644 --- a/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeInstanceAttributeRequest *)de AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeInstanceAttribute" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeInstanceAttributeRequest delegate]]; [request setCredentials:[describeInstanceAttributeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeResponse.m b/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeResponse.m index a1b3a553..6fae3c6e 100644 --- a/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeResponseUnmarshaller.m index 73793c5e..67d0fc56 100644 --- a/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeInstanceAttributeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeInstanceStatusRequest.m b/src/Amazon.EC2/Model/EC2DescribeInstanceStatusRequest.m new file mode 100644 index 00000000..622d209c --- /dev/null +++ b/src/Amazon.EC2/Model/EC2DescribeInstanceStatusRequest.m @@ -0,0 +1,87 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2DescribeInstanceStatusRequest.h" + + +@implementation EC2DescribeInstanceStatusRequest + +@synthesize instanceIds; +@synthesize filters; +@synthesize nextToken; +@synthesize maxResults; + + +-(id)init +{ + if (self = [super init]) { + instanceIds = [[NSMutableArray alloc] initWithCapacity:1]; + filters = [[NSMutableArray alloc] initWithCapacity:1]; + nextToken = nil; + maxResults = nil; + } + + return self; +} + + +-(void)addInstanceId:(NSString *)instanceIdObject +{ + if (instanceIds == nil) { + instanceIds = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [instanceIds addObject:instanceIdObject]; +} + +-(void)addFilter:(EC2Filter *)filterObject +{ + if (filters == nil) { + filters = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [filters addObject:filterObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"InstanceIds: %@,", instanceIds] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Filters: %@,", filters] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"NextToken: %@,", nextToken] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"MaxResults: %@,", maxResults] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [instanceIds release]; + [filters release]; + [nextToken release]; + [maxResults release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.EC2/Model/EC2DescribeInstanceStatusRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeInstanceStatusRequestMarshaller.m new file mode 100644 index 00000000..8419e06f --- /dev/null +++ b/src/Amazon.EC2/Model/EC2DescribeInstanceStatusRequestMarshaller.m @@ -0,0 +1,83 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2DescribeInstanceStatusRequestMarshaller.h" + +@implementation EC2DescribeInstanceStatusRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(EC2DescribeInstanceStatusRequest *)describeInstanceStatusRequest +{ + AmazonServiceRequest *request = [[EC2Request alloc] init]; + + [request setParameterValue:@"DescribeInstanceStatus" forKey:@"Action"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; + + [request setDelegate:[describeInstanceStatusRequest delegate]]; + [request setCredentials:[describeInstanceStatusRequest credentials]]; + [request setEndpoint:[describeInstanceStatusRequest requestEndpoint]]; + [request setRequestTag:[describeInstanceStatusRequest requestTag]]; + + + if (describeInstanceStatusRequest != nil) { + int instanceIdsListIndex = 1; + for (NSString *instanceIdsListValue in describeInstanceStatusRequest.instanceIds) { + if (instanceIdsListValue != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", instanceIdsListValue] forKey:[NSString stringWithFormat:@"%@.%d", @"InstanceId", instanceIdsListIndex]]; + } + + instanceIdsListIndex++; + } + } + + if (describeInstanceStatusRequest != nil) { + int filtersListIndex = 1; + for (EC2Filter *filtersListValue in describeInstanceStatusRequest.filters) { + if (filtersListValue != nil) { + if (filtersListValue.name != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", filtersListValue.name] forKey:[NSString stringWithFormat:@"%@.%d.%@", @"Filters", filtersListIndex, @"Name"]]; + } + } + + if (filtersListValue != nil) { + int valuesListIndex = 1; + for (NSString *valuesListValue in filtersListValue.values) { + if (valuesListValue != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", valuesListValue] forKey:[NSString stringWithFormat:@"%@.%d.%@.%d", @"Filters", filtersListIndex, @"Value", valuesListIndex]]; + } + + valuesListIndex++; + } + } + + filtersListIndex++; + } + } + if (describeInstanceStatusRequest != nil) { + if (describeInstanceStatusRequest.nextToken != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", describeInstanceStatusRequest.nextToken] forKey:[NSString stringWithFormat:@"%@", @"NextToken"]]; + } + } + if (describeInstanceStatusRequest != nil) { + if (describeInstanceStatusRequest.maxResults != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", describeInstanceStatusRequest.maxResults] forKey:[NSString stringWithFormat:@"%@", @"MaxResults"]]; + } + } + + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.EC2/Model/EC2DescribeInstanceStatusResponse.m b/src/Amazon.EC2/Model/EC2DescribeInstanceStatusResponse.m new file mode 100644 index 00000000..d343a424 --- /dev/null +++ b/src/Amazon.EC2/Model/EC2DescribeInstanceStatusResponse.m @@ -0,0 +1,83 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2DescribeInstanceStatusResponse.h" + + +@implementation EC2DescribeInstanceStatusResponse + +@synthesize instanceStatuses; +@synthesize nextToken; + + +-(id)init +{ + if (self = [super init]) { + instanceStatuses = [[NSMutableArray alloc] initWithCapacity:1]; + nextToken = nil; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(EC2InstanceStatus *)instanceStatusesObjectAtIndex:(int)index +{ + return (EC2InstanceStatus *)[instanceStatuses objectAtIndex:index]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"InstanceStatuses: %@,", instanceStatuses] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"NextToken: %@,", nextToken] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [instanceStatuses release]; + [nextToken release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.EC2/Model/EC2DescribeInstanceStatusResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeInstanceStatusResponseUnmarshaller.m new file mode 100644 index 00000000..5e7b143f --- /dev/null +++ b/src/Amazon.EC2/Model/EC2DescribeInstanceStatusResponseUnmarshaller.m @@ -0,0 +1,86 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2DescribeInstanceStatusResponseUnmarshaller.h" + +@implementation EC2DescribeInstanceStatusResponseUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + + if ([elementName isEqualToString:@"instanceStatusSet"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.instanceStatuses withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"instanceStatusSet"; + listUnmarshaller.entryElementName = @"item"; + listUnmarshaller.delegateClass = [EC2InstanceStatusUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + + + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + + + if ([[elementName lowercaseString] isEqualToString:@"requestid"]) { + if (parentObject != nil && [parentObject respondsToSelector:@selector(setRequestId:)]) { + [parentObject performSelector:@selector(setRequestId:) withObject:self.currentText]; + } + } + + if ([elementName isEqualToString:@"nextToken"]) { + self.response.nextToken = self.currentText; + return; + } + + if ([elementName isEqualToString:@"DescribeInstanceStatusResponse"]) { + if (caller != nil) { + [parser setDelegate:caller]; + } + + if (parentObject != nil && [parentObject respondsToSelector:parentSetter]) { + [parentObject performSelector:parentSetter withObject:self.response]; + } + + return; + } +} + +-(EC2DescribeInstanceStatusResponse *)response +{ + if (nil == response) { + response = [[EC2DescribeInstanceStatusResponse alloc] init]; + } + return response; +} + + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.EC2/Model/EC2DescribeInstancesRequest.m b/src/Amazon.EC2/Model/EC2DescribeInstancesRequest.m index bd95830b..9a18b18d 100644 --- a/src/Amazon.EC2/Model/EC2DescribeInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeInstancesRequestMarshaller.m index c940b791..a663f3ee 100644 --- a/src/Amazon.EC2/Model/EC2DescribeInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeInstancesRequest *)describeIn AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeInstancesRequest delegate]]; [request setCredentials:[describeInstancesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeInstancesResponse.m b/src/Amazon.EC2/Model/EC2DescribeInstancesResponse.m index caa47542..3d8b7850 100644 --- a/src/Amazon.EC2/Model/EC2DescribeInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeInstancesResponseUnmarshaller.m index 7cf228f1..485b67f2 100644 --- a/src/Amazon.EC2/Model/EC2DescribeInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeKeyPairsRequest.m b/src/Amazon.EC2/Model/EC2DescribeKeyPairsRequest.m index d9ab9b22..c416a4bb 100644 --- a/src/Amazon.EC2/Model/EC2DescribeKeyPairsRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeKeyPairsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeKeyPairsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeKeyPairsRequestMarshaller.m index e71a4a6a..e5cf20da 100644 --- a/src/Amazon.EC2/Model/EC2DescribeKeyPairsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeKeyPairsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeKeyPairsRequest *)describeKey AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeKeyPairs" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeKeyPairsRequest delegate]]; [request setCredentials:[describeKeyPairsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeKeyPairsResponse.m b/src/Amazon.EC2/Model/EC2DescribeKeyPairsResponse.m index 84714c1b..230b10df 100644 --- a/src/Amazon.EC2/Model/EC2DescribeKeyPairsResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeKeyPairsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeKeyPairsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeKeyPairsResponseUnmarshaller.m index 5178fee2..6610129b 100644 --- a/src/Amazon.EC2/Model/EC2DescribeKeyPairsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeKeyPairsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeLicensesRequest.m b/src/Amazon.EC2/Model/EC2DescribeLicensesRequest.m index a1a809fe..203ea26e 100644 --- a/src/Amazon.EC2/Model/EC2DescribeLicensesRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeLicensesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeLicensesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeLicensesRequestMarshaller.m index 6503b4e6..fbce8a30 100644 --- a/src/Amazon.EC2/Model/EC2DescribeLicensesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeLicensesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeLicensesRequest *)describeLic AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeLicenses" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeLicensesRequest delegate]]; [request setCredentials:[describeLicensesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeLicensesResponse.m b/src/Amazon.EC2/Model/EC2DescribeLicensesResponse.m index a2eaac23..da615339 100644 --- a/src/Amazon.EC2/Model/EC2DescribeLicensesResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeLicensesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeLicensesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeLicensesResponseUnmarshaller.m index 5bd5a68f..650a6da4 100644 --- a/src/Amazon.EC2/Model/EC2DescribeLicensesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeLicensesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribePlacementGroupsRequest.m b/src/Amazon.EC2/Model/EC2DescribePlacementGroupsRequest.m index 6ac3ace9..a4c5a694 100644 --- a/src/Amazon.EC2/Model/EC2DescribePlacementGroupsRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribePlacementGroupsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribePlacementGroupsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribePlacementGroupsRequestMarshaller.m index cc44f6dd..c5f4fb4c 100644 --- a/src/Amazon.EC2/Model/EC2DescribePlacementGroupsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribePlacementGroupsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribePlacementGroupsRequest *)desc AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribePlacementGroups" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describePlacementGroupsRequest delegate]]; [request setCredentials:[describePlacementGroupsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribePlacementGroupsResponse.m b/src/Amazon.EC2/Model/EC2DescribePlacementGroupsResponse.m index 17b0930e..a5898ded 100644 --- a/src/Amazon.EC2/Model/EC2DescribePlacementGroupsResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribePlacementGroupsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribePlacementGroupsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribePlacementGroupsResponseUnmarshaller.m index 90873f7a..afeeffb1 100644 --- a/src/Amazon.EC2/Model/EC2DescribePlacementGroupsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribePlacementGroupsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeRegionsRequest.m b/src/Amazon.EC2/Model/EC2DescribeRegionsRequest.m index a9507324..80d0356d 100644 --- a/src/Amazon.EC2/Model/EC2DescribeRegionsRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeRegionsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeRegionsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeRegionsRequestMarshaller.m index 10db16f2..8e00e64c 100644 --- a/src/Amazon.EC2/Model/EC2DescribeRegionsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeRegionsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeRegionsRequest *)describeRegi AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeRegions" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeRegionsRequest delegate]]; [request setCredentials:[describeRegionsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeRegionsResponse.m b/src/Amazon.EC2/Model/EC2DescribeRegionsResponse.m index bdda7c64..95ae8bcc 100644 --- a/src/Amazon.EC2/Model/EC2DescribeRegionsResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeRegionsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeRegionsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeRegionsResponseUnmarshaller.m index ff440031..87b03e21 100644 --- a/src/Amazon.EC2/Model/EC2DescribeRegionsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeRegionsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsRequest.m b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsRequest.m index aec5b983..df48c5d2 100644 --- a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ @implementation EC2DescribeReservedInstancesOfferingsRequest @synthesize productDescription; @synthesize filters; @synthesize instanceTenancy; +@synthesize offeringType; -(id)init @@ -35,6 +36,7 @@ -(id)init productDescription = nil; filters = [[NSMutableArray alloc] initWithCapacity:1]; instanceTenancy = nil; + offeringType = nil; } return self; @@ -71,6 +73,7 @@ -(NSString *)description [buffer appendString:[[[NSString alloc] initWithFormat:@"ProductDescription: %@,", productDescription] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"Filters: %@,", filters] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"InstanceTenancy: %@,", instanceTenancy] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"OfferingType: %@,", offeringType] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -87,6 +90,7 @@ -(void)dealloc [productDescription release]; [filters release]; [instanceTenancy release]; + [offeringType release]; [super dealloc]; } diff --git a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsRequestMarshaller.m index 6c894ca7..8d25a9e4 100644 --- a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeReservedInstancesOfferingsReq AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeReservedInstancesOfferings" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeReservedInstancesOfferingsRequest delegate]]; [request setCredentials:[describeReservedInstancesOfferingsRequest credentials]]; @@ -84,6 +84,11 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeReservedInstancesOfferingsReq [request setParameterValue:[NSString stringWithFormat:@"%@", describeReservedInstancesOfferingsRequest.instanceTenancy] forKey:[NSString stringWithFormat:@"%@", @"InstanceTenancy"]]; } } + if (describeReservedInstancesOfferingsRequest != nil) { + if (describeReservedInstancesOfferingsRequest.offeringType != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", describeReservedInstancesOfferingsRequest.offeringType] forKey:[NSString stringWithFormat:@"%@", @"OfferingType"]]; + } + } return [request autorelease]; diff --git a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsResponse.m b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsResponse.m index 45b9e3ef..32474d23 100644 --- a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsResponseUnmarshaller.m index 7bc3b277..e0cc489c 100644 --- a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesOfferingsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesRequest.m b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesRequest.m index 887ee39c..6990316e 100644 --- a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ @implementation EC2DescribeReservedInstancesRequest @synthesize reservedInstancesIds; @synthesize filters; +@synthesize offeringType; -(id)init @@ -27,6 +28,7 @@ -(id)init if (self = [super init]) { reservedInstancesIds = [[NSMutableArray alloc] initWithCapacity:1]; filters = [[NSMutableArray alloc] initWithCapacity:1]; + offeringType = nil; } return self; @@ -59,6 +61,7 @@ -(NSString *)description [buffer appendString:@"{"]; [buffer appendString:[[[NSString alloc] initWithFormat:@"ReservedInstancesIds: %@,", reservedInstancesIds] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"Filters: %@,", filters] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"OfferingType: %@,", offeringType] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -71,6 +74,7 @@ -(void)dealloc { [reservedInstancesIds release]; [filters release]; + [offeringType release]; [super dealloc]; } diff --git a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesRequestMarshaller.m index cccbaa21..2df42787 100644 --- a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeReservedInstancesRequest *)de AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeReservedInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeReservedInstancesRequest delegate]]; [request setCredentials:[describeReservedInstancesRequest credentials]]; @@ -64,6 +64,11 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeReservedInstancesRequest *)de filtersListIndex++; } } + if (describeReservedInstancesRequest != nil) { + if (describeReservedInstancesRequest.offeringType != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", describeReservedInstancesRequest.offeringType] forKey:[NSString stringWithFormat:@"%@", @"OfferingType"]]; + } + } return [request autorelease]; diff --git a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesResponse.m b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesResponse.m index 83e893e9..355c92e4 100644 --- a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesResponseUnmarshaller.m index 2cc54d64..2190f5d9 100644 --- a/src/Amazon.EC2/Model/EC2DescribeReservedInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeReservedInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsRequest.m b/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsRequest.m index eee0e1b0..58ad0c2b 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsRequestMarshaller.m index d6e560d4..cf4143ed 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeSecurityGroupsRequest *)descr AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeSecurityGroups" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeSecurityGroupsRequest delegate]]; [request setCredentials:[describeSecurityGroupsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsResponse.m b/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsResponse.m index 1ef5a9b3..5597f4d5 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsResponseUnmarshaller.m index 2174a6ea..3e930737 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSecurityGroupsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeRequest.m b/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeRequest.m index 56a1581a..aa52b931 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeRequestMarshaller.m index 2f5abe96..96887c83 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeSnapshotAttributeRequest *)de AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeSnapshotAttribute" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeSnapshotAttributeRequest delegate]]; [request setCredentials:[describeSnapshotAttributeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeResponse.m b/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeResponse.m index a9a58284..e89edea0 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeResponseUnmarshaller.m index f04ee78d..0943c74b 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSnapshotAttributeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSnapshotsRequest.m b/src/Amazon.EC2/Model/EC2DescribeSnapshotsRequest.m index 4b0f7dd6..a033a3a5 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSnapshotsRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeSnapshotsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSnapshotsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSnapshotsRequestMarshaller.m index 2d42b284..cd2c6c6d 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSnapshotsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSnapshotsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeSnapshotsRequest *)describeSn AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeSnapshots" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeSnapshotsRequest delegate]]; [request setCredentials:[describeSnapshotsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeSnapshotsResponse.m b/src/Amazon.EC2/Model/EC2DescribeSnapshotsResponse.m index b9dcbeed..6206896a 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSnapshotsResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeSnapshotsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSnapshotsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSnapshotsResponseUnmarshaller.m index 23f35e8f..c96975d5 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSnapshotsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSnapshotsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionRequest.m b/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionRequest.m index 3c77edb2..a6571f6b 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionRequestMarshaller.m index d0b3bf8c..323643cd 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeSpotDatafeedSubscriptionReque AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeSpotDatafeedSubscription" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeSpotDatafeedSubscriptionRequest delegate]]; [request setCredentials:[describeSpotDatafeedSubscriptionRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionResponse.m b/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionResponse.m index 5082feda..82ffb527 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionResponseUnmarshaller.m index 3a27f248..882b1c98 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotDatafeedSubscriptionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsRequest.m b/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsRequest.m index 3177404e..17fe1621 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsRequestMarshaller.m index a5460148..db87ab56 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeSpotInstanceRequestsRequest * AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeSpotInstanceRequests" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeSpotInstanceRequestsRequest delegate]]; [request setCredentials:[describeSpotInstanceRequestsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsResponse.m b/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsResponse.m index 6c910e7f..31828c47 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsResponseUnmarshaller.m index 98466090..19202c4a 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotInstanceRequestsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryRequest.m b/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryRequest.m index 8af2c5f7..e3040fb3 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryRequestMarshaller.m index 6ee7856d..e9b110cf 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeSpotPriceHistoryRequest *)des AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeSpotPriceHistory" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeSpotPriceHistoryRequest delegate]]; [request setCredentials:[describeSpotPriceHistoryRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryResponse.m b/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryResponse.m index 5375751e..b82954f4 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryResponseUnmarshaller.m index 357f6d64..6ef3cd23 100644 --- a/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeSpotPriceHistoryResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeTagsRequest.m b/src/Amazon.EC2/Model/EC2DescribeTagsRequest.m index 4b3766fb..aa7442d8 100644 --- a/src/Amazon.EC2/Model/EC2DescribeTagsRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeTagsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeTagsRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeTagsRequestMarshaller.m index 39ab7415..4a655bf4 100644 --- a/src/Amazon.EC2/Model/EC2DescribeTagsRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeTagsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeTagsRequest *)describeTagsReq AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeTags" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeTagsRequest delegate]]; [request setCredentials:[describeTagsRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeTagsResponse.m b/src/Amazon.EC2/Model/EC2DescribeTagsResponse.m index baca08c9..60736734 100644 --- a/src/Amazon.EC2/Model/EC2DescribeTagsResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeTagsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeTagsResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeTagsResponseUnmarshaller.m index eb0dcf67..ed4a6d71 100644 --- a/src/Amazon.EC2/Model/EC2DescribeTagsResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeTagsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeVolumesRequest.m b/src/Amazon.EC2/Model/EC2DescribeVolumesRequest.m index 45abcd85..9d8c3d29 100644 --- a/src/Amazon.EC2/Model/EC2DescribeVolumesRequest.m +++ b/src/Amazon.EC2/Model/EC2DescribeVolumesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeVolumesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DescribeVolumesRequestMarshaller.m index 02bfc062..b5e4a726 100644 --- a/src/Amazon.EC2/Model/EC2DescribeVolumesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeVolumesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DescribeVolumesRequest *)describeVolu AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DescribeVolumes" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[describeVolumesRequest delegate]]; [request setCredentials:[describeVolumesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DescribeVolumesResponse.m b/src/Amazon.EC2/Model/EC2DescribeVolumesResponse.m index 89397344..a4c532c3 100644 --- a/src/Amazon.EC2/Model/EC2DescribeVolumesResponse.m +++ b/src/Amazon.EC2/Model/EC2DescribeVolumesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DescribeVolumesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DescribeVolumesResponseUnmarshaller.m index 2223b860..12770e84 100644 --- a/src/Amazon.EC2/Model/EC2DescribeVolumesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DescribeVolumesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DetachVolumeRequest.m b/src/Amazon.EC2/Model/EC2DetachVolumeRequest.m index 238bcbce..e7b84655 100644 --- a/src/Amazon.EC2/Model/EC2DetachVolumeRequest.m +++ b/src/Amazon.EC2/Model/EC2DetachVolumeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DetachVolumeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DetachVolumeRequestMarshaller.m index a789a4ed..1e34c2c1 100644 --- a/src/Amazon.EC2/Model/EC2DetachVolumeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DetachVolumeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DetachVolumeRequest *)detachVolumeReq AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DetachVolume" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[detachVolumeRequest delegate]]; [request setCredentials:[detachVolumeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DetachVolumeResponse.m b/src/Amazon.EC2/Model/EC2DetachVolumeResponse.m index 413cf910..77f5b4d2 100644 --- a/src/Amazon.EC2/Model/EC2DetachVolumeResponse.m +++ b/src/Amazon.EC2/Model/EC2DetachVolumeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DetachVolumeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DetachVolumeResponseUnmarshaller.m index bf4c6fb0..4fc13eb1 100644 --- a/src/Amazon.EC2/Model/EC2DetachVolumeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DetachVolumeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DisassociateAddressRequest.m b/src/Amazon.EC2/Model/EC2DisassociateAddressRequest.m index f52f9e3e..b5402e96 100644 --- a/src/Amazon.EC2/Model/EC2DisassociateAddressRequest.m +++ b/src/Amazon.EC2/Model/EC2DisassociateAddressRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DisassociateAddressRequestMarshaller.m b/src/Amazon.EC2/Model/EC2DisassociateAddressRequestMarshaller.m index 1bb94eae..2f0ac932 100644 --- a/src/Amazon.EC2/Model/EC2DisassociateAddressRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2DisassociateAddressRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2DisassociateAddressRequest *)disassoc AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"DisassociateAddress" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[disassociateAddressRequest delegate]]; [request setCredentials:[disassociateAddressRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2DisassociateAddressResponse.m b/src/Amazon.EC2/Model/EC2DisassociateAddressResponse.m index e924f5d8..5bd3a65b 100644 --- a/src/Amazon.EC2/Model/EC2DisassociateAddressResponse.m +++ b/src/Amazon.EC2/Model/EC2DisassociateAddressResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2DisassociateAddressResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2DisassociateAddressResponseUnmarshaller.m index 89981385..6296a225 100644 --- a/src/Amazon.EC2/Model/EC2DisassociateAddressResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2DisassociateAddressResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2EbsBlockDevice.m b/src/Amazon.EC2/Model/EC2EbsBlockDevice.m index 5c32bd87..678f33b3 100644 --- a/src/Amazon.EC2/Model/EC2EbsBlockDevice.m +++ b/src/Amazon.EC2/Model/EC2EbsBlockDevice.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2EbsBlockDeviceUnmarshaller.m b/src/Amazon.EC2/Model/EC2EbsBlockDeviceUnmarshaller.m index 6fc4367a..00942f3f 100644 --- a/src/Amazon.EC2/Model/EC2EbsBlockDeviceUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2EbsBlockDeviceUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2EbsInstanceBlockDevice.m b/src/Amazon.EC2/Model/EC2EbsInstanceBlockDevice.m index 0e53a552..0687789e 100644 --- a/src/Amazon.EC2/Model/EC2EbsInstanceBlockDevice.m +++ b/src/Amazon.EC2/Model/EC2EbsInstanceBlockDevice.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2EbsInstanceBlockDeviceSpecification.m b/src/Amazon.EC2/Model/EC2EbsInstanceBlockDeviceSpecification.m index 0576a46c..18f3b2ce 100644 --- a/src/Amazon.EC2/Model/EC2EbsInstanceBlockDeviceSpecification.m +++ b/src/Amazon.EC2/Model/EC2EbsInstanceBlockDeviceSpecification.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2EbsInstanceBlockDeviceUnmarshaller.m b/src/Amazon.EC2/Model/EC2EbsInstanceBlockDeviceUnmarshaller.m index 4626230c..0d89c1a7 100644 --- a/src/Amazon.EC2/Model/EC2EbsInstanceBlockDeviceUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2EbsInstanceBlockDeviceUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Filter.m b/src/Amazon.EC2/Model/EC2Filter.m index a920a9d6..a8bb7aa8 100644 --- a/src/Amazon.EC2/Model/EC2Filter.m +++ b/src/Amazon.EC2/Model/EC2Filter.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2GetConsoleOutputRequest.m b/src/Amazon.EC2/Model/EC2GetConsoleOutputRequest.m index ae4df6b5..8d42043a 100644 --- a/src/Amazon.EC2/Model/EC2GetConsoleOutputRequest.m +++ b/src/Amazon.EC2/Model/EC2GetConsoleOutputRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2GetConsoleOutputRequestMarshaller.m b/src/Amazon.EC2/Model/EC2GetConsoleOutputRequestMarshaller.m index c6e5136a..69081a09 100644 --- a/src/Amazon.EC2/Model/EC2GetConsoleOutputRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2GetConsoleOutputRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2GetConsoleOutputRequest *)getConsoleO AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"GetConsoleOutput" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[getConsoleOutputRequest delegate]]; [request setCredentials:[getConsoleOutputRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2GetConsoleOutputResponse.m b/src/Amazon.EC2/Model/EC2GetConsoleOutputResponse.m index ad9faa83..051d89f0 100644 --- a/src/Amazon.EC2/Model/EC2GetConsoleOutputResponse.m +++ b/src/Amazon.EC2/Model/EC2GetConsoleOutputResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2GetConsoleOutputResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2GetConsoleOutputResponseUnmarshaller.m index ba869bd8..9b2ee58d 100644 --- a/src/Amazon.EC2/Model/EC2GetConsoleOutputResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2GetConsoleOutputResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2GetPasswordDataRequest.m b/src/Amazon.EC2/Model/EC2GetPasswordDataRequest.m index 1c5dc226..f449dcc4 100644 --- a/src/Amazon.EC2/Model/EC2GetPasswordDataRequest.m +++ b/src/Amazon.EC2/Model/EC2GetPasswordDataRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2GetPasswordDataRequestMarshaller.m b/src/Amazon.EC2/Model/EC2GetPasswordDataRequestMarshaller.m index cf001301..b2911d5b 100644 --- a/src/Amazon.EC2/Model/EC2GetPasswordDataRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2GetPasswordDataRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2GetPasswordDataRequest *)getPasswordD AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"GetPasswordData" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[getPasswordDataRequest delegate]]; [request setCredentials:[getPasswordDataRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2GetPasswordDataResponse.m b/src/Amazon.EC2/Model/EC2GetPasswordDataResponse.m index 743ed182..df5c7298 100644 --- a/src/Amazon.EC2/Model/EC2GetPasswordDataResponse.m +++ b/src/Amazon.EC2/Model/EC2GetPasswordDataResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2GetPasswordDataResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2GetPasswordDataResponseUnmarshaller.m index 8218000a..1888beeb 100644 --- a/src/Amazon.EC2/Model/EC2GetPasswordDataResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2GetPasswordDataResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2GroupIdentifier.m b/src/Amazon.EC2/Model/EC2GroupIdentifier.m index 74dddb33..b7390b58 100644 --- a/src/Amazon.EC2/Model/EC2GroupIdentifier.m +++ b/src/Amazon.EC2/Model/EC2GroupIdentifier.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2GroupIdentifierUnmarshaller.m b/src/Amazon.EC2/Model/EC2GroupIdentifierUnmarshaller.m index 13849af0..9a5acfef 100644 --- a/src/Amazon.EC2/Model/EC2GroupIdentifierUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2GroupIdentifierUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Image.m b/src/Amazon.EC2/Model/EC2Image.m index fa66b6b1..8cab9763 100644 --- a/src/Amazon.EC2/Model/EC2Image.m +++ b/src/Amazon.EC2/Model/EC2Image.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ImageAttribute.m b/src/Amazon.EC2/Model/EC2ImageAttribute.m index 2971c178..4a735bca 100644 --- a/src/Amazon.EC2/Model/EC2ImageAttribute.m +++ b/src/Amazon.EC2/Model/EC2ImageAttribute.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ImageAttributeUnmarshaller.m b/src/Amazon.EC2/Model/EC2ImageAttributeUnmarshaller.m index f5bb9ae0..d6f6cc77 100644 --- a/src/Amazon.EC2/Model/EC2ImageAttributeUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ImageAttributeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ImageUnmarshaller.m b/src/Amazon.EC2/Model/EC2ImageUnmarshaller.m index b8bc0892..39a96b3f 100644 --- a/src/Amazon.EC2/Model/EC2ImageUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ImageUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ImportKeyPairRequest.m b/src/Amazon.EC2/Model/EC2ImportKeyPairRequest.m index f0e17d6b..08241b4e 100644 --- a/src/Amazon.EC2/Model/EC2ImportKeyPairRequest.m +++ b/src/Amazon.EC2/Model/EC2ImportKeyPairRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ImportKeyPairRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ImportKeyPairRequestMarshaller.m index cb37d40a..cc90144a 100644 --- a/src/Amazon.EC2/Model/EC2ImportKeyPairRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ImportKeyPairRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ImportKeyPairRequest *)importKeyPairR AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ImportKeyPair" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[importKeyPairRequest delegate]]; [request setCredentials:[importKeyPairRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2ImportKeyPairResponse.m b/src/Amazon.EC2/Model/EC2ImportKeyPairResponse.m index 86798172..b1c6cbff 100644 --- a/src/Amazon.EC2/Model/EC2ImportKeyPairResponse.m +++ b/src/Amazon.EC2/Model/EC2ImportKeyPairResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ImportKeyPairResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ImportKeyPairResponseUnmarshaller.m index 5f34839f..ddf3b87d 100644 --- a/src/Amazon.EC2/Model/EC2ImportKeyPairResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ImportKeyPairResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Instance.m b/src/Amazon.EC2/Model/EC2Instance.m index a509bd85..73b511cd 100644 --- a/src/Amazon.EC2/Model/EC2Instance.m +++ b/src/Amazon.EC2/Model/EC2Instance.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceAttribute.m b/src/Amazon.EC2/Model/EC2InstanceAttribute.m index 548e157b..141d9703 100644 --- a/src/Amazon.EC2/Model/EC2InstanceAttribute.m +++ b/src/Amazon.EC2/Model/EC2InstanceAttribute.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceAttributeUnmarshaller.m b/src/Amazon.EC2/Model/EC2InstanceAttributeUnmarshaller.m index 1d50120c..79ea467a 100644 --- a/src/Amazon.EC2/Model/EC2InstanceAttributeUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2InstanceAttributeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMapping.m b/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMapping.m index 7f193478..cd9a3111 100644 --- a/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMapping.m +++ b/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMapping.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMappingSpecification.m b/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMappingSpecification.m index e2e15b4e..3b1306ec 100644 --- a/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMappingSpecification.m +++ b/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMappingSpecification.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMappingUnmarshaller.m b/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMappingUnmarshaller.m index 94204048..7ab81abe 100644 --- a/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMappingUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2InstanceBlockDeviceMappingUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceLicense.m b/src/Amazon.EC2/Model/EC2InstanceLicense.m index 3d59c332..269ad8f7 100644 --- a/src/Amazon.EC2/Model/EC2InstanceLicense.m +++ b/src/Amazon.EC2/Model/EC2InstanceLicense.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceLicenseSpecification.m b/src/Amazon.EC2/Model/EC2InstanceLicenseSpecification.m index 81275825..6742dec2 100644 --- a/src/Amazon.EC2/Model/EC2InstanceLicenseSpecification.m +++ b/src/Amazon.EC2/Model/EC2InstanceLicenseSpecification.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceLicenseUnmarshaller.m b/src/Amazon.EC2/Model/EC2InstanceLicenseUnmarshaller.m index ceae3d43..65a3197d 100644 --- a/src/Amazon.EC2/Model/EC2InstanceLicenseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2InstanceLicenseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceMonitoring.m b/src/Amazon.EC2/Model/EC2InstanceMonitoring.m index 8b618f21..ae39a0b2 100644 --- a/src/Amazon.EC2/Model/EC2InstanceMonitoring.m +++ b/src/Amazon.EC2/Model/EC2InstanceMonitoring.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceMonitoringUnmarshaller.m b/src/Amazon.EC2/Model/EC2InstanceMonitoringUnmarshaller.m index 343f90a8..b07ab36c 100644 --- a/src/Amazon.EC2/Model/EC2InstanceMonitoringUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2InstanceMonitoringUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceState.m b/src/Amazon.EC2/Model/EC2InstanceState.m index 9878940b..c9a84136 100644 --- a/src/Amazon.EC2/Model/EC2InstanceState.m +++ b/src/Amazon.EC2/Model/EC2InstanceState.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceStateChange.m b/src/Amazon.EC2/Model/EC2InstanceStateChange.m index e8b78ac1..cfbfb6d3 100644 --- a/src/Amazon.EC2/Model/EC2InstanceStateChange.m +++ b/src/Amazon.EC2/Model/EC2InstanceStateChange.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceStateChangeUnmarshaller.m b/src/Amazon.EC2/Model/EC2InstanceStateChangeUnmarshaller.m index d7ab9a29..0d0114c5 100644 --- a/src/Amazon.EC2/Model/EC2InstanceStateChangeUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2InstanceStateChangeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceStateUnmarshaller.m b/src/Amazon.EC2/Model/EC2InstanceStateUnmarshaller.m index f0185452..aad6d628 100644 --- a/src/Amazon.EC2/Model/EC2InstanceStateUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2InstanceStateUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2InstanceStatus.m b/src/Amazon.EC2/Model/EC2InstanceStatus.m new file mode 100644 index 00000000..c151989b --- /dev/null +++ b/src/Amazon.EC2/Model/EC2InstanceStatus.m @@ -0,0 +1,78 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2InstanceStatus.h" + + +@implementation EC2InstanceStatus + +@synthesize instanceId; +@synthesize availabilityZone; +@synthesize events; +@synthesize instanceState; + + +-(id)init +{ + if (self = [super init]) { + instanceId = nil; + availabilityZone = nil; + events = [[NSMutableArray alloc] initWithCapacity:1]; + instanceState = nil; + } + + return self; +} + + +-(void)addEvent:(EC2InstanceStatusEvent *)eventObject +{ + if (events == nil) { + events = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [events addObject:eventObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"InstanceId: %@,", instanceId] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AvailabilityZone: %@,", availabilityZone] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Events: %@,", events] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"InstanceState: %@,", instanceState] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [instanceId release]; + [availabilityZone release]; + [events release]; + [instanceState release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.EC2/Model/EC2InstanceStatusEvent.m b/src/Amazon.EC2/Model/EC2InstanceStatusEvent.m new file mode 100644 index 00000000..9c0a0717 --- /dev/null +++ b/src/Amazon.EC2/Model/EC2InstanceStatusEvent.m @@ -0,0 +1,69 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2InstanceStatusEvent.h" + + +@implementation EC2InstanceStatusEvent + +@synthesize code; +@synthesize descriptionValue; +@synthesize notBefore; +@synthesize notAfter; + + +-(id)init +{ + if (self = [super init]) { + code = nil; + descriptionValue = nil; + notBefore = nil; + notAfter = nil; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Code: %@,", code] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Description: %@,", descriptionValue] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"NotBefore: %@,", notBefore] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"NotAfter: %@,", notAfter] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [code release]; + [descriptionValue release]; + [notBefore release]; + [notAfter release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.EC2/Model/EC2InstanceStatusEventUnmarshaller.m b/src/Amazon.EC2/Model/EC2InstanceStatusEventUnmarshaller.m new file mode 100644 index 00000000..47a5f52b --- /dev/null +++ b/src/Amazon.EC2/Model/EC2InstanceStatusEventUnmarshaller.m @@ -0,0 +1,92 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2InstanceStatusEventUnmarshaller.h" + +@implementation EC2InstanceStatusEventUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + + + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + + + if ([[elementName lowercaseString] isEqualToString:@"requestid"]) { + if (parentObject != nil && [parentObject respondsToSelector:@selector(setRequestId:)]) { + [parentObject performSelector:@selector(setRequestId:) withObject:self.currentText]; + } + } + + if ([elementName isEqualToString:@"code"]) { + self.response.code = self.currentText; + return; + } + + if ([elementName isEqualToString:@"description"]) { + self.response.descriptionValue = self.currentText; + return; + } + + if ([elementName isEqualToString:@"notBefore"]) { + self.response.notBefore = [AmazonSDKUtil convertStringToDate:self.currentText]; + return; + } + + if ([elementName isEqualToString:@"notAfter"]) { + self.response.notAfter = [AmazonSDKUtil convertStringToDate:self.currentText]; + return; + } + + if ([elementName isEqualToString:@"instanceStatusEvent"]) { + if (caller != nil) { + [parser setDelegate:caller]; + } + + if (parentObject != nil && [parentObject respondsToSelector:parentSetter]) { + [parentObject performSelector:parentSetter withObject:self.response]; + } + + return; + } +} + +-(EC2InstanceStatusEvent *)response +{ + if (nil == response) { + response = [[EC2InstanceStatusEvent alloc] init]; + } + return response; +} + + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.EC2/Model/EC2InstanceStatusUnmarshaller.m b/src/Amazon.EC2/Model/EC2InstanceStatusUnmarshaller.m new file mode 100644 index 00000000..fb103131 --- /dev/null +++ b/src/Amazon.EC2/Model/EC2InstanceStatusUnmarshaller.m @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2InstanceStatusUnmarshaller.h" + +@implementation EC2InstanceStatusUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + + if ([elementName isEqualToString:@"eventsSet"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.events withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"eventsSet"; + listUnmarshaller.entryElementName = @"item"; + listUnmarshaller.delegateClass = [EC2InstanceStatusEventUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + + if ([elementName isEqualToString:@"instanceState"]) { + EC2InstanceStateUnmarshaller *unmarshaller = [[[EC2InstanceStateUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setInstanceState:)] autorelease]; + unmarshaller.endElementTagName = @"instanceState"; + [parser setDelegate:unmarshaller]; + } + + + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + + + if ([[elementName lowercaseString] isEqualToString:@"requestid"]) { + if (parentObject != nil && [parentObject respondsToSelector:@selector(setRequestId:)]) { + [parentObject performSelector:@selector(setRequestId:) withObject:self.currentText]; + } + } + + if ([elementName isEqualToString:@"instanceId"]) { + self.response.instanceId = self.currentText; + return; + } + + if ([elementName isEqualToString:@"availabilityZone"]) { + self.response.availabilityZone = self.currentText; + return; + } + + if ([elementName isEqualToString:@"instanceStatus"]) { + if (caller != nil) { + [parser setDelegate:caller]; + } + + if (parentObject != nil && [parentObject respondsToSelector:parentSetter]) { + [parentObject performSelector:parentSetter withObject:self.response]; + } + + return; + } +} + +-(EC2InstanceStatus *)response +{ + if (nil == response) { + response = [[EC2InstanceStatus alloc] init]; + } + return response; +} + + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.EC2/Model/EC2InstanceUnmarshaller.m b/src/Amazon.EC2/Model/EC2InstanceUnmarshaller.m index 07de41a6..26553494 100644 --- a/src/Amazon.EC2/Model/EC2InstanceUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2InstanceUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2IpPermission.m b/src/Amazon.EC2/Model/EC2IpPermission.m index 69b7e4df..3dd282dc 100644 --- a/src/Amazon.EC2/Model/EC2IpPermission.m +++ b/src/Amazon.EC2/Model/EC2IpPermission.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2IpPermissionUnmarshaller.m b/src/Amazon.EC2/Model/EC2IpPermissionUnmarshaller.m index 43dd8fff..b3e18081 100644 --- a/src/Amazon.EC2/Model/EC2IpPermissionUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2IpPermissionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2KeyPair.m b/src/Amazon.EC2/Model/EC2KeyPair.m index 824636b7..d44a8957 100644 --- a/src/Amazon.EC2/Model/EC2KeyPair.m +++ b/src/Amazon.EC2/Model/EC2KeyPair.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2KeyPairInfo.m b/src/Amazon.EC2/Model/EC2KeyPairInfo.m index 6c260e5d..81d445f9 100644 --- a/src/Amazon.EC2/Model/EC2KeyPairInfo.m +++ b/src/Amazon.EC2/Model/EC2KeyPairInfo.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2KeyPairInfoUnmarshaller.m b/src/Amazon.EC2/Model/EC2KeyPairInfoUnmarshaller.m index bae5f4b8..62209777 100644 --- a/src/Amazon.EC2/Model/EC2KeyPairInfoUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2KeyPairInfoUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2KeyPairUnmarshaller.m b/src/Amazon.EC2/Model/EC2KeyPairUnmarshaller.m index 6a05e337..bbc17f22 100644 --- a/src/Amazon.EC2/Model/EC2KeyPairUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2KeyPairUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2LaunchPermission.m b/src/Amazon.EC2/Model/EC2LaunchPermission.m index 0561ea52..90dc4526 100644 --- a/src/Amazon.EC2/Model/EC2LaunchPermission.m +++ b/src/Amazon.EC2/Model/EC2LaunchPermission.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2LaunchPermissionModifications.m b/src/Amazon.EC2/Model/EC2LaunchPermissionModifications.m index 7471a808..e68db1a5 100644 --- a/src/Amazon.EC2/Model/EC2LaunchPermissionModifications.m +++ b/src/Amazon.EC2/Model/EC2LaunchPermissionModifications.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2LaunchPermissionUnmarshaller.m b/src/Amazon.EC2/Model/EC2LaunchPermissionUnmarshaller.m index 5d69fb5e..6070fd8f 100644 --- a/src/Amazon.EC2/Model/EC2LaunchPermissionUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2LaunchPermissionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2LaunchSpecification.m b/src/Amazon.EC2/Model/EC2LaunchSpecification.m index b7731596..bd050031 100644 --- a/src/Amazon.EC2/Model/EC2LaunchSpecification.m +++ b/src/Amazon.EC2/Model/EC2LaunchSpecification.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2LaunchSpecificationUnmarshaller.m b/src/Amazon.EC2/Model/EC2LaunchSpecificationUnmarshaller.m index 85a4c4ac..3bc4024f 100644 --- a/src/Amazon.EC2/Model/EC2LaunchSpecificationUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2LaunchSpecificationUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2License.m b/src/Amazon.EC2/Model/EC2License.m index 5b5d7ff3..2e8c186c 100644 --- a/src/Amazon.EC2/Model/EC2License.m +++ b/src/Amazon.EC2/Model/EC2License.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2LicenseCapacity.m b/src/Amazon.EC2/Model/EC2LicenseCapacity.m index 766dc129..b47f0645 100644 --- a/src/Amazon.EC2/Model/EC2LicenseCapacity.m +++ b/src/Amazon.EC2/Model/EC2LicenseCapacity.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2LicenseCapacityUnmarshaller.m b/src/Amazon.EC2/Model/EC2LicenseCapacityUnmarshaller.m index f4046cc1..4c918ef0 100644 --- a/src/Amazon.EC2/Model/EC2LicenseCapacityUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2LicenseCapacityUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2LicenseUnmarshaller.m b/src/Amazon.EC2/Model/EC2LicenseUnmarshaller.m index 210b5ab1..72fb048a 100644 --- a/src/Amazon.EC2/Model/EC2LicenseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2LicenseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ModifyImageAttributeRequest.m b/src/Amazon.EC2/Model/EC2ModifyImageAttributeRequest.m index 9ffbd0f2..aa726213 100644 --- a/src/Amazon.EC2/Model/EC2ModifyImageAttributeRequest.m +++ b/src/Amazon.EC2/Model/EC2ModifyImageAttributeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ModifyImageAttributeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ModifyImageAttributeRequestMarshaller.m index 9e887acb..a5664462 100644 --- a/src/Amazon.EC2/Model/EC2ModifyImageAttributeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ModifyImageAttributeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ModifyImageAttributeRequest *)modifyI AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ModifyImageAttribute" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[modifyImageAttributeRequest delegate]]; [request setCredentials:[modifyImageAttributeRequest credentials]]; @@ -123,7 +123,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ModifyImageAttributeRequest *)modifyI } if (modifyImageAttributeRequest != nil) { if (modifyImageAttributeRequest.descriptionValue != nil) { - [request setParameterValue:[NSString stringWithFormat:@"%@", modifyImageAttributeRequest.descriptionValue] forKey:[NSString stringWithFormat:@"%@", @"Description"]]; + [request setParameterValue:[NSString stringWithFormat:@"%@", modifyImageAttributeRequest.descriptionValue] forKey:[NSString stringWithFormat:@"%@", @"Description.Value"]]; } } diff --git a/src/Amazon.EC2/Model/EC2ModifyImageAttributeResponse.m b/src/Amazon.EC2/Model/EC2ModifyImageAttributeResponse.m index da07df8a..04db16d6 100644 --- a/src/Amazon.EC2/Model/EC2ModifyImageAttributeResponse.m +++ b/src/Amazon.EC2/Model/EC2ModifyImageAttributeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ModifyImageAttributeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ModifyImageAttributeResponseUnmarshaller.m index 724368ec..3502c5f6 100644 --- a/src/Amazon.EC2/Model/EC2ModifyImageAttributeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ModifyImageAttributeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeRequest.m b/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeRequest.m index 31ebe467..89909e97 100644 --- a/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeRequest.m +++ b/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeRequestMarshaller.m index 5679649d..fbbaa5cd 100644 --- a/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ModifyInstanceAttributeRequest *)modi AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ModifyInstanceAttribute" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[modifyInstanceAttributeRequest delegate]]; [request setCredentials:[modifyInstanceAttributeRequest credentials]]; @@ -82,37 +82,37 @@ +(AmazonServiceRequest *)createRequest:(EC2ModifyInstanceAttributeRequest *)modi } if (modifyInstanceAttributeRequest != nil) { if (modifyInstanceAttributeRequest.sourceDestCheckIsSet) { - [request setParameterValue:(modifyInstanceAttributeRequest.sourceDestCheck ? @"true":@"false")forKey:[NSString stringWithFormat:@"%@", @"SourceDestCheck"]]; + [request setParameterValue:(modifyInstanceAttributeRequest.sourceDestCheck ? @"true":@"false")forKey:[NSString stringWithFormat:@"%@", @"SourceDestCheck.Value"]]; } } if (modifyInstanceAttributeRequest != nil) { if (modifyInstanceAttributeRequest.disableApiTerminationIsSet) { - [request setParameterValue:(modifyInstanceAttributeRequest.disableApiTermination ? @"true":@"false")forKey:[NSString stringWithFormat:@"%@", @"DisableApiTermination"]]; + [request setParameterValue:(modifyInstanceAttributeRequest.disableApiTermination ? @"true":@"false")forKey:[NSString stringWithFormat:@"%@", @"DisableApiTermination.Value"]]; } } if (modifyInstanceAttributeRequest != nil) { if (modifyInstanceAttributeRequest.instanceType != nil) { - [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.instanceType] forKey:[NSString stringWithFormat:@"%@", @"InstanceType"]]; + [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.instanceType] forKey:[NSString stringWithFormat:@"%@", @"InstanceType.Value"]]; } } if (modifyInstanceAttributeRequest != nil) { if (modifyInstanceAttributeRequest.kernel != nil) { - [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.kernel] forKey:[NSString stringWithFormat:@"%@", @"Kernel"]]; + [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.kernel] forKey:[NSString stringWithFormat:@"%@", @"Kernel.Value"]]; } } if (modifyInstanceAttributeRequest != nil) { if (modifyInstanceAttributeRequest.ramdisk != nil) { - [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.ramdisk] forKey:[NSString stringWithFormat:@"%@", @"Ramdisk"]]; + [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.ramdisk] forKey:[NSString stringWithFormat:@"%@", @"Ramdisk.Value"]]; } } if (modifyInstanceAttributeRequest != nil) { if (modifyInstanceAttributeRequest.userData != nil) { - [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.userData] forKey:[NSString stringWithFormat:@"%@", @"UserData"]]; + [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.userData] forKey:[NSString stringWithFormat:@"%@", @"UserData.Value"]]; } } if (modifyInstanceAttributeRequest != nil) { if (modifyInstanceAttributeRequest.instanceInitiatedShutdownBehavior != nil) { - [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.instanceInitiatedShutdownBehavior] forKey:[NSString stringWithFormat:@"%@", @"InstanceInitiatedShutdownBehavior"]]; + [request setParameterValue:[NSString stringWithFormat:@"%@", modifyInstanceAttributeRequest.instanceInitiatedShutdownBehavior] forKey:[NSString stringWithFormat:@"%@", @"InstanceInitiatedShutdownBehavior.Value"]]; } } diff --git a/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeResponse.m b/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeResponse.m index 96c16156..81182f10 100644 --- a/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeResponse.m +++ b/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeResponseUnmarshaller.m index 8422eac4..d24e74de 100644 --- a/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ModifyInstanceAttributeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeRequest.m b/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeRequest.m index 3af64ea0..6b803908 100644 --- a/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeRequest.m +++ b/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeRequestMarshaller.m index cba44ab9..afd6d701 100644 --- a/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ModifySnapshotAttributeRequest *)modi AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ModifySnapshotAttribute" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[modifySnapshotAttributeRequest delegate]]; [request setCredentials:[modifySnapshotAttributeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeResponse.m b/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeResponse.m index 22bb1d61..1879a6c6 100644 --- a/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeResponse.m +++ b/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeResponseUnmarshaller.m index f6fa12e6..25ef937a 100644 --- a/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ModifySnapshotAttributeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2MonitorInstancesRequest.m b/src/Amazon.EC2/Model/EC2MonitorInstancesRequest.m index d0aaebca..3b2ee5f4 100644 --- a/src/Amazon.EC2/Model/EC2MonitorInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2MonitorInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2MonitorInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2MonitorInstancesRequestMarshaller.m index ff02aa99..7028959c 100644 --- a/src/Amazon.EC2/Model/EC2MonitorInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2MonitorInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2MonitorInstancesRequest *)monitorInst AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"MonitorInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[monitorInstancesRequest delegate]]; [request setCredentials:[monitorInstancesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2MonitorInstancesResponse.m b/src/Amazon.EC2/Model/EC2MonitorInstancesResponse.m index f0c3805d..b95cefb5 100644 --- a/src/Amazon.EC2/Model/EC2MonitorInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2MonitorInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2MonitorInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2MonitorInstancesResponseUnmarshaller.m index 429de582..bc7c041b 100644 --- a/src/Amazon.EC2/Model/EC2MonitorInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2MonitorInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Monitoring.m b/src/Amazon.EC2/Model/EC2Monitoring.m index a3b1769c..0acc2df6 100644 --- a/src/Amazon.EC2/Model/EC2Monitoring.m +++ b/src/Amazon.EC2/Model/EC2Monitoring.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2MonitoringUnmarshaller.m b/src/Amazon.EC2/Model/EC2MonitoringUnmarshaller.m index 3de1001d..c3ca440c 100644 --- a/src/Amazon.EC2/Model/EC2MonitoringUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2MonitoringUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Placement.m b/src/Amazon.EC2/Model/EC2Placement.m index 6d1a2ea6..58aaf023 100644 --- a/src/Amazon.EC2/Model/EC2Placement.m +++ b/src/Amazon.EC2/Model/EC2Placement.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2PlacementGroup.m b/src/Amazon.EC2/Model/EC2PlacementGroup.m index 3941c2a8..40ba99a2 100644 --- a/src/Amazon.EC2/Model/EC2PlacementGroup.m +++ b/src/Amazon.EC2/Model/EC2PlacementGroup.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2PlacementGroupUnmarshaller.m b/src/Amazon.EC2/Model/EC2PlacementGroupUnmarshaller.m index ad74461d..fb97fb2c 100644 --- a/src/Amazon.EC2/Model/EC2PlacementGroupUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2PlacementGroupUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2PlacementUnmarshaller.m b/src/Amazon.EC2/Model/EC2PlacementUnmarshaller.m index 3eb70e44..ceb3452d 100644 --- a/src/Amazon.EC2/Model/EC2PlacementUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2PlacementUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ProductCode.m b/src/Amazon.EC2/Model/EC2ProductCode.m index 241d360a..309b6d08 100644 --- a/src/Amazon.EC2/Model/EC2ProductCode.m +++ b/src/Amazon.EC2/Model/EC2ProductCode.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ProductCodeUnmarshaller.m b/src/Amazon.EC2/Model/EC2ProductCodeUnmarshaller.m index 487820ee..abb896be 100644 --- a/src/Amazon.EC2/Model/EC2ProductCodeUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ProductCodeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingRequest.m b/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingRequest.m index 1437b4e3..65f3c250 100644 --- a/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingRequest.m +++ b/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingRequestMarshaller.m b/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingRequestMarshaller.m index 65a27c92..59a64e0f 100644 --- a/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2PurchaseReservedInstancesOfferingRequ AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"PurchaseReservedInstancesOffering" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[purchaseReservedInstancesOfferingRequest delegate]]; [request setCredentials:[purchaseReservedInstancesOfferingRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingResponse.m b/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingResponse.m index e1e096c2..dabf98d0 100644 --- a/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingResponse.m +++ b/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingResponseUnmarshaller.m index 10025319..86a6bda7 100644 --- a/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2PurchaseReservedInstancesOfferingResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RebootInstancesRequest.m b/src/Amazon.EC2/Model/EC2RebootInstancesRequest.m index dcdab793..bcd7bc34 100644 --- a/src/Amazon.EC2/Model/EC2RebootInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2RebootInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RebootInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2RebootInstancesRequestMarshaller.m index 460eaafd..4300c833 100644 --- a/src/Amazon.EC2/Model/EC2RebootInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2RebootInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2RebootInstancesRequest *)rebootInstan AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"RebootInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[rebootInstancesRequest delegate]]; [request setCredentials:[rebootInstancesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2RebootInstancesResponse.m b/src/Amazon.EC2/Model/EC2RebootInstancesResponse.m index bece1890..278af223 100644 --- a/src/Amazon.EC2/Model/EC2RebootInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2RebootInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RebootInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2RebootInstancesResponseUnmarshaller.m index bcc6da6b..d99f3b0b 100644 --- a/src/Amazon.EC2/Model/EC2RebootInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2RebootInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RecurringCharge.m b/src/Amazon.EC2/Model/EC2RecurringCharge.m new file mode 100644 index 00000000..388cdcb2 --- /dev/null +++ b/src/Amazon.EC2/Model/EC2RecurringCharge.m @@ -0,0 +1,61 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2RecurringCharge.h" + + +@implementation EC2RecurringCharge + +@synthesize frequency; +@synthesize amount; + + +-(id)init +{ + if (self = [super init]) { + frequency = nil; + amount = nil; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Frequency: %@,", frequency] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Amount: %@,", amount] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [frequency release]; + [amount release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.EC2/Model/EC2RecurringChargeUnmarshaller.m b/src/Amazon.EC2/Model/EC2RecurringChargeUnmarshaller.m new file mode 100644 index 00000000..cf3b79a8 --- /dev/null +++ b/src/Amazon.EC2/Model/EC2RecurringChargeUnmarshaller.m @@ -0,0 +1,82 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2RecurringChargeUnmarshaller.h" + +@implementation EC2RecurringChargeUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + + + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + + + if ([[elementName lowercaseString] isEqualToString:@"requestid"]) { + if (parentObject != nil && [parentObject respondsToSelector:@selector(setRequestId:)]) { + [parentObject performSelector:@selector(setRequestId:) withObject:self.currentText]; + } + } + + if ([elementName isEqualToString:@"frequency"]) { + self.response.frequency = self.currentText; + return; + } + + if ([elementName isEqualToString:@"amount"]) { + self.response.amount = [AmazonSDKUtil convertStringToNumber:self.currentText]; + return; + } + + if ([elementName isEqualToString:@"recurringCharge"]) { + if (caller != nil) { + [parser setDelegate:caller]; + } + + if (parentObject != nil && [parentObject respondsToSelector:parentSetter]) { + [parentObject performSelector:parentSetter withObject:self.response]; + } + + return; + } +} + +-(EC2RecurringCharge *)response +{ + if (nil == response) { + response = [[EC2RecurringCharge alloc] init]; + } + return response; +} + + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.EC2/Model/EC2Region.m b/src/Amazon.EC2/Model/EC2Region.m index a28be25f..3fae9433 100644 --- a/src/Amazon.EC2/Model/EC2Region.m +++ b/src/Amazon.EC2/Model/EC2Region.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RegionUnmarshaller.m b/src/Amazon.EC2/Model/EC2RegionUnmarshaller.m index f0471b05..8d3eb373 100644 --- a/src/Amazon.EC2/Model/EC2RegionUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2RegionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RegisterImageRequest.m b/src/Amazon.EC2/Model/EC2RegisterImageRequest.m index adf32082..8920d728 100644 --- a/src/Amazon.EC2/Model/EC2RegisterImageRequest.m +++ b/src/Amazon.EC2/Model/EC2RegisterImageRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RegisterImageRequestMarshaller.m b/src/Amazon.EC2/Model/EC2RegisterImageRequestMarshaller.m index 4a1c1176..c84ebda1 100644 --- a/src/Amazon.EC2/Model/EC2RegisterImageRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2RegisterImageRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2RegisterImageRequest *)registerImageR AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"RegisterImage" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[registerImageRequest delegate]]; [request setCredentials:[registerImageRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2RegisterImageResponse.m b/src/Amazon.EC2/Model/EC2RegisterImageResponse.m index ccf3a660..b2134bf7 100644 --- a/src/Amazon.EC2/Model/EC2RegisterImageResponse.m +++ b/src/Amazon.EC2/Model/EC2RegisterImageResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RegisterImageResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2RegisterImageResponseUnmarshaller.m index 0bbde837..bba3a805 100644 --- a/src/Amazon.EC2/Model/EC2RegisterImageResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2RegisterImageResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ReleaseAddressRequest.m b/src/Amazon.EC2/Model/EC2ReleaseAddressRequest.m index 3804ced6..158a2f3e 100644 --- a/src/Amazon.EC2/Model/EC2ReleaseAddressRequest.m +++ b/src/Amazon.EC2/Model/EC2ReleaseAddressRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ReleaseAddressRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ReleaseAddressRequestMarshaller.m index 753b3b3e..9b8b34b5 100644 --- a/src/Amazon.EC2/Model/EC2ReleaseAddressRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ReleaseAddressRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ReleaseAddressRequest *)releaseAddres AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ReleaseAddress" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[releaseAddressRequest delegate]]; [request setCredentials:[releaseAddressRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2ReleaseAddressResponse.m b/src/Amazon.EC2/Model/EC2ReleaseAddressResponse.m index e24c63ee..b6a39819 100644 --- a/src/Amazon.EC2/Model/EC2ReleaseAddressResponse.m +++ b/src/Amazon.EC2/Model/EC2ReleaseAddressResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ReleaseAddressResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ReleaseAddressResponseUnmarshaller.m index e3d714c5..eaa1295b 100644 --- a/src/Amazon.EC2/Model/EC2ReleaseAddressResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ReleaseAddressResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RequestSpotInstancesRequest.m b/src/Amazon.EC2/Model/EC2RequestSpotInstancesRequest.m index 00b3e9b4..2639100c 100644 --- a/src/Amazon.EC2/Model/EC2RequestSpotInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2RequestSpotInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RequestSpotInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2RequestSpotInstancesRequestMarshaller.m index 972bdff5..e0b42181 100644 --- a/src/Amazon.EC2/Model/EC2RequestSpotInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2RequestSpotInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2RequestSpotInstancesRequest *)request AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"RequestSpotInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[requestSpotInstancesRequest delegate]]; [request setCredentials:[requestSpotInstancesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2RequestSpotInstancesResponse.m b/src/Amazon.EC2/Model/EC2RequestSpotInstancesResponse.m index 6be09bfd..6bbb1557 100644 --- a/src/Amazon.EC2/Model/EC2RequestSpotInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2RequestSpotInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RequestSpotInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2RequestSpotInstancesResponseUnmarshaller.m index bdbc33e2..cfeaebef 100644 --- a/src/Amazon.EC2/Model/EC2RequestSpotInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2RequestSpotInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Reservation.m b/src/Amazon.EC2/Model/EC2Reservation.m index 908b0c41..c0612ce3 100644 --- a/src/Amazon.EC2/Model/EC2Reservation.m +++ b/src/Amazon.EC2/Model/EC2Reservation.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ReservationUnmarshaller.m b/src/Amazon.EC2/Model/EC2ReservationUnmarshaller.m index f1b41f4e..7727f440 100644 --- a/src/Amazon.EC2/Model/EC2ReservationUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ReservationUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ReservedInstances.m b/src/Amazon.EC2/Model/EC2ReservedInstances.m index 1a9fabf7..64e410b3 100644 --- a/src/Amazon.EC2/Model/EC2ReservedInstances.m +++ b/src/Amazon.EC2/Model/EC2ReservedInstances.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -31,6 +31,8 @@ @implementation EC2ReservedInstances @synthesize tags; @synthesize instanceTenancy; @synthesize currencyCode; +@synthesize offeringType; +@synthesize recurringCharges; -(id)init @@ -49,6 +51,8 @@ -(id)init tags = [[NSMutableArray alloc] initWithCapacity:1]; instanceTenancy = nil; currencyCode = nil; + offeringType = nil; + recurringCharges = [[NSMutableArray alloc] initWithCapacity:1]; } return self; @@ -64,6 +68,15 @@ -(void)addTag:(EC2Tag *)tagObject [tags addObject:tagObject]; } +-(void)addRecurringCharge:(EC2RecurringCharge *)recurringChargeObject +{ + if (recurringCharges == nil) { + recurringCharges = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [recurringCharges addObject:recurringChargeObject]; +} + -(NSString *)description { @@ -83,6 +96,8 @@ -(NSString *)description [buffer appendString:[[[NSString alloc] initWithFormat:@"Tags: %@,", tags] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"InstanceTenancy: %@,", instanceTenancy] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"CurrencyCode: %@,", currencyCode] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"OfferingType: %@,", offeringType] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"RecurringCharges: %@,", recurringCharges] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -106,6 +121,8 @@ -(void)dealloc [tags release]; [instanceTenancy release]; [currencyCode release]; + [offeringType release]; + [recurringCharges release]; [super dealloc]; } diff --git a/src/Amazon.EC2/Model/EC2ReservedInstancesOffering.m b/src/Amazon.EC2/Model/EC2ReservedInstancesOffering.m index 8dbd41b1..4ff7458b 100644 --- a/src/Amazon.EC2/Model/EC2ReservedInstancesOffering.m +++ b/src/Amazon.EC2/Model/EC2ReservedInstancesOffering.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -27,6 +27,8 @@ @implementation EC2ReservedInstancesOffering @synthesize productDescription; @synthesize instanceTenancy; @synthesize currencyCode; +@synthesize offeringType; +@synthesize recurringCharges; -(id)init @@ -41,12 +43,23 @@ -(id)init productDescription = nil; instanceTenancy = nil; currencyCode = nil; + offeringType = nil; + recurringCharges = [[NSMutableArray alloc] initWithCapacity:1]; } return self; } +-(void)addRecurringCharge:(EC2RecurringCharge *)recurringChargeObject +{ + if (recurringCharges == nil) { + recurringCharges = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [recurringCharges addObject:recurringChargeObject]; +} + -(NSString *)description { @@ -62,6 +75,8 @@ -(NSString *)description [buffer appendString:[[[NSString alloc] initWithFormat:@"ProductDescription: %@,", productDescription] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"InstanceTenancy: %@,", instanceTenancy] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"CurrencyCode: %@,", currencyCode] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"OfferingType: %@,", offeringType] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"RecurringCharges: %@,", recurringCharges] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -81,6 +96,8 @@ -(void)dealloc [productDescription release]; [instanceTenancy release]; [currencyCode release]; + [offeringType release]; + [recurringCharges release]; [super dealloc]; } diff --git a/src/Amazon.EC2/Model/EC2ReservedInstancesOfferingUnmarshaller.m b/src/Amazon.EC2/Model/EC2ReservedInstancesOfferingUnmarshaller.m index 6bc03521..77938f5d 100644 --- a/src/Amazon.EC2/Model/EC2ReservedInstancesOfferingUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ReservedInstancesOfferingUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,6 +23,15 @@ -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName name [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + if ([elementName isEqualToString:@"recurringCharges"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.recurringCharges withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"recurringCharges"; + listUnmarshaller.entryElementName = @"item"; + listUnmarshaller.delegateClass = [EC2RecurringChargeUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + if ([elementName isEqualToString:@"Error"]) { @@ -86,6 +95,11 @@ -(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namesp return; } + if ([elementName isEqualToString:@"offeringType"]) { + self.response.offeringType = self.currentText; + return; + } + if ([elementName isEqualToString:@"reservedInstancesOffering"]) { if (caller != nil) { [parser setDelegate:caller]; diff --git a/src/Amazon.EC2/Model/EC2ReservedInstancesUnmarshaller.m b/src/Amazon.EC2/Model/EC2ReservedInstancesUnmarshaller.m index cd06ad8d..ae266602 100644 --- a/src/Amazon.EC2/Model/EC2ReservedInstancesUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ReservedInstancesUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -32,6 +32,15 @@ -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName name [parser setDelegate:listUnmarshaller]; } + if ([elementName isEqualToString:@"recurringCharges"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.recurringCharges withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"recurringCharges"; + listUnmarshaller.entryElementName = @"item"; + listUnmarshaller.delegateClass = [EC2RecurringChargeUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + if ([elementName isEqualToString:@"Error"]) { @@ -110,6 +119,11 @@ -(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namesp return; } + if ([elementName isEqualToString:@"offeringType"]) { + self.response.offeringType = self.currentText; + return; + } + if ([elementName isEqualToString:@"reservedInstances"]) { if (caller != nil) { [parser setDelegate:caller]; diff --git a/src/Amazon.EC2/Model/EC2ResetImageAttributeRequest.m b/src/Amazon.EC2/Model/EC2ResetImageAttributeRequest.m index 7e27221a..e3d0d01a 100644 --- a/src/Amazon.EC2/Model/EC2ResetImageAttributeRequest.m +++ b/src/Amazon.EC2/Model/EC2ResetImageAttributeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ResetImageAttributeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ResetImageAttributeRequestMarshaller.m index f707c3c4..8a3aa8c6 100644 --- a/src/Amazon.EC2/Model/EC2ResetImageAttributeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ResetImageAttributeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ResetImageAttributeRequest *)resetIma AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ResetImageAttribute" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[resetImageAttributeRequest delegate]]; [request setCredentials:[resetImageAttributeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2ResetImageAttributeResponse.m b/src/Amazon.EC2/Model/EC2ResetImageAttributeResponse.m index 28368454..9cbfe8d5 100644 --- a/src/Amazon.EC2/Model/EC2ResetImageAttributeResponse.m +++ b/src/Amazon.EC2/Model/EC2ResetImageAttributeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ResetImageAttributeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ResetImageAttributeResponseUnmarshaller.m index ff369ae7..0b5dc979 100644 --- a/src/Amazon.EC2/Model/EC2ResetImageAttributeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ResetImageAttributeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ResetInstanceAttributeRequest.m b/src/Amazon.EC2/Model/EC2ResetInstanceAttributeRequest.m index 29554a46..0b2ee747 100644 --- a/src/Amazon.EC2/Model/EC2ResetInstanceAttributeRequest.m +++ b/src/Amazon.EC2/Model/EC2ResetInstanceAttributeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ResetInstanceAttributeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ResetInstanceAttributeRequestMarshaller.m index 7f75b072..41c93148 100644 --- a/src/Amazon.EC2/Model/EC2ResetInstanceAttributeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ResetInstanceAttributeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ResetInstanceAttributeRequest *)reset AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ResetInstanceAttribute" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[resetInstanceAttributeRequest delegate]]; [request setCredentials:[resetInstanceAttributeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2ResetInstanceAttributeResponse.m b/src/Amazon.EC2/Model/EC2ResetInstanceAttributeResponse.m index 140632d3..54101813 100644 --- a/src/Amazon.EC2/Model/EC2ResetInstanceAttributeResponse.m +++ b/src/Amazon.EC2/Model/EC2ResetInstanceAttributeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ResetInstanceAttributeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ResetInstanceAttributeResponseUnmarshaller.m index b96bbdb3..121d352a 100644 --- a/src/Amazon.EC2/Model/EC2ResetInstanceAttributeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ResetInstanceAttributeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeRequest.m b/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeRequest.m index 63803bba..0f9bd70b 100644 --- a/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeRequest.m +++ b/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeRequestMarshaller.m b/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeRequestMarshaller.m index 93c9d93d..c221a7e8 100644 --- a/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2ResetSnapshotAttributeRequest *)reset AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"ResetSnapshotAttribute" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[resetSnapshotAttributeRequest delegate]]; [request setCredentials:[resetSnapshotAttributeRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeResponse.m b/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeResponse.m index 7f1c6b6d..59b2f39e 100644 --- a/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeResponse.m +++ b/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeResponseUnmarshaller.m index 566ad76c..23455745 100644 --- a/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2ResetSnapshotAttributeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressRequest.m b/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressRequest.m index e0f47ca9..344b9d8f 100644 --- a/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressRequest.m +++ b/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressRequestMarshaller.m b/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressRequestMarshaller.m index 71e10d75..db618861 100644 --- a/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2RevokeSecurityGroupIngressRequest *)r AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"RevokeSecurityGroupIngress" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[revokeSecurityGroupIngressRequest delegate]]; [request setCredentials:[revokeSecurityGroupIngressRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressResponse.m b/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressResponse.m index ffb1425b..1d26901f 100644 --- a/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressResponse.m +++ b/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressResponseUnmarshaller.m index a62242cc..9c93ee90 100644 --- a/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2RevokeSecurityGroupIngressResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RunInstancesRequest.m b/src/Amazon.EC2/Model/EC2RunInstancesRequest.m index 8eeea205..6e9c868c 100644 --- a/src/Amazon.EC2/Model/EC2RunInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2RunInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RunInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2RunInstancesRequestMarshaller.m index e8e522ee..998e26ec 100644 --- a/src/Amazon.EC2/Model/EC2RunInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2RunInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2RunInstancesRequest *)runInstancesReq AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"RunInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[runInstancesRequest delegate]]; [request setCredentials:[runInstancesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2RunInstancesResponse.m b/src/Amazon.EC2/Model/EC2RunInstancesResponse.m index e158a832..3290020f 100644 --- a/src/Amazon.EC2/Model/EC2RunInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2RunInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2RunInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2RunInstancesResponseUnmarshaller.m index 34f3f7ec..b1a192ff 100644 --- a/src/Amazon.EC2/Model/EC2RunInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2RunInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2S3Storage.m b/src/Amazon.EC2/Model/EC2S3Storage.m index 9e0079ef..f4236102 100644 --- a/src/Amazon.EC2/Model/EC2S3Storage.m +++ b/src/Amazon.EC2/Model/EC2S3Storage.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2S3StorageUnmarshaller.m b/src/Amazon.EC2/Model/EC2S3StorageUnmarshaller.m index 0d3a0167..99966618 100644 --- a/src/Amazon.EC2/Model/EC2S3StorageUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2S3StorageUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SecurityGroup.m b/src/Amazon.EC2/Model/EC2SecurityGroup.m index e1ea1b14..4d049edc 100644 --- a/src/Amazon.EC2/Model/EC2SecurityGroup.m +++ b/src/Amazon.EC2/Model/EC2SecurityGroup.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SecurityGroupUnmarshaller.m b/src/Amazon.EC2/Model/EC2SecurityGroupUnmarshaller.m index 347ad338..bdf5ce1e 100644 --- a/src/Amazon.EC2/Model/EC2SecurityGroupUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2SecurityGroupUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Snapshot.m b/src/Amazon.EC2/Model/EC2Snapshot.m index 427de850..678b83a0 100644 --- a/src/Amazon.EC2/Model/EC2Snapshot.m +++ b/src/Amazon.EC2/Model/EC2Snapshot.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SnapshotUnmarshaller.m b/src/Amazon.EC2/Model/EC2SnapshotUnmarshaller.m index 900bea05..279fbbc8 100644 --- a/src/Amazon.EC2/Model/EC2SnapshotUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2SnapshotUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotDatafeedSubscription.m b/src/Amazon.EC2/Model/EC2SpotDatafeedSubscription.m index 20a86814..58a01ed6 100644 --- a/src/Amazon.EC2/Model/EC2SpotDatafeedSubscription.m +++ b/src/Amazon.EC2/Model/EC2SpotDatafeedSubscription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotDatafeedSubscriptionUnmarshaller.m b/src/Amazon.EC2/Model/EC2SpotDatafeedSubscriptionUnmarshaller.m index 37cccc9f..7ce936e5 100644 --- a/src/Amazon.EC2/Model/EC2SpotDatafeedSubscriptionUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2SpotDatafeedSubscriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotInstanceRequest.m b/src/Amazon.EC2/Model/EC2SpotInstanceRequest.m index fc24bf8b..76e58130 100644 --- a/src/Amazon.EC2/Model/EC2SpotInstanceRequest.m +++ b/src/Amazon.EC2/Model/EC2SpotInstanceRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotInstanceRequestUnmarshaller.m b/src/Amazon.EC2/Model/EC2SpotInstanceRequestUnmarshaller.m index 4e424cf7..e0a9dfea 100644 --- a/src/Amazon.EC2/Model/EC2SpotInstanceRequestUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2SpotInstanceRequestUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotInstanceStateFault.m b/src/Amazon.EC2/Model/EC2SpotInstanceStateFault.m index 2697b8c3..cb0f777b 100644 --- a/src/Amazon.EC2/Model/EC2SpotInstanceStateFault.m +++ b/src/Amazon.EC2/Model/EC2SpotInstanceStateFault.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotInstanceStateFaultUnmarshaller.m b/src/Amazon.EC2/Model/EC2SpotInstanceStateFaultUnmarshaller.m index 205021c8..359d21e0 100644 --- a/src/Amazon.EC2/Model/EC2SpotInstanceStateFaultUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2SpotInstanceStateFaultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotPlacement.m b/src/Amazon.EC2/Model/EC2SpotPlacement.m index f1923807..8bb16b70 100644 --- a/src/Amazon.EC2/Model/EC2SpotPlacement.m +++ b/src/Amazon.EC2/Model/EC2SpotPlacement.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotPlacementUnmarshaller.m b/src/Amazon.EC2/Model/EC2SpotPlacementUnmarshaller.m index 32bff703..90a3a433 100644 --- a/src/Amazon.EC2/Model/EC2SpotPlacementUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2SpotPlacementUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotPrice.m b/src/Amazon.EC2/Model/EC2SpotPrice.m index 6837d07c..ffaa7564 100644 --- a/src/Amazon.EC2/Model/EC2SpotPrice.m +++ b/src/Amazon.EC2/Model/EC2SpotPrice.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2SpotPriceUnmarshaller.m b/src/Amazon.EC2/Model/EC2SpotPriceUnmarshaller.m index bacdf420..65e6cd66 100644 --- a/src/Amazon.EC2/Model/EC2SpotPriceUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2SpotPriceUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2StartInstancesRequest.m b/src/Amazon.EC2/Model/EC2StartInstancesRequest.m index 0c5e1a07..0fa9f31b 100644 --- a/src/Amazon.EC2/Model/EC2StartInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2StartInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2StartInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2StartInstancesRequestMarshaller.m index a8ce2dd9..125cf5e1 100644 --- a/src/Amazon.EC2/Model/EC2StartInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2StartInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2StartInstancesRequest *)startInstance AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"StartInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[startInstancesRequest delegate]]; [request setCredentials:[startInstancesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2StartInstancesResponse.m b/src/Amazon.EC2/Model/EC2StartInstancesResponse.m index 4e92cb19..9183da71 100644 --- a/src/Amazon.EC2/Model/EC2StartInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2StartInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2StartInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2StartInstancesResponseUnmarshaller.m index 95557993..461dc48a 100644 --- a/src/Amazon.EC2/Model/EC2StartInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2StartInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2StateReason.m b/src/Amazon.EC2/Model/EC2StateReason.m index ae068dec..b6796192 100644 --- a/src/Amazon.EC2/Model/EC2StateReason.m +++ b/src/Amazon.EC2/Model/EC2StateReason.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2StateReasonUnmarshaller.m b/src/Amazon.EC2/Model/EC2StateReasonUnmarshaller.m index a92fe396..4f1c8b1e 100644 --- a/src/Amazon.EC2/Model/EC2StateReasonUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2StateReasonUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2StopInstancesRequest.m b/src/Amazon.EC2/Model/EC2StopInstancesRequest.m index cfb68a20..bcfdc1b8 100644 --- a/src/Amazon.EC2/Model/EC2StopInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2StopInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2StopInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2StopInstancesRequestMarshaller.m index 168da556..d0c6ba6c 100644 --- a/src/Amazon.EC2/Model/EC2StopInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2StopInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2StopInstancesRequest *)stopInstancesR AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"StopInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[stopInstancesRequest delegate]]; [request setCredentials:[stopInstancesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2StopInstancesResponse.m b/src/Amazon.EC2/Model/EC2StopInstancesResponse.m index f1bdb06e..607984dc 100644 --- a/src/Amazon.EC2/Model/EC2StopInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2StopInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2StopInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2StopInstancesResponseUnmarshaller.m index 9b879113..cfe00848 100644 --- a/src/Amazon.EC2/Model/EC2StopInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2StopInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Storage.m b/src/Amazon.EC2/Model/EC2Storage.m index 6cf8072b..7e924e04 100644 --- a/src/Amazon.EC2/Model/EC2Storage.m +++ b/src/Amazon.EC2/Model/EC2Storage.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2StorageUnmarshaller.m b/src/Amazon.EC2/Model/EC2StorageUnmarshaller.m index 0d8b5a4f..0514f943 100644 --- a/src/Amazon.EC2/Model/EC2StorageUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2StorageUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Tag.m b/src/Amazon.EC2/Model/EC2Tag.m index 17f42a90..73da7d9e 100644 --- a/src/Amazon.EC2/Model/EC2Tag.m +++ b/src/Amazon.EC2/Model/EC2Tag.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2TagDescription.m b/src/Amazon.EC2/Model/EC2TagDescription.m index d1727f73..551ea781 100644 --- a/src/Amazon.EC2/Model/EC2TagDescription.m +++ b/src/Amazon.EC2/Model/EC2TagDescription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2TagDescriptionUnmarshaller.m b/src/Amazon.EC2/Model/EC2TagDescriptionUnmarshaller.m index 633e141f..dbc8410c 100644 --- a/src/Amazon.EC2/Model/EC2TagDescriptionUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2TagDescriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2TagUnmarshaller.m b/src/Amazon.EC2/Model/EC2TagUnmarshaller.m index e6f3d1b0..0d791f07 100644 --- a/src/Amazon.EC2/Model/EC2TagUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2TagUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2TerminateInstancesRequest.m b/src/Amazon.EC2/Model/EC2TerminateInstancesRequest.m index db6cc114..617c9170 100644 --- a/src/Amazon.EC2/Model/EC2TerminateInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2TerminateInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2TerminateInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2TerminateInstancesRequestMarshaller.m index 53fc9115..7ee69d0d 100644 --- a/src/Amazon.EC2/Model/EC2TerminateInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2TerminateInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2TerminateInstancesRequest *)terminate AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"TerminateInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[terminateInstancesRequest delegate]]; [request setCredentials:[terminateInstancesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2TerminateInstancesResponse.m b/src/Amazon.EC2/Model/EC2TerminateInstancesResponse.m index b4be71ed..e562dc13 100644 --- a/src/Amazon.EC2/Model/EC2TerminateInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2TerminateInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2TerminateInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2TerminateInstancesResponseUnmarshaller.m index 8bf0fa4b..cef6f4c3 100644 --- a/src/Amazon.EC2/Model/EC2TerminateInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2TerminateInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2UnmonitorInstancesRequest.m b/src/Amazon.EC2/Model/EC2UnmonitorInstancesRequest.m index 3716fb6a..91c3a34e 100644 --- a/src/Amazon.EC2/Model/EC2UnmonitorInstancesRequest.m +++ b/src/Amazon.EC2/Model/EC2UnmonitorInstancesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2UnmonitorInstancesRequestMarshaller.m b/src/Amazon.EC2/Model/EC2UnmonitorInstancesRequestMarshaller.m index f442616d..72ed48b4 100644 --- a/src/Amazon.EC2/Model/EC2UnmonitorInstancesRequestMarshaller.m +++ b/src/Amazon.EC2/Model/EC2UnmonitorInstancesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(EC2UnmonitorInstancesRequest *)unmonitor AmazonServiceRequest *request = [[EC2Request alloc] init]; [request setParameterValue:@"UnmonitorInstances" forKey:@"Action"]; - [request setParameterValue:@"2011-05-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-01" forKey:@"Version"]; [request setDelegate:[unmonitorInstancesRequest delegate]]; [request setCredentials:[unmonitorInstancesRequest credentials]]; diff --git a/src/Amazon.EC2/Model/EC2UnmonitorInstancesResponse.m b/src/Amazon.EC2/Model/EC2UnmonitorInstancesResponse.m index 5584557a..89f9d9ac 100644 --- a/src/Amazon.EC2/Model/EC2UnmonitorInstancesResponse.m +++ b/src/Amazon.EC2/Model/EC2UnmonitorInstancesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2UnmonitorInstancesResponseUnmarshaller.m b/src/Amazon.EC2/Model/EC2UnmonitorInstancesResponseUnmarshaller.m index b71e0b65..a4c19824 100644 --- a/src/Amazon.EC2/Model/EC2UnmonitorInstancesResponseUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2UnmonitorInstancesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2UserIdGroupPair.m b/src/Amazon.EC2/Model/EC2UserIdGroupPair.m index 0f13859a..99a6f4f2 100644 --- a/src/Amazon.EC2/Model/EC2UserIdGroupPair.m +++ b/src/Amazon.EC2/Model/EC2UserIdGroupPair.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2UserIdGroupPairUnmarshaller.m b/src/Amazon.EC2/Model/EC2UserIdGroupPairUnmarshaller.m index 1066b282..83c81a19 100644 --- a/src/Amazon.EC2/Model/EC2UserIdGroupPairUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2UserIdGroupPairUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2Volume.m b/src/Amazon.EC2/Model/EC2Volume.m index 77d25a8c..550d8ff9 100644 --- a/src/Amazon.EC2/Model/EC2Volume.m +++ b/src/Amazon.EC2/Model/EC2Volume.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2VolumeAttachment.m b/src/Amazon.EC2/Model/EC2VolumeAttachment.m index cec211d5..896b307d 100644 --- a/src/Amazon.EC2/Model/EC2VolumeAttachment.m +++ b/src/Amazon.EC2/Model/EC2VolumeAttachment.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2VolumeAttachmentUnmarshaller.m b/src/Amazon.EC2/Model/EC2VolumeAttachmentUnmarshaller.m index 0a94a587..bec89eb0 100644 --- a/src/Amazon.EC2/Model/EC2VolumeAttachmentUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2VolumeAttachmentUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.EC2/Model/EC2VolumeUnmarshaller.m b/src/Amazon.EC2/Model/EC2VolumeUnmarshaller.m index b57155d4..30fabeed 100644 --- a/src/Amazon.EC2/Model/EC2VolumeUnmarshaller.m +++ b/src/Amazon.EC2/Model/EC2VolumeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/.DS_Store b/src/Amazon.ElasticLoadBalancing/.DS_Store index 659a281d8d7301403acc1822d8326a7f1bcf381b..0279bcc3e8a56ae828c5fc3d5fb890c7d82df92d 100644 GIT binary patch delta 9 QcmZoMXf@ctBEiT701m_gK>z>% delta 7 OcmZoQXffEpA^`vjP69Rn diff --git a/src/Amazon.ElasticLoadBalancing/AmazonElasticLoadBalancingClient.m b/src/Amazon.ElasticLoadBalancing/AmazonElasticLoadBalancingClient.m index 42549b43..5f57974a 100644 --- a/src/Amazon.ElasticLoadBalancing/AmazonElasticLoadBalancingClient.m +++ b/src/Amazon.ElasticLoadBalancing/AmazonElasticLoadBalancingClient.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -35,46 +35,53 @@ -(id)initWithCredentials:(AmazonCredentials *)theCredentials return self; } --(ElasticLoadBalancingConfigureHealthCheckResponse *)configureHealthCheck:(ElasticLoadBalancingConfigureHealthCheckRequest *)configureHealthCheckRequest +-(ElasticLoadBalancingDeleteLoadBalancerListenersResponse *)deleteLoadBalancerListeners:(ElasticLoadBalancingDeleteLoadBalancerListenersRequest *)deleteLoadBalancerListenersRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingConfigureHealthCheckRequestMarshaller createRequest:configureHealthCheckRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller createRequest:deleteLoadBalancerListenersRequest]; - return (ElasticLoadBalancingConfigureHealthCheckResponse *)[self invoke:request rawRequest:configureHealthCheckRequest unmarshallerDelegate:[ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller class]]; + return (ElasticLoadBalancingDeleteLoadBalancerListenersResponse *)[self invoke:request rawRequest:deleteLoadBalancerListenersRequest unmarshallerDelegate:[ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller class]]; } --(ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse *)setLoadBalancerPoliciesForBackendServer:(ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest *)setLoadBalancerPoliciesForBackendServerRequest +-(ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse *)setLoadBalancerPoliciesOfListener:(ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest *)setLoadBalancerPoliciesOfListenerRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller createRequest:setLoadBalancerPoliciesForBackendServerRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller createRequest:setLoadBalancerPoliciesOfListenerRequest]; - return (ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse *)[self invoke:request rawRequest:setLoadBalancerPoliciesForBackendServerRequest unmarshallerDelegate:[ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller class]]; + return (ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse *)[self invoke:request rawRequest:setLoadBalancerPoliciesOfListenerRequest unmarshallerDelegate:[ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller class]]; } --(ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse *)setLoadBalancerListenerSSLCertificate:(ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest *)setLoadBalancerListenerSSLCertificateRequest +-(ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse *)enableAvailabilityZonesForLoadBalancer:(ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest *)enableAvailabilityZonesForLoadBalancerRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller createRequest:setLoadBalancerListenerSSLCertificateRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller createRequest:enableAvailabilityZonesForLoadBalancerRequest]; - return (ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse *)[self invoke:request rawRequest:setLoadBalancerListenerSSLCertificateRequest unmarshallerDelegate:[ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller class]]; + return (ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse *)[self invoke:request rawRequest:enableAvailabilityZonesForLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller class]]; } --(ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse *)registerInstancesWithLoadBalancer:(ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest *)registerInstancesWithLoadBalancerRequest +-(ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse *)deregisterInstancesFromLoadBalancer:(ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest *)deregisterInstancesFromLoadBalancerRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller createRequest:registerInstancesWithLoadBalancerRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller createRequest:deregisterInstancesFromLoadBalancerRequest]; - return (ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse *)[self invoke:request rawRequest:registerInstancesWithLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller class]]; + return (ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse *)[self invoke:request rawRequest:deregisterInstancesFromLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller class]]; } --(ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse *)setLoadBalancerPoliciesOfListener:(ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest *)setLoadBalancerPoliciesOfListenerRequest +-(ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse *)describeLoadBalancerPolicies:(ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest *)describeLoadBalancerPoliciesRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller createRequest:setLoadBalancerPoliciesOfListenerRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller createRequest:describeLoadBalancerPoliciesRequest]; - return (ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse *)[self invoke:request rawRequest:setLoadBalancerPoliciesOfListenerRequest unmarshallerDelegate:[ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller class]]; + return (ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse *)[self invoke:request rawRequest:describeLoadBalancerPoliciesRequest unmarshallerDelegate:[ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller class]]; } --(ElasticLoadBalancingDeleteLoadBalancerListenersResponse *)deleteLoadBalancerListeners:(ElasticLoadBalancingDeleteLoadBalancerListenersRequest *)deleteLoadBalancerListenersRequest +-(ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse *)describeLoadBalancerPolicyTypes:(ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest *)describeLoadBalancerPolicyTypesRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller createRequest:deleteLoadBalancerListenersRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller createRequest:describeLoadBalancerPolicyTypesRequest]; - return (ElasticLoadBalancingDeleteLoadBalancerListenersResponse *)[self invoke:request rawRequest:deleteLoadBalancerListenersRequest unmarshallerDelegate:[ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller class]]; + return (ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse *)[self invoke:request rawRequest:describeLoadBalancerPolicyTypesRequest unmarshallerDelegate:[ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller class]]; +} + +-(ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse *)setLoadBalancerListenerSSLCertificate:(ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest *)setLoadBalancerListenerSSLCertificateRequest +{ + AmazonServiceRequest *request = [ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller createRequest:setLoadBalancerListenerSSLCertificateRequest]; + + return (ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse *)[self invoke:request rawRequest:setLoadBalancerListenerSSLCertificateRequest unmarshallerDelegate:[ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller class]]; } -(ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse *)createLBCookieStickinessPolicy:(ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest *)createLBCookieStickinessPolicyRequest @@ -84,95 +91,109 @@ -(ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse *)createLBCookieSti return (ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse *)[self invoke:request rawRequest:createLBCookieStickinessPolicyRequest unmarshallerDelegate:[ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller class]]; } --(ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse *)describeLoadBalancerPolicies:(ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest *)describeLoadBalancerPoliciesRequest +-(ElasticLoadBalancingDeleteLoadBalancerPolicyResponse *)deleteLoadBalancerPolicy:(ElasticLoadBalancingDeleteLoadBalancerPolicyRequest *)deleteLoadBalancerPolicyRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller createRequest:describeLoadBalancerPoliciesRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller createRequest:deleteLoadBalancerPolicyRequest]; - return (ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse *)[self invoke:request rawRequest:describeLoadBalancerPoliciesRequest unmarshallerDelegate:[ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller class]]; + return (ElasticLoadBalancingDeleteLoadBalancerPolicyResponse *)[self invoke:request rawRequest:deleteLoadBalancerPolicyRequest unmarshallerDelegate:[ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller class]]; } --(ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse *)describeLoadBalancerPolicyTypes:(ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest *)describeLoadBalancerPolicyTypesRequest +-(ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse *)registerInstancesWithLoadBalancer:(ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest *)registerInstancesWithLoadBalancerRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller createRequest:describeLoadBalancerPolicyTypesRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller createRequest:registerInstancesWithLoadBalancerRequest]; - return (ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse *)[self invoke:request rawRequest:describeLoadBalancerPolicyTypesRequest unmarshallerDelegate:[ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller class]]; + return (ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse *)[self invoke:request rawRequest:registerInstancesWithLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller class]]; } --(ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse *)disableAvailabilityZonesForLoadBalancer:(ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest *)disableAvailabilityZonesForLoadBalancerRequest +-(ElasticLoadBalancingConfigureHealthCheckResponse *)configureHealthCheck:(ElasticLoadBalancingConfigureHealthCheckRequest *)configureHealthCheckRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller createRequest:disableAvailabilityZonesForLoadBalancerRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingConfigureHealthCheckRequestMarshaller createRequest:configureHealthCheckRequest]; - return (ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse *)[self invoke:request rawRequest:disableAvailabilityZonesForLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller class]]; + return (ElasticLoadBalancingConfigureHealthCheckResponse *)[self invoke:request rawRequest:configureHealthCheckRequest unmarshallerDelegate:[ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller class]]; } --(ElasticLoadBalancingCreateLoadBalancerResponse *)createLoadBalancer:(ElasticLoadBalancingCreateLoadBalancerRequest *)createLoadBalancerRequest +-(ElasticLoadBalancingDescribeLoadBalancersResponse *)describeLoadBalancers:(ElasticLoadBalancingDescribeLoadBalancersRequest *)describeLoadBalancersRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingCreateLoadBalancerRequestMarshaller createRequest:createLoadBalancerRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller createRequest:describeLoadBalancersRequest]; - return (ElasticLoadBalancingCreateLoadBalancerResponse *)[self invoke:request rawRequest:createLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller class]]; + return (ElasticLoadBalancingDescribeLoadBalancersResponse *)[self invoke:request rawRequest:describeLoadBalancersRequest unmarshallerDelegate:[ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller class]]; } --(ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse *)enableAvailabilityZonesForLoadBalancer:(ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest *)enableAvailabilityZonesForLoadBalancerRequest +-(ElasticLoadBalancingDescribeInstanceHealthResponse *)describeInstanceHealth:(ElasticLoadBalancingDescribeInstanceHealthRequest *)describeInstanceHealthRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller createRequest:enableAvailabilityZonesForLoadBalancerRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller createRequest:describeInstanceHealthRequest]; - return (ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse *)[self invoke:request rawRequest:enableAvailabilityZonesForLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller class]]; + return (ElasticLoadBalancingDescribeInstanceHealthResponse *)[self invoke:request rawRequest:describeInstanceHealthRequest unmarshallerDelegate:[ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller class]]; } --(ElasticLoadBalancingCreateLoadBalancerPolicyResponse *)createLoadBalancerPolicy:(ElasticLoadBalancingCreateLoadBalancerPolicyRequest *)createLoadBalancerPolicyRequest +-(ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse *)attachLoadBalancerToSubnets:(ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest *)attachLoadBalancerToSubnetsRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller createRequest:createLoadBalancerPolicyRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller createRequest:attachLoadBalancerToSubnetsRequest]; - return (ElasticLoadBalancingCreateLoadBalancerPolicyResponse *)[self invoke:request rawRequest:createLoadBalancerPolicyRequest unmarshallerDelegate:[ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller class]]; + return (ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse *)[self invoke:request rawRequest:attachLoadBalancerToSubnetsRequest unmarshallerDelegate:[ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller class]]; } --(ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse *)deregisterInstancesFromLoadBalancer:(ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest *)deregisterInstancesFromLoadBalancerRequest +-(ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse *)disableAvailabilityZonesForLoadBalancer:(ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest *)disableAvailabilityZonesForLoadBalancerRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller createRequest:deregisterInstancesFromLoadBalancerRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller createRequest:disableAvailabilityZonesForLoadBalancerRequest]; - return (ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse *)[self invoke:request rawRequest:deregisterInstancesFromLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller class]]; + return (ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse *)[self invoke:request rawRequest:disableAvailabilityZonesForLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller class]]; } --(ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse *)createAppCookieStickinessPolicy:(ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest *)createAppCookieStickinessPolicyRequest +-(ElasticLoadBalancingCreateLoadBalancerListenersResponse *)createLoadBalancerListeners:(ElasticLoadBalancingCreateLoadBalancerListenersRequest *)createLoadBalancerListenersRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller createRequest:createAppCookieStickinessPolicyRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller createRequest:createLoadBalancerListenersRequest]; - return (ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse *)[self invoke:request rawRequest:createAppCookieStickinessPolicyRequest unmarshallerDelegate:[ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller class]]; + return (ElasticLoadBalancingCreateLoadBalancerListenersResponse *)[self invoke:request rawRequest:createLoadBalancerListenersRequest unmarshallerDelegate:[ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller class]]; } --(ElasticLoadBalancingDeleteLoadBalancerResponse *)deleteLoadBalancer:(ElasticLoadBalancingDeleteLoadBalancerRequest *)deleteLoadBalancerRequest +-(ElasticLoadBalancingCreateLoadBalancerPolicyResponse *)createLoadBalancerPolicy:(ElasticLoadBalancingCreateLoadBalancerPolicyRequest *)createLoadBalancerPolicyRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller createRequest:deleteLoadBalancerRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller createRequest:createLoadBalancerPolicyRequest]; - return (ElasticLoadBalancingDeleteLoadBalancerResponse *)[self invoke:request rawRequest:deleteLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller class]]; + return (ElasticLoadBalancingCreateLoadBalancerPolicyResponse *)[self invoke:request rawRequest:createLoadBalancerPolicyRequest unmarshallerDelegate:[ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller class]]; } --(ElasticLoadBalancingDeleteLoadBalancerPolicyResponse *)deleteLoadBalancerPolicy:(ElasticLoadBalancingDeleteLoadBalancerPolicyRequest *)deleteLoadBalancerPolicyRequest +-(ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse *)setLoadBalancerPoliciesForBackendServer:(ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest *)setLoadBalancerPoliciesForBackendServerRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller createRequest:deleteLoadBalancerPolicyRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller createRequest:setLoadBalancerPoliciesForBackendServerRequest]; - return (ElasticLoadBalancingDeleteLoadBalancerPolicyResponse *)[self invoke:request rawRequest:deleteLoadBalancerPolicyRequest unmarshallerDelegate:[ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller class]]; + return (ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse *)[self invoke:request rawRequest:setLoadBalancerPoliciesForBackendServerRequest unmarshallerDelegate:[ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller class]]; } --(ElasticLoadBalancingDescribeInstanceHealthResponse *)describeInstanceHealth:(ElasticLoadBalancingDescribeInstanceHealthRequest *)describeInstanceHealthRequest +-(ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse *)detachLoadBalancerFromSubnets:(ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest *)detachLoadBalancerFromSubnetsRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller createRequest:describeInstanceHealthRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller createRequest:detachLoadBalancerFromSubnetsRequest]; - return (ElasticLoadBalancingDescribeInstanceHealthResponse *)[self invoke:request rawRequest:describeInstanceHealthRequest unmarshallerDelegate:[ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller class]]; + return (ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse *)[self invoke:request rawRequest:detachLoadBalancerFromSubnetsRequest unmarshallerDelegate:[ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller class]]; } --(ElasticLoadBalancingDescribeLoadBalancersResponse *)describeLoadBalancers:(ElasticLoadBalancingDescribeLoadBalancersRequest *)describeLoadBalancersRequest +-(ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse *)applySecurityGroupsToLoadBalancer:(ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest *)applySecurityGroupsToLoadBalancerRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller createRequest:describeLoadBalancersRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller createRequest:applySecurityGroupsToLoadBalancerRequest]; - return (ElasticLoadBalancingDescribeLoadBalancersResponse *)[self invoke:request rawRequest:describeLoadBalancersRequest unmarshallerDelegate:[ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller class]]; + return (ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse *)[self invoke:request rawRequest:applySecurityGroupsToLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller class]]; } --(ElasticLoadBalancingCreateLoadBalancerListenersResponse *)createLoadBalancerListeners:(ElasticLoadBalancingCreateLoadBalancerListenersRequest *)createLoadBalancerListenersRequest +-(ElasticLoadBalancingDeleteLoadBalancerResponse *)deleteLoadBalancer:(ElasticLoadBalancingDeleteLoadBalancerRequest *)deleteLoadBalancerRequest { - AmazonServiceRequest *request = [ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller createRequest:createLoadBalancerListenersRequest]; + AmazonServiceRequest *request = [ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller createRequest:deleteLoadBalancerRequest]; - return (ElasticLoadBalancingCreateLoadBalancerListenersResponse *)[self invoke:request rawRequest:createLoadBalancerListenersRequest unmarshallerDelegate:[ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller class]]; + return (ElasticLoadBalancingDeleteLoadBalancerResponse *)[self invoke:request rawRequest:deleteLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller class]]; +} + +-(ElasticLoadBalancingCreateLoadBalancerResponse *)createLoadBalancer:(ElasticLoadBalancingCreateLoadBalancerRequest *)createLoadBalancerRequest +{ + AmazonServiceRequest *request = [ElasticLoadBalancingCreateLoadBalancerRequestMarshaller createRequest:createLoadBalancerRequest]; + + return (ElasticLoadBalancingCreateLoadBalancerResponse *)[self invoke:request rawRequest:createLoadBalancerRequest unmarshallerDelegate:[ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller class]]; +} + +-(ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse *)createAppCookieStickinessPolicy:(ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest *)createAppCookieStickinessPolicyRequest +{ + AmazonServiceRequest *request = [ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller createRequest:createAppCookieStickinessPolicyRequest]; + + return (ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse *)[self invoke:request rawRequest:createAppCookieStickinessPolicyRequest unmarshallerDelegate:[ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller class]]; } diff --git a/src/Amazon.ElasticLoadBalancing/ElasticLoadBalancingResponse.m b/src/Amazon.ElasticLoadBalancing/ElasticLoadBalancingResponse.m index 04915ba6..70fd9caf 100644 --- a/src/Amazon.ElasticLoadBalancing/ElasticLoadBalancingResponse.m +++ b/src/Amazon.ElasticLoadBalancing/ElasticLoadBalancingResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/ElasticLoadBalancingResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/ElasticLoadBalancingResponseUnmarshaller.m index 4fab7cf6..33f09c96 100644 --- a/src/Amazon.ElasticLoadBalancing/ElasticLoadBalancingResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/ElasticLoadBalancingResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAppCookieStickinessPolicy.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAppCookieStickinessPolicy.m index 7de923dd..717221bc 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAppCookieStickinessPolicy.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAppCookieStickinessPolicy.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAppCookieStickinessPolicyUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAppCookieStickinessPolicyUnmarshaller.m index 56ba0254..18b19448 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAppCookieStickinessPolicyUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAppCookieStickinessPolicyUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.m new file mode 100644 index 00000000..116253e4 --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.m @@ -0,0 +1,70 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.h" + + +@implementation ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest + +@synthesize loadBalancerName; +@synthesize securityGroups; + + +-(id)init +{ + if (self = [super init]) { + loadBalancerName = nil; + securityGroups = [[NSMutableArray alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)addSecurityGroup:(NSString *)securityGroupObject +{ + if (securityGroups == nil) { + securityGroups = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [securityGroups addObject:securityGroupObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"LoadBalancerName: %@,", loadBalancerName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"SecurityGroups: %@,", securityGroups] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [loadBalancerName release]; + [securityGroups release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.m new file mode 100644 index 00000000..cd81bc98 --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.m @@ -0,0 +1,54 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.h" + +@implementation ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest *)applySecurityGroupsToLoadBalancerRequest +{ + AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; + + [request setParameterValue:@"ApplySecurityGroupsToLoadBalancer" forKey:@"Action"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; + + [request setDelegate:[applySecurityGroupsToLoadBalancerRequest delegate]]; + [request setCredentials:[applySecurityGroupsToLoadBalancerRequest credentials]]; + [request setEndpoint:[applySecurityGroupsToLoadBalancerRequest requestEndpoint]]; + [request setRequestTag:[applySecurityGroupsToLoadBalancerRequest requestTag]]; + + if (applySecurityGroupsToLoadBalancerRequest != nil) { + if (applySecurityGroupsToLoadBalancerRequest.loadBalancerName != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", applySecurityGroupsToLoadBalancerRequest.loadBalancerName] forKey:[NSString stringWithFormat:@"%@", @"LoadBalancerName"]]; + } + } + + if (applySecurityGroupsToLoadBalancerRequest != nil) { + int securityGroupsListIndex = 1; + for (NSString *securityGroupsListValue in applySecurityGroupsToLoadBalancerRequest.securityGroups) { + if (securityGroupsListValue != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", securityGroupsListValue] forKey:[NSString stringWithFormat:@"%@.member.%d", @"SecurityGroups", securityGroupsListIndex]]; + } + + securityGroupsListIndex++; + } + } + + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.m new file mode 100644 index 00000000..7a56c656 --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.m @@ -0,0 +1,91 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.h" + + +@implementation ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse + +@synthesize securityGroups; + + +-(id)init +{ + if (self = [super init]) { + securityGroups = [[NSMutableArray alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { + newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { + newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InvalidSecurityGroup"]) { + newException = [[ElasticLoadBalancingInvalidSecurityGroupException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSString *)securityGroupsObjectAtIndex:(int)index +{ + return (NSString *)[securityGroups objectAtIndex:index]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"SecurityGroups: %@,", securityGroups] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [securityGroups release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.m new file mode 100644 index 00000000..991c9e23 --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.m @@ -0,0 +1,75 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.h" + +@implementation ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + + if ([elementName isEqualToString:@"SecurityGroups"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.securityGroups withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"SecurityGroups"; + listUnmarshaller.entryElementName = @"member"; + listUnmarshaller.delegateClass = [AmazonValueUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + + + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + + + if ([elementName isEqualToString:@"ApplySecurityGroupsToLoadBalancerResult"]) { + if (caller != nil) { + [parser setDelegate:caller]; + } + + if (parentObject != nil && [parentObject respondsToSelector:parentSetter]) { + [parentObject performSelector:parentSetter withObject:self.response]; + } + + return; + } +} + +-(ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse *)response +{ + if (nil == response) { + response = [[ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse alloc] init]; + } + return response; +} + + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.m new file mode 100644 index 00000000..90795f6e --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.m @@ -0,0 +1,70 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.h" + + +@implementation ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest + +@synthesize loadBalancerName; +@synthesize subnets; + + +-(id)init +{ + if (self = [super init]) { + loadBalancerName = nil; + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)addSubnet:(NSString *)subnetObject +{ + if (subnets == nil) { + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [subnets addObject:subnetObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"LoadBalancerName: %@,", loadBalancerName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Subnets: %@,", subnets] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [loadBalancerName release]; + [subnets release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.m new file mode 100644 index 00000000..7f743a99 --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.m @@ -0,0 +1,54 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.h" + +@implementation ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest *)attachLoadBalancerToSubnetsRequest +{ + AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; + + [request setParameterValue:@"AttachLoadBalancerToSubnets" forKey:@"Action"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; + + [request setDelegate:[attachLoadBalancerToSubnetsRequest delegate]]; + [request setCredentials:[attachLoadBalancerToSubnetsRequest credentials]]; + [request setEndpoint:[attachLoadBalancerToSubnetsRequest requestEndpoint]]; + [request setRequestTag:[attachLoadBalancerToSubnetsRequest requestTag]]; + + if (attachLoadBalancerToSubnetsRequest != nil) { + if (attachLoadBalancerToSubnetsRequest.loadBalancerName != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", attachLoadBalancerToSubnetsRequest.loadBalancerName] forKey:[NSString stringWithFormat:@"%@", @"LoadBalancerName"]]; + } + } + + if (attachLoadBalancerToSubnetsRequest != nil) { + int subnetsListIndex = 1; + for (NSString *subnetsListValue in attachLoadBalancerToSubnetsRequest.subnets) { + if (subnetsListValue != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", subnetsListValue] forKey:[NSString stringWithFormat:@"%@.member.%d", @"Subnets", subnetsListIndex]]; + } + + subnetsListIndex++; + } + } + + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.m new file mode 100644 index 00000000..fc7c275e --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.m @@ -0,0 +1,95 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.h" + + +@implementation ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse + +@synthesize subnets; + + +-(id)init +{ + if (self = [super init]) { + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"InvalidSubnet"]) { + newException = [[ElasticLoadBalancingInvalidSubnetException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"SubnetNotFound"]) { + newException = [[ElasticLoadBalancingSubnetNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { + newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { + newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSString *)subnetsObjectAtIndex:(int)index +{ + return (NSString *)[subnets objectAtIndex:index]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Subnets: %@,", subnets] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [subnets release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.m new file mode 100644 index 00000000..055eb13e --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.m @@ -0,0 +1,75 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.h" + +@implementation ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + + if ([elementName isEqualToString:@"Subnets"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.subnets withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"Subnets"; + listUnmarshaller.entryElementName = @"member"; + listUnmarshaller.delegateClass = [AmazonValueUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + + + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + + + if ([elementName isEqualToString:@"AttachLoadBalancerToSubnetsResult"]) { + if (caller != nil) { + [parser setDelegate:caller]; + } + + if (parentObject != nil && [parentObject respondsToSelector:parentSetter]) { + [parentObject performSelector:parentSetter withObject:self.response]; + } + + return; + } +} + +-(ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse *)response +{ + if (nil == response) { + response = [[ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse alloc] init]; + } + return response; +} + + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingBackendServerDescription.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingBackendServerDescription.m index 42d3f1e2..d24001f0 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingBackendServerDescription.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingBackendServerDescription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingBackendServerDescriptionUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingBackendServerDescriptionUnmarshaller.m index c2fd57bb..78ff6c5f 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingBackendServerDescriptionUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingBackendServerDescriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCertificateNotFoundException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCertificateNotFoundException.m index f2bbf074..4f1dcb64 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCertificateNotFoundException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCertificateNotFoundException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckRequest.m index c154dd55..aba11a38 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.m index 4a1e474b..42c54ffe 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingConfigureHealthCheck AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"ConfigureHealthCheck" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[configureHealthCheckRequest delegate]]; [request setCredentials:[configureHealthCheckRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckResponse.m index 3dac9828..c2ac84c7 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.m index cc47aec0..e27dd032 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.m index 7c391926..6510c56c 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.m index f2b852cc..dc7a5420 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingCreateAppCookieStick AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"CreateAppCookieStickinessPolicy" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[createAppCookieStickinessPolicyRequest delegate]]; [request setCredentials:[createAppCookieStickinessPolicyRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.m index 74665924..189e6f1d 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -33,22 +33,22 @@ -(void)setException:(AmazonServiceException *)theException { AmazonServiceException *newException = nil; - if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { - newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; - } - if ([[theException errorCode] isEqualToString:@"TooManyPolicies"]) { newException = [[ElasticLoadBalancingTooManyPoliciesException alloc] initWithMessage:@""]; } - if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { - newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; - } - if ([[theException errorCode] isEqualToString:@"DuplicatePolicyName"]) { newException = [[ElasticLoadBalancingDuplicatePolicyNameException alloc] initWithMessage:@""]; } + if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { + newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { + newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; + } + if (newException != nil) { [newException setPropertiesWithException:theException]; [exception release]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.m index 013c4784..9dbfcf3e 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.m index c91dc2df..51825666 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.m index 0fac4efb..258a2d22 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingCreateLBCookieSticki AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"CreateLBCookieStickinessPolicy" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[createLBCookieStickinessPolicyRequest delegate]]; [request setCredentials:[createLBCookieStickinessPolicyRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.m index 594cdbb0..7470ea16 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -33,22 +33,22 @@ -(void)setException:(AmazonServiceException *)theException { AmazonServiceException *newException = nil; - if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { - newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; - } - if ([[theException errorCode] isEqualToString:@"TooManyPolicies"]) { newException = [[ElasticLoadBalancingTooManyPoliciesException alloc] initWithMessage:@""]; } - if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { - newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; - } - if ([[theException errorCode] isEqualToString:@"DuplicatePolicyName"]) { newException = [[ElasticLoadBalancingDuplicatePolicyNameException alloc] initWithMessage:@""]; } + if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { + newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { + newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; + } + if (newException != nil) { [newException setPropertiesWithException:theException]; [exception release]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.m index e3dd5825..2400e519 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersRequest.m index c6ff416e..9dfc1e59 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller.m index 9144b061..28c20ba2 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingCreateLoadBalancerLi AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"CreateLoadBalancerListeners" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[createLoadBalancerListenersRequest delegate]]; [request setCredentials:[createLoadBalancerListenersRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersResponse.m index d8d3e521..54ea50ab 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -27,14 +27,14 @@ -(void)setException:(AmazonServiceException *)theException { AmazonServiceException *newException = nil; - if ([[theException errorCode] isEqualToString:@"DuplicateListener"]) { - newException = [[ElasticLoadBalancingDuplicateListenerException alloc] initWithMessage:@""]; - } - if ([[theException errorCode] isEqualToString:@"CertificateNotFound"]) { newException = [[ElasticLoadBalancingCertificateNotFoundException alloc] initWithMessage:@""]; } + if ([[theException errorCode] isEqualToString:@"DuplicateListener"]) { + newException = [[ElasticLoadBalancingDuplicateListenerException alloc] initWithMessage:@""]; + } + if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; } diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller.m index 82d3c6ef..8a0d4443 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyRequest.m index d183d86a..be24a058 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.m index 144093dd..925a86b7 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingCreateLoadBalancerPo AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"CreateLoadBalancerPolicy" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[createLoadBalancerPolicyRequest delegate]]; [request setCredentials:[createLoadBalancerPolicyRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyResponse.m index b69ee6a6..dc90188d 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -33,24 +33,24 @@ -(void)setException:(AmazonServiceException *)theException { AmazonServiceException *newException = nil; - if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { - newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; + if ([[theException errorCode] isEqualToString:@"PolicyTypeNotFound"]) { + newException = [[ElasticLoadBalancingPolicyTypeNotFoundException alloc] initWithMessage:@""]; } if ([[theException errorCode] isEqualToString:@"TooManyPolicies"]) { newException = [[ElasticLoadBalancingTooManyPoliciesException alloc] initWithMessage:@""]; } - if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { - newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; - } - if ([[theException errorCode] isEqualToString:@"DuplicatePolicyName"]) { newException = [[ElasticLoadBalancingDuplicatePolicyNameException alloc] initWithMessage:@""]; } - if ([[theException errorCode] isEqualToString:@"PolicyTypeNotFound"]) { - newException = [[ElasticLoadBalancingPolicyTypeNotFoundException alloc] initWithMessage:@""]; + if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { + newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { + newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; } if (newException != nil) { diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.m index 4bfda25c..4f5edf61 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerRequest.m index 551ac4c0..c3e6b070 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,6 +21,8 @@ @implementation ElasticLoadBalancingCreateLoadBalancerRequest @synthesize loadBalancerName; @synthesize listeners; @synthesize availabilityZones; +@synthesize subnets; +@synthesize securityGroups; -(id)init @@ -29,6 +31,8 @@ -(id)init loadBalancerName = nil; listeners = [[NSMutableArray alloc] initWithCapacity:1]; availabilityZones = [[NSMutableArray alloc] initWithCapacity:1]; + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + securityGroups = [[NSMutableArray alloc] initWithCapacity:1]; } return self; @@ -73,6 +77,24 @@ -(void)addAvailabilityZone:(NSString *)availabilityZoneObject [availabilityZones addObject:availabilityZoneObject]; } +-(void)addSubnet:(NSString *)subnetObject +{ + if (subnets == nil) { + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [subnets addObject:subnetObject]; +} + +-(void)addSecurityGroup:(NSString *)securityGroupObject +{ + if (securityGroups == nil) { + securityGroups = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [securityGroups addObject:securityGroupObject]; +} + -(NSString *)description { @@ -82,6 +104,8 @@ -(NSString *)description [buffer appendString:[[[NSString alloc] initWithFormat:@"LoadBalancerName: %@,", loadBalancerName] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"Listeners: %@,", listeners] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"AvailabilityZones: %@,", availabilityZones] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Subnets: %@,", subnets] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"SecurityGroups: %@,", securityGroups] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -95,6 +119,8 @@ -(void)dealloc [loadBalancerName release]; [listeners release]; [availabilityZones release]; + [subnets release]; + [securityGroups release]; [super dealloc]; } diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.m index 1c64632d..49301e2c 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingCreateLoadBalancerRe AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"CreateLoadBalancer" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[createLoadBalancerRequest delegate]]; [request setCredentials:[createLoadBalancerRequest credentials]]; @@ -79,6 +79,28 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingCreateLoadBalancerRe } } + if (createLoadBalancerRequest != nil) { + int subnetsListIndex = 1; + for (NSString *subnetsListValue in createLoadBalancerRequest.subnets) { + if (subnetsListValue != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", subnetsListValue] forKey:[NSString stringWithFormat:@"%@.member.%d", @"Subnets", subnetsListIndex]]; + } + + subnetsListIndex++; + } + } + + if (createLoadBalancerRequest != nil) { + int securityGroupsListIndex = 1; + for (NSString *securityGroupsListValue in createLoadBalancerRequest.securityGroups) { + if (securityGroupsListValue != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", securityGroupsListValue] forKey:[NSString stringWithFormat:@"%@.member.%d", @"SecurityGroups", securityGroupsListIndex]]; + } + + securityGroupsListIndex++; + } + } + return [request autorelease]; } diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerResponse.m index b486ac73..9fbe667a 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -35,6 +35,18 @@ -(void)setException:(AmazonServiceException *)theException { AmazonServiceException *newException = nil; + if ([[theException errorCode] isEqualToString:@"InvalidSubnet"]) { + newException = [[ElasticLoadBalancingInvalidSubnetException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"CertificateNotFound"]) { + newException = [[ElasticLoadBalancingCertificateNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"SubnetNotFound"]) { + newException = [[ElasticLoadBalancingSubnetNotFoundException alloc] initWithMessage:@""]; + } + if ([[theException errorCode] isEqualToString:@"TooManyLoadBalancers"]) { newException = [[ElasticLoadBalancingTooManyLoadBalancersException alloc] initWithMessage:@""]; } @@ -43,14 +55,14 @@ -(void)setException:(AmazonServiceException *)theException newException = [[ElasticLoadBalancingDuplicateLoadBalancerNameException alloc] initWithMessage:@""]; } - if ([[theException errorCode] isEqualToString:@"CertificateNotFound"]) { - newException = [[ElasticLoadBalancingCertificateNotFoundException alloc] initWithMessage:@""]; - } - if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; } + if ([[theException errorCode] isEqualToString:@"InvalidSecurityGroup"]) { + newException = [[ElasticLoadBalancingInvalidSecurityGroupException alloc] initWithMessage:@""]; + } + if (newException != nil) { [newException setPropertiesWithException:theException]; [exception release]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.m index 0479a7ed..a3146c07 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersRequest.m index a7054dec..ec295c95 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller.m index 78be8585..b4847d50 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDeleteLoadBalancerLi AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"DeleteLoadBalancerListeners" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[deleteLoadBalancerListenersRequest delegate]]; [request setCredentials:[deleteLoadBalancerListenersRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersResponse.m index d866119a..a1c964f4 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller.m index 3b0cc914..e57e59e3 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyRequest.m index 2732e8fe..bcc5d8bc 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller.m index 298ae85e..354e3e11 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDeleteLoadBalancerPo AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"DeleteLoadBalancerPolicy" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[deleteLoadBalancerPolicyRequest delegate]]; [request setCredentials:[deleteLoadBalancerPolicyRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyResponse.m index 51202564..bb182d51 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller.m index 0b370d63..55ac85fb 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerRequest.m index a728a28e..cc816965 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.m index 61121c05..a6c33aed 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDeleteLoadBalancerRe AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"DeleteLoadBalancer" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[deleteLoadBalancerRequest delegate]]; [request setCredentials:[deleteLoadBalancerRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerResponse.m index 93139bc2..e097e3d2 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.m index a19e973f..ad50f72f 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest.m index 06017f3e..a020be03 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller.m index dbf742c7..f6dd8a97 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDeregisterInstancesF AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"DeregisterInstancesFromLoadBalancer" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[deregisterInstancesFromLoadBalancerRequest delegate]]; [request setCredentials:[deregisterInstancesFromLoadBalancerRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse.m index 09b470db..f53a026c 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller.m index 3fabaf2d..ba68bf08 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthRequest.m index f78496bf..d41ba933 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.m index d6923fdc..b4ff7980 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDescribeInstanceHeal AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"DescribeInstanceHealth" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[describeInstanceHealthRequest delegate]]; [request setCredentials:[describeInstanceHealthRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthResponse.m index 96ef211f..0750dbf3 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.m index f15c202b..d4d1d414 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.m index b1258aa6..bff3c53f 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.m index a72f5ac9..faf92fd0 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDescribeLoadBalancer AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"DescribeLoadBalancerPolicies" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[describeLoadBalancerPoliciesRequest delegate]]; [request setCredentials:[describeLoadBalancerPoliciesRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.m index 2234b99c..06e5beda 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.m index 0e37de82..2c5caa09 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.m index 13ecaf2b..7fcb5351 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.m index d9ed2778..6e5f2a2b 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDescribeLoadBalancer AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"DescribeLoadBalancerPolicyTypes" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[describeLoadBalancerPolicyTypesRequest delegate]]; [request setCredentials:[describeLoadBalancerPolicyTypesRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.m index fe8e0d91..9ded34a7 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.m index 76b14ffd..1d32e410 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersRequest.m index a9e02886..6535800b 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,12 +19,14 @@ @implementation ElasticLoadBalancingDescribeLoadBalancersRequest @synthesize loadBalancerNames; +@synthesize marker; -(id)init { if (self = [super init]) { loadBalancerNames = [[NSMutableArray alloc] initWithCapacity:1]; + marker = nil; } return self; @@ -56,6 +58,7 @@ -(NSString *)description [buffer appendString:@"{"]; [buffer appendString:[[[NSString alloc] initWithFormat:@"LoadBalancerNames: %@,", loadBalancerNames] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Marker: %@,", marker] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -67,6 +70,7 @@ -(NSString *)description -(void)dealloc { [loadBalancerNames release]; + [marker release]; [super dealloc]; } diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller.m index 223646bd..d2af465b 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDescribeLoadBalancer AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"DescribeLoadBalancers" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[describeLoadBalancersRequest delegate]]; [request setCredentials:[describeLoadBalancersRequest credentials]]; @@ -40,6 +40,11 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDescribeLoadBalancer loadBalancerNamesListIndex++; } } + if (describeLoadBalancersRequest != nil) { + if (describeLoadBalancersRequest.marker != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", describeLoadBalancersRequest.marker] forKey:[NSString stringWithFormat:@"%@", @"Marker"]]; + } + } return [request autorelease]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersResponse.m index aeb8a04c..08d2d99e 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,12 +19,14 @@ @implementation ElasticLoadBalancingDescribeLoadBalancersResponse @synthesize loadBalancerDescriptions; +@synthesize nextMarker; -(id)init { if (self = [super init]) { loadBalancerDescriptions = [[NSMutableArray alloc] initWithCapacity:1]; + nextMarker = nil; } return self; @@ -64,6 +66,7 @@ -(NSString *)description [buffer appendString:@"{"]; [buffer appendString:[[[NSString alloc] initWithFormat:@"LoadBalancerDescriptions: %@,", loadBalancerDescriptions] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"NextMarker: %@,", nextMarker] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -75,6 +78,7 @@ -(NSString *)description -(void)dealloc { [loadBalancerDescriptions release]; + [nextMarker release]; [super dealloc]; } diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller.m index 9a01b4bc..d4de840e 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -44,6 +44,11 @@ -(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namesp [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + if ([elementName isEqualToString:@"NextMarker"]) { + self.response.nextMarker = self.currentText; + return; + } + if ([elementName isEqualToString:@"DescribeLoadBalancersResult"]) { if (caller != nil) { [parser setDelegate:caller]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.m new file mode 100644 index 00000000..5ce8092b --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.m @@ -0,0 +1,70 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.h" + + +@implementation ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest + +@synthesize loadBalancerName; +@synthesize subnets; + + +-(id)init +{ + if (self = [super init]) { + loadBalancerName = nil; + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)addSubnet:(NSString *)subnetObject +{ + if (subnets == nil) { + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [subnets addObject:subnetObject]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"LoadBalancerName: %@,", loadBalancerName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Subnets: %@,", subnets] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [loadBalancerName release]; + [subnets release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.m new file mode 100644 index 00000000..5e2d3d74 --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.m @@ -0,0 +1,54 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.h" + +@implementation ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest *)detachLoadBalancerFromSubnetsRequest +{ + AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; + + [request setParameterValue:@"DetachLoadBalancerFromSubnets" forKey:@"Action"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; + + [request setDelegate:[detachLoadBalancerFromSubnetsRequest delegate]]; + [request setCredentials:[detachLoadBalancerFromSubnetsRequest credentials]]; + [request setEndpoint:[detachLoadBalancerFromSubnetsRequest requestEndpoint]]; + [request setRequestTag:[detachLoadBalancerFromSubnetsRequest requestTag]]; + + if (detachLoadBalancerFromSubnetsRequest != nil) { + if (detachLoadBalancerFromSubnetsRequest.loadBalancerName != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", detachLoadBalancerFromSubnetsRequest.loadBalancerName] forKey:[NSString stringWithFormat:@"%@", @"LoadBalancerName"]]; + } + } + + if (detachLoadBalancerFromSubnetsRequest != nil) { + int subnetsListIndex = 1; + for (NSString *subnetsListValue in detachLoadBalancerFromSubnetsRequest.subnets) { + if (subnetsListValue != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", subnetsListValue] forKey:[NSString stringWithFormat:@"%@.member.%d", @"Subnets", subnetsListIndex]]; + } + + subnetsListIndex++; + } + } + + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.m new file mode 100644 index 00000000..6fa6a305 --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.m @@ -0,0 +1,87 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.h" + + +@implementation ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse + +@synthesize subnets; + + +-(id)init +{ + if (self = [super init]) { + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { + newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InvalidConfigurationRequest"]) { + newException = [[ElasticLoadBalancingInvalidConfigurationRequestException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + + +-(NSString *)subnetsObjectAtIndex:(int)index +{ + return (NSString *)[subnets objectAtIndex:index]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Subnets: %@,", subnets] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [subnets release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.m new file mode 100644 index 00000000..2d5ea84b --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.m @@ -0,0 +1,75 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.h" + +@implementation ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + + if ([elementName isEqualToString:@"Subnets"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.subnets withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"Subnets"; + listUnmarshaller.entryElementName = @"member"; + listUnmarshaller.delegateClass = [AmazonValueUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + + + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + + + if ([elementName isEqualToString:@"DetachLoadBalancerFromSubnetsResult"]) { + if (caller != nil) { + [parser setDelegate:caller]; + } + + if (parentObject != nil && [parentObject respondsToSelector:parentSetter]) { + [parentObject performSelector:parentSetter withObject:self.response]; + } + + return; + } +} + +-(ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse *)response +{ + if (nil == response) { + response = [[ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse alloc] init]; + } + return response; +} + + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.m index 374a6edb..8ade3a9d 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.m index a8356f86..d487c4ef 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDisableAvailabilityZ AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"DisableAvailabilityZonesForLoadBalancer" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[disableAvailabilityZonesForLoadBalancerRequest delegate]]; [request setCredentials:[disableAvailabilityZonesForLoadBalancerRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.m index e06404f0..31b54639 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.m index 57889b37..068ae5ca 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicateListenerException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicateListenerException.m index 6b66b79f..9436447e 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicateListenerException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicateListenerException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicateLoadBalancerNameException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicateLoadBalancerNameException.m index 7a3b1406..d1593286 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicateLoadBalancerNameException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicateLoadBalancerNameException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicatePolicyNameException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicatePolicyNameException.m index bd793450..c23f7abf 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicatePolicyNameException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingDuplicatePolicyNameException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest.m index 0a613251..ef15f5f7 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller.m index 8bbd46ac..aecfd83d 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingEnableAvailabilityZo AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"EnableAvailabilityZonesForLoadBalancer" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[enableAvailabilityZonesForLoadBalancerRequest delegate]]; [request setCredentials:[enableAvailabilityZonesForLoadBalancerRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse.m index de3f203f..fb56807d 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.m index 9f51d6f2..55da19bd 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingHealthCheck.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingHealthCheck.m index e566b2df..b823ca40 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingHealthCheck.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingHealthCheck.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingHealthCheckUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingHealthCheckUnmarshaller.m index aba67929..e335d1a8 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingHealthCheckUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingHealthCheckUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstance.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstance.m index c81eda7f..ca644082 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstance.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstance.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceState.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceState.m index 10acbd54..de3b228f 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceState.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceState.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceStateUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceStateUnmarshaller.m index b30dc7a4..403c0aa3 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceStateUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceStateUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceUnmarshaller.m index 400c9876..e20b3195 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInstanceUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidConfigurationRequestException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidConfigurationRequestException.m index 1209e1e5..1453f6bf 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidConfigurationRequestException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidConfigurationRequestException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidInstanceException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidInstanceException.m index 52b5f56e..98b5ce4f 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidInstanceException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidInstanceException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidSecurityGroupException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidSecurityGroupException.m new file mode 100644 index 00000000..d07d6ab0 --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidSecurityGroupException.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingInvalidSecurityGroupException.h" + + + + +@implementation ElasticLoadBalancingInvalidSecurityGroupException + + + +-(id)initWithMessage:(NSString *)theMessage +{ + if (self = [super initWithMessage:theMessage]) { + } + + return self; +} + + +-(void)setPropertiesWithException:(AmazonServiceException *)theException +{ + [super setPropertiesWithException:theException]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidSubnetException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidSubnetException.m new file mode 100644 index 00000000..5cf3ed05 --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingInvalidSubnetException.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingInvalidSubnetException.h" + + + + +@implementation ElasticLoadBalancingInvalidSubnetException + + + +-(id)initWithMessage:(NSString *)theMessage +{ + if (self = [super initWithMessage:theMessage]) { + } + + return self; +} + + +-(void)setPropertiesWithException:(AmazonServiceException *)theException +{ + [super setPropertiesWithException:theException]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLBCookieStickinessPolicy.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLBCookieStickinessPolicy.m index 50ef3a49..2e85957b 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLBCookieStickinessPolicy.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLBCookieStickinessPolicy.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLBCookieStickinessPolicyUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLBCookieStickinessPolicyUnmarshaller.m index 36f22a21..eaf5c023 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLBCookieStickinessPolicyUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLBCookieStickinessPolicyUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListener.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListener.m index 7934582b..ad9562e8 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListener.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListener.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerDescription.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerDescription.m index 34fd801e..f93840e0 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerDescription.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerDescription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerDescriptionUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerDescriptionUnmarshaller.m index 4be12201..378c65f6 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerDescriptionUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerDescriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerNotFoundException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerNotFoundException.m index 14432cb8..90e9cf6b 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerNotFoundException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerNotFoundException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerUnmarshaller.m index a069c439..21a8e727 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingListenerUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerDescription.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerDescription.m index f42c8f1a..8efd842e 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerDescription.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerDescription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -26,9 +26,12 @@ @implementation ElasticLoadBalancingLoadBalancerDescription @synthesize policies; @synthesize backendServerDescriptions; @synthesize availabilityZones; +@synthesize subnets; +@synthesize vPCId; @synthesize instances; @synthesize healthCheck; @synthesize sourceSecurityGroup; +@synthesize securityGroups; @synthesize createdTime; @@ -43,9 +46,12 @@ -(id)init policies = nil; backendServerDescriptions = [[NSMutableArray alloc] initWithCapacity:1]; availabilityZones = [[NSMutableArray alloc] initWithCapacity:1]; + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + vPCId = nil; instances = [[NSMutableArray alloc] initWithCapacity:1]; healthCheck = nil; sourceSecurityGroup = nil; + securityGroups = [[NSMutableArray alloc] initWithCapacity:1]; createdTime = nil; } @@ -80,6 +86,15 @@ -(void)addAvailabilityZone:(NSString *)availabilityZoneObject [availabilityZones addObject:availabilityZoneObject]; } +-(void)addSubnet:(NSString *)subnetObject +{ + if (subnets == nil) { + subnets = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [subnets addObject:subnetObject]; +} + -(void)addInstance:(ElasticLoadBalancingInstance *)instanceObject { if (instances == nil) { @@ -89,6 +104,15 @@ -(void)addInstance:(ElasticLoadBalancingInstance *)instanceObject [instances addObject:instanceObject]; } +-(void)addSecurityGroup:(NSString *)securityGroupObject +{ + if (securityGroups == nil) { + securityGroups = [[NSMutableArray alloc] initWithCapacity:1]; + } + + [securityGroups addObject:securityGroupObject]; +} + -(NSString *)description { @@ -103,9 +127,12 @@ -(NSString *)description [buffer appendString:[[[NSString alloc] initWithFormat:@"Policies: %@,", policies] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"BackendServerDescriptions: %@,", backendServerDescriptions] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"AvailabilityZones: %@,", availabilityZones] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Subnets: %@,", subnets] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"VPCId: %@,", vPCId] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"Instances: %@,", instances] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"HealthCheck: %@,", healthCheck] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"SourceSecurityGroup: %@,", sourceSecurityGroup] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"SecurityGroups: %@,", securityGroups] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"CreatedTime: %@,", createdTime] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -125,9 +152,12 @@ -(void)dealloc [policies release]; [backendServerDescriptions release]; [availabilityZones release]; + [subnets release]; + [vPCId release]; [instances release]; [healthCheck release]; [sourceSecurityGroup release]; + [securityGroups release]; [createdTime release]; [super dealloc]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerDescriptionUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerDescriptionUnmarshaller.m index 29696fa1..095170f8 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerDescriptionUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerDescriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -32,6 +32,24 @@ -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName name [parser setDelegate:listUnmarshaller]; } + if ([elementName isEqualToString:@"Subnets"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.subnets withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"Subnets"; + listUnmarshaller.entryElementName = @"member"; + listUnmarshaller.delegateClass = [AmazonValueUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + + if ([elementName isEqualToString:@"SecurityGroups"]) { + AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.securityGroups withSetter:@selector(addObjectsFromArray:)] autorelease]; + listUnmarshaller.endListElementName = @"SecurityGroups"; + listUnmarshaller.entryElementName = @"member"; + listUnmarshaller.delegateClass = [AmazonValueUnmarshaller class]; + + [parser setDelegate:listUnmarshaller]; + } + if ([elementName isEqualToString:@"ListenerDescriptions"]) { AmazonListUnmarshaller *listUnmarshaller = [[[AmazonListUnmarshaller alloc] initWithCaller:self withParentObject:self.response.listenerDescriptions withSetter:@selector(addObjectsFromArray:)] autorelease]; listUnmarshaller.endListElementName = @"ListenerDescriptions"; @@ -109,6 +127,11 @@ -(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namesp return; } + if ([elementName isEqualToString:@"VPCId"]) { + self.response.vPCId = self.currentText; + return; + } + if ([elementName isEqualToString:@"CreatedTime"]) { self.response.createdTime = [AmazonSDKUtil convertStringToDate:self.currentText]; return; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerNotFoundException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerNotFoundException.m index d0b73f62..61973d88 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerNotFoundException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingLoadBalancerNotFoundException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicies.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicies.m index 934bf166..f97d565c 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicies.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicies.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPoliciesUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPoliciesUnmarshaller.m index d853beb7..8946edf4 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPoliciesUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPoliciesUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttribute.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttribute.m index 656f2692..7844e1f9 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttribute.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttribute.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeDescription.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeDescription.m index b7ab11fa..d10e44e6 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeDescription.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeDescription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeDescriptionUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeDescriptionUnmarshaller.m index 8e2ca987..5b5ad1ed 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeDescriptionUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeDescriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeTypeDescription.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeTypeDescription.m index f0008474..5aa6d4df 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeTypeDescription.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeTypeDescription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeTypeDescriptionUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeTypeDescriptionUnmarshaller.m index cd630231..be771ba2 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeTypeDescriptionUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyAttributeTypeDescriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyDescription.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyDescription.m index b20b55c0..d9cef7fd 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyDescription.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyDescription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyDescriptionUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyDescriptionUnmarshaller.m index e43ad7b4..64f28824 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyDescriptionUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyDescriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyNotFoundException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyNotFoundException.m index 6a1fb008..2e51890f 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyNotFoundException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyNotFoundException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeDescription.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeDescription.m index 1baab4f0..4c603aaa 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeDescription.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeDescription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeDescriptionUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeDescriptionUnmarshaller.m index 7d39a63b..275943d3 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeDescriptionUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeDescriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeNotFoundException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeNotFoundException.m index f7dc23a7..6b2d35d8 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeNotFoundException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingPolicyTypeNotFoundException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.m index 39d0eed7..bcabf28d 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.m index ba7f3dab..fedd41e7 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingRegisterInstancesWit AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"RegisterInstancesWithLoadBalancer" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[registerInstancesWithLoadBalancerRequest delegate]]; [request setCredentials:[registerInstancesWithLoadBalancerRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.m index 8f596f0f..24889a09 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.m index 4ba283e9..7e6d71e4 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.m index 9e8ecfe2..87e7e3b0 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.m index acb03386..97388cb9 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingSetLoadBalancerListe AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"SetLoadBalancerListenerSSLCertificate" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[setLoadBalancerListenerSSLCertificateRequest delegate]]; [request setCredentials:[setLoadBalancerListenerSSLCertificateRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.m index b7a4a202..2e00039f 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -27,14 +27,14 @@ -(void)setException:(AmazonServiceException *)theException { AmazonServiceException *newException = nil; - if ([[theException errorCode] isEqualToString:@"CertificateNotFound"]) { - newException = [[ElasticLoadBalancingCertificateNotFoundException alloc] initWithMessage:@""]; - } - if ([[theException errorCode] isEqualToString:@"ListenerNotFound"]) { newException = [[ElasticLoadBalancingListenerNotFoundException alloc] initWithMessage:@""]; } + if ([[theException errorCode] isEqualToString:@"CertificateNotFound"]) { + newException = [[ElasticLoadBalancingCertificateNotFoundException alloc] initWithMessage:@""]; + } + if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; } diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.m index 20e4494b..047ae30d 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.m index d5352224..8d4c6c05 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.m index 1af04d13..e2ba2fc2 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingSetLoadBalancerPolic AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"SetLoadBalancerPoliciesForBackendServer" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[setLoadBalancerPoliciesForBackendServerRequest delegate]]; [request setCredentials:[setLoadBalancerPoliciesForBackendServerRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.m index 5bb122c1..38433d3a 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.m index 49e12e0e..133d0d68 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.m index 0699bc29..1130046f 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.m index b9325e21..b541d83c 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ +(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingSetLoadBalancerPolic AmazonServiceRequest *request = [[ElasticLoadBalancingRequest alloc] init]; [request setParameterValue:@"SetLoadBalancerPoliciesOfListener" forKey:@"Action"]; - [request setParameterValue:@"2011-08-15" forKey:@"Version"]; + [request setParameterValue:@"2011-11-15" forKey:@"Version"]; [request setDelegate:[setLoadBalancerPoliciesOfListenerRequest delegate]]; [request setCredentials:[setLoadBalancerPoliciesOfListenerRequest credentials]]; diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.m index a4ec7208..da54cb79 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -33,14 +33,14 @@ -(void)setException:(AmazonServiceException *)theException { AmazonServiceException *newException = nil; - if ([[theException errorCode] isEqualToString:@"PolicyNotFound"]) { - newException = [[ElasticLoadBalancingPolicyNotFoundException alloc] initWithMessage:@""]; - } - if ([[theException errorCode] isEqualToString:@"ListenerNotFound"]) { newException = [[ElasticLoadBalancingListenerNotFoundException alloc] initWithMessage:@""]; } + if ([[theException errorCode] isEqualToString:@"PolicyNotFound"]) { + newException = [[ElasticLoadBalancingPolicyNotFoundException alloc] initWithMessage:@""]; + } + if ([[theException errorCode] isEqualToString:@"LoadBalancerNotFound"]) { newException = [[ElasticLoadBalancingLoadBalancerNotFoundException alloc] initWithMessage:@""]; } diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.m index 2697eb74..c85a1364 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSourceSecurityGroup.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSourceSecurityGroup.m index 29e0e5cb..fa28ed9e 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSourceSecurityGroup.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSourceSecurityGroup.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSourceSecurityGroupUnmarshaller.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSourceSecurityGroupUnmarshaller.m index 9f187256..ca1bdf33 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSourceSecurityGroupUnmarshaller.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSourceSecurityGroupUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSubnetNotFoundException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSubnetNotFoundException.m new file mode 100644 index 00000000..293029ec --- /dev/null +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingSubnetNotFoundException.m @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "ElasticLoadBalancingSubnetNotFoundException.h" + + + + +@implementation ElasticLoadBalancingSubnetNotFoundException + + + +-(id)initWithMessage:(NSString *)theMessage +{ + if (self = [super initWithMessage:theMessage]) { + } + + return self; +} + + +-(void)setPropertiesWithException:(AmazonServiceException *)theException +{ + [super setPropertiesWithException:theException]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingTooManyLoadBalancersException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingTooManyLoadBalancersException.m index 65b848cd..7d789228 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingTooManyLoadBalancersException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingTooManyLoadBalancersException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingTooManyPoliciesException.m b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingTooManyPoliciesException.m index 5968c3d9..458d180f 100644 --- a/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingTooManyPoliciesException.m +++ b/src/Amazon.ElasticLoadBalancing/Model/ElasticLoadBalancingTooManyPoliciesException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonAuthUtils.m b/src/Amazon.Runtime/AmazonAuthUtils.m index 8d41df46..1a72d04f 100644 --- a/src/Amazon.Runtime/AmazonAuthUtils.m +++ b/src/Amazon.Runtime/AmazonAuthUtils.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -104,5 +104,51 @@ +(NSString *) HMACSign:(NSData *)data withKey:(NSString *)key usingAlgorithm:(CC return [digestData base64EncodedString]; } ++(NSData *)sha256HMac:(NSData *)data withKey:(NSString *)key +{ + CCHmacContext context; + const char *keyCString = [key cStringUsingEncoding:NSASCIIStringEncoding]; + + CCHmacInit(&context, kCCHmacAlgSHA256, keyCString, strlen(keyCString)); + CCHmacUpdate(&context, [data bytes], [data length]); + + unsigned char digestRaw[CC_SHA256_DIGEST_LENGTH]; + int digestLength = CC_SHA256_DIGEST_LENGTH; + + CCHmacFinal(&context, digestRaw); + + return [NSData dataWithBytes:digestRaw length:digestLength]; +} + ++(NSData *)sha256HMacWithData:(NSData *)data withKey:(NSData *)key +{ + CCHmacContext context; + + CCHmacInit(&context, kCCHmacAlgSHA256, [key bytes], [key length]); + CCHmacUpdate(&context, [data bytes], [data length]); + + unsigned char digestRaw[CC_SHA256_DIGEST_LENGTH]; + int digestLength = CC_SHA256_DIGEST_LENGTH; + + CCHmacFinal(&context, digestRaw); + + return [NSData dataWithBytes:digestRaw length:digestLength]; +} + ++(NSString *)hashString:(NSString *)stringToHash +{ + return [[NSString alloc] initWithData:[AmazonAuthUtils hash:[stringToHash dataUsingEncoding:NSUTF8StringEncoding]] encoding:NSASCIIStringEncoding]; +} + ++(NSData *)hash:(NSData *)dataToHash +{ + const void *cStr = [dataToHash bytes]; + unsigned char result[CC_SHA256_DIGEST_LENGTH]; + + CC_SHA256(cStr, [dataToHash length], result); + + return [[[NSData alloc] initWithBytes:result length:CC_SHA256_DIGEST_LENGTH] autorelease]; +} + @end diff --git a/src/Amazon.Runtime/AmazonBoolValueUnmarshaller.m b/src/Amazon.Runtime/AmazonBoolValueUnmarshaller.m index 1b2e70a8..6a78115c 100644 --- a/src/Amazon.Runtime/AmazonBoolValueUnmarshaller.m +++ b/src/Amazon.Runtime/AmazonBoolValueUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonClientException.m b/src/Amazon.Runtime/AmazonClientException.m index 496fb1e4..e6bf4eaa 100644 --- a/src/Amazon.Runtime/AmazonClientException.m +++ b/src/Amazon.Runtime/AmazonClientException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonCredentials.m b/src/Amazon.Runtime/AmazonCredentials.m index 4788e32c..66a18909 100644 --- a/src/Amazon.Runtime/AmazonCredentials.m +++ b/src/Amazon.Runtime/AmazonCredentials.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -30,6 +30,16 @@ -(id)initWithAccessKey:(NSString *)theAccessKey withSecretKey:(NSString *)theSec return self; } +-(id)initWithAccessKey:(NSString *)theAccessKey withSecretKey:(NSString *)theSecretKey withSecurityToken:(NSString *)theSecurityToken +{ + if (self = [self init]) { + self.accessKey = theAccessKey; + self.secretKey = theSecretKey; + self.securityToken = theSecurityToken; + } + return self; +} + -(void)dealloc { [accessKey release]; diff --git a/src/Amazon.Runtime/AmazonDictionaryUnmarshaller.m b/src/Amazon.Runtime/AmazonDictionaryUnmarshaller.m index a4909ab6..a93e66fa 100644 --- a/src/Amazon.Runtime/AmazonDictionaryUnmarshaller.m +++ b/src/Amazon.Runtime/AmazonDictionaryUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonEndpoints.m b/src/Amazon.Runtime/AmazonEndpoints.m index be0fe8a0..ee614e26 100644 --- a/src/Amazon.Runtime/AmazonEndpoints.m +++ b/src/Amazon.Runtime/AmazonEndpoints.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -28,13 +28,13 @@ +(NSString *)s3Endpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_S3_US_WEST_1_ENDPOINT_SECURE; case US_WEST_2: return AMAZON_S3_US_WEST_2_ENDPOINT_SECURE; - + case EU_WEST_1: return AMAZON_S3_EU_WEST_1_ENDPOINT_SECURE; case AP_SOUTHEAST_1: return AMAZON_S3_AP_SOUTHEAST_1_ENDPOINT_SECURE; case AP_NORTHEAST_1: return AMAZON_S3_AP_NORTHEAST_1_ENDPOINT_SECURE; - + case SA_EAST_1: return AMAZON_S3_SA_EAST_1_ENDPOINT_SECURE; }; } @@ -68,7 +68,7 @@ +(NSString *)sdbEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_SDB_US_WEST_1_ENDPOINT_SECURE; case US_WEST_2: return AMAZON_SDB_US_WEST_2_ENDPOINT_SECURE; - + case EU_WEST_1: return AMAZON_SDB_EU_WEST_1_ENDPOINT_SECURE; case AP_SOUTHEAST_1: return AMAZON_SDB_AP_SOUTHEAST_1_ENDPOINT_SECURE; @@ -85,13 +85,13 @@ +(NSString *)sdbEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_SDB_US_WEST_1_ENDPOINT; case US_WEST_2: return AMAZON_SDB_US_WEST_2_ENDPOINT; - + case EU_WEST_1: return AMAZON_SDB_EU_WEST_1_ENDPOINT; case AP_SOUTHEAST_1: return AMAZON_SDB_AP_SOUTHEAST_1_ENDPOINT; case AP_NORTHEAST_1: return AMAZON_SDB_AP_NORTHEAST_1_ENDPOINT; - + case SA_EAST_1: return AMAZON_SDB_SA_EAST_1_ENDPOINT; }; } @@ -108,13 +108,13 @@ +(NSString *)snsEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_SNS_US_WEST_1_ENDPOINT_SECURE; case US_WEST_2: return AMAZON_SNS_US_WEST_2_ENDPOINT_SECURE; - + case EU_WEST_1: return AMAZON_SNS_EU_WEST_1_ENDPOINT_SECURE; case AP_SOUTHEAST_1: return AMAZON_SNS_AP_SOUTHEAST_1_ENDPOINT_SECURE; case AP_NORTHEAST_1: return AMAZON_SNS_AP_NORTHEAST_1_ENDPOINT_SECURE; - + case SA_EAST_1: return AMAZON_SNS_SA_EAST_1_ENDPOINT_SECURE; }; } @@ -125,13 +125,13 @@ +(NSString *)snsEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_SNS_US_WEST_1_ENDPOINT; case US_WEST_2: return AMAZON_SNS_US_WEST_2_ENDPOINT; - + case EU_WEST_1: return AMAZON_SNS_EU_WEST_1_ENDPOINT; case AP_SOUTHEAST_1: return AMAZON_SNS_AP_SOUTHEAST_1_ENDPOINT; case AP_NORTHEAST_1: return AMAZON_SNS_AP_NORTHEAST_1_ENDPOINT; - + case SA_EAST_1: return AMAZON_SNS_SA_EAST_1_ENDPOINT; }; } @@ -148,13 +148,13 @@ +(NSString *)sqsEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_SQS_US_WEST_1_ENDPOINT_SECURE; case US_WEST_2: return AMAZON_SQS_US_WEST_2_ENDPOINT_SECURE; - + case EU_WEST_1: return AMAZON_SQS_EU_WEST_1_ENDPOINT_SECURE; case AP_SOUTHEAST_1: return AMAZON_SQS_AP_SOUTHEAST_1_ENDPOINT_SECURE; case AP_NORTHEAST_1: return AMAZON_SQS_AP_NORTHEAST_1_ENDPOINT_SECURE; - + case SA_EAST_1: return AMAZON_SQS_SA_EAST_1_ENDPOINT_SECURE; }; } @@ -165,13 +165,13 @@ +(NSString *)sqsEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_SQS_US_WEST_1_ENDPOINT; case US_WEST_2: return AMAZON_SQS_US_WEST_2_ENDPOINT; - + case EU_WEST_1: return AMAZON_SQS_EU_WEST_1_ENDPOINT; case AP_SOUTHEAST_1: return AMAZON_SQS_AP_SOUTHEAST_1_ENDPOINT; case AP_NORTHEAST_1: return AMAZON_SQS_AP_NORTHEAST_1_ENDPOINT; - + case SA_EAST_1: return AMAZON_SQS_SA_EAST_1_ENDPOINT; }; } @@ -193,13 +193,13 @@ +(NSString *)ec2Endpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_EC2_US_WEST_1_ENDPOINT_SECURE; case US_WEST_2: return AMAZON_EC2_US_WEST_2_ENDPOINT_SECURE; - + case EU_WEST_1: return AMAZON_EC2_EU_WEST_1_ENDPOINT_SECURE; case AP_SOUTHEAST_1: return AMAZON_EC2_AP_SOUTHEAST_1_ENDPOINT_SECURE; case AP_NORTHEAST_1: return AMAZON_EC2_AP_NORTHEAST_1_ENDPOINT_SECURE; - + case SA_EAST_1: return AMAZON_EC2_SA_EAST_1_ENDPOINT_SECURE; }; } @@ -210,13 +210,13 @@ +(NSString *)ec2Endpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_EC2_US_WEST_1_ENDPOINT; case US_WEST_2: return AMAZON_EC2_US_WEST_2_ENDPOINT; - + case EU_WEST_1: return AMAZON_EC2_EU_WEST_1_ENDPOINT; case AP_SOUTHEAST_1: return AMAZON_EC2_AP_SOUTHEAST_1_ENDPOINT; case AP_NORTHEAST_1: return AMAZON_EC2_AP_NORTHEAST_1_ENDPOINT; - + case SA_EAST_1: return AMAZON_EC2_SA_EAST_1_ENDPOINT; }; } @@ -233,13 +233,13 @@ +(NSString *)cwEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_CW_US_WEST_1_ENDPOINT_SECURE; case US_WEST_2: return AMAZON_CW_US_WEST_2_ENDPOINT_SECURE; - + case EU_WEST_1: return AMAZON_CW_EU_WEST_1_ENDPOINT_SECURE; case AP_SOUTHEAST_1: return AMAZON_CW_AP_SOUTHEAST_1_ENDPOINT_SECURE; case AP_NORTHEAST_1: return AMAZON_CW_AP_NORTHEAST_1_ENDPOINT_SECURE; - + case SA_EAST_1: return AMAZON_CW_SA_EAST_1_ENDPOINT_SECURE; }; } @@ -250,13 +250,13 @@ +(NSString *)cwEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_CW_US_WEST_1_ENDPOINT; case US_WEST_2: return AMAZON_CW_US_WEST_2_ENDPOINT; - + case EU_WEST_1: return AMAZON_CW_EU_WEST_1_ENDPOINT; case AP_SOUTHEAST_1: return AMAZON_CW_AP_SOUTHEAST_1_ENDPOINT; case AP_NORTHEAST_1: return AMAZON_CW_AP_NORTHEAST_1_ENDPOINT; - + case SA_EAST_1: return AMAZON_CW_SA_EAST_1_ENDPOINT; }; } @@ -273,13 +273,13 @@ +(NSString *)autoscalingEndpoint:(AmazonRegion)region secure:(bool)useSSL; case US_WEST_1: return AMAZON_AS_US_WEST_1_ENDPOINT_SECURE; case US_WEST_2: return AMAZON_AS_US_WEST_2_ENDPOINT_SECURE; - + case EU_WEST_1: return AMAZON_AS_EU_WEST_1_ENDPOINT_SECURE; case AP_SOUTHEAST_1: return AMAZON_AS_AP_SOUTHEAST_1_ENDPOINT_SECURE; case AP_NORTHEAST_1: return AMAZON_AS_AP_NORTHEAST_1_ENDPOINT_SECURE; - + case SA_EAST_1: return AMAZON_AS_SA_EAST_1_ENDPOINT_SECURE; }; } @@ -290,13 +290,13 @@ +(NSString *)autoscalingEndpoint:(AmazonRegion)region secure:(bool)useSSL; case US_WEST_1: return AMAZON_AS_US_WEST_1_ENDPOINT; case US_WEST_2: return AMAZON_AS_US_WEST_2_ENDPOINT; - + case EU_WEST_1: return AMAZON_AS_EU_WEST_1_ENDPOINT; case AP_SOUTHEAST_1: return AMAZON_AS_AP_SOUTHEAST_1_ENDPOINT; case AP_NORTHEAST_1: return AMAZON_AS_AP_NORTHEAST_1_ENDPOINT; - + case SA_EAST_1: return AMAZON_AS_SA_EAST_1_ENDPOINT; }; } @@ -313,13 +313,13 @@ +(NSString *)elbEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_ELB_US_WEST_1_ENDPOINT_SECURE; case US_WEST_2: return AMAZON_ELB_US_WEST_2_ENDPOINT_SECURE; - + case EU_WEST_1: return AMAZON_ELB_EU_WEST_1_ENDPOINT_SECURE; case AP_SOUTHEAST_1: return AMAZON_ELB_AP_SOUTHEAST_1_ENDPOINT_SECURE; case AP_NORTHEAST_1: return AMAZON_ELB_AP_NORTHEAST_1_ENDPOINT_SECURE; - + case SA_EAST_1: return AMAZON_ELB_SA_EAST_1_ENDPOINT_SECURE; }; } @@ -330,13 +330,13 @@ +(NSString *)elbEndpoint:(AmazonRegion)region secure:(bool)useSSL case US_WEST_1: return AMAZON_ELB_US_WEST_1_ENDPOINT; case US_WEST_2: return AMAZON_ELB_US_WEST_2_ENDPOINT; - + case EU_WEST_1: return AMAZON_ELB_EU_WEST_1_ENDPOINT; case AP_SOUTHEAST_1: return AMAZON_ELB_AP_SOUTHEAST_1_ENDPOINT; case AP_NORTHEAST_1: return AMAZON_ELB_AP_NORTHEAST_1_ENDPOINT; - + case SA_EAST_1: return AMAZON_ELB_SA_EAST_1_ENDPOINT; }; } diff --git a/src/Amazon.Runtime/AmazonJSON.m b/src/Amazon.Runtime/AmazonJSON.m new file mode 100644 index 00000000..9bf4e41e --- /dev/null +++ b/src/Amazon.Runtime/AmazonJSON.m @@ -0,0 +1,42 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "AmazonJSON.h" + +@implementation AmazonJSON + ++(NSString *)JSONRepresentation:(NSObject *)object +{ + SBJsonWriter *writer = [[[SBJsonWriter alloc] init] autorelease]; + NSString *json = [writer stringWithObject:object]; + + if (!json) { + NSLog(@"-[AmazonJSON JSONRepresentation:json] failed. Error is: %@", writer.error); + } + return json; +} + ++(id)JSONValue:(NSString *)jsonString +{ + SBJsonParser *parser = [[[SBJsonParser alloc] init] autorelease]; + id repr = [parser objectWithString:jsonString]; + + if (!repr) { + NSLog(@"-JSONValue failed. Error is: %@", parser.error); + } + return repr; +} + +@end diff --git a/src/Amazon.Runtime/AmazonListUnmarshaller.m b/src/Amazon.Runtime/AmazonListUnmarshaller.m index 687a1264..c63050f9 100644 --- a/src/Amazon.Runtime/AmazonListUnmarshaller.m +++ b/src/Amazon.Runtime/AmazonListUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonLogger.m b/src/Amazon.Runtime/AmazonLogger.m index a54a3944..e5d2e95f 100644 --- a/src/Amazon.Runtime/AmazonLogger.m +++ b/src/Amazon.Runtime/AmazonLogger.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonMD5Util.m b/src/Amazon.Runtime/AmazonMD5Util.m index 0787b523..9dfefe81 100644 --- a/src/Amazon.Runtime/AmazonMD5Util.m +++ b/src/Amazon.Runtime/AmazonMD5Util.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonRequestDelegate.m b/src/Amazon.Runtime/AmazonRequestDelegate.m index 00469509..a645f54c 100644 --- a/src/Amazon.Runtime/AmazonRequestDelegate.m +++ b/src/Amazon.Runtime/AmazonRequestDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonSDKUtil.m b/src/Amazon.Runtime/AmazonSDKUtil.m index 1f774400..faa4b4ec 100644 --- a/src/Amazon.Runtime/AmazonSDKUtil.m +++ b/src/Amazon.Runtime/AmazonSDKUtil.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -57,6 +57,57 @@ +(NSString *)urlEncode:(NSString *)input return [encoded autorelease]; } ++(NSData *)hexDecode:(NSString *)hexString +{ + NSMutableData *stringData = [[[NSMutableData alloc] init] autorelease]; + unsigned char whole_byte; + char byte_chars[3] = { '\0', '\0', '\0' }; + int i; + for (i = 0; i < [hexString length] / 2; i++) { + byte_chars[0] = [hexString characterAtIndex:i * 2]; + byte_chars[1] = [hexString characterAtIndex:i * 2 + 1]; + whole_byte = strtol(byte_chars, NULL, 16); + [stringData appendBytes:&whole_byte length:1]; + } + + return stringData; +} + ++(NSString *)hexEncode:(NSString *)string +{ + NSUInteger len = [string length]; + unichar *chars = malloc(len * sizeof(unichar)); + + [string getCharacters:chars]; + + NSMutableString *hexString = [[NSMutableString alloc] init]; + for (NSUInteger i = 0; i < len; i++) { + if ((int)chars[i] < 16) { + [hexString appendString:@"0"]; + } + [hexString appendString:[NSString stringWithFormat:@"%x", chars[i]]]; + } + free(chars); + + return [hexString autorelease]; +} + ++(NSString *)hexEncodeData:(NSData *)data +{ + NSUInteger len = [data length]; + const unsigned *chars = [data bytes]; + + NSMutableString *hexString = [[NSMutableString alloc] init]; + for (NSUInteger i = 0; i < len; i++) { + if ((int)chars[i] < 16) { + [hexString appendString:@"0"]; + } + [hexString appendString:[NSString stringWithFormat:@"%x", chars[i]]]; + } + + return [hexString autorelease]; +} + +(NSString *)MIMETypeForExtension:(NSString *)extension { static NSDictionary *lookupTable = nil; @@ -254,6 +305,11 @@ +(NSDate *)convertStringToDate:(NSString *)string } } ++(NSDate *)millisSinceEpochToDate:(NSNumber *)millisSinceEpoch +{ + return [NSDate dateWithTimeIntervalSince1970:([millisSinceEpoch longLongValue] / 1000)]; +} + +(NSDate *)convertStringToDate:(NSString *)string usingFormat:(NSString *)dateFormat { NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; @@ -371,6 +427,37 @@ +(NSString *)ISO8061FormattedCurrentTimestamp return [[NSDate date] stringWithISO8061Format]; } +-(NSString *)dateStamp +{ + NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; + + [dateFormatter setTimeZone:[NSTimeZone timeZoneWithName:@"GMT"]]; + [dateFormatter setDateFormat:kDateStampFormat]; + [dateFormatter setLocale:[AmazonSDKUtil timestampLocale]]; + + NSString *formatted = [dateFormatter stringFromDate:self]; + + [dateFormatter release]; + + return formatted; +} + +-(NSString *)dateTime +{ + NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; + + [dateFormatter setTimeZone:[NSTimeZone timeZoneWithName:@"GMT"]]; + [dateFormatter setDateFormat:kDateTimeFormat]; + [dateFormatter setLocale:[AmazonSDKUtil timestampLocale]]; + + NSString *formatted = [dateFormatter stringFromDate:self]; + + [dateFormatter release]; + + return formatted; +} + + @end diff --git a/src/Amazon.Runtime/AmazonServiceException.m b/src/Amazon.Runtime/AmazonServiceException.m index 2f2b8f0f..76326658 100644 --- a/src/Amazon.Runtime/AmazonServiceException.m +++ b/src/Amazon.Runtime/AmazonServiceException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonServiceExceptionUnmarshaller.m b/src/Amazon.Runtime/AmazonServiceExceptionUnmarshaller.m index 532dd6d7..be5c9696 100644 --- a/src/Amazon.Runtime/AmazonServiceExceptionUnmarshaller.m +++ b/src/Amazon.Runtime/AmazonServiceExceptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonServiceRequest.m b/src/Amazon.Runtime/AmazonServiceRequest.m index b2e61b4d..b842ccbb 100644 --- a/src/Amazon.Runtime/AmazonServiceRequest.m +++ b/src/Amazon.Runtime/AmazonServiceRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonServiceRequestConfig.m b/src/Amazon.Runtime/AmazonServiceRequestConfig.m index 1f42924f..76818a5b 100644 --- a/src/Amazon.Runtime/AmazonServiceRequestConfig.m +++ b/src/Amazon.Runtime/AmazonServiceRequestConfig.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonServiceResponse.m b/src/Amazon.Runtime/AmazonServiceResponse.m index 99d6c1a1..ab915a6e 100644 --- a/src/Amazon.Runtime/AmazonServiceResponse.m +++ b/src/Amazon.Runtime/AmazonServiceResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -89,6 +89,12 @@ -(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLRespons { NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; + AMZLogDebug(@"Response Headers:"); + for (NSString *header in [[httpResponse allHeaderFields] allKeys]) { + AMZLogDebug(@"%@ = [%@]", header, [[httpResponse allHeaderFields] valueForKey:header]); + } + + self.httpStatusCode = [httpResponse statusCode]; [body setLength:0]; diff --git a/src/Amazon.Runtime/AmazonServiceResponseUnmarshaller.m b/src/Amazon.Runtime/AmazonServiceResponseUnmarshaller.m index fbd065af..9538fd14 100644 --- a/src/Amazon.Runtime/AmazonServiceResponseUnmarshaller.m +++ b/src/Amazon.Runtime/AmazonServiceResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonSignatureException.m b/src/Amazon.Runtime/AmazonSignatureException.m index 33febfdc..b035f5f0 100644 --- a/src/Amazon.Runtime/AmazonSignatureException.m +++ b/src/Amazon.Runtime/AmazonSignatureException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonURLRequest.m b/src/Amazon.Runtime/AmazonURLRequest.m index 4351726f..5dba72b6 100644 --- a/src/Amazon.Runtime/AmazonURLRequest.m +++ b/src/Amazon.Runtime/AmazonURLRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonUnmarshallerXMLParserDelegate.m b/src/Amazon.Runtime/AmazonUnmarshallerXMLParserDelegate.m index 01805f12..5400fa3d 100644 --- a/src/Amazon.Runtime/AmazonUnmarshallerXMLParserDelegate.m +++ b/src/Amazon.Runtime/AmazonUnmarshallerXMLParserDelegate.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonValueUnmarshaller.m b/src/Amazon.Runtime/AmazonValueUnmarshaller.m index 8bef9b86..1b97864a 100644 --- a/src/Amazon.Runtime/AmazonValueUnmarshaller.m +++ b/src/Amazon.Runtime/AmazonValueUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.Runtime/AmazonWebServiceClient.m b/src/Amazon.Runtime/AmazonWebServiceClient.m index a86100d8..b2325559 100644 --- a/src/Amazon.Runtime/AmazonWebServiceClient.m +++ b/src/Amazon.Runtime/AmazonWebServiceClient.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ @implementation AmazonWebServiceClient -@synthesize endpoint, maxRetries, timeout, userAgent; +@synthesize endpoint, maxRetries, timeout, userAgent, delay; -(id)initWithAccessKey:(NSString *)theAccessKey withSecretKey:(NSString *)theSecretKey { @@ -26,6 +26,7 @@ -(id)initWithAccessKey:(NSString *)theAccessKey withSecretKey:(NSString *)theSec credentials = [[AmazonCredentials alloc] initWithAccessKey:theAccessKey withSecretKey:theSecretKey]; maxRetries = 5; timeout = 30; + delay = 0.2; userAgent = [[AmazonSDKUtil userAgentString] retain]; } return self; @@ -37,6 +38,7 @@ -(id)initWithCredentials:(AmazonCredentials *)theCredentials credentials = [theCredentials retain]; maxRetries = 5; timeout = 30; + delay = 0.2; userAgent = [[AmazonSDKUtil userAgentString] retain]; } return self; @@ -165,7 +167,7 @@ -(bool)shouldRetry:(AmazonServiceResponse *)response -(void)pauseExponentially:(int)tryCount { - NSTimeInterval pause = 0.5 * (pow(2, tryCount)); + NSTimeInterval pause = self.delay * (pow(2, tryCount)); [NSThread sleepForTimeInterval:pause]; } diff --git a/src/Amazon.S3/.DS_Store b/src/Amazon.S3/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..183d7f5bb83314010c9d837e8c1a5e1759da56cb GIT binary patch literal 6149 zcmeHKO>7%Q6n@Wf+TARslR_coPum6+Dy-sAic)^m#c_esriqACyCfv6y+gBfy=!^a zcH0mzLLgAD6c85xyPAh-&M6(~gvZl!1RA1M=G) zgh`0N0}fYzzaQ6{fiL1h;RnnNWCu5FG>jqRy7`J9dQrC+wL?$L%`8RT8QfP#qT5oIX*XUXi_*(c6p%ijcvpNcURq>ZmzQ@J?$6s)t>o?HvHJ?+d3(?J-jx;8 zG)#8E*s^`s!%vjml^0*?y{ySYI%$;T670h(q+GRQK?5k zyAdkydMgTo=}7poAB9J&F+UMYADL*4srs~tTJeMmtooE+du^6uOf_Y&IKo?kkO;WE zi4AYQ;l?dD-8{1GuKd^o4>|j*^{CO{VJym_+u(B^O=qITsrJf(#+wb?8V}0HX^$!$ zoo7M%9CAfG)#M@f=4Ep-^8Dv~?p@k?%dNNN?y&4i#}|Gr;Im!1FGpQb=b`6^$7U%J zKVb}G-eemuZ6|N*PHRWs+f@Cav+T^>W3W|&WmMDJl`ELcHQ0c*?zZ+A%rn`bwvJm5 znoO81tF4b%`wVu_WE*s|m@66V8-p3z`SIKVQ)b3d=gbwg+oR6ide=w$n?LFl64ij) zp#ViV0t?WDlW-c|g7@GvScP+N9=?U|;YaudeudxR3jBc=Wreu@E9)P^LQK^*ugHI#8dbJzKXBm>-Ywq#y9Z{zK!qTyZAnSfFI&n{0Kk6 zPjMB`;pcb}zrZi?EBqS2!^`-yo?)i{13uiJyhi+OZTs4{l8G4BwI3=SA!Q(C;6KKI zJRfW-5}gEl8r9K3mHhi4?OBOZNSAL3iFSfcf<297AweBVs6#P%VxSJEemn7V66|Tz z;ecvn%9D(Y$qNP5=+tj3cR)vDTBi)846J2fKsTAZ|M&m>`+sdv+DaKn8Tel@fZ5Va zsYpvo?$&jSlXtC6;t?uJ$Yx80&`GeTk$OndKLUz|v`QKH IM;RFU6B(@i!~g&Q literal 0 HcmV?d00001 diff --git a/src/Amazon.S3/AmazonS3Client.m b/src/Amazon.S3/AmazonS3Client.m index e1587e9e..c9ca0b73 100644 --- a/src/Amazon.S3/AmazonS3Client.m +++ b/src/Amazon.S3/AmazonS3Client.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3AbortMultipartUploadRequest.m b/src/Amazon.S3/Model/S3AbortMultipartUploadRequest.m index f5384c23..15cd5f02 100644 --- a/src/Amazon.S3/Model/S3AbortMultipartUploadRequest.m +++ b/src/Amazon.S3/Model/S3AbortMultipartUploadRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3AbortMultipartUploadResponse.m b/src/Amazon.S3/Model/S3AbortMultipartUploadResponse.m index ea06c2df..6d35aa9d 100644 --- a/src/Amazon.S3/Model/S3AbortMultipartUploadResponse.m +++ b/src/Amazon.S3/Model/S3AbortMultipartUploadResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3AbstractPutRequest.m b/src/Amazon.S3/Model/S3AbstractPutRequest.m index d501b846..0786c726 100644 --- a/src/Amazon.S3/Model/S3AbstractPutRequest.m +++ b/src/Amazon.S3/Model/S3AbstractPutRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3AccessControlList.m b/src/Amazon.S3/Model/S3AccessControlList.m index 3f9493fc..24108442 100644 --- a/src/Amazon.S3/Model/S3AccessControlList.m +++ b/src/Amazon.S3/Model/S3AccessControlList.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3AccessControlListUnmarshaller.m b/src/Amazon.S3/Model/S3AccessControlListUnmarshaller.m index a4fefc89..1fdd662e 100644 --- a/src/Amazon.S3/Model/S3AccessControlListUnmarshaller.m +++ b/src/Amazon.S3/Model/S3AccessControlListUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3Bucket.m b/src/Amazon.S3/Model/S3Bucket.m index 0d6a060a..faacfc92 100644 --- a/src/Amazon.S3/Model/S3Bucket.m +++ b/src/Amazon.S3/Model/S3Bucket.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3BucketNameUtilities.m b/src/Amazon.S3/Model/S3BucketNameUtilities.m index 7e28e7fe..c9f5abd2 100644 --- a/src/Amazon.S3/Model/S3BucketNameUtilities.m +++ b/src/Amazon.S3/Model/S3BucketNameUtilities.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3BucketPolicy.m b/src/Amazon.S3/Model/S3BucketPolicy.m index 4a34e9cf..72b95a86 100644 --- a/src/Amazon.S3/Model/S3BucketPolicy.m +++ b/src/Amazon.S3/Model/S3BucketPolicy.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3BucketUnmarshaller.m b/src/Amazon.S3/Model/S3BucketUnmarshaller.m index 287162e4..e9294ebf 100644 --- a/src/Amazon.S3/Model/S3BucketUnmarshaller.m +++ b/src/Amazon.S3/Model/S3BucketUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3BucketVersioningConfiguration.m b/src/Amazon.S3/Model/S3BucketVersioningConfiguration.m index f2373671..10cde267 100644 --- a/src/Amazon.S3/Model/S3BucketVersioningConfiguration.m +++ b/src/Amazon.S3/Model/S3BucketVersioningConfiguration.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3BucketVersioningConfigurationUnmarshaller.m b/src/Amazon.S3/Model/S3BucketVersioningConfigurationUnmarshaller.m index a181aecb..4ba365d3 100644 --- a/src/Amazon.S3/Model/S3BucketVersioningConfigurationUnmarshaller.m +++ b/src/Amazon.S3/Model/S3BucketVersioningConfigurationUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CannedACL.m b/src/Amazon.S3/Model/S3CannedACL.m index b28ad6bd..dd756592 100644 --- a/src/Amazon.S3/Model/S3CannedACL.m +++ b/src/Amazon.S3/Model/S3CannedACL.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CompleteMultipartUploadRequest.m b/src/Amazon.S3/Model/S3CompleteMultipartUploadRequest.m index ad1829d6..d59cf984 100644 --- a/src/Amazon.S3/Model/S3CompleteMultipartUploadRequest.m +++ b/src/Amazon.S3/Model/S3CompleteMultipartUploadRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CompleteMultipartUploadResponse.m b/src/Amazon.S3/Model/S3CompleteMultipartUploadResponse.m index fa216c0e..c93d12e6 100644 --- a/src/Amazon.S3/Model/S3CompleteMultipartUploadResponse.m +++ b/src/Amazon.S3/Model/S3CompleteMultipartUploadResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CompleteMultipartUploadResult.m b/src/Amazon.S3/Model/S3CompleteMultipartUploadResult.m index 345d547a..23b58d04 100644 --- a/src/Amazon.S3/Model/S3CompleteMultipartUploadResult.m +++ b/src/Amazon.S3/Model/S3CompleteMultipartUploadResult.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CompleteMultipartUploadResultUnmarshaller.m b/src/Amazon.S3/Model/S3CompleteMultipartUploadResultUnmarshaller.m index eff2279b..6443ad92 100644 --- a/src/Amazon.S3/Model/S3CompleteMultipartUploadResultUnmarshaller.m +++ b/src/Amazon.S3/Model/S3CompleteMultipartUploadResultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CopyObjectRequest.m b/src/Amazon.S3/Model/S3CopyObjectRequest.m index ec76bd4d..f7619e85 100644 --- a/src/Amazon.S3/Model/S3CopyObjectRequest.m +++ b/src/Amazon.S3/Model/S3CopyObjectRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CopyObjectResponse.m b/src/Amazon.S3/Model/S3CopyObjectResponse.m index b219fb05..799f6c89 100644 --- a/src/Amazon.S3/Model/S3CopyObjectResponse.m +++ b/src/Amazon.S3/Model/S3CopyObjectResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CopyObjectResult.m b/src/Amazon.S3/Model/S3CopyObjectResult.m index 791b46c7..ef78314c 100644 --- a/src/Amazon.S3/Model/S3CopyObjectResult.m +++ b/src/Amazon.S3/Model/S3CopyObjectResult.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CopyObjectResultUnmarshaller.m b/src/Amazon.S3/Model/S3CopyObjectResultUnmarshaller.m index 0e2c565d..63f4ccdd 100644 --- a/src/Amazon.S3/Model/S3CopyObjectResultUnmarshaller.m +++ b/src/Amazon.S3/Model/S3CopyObjectResultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CopyPartRequest.m b/src/Amazon.S3/Model/S3CopyPartRequest.m index 943ddb47..a512ee71 100644 --- a/src/Amazon.S3/Model/S3CopyPartRequest.m +++ b/src/Amazon.S3/Model/S3CopyPartRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -44,7 +44,7 @@ -(NSMutableURLRequest *)configureURLRequest NSString *sourceHeader = [NSString stringWithFormat:@"/%@/%@", [AmazonSDKUtil urlEncode:self.sourceBucketName], [AmazonSDKUtil urlEncode:self.sourceKey]]; if (sourceVersionId != nil) { - sourceHeader = [NSString stringWithFormat:@"%@?versionId=%@", sourceHeader, sourceVersionId]; + sourceHeader = [NSString stringWithFormat:@"%@?%@=%@", sourceHeader, kS3SubResourceVersionId, sourceVersionId]; } [self.urlRequest setValue:sourceHeader forHTTPHeaderField:kHttpHdrAmzCopySource]; diff --git a/src/Amazon.S3/Model/S3CopyPartResponse.m b/src/Amazon.S3/Model/S3CopyPartResponse.m index cf020774..25274229 100644 --- a/src/Amazon.S3/Model/S3CopyPartResponse.m +++ b/src/Amazon.S3/Model/S3CopyPartResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CopyPartResult.m b/src/Amazon.S3/Model/S3CopyPartResult.m index dfc071a7..05ada8e8 100644 --- a/src/Amazon.S3/Model/S3CopyPartResult.m +++ b/src/Amazon.S3/Model/S3CopyPartResult.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CopyPartResultUnmarshaller.m b/src/Amazon.S3/Model/S3CopyPartResultUnmarshaller.m index 02315b14..6390f7a4 100644 --- a/src/Amazon.S3/Model/S3CopyPartResultUnmarshaller.m +++ b/src/Amazon.S3/Model/S3CopyPartResultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CreateBucketRequest.m b/src/Amazon.S3/Model/S3CreateBucketRequest.m index e03729c3..28f95472 100644 --- a/src/Amazon.S3/Model/S3CreateBucketRequest.m +++ b/src/Amazon.S3/Model/S3CreateBucketRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3CreateBucketResponse.m b/src/Amazon.S3/Model/S3CreateBucketResponse.m index 925b162e..62d679ff 100644 --- a/src/Amazon.S3/Model/S3CreateBucketResponse.m +++ b/src/Amazon.S3/Model/S3CreateBucketResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3DeleteBucketPolicyRequest.m b/src/Amazon.S3/Model/S3DeleteBucketPolicyRequest.m index e1c0aefe..9199ee55 100644 --- a/src/Amazon.S3/Model/S3DeleteBucketPolicyRequest.m +++ b/src/Amazon.S3/Model/S3DeleteBucketPolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3DeleteBucketPolicyResponse.m b/src/Amazon.S3/Model/S3DeleteBucketPolicyResponse.m index 29567dc0..a02628d7 100644 --- a/src/Amazon.S3/Model/S3DeleteBucketPolicyResponse.m +++ b/src/Amazon.S3/Model/S3DeleteBucketPolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3DeleteBucketRequest.m b/src/Amazon.S3/Model/S3DeleteBucketRequest.m index 078695be..dc6cc3fc 100644 --- a/src/Amazon.S3/Model/S3DeleteBucketRequest.m +++ b/src/Amazon.S3/Model/S3DeleteBucketRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3DeleteBucketResponse.m b/src/Amazon.S3/Model/S3DeleteBucketResponse.m index e3705c1d..184fef08 100644 --- a/src/Amazon.S3/Model/S3DeleteBucketResponse.m +++ b/src/Amazon.S3/Model/S3DeleteBucketResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3DeleteObjectRequest.m b/src/Amazon.S3/Model/S3DeleteObjectRequest.m index f31cad33..fbce21a3 100644 --- a/src/Amazon.S3/Model/S3DeleteObjectRequest.m +++ b/src/Amazon.S3/Model/S3DeleteObjectRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3DeleteObjectResponse.m b/src/Amazon.S3/Model/S3DeleteObjectResponse.m index 61c032ba..3cfb1904 100644 --- a/src/Amazon.S3/Model/S3DeleteObjectResponse.m +++ b/src/Amazon.S3/Model/S3DeleteObjectResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3DeleteVersionRequest.m b/src/Amazon.S3/Model/S3DeleteVersionRequest.m index 6770f0df..cab4482b 100644 --- a/src/Amazon.S3/Model/S3DeleteVersionRequest.m +++ b/src/Amazon.S3/Model/S3DeleteVersionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ -(NSMutableURLRequest *)configureURLRequest NSMutableString *queryString = [NSMutableString stringWithCapacity:512]; if (nil != self.versionId) { - [queryString appendFormat:@"%@=%@", @"versionId", self.versionId]; + [queryString appendFormat:@"%@=%@", kS3SubResourceVersionId, self.versionId]; } if (nil != self.mfa) { diff --git a/src/Amazon.S3/Model/S3DeleteVersionResponse.m b/src/Amazon.S3/Model/S3DeleteVersionResponse.m index 325bdae4..ec201c22 100644 --- a/src/Amazon.S3/Model/S3DeleteVersionResponse.m +++ b/src/Amazon.S3/Model/S3DeleteVersionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ErrorResponseHandler.m b/src/Amazon.S3/Model/S3ErrorResponseHandler.m index 7ce73b3b..9a0855b1 100644 --- a/src/Amazon.S3/Model/S3ErrorResponseHandler.m +++ b/src/Amazon.S3/Model/S3ErrorResponseHandler.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetACLRequest.m b/src/Amazon.S3/Model/S3GetACLRequest.m index fd29b5b4..41006728 100644 --- a/src/Amazon.S3/Model/S3GetACLRequest.m +++ b/src/Amazon.S3/Model/S3GetACLRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetACLResponse.m b/src/Amazon.S3/Model/S3GetACLResponse.m index 23712426..9e86a592 100644 --- a/src/Amazon.S3/Model/S3GetACLResponse.m +++ b/src/Amazon.S3/Model/S3GetACLResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetBucketPolicyRequest.m b/src/Amazon.S3/Model/S3GetBucketPolicyRequest.m index 44ee04ea..1ea308bb 100644 --- a/src/Amazon.S3/Model/S3GetBucketPolicyRequest.m +++ b/src/Amazon.S3/Model/S3GetBucketPolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetBucketPolicyResponse.m b/src/Amazon.S3/Model/S3GetBucketPolicyResponse.m index 0a47b1bb..0de81797 100644 --- a/src/Amazon.S3/Model/S3GetBucketPolicyResponse.m +++ b/src/Amazon.S3/Model/S3GetBucketPolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetBucketVersioningConfigurationRequest.m b/src/Amazon.S3/Model/S3GetBucketVersioningConfigurationRequest.m index 72757dbe..3630b163 100644 --- a/src/Amazon.S3/Model/S3GetBucketVersioningConfigurationRequest.m +++ b/src/Amazon.S3/Model/S3GetBucketVersioningConfigurationRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetBucketVersioningConfigurationResponse.m b/src/Amazon.S3/Model/S3GetBucketVersioningConfigurationResponse.m index e3aae5b1..03c94b84 100644 --- a/src/Amazon.S3/Model/S3GetBucketVersioningConfigurationResponse.m +++ b/src/Amazon.S3/Model/S3GetBucketVersioningConfigurationResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetObjectMetadataRequest.m b/src/Amazon.S3/Model/S3GetObjectMetadataRequest.m index 1a85be30..50202087 100644 --- a/src/Amazon.S3/Model/S3GetObjectMetadataRequest.m +++ b/src/Amazon.S3/Model/S3GetObjectMetadataRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetObjectMetadataResponse.m b/src/Amazon.S3/Model/S3GetObjectMetadataResponse.m index c5d654c9..21ebc6df 100644 --- a/src/Amazon.S3/Model/S3GetObjectMetadataResponse.m +++ b/src/Amazon.S3/Model/S3GetObjectMetadataResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetObjectRequest.m b/src/Amazon.S3/Model/S3GetObjectRequest.m index 8af85367..52496918 100644 --- a/src/Amazon.S3/Model/S3GetObjectRequest.m +++ b/src/Amazon.S3/Model/S3GetObjectRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ @implementation S3GetObjectRequest @synthesize outputStream; @synthesize rangeStart; @synthesize rangeEnd; +@synthesize versionId; @synthesize responseHeaderOverrides; -(id)initWithKey:(NSString *)aKey withBucket:(NSString *)aBucket @@ -36,12 +37,32 @@ -(id)initWithKey:(NSString *)aKey withBucket:(NSString *)aBucket return self; } +-(id)initWithKey:(NSString *)aKey withBucket:(NSString *)aBucket withVersionId:(NSString *)aVersionId +{ + if (self = [self init]) { + self.bucket = aBucket; + self.key = aKey; + self.versionId = aVersionId; + } + + return self; +} + + -(NSMutableURLRequest *)configureURLRequest { + NSMutableString *queryString = [NSMutableString stringWithCapacity:512]; + if (self.responseHeaderOverrides != nil) { - self.subResource = self.responseHeaderOverrides.queryString; + [queryString appendString:self.responseHeaderOverrides.queryString]; } + if (nil != self.versionId) { + [queryString appendString:[NSString stringWithFormat:@"%@%@=%@", [queryString length] > 0 ? @"&":@"", kS3SubResourceVersionId, self.versionId]]; + } + + self.subResource = queryString; + [super configureURLRequest]; [urlRequest setHTTPMethod:kHttpMethodGet]; @@ -93,6 +114,7 @@ -(void) dealloc [ifMatch release]; [ifNoneMatch release]; [responseHeaderOverrides release]; + [versionId release]; [super dealloc]; } diff --git a/src/Amazon.S3/Model/S3GetObjectResponse.m b/src/Amazon.S3/Model/S3GetObjectResponse.m index 3b230b55..c93d223e 100644 --- a/src/Amazon.S3/Model/S3GetObjectResponse.m +++ b/src/Amazon.S3/Model/S3GetObjectResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GetPreSignedURLRequest.m b/src/Amazon.S3/Model/S3GetPreSignedURLRequest.m index 3f8780d2..31aa9424 100644 --- a/src/Amazon.S3/Model/S3GetPreSignedURLRequest.m +++ b/src/Amazon.S3/Model/S3GetPreSignedURLRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,14 +22,23 @@ @implementation S3GetPreSignedURLRequest @synthesize protocol; @synthesize httpVerb; @synthesize accessKey; +@synthesize versionId; @synthesize responseHeaderOverrides; -(AmazonURLRequest *)configureURLRequest { + NSMutableString *queryString = [NSMutableString stringWithCapacity:512]; + if (self.responseHeaderOverrides != nil) { - [self setSubResource:self.responseHeaderOverrides.queryString]; + [queryString appendString:self.responseHeaderOverrides.queryString]; + } + + if (nil != self.versionId) { + [queryString appendString:[NSString stringWithFormat:@"%@%@=%@", [queryString length] > 0 ? @"&":@"", kS3SubResourceVersionId, self.versionId]]; } + self.subResource = queryString; + [super configureURLRequest]; if (nil == self.protocol) { @@ -79,10 +88,16 @@ -(NSString *)queryString int epoch = (int)[self.expires timeIntervalSince1970]; [queryString appendFormat:@"&%@=%d", kS3QueryParamExpires, epoch]; + if (self.responseHeaderOverrides != nil) { [queryString appendFormat:@"&%@", self.responseHeaderOverrides.queryString]; } + // Version + if (self.versionId != nil) { + [queryString appendFormat:@"&%@=%@", kS3SubResourceVersionId, self.versionId]; + } + return queryString; } @@ -92,6 +107,7 @@ -(void)dealloc [protocol release]; [httpVerb release]; [accessKey release]; + [versionId release]; [responseHeaderOverrides release]; [super dealloc]; diff --git a/src/Amazon.S3/Model/S3Grant.m b/src/Amazon.S3/Model/S3Grant.m index 1ec16fc3..0f0d195c 100644 --- a/src/Amazon.S3/Model/S3Grant.m +++ b/src/Amazon.S3/Model/S3Grant.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3GrantUnmarshaller.m b/src/Amazon.S3/Model/S3GrantUnmarshaller.m index 726897a2..f034fc57 100644 --- a/src/Amazon.S3/Model/S3GrantUnmarshaller.m +++ b/src/Amazon.S3/Model/S3GrantUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3Grantee.m b/src/Amazon.S3/Model/S3Grantee.m index 03f2716a..7fbb0b11 100644 --- a/src/Amazon.S3/Model/S3Grantee.m +++ b/src/Amazon.S3/Model/S3Grantee.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3InitiateMultipartUploadRequest.m b/src/Amazon.S3/Model/S3InitiateMultipartUploadRequest.m index 7452285e..8ef670b9 100644 --- a/src/Amazon.S3/Model/S3InitiateMultipartUploadRequest.m +++ b/src/Amazon.S3/Model/S3InitiateMultipartUploadRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3InitiateMultipartUploadResponse.m b/src/Amazon.S3/Model/S3InitiateMultipartUploadResponse.m index 478c1ac7..9597c125 100644 --- a/src/Amazon.S3/Model/S3InitiateMultipartUploadResponse.m +++ b/src/Amazon.S3/Model/S3InitiateMultipartUploadResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3InitiateMultipartUploadResultUnmarshaller.m b/src/Amazon.S3/Model/S3InitiateMultipartUploadResultUnmarshaller.m index cf80494e..6029f813 100644 --- a/src/Amazon.S3/Model/S3InitiateMultipartUploadResultUnmarshaller.m +++ b/src/Amazon.S3/Model/S3InitiateMultipartUploadResultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListBucketResultUnmarshaller.m b/src/Amazon.S3/Model/S3ListBucketResultUnmarshaller.m index 095c164f..84d77de7 100644 --- a/src/Amazon.S3/Model/S3ListBucketResultUnmarshaller.m +++ b/src/Amazon.S3/Model/S3ListBucketResultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListBucketsRequest.m b/src/Amazon.S3/Model/S3ListBucketsRequest.m index a307a013..7a396adf 100644 --- a/src/Amazon.S3/Model/S3ListBucketsRequest.m +++ b/src/Amazon.S3/Model/S3ListBucketsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListBucketsResponse.m b/src/Amazon.S3/Model/S3ListBucketsResponse.m index 9b6db694..4d480509 100644 --- a/src/Amazon.S3/Model/S3ListBucketsResponse.m +++ b/src/Amazon.S3/Model/S3ListBucketsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListBucketsResult.m b/src/Amazon.S3/Model/S3ListBucketsResult.m index 79a42da6..848db001 100644 --- a/src/Amazon.S3/Model/S3ListBucketsResult.m +++ b/src/Amazon.S3/Model/S3ListBucketsResult.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListBucketsResultUnmarshaller.m b/src/Amazon.S3/Model/S3ListBucketsResultUnmarshaller.m index 238d765d..5524dac1 100644 --- a/src/Amazon.S3/Model/S3ListBucketsResultUnmarshaller.m +++ b/src/Amazon.S3/Model/S3ListBucketsResultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListMultipartUploadsRequest.m b/src/Amazon.S3/Model/S3ListMultipartUploadsRequest.m index 89f80ee1..123e046e 100644 --- a/src/Amazon.S3/Model/S3ListMultipartUploadsRequest.m +++ b/src/Amazon.S3/Model/S3ListMultipartUploadsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListMultipartUploadsResponse.m b/src/Amazon.S3/Model/S3ListMultipartUploadsResponse.m index efc5799f..eac460b0 100644 --- a/src/Amazon.S3/Model/S3ListMultipartUploadsResponse.m +++ b/src/Amazon.S3/Model/S3ListMultipartUploadsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListMultipartUploadsResult.m b/src/Amazon.S3/Model/S3ListMultipartUploadsResult.m index 0b2f4d00..d7e16db3 100644 --- a/src/Amazon.S3/Model/S3ListMultipartUploadsResult.m +++ b/src/Amazon.S3/Model/S3ListMultipartUploadsResult.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListMultipartUploadsResultUnmarshaller.m b/src/Amazon.S3/Model/S3ListMultipartUploadsResultUnmarshaller.m index b9e62d4a..ef48ddd4 100644 --- a/src/Amazon.S3/Model/S3ListMultipartUploadsResultUnmarshaller.m +++ b/src/Amazon.S3/Model/S3ListMultipartUploadsResultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListObjectsRequest.m b/src/Amazon.S3/Model/S3ListObjectsRequest.m index 40ea0996..df78da92 100644 --- a/src/Amazon.S3/Model/S3ListObjectsRequest.m +++ b/src/Amazon.S3/Model/S3ListObjectsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListObjectsResponse.m b/src/Amazon.S3/Model/S3ListObjectsResponse.m index 345a38bc..e0fe9b95 100644 --- a/src/Amazon.S3/Model/S3ListObjectsResponse.m +++ b/src/Amazon.S3/Model/S3ListObjectsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListObjectsResult.m b/src/Amazon.S3/Model/S3ListObjectsResult.m index e33670db..793c1590 100644 --- a/src/Amazon.S3/Model/S3ListObjectsResult.m +++ b/src/Amazon.S3/Model/S3ListObjectsResult.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListPartsRequest.m b/src/Amazon.S3/Model/S3ListPartsRequest.m index dd4a0f31..9a17f344 100644 --- a/src/Amazon.S3/Model/S3ListPartsRequest.m +++ b/src/Amazon.S3/Model/S3ListPartsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListPartsResponse.m b/src/Amazon.S3/Model/S3ListPartsResponse.m index de3cfbe0..6ec040fb 100644 --- a/src/Amazon.S3/Model/S3ListPartsResponse.m +++ b/src/Amazon.S3/Model/S3ListPartsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListPartsResult.m b/src/Amazon.S3/Model/S3ListPartsResult.m index 2865706f..ce45363c 100644 --- a/src/Amazon.S3/Model/S3ListPartsResult.m +++ b/src/Amazon.S3/Model/S3ListPartsResult.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListPartsResultUnmarshaller.m b/src/Amazon.S3/Model/S3ListPartsResultUnmarshaller.m index e54989cb..f9f9681a 100644 --- a/src/Amazon.S3/Model/S3ListPartsResultUnmarshaller.m +++ b/src/Amazon.S3/Model/S3ListPartsResultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListVersionsRequest.m b/src/Amazon.S3/Model/S3ListVersionsRequest.m index 2881acc6..d03916b7 100644 --- a/src/Amazon.S3/Model/S3ListVersionsRequest.m +++ b/src/Amazon.S3/Model/S3ListVersionsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListVersionsResponse.m b/src/Amazon.S3/Model/S3ListVersionsResponse.m index 5eedd398..910c5d43 100644 --- a/src/Amazon.S3/Model/S3ListVersionsResponse.m +++ b/src/Amazon.S3/Model/S3ListVersionsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListVersionsResult.m b/src/Amazon.S3/Model/S3ListVersionsResult.m index fdbb3d8f..9362b658 100644 --- a/src/Amazon.S3/Model/S3ListVersionsResult.m +++ b/src/Amazon.S3/Model/S3ListVersionsResult.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ListVersionsResultUnmarshaller.m b/src/Amazon.S3/Model/S3ListVersionsResultUnmarshaller.m index 2979e8ae..cadea70f 100644 --- a/src/Amazon.S3/Model/S3ListVersionsResultUnmarshaller.m +++ b/src/Amazon.S3/Model/S3ListVersionsResultUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3LocationConstraintUnmarshaller.m b/src/Amazon.S3/Model/S3LocationConstraintUnmarshaller.m index 685b551b..cd93dc1f 100644 --- a/src/Amazon.S3/Model/S3LocationConstraintUnmarshaller.m +++ b/src/Amazon.S3/Model/S3LocationConstraintUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3MultiFactorAuthentication.m b/src/Amazon.S3/Model/S3MultiFactorAuthentication.m index ab58f3bd..4d83badc 100644 --- a/src/Amazon.S3/Model/S3MultiFactorAuthentication.m +++ b/src/Amazon.S3/Model/S3MultiFactorAuthentication.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3MultipartUpload.m b/src/Amazon.S3/Model/S3MultipartUpload.m index c7de5a84..fcd962ef 100644 --- a/src/Amazon.S3/Model/S3MultipartUpload.m +++ b/src/Amazon.S3/Model/S3MultipartUpload.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3MultipartUploadUnmarshaller.m b/src/Amazon.S3/Model/S3MultipartUploadUnmarshaller.m index fcd7dcd9..3069c9d2 100644 --- a/src/Amazon.S3/Model/S3MultipartUploadUnmarshaller.m +++ b/src/Amazon.S3/Model/S3MultipartUploadUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ObjectSummary.m b/src/Amazon.S3/Model/S3ObjectSummary.m index d33ff44a..382277b6 100644 --- a/src/Amazon.S3/Model/S3ObjectSummary.m +++ b/src/Amazon.S3/Model/S3ObjectSummary.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ObjectSummaryUnmarshaller.m b/src/Amazon.S3/Model/S3ObjectSummaryUnmarshaller.m index 76d5f242..63b66458 100644 --- a/src/Amazon.S3/Model/S3ObjectSummaryUnmarshaller.m +++ b/src/Amazon.S3/Model/S3ObjectSummaryUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3Owner.m b/src/Amazon.S3/Model/S3Owner.m index fd046179..c4e2f499 100644 --- a/src/Amazon.S3/Model/S3Owner.m +++ b/src/Amazon.S3/Model/S3Owner.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3OwnerUnmarshaller.m b/src/Amazon.S3/Model/S3OwnerUnmarshaller.m index 2f859203..7ef5c1fb 100644 --- a/src/Amazon.S3/Model/S3OwnerUnmarshaller.m +++ b/src/Amazon.S3/Model/S3OwnerUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3Part.m b/src/Amazon.S3/Model/S3Part.m index d9a95d3f..9f734a29 100644 --- a/src/Amazon.S3/Model/S3Part.m +++ b/src/Amazon.S3/Model/S3Part.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3PartUnmarshaller.m b/src/Amazon.S3/Model/S3PartUnmarshaller.m index 51106bae..e404ca7d 100644 --- a/src/Amazon.S3/Model/S3PartUnmarshaller.m +++ b/src/Amazon.S3/Model/S3PartUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3Permission.m b/src/Amazon.S3/Model/S3Permission.m index 73a903d0..eb35bfde 100644 --- a/src/Amazon.S3/Model/S3Permission.m +++ b/src/Amazon.S3/Model/S3Permission.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3PutObjectRequest.m b/src/Amazon.S3/Model/S3PutObjectRequest.m index 563e4e3a..f77df804 100644 --- a/src/Amazon.S3/Model/S3PutObjectRequest.m +++ b/src/Amazon.S3/Model/S3PutObjectRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3PutObjectResponse.m b/src/Amazon.S3/Model/S3PutObjectResponse.m index a3e5e90e..31bc2fed 100644 --- a/src/Amazon.S3/Model/S3PutObjectResponse.m +++ b/src/Amazon.S3/Model/S3PutObjectResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3Region.m b/src/Amazon.S3/Model/S3Region.m index 72c72b6a..fd8a8e6f 100644 --- a/src/Amazon.S3/Model/S3Region.m +++ b/src/Amazon.S3/Model/S3Region.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -51,7 +51,7 @@ +(S3Region *)USWest +(S3Region *)USWest2 { static S3Region *west2 = nil; - + if (west2 == nil) { west2 = [[S3Region alloc] initWithStringValue:kS3RegionUSWest2]; } @@ -91,7 +91,7 @@ +(S3Region *)APJapan +(S3Region *)SASaoPaulo { static S3Region *ap = nil; - + if (ap == nil) { ap = [[S3Region alloc] initWithStringValue:kS3RegionSAEast1]; } diff --git a/src/Amazon.S3/Model/S3Request.m b/src/Amazon.S3/Model/S3Request.m index 9a557f7c..755e1b16 100644 --- a/src/Amazon.S3/Model/S3Request.m +++ b/src/Amazon.S3/Model/S3Request.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3Response.m b/src/Amazon.S3/Model/S3Response.m index 926dcf00..f5698bd1 100644 --- a/src/Amazon.S3/Model/S3Response.m +++ b/src/Amazon.S3/Model/S3Response.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3ResponseHeaderOverrides.m b/src/Amazon.S3/Model/S3ResponseHeaderOverrides.m index 14cf6191..0007f37b 100644 --- a/src/Amazon.S3/Model/S3ResponseHeaderOverrides.m +++ b/src/Amazon.S3/Model/S3ResponseHeaderOverrides.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3SetACLRequest.m b/src/Amazon.S3/Model/S3SetACLRequest.m index 9c8e57b5..be792480 100644 --- a/src/Amazon.S3/Model/S3SetACLRequest.m +++ b/src/Amazon.S3/Model/S3SetACLRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3SetACLResponse.m b/src/Amazon.S3/Model/S3SetACLResponse.m index 5091e668..ab7adbc0 100644 --- a/src/Amazon.S3/Model/S3SetACLResponse.m +++ b/src/Amazon.S3/Model/S3SetACLResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3SetBucketPolicyRequest.m b/src/Amazon.S3/Model/S3SetBucketPolicyRequest.m index 6c62d485..3ff473e7 100644 --- a/src/Amazon.S3/Model/S3SetBucketPolicyRequest.m +++ b/src/Amazon.S3/Model/S3SetBucketPolicyRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3SetBucketPolicyResponse.m b/src/Amazon.S3/Model/S3SetBucketPolicyResponse.m index c3a6919b..29a21ebc 100644 --- a/src/Amazon.S3/Model/S3SetBucketPolicyResponse.m +++ b/src/Amazon.S3/Model/S3SetBucketPolicyResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3SetBucketVersioningConfigurationRequest.m b/src/Amazon.S3/Model/S3SetBucketVersioningConfigurationRequest.m index 4c2b1220..ecb04e33 100644 --- a/src/Amazon.S3/Model/S3SetBucketVersioningConfigurationRequest.m +++ b/src/Amazon.S3/Model/S3SetBucketVersioningConfigurationRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3SetBucketVersioningConfigurationResponse.m b/src/Amazon.S3/Model/S3SetBucketVersioningConfigurationResponse.m index b1ab7d30..eb4d825b 100644 --- a/src/Amazon.S3/Model/S3SetBucketVersioningConfigurationResponse.m +++ b/src/Amazon.S3/Model/S3SetBucketVersioningConfigurationResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3UploadPartRequest.m b/src/Amazon.S3/Model/S3UploadPartRequest.m index eea08338..299c9e74 100644 --- a/src/Amazon.S3/Model/S3UploadPartRequest.m +++ b/src/Amazon.S3/Model/S3UploadPartRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3UploadPartResponse.m b/src/Amazon.S3/Model/S3UploadPartResponse.m index 37b638f4..5370065b 100644 --- a/src/Amazon.S3/Model/S3UploadPartResponse.m +++ b/src/Amazon.S3/Model/S3UploadPartResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3VersionSummary.m b/src/Amazon.S3/Model/S3VersionSummary.m index 1e7e645c..d51487a6 100644 --- a/src/Amazon.S3/Model/S3VersionSummary.m +++ b/src/Amazon.S3/Model/S3VersionSummary.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.S3/Model/S3VersionSummaryUnmarshaller.m b/src/Amazon.S3/Model/S3VersionSummaryUnmarshaller.m index 30eb12c5..9ee02095 100644 --- a/src/Amazon.S3/Model/S3VersionSummaryUnmarshaller.m +++ b/src/Amazon.S3/Model/S3VersionSummaryUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/AmazonSESClient.m b/src/Amazon.SES/AmazonSESClient.m index 1b7ccb47..0c534ebf 100644 --- a/src/Amazon.SES/AmazonSESClient.m +++ b/src/Amazon.SES/AmazonSESClient.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESBody.m b/src/Amazon.SES/Model/SESBody.m index 28727619..a7ce33e7 100644 --- a/src/Amazon.SES/Model/SESBody.m +++ b/src/Amazon.SES/Model/SESBody.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESContent.m b/src/Amazon.SES/Model/SESContent.m index a8920332..5df0f86a 100644 --- a/src/Amazon.SES/Model/SESContent.m +++ b/src/Amazon.SES/Model/SESContent.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressRequest.m b/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressRequest.m index eaecc0a5..34bbd774 100644 --- a/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressRequest.m +++ b/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressRequestMarshaller.m b/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressRequestMarshaller.m index ec543c99..dfcce922 100644 --- a/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressRequestMarshaller.m +++ b/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressResponse.m b/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressResponse.m index 430075f6..e7812468 100644 --- a/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressResponse.m +++ b/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressResponseUnmarshaller.m b/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressResponseUnmarshaller.m index 3a642ff9..ef08817b 100644 --- a/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressResponseUnmarshaller.m +++ b/src/Amazon.SES/Model/SESDeleteVerifiedEmailAddressResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESDestination.m b/src/Amazon.SES/Model/SESDestination.m index 1ca88876..204d802c 100644 --- a/src/Amazon.SES/Model/SESDestination.m +++ b/src/Amazon.SES/Model/SESDestination.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESGetSendQuotaRequest.m b/src/Amazon.SES/Model/SESGetSendQuotaRequest.m index eafb50a9..2f7ef8a9 100644 --- a/src/Amazon.SES/Model/SESGetSendQuotaRequest.m +++ b/src/Amazon.SES/Model/SESGetSendQuotaRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESGetSendQuotaRequestMarshaller.m b/src/Amazon.SES/Model/SESGetSendQuotaRequestMarshaller.m index 0bee61e9..01de8d75 100644 --- a/src/Amazon.SES/Model/SESGetSendQuotaRequestMarshaller.m +++ b/src/Amazon.SES/Model/SESGetSendQuotaRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESGetSendQuotaResponse.m b/src/Amazon.SES/Model/SESGetSendQuotaResponse.m index 0e9706b1..3c1fa303 100644 --- a/src/Amazon.SES/Model/SESGetSendQuotaResponse.m +++ b/src/Amazon.SES/Model/SESGetSendQuotaResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESGetSendQuotaResponseUnmarshaller.m b/src/Amazon.SES/Model/SESGetSendQuotaResponseUnmarshaller.m index 6ca8acb9..f919ce84 100644 --- a/src/Amazon.SES/Model/SESGetSendQuotaResponseUnmarshaller.m +++ b/src/Amazon.SES/Model/SESGetSendQuotaResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESGetSendStatisticsRequest.m b/src/Amazon.SES/Model/SESGetSendStatisticsRequest.m index 16ac78bd..b7d92d3e 100644 --- a/src/Amazon.SES/Model/SESGetSendStatisticsRequest.m +++ b/src/Amazon.SES/Model/SESGetSendStatisticsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESGetSendStatisticsRequestMarshaller.m b/src/Amazon.SES/Model/SESGetSendStatisticsRequestMarshaller.m index fa0f930b..dde86def 100644 --- a/src/Amazon.SES/Model/SESGetSendStatisticsRequestMarshaller.m +++ b/src/Amazon.SES/Model/SESGetSendStatisticsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESGetSendStatisticsResponse.m b/src/Amazon.SES/Model/SESGetSendStatisticsResponse.m index 1703ba4d..16def3bb 100644 --- a/src/Amazon.SES/Model/SESGetSendStatisticsResponse.m +++ b/src/Amazon.SES/Model/SESGetSendStatisticsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESGetSendStatisticsResponseUnmarshaller.m b/src/Amazon.SES/Model/SESGetSendStatisticsResponseUnmarshaller.m index fc1a9238..37534db1 100644 --- a/src/Amazon.SES/Model/SESGetSendStatisticsResponseUnmarshaller.m +++ b/src/Amazon.SES/Model/SESGetSendStatisticsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESListVerifiedEmailAddressesRequest.m b/src/Amazon.SES/Model/SESListVerifiedEmailAddressesRequest.m index ef235b4f..3615c8b6 100644 --- a/src/Amazon.SES/Model/SESListVerifiedEmailAddressesRequest.m +++ b/src/Amazon.SES/Model/SESListVerifiedEmailAddressesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESListVerifiedEmailAddressesRequestMarshaller.m b/src/Amazon.SES/Model/SESListVerifiedEmailAddressesRequestMarshaller.m index b03c555f..b8874332 100644 --- a/src/Amazon.SES/Model/SESListVerifiedEmailAddressesRequestMarshaller.m +++ b/src/Amazon.SES/Model/SESListVerifiedEmailAddressesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESListVerifiedEmailAddressesResponse.m b/src/Amazon.SES/Model/SESListVerifiedEmailAddressesResponse.m index 8ddfe249..ebc0ef21 100644 --- a/src/Amazon.SES/Model/SESListVerifiedEmailAddressesResponse.m +++ b/src/Amazon.SES/Model/SESListVerifiedEmailAddressesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESListVerifiedEmailAddressesResponseUnmarshaller.m b/src/Amazon.SES/Model/SESListVerifiedEmailAddressesResponseUnmarshaller.m index d4182e07..64a35b75 100644 --- a/src/Amazon.SES/Model/SESListVerifiedEmailAddressesResponseUnmarshaller.m +++ b/src/Amazon.SES/Model/SESListVerifiedEmailAddressesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESMessage.m b/src/Amazon.SES/Model/SESMessage.m index 6e6eedbe..f44d43c9 100644 --- a/src/Amazon.SES/Model/SESMessage.m +++ b/src/Amazon.SES/Model/SESMessage.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESMessageRejectedException.m b/src/Amazon.SES/Model/SESMessageRejectedException.m index 7e25167f..48ee5e9d 100644 --- a/src/Amazon.SES/Model/SESMessageRejectedException.m +++ b/src/Amazon.SES/Model/SESMessageRejectedException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESRawMessage.m b/src/Amazon.SES/Model/SESRawMessage.m index 5d5959dd..1c7f24e5 100644 --- a/src/Amazon.SES/Model/SESRawMessage.m +++ b/src/Amazon.SES/Model/SESRawMessage.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendDataPoint.m b/src/Amazon.SES/Model/SESSendDataPoint.m index 7370123e..8c3dec57 100644 --- a/src/Amazon.SES/Model/SESSendDataPoint.m +++ b/src/Amazon.SES/Model/SESSendDataPoint.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendDataPointUnmarshaller.m b/src/Amazon.SES/Model/SESSendDataPointUnmarshaller.m index e18cdc69..b241a29e 100644 --- a/src/Amazon.SES/Model/SESSendDataPointUnmarshaller.m +++ b/src/Amazon.SES/Model/SESSendDataPointUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendEmailRequest.m b/src/Amazon.SES/Model/SESSendEmailRequest.m index 8ac16b59..81bfe558 100644 --- a/src/Amazon.SES/Model/SESSendEmailRequest.m +++ b/src/Amazon.SES/Model/SESSendEmailRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendEmailRequestMarshaller.m b/src/Amazon.SES/Model/SESSendEmailRequestMarshaller.m index 2f77cc52..b4588db7 100644 --- a/src/Amazon.SES/Model/SESSendEmailRequestMarshaller.m +++ b/src/Amazon.SES/Model/SESSendEmailRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendEmailResponse.m b/src/Amazon.SES/Model/SESSendEmailResponse.m index 02d8bb47..534d1449 100644 --- a/src/Amazon.SES/Model/SESSendEmailResponse.m +++ b/src/Amazon.SES/Model/SESSendEmailResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendEmailResponseUnmarshaller.m b/src/Amazon.SES/Model/SESSendEmailResponseUnmarshaller.m index 56e503bc..e5558fcb 100644 --- a/src/Amazon.SES/Model/SESSendEmailResponseUnmarshaller.m +++ b/src/Amazon.SES/Model/SESSendEmailResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendRawEmailRequest.m b/src/Amazon.SES/Model/SESSendRawEmailRequest.m index c776c819..cfaed360 100644 --- a/src/Amazon.SES/Model/SESSendRawEmailRequest.m +++ b/src/Amazon.SES/Model/SESSendRawEmailRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendRawEmailRequestMarshaller.m b/src/Amazon.SES/Model/SESSendRawEmailRequestMarshaller.m index 63d484b1..72715cf6 100644 --- a/src/Amazon.SES/Model/SESSendRawEmailRequestMarshaller.m +++ b/src/Amazon.SES/Model/SESSendRawEmailRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendRawEmailResponse.m b/src/Amazon.SES/Model/SESSendRawEmailResponse.m index f1585b6e..4e061db5 100644 --- a/src/Amazon.SES/Model/SESSendRawEmailResponse.m +++ b/src/Amazon.SES/Model/SESSendRawEmailResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESSendRawEmailResponseUnmarshaller.m b/src/Amazon.SES/Model/SESSendRawEmailResponseUnmarshaller.m index 443df1d3..a757a8fd 100644 --- a/src/Amazon.SES/Model/SESSendRawEmailResponseUnmarshaller.m +++ b/src/Amazon.SES/Model/SESSendRawEmailResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESVerifyEmailAddressRequest.m b/src/Amazon.SES/Model/SESVerifyEmailAddressRequest.m index 22d79fad..3203f7ca 100644 --- a/src/Amazon.SES/Model/SESVerifyEmailAddressRequest.m +++ b/src/Amazon.SES/Model/SESVerifyEmailAddressRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESVerifyEmailAddressRequestMarshaller.m b/src/Amazon.SES/Model/SESVerifyEmailAddressRequestMarshaller.m index ca8fc599..f85ffe74 100644 --- a/src/Amazon.SES/Model/SESVerifyEmailAddressRequestMarshaller.m +++ b/src/Amazon.SES/Model/SESVerifyEmailAddressRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESVerifyEmailAddressResponse.m b/src/Amazon.SES/Model/SESVerifyEmailAddressResponse.m index 544c9c0d..01cf7000 100644 --- a/src/Amazon.SES/Model/SESVerifyEmailAddressResponse.m +++ b/src/Amazon.SES/Model/SESVerifyEmailAddressResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/Model/SESVerifyEmailAddressResponseUnmarshaller.m b/src/Amazon.SES/Model/SESVerifyEmailAddressResponseUnmarshaller.m index 953ee1f0..6e0994be 100644 --- a/src/Amazon.SES/Model/SESVerifyEmailAddressResponseUnmarshaller.m +++ b/src/Amazon.SES/Model/SESVerifyEmailAddressResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/SESResponse.m b/src/Amazon.SES/SESResponse.m index b9f44b65..3e25ad83 100644 --- a/src/Amazon.SES/SESResponse.m +++ b/src/Amazon.SES/SESResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SES/SESResponseUnmarshaller.m b/src/Amazon.SES/SESResponseUnmarshaller.m index d5a6d32d..8b094141 100644 --- a/src/Amazon.SES/SESResponseUnmarshaller.m +++ b/src/Amazon.SES/SESResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/AmazonSNSClient.m b/src/Amazon.SNS/AmazonSNSClient.m index 7520487d..13e85700 100644 --- a/src/Amazon.SNS/AmazonSNSClient.m +++ b/src/Amazon.SNS/AmazonSNSClient.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -84,6 +84,13 @@ -(SNSListSubscriptionsResponse *)listSubscriptions:(SNSListSubscriptionsRequest return (SNSListSubscriptionsResponse *)[self invoke:request rawRequest:listSubscriptionsRequest unmarshallerDelegate:[SNSListSubscriptionsResponseUnmarshaller class]]; } +-(SNSSetSubscriptionAttributesResponse *)setSubscriptionAttributes:(SNSSetSubscriptionAttributesRequest *)setSubscriptionAttributesRequest +{ + AmazonServiceRequest *request = [SNSSetSubscriptionAttributesRequestMarshaller createRequest:setSubscriptionAttributesRequest]; + + return (SNSSetSubscriptionAttributesResponse *)[self invoke:request rawRequest:setSubscriptionAttributesRequest unmarshallerDelegate:[SNSSetSubscriptionAttributesResponseUnmarshaller class]]; +} + -(SNSAddPermissionResponse *)addPermission:(SNSAddPermissionRequest *)addPermissionRequest { AmazonServiceRequest *request = [SNSAddPermissionRequestMarshaller createRequest:addPermissionRequest]; @@ -98,6 +105,13 @@ -(SNSCreateTopicResponse *)createTopic:(SNSCreateTopicRequest *)createTopicReque return (SNSCreateTopicResponse *)[self invoke:request rawRequest:createTopicRequest unmarshallerDelegate:[SNSCreateTopicResponseUnmarshaller class]]; } +-(SNSGetSubscriptionAttributesResponse *)getSubscriptionAttributes:(SNSGetSubscriptionAttributesRequest *)getSubscriptionAttributesRequest +{ + AmazonServiceRequest *request = [SNSGetSubscriptionAttributesRequestMarshaller createRequest:getSubscriptionAttributesRequest]; + + return (SNSGetSubscriptionAttributesResponse *)[self invoke:request rawRequest:getSubscriptionAttributesRequest unmarshallerDelegate:[SNSGetSubscriptionAttributesResponseUnmarshaller class]]; +} + -(SNSListTopicsResponse *)listTopics:(SNSListTopicsRequest *)listTopicsRequest { AmazonServiceRequest *request = [SNSListTopicsRequestMarshaller createRequest:listTopicsRequest]; diff --git a/src/Amazon.SNS/Model/SNSAddPermissionRequest.m b/src/Amazon.SNS/Model/SNSAddPermissionRequest.m index 2d4c6931..a2ec42fe 100644 --- a/src/Amazon.SNS/Model/SNSAddPermissionRequest.m +++ b/src/Amazon.SNS/Model/SNSAddPermissionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSAddPermissionRequestMarshaller.m b/src/Amazon.SNS/Model/SNSAddPermissionRequestMarshaller.m index 5895df27..27d3648f 100644 --- a/src/Amazon.SNS/Model/SNSAddPermissionRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSAddPermissionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSAddPermissionResponse.m b/src/Amazon.SNS/Model/SNSAddPermissionResponse.m index 26d50def..500b4918 100644 --- a/src/Amazon.SNS/Model/SNSAddPermissionResponse.m +++ b/src/Amazon.SNS/Model/SNSAddPermissionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSAddPermissionResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSAddPermissionResponseUnmarshaller.m index 1e61471b..2b958e46 100644 --- a/src/Amazon.SNS/Model/SNSAddPermissionResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSAddPermissionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSAuthorizationErrorException.m b/src/Amazon.SNS/Model/SNSAuthorizationErrorException.m index 1c3e10d4..18c84e15 100644 --- a/src/Amazon.SNS/Model/SNSAuthorizationErrorException.m +++ b/src/Amazon.SNS/Model/SNSAuthorizationErrorException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSConfirmSubscriptionRequest.m b/src/Amazon.SNS/Model/SNSConfirmSubscriptionRequest.m index f9dfbb36..23f38c4c 100644 --- a/src/Amazon.SNS/Model/SNSConfirmSubscriptionRequest.m +++ b/src/Amazon.SNS/Model/SNSConfirmSubscriptionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSConfirmSubscriptionRequestMarshaller.m b/src/Amazon.SNS/Model/SNSConfirmSubscriptionRequestMarshaller.m index 249e4308..e370f67a 100644 --- a/src/Amazon.SNS/Model/SNSConfirmSubscriptionRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSConfirmSubscriptionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSConfirmSubscriptionResponse.m b/src/Amazon.SNS/Model/SNSConfirmSubscriptionResponse.m index e27c662a..d4d72c09 100644 --- a/src/Amazon.SNS/Model/SNSConfirmSubscriptionResponse.m +++ b/src/Amazon.SNS/Model/SNSConfirmSubscriptionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSConfirmSubscriptionResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSConfirmSubscriptionResponseUnmarshaller.m index a1f7bca1..f58eef20 100644 --- a/src/Amazon.SNS/Model/SNSConfirmSubscriptionResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSConfirmSubscriptionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSCreateTopicRequest.m b/src/Amazon.SNS/Model/SNSCreateTopicRequest.m index 9a3cc959..b95bc87d 100644 --- a/src/Amazon.SNS/Model/SNSCreateTopicRequest.m +++ b/src/Amazon.SNS/Model/SNSCreateTopicRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSCreateTopicRequestMarshaller.m b/src/Amazon.SNS/Model/SNSCreateTopicRequestMarshaller.m index 8bc1d42d..2b280e61 100644 --- a/src/Amazon.SNS/Model/SNSCreateTopicRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSCreateTopicRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSCreateTopicResponse.m b/src/Amazon.SNS/Model/SNSCreateTopicResponse.m index 93cdf731..f6e7f0bf 100644 --- a/src/Amazon.SNS/Model/SNSCreateTopicResponse.m +++ b/src/Amazon.SNS/Model/SNSCreateTopicResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSCreateTopicResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSCreateTopicResponseUnmarshaller.m index 222a58ba..57222061 100644 --- a/src/Amazon.SNS/Model/SNSCreateTopicResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSCreateTopicResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSDeleteTopicRequest.m b/src/Amazon.SNS/Model/SNSDeleteTopicRequest.m index cddcae50..5d1a2b25 100644 --- a/src/Amazon.SNS/Model/SNSDeleteTopicRequest.m +++ b/src/Amazon.SNS/Model/SNSDeleteTopicRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSDeleteTopicRequestMarshaller.m b/src/Amazon.SNS/Model/SNSDeleteTopicRequestMarshaller.m index f7753ba5..7338fd24 100644 --- a/src/Amazon.SNS/Model/SNSDeleteTopicRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSDeleteTopicRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSDeleteTopicResponse.m b/src/Amazon.SNS/Model/SNSDeleteTopicResponse.m index c4f9be9f..243e03d2 100644 --- a/src/Amazon.SNS/Model/SNSDeleteTopicResponse.m +++ b/src/Amazon.SNS/Model/SNSDeleteTopicResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSDeleteTopicResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSDeleteTopicResponseUnmarshaller.m index 2274b53a..88b80268 100644 --- a/src/Amazon.SNS/Model/SNSDeleteTopicResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSDeleteTopicResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesRequest.m b/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesRequest.m new file mode 100644 index 00000000..d80785d1 --- /dev/null +++ b/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesRequest.m @@ -0,0 +1,66 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "SNSGetSubscriptionAttributesRequest.h" + + +@implementation SNSGetSubscriptionAttributesRequest + +@synthesize subscriptionArn; + + +-(id)init +{ + if (self = [super init]) { + subscriptionArn = nil; + } + + return self; +} + +-(id)initWithSubscriptionArn:(NSString *)theSubscriptionArn +{ + if (self = [self init]) { + self.subscriptionArn = theSubscriptionArn; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"SubscriptionArn: %@,", subscriptionArn] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [subscriptionArn release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesRequestMarshaller.m b/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesRequestMarshaller.m new file mode 100644 index 00000000..e6b6c4ae --- /dev/null +++ b/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesRequestMarshaller.m @@ -0,0 +1,43 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "SNSGetSubscriptionAttributesRequestMarshaller.h" + +@implementation SNSGetSubscriptionAttributesRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(SNSGetSubscriptionAttributesRequest *)getSubscriptionAttributesRequest +{ + AmazonServiceRequest *request = [[SNSRequest alloc] init]; + + [request setParameterValue:@"GetSubscriptionAttributes" forKey:@"Action"]; + [request setParameterValue:@"2010-03-31" forKey:@"Version"]; + + [request setDelegate:[getSubscriptionAttributesRequest delegate]]; + [request setCredentials:[getSubscriptionAttributesRequest credentials]]; + [request setEndpoint:[getSubscriptionAttributesRequest requestEndpoint]]; + [request setRequestTag:[getSubscriptionAttributesRequest requestTag]]; + + if (getSubscriptionAttributesRequest != nil) { + if (getSubscriptionAttributesRequest.subscriptionArn != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", getSubscriptionAttributesRequest.subscriptionArn] forKey:[NSString stringWithFormat:@"%@", @"SubscriptionArn"]]; + } + } + + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesResponse.m b/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesResponse.m new file mode 100644 index 00000000..44b6c1ab --- /dev/null +++ b/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesResponse.m @@ -0,0 +1,94 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "SNSGetSubscriptionAttributesResponse.h" + + +@implementation SNSGetSubscriptionAttributesResponse + +@synthesize attributes; + + +-(id)init +{ + if (self = [super init]) { + attributes = [[NSMutableDictionary alloc] initWithCapacity:1]; + } + + return self; +} + + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"NotFound"]) { + newException = [[SNSNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"AuthorizationError"]) { + newException = [[SNSAuthorizationErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalError"]) { + newException = [[SNSInternalErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InvalidParameter"]) { + newException = [[SNSInvalidParameterException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + + +-(NSString *)attributesValueForKey:(NSString *)theKey +{ + return (NSString *)[attributes valueForKey:theKey]; +} + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"Attributes: %@,", attributes] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [attributes release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesResponseUnmarshaller.m new file mode 100644 index 00000000..368fe436 --- /dev/null +++ b/src/Amazon.SNS/Model/SNSGetSubscriptionAttributesResponseUnmarshaller.m @@ -0,0 +1,84 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "SNSGetSubscriptionAttributesResponseUnmarshaller.h" + +@implementation SNSGetSubscriptionAttributesResponseUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + + if ([elementName isEqualToString:@"entry"]) { + AmazonDictionaryUnmarshaller *dictionaryUnmarshaller = [[[AmazonDictionaryUnmarshaller alloc] initWithCaller:self withParentObject:self.response.attributes withSetter:@selector(addEntriesFromDictionary:)] autorelease]; + dictionaryUnmarshaller.keyXpathElement = @"key"; + dictionaryUnmarshaller.valueXpathElement = @"value"; + dictionaryUnmarshaller.entryEndElement = @"entry"; + + [parser setDelegate:dictionaryUnmarshaller]; + } + + if ([elementName isEqualToString:@"entry"]) { + AmazonDictionaryUnmarshaller *dictionaryUnmarshaller = [[[AmazonDictionaryUnmarshaller alloc] initWithCaller:self withParentObject:self.response.attributes withSetter:@selector(addEntriesFromDictionary:)] autorelease]; + dictionaryUnmarshaller.keyXpathElement = @"key"; + dictionaryUnmarshaller.valueXpathElement = @"value"; + dictionaryUnmarshaller.entryEndElement = @"entry"; + + [parser setDelegate:dictionaryUnmarshaller]; + } + + + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; + + + if ([elementName isEqualToString:@"GetSubscriptionAttributesResult"]) { + if (caller != nil) { + [parser setDelegate:caller]; + } + + if (parentObject != nil && [parentObject respondsToSelector:parentSetter]) { + [parentObject performSelector:parentSetter withObject:self.response]; + } + + return; + } +} + +-(SNSGetSubscriptionAttributesResponse *)response +{ + if (nil == response) { + response = [[SNSGetSubscriptionAttributesResponse alloc] init]; + } + return response; +} + + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.SNS/Model/SNSGetTopicAttributesRequest.m b/src/Amazon.SNS/Model/SNSGetTopicAttributesRequest.m index ef90cdf3..dc204cc0 100644 --- a/src/Amazon.SNS/Model/SNSGetTopicAttributesRequest.m +++ b/src/Amazon.SNS/Model/SNSGetTopicAttributesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSGetTopicAttributesRequestMarshaller.m b/src/Amazon.SNS/Model/SNSGetTopicAttributesRequestMarshaller.m index 023f1bd3..031704c2 100644 --- a/src/Amazon.SNS/Model/SNSGetTopicAttributesRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSGetTopicAttributesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSGetTopicAttributesResponse.m b/src/Amazon.SNS/Model/SNSGetTopicAttributesResponse.m index 8d449b7f..2ccdc7c5 100644 --- a/src/Amazon.SNS/Model/SNSGetTopicAttributesResponse.m +++ b/src/Amazon.SNS/Model/SNSGetTopicAttributesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSGetTopicAttributesResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSGetTopicAttributesResponseUnmarshaller.m index 26f4db2c..d8621a14 100644 --- a/src/Amazon.SNS/Model/SNSGetTopicAttributesResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSGetTopicAttributesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSInternalErrorException.m b/src/Amazon.SNS/Model/SNSInternalErrorException.m index 043e9711..c5bed6fa 100644 --- a/src/Amazon.SNS/Model/SNSInternalErrorException.m +++ b/src/Amazon.SNS/Model/SNSInternalErrorException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSInvalidParameterException.m b/src/Amazon.SNS/Model/SNSInvalidParameterException.m index 1f33e20b..cd8f6159 100644 --- a/src/Amazon.SNS/Model/SNSInvalidParameterException.m +++ b/src/Amazon.SNS/Model/SNSInvalidParameterException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicRequest.m b/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicRequest.m index ade0d88a..4c2d40c1 100644 --- a/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicRequest.m +++ b/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicRequestMarshaller.m b/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicRequestMarshaller.m index 41206058..61ffd5ab 100644 --- a/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicResponse.m b/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicResponse.m index 8ef1a1dd..c81bfb0b 100644 --- a/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicResponse.m +++ b/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicResponseUnmarshaller.m index c818ae1b..0a41edca 100644 --- a/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSListSubscriptionsByTopicResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListSubscriptionsRequest.m b/src/Amazon.SNS/Model/SNSListSubscriptionsRequest.m index 5496d85d..85b48813 100644 --- a/src/Amazon.SNS/Model/SNSListSubscriptionsRequest.m +++ b/src/Amazon.SNS/Model/SNSListSubscriptionsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListSubscriptionsRequestMarshaller.m b/src/Amazon.SNS/Model/SNSListSubscriptionsRequestMarshaller.m index 13e91060..e6c0a309 100644 --- a/src/Amazon.SNS/Model/SNSListSubscriptionsRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSListSubscriptionsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListSubscriptionsResponse.m b/src/Amazon.SNS/Model/SNSListSubscriptionsResponse.m index 6b5042f4..85a8d31c 100644 --- a/src/Amazon.SNS/Model/SNSListSubscriptionsResponse.m +++ b/src/Amazon.SNS/Model/SNSListSubscriptionsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListSubscriptionsResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSListSubscriptionsResponseUnmarshaller.m index 89d7d8a0..051132ba 100644 --- a/src/Amazon.SNS/Model/SNSListSubscriptionsResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSListSubscriptionsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListTopicsRequest.m b/src/Amazon.SNS/Model/SNSListTopicsRequest.m index 492a21d3..dc9ded30 100644 --- a/src/Amazon.SNS/Model/SNSListTopicsRequest.m +++ b/src/Amazon.SNS/Model/SNSListTopicsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListTopicsRequestMarshaller.m b/src/Amazon.SNS/Model/SNSListTopicsRequestMarshaller.m index 51cf8d1d..0524ff32 100644 --- a/src/Amazon.SNS/Model/SNSListTopicsRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSListTopicsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListTopicsResponse.m b/src/Amazon.SNS/Model/SNSListTopicsResponse.m index 35255ecc..8b7d7db0 100644 --- a/src/Amazon.SNS/Model/SNSListTopicsResponse.m +++ b/src/Amazon.SNS/Model/SNSListTopicsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSListTopicsResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSListTopicsResponseUnmarshaller.m index d1595ff6..3abd9dbb 100644 --- a/src/Amazon.SNS/Model/SNSListTopicsResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSListTopicsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSNotFoundException.m b/src/Amazon.SNS/Model/SNSNotFoundException.m index 57646ef7..ac904492 100644 --- a/src/Amazon.SNS/Model/SNSNotFoundException.m +++ b/src/Amazon.SNS/Model/SNSNotFoundException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSPublishRequest.m b/src/Amazon.SNS/Model/SNSPublishRequest.m index 68e1262b..0d4395e3 100644 --- a/src/Amazon.SNS/Model/SNSPublishRequest.m +++ b/src/Amazon.SNS/Model/SNSPublishRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,14 +21,16 @@ @implementation SNSPublishRequest @synthesize topicArn; @synthesize message; @synthesize subject; +@synthesize messageStructure; -(id)init { if (self = [super init]) { - topicArn = nil; - message = nil; - subject = nil; + topicArn = nil; + message = nil; + subject = nil; + messageStructure = nil; } return self; @@ -65,6 +67,7 @@ -(NSString *)description [buffer appendString:[[[NSString alloc] initWithFormat:@"TopicArn: %@,", topicArn] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"Message: %@,", message] autorelease]]; [buffer appendString:[[[NSString alloc] initWithFormat:@"Subject: %@,", subject] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"MessageStructure: %@,", messageStructure] autorelease]]; [buffer appendString:[super description]]; [buffer appendString:@"}"]; @@ -78,6 +81,7 @@ -(void)dealloc [topicArn release]; [message release]; [subject release]; + [messageStructure release]; [super dealloc]; } diff --git a/src/Amazon.SNS/Model/SNSPublishRequestMarshaller.m b/src/Amazon.SNS/Model/SNSPublishRequestMarshaller.m index 13305f26..b2931d10 100644 --- a/src/Amazon.SNS/Model/SNSPublishRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSPublishRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -44,6 +44,11 @@ +(AmazonServiceRequest *)createRequest:(SNSPublishRequest *)publishRequest [request setParameterValue:[NSString stringWithFormat:@"%@", publishRequest.subject] forKey:[NSString stringWithFormat:@"%@", @"Subject"]]; } } + if (publishRequest != nil) { + if (publishRequest.messageStructure != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", publishRequest.messageStructure] forKey:[NSString stringWithFormat:@"%@", @"MessageStructure"]]; + } + } return [request autorelease]; diff --git a/src/Amazon.SNS/Model/SNSPublishResponse.m b/src/Amazon.SNS/Model/SNSPublishResponse.m index 07423bbb..69a86694 100644 --- a/src/Amazon.SNS/Model/SNSPublishResponse.m +++ b/src/Amazon.SNS/Model/SNSPublishResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSPublishResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSPublishResponseUnmarshaller.m index 2b98f879..db048567 100644 --- a/src/Amazon.SNS/Model/SNSPublishResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSPublishResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSRemovePermissionRequest.m b/src/Amazon.SNS/Model/SNSRemovePermissionRequest.m index 810b5d04..fc4e2de5 100644 --- a/src/Amazon.SNS/Model/SNSRemovePermissionRequest.m +++ b/src/Amazon.SNS/Model/SNSRemovePermissionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSRemovePermissionRequestMarshaller.m b/src/Amazon.SNS/Model/SNSRemovePermissionRequestMarshaller.m index c566c52a..e3fe852e 100644 --- a/src/Amazon.SNS/Model/SNSRemovePermissionRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSRemovePermissionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSRemovePermissionResponse.m b/src/Amazon.SNS/Model/SNSRemovePermissionResponse.m index cb0c1366..b8c2ab3e 100644 --- a/src/Amazon.SNS/Model/SNSRemovePermissionResponse.m +++ b/src/Amazon.SNS/Model/SNSRemovePermissionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSRemovePermissionResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSRemovePermissionResponseUnmarshaller.m index 0fb6696a..77b6d990 100644 --- a/src/Amazon.SNS/Model/SNSRemovePermissionResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSRemovePermissionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesRequest.m b/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesRequest.m new file mode 100644 index 00000000..5c234cfc --- /dev/null +++ b/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesRequest.m @@ -0,0 +1,76 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "SNSSetSubscriptionAttributesRequest.h" + + +@implementation SNSSetSubscriptionAttributesRequest + +@synthesize subscriptionArn; +@synthesize attributeName; +@synthesize attributeValue; + + +-(id)init +{ + if (self = [super init]) { + subscriptionArn = nil; + attributeName = nil; + attributeValue = nil; + } + + return self; +} + +-(id)initWithSubscriptionArn:(NSString *)theSubscriptionArn andAttributeName:(NSString *)theAttributeName andAttributeValue:(NSString *)theAttributeValue +{ + if (self = [self init]) { + self.subscriptionArn = theSubscriptionArn; + self.attributeName = theAttributeName; + self.attributeValue = theAttributeValue; + } + + return self; +} + + + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"SubscriptionArn: %@,", subscriptionArn] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributeName: %@,", attributeName] autorelease]]; + [buffer appendString:[[[NSString alloc] initWithFormat:@"AttributeValue: %@,", attributeValue] autorelease]]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + + + +-(void)dealloc +{ + [subscriptionArn release]; + [attributeName release]; + [attributeValue release]; + + [super dealloc]; +} + + +@end diff --git a/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesRequestMarshaller.m b/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesRequestMarshaller.m new file mode 100644 index 00000000..12573999 --- /dev/null +++ b/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesRequestMarshaller.m @@ -0,0 +1,53 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "SNSSetSubscriptionAttributesRequestMarshaller.h" + +@implementation SNSSetSubscriptionAttributesRequestMarshaller + ++(AmazonServiceRequest *)createRequest:(SNSSetSubscriptionAttributesRequest *)setSubscriptionAttributesRequest +{ + AmazonServiceRequest *request = [[SNSRequest alloc] init]; + + [request setParameterValue:@"SetSubscriptionAttributes" forKey:@"Action"]; + [request setParameterValue:@"2010-03-31" forKey:@"Version"]; + + [request setDelegate:[setSubscriptionAttributesRequest delegate]]; + [request setCredentials:[setSubscriptionAttributesRequest credentials]]; + [request setEndpoint:[setSubscriptionAttributesRequest requestEndpoint]]; + [request setRequestTag:[setSubscriptionAttributesRequest requestTag]]; + + if (setSubscriptionAttributesRequest != nil) { + if (setSubscriptionAttributesRequest.subscriptionArn != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", setSubscriptionAttributesRequest.subscriptionArn] forKey:[NSString stringWithFormat:@"%@", @"SubscriptionArn"]]; + } + } + if (setSubscriptionAttributesRequest != nil) { + if (setSubscriptionAttributesRequest.attributeName != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", setSubscriptionAttributesRequest.attributeName] forKey:[NSString stringWithFormat:@"%@", @"AttributeName"]]; + } + } + if (setSubscriptionAttributesRequest != nil) { + if (setSubscriptionAttributesRequest.attributeValue != nil) { + [request setParameterValue:[NSString stringWithFormat:@"%@", setSubscriptionAttributesRequest.attributeValue] forKey:[NSString stringWithFormat:@"%@", @"AttributeValue"]]; + } + } + + + return [request autorelease]; +} + +@end + diff --git a/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesResponse.m b/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesResponse.m new file mode 100644 index 00000000..f5cd3e79 --- /dev/null +++ b/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesResponse.m @@ -0,0 +1,73 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "SNSSetSubscriptionAttributesResponse.h" + +@implementation SNSSetSubscriptionAttributesResponse + + +-(id)init +{ + return [super init]; +} + +-(void)setException:(AmazonServiceException *)theException +{ + AmazonServiceException *newException = nil; + + if ([[theException errorCode] isEqualToString:@"NotFound"]) { + newException = [[SNSNotFoundException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"AuthorizationError"]) { + newException = [[SNSAuthorizationErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InternalError"]) { + newException = [[SNSInternalErrorException alloc] initWithMessage:@""]; + } + + if ([[theException errorCode] isEqualToString:@"InvalidParameter"]) { + newException = [[SNSInvalidParameterException alloc] initWithMessage:@""]; + } + + if (newException != nil) { + [newException setPropertiesWithException:theException]; + [exception release]; + exception = newException; + } + else { + [exception release]; + exception = [theException retain]; + } +} + +-(NSString *)description +{ + NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256]; + + [buffer appendString:@"{"]; + [buffer appendString:[super description]]; + [buffer appendString:@"}"]; + + return [buffer autorelease]; +} + +-(void)dealloc +{ + [super dealloc]; +} + +@end diff --git a/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesResponseUnmarshaller.m new file mode 100644 index 00000000..ddb584f5 --- /dev/null +++ b/src/Amazon.SNS/Model/SNSSetSubscriptionAttributesResponseUnmarshaller.m @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "SNSSetSubscriptionAttributesResponseUnmarshaller.h" + +@implementation SNSSetSubscriptionAttributesResponseUnmarshaller + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict +{ + [super parser:parser didStartElement:elementName namespaceURI:namespaceURI qualifiedName:qName attributes:attributeDict]; + + if ([elementName isEqualToString:@"Error"]) { + [parser setDelegate:[[[AmazonServiceExceptionUnmarshaller alloc] initWithCaller:self withParentObject:self.response withSetter:@selector(setException:)] autorelease]]; + } +} + +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName +{ + [super parser:parser didEndElement:elementName namespaceURI:namespaceURI qualifiedName:qName]; +} + +-(SNSSetSubscriptionAttributesResponse *)response +{ + if (nil == response) { + response = [[SNSSetSubscriptionAttributesResponse alloc] init]; + } + return response; +} + +-(void)dealloc +{ + [response release]; + [super dealloc]; +} + +@end diff --git a/src/Amazon.SNS/Model/SNSSetTopicAttributesRequest.m b/src/Amazon.SNS/Model/SNSSetTopicAttributesRequest.m index f31d3fd7..fb457c66 100644 --- a/src/Amazon.SNS/Model/SNSSetTopicAttributesRequest.m +++ b/src/Amazon.SNS/Model/SNSSetTopicAttributesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSetTopicAttributesRequestMarshaller.m b/src/Amazon.SNS/Model/SNSSetTopicAttributesRequestMarshaller.m index 3f9952f6..412a5a47 100644 --- a/src/Amazon.SNS/Model/SNSSetTopicAttributesRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSSetTopicAttributesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSetTopicAttributesResponse.m b/src/Amazon.SNS/Model/SNSSetTopicAttributesResponse.m index 8101d7f8..eb52325e 100644 --- a/src/Amazon.SNS/Model/SNSSetTopicAttributesResponse.m +++ b/src/Amazon.SNS/Model/SNSSetTopicAttributesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSetTopicAttributesResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSSetTopicAttributesResponseUnmarshaller.m index 2289f5ee..0480c70b 100644 --- a/src/Amazon.SNS/Model/SNSSetTopicAttributesResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSSetTopicAttributesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSubscribeRequest.m b/src/Amazon.SNS/Model/SNSSubscribeRequest.m index 4318d556..6feab55a 100644 --- a/src/Amazon.SNS/Model/SNSSubscribeRequest.m +++ b/src/Amazon.SNS/Model/SNSSubscribeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSubscribeRequestMarshaller.m b/src/Amazon.SNS/Model/SNSSubscribeRequestMarshaller.m index 0731807e..010096f5 100644 --- a/src/Amazon.SNS/Model/SNSSubscribeRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSSubscribeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSubscribeResponse.m b/src/Amazon.SNS/Model/SNSSubscribeResponse.m index fb715156..6cf8599c 100644 --- a/src/Amazon.SNS/Model/SNSSubscribeResponse.m +++ b/src/Amazon.SNS/Model/SNSSubscribeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSubscribeResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSSubscribeResponseUnmarshaller.m index 1f48e860..7e32bc49 100644 --- a/src/Amazon.SNS/Model/SNSSubscribeResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSSubscribeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSubscription.m b/src/Amazon.SNS/Model/SNSSubscription.m index 16063d87..eb3463ac 100644 --- a/src/Amazon.SNS/Model/SNSSubscription.m +++ b/src/Amazon.SNS/Model/SNSSubscription.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSubscriptionLimitExceededException.m b/src/Amazon.SNS/Model/SNSSubscriptionLimitExceededException.m index 789c25f2..7f563489 100644 --- a/src/Amazon.SNS/Model/SNSSubscriptionLimitExceededException.m +++ b/src/Amazon.SNS/Model/SNSSubscriptionLimitExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSSubscriptionUnmarshaller.m b/src/Amazon.SNS/Model/SNSSubscriptionUnmarshaller.m index d325362f..359d4d09 100644 --- a/src/Amazon.SNS/Model/SNSSubscriptionUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSSubscriptionUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSTopic.m b/src/Amazon.SNS/Model/SNSTopic.m index 5068f845..b8c06e7b 100644 --- a/src/Amazon.SNS/Model/SNSTopic.m +++ b/src/Amazon.SNS/Model/SNSTopic.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSTopicLimitExceededException.m b/src/Amazon.SNS/Model/SNSTopicLimitExceededException.m index ab93f355..eb0cc597 100644 --- a/src/Amazon.SNS/Model/SNSTopicLimitExceededException.m +++ b/src/Amazon.SNS/Model/SNSTopicLimitExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSTopicUnmarshaller.m b/src/Amazon.SNS/Model/SNSTopicUnmarshaller.m index 68a8e325..251922d2 100644 --- a/src/Amazon.SNS/Model/SNSTopicUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSTopicUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSUnsubscribeRequest.m b/src/Amazon.SNS/Model/SNSUnsubscribeRequest.m index 536150b5..c3940aad 100644 --- a/src/Amazon.SNS/Model/SNSUnsubscribeRequest.m +++ b/src/Amazon.SNS/Model/SNSUnsubscribeRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSUnsubscribeRequestMarshaller.m b/src/Amazon.SNS/Model/SNSUnsubscribeRequestMarshaller.m index 613c4caf..fc3d57ef 100644 --- a/src/Amazon.SNS/Model/SNSUnsubscribeRequestMarshaller.m +++ b/src/Amazon.SNS/Model/SNSUnsubscribeRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSUnsubscribeResponse.m b/src/Amazon.SNS/Model/SNSUnsubscribeResponse.m index a715bbfd..1d813866 100644 --- a/src/Amazon.SNS/Model/SNSUnsubscribeResponse.m +++ b/src/Amazon.SNS/Model/SNSUnsubscribeResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/Model/SNSUnsubscribeResponseUnmarshaller.m b/src/Amazon.SNS/Model/SNSUnsubscribeResponseUnmarshaller.m index 99a23d90..4813339f 100644 --- a/src/Amazon.SNS/Model/SNSUnsubscribeResponseUnmarshaller.m +++ b/src/Amazon.SNS/Model/SNSUnsubscribeResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/SNSResponse.m b/src/Amazon.SNS/SNSResponse.m index c70d81f8..05325aa2 100644 --- a/src/Amazon.SNS/SNSResponse.m +++ b/src/Amazon.SNS/SNSResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SNS/SNSResponseUnmarshaller.m b/src/Amazon.SNS/SNSResponseUnmarshaller.m index 4be68ceb..9c9616d5 100644 --- a/src/Amazon.SNS/SNSResponseUnmarshaller.m +++ b/src/Amazon.SNS/SNSResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/AmazonSQSClient.m b/src/Amazon.SQS/AmazonSQSClient.m index 8d4586cd..f9ac92a8 100644 --- a/src/Amazon.SQS/AmazonSQSClient.m +++ b/src/Amazon.SQS/AmazonSQSClient.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSAddPermissionRequest.m b/src/Amazon.SQS/Model/SQSAddPermissionRequest.m index 1fecc5f9..7f6ffdb8 100644 --- a/src/Amazon.SQS/Model/SQSAddPermissionRequest.m +++ b/src/Amazon.SQS/Model/SQSAddPermissionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSAddPermissionRequestMarshaller.m b/src/Amazon.SQS/Model/SQSAddPermissionRequestMarshaller.m index 1dc85465..8d47fc7d 100644 --- a/src/Amazon.SQS/Model/SQSAddPermissionRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSAddPermissionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSAddPermissionResponse.m b/src/Amazon.SQS/Model/SQSAddPermissionResponse.m index c52d9e3b..c4ea49f2 100644 --- a/src/Amazon.SQS/Model/SQSAddPermissionResponse.m +++ b/src/Amazon.SQS/Model/SQSAddPermissionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSAddPermissionResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSAddPermissionResponseUnmarshaller.m index 2719cd08..d716cb9f 100644 --- a/src/Amazon.SQS/Model/SQSAddPermissionResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSAddPermissionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSBatchEntryIdsNotDistinctException.m b/src/Amazon.SQS/Model/SQSBatchEntryIdsNotDistinctException.m index 6bbef8f0..999e5646 100644 --- a/src/Amazon.SQS/Model/SQSBatchEntryIdsNotDistinctException.m +++ b/src/Amazon.SQS/Model/SQSBatchEntryIdsNotDistinctException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSBatchRequestTooLongException.m b/src/Amazon.SQS/Model/SQSBatchRequestTooLongException.m index 6f578d74..b6333d94 100644 --- a/src/Amazon.SQS/Model/SQSBatchRequestTooLongException.m +++ b/src/Amazon.SQS/Model/SQSBatchRequestTooLongException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSBatchResponseErrorEntry.m b/src/Amazon.SQS/Model/SQSBatchResponseErrorEntry.m index 137a6b40..a1ffda76 100644 --- a/src/Amazon.SQS/Model/SQSBatchResponseErrorEntry.m +++ b/src/Amazon.SQS/Model/SQSBatchResponseErrorEntry.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSBatchResponseErrorEntryUnmarshaller.m b/src/Amazon.SQS/Model/SQSBatchResponseErrorEntryUnmarshaller.m index f93d155d..a7d05e77 100644 --- a/src/Amazon.SQS/Model/SQSBatchResponseErrorEntryUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSBatchResponseErrorEntryUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequest.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequest.m index 5bcaca93..5e692bf2 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequest.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequestEntry.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequestEntry.m index 9ca469fb..e0d5d3fb 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequestEntry.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequestEntry.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequestMarshaller.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequestMarshaller.m index 6117f01a..cff6b80b 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponse.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponse.m index 450862f4..e22b2f23 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponse.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseEntry.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseEntry.m index 0d29b10f..9c6aa7f5 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseEntry.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseEntry.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseEntryUnmarshaller.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseEntryUnmarshaller.m index 81c360b3..b319db88 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseEntryUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseEntryUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseUnmarshaller.m index f385eb76..bd8510b3 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityBatchResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityRequest.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityRequest.m index 37f9ce28..5b05d77e 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityRequest.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityRequestMarshaller.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityRequestMarshaller.m index 1b3c2556..5e9b3633 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityResponse.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityResponse.m index 428454ff..4aba9f86 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityResponse.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityResponseUnmarshaller.m index c8a212cb..36b36583 100644 --- a/src/Amazon.SQS/Model/SQSChangeMessageVisibilityResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSChangeMessageVisibilityResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSCreateQueueRequest.m b/src/Amazon.SQS/Model/SQSCreateQueueRequest.m index d5d51f19..3cb052c3 100644 --- a/src/Amazon.SQS/Model/SQSCreateQueueRequest.m +++ b/src/Amazon.SQS/Model/SQSCreateQueueRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSCreateQueueRequestMarshaller.m b/src/Amazon.SQS/Model/SQSCreateQueueRequestMarshaller.m index 10103584..affa41a5 100644 --- a/src/Amazon.SQS/Model/SQSCreateQueueRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSCreateQueueRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSCreateQueueResponse.m b/src/Amazon.SQS/Model/SQSCreateQueueResponse.m index 8e07f978..ec32be44 100644 --- a/src/Amazon.SQS/Model/SQSCreateQueueResponse.m +++ b/src/Amazon.SQS/Model/SQSCreateQueueResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSCreateQueueResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSCreateQueueResponseUnmarshaller.m index 1080db42..25b3f332 100644 --- a/src/Amazon.SQS/Model/SQSCreateQueueResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSCreateQueueResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequest.m b/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequest.m index befdbccb..8dfd1ce5 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequest.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequestEntry.m b/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequestEntry.m index b3594df0..fae90266 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequestEntry.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequestEntry.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequestMarshaller.m b/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequestMarshaller.m index b9b49e35..7cea8df3 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageBatchRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponse.m b/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponse.m index 4b5e16de..3a756ee1 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponse.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseEntry.m b/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseEntry.m index d5788e98..70d16d8b 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseEntry.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseEntry.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseEntryUnmarshaller.m b/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseEntryUnmarshaller.m index 286a833f..579b993f 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseEntryUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseEntryUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseUnmarshaller.m index f037c57a..6394a3da 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageBatchResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageRequest.m b/src/Amazon.SQS/Model/SQSDeleteMessageRequest.m index 33f78b1f..2b60ea1a 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageRequest.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageRequestMarshaller.m b/src/Amazon.SQS/Model/SQSDeleteMessageRequestMarshaller.m index fc9bb064..a4a6b90c 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageResponse.m b/src/Amazon.SQS/Model/SQSDeleteMessageResponse.m index cc721c86..386da7a9 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageResponse.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteMessageResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSDeleteMessageResponseUnmarshaller.m index 65bde4c3..fcd094b6 100644 --- a/src/Amazon.SQS/Model/SQSDeleteMessageResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSDeleteMessageResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteQueueRequest.m b/src/Amazon.SQS/Model/SQSDeleteQueueRequest.m index edd83003..cc9887ff 100644 --- a/src/Amazon.SQS/Model/SQSDeleteQueueRequest.m +++ b/src/Amazon.SQS/Model/SQSDeleteQueueRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteQueueRequestMarshaller.m b/src/Amazon.SQS/Model/SQSDeleteQueueRequestMarshaller.m index 437185b0..d62b55c7 100644 --- a/src/Amazon.SQS/Model/SQSDeleteQueueRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSDeleteQueueRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteQueueResponse.m b/src/Amazon.SQS/Model/SQSDeleteQueueResponse.m index cc26bb9c..f32ed8a5 100644 --- a/src/Amazon.SQS/Model/SQSDeleteQueueResponse.m +++ b/src/Amazon.SQS/Model/SQSDeleteQueueResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSDeleteQueueResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSDeleteQueueResponseUnmarshaller.m index af4ef2eb..b9589e1e 100644 --- a/src/Amazon.SQS/Model/SQSDeleteQueueResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSDeleteQueueResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSEmptyBatchRequestException.m b/src/Amazon.SQS/Model/SQSEmptyBatchRequestException.m index 9a317db5..08084df1 100644 --- a/src/Amazon.SQS/Model/SQSEmptyBatchRequestException.m +++ b/src/Amazon.SQS/Model/SQSEmptyBatchRequestException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSGetQueueAttributesRequest.m b/src/Amazon.SQS/Model/SQSGetQueueAttributesRequest.m index b7221095..38e63174 100644 --- a/src/Amazon.SQS/Model/SQSGetQueueAttributesRequest.m +++ b/src/Amazon.SQS/Model/SQSGetQueueAttributesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSGetQueueAttributesRequestMarshaller.m b/src/Amazon.SQS/Model/SQSGetQueueAttributesRequestMarshaller.m index b4e1c331..7b7f365c 100644 --- a/src/Amazon.SQS/Model/SQSGetQueueAttributesRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSGetQueueAttributesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSGetQueueAttributesResponse.m b/src/Amazon.SQS/Model/SQSGetQueueAttributesResponse.m index 56627d2b..11f3ce72 100644 --- a/src/Amazon.SQS/Model/SQSGetQueueAttributesResponse.m +++ b/src/Amazon.SQS/Model/SQSGetQueueAttributesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSGetQueueAttributesResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSGetQueueAttributesResponseUnmarshaller.m index e0a07670..89f93dea 100644 --- a/src/Amazon.SQS/Model/SQSGetQueueAttributesResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSGetQueueAttributesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSGetQueueUrlRequest.m b/src/Amazon.SQS/Model/SQSGetQueueUrlRequest.m index c6e42675..783908bc 100644 --- a/src/Amazon.SQS/Model/SQSGetQueueUrlRequest.m +++ b/src/Amazon.SQS/Model/SQSGetQueueUrlRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSGetQueueUrlRequestMarshaller.m b/src/Amazon.SQS/Model/SQSGetQueueUrlRequestMarshaller.m index 8f72199b..8f44ed00 100644 --- a/src/Amazon.SQS/Model/SQSGetQueueUrlRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSGetQueueUrlRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSGetQueueUrlResponse.m b/src/Amazon.SQS/Model/SQSGetQueueUrlResponse.m index fabfa82a..165c3dba 100644 --- a/src/Amazon.SQS/Model/SQSGetQueueUrlResponse.m +++ b/src/Amazon.SQS/Model/SQSGetQueueUrlResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSGetQueueUrlResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSGetQueueUrlResponseUnmarshaller.m index 406d8bc1..993ace5c 100644 --- a/src/Amazon.SQS/Model/SQSGetQueueUrlResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSGetQueueUrlResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSInvalidAttributeNameException.m b/src/Amazon.SQS/Model/SQSInvalidAttributeNameException.m index 3feb7585..bf61a8e8 100644 --- a/src/Amazon.SQS/Model/SQSInvalidAttributeNameException.m +++ b/src/Amazon.SQS/Model/SQSInvalidAttributeNameException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSInvalidBatchEntryIdException.m b/src/Amazon.SQS/Model/SQSInvalidBatchEntryIdException.m index 69c6ccce..37ea5832 100644 --- a/src/Amazon.SQS/Model/SQSInvalidBatchEntryIdException.m +++ b/src/Amazon.SQS/Model/SQSInvalidBatchEntryIdException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSInvalidIdFormatException.m b/src/Amazon.SQS/Model/SQSInvalidIdFormatException.m index 5f97eb68..821058d8 100644 --- a/src/Amazon.SQS/Model/SQSInvalidIdFormatException.m +++ b/src/Amazon.SQS/Model/SQSInvalidIdFormatException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSInvalidMessageContentsException.m b/src/Amazon.SQS/Model/SQSInvalidMessageContentsException.m index 6ecf51ed..92547e31 100644 --- a/src/Amazon.SQS/Model/SQSInvalidMessageContentsException.m +++ b/src/Amazon.SQS/Model/SQSInvalidMessageContentsException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSListQueuesRequest.m b/src/Amazon.SQS/Model/SQSListQueuesRequest.m index 34359e0b..117ec77d 100644 --- a/src/Amazon.SQS/Model/SQSListQueuesRequest.m +++ b/src/Amazon.SQS/Model/SQSListQueuesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSListQueuesRequestMarshaller.m b/src/Amazon.SQS/Model/SQSListQueuesRequestMarshaller.m index 3fe06772..085e18ce 100644 --- a/src/Amazon.SQS/Model/SQSListQueuesRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSListQueuesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSListQueuesResponse.m b/src/Amazon.SQS/Model/SQSListQueuesResponse.m index 15bb5d15..0d61ea5b 100644 --- a/src/Amazon.SQS/Model/SQSListQueuesResponse.m +++ b/src/Amazon.SQS/Model/SQSListQueuesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSListQueuesResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSListQueuesResponseUnmarshaller.m index 33f5111a..f42e34c0 100644 --- a/src/Amazon.SQS/Model/SQSListQueuesResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSListQueuesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSMessage.m b/src/Amazon.SQS/Model/SQSMessage.m index 1fae509a..cf2c0dbb 100644 --- a/src/Amazon.SQS/Model/SQSMessage.m +++ b/src/Amazon.SQS/Model/SQSMessage.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSMessageNotInflightException.m b/src/Amazon.SQS/Model/SQSMessageNotInflightException.m index 77cf8f0e..56174ba1 100644 --- a/src/Amazon.SQS/Model/SQSMessageNotInflightException.m +++ b/src/Amazon.SQS/Model/SQSMessageNotInflightException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSMessageUnmarshaller.m b/src/Amazon.SQS/Model/SQSMessageUnmarshaller.m index 0a6a2761..99f783b2 100644 --- a/src/Amazon.SQS/Model/SQSMessageUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSMessageUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSOverLimitException.m b/src/Amazon.SQS/Model/SQSOverLimitException.m index 9462901a..23330918 100644 --- a/src/Amazon.SQS/Model/SQSOverLimitException.m +++ b/src/Amazon.SQS/Model/SQSOverLimitException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSQueueDeletedRecentlyException.m b/src/Amazon.SQS/Model/SQSQueueDeletedRecentlyException.m index cfd40824..179213c2 100644 --- a/src/Amazon.SQS/Model/SQSQueueDeletedRecentlyException.m +++ b/src/Amazon.SQS/Model/SQSQueueDeletedRecentlyException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSQueueDoesNotExistException.m b/src/Amazon.SQS/Model/SQSQueueDoesNotExistException.m index 201e7653..5dcc827d 100644 --- a/src/Amazon.SQS/Model/SQSQueueDoesNotExistException.m +++ b/src/Amazon.SQS/Model/SQSQueueDoesNotExistException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSQueueNameExistsException.m b/src/Amazon.SQS/Model/SQSQueueNameExistsException.m index 6ea42120..573851d8 100644 --- a/src/Amazon.SQS/Model/SQSQueueNameExistsException.m +++ b/src/Amazon.SQS/Model/SQSQueueNameExistsException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSReceiptHandleIsInvalidException.m b/src/Amazon.SQS/Model/SQSReceiptHandleIsInvalidException.m index 49df2d0f..53fd0001 100644 --- a/src/Amazon.SQS/Model/SQSReceiptHandleIsInvalidException.m +++ b/src/Amazon.SQS/Model/SQSReceiptHandleIsInvalidException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSReceiveMessageRequest.m b/src/Amazon.SQS/Model/SQSReceiveMessageRequest.m index 40115019..634d980a 100644 --- a/src/Amazon.SQS/Model/SQSReceiveMessageRequest.m +++ b/src/Amazon.SQS/Model/SQSReceiveMessageRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSReceiveMessageRequestMarshaller.m b/src/Amazon.SQS/Model/SQSReceiveMessageRequestMarshaller.m index 1ba55580..8be364b7 100644 --- a/src/Amazon.SQS/Model/SQSReceiveMessageRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSReceiveMessageRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSReceiveMessageResponse.m b/src/Amazon.SQS/Model/SQSReceiveMessageResponse.m index b8917c27..27b92b9a 100644 --- a/src/Amazon.SQS/Model/SQSReceiveMessageResponse.m +++ b/src/Amazon.SQS/Model/SQSReceiveMessageResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSReceiveMessageResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSReceiveMessageResponseUnmarshaller.m index 88ccab86..98971617 100644 --- a/src/Amazon.SQS/Model/SQSReceiveMessageResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSReceiveMessageResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSRemovePermissionRequest.m b/src/Amazon.SQS/Model/SQSRemovePermissionRequest.m index 6b5ac11d..ad006823 100644 --- a/src/Amazon.SQS/Model/SQSRemovePermissionRequest.m +++ b/src/Amazon.SQS/Model/SQSRemovePermissionRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSRemovePermissionRequestMarshaller.m b/src/Amazon.SQS/Model/SQSRemovePermissionRequestMarshaller.m index c97744e6..115fed01 100644 --- a/src/Amazon.SQS/Model/SQSRemovePermissionRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSRemovePermissionRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSRemovePermissionResponse.m b/src/Amazon.SQS/Model/SQSRemovePermissionResponse.m index d5fafe9c..422cbf0f 100644 --- a/src/Amazon.SQS/Model/SQSRemovePermissionResponse.m +++ b/src/Amazon.SQS/Model/SQSRemovePermissionResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSRemovePermissionResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSRemovePermissionResponseUnmarshaller.m index 84df4a20..e05cbebc 100644 --- a/src/Amazon.SQS/Model/SQSRemovePermissionResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSRemovePermissionResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageBatchRequest.m b/src/Amazon.SQS/Model/SQSSendMessageBatchRequest.m index fa407700..86a8a16b 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageBatchRequest.m +++ b/src/Amazon.SQS/Model/SQSSendMessageBatchRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageBatchRequestEntry.m b/src/Amazon.SQS/Model/SQSSendMessageBatchRequestEntry.m index 1e46dff6..e1f99487 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageBatchRequestEntry.m +++ b/src/Amazon.SQS/Model/SQSSendMessageBatchRequestEntry.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageBatchRequestMarshaller.m b/src/Amazon.SQS/Model/SQSSendMessageBatchRequestMarshaller.m index 7524ba9b..22fa262d 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageBatchRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSSendMessageBatchRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageBatchResponse.m b/src/Amazon.SQS/Model/SQSSendMessageBatchResponse.m index f7c6e669..80a2758b 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageBatchResponse.m +++ b/src/Amazon.SQS/Model/SQSSendMessageBatchResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageBatchResponseEntry.m b/src/Amazon.SQS/Model/SQSSendMessageBatchResponseEntry.m index b39f5616..83b8aff6 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageBatchResponseEntry.m +++ b/src/Amazon.SQS/Model/SQSSendMessageBatchResponseEntry.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageBatchResponseEntryUnmarshaller.m b/src/Amazon.SQS/Model/SQSSendMessageBatchResponseEntryUnmarshaller.m index d11fe7c9..a0f1378e 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageBatchResponseEntryUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSSendMessageBatchResponseEntryUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageBatchResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSSendMessageBatchResponseUnmarshaller.m index ac8ff7fc..1c4acef3 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageBatchResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSSendMessageBatchResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageRequest.m b/src/Amazon.SQS/Model/SQSSendMessageRequest.m index ad3cf7e2..89db505e 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageRequest.m +++ b/src/Amazon.SQS/Model/SQSSendMessageRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageRequestMarshaller.m b/src/Amazon.SQS/Model/SQSSendMessageRequestMarshaller.m index a26f828a..385213b8 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSSendMessageRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageResponse.m b/src/Amazon.SQS/Model/SQSSendMessageResponse.m index b429a86e..1e3b154b 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageResponse.m +++ b/src/Amazon.SQS/Model/SQSSendMessageResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSendMessageResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSSendMessageResponseUnmarshaller.m index ee0a1ac8..7e412443 100644 --- a/src/Amazon.SQS/Model/SQSSendMessageResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSSendMessageResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSetQueueAttributesRequest.m b/src/Amazon.SQS/Model/SQSSetQueueAttributesRequest.m index ec44f5b3..24ad4460 100644 --- a/src/Amazon.SQS/Model/SQSSetQueueAttributesRequest.m +++ b/src/Amazon.SQS/Model/SQSSetQueueAttributesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSetQueueAttributesRequestMarshaller.m b/src/Amazon.SQS/Model/SQSSetQueueAttributesRequestMarshaller.m index ba1a36eb..73578939 100644 --- a/src/Amazon.SQS/Model/SQSSetQueueAttributesRequestMarshaller.m +++ b/src/Amazon.SQS/Model/SQSSetQueueAttributesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSetQueueAttributesResponse.m b/src/Amazon.SQS/Model/SQSSetQueueAttributesResponse.m index 3dad2c4f..fab5435e 100644 --- a/src/Amazon.SQS/Model/SQSSetQueueAttributesResponse.m +++ b/src/Amazon.SQS/Model/SQSSetQueueAttributesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSSetQueueAttributesResponseUnmarshaller.m b/src/Amazon.SQS/Model/SQSSetQueueAttributesResponseUnmarshaller.m index b0c3b351..5f088395 100644 --- a/src/Amazon.SQS/Model/SQSSetQueueAttributesResponseUnmarshaller.m +++ b/src/Amazon.SQS/Model/SQSSetQueueAttributesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/Model/SQSTooManyEntriesInBatchRequestException.m b/src/Amazon.SQS/Model/SQSTooManyEntriesInBatchRequestException.m index 746d7df4..48d8c081 100644 --- a/src/Amazon.SQS/Model/SQSTooManyEntriesInBatchRequestException.m +++ b/src/Amazon.SQS/Model/SQSTooManyEntriesInBatchRequestException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/SQSResponse.m b/src/Amazon.SQS/SQSResponse.m index 52674d6e..f08009e1 100644 --- a/src/Amazon.SQS/SQSResponse.m +++ b/src/Amazon.SQS/SQSResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SQS/SQSResponseUnmarshaller.m b/src/Amazon.SQS/SQSResponseUnmarshaller.m index c5886aa8..c2e02db6 100644 --- a/src/Amazon.SQS/SQSResponseUnmarshaller.m +++ b/src/Amazon.SQS/SQSResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/AmazonSimpleDBClient.m b/src/Amazon.SimpleDB/AmazonSimpleDBClient.m index 78bec110..b66131f8 100644 --- a/src/Amazon.SimpleDB/AmazonSimpleDBClient.m +++ b/src/Amazon.SimpleDB/AmazonSimpleDBClient.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBAttribute.m b/src/Amazon.SimpleDB/Model/SimpleDBAttribute.m index e3e8e8b4..507ed6fe 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBAttribute.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBAttribute.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBAttributeDoesNotExistException.m b/src/Amazon.SimpleDB/Model/SimpleDBAttributeDoesNotExistException.m index a2eef998..2ae3b49c 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBAttributeDoesNotExistException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBAttributeDoesNotExistException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBAttributeUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBAttributeUnmarshaller.m index 00777270..9fdc4c29 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBAttributeUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBAttributeUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesRequest.m index 53be5d3a..0d8f8530 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesRequestMarshaller.m index d4506641..9d6202b8 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesResponse.m index 99517201..a35464f9 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesResponseUnmarshaller.m index 9caabf3c..05420ad4 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBBatchDeleteAttributesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesRequest.m index 6af6ce1f..94ec7b9c 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesRequestMarshaller.m index 3a674511..67f9316f 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesResponse.m index c6813fab..63c9ec01 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesResponseUnmarshaller.m index 3713df4f..73c89b15 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBBatchPutAttributesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainRequest.m index 60707fa1..f837fd1e 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainRequestMarshaller.m index 4d28152b..9e1cb5d5 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainResponse.m index b2c095cb..f30a5db7 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainResponseUnmarshaller.m index a176fd0f..6d3a7a77 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBCreateDomainResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDeletableItem.m b/src/Amazon.SimpleDB/Model/SimpleDBDeletableItem.m index 58c26546..83c68e62 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDeletableItem.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDeletableItem.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesRequest.m index 67963fbd..a0d2fc75 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesRequestMarshaller.m index 9cf636cd..a40a533b 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesResponse.m index a0f8feab..a1fb3b2b 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesResponseUnmarshaller.m index fcf2ba2d..be93ace6 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDeleteAttributesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainRequest.m index 383b8d69..fd1d16c6 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainRequestMarshaller.m index 0631339c..cba3be16 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainResponse.m index 18b732d6..d4d85506 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainResponseUnmarshaller.m index 3a32dc29..d6fe2739 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDeleteDomainResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataRequest.m index 54b75cb9..988acf6a 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataRequestMarshaller.m index ce1a4b3d..3bbd9750 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataResponse.m index 76ee2905..2070e682 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataResponseUnmarshaller.m index 0f1e4352..8ea881e2 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDomainMetadataResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBDuplicateItemNameException.m b/src/Amazon.SimpleDB/Model/SimpleDBDuplicateItemNameException.m index d9d98325..50165d1a 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBDuplicateItemNameException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBDuplicateItemNameException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesRequest.m index 10119d50..d98e0dd3 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesRequestMarshaller.m index fb0b6e8e..08343f45 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesResponse.m index dc89917f..d2b4156a 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesResponseUnmarshaller.m index f4efccd6..06d31564 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBGetAttributesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBInvalidNextTokenException.m b/src/Amazon.SimpleDB/Model/SimpleDBInvalidNextTokenException.m index 2878769a..efc90ed5 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBInvalidNextTokenException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBInvalidNextTokenException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBInvalidNumberPredicatesException.m b/src/Amazon.SimpleDB/Model/SimpleDBInvalidNumberPredicatesException.m index 3188a101..b66fe43c 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBInvalidNumberPredicatesException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBInvalidNumberPredicatesException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBInvalidNumberValueTestsException.m b/src/Amazon.SimpleDB/Model/SimpleDBInvalidNumberValueTestsException.m index 22dba339..bb9ea1ac 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBInvalidNumberValueTestsException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBInvalidNumberValueTestsException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBInvalidParameterValueException.m b/src/Amazon.SimpleDB/Model/SimpleDBInvalidParameterValueException.m index 9f5e8674..492b0e59 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBInvalidParameterValueException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBInvalidParameterValueException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBInvalidQueryExpressionException.m b/src/Amazon.SimpleDB/Model/SimpleDBInvalidQueryExpressionException.m index 81141092..9617c84b 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBInvalidQueryExpressionException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBInvalidQueryExpressionException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBItem.m b/src/Amazon.SimpleDB/Model/SimpleDBItem.m index 76786810..22b32853 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBItem.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBItem.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBItemUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBItemUnmarshaller.m index a2cd04e3..321f9af6 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBItemUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBItemUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBListDomainsRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBListDomainsRequest.m index 00ed0c78..d8046b8f 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBListDomainsRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBListDomainsRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBListDomainsRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBListDomainsRequestMarshaller.m index aa402512..f1eb22d4 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBListDomainsRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBListDomainsRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBListDomainsResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBListDomainsResponse.m index 16b2d4e6..4df770c0 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBListDomainsResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBListDomainsResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBListDomainsResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBListDomainsResponseUnmarshaller.m index 32f26c84..00b707d5 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBListDomainsResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBListDomainsResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBMissingParameterException.m b/src/Amazon.SimpleDB/Model/SimpleDBMissingParameterException.m index 3c841cba..cd95b3d9 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBMissingParameterException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBMissingParameterException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBNoSuchDomainException.m b/src/Amazon.SimpleDB/Model/SimpleDBNoSuchDomainException.m index b9407b62..c31ba1a0 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBNoSuchDomainException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBNoSuchDomainException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainAttributesExceededException.m b/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainAttributesExceededException.m index 7078bec9..10e8fce4 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainAttributesExceededException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainAttributesExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainBytesExceededException.m b/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainBytesExceededException.m index a50b7cde..a4cefc1f 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainBytesExceededException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainBytesExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainsExceededException.m b/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainsExceededException.m index 3d4451e1..4ec23963 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainsExceededException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBNumberDomainsExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBNumberItemAttributesExceededException.m b/src/Amazon.SimpleDB/Model/SimpleDBNumberItemAttributesExceededException.m index a22d7f81..9510f147 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBNumberItemAttributesExceededException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBNumberItemAttributesExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBNumberSubmittedAttributesExceededException.m b/src/Amazon.SimpleDB/Model/SimpleDBNumberSubmittedAttributesExceededException.m index 38be012d..1abbf212 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBNumberSubmittedAttributesExceededException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBNumberSubmittedAttributesExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBNumberSubmittedItemsExceededException.m b/src/Amazon.SimpleDB/Model/SimpleDBNumberSubmittedItemsExceededException.m index e9d00b0d..dd711ea2 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBNumberSubmittedItemsExceededException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBNumberSubmittedItemsExceededException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesRequest.m index e6f80e96..3baf8218 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesRequestMarshaller.m index e1761294..96d9963c 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesResponse.m index cdcd1c8b..cb0afb26 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesResponseUnmarshaller.m index 91c8ba1a..27c3cc44 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBPutAttributesResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBReplaceableAttribute.m b/src/Amazon.SimpleDB/Model/SimpleDBReplaceableAttribute.m index 32114e38..fad063b6 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBReplaceableAttribute.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBReplaceableAttribute.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBReplaceableItem.m b/src/Amazon.SimpleDB/Model/SimpleDBReplaceableItem.m index 39939c9f..7d12319c 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBReplaceableItem.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBReplaceableItem.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBRequestTimeoutException.m b/src/Amazon.SimpleDB/Model/SimpleDBRequestTimeoutException.m index f2749167..fffda86f 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBRequestTimeoutException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBRequestTimeoutException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBSelectRequest.m b/src/Amazon.SimpleDB/Model/SimpleDBSelectRequest.m index 86b60c90..dd84cda8 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBSelectRequest.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBSelectRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBSelectRequestMarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBSelectRequestMarshaller.m index 3fddf6b4..1b2a8aa5 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBSelectRequestMarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBSelectRequestMarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBSelectResponse.m b/src/Amazon.SimpleDB/Model/SimpleDBSelectResponse.m index 24c58d24..10bc8554 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBSelectResponse.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBSelectResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBSelectResponseUnmarshaller.m b/src/Amazon.SimpleDB/Model/SimpleDBSelectResponseUnmarshaller.m index b6c64064..df61a334 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBSelectResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBSelectResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBTooManyRequestedAttributesException.m b/src/Amazon.SimpleDB/Model/SimpleDBTooManyRequestedAttributesException.m index f72f2e68..af2b36ae 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBTooManyRequestedAttributesException.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBTooManyRequestedAttributesException.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/Model/SimpleDBUpdateCondition.m b/src/Amazon.SimpleDB/Model/SimpleDBUpdateCondition.m index d12f95d7..5a7577a6 100644 --- a/src/Amazon.SimpleDB/Model/SimpleDBUpdateCondition.m +++ b/src/Amazon.SimpleDB/Model/SimpleDBUpdateCondition.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/SimpleDBRequest.m b/src/Amazon.SimpleDB/SimpleDBRequest.m index a6d13859..b81e81c7 100644 --- a/src/Amazon.SimpleDB/SimpleDBRequest.m +++ b/src/Amazon.SimpleDB/SimpleDBRequest.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/SimpleDBResponse.m b/src/Amazon.SimpleDB/SimpleDBResponse.m index b6ab20a7..347bb5cd 100644 --- a/src/Amazon.SimpleDB/SimpleDBResponse.m +++ b/src/Amazon.SimpleDB/SimpleDBResponse.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/Amazon.SimpleDB/SimpleDBResponseUnmarshaller.m b/src/Amazon.SimpleDB/SimpleDBResponseUnmarshaller.m index 56c1cf55..8cb8ed9c 100644 --- a/src/Amazon.SimpleDB/SimpleDBResponseUnmarshaller.m +++ b/src/Amazon.SimpleDB/SimpleDBResponseUnmarshaller.m @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/S3Uploader/S3Uploader/.DS_Store b/src/ThirdParty/.DS_Store similarity index 84% rename from samples/S3Uploader/S3Uploader/.DS_Store rename to src/ThirdParty/.DS_Store index ef699ce14cbe711a304428360a880f6926e95b0d..973cd3f8e3e91634a6af1cf9d705653e3ccde91f 100644 GIT binary patch delta 161 zcmZoMXfc@JFUrKgz`)4BAi$7RUR;orlb;0SubcdkartBe5f%*=1}}zS27d-WWZ9&G zoXp}91A}XfOw25-Z0sBy9Fy%C1GL4ft4&OG6ikh3brh-%4Gj!*6wHmxYHK-xK;Qs} tsFI$IM@V9IO>JHMV&; z<<=(^Kr7P;G8*prc@7Y+hT- y$;rVfaDYQpNzcY3B(bKpuD$_i4iGSc>;eH^2n8pbHh*LkW1H9@wwaydFFybXfhC*( diff --git a/src/ThirdParty/GTMLogger+ASL.h b/src/ThirdParty/GTMLogger+ASL.h index 2fc815e9..e659dd6a 100644 --- a/src/ThirdParty/GTMLogger+ASL.h +++ b/src/ThirdParty/GTMLogger+ASL.h @@ -52,7 +52,7 @@ // @interface GTMLogASLWriter : NSObject { @private - __weak Class aslClientClass_; + Class aslClientClass_; } // Returns an autoreleased GTMLogASLWriter instance that uses an instance of diff --git a/src/ThirdParty/JSON/JSON.h b/src/ThirdParty/JSON/JSON.h new file mode 100755 index 00000000..2a6ce73f --- /dev/null +++ b/src/ThirdParty/JSON/JSON.h @@ -0,0 +1,10 @@ +// +// JSON.h +// SBJson +// +// Created by Stig Brautaset on 01/06/2011. +// Copyright 2011 Stig Brautaset. All rights reserved. +// + +#warning The JSON.h header is deprecated, and will disappear in a future release. Please change to include SBJson.h instead. +#include "SBJson.h" diff --git a/src/ThirdParty/JSON/LICENSE b/src/ThirdParty/JSON/LICENSE new file mode 100755 index 00000000..2e3ec203 --- /dev/null +++ b/src/ThirdParty/JSON/LICENSE @@ -0,0 +1,24 @@ +Copyright (C) 2007-2011 Stig Brautaset. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +* Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/ThirdParty/JSON/SBJson.h b/src/ThirdParty/JSON/SBJson.h new file mode 100755 index 00000000..40e6e621 --- /dev/null +++ b/src/ThirdParty/JSON/SBJson.h @@ -0,0 +1,83 @@ +/* + Copyright (C) 2009-2011 Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +/** + @page json2objc JSON to Objective-C + + JSON is mapped to Objective-C types in the following way: + + @li null -> NSNull + @li string -> NSString + @li array -> NSMutableArray + @li object -> NSMutableDictionary + @li true -> NSNumber's -numberWithBool:YES + @li false -> NSNumber's -numberWithBool:NO + @li integer up to 19 digits -> NSNumber's -numberWithLongLong: + @li all other numbers -> NSDecimalNumber + + Since Objective-C doesn't have a dedicated class for boolean values, + these turns into NSNumber instances. However, since these are + initialised with the -initWithBool: method they round-trip back to JSON + properly. In other words, they won't silently suddenly become 0 or 1; + they'll be represented as 'true' and 'false' again. + + As an optimisation integers up to 19 digits in length (the max length + for signed long long integers) turn into NSNumber instances, while + complex ones turn into NSDecimalNumber instances. We can thus avoid any + loss of precision as JSON allows ridiculously large numbers. + + @page objc2json Objective-C to JSON + + Objective-C types are mapped to JSON types in the following way: + + @li NSNull -> null + @li NSString -> string + @li NSArray -> array + @li NSDictionary -> object + @li NSNumber's -initWithBool:YES -> true + @li NSNumber's -initWithBool:NO -> false + @li NSNumber -> number + + @note In JSON the keys of an object must be strings. NSDictionary + keys need not be, but attempting to convert an NSDictionary with + non-string keys into JSON will throw an exception. + + NSNumber instances created with the -numberWithBool: method are + converted into the JSON boolean "true" and "false" values, and vice + versa. Any other NSNumber instances are converted to a JSON number the + way you would expect. + + */ + +#import "SBJsonParser.h" +#import "SBJsonWriter.h" +#import "SBJsonStreamParser.h" +#import "SBJsonStreamParserAdapter.h" +#import "SBJsonStreamWriter.h" + diff --git a/src/ThirdParty/JSON/SBJsonParser.h b/src/ThirdParty/JSON/SBJsonParser.h new file mode 100755 index 00000000..bf728c7a --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonParser.h @@ -0,0 +1,107 @@ +/* + Copyright (C) 2009 Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + +/** + @brief Parse JSON Strings and NSData objects + + This uses SBJsonStreamParser internally. + + @see @ref objc2json + + */ + +@interface SBJsonParser : NSObject { + +@private + NSString *error; + NSUInteger depth, maxDepth; + +} + +/** + @brief The maximum recursing depth. + + Defaults to 32. If the input is nested deeper than this the input will be deemed to be + malicious and the parser returns nil, signalling an error. ("Nested too deep".) You can + turn off this security feature by setting the maxDepth value to 0. + */ +@property NSUInteger maxDepth; + +/** + @brief Description of parse error + + This method returns the trace of the last method that failed. + You need to check the return value of the call you're making to figure out + if the call actually failed, before you know call this method. + + @return A string describing the error encountered, or nil if no error occured. + + */ +@property(copy) NSString *error; + +/** + @brief Return the object represented by the given NSData object. + + The data *must* be UTF8 encoded. + + @param data An NSData containing UTF8 encoded data to parse. + @return The NSArray or NSDictionary represented by the object, or nil if an error occured. + + */ +- (id)objectWithData:(NSData*)data; + +/** + @brief Return the object represented by the given string + + This method converts its input to an NSData object containing UTF8 and calls -objectWithData: with it. + + @return The NSArray or NSDictionary represented by the object, or nil if an error occured. + */ +- (id)objectWithString:(NSString *)repr; + +/** + @brief Return the object represented by the given string + + This method calls objectWithString: internally. If an error occurs, and if @p error + is not nil, it creates an NSError object and returns this through its second argument. + + @param jsonText the json string to parse + @param error pointer to an NSError object to populate on error + + @return The NSArray or NSDictionary represented by the object, or nil if an error occured. + */ + +- (id)objectWithString:(NSString*)jsonText + error:(NSError**)error; + +@end + + diff --git a/src/ThirdParty/JSON/SBJsonParser.m b/src/ThirdParty/JSON/SBJsonParser.m new file mode 100755 index 00000000..6f2e26b8 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonParser.m @@ -0,0 +1,104 @@ +/* + Copyright (C) 2009,2010 Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonParser.h" +#import "SBJsonStreamParser.h" +#import "SBJsonStreamParserAdapter.h" +#import "SBJsonStreamParserAccumulator.h" + +@implementation SBJsonParser + +@synthesize maxDepth; +@synthesize error; + +- (id)init { + self = [super init]; + if (self) + self.maxDepth = 32u; + return self; +} + +- (void)dealloc { + [error release]; + [super dealloc]; +} + +#pragma mark Methods + +- (id)objectWithData:(NSData *)data { + + if (!data) { + self.error = @"Input was 'nil'"; + return nil; + } + + SBJsonStreamParserAccumulator *accumulator = [[[SBJsonStreamParserAccumulator alloc] init] autorelease]; + + SBJsonStreamParserAdapter *adapter = [[[SBJsonStreamParserAdapter alloc] init] autorelease]; + adapter.delegate = accumulator; + + SBJsonStreamParser *parser = [[[SBJsonStreamParser alloc] init] autorelease]; + parser.maxDepth = self.maxDepth; + parser.delegate = adapter; + + switch ([parser parse:data]) { + case SBJsonStreamParserComplete: + return accumulator.value; + break; + + case SBJsonStreamParserWaitingForData: + self.error = @"Unexpected end of input"; + break; + + case SBJsonStreamParserError: + self.error = parser.error; + break; + } + + return nil; +} + +- (id)objectWithString:(NSString *)repr { + return [self objectWithData:[repr dataUsingEncoding:NSUTF8StringEncoding]]; +} + +- (id)objectWithString:(NSString*)repr error:(NSError**)error_ { + id tmp = [self objectWithString:repr]; + if (tmp) + return tmp; + + if (error_) { + NSDictionary *ui = [NSDictionary dictionaryWithObjectsAndKeys:error, NSLocalizedDescriptionKey, nil]; + *error_ = [NSError errorWithDomain:@"org.brautaset.SBJsonParser.ErrorDomain" code:0 userInfo:ui]; + } + + return nil; +} + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamParser.h b/src/ThirdParty/JSON/SBJsonStreamParser.h new file mode 100755 index 00000000..4d6667b3 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamParser.h @@ -0,0 +1,167 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + +@class SBJsonTokeniser; +@class SBJsonStreamParser; +@class SBJsonStreamParserState; + +typedef enum { + SBJsonStreamParserComplete, + SBJsonStreamParserWaitingForData, + SBJsonStreamParserError, +} SBJsonStreamParserStatus; + + +/** + @brief Delegate for interacting directly with the stream parser + + You will most likely find it much more convenient to implement the + SBJsonStreamParserAdapterDelegate protocol instead. + */ +@protocol SBJsonStreamParserDelegate + +/// Called when object start is found +- (void)parserFoundObjectStart:(SBJsonStreamParser*)parser; + +/// Called when object key is found +- (void)parser:(SBJsonStreamParser*)parser foundObjectKey:(NSString*)key; + +/// Called when object end is found +- (void)parserFoundObjectEnd:(SBJsonStreamParser*)parser; + +/// Called when array start is found +- (void)parserFoundArrayStart:(SBJsonStreamParser*)parser; + +/// Called when array end is found +- (void)parserFoundArrayEnd:(SBJsonStreamParser*)parser; + +/// Called when a boolean value is found +- (void)parser:(SBJsonStreamParser*)parser foundBoolean:(BOOL)x; + +/// Called when a null value is found +- (void)parserFoundNull:(SBJsonStreamParser*)parser; + +/// Called when a number is found +- (void)parser:(SBJsonStreamParser*)parser foundNumber:(NSNumber*)num; + +/// Called when a string is found +- (void)parser:(SBJsonStreamParser*)parser foundString:(NSString*)string; + +@end + + +/** + @brief Parse a stream of JSON data. + + Using this class directly you can reduce the apparent latency for each + download/parse cycle of documents over a slow connection. You can start + parsing *and return chunks of the parsed document* before the entire + document is downloaded. + + Using this class is also useful to parse huge documents on disk + bit by bit so you don't have to keep them all in memory. + + @see SBJsonStreamParserAdapter for more information. + + @see @ref objc2json + + */ +@interface SBJsonStreamParser : NSObject { +@private + BOOL supportMultipleDocuments; + id delegate; + SBJsonTokeniser *tokeniser; + NSMutableArray *stateStack; + __weak SBJsonStreamParserState *state; + NSUInteger maxDepth; + NSString *error; +} + +@property (nonatomic, assign) __weak SBJsonStreamParserState *state; // Private +@property (nonatomic, readonly, retain) NSMutableArray *stateStack; // Private + +/** + @brief Expect multiple documents separated by whitespace + + Normally the @p -parse: method returns SBJsonStreamParserComplete when it's found a complete JSON document. + Attempting to parse any more data at that point is considered an error. ("Garbage after JSON".) + + If you set this property to true the parser will never return SBJsonStreamParserComplete. Rather, + once an object is completed it will expect another object to immediately follow, separated + only by (optional) whitespace. + + @see The TweetStream app in the Examples + */ +@property BOOL supportMultipleDocuments; + +/** + @brief Delegate to receive messages + + The object set here receives a series of messages as the parser breaks down the JSON stream + into valid tokens. + + @note + Usually this should be an instance of SBJsonStreamParserAdapter, but you can + substitute your own implementation of the SBJsonStreamParserDelegate protocol if you need to. + */ +@property (assign) id delegate; + +/** + @brief The max parse depth + + If the input is nested deeper than this the parser will halt parsing and return an error. + + Defaults to 32. + */ +@property NSUInteger maxDepth; + +/// Holds the error after SBJsonStreamParserError was returned +@property (copy) NSString *error; + +/** + @brief Parse some JSON + + The JSON is assumed to be UTF8 encoded. This can be a full JSON document, or a part of one. + + @param data An NSData object containing the next chunk of JSON + + @return + @li SBJsonStreamParserComplete if a full document was found + @li SBJsonStreamParserWaitingForData if a partial document was found and more data is required to complete it + @li SBJsonStreamParserError if an error occured. (See the error property for details in this case.) + + */ +- (SBJsonStreamParserStatus)parse:(NSData*)data; + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamParser.m b/src/ThirdParty/JSON/SBJsonStreamParser.m new file mode 100755 index 00000000..132997d7 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamParser.m @@ -0,0 +1,251 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonStreamParser.h" +#import "SBJsonTokeniser.h" +#import "SBJsonStreamParserState.h" +#import + +@implementation SBJsonStreamParser + +@synthesize supportMultipleDocuments; +@synthesize error; +@synthesize delegate; +@synthesize maxDepth; +@synthesize state; +@synthesize stateStack; + +#pragma mark Housekeeping + +- (id)init { + self = [super init]; + if (self) { + maxDepth = 32u; + stateStack = [[NSMutableArray alloc] initWithCapacity:maxDepth]; + state = [SBJsonStreamParserStateStart sharedInstance]; + tokeniser = [[SBJsonTokeniser alloc] init]; + } + return self; +} + +- (void)dealloc { + self.error = nil; + self.state = nil; + [stateStack release]; + [tokeniser release]; + [super dealloc]; +} + +#pragma mark Methods + +- (NSString*)tokenName:(sbjson_token_t)token { + switch (token) { + case sbjson_token_array_start: + return @"start of array"; + break; + + case sbjson_token_array_end: + return @"end of array"; + break; + + case sbjson_token_number: + return @"number"; + break; + + case sbjson_token_string: + return @"string"; + break; + + case sbjson_token_true: + case sbjson_token_false: + return @"boolean"; + break; + + case sbjson_token_null: + return @"null"; + break; + + case sbjson_token_keyval_separator: + return @"key-value separator"; + break; + + case sbjson_token_separator: + return @"value separator"; + break; + + case sbjson_token_object_start: + return @"start of object"; + break; + + case sbjson_token_object_end: + return @"end of object"; + break; + + case sbjson_token_eof: + case sbjson_token_error: + break; + } + NSAssert(NO, @"Should not get here"); + return @""; +} + +- (void)maxDepthError { + self.error = [NSString stringWithFormat:@"Input depth exceeds max depth of %lu", maxDepth]; + self.state = [SBJsonStreamParserStateError sharedInstance]; +} + +- (void)handleObjectStart { + if (stateStack.count >= maxDepth) { + [self maxDepthError]; + return; + } + + [delegate parserFoundObjectStart:self]; + [stateStack addObject:state]; + self.state = [SBJsonStreamParserStateObjectStart sharedInstance]; +} + +- (void)handleArrayStart { + if (stateStack.count >= maxDepth) { + [self maxDepthError]; + return; + } + + [delegate parserFoundArrayStart:self]; + [stateStack addObject:state]; + self.state = [SBJsonStreamParserStateArrayStart sharedInstance]; +} + +- (SBJsonStreamParserStatus)parse:(NSData *)data_ { + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + @try { + [tokeniser appendData:data_]; + + for (;;) { + + if ([state isKindOfClass:[SBJsonStreamParserStateError class]]) + return SBJsonStreamParserError; + + NSObject *token; + sbjson_token_t tok = [tokeniser getToken:&token]; + switch (tok) { + case sbjson_token_eof: + return [state parserShouldReturn:self]; + break; + + case sbjson_token_error: + self.state = [SBJsonStreamParserStateError sharedInstance]; + self.error = tokeniser.error; + return SBJsonStreamParserError; + break; + + default: + + if (![state parser:self shouldAcceptToken:tok]) { + NSString *tokenName = [self tokenName:tok]; + NSString *stateName = [state name]; + + self.error = [NSString stringWithFormat:@"Token '%@' not expected %@", tokenName, stateName]; + self.state = [SBJsonStreamParserStateError sharedInstance]; + return SBJsonStreamParserError; + } + + switch (tok) { + case sbjson_token_object_start: + [self handleObjectStart]; + break; + + case sbjson_token_object_end: + self.state = [stateStack lastObject]; + [stateStack removeLastObject]; + [state parser:self shouldTransitionTo:tok]; + [delegate parserFoundObjectEnd:self]; + break; + + case sbjson_token_array_start: + [self handleArrayStart]; + break; + + case sbjson_token_array_end: + self.state = [stateStack lastObject]; + [stateStack removeLastObject]; + [state parser:self shouldTransitionTo:tok]; + [delegate parserFoundArrayEnd:self]; + break; + + case sbjson_token_separator: + case sbjson_token_keyval_separator: + [state parser:self shouldTransitionTo:tok]; + break; + + case sbjson_token_true: + [delegate parser:self foundBoolean:YES]; + [state parser:self shouldTransitionTo:tok]; + break; + + case sbjson_token_false: + [delegate parser:self foundBoolean:NO]; + [state parser:self shouldTransitionTo:tok]; + break; + + case sbjson_token_null: + [delegate parserFoundNull:self]; + [state parser:self shouldTransitionTo:tok]; + break; + + case sbjson_token_number: + [delegate parser:self foundNumber:(NSNumber*)token]; + [state parser:self shouldTransitionTo:tok]; + break; + + case sbjson_token_string: + if ([state needKey]) + [delegate parser:self foundObjectKey:(NSString*)token]; + else + [delegate parser:self foundString:(NSString*)token]; + [state parser:self shouldTransitionTo:tok]; + break; + + default: + break; + } + break; + } + } + return SBJsonStreamParserComplete; + } + @finally { + [pool drain]; + } +} + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamParserAccumulator.h b/src/ThirdParty/JSON/SBJsonStreamParserAccumulator.h new file mode 100755 index 00000000..ede76c65 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamParserAccumulator.h @@ -0,0 +1,40 @@ +/* + Copyright (C) 2011 Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import +#import "SBJsonStreamParserAdapter.h" + +@interface SBJsonStreamParserAccumulator : NSObject { +@private + id value; +} + +@property (readonly, copy) id value; + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamParserAccumulator.m b/src/ThirdParty/JSON/SBJsonStreamParserAccumulator.m new file mode 100755 index 00000000..72716daf --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamParserAccumulator.m @@ -0,0 +1,51 @@ +/* + Copyright (C) 2011 Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonStreamParserAccumulator.h" + +@implementation SBJsonStreamParserAccumulator + +@synthesize value; + +- (void)dealloc { + [value release]; + [super dealloc]; +} + +#pragma mark SBJsonStreamParserAdapterDelegate + +- (void)parser:(SBJsonStreamParser*)parser foundArray:(NSArray *)array { + value = [array retain]; +} + +- (void)parser:(SBJsonStreamParser*)parser foundObject:(NSDictionary *)dict { + value = [dict retain]; +} + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamParserAdapter.h b/src/ThirdParty/JSON/SBJsonStreamParserAdapter.h new file mode 100755 index 00000000..4cc4b3db --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamParserAdapter.h @@ -0,0 +1,148 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import +#import "SBJsonStreamParser.h" + +typedef enum { + SBJsonStreamParserAdapterNone, + SBJsonStreamParserAdapterArray, + SBJsonStreamParserAdapterObject, +} SBJsonStreamParserAdapterType; + +/** + @brief Delegate for getting objects & arrays from the stream parser adapter + + @see The TweetStream example project. + */ +@protocol SBJsonStreamParserAdapterDelegate + +/** + @brief Called if a JSON array is found + + This method is called if a JSON array is found. + + */ +- (void)parser:(SBJsonStreamParser*)parser foundArray:(NSArray*)array; + +/** + @brief Called when a JSON object is found + + This method is called if a JSON object is found. + */ +- (void)parser:(SBJsonStreamParser*)parser foundObject:(NSDictionary*)dict; + +@end + +/** + @brief SBJsonStreamParserDelegate protocol adapter + + Rather than implementing the SBJsonStreamParserDelegate protocol yourself you will + most likely find it much more convenient to use an instance of this class and + implement the SBJsonStreamParserAdapterDelegate protocol instead. + + Normally you would only get one call from either the -parser:foundArray: or + -parser:foundObject: method. However, if your inputs contains multiple JSON + documents and you set the parser's -supportMultipleDocuments property to YES + you will get one call for each full method. + + @code + SBJsonStreamParserAdapter *adapter = [[[SBJsonStreamParserAdapter alloc] init] autorelease]; + adapter.delegate = self; + + SBJsonStreamParser *parser = [[[SBJsonStreamParser alloc] init] autorelease]; + parser.delegate = adapter; + parser.supportMultipleDocuments = YES; + + // Note that this input contains multiple top-level JSON documents + NSData *json = [@"[]{}[]{}" dataWithEncoding:NSUTF8StringEncoding]; + [parser parse:data]; + @endcode + + In the above example @p self will have the following sequence of methods called on it: + + @li -parser:foundArray: + @li -parser:foundObject: + @li -parser:foundArray: + @li -parser:foundObject: + + Often you won't have control over the input you're parsing, so can't make use of + this feature. But, all is not lost: this class will let you get the same effect by + allowing you to skip one or more of the outer enclosing objects. Thus, the next + example results in the same sequence of -parser:foundArray: / -parser:foundObject: + being called on your delegate. + + @code + SBJsonStreamParserAdapter *adapter = [[[SBJsonStreamParserAdapter alloc] init] autorelease]; + adapter.delegate = self; + adapter.levelsToSkip = 1; + + SBJsonStreamParser *parser = [[[SBJsonStreamParser alloc] init] autorelease]; + parser.delegate = adapter; + + // Note that this input contains A SINGLE top-level document + NSData *json = [@"[[],{},[],{}]" dataWithEncoding:NSUTF8StringEncoding]; + [parser parse:data]; + @endcode + +*/ +@interface SBJsonStreamParserAdapter : NSObject { +@private + id delegate; + NSUInteger levelsToSkip, depth; + __weak NSMutableArray *array; + __weak NSMutableDictionary *dict; + NSMutableArray *keyStack; + NSMutableArray *stack; + + SBJsonStreamParserAdapterType currentType; +} + +/** + @brief How many levels to skip + + This is useful for parsing huge JSON documents, or documents coming in over a very slow link. + + If you set this to N it will skip the outer N levels and call the -parser:foundArray: + or -parser:foundObject: methods for each of the inner objects, as appropriate. + + @see The StreamParserIntegrationTest.m file for examples +*/ +@property NSUInteger levelsToSkip; + +/** + @brief Your delegate object + Set this to the object you want to receive the SBJsonStreamParserAdapterDelegate messages. + */ +@property (assign) id delegate; + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamParserAdapter.m b/src/ThirdParty/JSON/SBJsonStreamParserAdapter.m new file mode 100755 index 00000000..8493e24a --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamParserAdapter.m @@ -0,0 +1,171 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonStreamParserAdapter.h" + +@interface SBJsonStreamParserAdapter () + +- (void)pop; +- (void)parser:(SBJsonStreamParser*)parser found:(id)obj; + +@end + + + +@implementation SBJsonStreamParserAdapter + +@synthesize delegate; +@synthesize levelsToSkip; + +#pragma mark Housekeeping + +- (id)init { + self = [super init]; + if (self) { + keyStack = [[NSMutableArray alloc] initWithCapacity:32]; + stack = [[NSMutableArray alloc] initWithCapacity:32]; + + currentType = SBJsonStreamParserAdapterNone; + } + return self; +} + +- (void)dealloc { + [keyStack release]; + [stack release]; + [super dealloc]; +} + +#pragma mark Private methods + +- (void)pop { + [stack removeLastObject]; + array = nil; + dict = nil; + currentType = SBJsonStreamParserAdapterNone; + + id value = [stack lastObject]; + + if ([value isKindOfClass:[NSArray class]]) { + array = value; + currentType = SBJsonStreamParserAdapterArray; + } else if ([value isKindOfClass:[NSDictionary class]]) { + dict = value; + currentType = SBJsonStreamParserAdapterObject; + } +} + +- (void)parser:(SBJsonStreamParser*)parser found:(id)obj { + NSParameterAssert(obj); + + switch (currentType) { + case SBJsonStreamParserAdapterArray: + [array addObject:obj]; + break; + + case SBJsonStreamParserAdapterObject: + NSParameterAssert(keyStack.count); + [dict setObject:obj forKey:[keyStack lastObject]]; + [keyStack removeLastObject]; + break; + + case SBJsonStreamParserAdapterNone: + if ([obj isKindOfClass:[NSArray class]]) { + [delegate parser:parser foundArray:obj]; + } else { + [delegate parser:parser foundObject:obj]; + } + break; + + default: + break; + } +} + + +#pragma mark Delegate methods + +- (void)parserFoundObjectStart:(SBJsonStreamParser*)parser { + if (++depth > levelsToSkip) { + dict = [[NSMutableDictionary new] autorelease]; + [stack addObject:dict]; + currentType = SBJsonStreamParserAdapterObject; + } +} + +- (void)parser:(SBJsonStreamParser*)parser foundObjectKey:(NSString*)key_ { + [keyStack addObject:key_]; +} + +- (void)parserFoundObjectEnd:(SBJsonStreamParser*)parser { + if (depth-- > levelsToSkip) { + id value = [dict retain]; + [self pop]; + [self parser:parser found:value]; + [value release]; + } +} + +- (void)parserFoundArrayStart:(SBJsonStreamParser*)parser { + if (++depth > levelsToSkip) { + array = [[NSMutableArray new] autorelease]; + [stack addObject:array]; + currentType = SBJsonStreamParserAdapterArray; + } +} + +- (void)parserFoundArrayEnd:(SBJsonStreamParser*)parser { + if (depth-- > levelsToSkip) { + id value = [array retain]; + [self pop]; + [self parser:parser found:value]; + [value release]; + } +} + +- (void)parser:(SBJsonStreamParser*)parser foundBoolean:(BOOL)x { + [self parser:parser found:[NSNumber numberWithBool:x]]; +} + +- (void)parserFoundNull:(SBJsonStreamParser*)parser { + [self parser:parser found:[NSNull null]]; +} + +- (void)parser:(SBJsonStreamParser*)parser foundNumber:(NSNumber*)num { + [self parser:parser found:num]; +} + +- (void)parser:(SBJsonStreamParser*)parser foundString:(NSString*)string { + [self parser:parser found:string]; +} + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamParserState.h b/src/ThirdParty/JSON/SBJsonStreamParserState.h new file mode 100755 index 00000000..accee2da --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamParserState.h @@ -0,0 +1,81 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + +#import "SBJsonTokeniser.h" +#import "SBJsonStreamParser.h" + +@interface SBJsonStreamParserState : NSObject ++ (id)sharedInstance; +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token; +- (SBJsonStreamParserStatus)parserShouldReturn:(SBJsonStreamParser*)parser; +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok; +- (BOOL)needKey; + +- (NSString*)name; + +@end + +@interface SBJsonStreamParserStateStart : SBJsonStreamParserState +@end + +@interface SBJsonStreamParserStateComplete : SBJsonStreamParserState +@end + +@interface SBJsonStreamParserStateError : SBJsonStreamParserState +@end + + +@interface SBJsonStreamParserStateObjectStart : SBJsonStreamParserState +@end + +@interface SBJsonStreamParserStateObjectGotKey : SBJsonStreamParserState +@end + +@interface SBJsonStreamParserStateObjectSeparator : SBJsonStreamParserState +@end + +@interface SBJsonStreamParserStateObjectGotValue : SBJsonStreamParserState +@end + +@interface SBJsonStreamParserStateObjectNeedKey : SBJsonStreamParserState +@end + +@interface SBJsonStreamParserStateArrayStart : SBJsonStreamParserState +@end + +@interface SBJsonStreamParserStateArrayGotValue : SBJsonStreamParserState +@end + +@interface SBJsonStreamParserStateArrayNeedValue : SBJsonStreamParserState +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamParserState.m b/src/ThirdParty/JSON/SBJsonStreamParserState.m new file mode 100755 index 00000000..a6dfddaa --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamParserState.m @@ -0,0 +1,347 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonStreamParserState.h" +#import "SBJsonStreamParser.h" + +#define SINGLETON \ ++ (id)sharedInstance { \ + static id state; \ + if (!state) state = [[self alloc] init]; \ + return state; \ +} + +@implementation SBJsonStreamParserState + ++ (id)sharedInstance { return nil; } + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + return NO; +} + +- (SBJsonStreamParserStatus)parserShouldReturn:(SBJsonStreamParser*)parser { + return SBJsonStreamParserWaitingForData; +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok {} + +- (BOOL)needKey { + return NO; +} + +- (NSString*)name { + return @""; +} + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateStart + +SINGLETON + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + return token == sbjson_token_array_start || token == sbjson_token_object_start; +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok { + + SBJsonStreamParserState *state = nil; + switch (tok) { + case sbjson_token_array_start: + state = [SBJsonStreamParserStateArrayStart sharedInstance]; + break; + + case sbjson_token_object_start: + state = [SBJsonStreamParserStateObjectStart sharedInstance]; + break; + + case sbjson_token_array_end: + case sbjson_token_object_end: + if (parser.supportMultipleDocuments) + state = parser.state; + else + state = [SBJsonStreamParserStateComplete sharedInstance]; + break; + + case sbjson_token_eof: + return; + + default: + state = [SBJsonStreamParserStateError sharedInstance]; + break; + } + + + parser.state = state; +} + +- (NSString*)name { return @"before outer-most array or object"; } + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateComplete + +SINGLETON + +- (NSString*)name { return @"after outer-most array or object"; } + +- (SBJsonStreamParserStatus)parserShouldReturn:(SBJsonStreamParser*)parser { + return SBJsonStreamParserComplete; +} + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateError + +SINGLETON + +- (NSString*)name { return @"in error"; } + +- (SBJsonStreamParserStatus)parserShouldReturn:(SBJsonStreamParser*)parser { + return SBJsonStreamParserError; +} + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateObjectStart + +SINGLETON + +- (NSString*)name { return @"at beginning of object"; } + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + switch (token) { + case sbjson_token_object_end: + case sbjson_token_string: + return YES; + break; + default: + return NO; + break; + } +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok { + parser.state = [SBJsonStreamParserStateObjectGotKey sharedInstance]; +} + +- (BOOL)needKey { + return YES; +} + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateObjectGotKey + +SINGLETON + +- (NSString*)name { return @"after object key"; } + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + return token == sbjson_token_keyval_separator; +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok { + parser.state = [SBJsonStreamParserStateObjectSeparator sharedInstance]; +} + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateObjectSeparator + +SINGLETON + +- (NSString*)name { return @"as object value"; } + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + switch (token) { + case sbjson_token_object_start: + case sbjson_token_array_start: + case sbjson_token_true: + case sbjson_token_false: + case sbjson_token_null: + case sbjson_token_number: + case sbjson_token_string: + return YES; + break; + + default: + return NO; + break; + } +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok { + parser.state = [SBJsonStreamParserStateObjectGotValue sharedInstance]; +} + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateObjectGotValue + +SINGLETON + +- (NSString*)name { return @"after object value"; } + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + switch (token) { + case sbjson_token_object_end: + case sbjson_token_separator: + return YES; + break; + default: + return NO; + break; + } +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok { + parser.state = [SBJsonStreamParserStateObjectNeedKey sharedInstance]; +} + + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateObjectNeedKey + +SINGLETON + +- (NSString*)name { return @"in place of object key"; } + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + return sbjson_token_string == token; +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok { + parser.state = [SBJsonStreamParserStateObjectGotKey sharedInstance]; +} + +- (BOOL)needKey { + return YES; +} + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateArrayStart + +SINGLETON + +- (NSString*)name { return @"at array start"; } + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + switch (token) { + case sbjson_token_object_end: + case sbjson_token_keyval_separator: + case sbjson_token_separator: + return NO; + break; + + default: + return YES; + break; + } +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok { + parser.state = [SBJsonStreamParserStateArrayGotValue sharedInstance]; +} + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateArrayGotValue + +SINGLETON + +- (NSString*)name { return @"after array value"; } + + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + return token == sbjson_token_array_end || token == sbjson_token_separator; +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok { + if (tok == sbjson_token_separator) + parser.state = [SBJsonStreamParserStateArrayNeedValue sharedInstance]; +} + +@end + +#pragma mark - + +@implementation SBJsonStreamParserStateArrayNeedValue + +SINGLETON + +- (NSString*)name { return @"as array value"; } + + +- (BOOL)parser:(SBJsonStreamParser*)parser shouldAcceptToken:(sbjson_token_t)token { + switch (token) { + case sbjson_token_array_end: + case sbjson_token_keyval_separator: + case sbjson_token_object_end: + case sbjson_token_separator: + return NO; + break; + + default: + return YES; + break; + } +} + +- (void)parser:(SBJsonStreamParser*)parser shouldTransitionTo:(sbjson_token_t)tok { + parser.state = [SBJsonStreamParserStateArrayGotValue sharedInstance]; +} + +@end + diff --git a/src/ThirdParty/JSON/SBJsonStreamWriter.h b/src/ThirdParty/JSON/SBJsonStreamWriter.h new file mode 100755 index 00000000..5c263375 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamWriter.h @@ -0,0 +1,194 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + +/// Enable JSON writing for non-native objects +@interface NSObject (SBProxyForJson) + +/** + @brief Allows generation of JSON for otherwise unsupported classes. + + If you have a custom class that you want to create a JSON representation + for you can implement this method in your class. It should return a + representation of your object defined in terms of objects that can be + translated into JSON. For example, a Person object might implement it like this: + + @code + - (id)proxyForJson { + return [NSDictionary dictionaryWithObjectsAndKeys: + name, @"name", + phone, @"phone", + email, @"email", + nil]; + } + @endcode + + */ +- (id)proxyForJson; + +@end + +@class SBJsonStreamWriter; + +@protocol SBJsonStreamWriterDelegate + +- (void)writer:(SBJsonStreamWriter*)writer appendBytes:(const void *)bytes length:(NSUInteger)length; + +@end + +@class SBJsonStreamWriterState; + +/** + @brief The Stream Writer class. + + Accepts a stream of messages and writes JSON of these to its delegate object. + + This class provides a range of high-, mid- and low-level methods. You can mix + and match calls to these. For example, you may want to call -writeArrayOpen + to start an array and then repeatedly call -writeObject: with various objects + before finishing off with a -writeArrayClose call. + + @see @ref json2objc + + */ + +@interface SBJsonStreamWriter : NSObject { +@private + NSString *error; + NSMutableArray *stateStack; + __weak SBJsonStreamWriterState *state; + id delegate; + NSUInteger maxDepth; + BOOL sortKeys, humanReadable; +} + +@property (nonatomic, assign) __weak SBJsonStreamWriterState *state; // Internal +@property (nonatomic, readonly, retain) NSMutableArray *stateStack; // Internal + +/** + @brief delegate to receive JSON output + Delegate that will receive messages with output. + */ +@property (assign) id delegate; + +/** + @brief The maximum recursing depth. + + Defaults to 512. If the input is nested deeper than this the input will be deemed to be + malicious and the parser returns nil, signalling an error. ("Nested too deep".) You can + turn off this security feature by setting the maxDepth value to 0. + */ +@property NSUInteger maxDepth; + +/** + @brief Whether we are generating human-readable (multiline) JSON. + + Set whether or not to generate human-readable JSON. The default is NO, which produces + JSON without any whitespace between tokens. If set to YES, generates human-readable + JSON with linebreaks after each array value and dictionary key/value pair, indented two + spaces per nesting level. + */ +@property BOOL humanReadable; + +/** + @brief Whether or not to sort the dictionary keys in the output. + + If this is set to YES, the dictionary keys in the JSON output will be in sorted order. + (This is useful if you need to compare two structures, for example.) The default is NO. + */ +@property BOOL sortKeys; + +/// Contains the error description after an error has occured. +@property (copy) NSString *error; + +/** + Write an NSDictionary to the JSON stream. + @return YES if successful, or NO on failure + */ +- (BOOL)writeObject:(NSDictionary*)dict; + +/** + Write an NSArray to the JSON stream. + @return YES if successful, or NO on failure + */ +- (BOOL)writeArray:(NSArray *)array; + +/** + Start writing an Object to the stream + @return YES if successful, or NO on failure +*/ +- (BOOL)writeObjectOpen; + +/** + Close the current object being written + @return YES if successful, or NO on failure +*/ +- (BOOL)writeObjectClose; + +/** Start writing an Array to the stream + @return YES if successful, or NO on failure +*/ +- (BOOL)writeArrayOpen; + +/** Close the current Array being written + @return YES if successful, or NO on failure +*/ +- (BOOL)writeArrayClose; + +/** Write a null to the stream + @return YES if successful, or NO on failure +*/ +- (BOOL)writeNull; + +/** Write a boolean to the stream + @return YES if successful, or NO on failure +*/ +- (BOOL)writeBool:(BOOL)x; + +/** Write a Number to the stream + @return YES if successful, or NO on failure +*/ +- (BOOL)writeNumber:(NSNumber*)n; + +/** Write a String to the stream + @return YES if successful, or NO on failure +*/ +- (BOOL)writeString:(NSString*)s; + +@end + +@interface SBJsonStreamWriter (Private) +- (BOOL)writeValue:(id)v; +- (void)appendBytes:(const void *)bytes length:(NSUInteger)length; +@end + diff --git a/src/ThirdParty/JSON/SBJsonStreamWriter.m b/src/ThirdParty/JSON/SBJsonStreamWriter.m new file mode 100755 index 00000000..597ef746 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamWriter.m @@ -0,0 +1,375 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonStreamWriter.h" +#import "SBJsonStreamWriterState.h" + +static NSDecimalNumber *kNotANumber; +static id kStaticStringCache; + + +@implementation SBJsonStreamWriter + +@synthesize error; +@synthesize maxDepth; +@synthesize state; +@synthesize stateStack; +@synthesize humanReadable; +@synthesize sortKeys; + ++ (void)initialize { + kNotANumber = [NSDecimalNumber notANumber]; + + Class cacheClass = NSClassFromString(@"NSCache"); + if (cacheClass) { + NSLog(@"%s NSCache supported", __FUNCTION__); + kStaticStringCache = [[cacheClass alloc] init]; + }else { + NSLog(@"%s NSCache not supported", __FUNCTION__); + } + + +} + +#pragma mark Housekeeping + +@synthesize delegate; + +- (id)init { + self = [super init]; + if (self) { + maxDepth = 32u; + stateStack = [[NSMutableArray alloc] initWithCapacity:maxDepth]; + state = [SBJsonStreamWriterStateStart sharedInstance]; + } + return self; +} + +- (void)dealloc { + self.error = nil; + self.state = nil; + [stateStack release]; + [super dealloc]; +} + +#pragma mark Methods + +- (void)appendBytes:(const void *)bytes length:(NSUInteger)length { + [delegate writer:self appendBytes:bytes length:length]; +} + +- (BOOL)writeObject:(NSDictionary *)dict { + if (![self writeObjectOpen]) + return NO; + + NSArray *keys = [dict allKeys]; + if (sortKeys) + keys = [keys sortedArrayUsingSelector:@selector(compare:)]; + + for (id k in keys) { + if (![k isKindOfClass:[NSString class]]) { + self.error = [NSString stringWithFormat:@"JSON object key must be string: %@", k]; + return NO; + } + + if (![self writeString:k]) + return NO; + if (![self writeValue:[dict objectForKey:k]]) + return NO; + } + + return [self writeObjectClose]; +} + +- (BOOL)writeArray:(NSArray*)array { + if (![self writeArrayOpen]) + return NO; + for (id v in array) + if (![self writeValue:v]) + return NO; + return [self writeArrayClose]; +} + + +- (BOOL)writeObjectOpen { + if ([state isInvalidState:self]) return NO; + if ([state expectingKey:self]) return NO; + [state appendSeparator:self]; + if (humanReadable && stateStack.count) [state appendWhitespace:self]; + + [stateStack addObject:state]; + self.state = [SBJsonStreamWriterStateObjectStart sharedInstance]; + + if (maxDepth && stateStack.count > maxDepth) { + self.error = @"Nested too deep"; + return NO; + } + + [delegate writer:self appendBytes:"{" length:1]; + return YES; +} + +- (BOOL)writeObjectClose { + if ([state isInvalidState:self]) return NO; + + SBJsonStreamWriterState *prev = state; + + self.state = [stateStack lastObject]; + [stateStack removeLastObject]; + + if (humanReadable) [prev appendWhitespace:self]; + [delegate writer:self appendBytes:"}" length:1]; + + [state transitionState:self]; + return YES; +} + +- (BOOL)writeArrayOpen { + if ([state isInvalidState:self]) return NO; + if ([state expectingKey:self]) return NO; + [state appendSeparator:self]; + if (humanReadable && stateStack.count) [state appendWhitespace:self]; + + [stateStack addObject:state]; + self.state = [SBJsonStreamWriterStateArrayStart sharedInstance]; + + if (maxDepth && stateStack.count > maxDepth) { + self.error = @"Nested too deep"; + return NO; + } + + [delegate writer:self appendBytes:"[" length:1]; + return YES; +} + +- (BOOL)writeArrayClose { + if ([state isInvalidState:self]) return NO; + if ([state expectingKey:self]) return NO; + + SBJsonStreamWriterState *prev = state; + + self.state = [stateStack lastObject]; + [stateStack removeLastObject]; + + if (humanReadable) [prev appendWhitespace:self]; + [delegate writer:self appendBytes:"]" length:1]; + + [state transitionState:self]; + return YES; +} + +- (BOOL)writeNull { + if ([state isInvalidState:self]) return NO; + if ([state expectingKey:self]) return NO; + [state appendSeparator:self]; + if (humanReadable) [state appendWhitespace:self]; + + [delegate writer:self appendBytes:"null" length:4]; + [state transitionState:self]; + return YES; +} + +- (BOOL)writeBool:(BOOL)x { + if ([state isInvalidState:self]) return NO; + if ([state expectingKey:self]) return NO; + [state appendSeparator:self]; + if (humanReadable) [state appendWhitespace:self]; + + if (x) + [delegate writer:self appendBytes:"true" length:4]; + else + [delegate writer:self appendBytes:"false" length:5]; + [state transitionState:self]; + return YES; +} + + +- (BOOL)writeValue:(id)o { + if ([o isKindOfClass:[NSDictionary class]]) { + return [self writeObject:o]; + + } else if ([o isKindOfClass:[NSArray class]]) { + return [self writeArray:o]; + + } else if ([o isKindOfClass:[NSString class]]) { + [self writeString:o]; + return YES; + + } else if ([o isKindOfClass:[NSNumber class]]) { + return [self writeNumber:o]; + + } else if ([o isKindOfClass:[NSNull class]]) { + return [self writeNull]; + + } else if ([o respondsToSelector:@selector(proxyForJson)]) { + return [self writeValue:[o proxyForJson]]; + + } + + self.error = [NSString stringWithFormat:@"JSON serialisation not supported for %@", [o class]]; + return NO; +} + +static const char *strForChar(int c) { + switch (c) { + case 0: return "\\u0000"; break; + case 1: return "\\u0001"; break; + case 2: return "\\u0002"; break; + case 3: return "\\u0003"; break; + case 4: return "\\u0004"; break; + case 5: return "\\u0005"; break; + case 6: return "\\u0006"; break; + case 7: return "\\u0007"; break; + case 8: return "\\b"; break; + case 9: return "\\t"; break; + case 10: return "\\n"; break; + case 11: return "\\u000b"; break; + case 12: return "\\f"; break; + case 13: return "\\r"; break; + case 14: return "\\u000e"; break; + case 15: return "\\u000f"; break; + case 16: return "\\u0010"; break; + case 17: return "\\u0011"; break; + case 18: return "\\u0012"; break; + case 19: return "\\u0013"; break; + case 20: return "\\u0014"; break; + case 21: return "\\u0015"; break; + case 22: return "\\u0016"; break; + case 23: return "\\u0017"; break; + case 24: return "\\u0018"; break; + case 25: return "\\u0019"; break; + case 26: return "\\u001a"; break; + case 27: return "\\u001b"; break; + case 28: return "\\u001c"; break; + case 29: return "\\u001d"; break; + case 30: return "\\u001e"; break; + case 31: return "\\u001f"; break; + case 34: return "\\\""; break; + case 92: return "\\\\"; break; + } + NSLog(@"FUTFUTFUT: -->'%c'<---", c); + return "FUTFUTFUT"; +} + +- (BOOL)writeString:(NSString*)string { + if ([state isInvalidState:self]) return NO; + [state appendSeparator:self]; + if (humanReadable) [state appendWhitespace:self]; + + NSMutableData *buf = [kStaticStringCache objectForKey:string]; + if (!buf) { + + NSUInteger len = [string lengthOfBytesUsingEncoding:NSUTF8StringEncoding]; + const char *utf8 = [string UTF8String]; + NSUInteger written = 0, i = 0; + + buf = [NSMutableData dataWithCapacity:(NSUInteger)(len * 1.1f)]; + [buf appendBytes:"\"" length:1]; + + for (i = 0; i < len; i++) { + int c = utf8[i]; + BOOL isControlChar = c >= 0 && c < 32; + if (isControlChar || c == '"' || c == '\\') { + if (i - written) + [buf appendBytes:utf8 + written length:i - written]; + written = i + 1; + + const char *t = strForChar(c); + [buf appendBytes:t length:strlen(t)]; + } + } + + if (i - written) + [buf appendBytes:utf8 + written length:i - written]; + + [buf appendBytes:"\"" length:1]; + [kStaticStringCache setObject:buf forKey:string]; + } + + [delegate writer:self appendBytes:[buf bytes] length:[buf length]]; + [state transitionState:self]; + return YES; +} + +- (BOOL)writeNumber:(NSNumber*)number { + if ((CFBooleanRef)number == kCFBooleanTrue || (CFBooleanRef)number == kCFBooleanFalse) + return [self writeBool:[number boolValue]]; + + if ([state isInvalidState:self]) return NO; + if ([state expectingKey:self]) return NO; + [state appendSeparator:self]; + if (humanReadable) [state appendWhitespace:self]; + + if ((CFNumberRef)number == kCFNumberPositiveInfinity) { + self.error = @"+Infinity is not a valid number in JSON"; + return NO; + + } else if ((CFNumberRef)number == kCFNumberNegativeInfinity) { + self.error = @"-Infinity is not a valid number in JSON"; + return NO; + + } else if ((CFNumberRef)number == kCFNumberNaN) { + self.error = @"NaN is not a valid number in JSON"; + return NO; + + } else if (number == kNotANumber) { + self.error = @"NaN is not a valid number in JSON"; + return NO; + } + + const char *objcType = [number objCType]; + char num[128]; + size_t len; + + switch (objcType[0]) { + case 'c': case 'i': case 's': case 'l': case 'q': + len = snprintf(num, sizeof num, "%lld", [number longLongValue]); + break; + case 'C': case 'I': case 'S': case 'L': case 'Q': + len = snprintf(num, sizeof num, "%llu", [number unsignedLongLongValue]); + break; + case 'f': case 'd': default: + if ([number isKindOfClass:[NSDecimalNumber class]]) { + char const *utf8 = [[number stringValue] UTF8String]; + [delegate writer:self appendBytes:utf8 length: strlen(utf8)]; + [state transitionState:self]; + return YES; + } + len = snprintf(num, sizeof num, "%.17g", [number doubleValue]); + break; + } + [delegate writer:self appendBytes:num length: len]; + [state transitionState:self]; + return YES; +} + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamWriterAccumulator.h b/src/ThirdParty/JSON/SBJsonStreamWriterAccumulator.h new file mode 100755 index 00000000..6a23b155 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamWriterAccumulator.h @@ -0,0 +1,39 @@ +/* + Copyright (C) 2011 Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonStreamWriter.h" + +@interface SBJsonStreamWriterAccumulator : NSObject { +@private + NSMutableData *data; +} + +@property (readonly, copy) NSData* data; + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamWriterAccumulator.m b/src/ThirdParty/JSON/SBJsonStreamWriterAccumulator.m new file mode 100755 index 00000000..c82a1d2f --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamWriterAccumulator.m @@ -0,0 +1,56 @@ +/* + Copyright (C) 2011 Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonStreamWriterAccumulator.h" + + +@implementation SBJsonStreamWriterAccumulator + +@synthesize data; + +- (id)init { + self = [super init]; + if (self) { + data = [[NSMutableData alloc] initWithCapacity:8096u]; + } + return self; +} + +- (void)dealloc { + [data release]; + [super dealloc]; +} + +#pragma mark SBJsonStreamWriterDelegate + +- (void)writer:(SBJsonStreamWriter *)writer appendBytes:(const void *)bytes length:(NSUInteger)length { + [data appendBytes:bytes length:length]; +} + +@end diff --git a/src/ThirdParty/JSON/SBJsonStreamWriterState.h b/src/ThirdParty/JSON/SBJsonStreamWriterState.h new file mode 100755 index 00000000..90d442a0 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamWriterState.h @@ -0,0 +1,69 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + +@class SBJsonStreamWriter; + +@interface SBJsonStreamWriterState : NSObject ++ (id)sharedInstance; +- (BOOL)isInvalidState:(SBJsonStreamWriter*)writer; +- (void)appendSeparator:(SBJsonStreamWriter*)writer; +- (BOOL)expectingKey:(SBJsonStreamWriter*)writer; +- (void)transitionState:(SBJsonStreamWriter*)writer; +- (void)appendWhitespace:(SBJsonStreamWriter*)writer; +@end + +@interface SBJsonStreamWriterStateObjectStart : SBJsonStreamWriterState +@end + +@interface SBJsonStreamWriterStateObjectKey : SBJsonStreamWriterStateObjectStart +@end + +@interface SBJsonStreamWriterStateObjectValue : SBJsonStreamWriterState +@end + +@interface SBJsonStreamWriterStateArrayStart : SBJsonStreamWriterState +@end + +@interface SBJsonStreamWriterStateArrayValue : SBJsonStreamWriterState +@end + +@interface SBJsonStreamWriterStateStart : SBJsonStreamWriterState +@end + +@interface SBJsonStreamWriterStateComplete : SBJsonStreamWriterState +@end + +@interface SBJsonStreamWriterStateError : SBJsonStreamWriterState +@end + diff --git a/src/ThirdParty/JSON/SBJsonStreamWriterState.m b/src/ThirdParty/JSON/SBJsonStreamWriterState.m new file mode 100755 index 00000000..9f04cac4 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonStreamWriterState.m @@ -0,0 +1,139 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonStreamWriterState.h" +#import "SBJsonStreamWriter.h" + +#define SINGLETON \ ++ (id)sharedInstance { \ + static id state; \ + if (!state) state = [[self alloc] init]; \ + return state; \ +} + + +@implementation SBJsonStreamWriterState ++ (id)sharedInstance { return nil; } +- (BOOL)isInvalidState:(SBJsonStreamWriter*)writer { return NO; } +- (void)appendSeparator:(SBJsonStreamWriter*)writer {} +- (BOOL)expectingKey:(SBJsonStreamWriter*)writer { return NO; } +- (void)transitionState:(SBJsonStreamWriter *)writer {} +- (void)appendWhitespace:(SBJsonStreamWriter*)writer { + [writer appendBytes:"\n" length:1]; + for (NSUInteger i = 0; i < writer.stateStack.count; i++) + [writer appendBytes:" " length:2]; +} +@end + +@implementation SBJsonStreamWriterStateObjectStart + +SINGLETON + +- (void)transitionState:(SBJsonStreamWriter *)writer { + writer.state = [SBJsonStreamWriterStateObjectValue sharedInstance]; +} +- (BOOL)expectingKey:(SBJsonStreamWriter *)writer { + writer.error = @"JSON object key must be string"; + return YES; +} +@end + +@implementation SBJsonStreamWriterStateObjectKey + +SINGLETON + +- (void)appendSeparator:(SBJsonStreamWriter *)writer { + [writer appendBytes:"," length:1]; +} +@end + +@implementation SBJsonStreamWriterStateObjectValue + +SINGLETON + +- (void)appendSeparator:(SBJsonStreamWriter *)writer { + [writer appendBytes:":" length:1]; +} +- (void)transitionState:(SBJsonStreamWriter *)writer { + writer.state = [SBJsonStreamWriterStateObjectKey sharedInstance]; +} +- (void)appendWhitespace:(SBJsonStreamWriter *)writer { + [writer appendBytes:" " length:1]; +} +@end + +@implementation SBJsonStreamWriterStateArrayStart + +SINGLETON + +- (void)transitionState:(SBJsonStreamWriter *)writer { + writer.state = [SBJsonStreamWriterStateArrayValue sharedInstance]; +} +@end + +@implementation SBJsonStreamWriterStateArrayValue + +SINGLETON + +- (void)appendSeparator:(SBJsonStreamWriter *)writer { + [writer appendBytes:"," length:1]; +} +@end + +@implementation SBJsonStreamWriterStateStart + +SINGLETON + + +- (void)transitionState:(SBJsonStreamWriter *)writer { + writer.state = [SBJsonStreamWriterStateComplete sharedInstance]; +} +- (void)appendSeparator:(SBJsonStreamWriter *)writer { +} +@end + +@implementation SBJsonStreamWriterStateComplete + +SINGLETON + +- (BOOL)isInvalidState:(SBJsonStreamWriter*)writer { + writer.error = @"Stream is closed"; + return YES; +} +@end + +@implementation SBJsonStreamWriterStateError + +SINGLETON + +@end + diff --git a/src/ThirdParty/JSON/SBJsonTokeniser.h b/src/ThirdParty/JSON/SBJsonTokeniser.h new file mode 100755 index 00000000..bd5eb712 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonTokeniser.h @@ -0,0 +1,70 @@ +/* + Copyright (c) 2010, Stig Brautaset. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + +typedef enum { + sbjson_token_error = -1, + sbjson_token_eof, + + sbjson_token_array_start, + sbjson_token_array_end, + + sbjson_token_object_start, + sbjson_token_object_end, + + sbjson_token_separator, + sbjson_token_keyval_separator, + + sbjson_token_number, + sbjson_token_string, + sbjson_token_true, + sbjson_token_false, + sbjson_token_null, + +} sbjson_token_t; + +@class SBJsonUTF8Stream; + +@interface SBJsonTokeniser : NSObject { +@private + SBJsonUTF8Stream *_stream; + NSString *_error; +} + +@property (copy) NSString *error; + +- (void)appendData:(NSData*)data_; + +- (sbjson_token_t)getToken:(NSObject**)token; + +@end diff --git a/src/ThirdParty/JSON/SBJsonTokeniser.m b/src/ThirdParty/JSON/SBJsonTokeniser.m new file mode 100755 index 00000000..9d519174 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonTokeniser.m @@ -0,0 +1,463 @@ +/* + Copyright (c) 2010-2011, Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonTokeniser.h" +#import "SBJsonUTF8Stream.h" + +#define SBStringIsIllegalSurrogateHighCharacter(character) (((character) >= 0xD800UL) && ((character) <= 0xDFFFUL)) +#define SBStringIsSurrogateLowCharacter(character) ((character >= 0xDC00UL) && (character <= 0xDFFFUL)) +#define SBStringIsSurrogateHighCharacter(character) ((character >= 0xD800UL) && (character <= 0xDBFFUL)) + +@implementation SBJsonTokeniser + +@synthesize error = _error; + +- (id)init { + self = [super init]; + if (self) { + _stream = [[SBJsonUTF8Stream alloc] init]; + + } + + return self; +} + +- (void)dealloc { + [_error release]; + [_stream release]; + [super dealloc]; +} + +- (void)appendData:(NSData *)data_ { + [_stream appendData:data_]; +} + + +- (sbjson_token_t)match:(const char *)pattern length:(NSUInteger)len retval:(sbjson_token_t)token { + if (![_stream haveRemainingCharacters:len]) + return sbjson_token_eof; + + if ([_stream skipCharacters:pattern length:len]) + return token; + + self.error = [NSString stringWithFormat:@"Expected '%s' after initial '%.1s'", pattern, pattern]; + return sbjson_token_error; +} + +- (BOOL)decodeEscape:(unichar)ch into:(unichar*)decoded { + switch (ch) { + case '\\': + case '/': + case '"': + *decoded = ch; + break; + + case 'b': + *decoded = '\b'; + break; + + case 'n': + *decoded = '\n'; + break; + + case 'r': + *decoded = '\r'; + break; + + case 't': + *decoded = '\t'; + break; + + case 'f': + *decoded = '\f'; + break; + + default: + self.error = @"Illegal escape character"; + return NO; + break; + } + return YES; +} + +- (BOOL)decodeHexQuad:(unichar*)quad { + unichar c, tmp = 0; + + for (int i = 0; i < 4; i++) { + (void)[_stream getNextUnichar:&c]; + tmp *= 16; + switch (c) { + case '0' ... '9': + tmp += c - '0'; + break; + + case 'a' ... 'f': + tmp += 10 + c - 'a'; + break; + + case 'A' ... 'F': + tmp += 10 + c - 'A'; + break; + + default: + return NO; + } + } + *quad = tmp; + return YES; +} + +- (sbjson_token_t)getStringToken:(NSObject**)token { + NSMutableString *acc = nil; + + for (;;) { + [_stream skip]; + + unichar ch; + { + NSMutableString *string = nil; + @try { + if (![_stream getRetainedStringFragment:&string]) + return sbjson_token_eof; + + if (!string) { + self.error = @"Broken Unicode encoding"; + return sbjson_token_error; + } + + if (![_stream getUnichar:&ch]) { + return sbjson_token_eof; + } + + if (acc) { + [acc appendString:string]; + + } else if (ch == '"') { + *token = [[string copy] autorelease]; + [_stream skip]; + return sbjson_token_string; + + } else { + acc = [[string mutableCopy] autorelease]; + } + } + @finally { + [string release]; + } + } + + + switch (ch) { + case 0 ... 0x1F: + self.error = [NSString stringWithFormat:@"Unescaped control character [0x%0.2X]", (int)ch]; + return sbjson_token_error; + break; + + case '"': + *token = acc; + [_stream skip]; + return sbjson_token_string; + break; + + case '\\': + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + + if (ch == 'u') { + if (![_stream haveRemainingCharacters:5]) + return sbjson_token_eof; + + unichar hi; + if (![self decodeHexQuad:&hi]) { + self.error = @"Invalid hex quad"; + return sbjson_token_error; + } + + if (SBStringIsSurrogateHighCharacter(hi)) { + unichar lo; + + if (![_stream haveRemainingCharacters:6]) + return sbjson_token_eof; + + (void)[_stream getNextUnichar:&ch]; + (void)[_stream getNextUnichar:&lo]; + if (ch != '\\' || lo != 'u' || ![self decodeHexQuad:&lo]) { + self.error = @"Missing low character in surrogate pair"; + return sbjson_token_error; + } + + if (!SBStringIsSurrogateLowCharacter(lo)) { + self.error = @"Invalid low character in surrogate pair"; + return sbjson_token_error; + } + + unichar pair[2] = {hi, lo}; + CFStringAppendCharacters((CFMutableStringRef)acc, pair, 2); + } else if (SBStringIsIllegalSurrogateHighCharacter(hi)) { + self.error = @"Invalid high character in surrogate pair"; + return sbjson_token_error; + } else { + CFStringAppendCharacters((CFMutableStringRef)acc, &hi, 1); + } + + + } else { + unichar decoded; + if (![self decodeEscape:ch into:&decoded]) + return sbjson_token_error; + CFStringAppendCharacters((CFMutableStringRef)acc, &decoded, 1); + } + + break; + + default: { + self.error = [NSString stringWithFormat:@"Invalid UTF-8: '%x'", (int)ch]; + return sbjson_token_error; + break; + } + } + } + return sbjson_token_eof; +} + +- (sbjson_token_t)getNumberToken:(NSObject**)token { + + NSUInteger numberStart = _stream.index; + NSCharacterSet *digits = [NSCharacterSet decimalDigitCharacterSet]; + + unichar ch; + if (![_stream getUnichar:&ch]) + return sbjson_token_eof; + + BOOL isNegative = NO; + if (ch == '-') { + isNegative = YES; + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + } + + unsigned long long mantissa = 0; + int mantissa_length = 0; + + if (ch == '0') { + mantissa_length++; + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + + if ([digits characterIsMember:ch]) { + self.error = @"Leading zero is illegal in number"; + return sbjson_token_error; + } + } + + while ([digits characterIsMember:ch]) { + mantissa *= 10; + mantissa += (ch - '0'); + mantissa_length++; + + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + } + + short exponent = 0; + BOOL isFloat = NO; + + if (ch == '.') { + isFloat = YES; + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + + while ([digits characterIsMember:ch]) { + mantissa *= 10; + mantissa += (ch - '0'); + mantissa_length++; + exponent--; + + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + } + + if (!exponent) { + self.error = @"No digits after decimal point"; + return sbjson_token_error; + } + } + + BOOL hasExponent = NO; + if (ch == 'e' || ch == 'E') { + hasExponent = YES; + + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + + BOOL expIsNegative = NO; + if (ch == '-') { + expIsNegative = YES; + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + + } else if (ch == '+') { + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + } + + short explicit_exponent = 0; + short explicit_exponent_length = 0; + while ([digits characterIsMember:ch]) { + explicit_exponent *= 10; + explicit_exponent += (ch - '0'); + explicit_exponent_length++; + + if (![_stream getNextUnichar:&ch]) + return sbjson_token_eof; + } + + if (explicit_exponent_length == 0) { + self.error = @"No digits in exponent"; + return sbjson_token_error; + } + + if (expIsNegative) + exponent -= explicit_exponent; + else + exponent += explicit_exponent; + } + + if (!mantissa_length && isNegative) { + self.error = @"No digits after initial minus"; + return sbjson_token_error; + + } else if (mantissa_length >= 19) { + + NSString *number = [_stream stringWithRange:NSMakeRange(numberStart, _stream.index - numberStart)]; + *token = [NSDecimalNumber decimalNumberWithString:number]; + + } else if (!isFloat && !hasExponent) { + if (!isNegative) + *token = [NSNumber numberWithUnsignedLongLong:mantissa]; + else + *token = [NSNumber numberWithLongLong:-mantissa]; + } else { + *token = [NSDecimalNumber decimalNumberWithMantissa:mantissa + exponent:exponent + isNegative:isNegative]; + } + + return sbjson_token_number; +} + +- (sbjson_token_t)getToken:(NSObject **)token { + + [_stream skipWhitespace]; + + unichar ch; + if (![_stream getUnichar:&ch]) + return sbjson_token_eof; + + NSUInteger oldIndexLocation = _stream.index; + sbjson_token_t tok; + + switch (ch) { + case '[': + tok = sbjson_token_array_start; + [_stream skip]; + break; + + case ']': + tok = sbjson_token_array_end; + [_stream skip]; + break; + + case '{': + tok = sbjson_token_object_start; + [_stream skip]; + break; + + case ':': + tok = sbjson_token_keyval_separator; + [_stream skip]; + break; + + case '}': + tok = sbjson_token_object_end; + [_stream skip]; + break; + + case ',': + tok = sbjson_token_separator; + [_stream skip]; + break; + + case 'n': + tok = [self match:"null" length:4 retval:sbjson_token_null]; + break; + + case 't': + tok = [self match:"true" length:4 retval:sbjson_token_true]; + break; + + case 'f': + tok = [self match:"false" length:5 retval:sbjson_token_false]; + break; + + case '"': + tok = [self getStringToken:token]; + break; + + case '0' ... '9': + case '-': + tok = [self getNumberToken:token]; + break; + + case '+': + self.error = @"Leading + is illegal in number"; + tok = sbjson_token_error; + break; + + default: + self.error = [NSString stringWithFormat:@"Illegal start of token [%c]", ch]; + tok = sbjson_token_error; + break; + } + + if (tok == sbjson_token_eof) { + // We ran out of bytes in the middle of a token. + // We don't know how to restart in mid-flight, so + // rewind to the start of the token for next attempt. + // Hopefully we'll have more data then. + _stream.index = oldIndexLocation; + } + + return tok; +} + + +@end diff --git a/src/ThirdParty/JSON/SBJsonUTF8Stream.h b/src/ThirdParty/JSON/SBJsonUTF8Stream.h new file mode 100755 index 00000000..2213cf70 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonUTF8Stream.h @@ -0,0 +1,59 @@ +/* + Copyright (c) 2011, Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + + +@interface SBJsonUTF8Stream : NSObject { +@private + const char *_bytes; + NSMutableData *_data; + NSUInteger _length; + NSUInteger _index; +} + +@property (assign) NSUInteger index; + +- (void)appendData:(NSData*)data_; + +- (BOOL)haveRemainingCharacters:(NSUInteger)chars; + +- (void)skip; +- (void)skipWhitespace; +- (BOOL)skipCharacters:(const char *)chars length:(NSUInteger)len; + +- (BOOL)getUnichar:(unichar*)ch; +- (BOOL)getNextUnichar:(unichar*)ch; +- (BOOL)getRetainedStringFragment:(NSString**)string; + +- (NSString*)stringWithRange:(NSRange)range; + +@end diff --git a/src/ThirdParty/JSON/SBJsonUTF8Stream.m b/src/ThirdParty/JSON/SBJsonUTF8Stream.m new file mode 100755 index 00000000..ab698bdc --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonUTF8Stream.m @@ -0,0 +1,143 @@ +/* + Copyright (c) 2011, Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of the the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonUTF8Stream.h" + + +@implementation SBJsonUTF8Stream + +@synthesize index = _index; + +- (id)init { + self = [super init]; + if (self) { + _data = [[NSMutableData alloc] initWithCapacity:4096u]; + } + return self; +} + +- (void)dealloc { + [_data release]; + [super dealloc]; +} + +- (void)appendData:(NSData *)data_ { + + if (_index) { + // Discard data we've already parsed + [_data replaceBytesInRange:NSMakeRange(0, _index) withBytes:"" length:0]; + + // Reset index to point to current position + _index = 0; + } + + [_data appendData:data_]; + + // This is an optimisation. + _bytes = [_data bytes]; + _length = [_data length]; +} + + +- (BOOL)getUnichar:(unichar*)ch { + if (_index < _length) { + *ch = (unichar)_bytes[_index]; + return YES; + } + return NO; +} + +- (BOOL)getNextUnichar:(unichar*)ch { + if (++_index < _length) { + *ch = (unichar)_bytes[_index]; + return YES; + } + return NO; +} + +- (BOOL)getRetainedStringFragment:(NSString **)string { + NSUInteger start = _index; + while (_index < _length) { + switch (_bytes[_index]) { + case '"': + case '\\': + case 0 ... 0x1f: + *string = [[NSString alloc] initWithBytes:(_bytes + start) length:(_index - start) encoding:NSUTF8StringEncoding]; + return YES; + break; + default: + _index++; + break; + } + } + return NO; +} + +- (void)skip { + _index++; +} + +- (void)skipWhitespace { + while (_index < _length) { + switch (_bytes[_index]) { + case ' ': + case '\t': + case '\r': + case '\n': + _index++; + break; + default: + return; + break; + } + } +} + +- (BOOL)haveRemainingCharacters:(NSUInteger)chars { + return [_data length] - _index >= chars; +} + +- (BOOL)skipCharacters:(const char *)chars length:(NSUInteger)len { + const void *bytes = [_data bytes] + _index; + if (!memcmp(bytes, chars, len)) { + _index += len; + return YES; + } + return NO; +} + +- (NSString*)stringWithRange:(NSRange)range { + return [[[NSString alloc] initWithBytes:_bytes + range.location length:range.length encoding:NSUTF8StringEncoding] autorelease]; + +} + + +@end diff --git a/src/ThirdParty/JSON/SBJsonWriter.h b/src/ThirdParty/JSON/SBJsonWriter.h new file mode 100755 index 00000000..8c167e07 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonWriter.h @@ -0,0 +1,115 @@ +/* + Copyright (C) 2009 Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import + +/** + @brief The JSON writer class. + + This uses SBJsonStreamWriter internally. + + @see @ref json2objc + */ + +@interface SBJsonWriter : NSObject { +@private + NSString *error; + NSUInteger maxDepth; + BOOL sortKeys, humanReadable; +} + +/** + @brief The maximum recursing depth. + + Defaults to 32. If the input is nested deeper than this the input will be deemed to be + malicious and the parser returns nil, signalling an error. ("Nested too deep".) You can + turn off this security feature by setting the maxDepth value to 0. + */ +@property NSUInteger maxDepth; + +/** + @brief Return an error trace, or nil if there was no errors. + + Note that this method returns the trace of the last method that failed. + You need to check the return value of the call you're making to figure out + if the call actually failed, before you know call this method. + */ +@property (readonly, copy) NSString *error; + +/** + @brief Whether we are generating human-readable (multiline) JSON. + + Set whether or not to generate human-readable JSON. The default is NO, which produces + JSON without any whitespace. (Except inside strings.) If set to YES, generates human-readable + JSON with linebreaks after each array value and dictionary key/value pair, indented two + spaces per nesting level. + */ +@property BOOL humanReadable; + +/** + @brief Whether or not to sort the dictionary keys in the output. + + If this is set to YES, the dictionary keys in the JSON output will be in sorted order. + (This is useful if you need to compare two structures, for example.) The default is NO. + */ +@property BOOL sortKeys; + +/** + @brief Return JSON representation for the given object. + + Returns a string containing JSON representation of the passed in value, or nil on error. + If nil is returned and @p error is not NULL, @p *error can be interrogated to find the cause of the error. + + @param value any instance that can be represented as JSON text. + */ +- (NSString*)stringWithObject:(id)value; + +/** + @brief Return JSON representation for the given object. + + Returns an NSData object containing JSON represented as UTF8 text, or nil on error. + + @param value any instance that can be represented as JSON text. + */ +- (NSData*)dataWithObject:(id)value; + +/** + @brief Return JSON representation (or fragment) for the given object. + + Returns a string containing JSON representation of the passed in value, or nil on error. + If nil is returned and @p error is not NULL, @p *error can be interrogated to find the cause of the error. + + @param value any instance that can be represented as a JSON fragment + @param error pointer to object to be populated with NSError on failure + + */- (NSString*)stringWithObject:(id)value + error:(NSError**)error; + + +@end diff --git a/src/ThirdParty/JSON/SBJsonWriter.m b/src/ThirdParty/JSON/SBJsonWriter.m new file mode 100755 index 00000000..15d14141 --- /dev/null +++ b/src/ThirdParty/JSON/SBJsonWriter.m @@ -0,0 +1,113 @@ +/* + Copyright (C) 2009 Stig Brautaset. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import "SBJsonWriter.h" +#import "SBJsonStreamWriter.h" +#import "SBJsonStreamWriterAccumulator.h" + + +@interface SBJsonWriter () +@property (copy) NSString *error; +@end + +@implementation SBJsonWriter + +@synthesize sortKeys; +@synthesize humanReadable; + +@synthesize error; +@synthesize maxDepth; + +- (id)init { + self = [super init]; + if (self) { + self.maxDepth = 32u; + } + return self; +} + +- (void)dealloc { + [error release]; + [super dealloc]; +} + +- (NSString*)stringWithObject:(id)value { + NSData *data = [self dataWithObject:value]; + if (data) + return [[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding] autorelease]; + return nil; +} + +- (NSString*)stringWithObject:(id)value error:(NSError**)error_ { + NSString *tmp = [self stringWithObject:value]; + if (tmp) + return tmp; + + if (error_) { + NSDictionary *ui = [NSDictionary dictionaryWithObjectsAndKeys:error, NSLocalizedDescriptionKey, nil]; + *error_ = [NSError errorWithDomain:@"org.brautaset.SBJsonWriter.ErrorDomain" code:0 userInfo:ui]; + } + + return nil; +} + +- (NSData*)dataWithObject:(id)object { + self.error = nil; + + SBJsonStreamWriterAccumulator *accumulator = [[[SBJsonStreamWriterAccumulator alloc] init] autorelease]; + + SBJsonStreamWriter *streamWriter = [[[SBJsonStreamWriter alloc] init] autorelease]; + streamWriter.sortKeys = self.sortKeys; + streamWriter.maxDepth = self.maxDepth; + streamWriter.humanReadable = self.humanReadable; + streamWriter.delegate = accumulator; + + BOOL ok = NO; + if ([object isKindOfClass:[NSDictionary class]]) + ok = [streamWriter writeObject:object]; + + else if ([object isKindOfClass:[NSArray class]]) + ok = [streamWriter writeArray:object]; + + else if ([object respondsToSelector:@selector(proxyForJson)]) + return [self dataWithObject:[object proxyForJson]]; + else { + self.error = @"Not valid type for JSON"; + return nil; + } + + if (ok) + return accumulator.data; + + self.error = streamWriter.error; + return nil; +} + + +@end diff --git a/src/include/.DS_Store b/src/include/.DS_Store index 7c412ce8fbfd9ac4046175014d6fb25c6cb9b33c..194ae20a4f2b781f5ce63de9f0b56fcdbe05d76b 100644 GIT binary patch literal 15364 zcmeHMU2GIp6h3ELU>3G82 zKr$d1kPJu$Bm;K?1N6>jMOo%ad6x`G1|$RX46yw{ql?L;FK0Z-w+_1TBLK-pYUYLN zbPnJ)nlF>Sobe<#B~0)1fW9gEM-24Lsb6F2B$K|J@uX)C=$QlhBcp#pK|VU!XHwGzo{G#0fWn&?X(A#^S53y(|CT4c44Ml8ZOkGxq=Ch{l+ z@wN%f+zRhMMGuug^w$2%I3lA}3<9l10c%s;SRH&P876*4YD9)srGP8OS>%HG=<*ei zC%HhJ1+*9Z^~mxdh$ybH49zVIVm1W#|Ehdt`?P?!j67uD zq8&oX@!g&6q9fwFj7K);#Zq9SIAm!+hDS74`Tk?8Sr|#77@XnpA0x{&q{J~e|GxzI zuhP#>xCQ_H`a!l}TW%>9`xZkDjf)m9QK&>tW~{v7Or)H0-f&O!jXD#3mSJY~;xoKn z(o1DGr5AZmk6s$39$xQv9GmJVeeH~8ltzct4O3I`_`awXk0qv~8r5U5sJ6E?F+Clo zqFz(hY~A(f!G3-E-1(VV+DECN|HB)ayyyA*3sh^MJ+K2>D`w61kKn9Vla@`4vi+OA zGrNf^omfus*yzMxj@qjt#Pj5~a00Aeu4Z-Voo03Y)Kps{sZO-X- zu59ZibH8mfB{!3E?DAONW!kx-W7|EBYn3b~e|)fHPL}3?gs#D-U8h*;;D$r0T6WD| zlQ6AuGfl_@wUUi?w7_88V`kAM*^-QTi5FJBTcI|uT(x@5+I8#ie=r(PJd*4j%sFFY zX1?V1=k+o3gh4PJMU(DEze`>Y*m~Bq`=6zaC^PQionkuOx?4J0F!QEyl06=F3~Sgj zjT;*_-nXe~OGL|zTdtM0&4CHF`5f2XoS8SQ{Kx`vMsWGPCLxo z!9&^E^pK){tf(RW7}?bn3#+=KHh8_eBW;Rmgw;h}Z+qn7uB} zkEy1#qJFNZil=;_=}?#qgkMKME0e`|@*odo8!<`t%y|^C_;6d!dZajh+9KzF>Lj#A=!2%Z1#WJ45 z^Eita@I`zHU&dGPReTNKz&G&{zJ+h&yZ9cykC*X7`~*M6D|i*J;TQNNUdONSYrKg+ z;jf;Pp}F1p$eh!j#NWhc`6L;bXQ08WY3%!d=feO0pVyZa$$(_w-eUk8(|zd_&1>!@ zQaMHTtzDz*G+nGPy%|q(6S^@K*51e@J+RO5{5?u-{%;Q6pJe^iHseXEQTgBh8Nj|4 zva|C-XY8u8r9A)huR+0cvONFuvk*_fAiEpS|J-kRlMF}(Bm8GIP>84@=O zYAj~o%+A5W!N@#$kHo9ZIZ_SGo6C46G7Ey#1AzoLkZ=W=v$60y^JIRNKn|cOAk!H( O$MdXV-mIYUfgb>mju-X- diff --git a/src/include/AmazonAuthUtils.h b/src/include/AmazonAuthUtils.h index 9d63d527..c13026a0 100644 --- a/src/include/AmazonAuthUtils.h +++ b/src/include/AmazonAuthUtils.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -42,6 +42,12 @@ * @param algorithm Which HMAC algortithm to use. Currently support kCCHmacAlgSHA1 and kCCHmacAlgSHA256. * @return Base64 encoded string that is the signature of the data with the specified key. */ -+(NSString *) HMACSign:(NSData *)data withKey:(NSString *)key usingAlgorithm:(CCHmacAlgorithm)algorithm; ++(NSString *)HMACSign:(NSData *)data withKey:(NSString *)key usingAlgorithm:(CCHmacAlgorithm)algorithm; + ++(NSData *)sha256HMac:(NSData *)data withKey:(NSString *)key; ++(NSString *)hashString:(NSString *)stringToHash; ++(NSData *)hash:(NSData *)data; ++(NSData *)sha256HMacWithData:(NSData *)data withKey:(NSData *)key; + @end diff --git a/src/include/AmazonBoolValueUnmarshaller.h b/src/include/AmazonBoolValueUnmarshaller.h index 11cca849..da6586fd 100644 --- a/src/include/AmazonBoolValueUnmarshaller.h +++ b/src/include/AmazonBoolValueUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonClientException.h b/src/include/AmazonClientException.h index ef07a543..66502670 100644 --- a/src/include/AmazonClientException.h +++ b/src/include/AmazonClientException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonCredentials.h b/src/include/AmazonCredentials.h index 1c2d3b11..6eeb802d 100644 --- a/src/include/AmazonCredentials.h +++ b/src/include/AmazonCredentials.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -28,6 +28,14 @@ */ -(id)initWithAccessKey:(NSString *)accessKey withSecretKey:(NSString *)secretKey; +/** Inits the credential with the access key and the secret key. + * + * @param theAccessKey The AWS Access Key + * @param theSecretKey The AWS Secret Key + * @param theSecurityToken The AWS Security Token + */ +-(id)initWithAccessKey:(NSString *)theAccessKey withSecretKey:(NSString *)theSecretKey withSecurityToken:(NSString *)theSecurityToken; + /** The AWS Access Key */ @property (nonatomic, retain) NSString *accessKey; diff --git a/src/include/AmazonDictionaryUnmarshaller.h b/src/include/AmazonDictionaryUnmarshaller.h index 9eefdacf..2a188eef 100644 --- a/src/include/AmazonDictionaryUnmarshaller.h +++ b/src/include/AmazonDictionaryUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonEndpoints.h b/src/include/AmazonEndpoints.h index 9add54a4..b020f3f8 100644 --- a/src/include/AmazonEndpoints.h +++ b/src/include/AmazonEndpoints.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -85,6 +85,14 @@ typedef enum //#define AMAZON_SES_AP_NORTHEAST_1_ENDPOINT @"http://" //#define AMAZON_SES_SA_EAST_1_ENDPOINT @"http://" +#define AMAZON_DDB_US_EAST_1_ENDPOINT @"http://dynamodb.us-east-1.amazonaws.com" +//#define AMAZON_DDB_US_WEST_1_ENDPOINT @"http://" +//#define AMAZON_DDB_US_WEST_2_ENDPOINT @"http://" +//#define AMAZON_DDB_EU_WEST_1_ENDPOINT @"http://" +//#define AMAZON_DDB_AP_SOUTHEAST_1_ENDPOINT @"http://" +//#define AMAZON_DDB_AP_NORTHEAST_1_ENDPOINT @"http://" +//#define AMAZON_DDB_SA_EAST_1_ENDPOINT @"http://" + #define AMAZON_AS_US_EAST_1_ENDPOINT @"http://autoscaling.us-east-1.amazonaws.com" #define AMAZON_AS_US_WEST_1_ENDPOINT @"http://autoscaling.us-west-1.amazonaws.com" #define AMAZON_AS_US_WEST_2_ENDPOINT @"http://autoscaling.us-west-2.amazonaws.com" @@ -159,6 +167,14 @@ typedef enum //#define AMAZON_SES_AP_NORTHEAST_1_ENDPOINT_SECURE @"https://" //#define AMAZON_SES_SA_EAST_1_ENDPOINT_SECURE @"https://" +#define AMAZON_DDB_US_EAST_1_ENDPOINT_SECURE @"https://dynamodb.us-east-1.amazonaws.com" +//#define AMAZON_DDB_US_WEST_1_ENDPOINT_SECURE @"https://" +//#define AMAZON_DDB_US_WEST_2_ENDPOINT_SECURE @"https://" +//#define AMAZON_DDB_EU_WEST_1_ENDPOINT_SECURE @"https://" +//#define AMAZON_DDB_AP_SOUTHEAST_1_ENDPOINT_SECURE @"https://" +//#define AMAZON_DDB_AP_NORTHEAST_1_ENDPOINT_SECURE @"https://" +//#define AMAZON_DDB_SA_EAST_1_ENDPOINT_SECURE @"https://" + #define AMAZON_AS_US_EAST_1_ENDPOINT_SECURE @"https://autoscaling.us-east-1.amazonaws.com" #define AMAZON_AS_US_WEST_1_ENDPOINT_SECURE @"https://autoscaling.us-west-1.amazonaws.com" #define AMAZON_AS_US_WEST_2_ENDPOINT_SECURE @"https://autoscaling.us-west-2.amazonaws.com" diff --git a/src/include/AmazonJSON.h b/src/include/AmazonJSON.h new file mode 100644 index 00000000..7a6fb6d1 --- /dev/null +++ b/src/include/AmazonJSON.h @@ -0,0 +1,25 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "SBJson.h" + +@interface AmazonJSON:NSObject { +} + ++(NSString *)JSONRepresentation:(NSObject *)object; ++(id)JSONValue:(NSString *)jsonString; + +@end diff --git a/src/include/AmazonListUnmarshaller.h b/src/include/AmazonListUnmarshaller.h index 5ca673a6..9bf06e9a 100644 --- a/src/include/AmazonListUnmarshaller.h +++ b/src/include/AmazonListUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonLogger.h b/src/include/AmazonLogger.h index 20cee70e..87b1b6ec 100644 --- a/src/include/AmazonLogger.h +++ b/src/include/AmazonLogger.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonMD5Util.h b/src/include/AmazonMD5Util.h index b47cca93..2d8d3d3e 100644 --- a/src/include/AmazonMD5Util.h +++ b/src/include/AmazonMD5Util.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonRequestDelegate.h b/src/include/AmazonRequestDelegate.h index 2518c6ad..aede8d94 100644 --- a/src/include/AmazonRequestDelegate.h +++ b/src/include/AmazonRequestDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -38,4 +38,4 @@ -@end \ No newline at end of file +@end diff --git a/src/include/AmazonSDKUtil.h b/src/include/AmazonSDKUtil.h index 8827aeda..8275b684 100644 --- a/src/include/AmazonSDKUtil.h +++ b/src/include/AmazonSDKUtil.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,11 +17,13 @@ #import #import "AmazonClientException.h" -#define AWS_SDK_VERSION @"1.0.4" +#define AWS_SDK_VERSION @"1.1.0" #define AWS_SDK_USER_AGENT_FORMAT @"aws-sdk-iOS/%@ %@/%@ %@" #define kISO8061DateFormat @"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" #define kISO8601DateFormat @"yyyy-MM-dd'T'HH:mm:ss'Z'" #define kRFC822DateFormat @"EEE, dd MMM yyyy HH:mm:ss z" +#define kDateStampFormat @"yyyyMMdd" +#define kDateTimeFormat @"yyyyMMdd'T'HHmmss'Z'" @interface AmazonSDKUtil:NSObject { } @@ -29,9 +31,13 @@ +(NSString *)userAgentString; +(NSString *)MIMETypeForExtension:(NSString *)extension; +(NSString *)urlEncode:(NSString *)input; ++(NSData *)hexDecode:(NSString *)hexString; ++(NSString *)hexEncode:(NSString *)string; ++(NSString *)hexEncodeData:(NSData *)data; +(NSNumber *)convertStringToNumber:(NSString *)string; +(NSDate *)convertStringToDate:(NSString *)string; +(NSDate *)convertStringToDate:(NSString *)string usingFormat:(NSString *)dateFormat; ++(NSDate *)millisSinceEpochToDate:(NSNumber *)millisSinceEpoch; +(NSURL *)URLWithURL:(NSURL *)theURL andProtocol:(NSString *)theProtocol; +(NSLocale *)timestampLocale; @end @@ -43,6 +49,10 @@ -(NSString *)stringWithRFC822Format; +(NSDate *)dateWithISO8061Format:(NSString *)dateString; +(NSString *)ISO8061FormattedCurrentTimestamp; +-(NSString *)dateStamp; +-(NSString *)dateTime; + + @end diff --git a/src/include/AmazonServiceException.h b/src/include/AmazonServiceException.h index ede0dc35..9bdc25c3 100644 --- a/src/include/AmazonServiceException.h +++ b/src/include/AmazonServiceException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonServiceExceptionUnmarshaller.h b/src/include/AmazonServiceExceptionUnmarshaller.h index 00e5700b..1a23f1f8 100644 --- a/src/include/AmazonServiceExceptionUnmarshaller.h +++ b/src/include/AmazonServiceExceptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonServiceRequest.h b/src/include/AmazonServiceRequest.h index 807e5396..4bc8a015 100644 --- a/src/include/AmazonServiceRequest.h +++ b/src/include/AmazonServiceRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonServiceRequestConfig.h b/src/include/AmazonServiceRequestConfig.h index 11b5cb4c..bfc7071c 100644 --- a/src/include/AmazonServiceRequestConfig.h +++ b/src/include/AmazonServiceRequestConfig.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonServiceResponse.h b/src/include/AmazonServiceResponse.h index aa18e5b8..2b3fdf47 100644 --- a/src/include/AmazonServiceResponse.h +++ b/src/include/AmazonServiceResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -52,10 +52,10 @@ @property (nonatomic, retain) AmazonServiceRequest *request; /** The requestId assigned by the service */ -@property (nonatomic, retain) NSString *requestId; +@property (nonatomic, retain) NSString *requestId; -@property (nonatomic) Class unmarshallerDelegate; -@property (nonatomic) NSTimeInterval processingTime; +@property (nonatomic, assign) Class unmarshallerDelegate; +@property (nonatomic, assign) NSTimeInterval processingTime; /** Once the body has been received, perform additional processing, such as parse as XML. */ diff --git a/src/include/AmazonServiceResponseUnmarshaller.h b/src/include/AmazonServiceResponseUnmarshaller.h index 67d18762..4589b140 100644 --- a/src/include/AmazonServiceResponseUnmarshaller.h +++ b/src/include/AmazonServiceResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonSignatureException.h b/src/include/AmazonSignatureException.h index ff1dc4e4..4a19a4ce 100644 --- a/src/include/AmazonSignatureException.h +++ b/src/include/AmazonSignatureException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonURLRequest.h b/src/include/AmazonURLRequest.h index 18414aa0..8b115b86 100644 --- a/src/include/AmazonURLRequest.h +++ b/src/include/AmazonURLRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonUnmarshallerXMLParserDelegate.h b/src/include/AmazonUnmarshallerXMLParserDelegate.h index 87b36b6a..706c66fa 100644 --- a/src/include/AmazonUnmarshallerXMLParserDelegate.h +++ b/src/include/AmazonUnmarshallerXMLParserDelegate.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonValueUnmarshaller.h b/src/include/AmazonValueUnmarshaller.h index 6d006dcb..803a30af 100644 --- a/src/include/AmazonValueUnmarshaller.h +++ b/src/include/AmazonValueUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AmazonWebServiceClient.h b/src/include/AmazonWebServiceClient.h index 01983000..b6848e14 100644 --- a/src/include/AmazonWebServiceClient.h +++ b/src/include/AmazonWebServiceClient.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ NSString *endpoint; int maxRetries; NSTimeInterval timeout; + NSTimeInterval delay; NSString *userAgent; } @@ -45,14 +46,21 @@ * * Default is 5. */ -@property (nonatomic) int maxRetries; +@property (nonatomic, assign) int maxRetries; /** The amount of time to wait (in milliseconds) for data to be transfered over * an established, open connection before the connection times out and is closed. * - * Default is 240 seconds. + * Default is 30 seconds. */ -@property (nonatomic) NSTimeInterval timeout; +@property (nonatomic, assign) NSTimeInterval timeout; + +/** + * The amount of time to pause between retries. The pause time will grow exponentially + * for each retry on a single request. + * Default is 0.05 seconds. + */ +@property (nonatomic, assign) NSTimeInterval delay; /** The HTTP user agent header to send with all requests. */ @property (nonatomic, retain) NSString *userAgent; diff --git a/src/include/AutoScaling/AmazonAutoScalingClient.h b/src/include/AutoScaling/AmazonAutoScalingClient.h index c674f7af..369e140e 100644 --- a/src/include/AutoScaling/AmazonAutoScalingClient.h +++ b/src/include/AutoScaling/AmazonAutoScalingClient.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingActivity.h b/src/include/AutoScaling/AutoScalingActivity.h index f7470c38..ef56c061 100644 --- a/src/include/AutoScaling/AutoScalingActivity.h +++ b/src/include/AutoScaling/AutoScalingActivity.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingActivityUnmarshaller.h b/src/include/AutoScaling/AutoScalingActivityUnmarshaller.h index c058ca6a..e1b89232 100644 --- a/src/include/AutoScaling/AutoScalingActivityUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingActivityUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingAdjustmentType.h b/src/include/AutoScaling/AutoScalingAdjustmentType.h index 105980f9..cca35512 100644 --- a/src/include/AutoScaling/AutoScalingAdjustmentType.h +++ b/src/include/AutoScaling/AutoScalingAdjustmentType.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingAdjustmentTypeUnmarshaller.h b/src/include/AutoScaling/AutoScalingAdjustmentTypeUnmarshaller.h index 9eefdecd..44c8ee5a 100644 --- a/src/include/AutoScaling/AutoScalingAdjustmentTypeUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingAdjustmentTypeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingAlarm.h b/src/include/AutoScaling/AutoScalingAlarm.h index a9592a84..747e5bb4 100644 --- a/src/include/AutoScaling/AutoScalingAlarm.h +++ b/src/include/AutoScaling/AutoScalingAlarm.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingAlarmUnmarshaller.h b/src/include/AutoScaling/AutoScalingAlarmUnmarshaller.h index 6134137c..76615b81 100644 --- a/src/include/AutoScaling/AutoScalingAlarmUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingAlarmUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingAlreadyExistsException.h b/src/include/AutoScaling/AutoScalingAlreadyExistsException.h index 377d84df..cb613d63 100644 --- a/src/include/AutoScaling/AutoScalingAlreadyExistsException.h +++ b/src/include/AutoScaling/AutoScalingAlreadyExistsException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingAutoScalingGroup.h b/src/include/AutoScaling/AutoScalingAutoScalingGroup.h index 32fac544..ffa1b6de 100644 --- a/src/include/AutoScaling/AutoScalingAutoScalingGroup.h +++ b/src/include/AutoScaling/AutoScalingAutoScalingGroup.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingAutoScalingGroupUnmarshaller.h b/src/include/AutoScaling/AutoScalingAutoScalingGroupUnmarshaller.h index 63310162..49aa5bc1 100644 --- a/src/include/AutoScaling/AutoScalingAutoScalingGroupUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingAutoScalingGroupUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingAutoScalingInstanceDetails.h b/src/include/AutoScaling/AutoScalingAutoScalingInstanceDetails.h index 39f87ea9..29291d93 100644 --- a/src/include/AutoScaling/AutoScalingAutoScalingInstanceDetails.h +++ b/src/include/AutoScaling/AutoScalingAutoScalingInstanceDetails.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingAutoScalingInstanceDetailsUnmarshaller.h b/src/include/AutoScaling/AutoScalingAutoScalingInstanceDetailsUnmarshaller.h index 0ba55c0d..a5606277 100644 --- a/src/include/AutoScaling/AutoScalingAutoScalingInstanceDetailsUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingAutoScalingInstanceDetailsUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingBlockDeviceMapping.h b/src/include/AutoScaling/AutoScalingBlockDeviceMapping.h index 25ad9d82..4b078abc 100644 --- a/src/include/AutoScaling/AutoScalingBlockDeviceMapping.h +++ b/src/include/AutoScaling/AutoScalingBlockDeviceMapping.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingBlockDeviceMappingUnmarshaller.h b/src/include/AutoScaling/AutoScalingBlockDeviceMappingUnmarshaller.h index 74f20b05..277f091e 100644 --- a/src/include/AutoScaling/AutoScalingBlockDeviceMappingUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingBlockDeviceMappingUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupRequest.h b/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupRequest.h index 6d26205a..dfd559e6 100644 --- a/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupRequest.h +++ b/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupRequestMarshaller.h b/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupRequestMarshaller.h index edb107ff..ab9b94d8 100644 --- a/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupResponse.h b/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupResponse.h index 4ffc1731..a1891657 100644 --- a/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupResponse.h +++ b/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupResponseUnmarshaller.h index 37f765f7..26584b71 100644 --- a/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingCreateAutoScalingGroupResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequest.h b/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequest.h index 75c1843e..1d951298 100644 --- a/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequest.h +++ b/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequestMarshaller.h b/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequestMarshaller.h index 8e3a283d..0fbab05f 100644 --- a/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationResponse.h b/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationResponse.h index 5295312f..77409cd0 100644 --- a/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationResponse.h +++ b/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationResponseUnmarshaller.h index 4680bc4b..9c90fd37 100644 --- a/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingCreateLaunchConfigurationResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupRequest.h b/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupRequest.h index fce52642..905d1806 100644 --- a/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupRequest.h +++ b/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupRequestMarshaller.h index 1118721c..eb45576d 100644 --- a/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupResponse.h b/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupResponse.h index 6ecb76cd..6f7cd890 100644 --- a/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupResponse.h +++ b/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupResponseUnmarshaller.h index 78585bc3..e265e73d 100644 --- a/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeleteAutoScalingGroupResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationRequest.h b/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationRequest.h index 4b0b51f9..e04ff309 100644 --- a/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationRequest.h +++ b/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationRequestMarshaller.h index d1b528a2..559e6a18 100644 --- a/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationResponse.h b/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationResponse.h index b8088a4c..e44e785e 100644 --- a/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationResponse.h +++ b/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationResponseUnmarshaller.h index 77012a54..3b1cd6de 100644 --- a/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeleteLaunchConfigurationResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationRequest.h b/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationRequest.h index f9fc752e..2d37ab32 100644 --- a/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationRequest.h +++ b/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationRequestMarshaller.h index 3fad4eb3..77b602f3 100644 --- a/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationResponse.h b/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationResponse.h index 59da659d..95c09de0 100644 --- a/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationResponse.h +++ b/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationResponseUnmarshaller.h index 88558e19..631c224a 100644 --- a/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeleteNotificationConfigurationResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeletePolicyRequest.h b/src/include/AutoScaling/AutoScalingDeletePolicyRequest.h index 234b69ae..673c7fc8 100644 --- a/src/include/AutoScaling/AutoScalingDeletePolicyRequest.h +++ b/src/include/AutoScaling/AutoScalingDeletePolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeletePolicyRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDeletePolicyRequestMarshaller.h index c93df748..bc5247ec 100644 --- a/src/include/AutoScaling/AutoScalingDeletePolicyRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeletePolicyRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeletePolicyResponse.h b/src/include/AutoScaling/AutoScalingDeletePolicyResponse.h index 475bef71..bb0b2692 100644 --- a/src/include/AutoScaling/AutoScalingDeletePolicyResponse.h +++ b/src/include/AutoScaling/AutoScalingDeletePolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeletePolicyResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDeletePolicyResponseUnmarshaller.h index bad46b6b..0a5c7e87 100644 --- a/src/include/AutoScaling/AutoScalingDeletePolicyResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeletePolicyResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteScheduledActionRequest.h b/src/include/AutoScaling/AutoScalingDeleteScheduledActionRequest.h index ca5080a7..45ccf560 100644 --- a/src/include/AutoScaling/AutoScalingDeleteScheduledActionRequest.h +++ b/src/include/AutoScaling/AutoScalingDeleteScheduledActionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteScheduledActionRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDeleteScheduledActionRequestMarshaller.h index 3543b657..6b4d65df 100644 --- a/src/include/AutoScaling/AutoScalingDeleteScheduledActionRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeleteScheduledActionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteScheduledActionResponse.h b/src/include/AutoScaling/AutoScalingDeleteScheduledActionResponse.h index d50c2f65..564d2248 100644 --- a/src/include/AutoScaling/AutoScalingDeleteScheduledActionResponse.h +++ b/src/include/AutoScaling/AutoScalingDeleteScheduledActionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDeleteScheduledActionResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDeleteScheduledActionResponseUnmarshaller.h index e90aa867..e39e277b 100644 --- a/src/include/AutoScaling/AutoScalingDeleteScheduledActionResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDeleteScheduledActionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesRequest.h b/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesRequest.h index 94081642..631c26c2 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesRequestMarshaller.h index 627aecd6..06ab2683 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesResponse.h b/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesResponse.h index caba3378..19eaf38b 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesResponseUnmarshaller.h index 60f8e836..2a31ead9 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeAdjustmentTypesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsRequest.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsRequest.h index 5d0ca0e6..6a9a6c4c 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsRequestMarshaller.h index 767223cf..48a4e520 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsResponse.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsResponse.h index dc34565b..8e91be7b 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsResponseUnmarshaller.h index 6212775f..168ad732 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingGroupsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesRequest.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesRequest.h index 0eaf903e..ec34c232 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesRequestMarshaller.h index 5510e677..8a4dd1cd 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesResponse.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesResponse.h index dba124a6..19332666 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesResponseUnmarshaller.h index 832190b5..f02b0722 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesRequest.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesRequest.h index 135feb53..17bfc131 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesRequestMarshaller.h index 37720a04..cd3d668f 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesResponse.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesResponse.h index a91c637b..573258fb 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesResponseUnmarshaller.h index c79261a9..4b669e7c 100644 --- a/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeAutoScalingNotificationTypesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsRequest.h b/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsRequest.h index 1581b597..b85cc9a8 100644 --- a/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsRequestMarshaller.h index 96001af8..65db7e55 100644 --- a/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsResponse.h b/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsResponse.h index ebdb3aea..f24db356 100644 --- a/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsResponseUnmarshaller.h index 1e69fb63..ba40879c 100644 --- a/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeLaunchConfigurationsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesRequest.h b/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesRequest.h index 571a4bca..d48ddc16 100644 --- a/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesRequestMarshaller.h index fa2c0126..a2e74ae5 100644 --- a/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesResponse.h b/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesResponse.h index e32be085..cbd9b58a 100644 --- a/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesResponseUnmarshaller.h index 95dad363..e191b6c8 100644 --- a/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeMetricCollectionTypesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsRequest.h b/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsRequest.h index abd6258a..d0058c60 100644 --- a/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsRequestMarshaller.h index fda9493e..13e77dff 100644 --- a/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsResponse.h b/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsResponse.h index fd1914e2..52dd9809 100644 --- a/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsResponseUnmarshaller.h index 8c127894..b8acdf50 100644 --- a/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeNotificationConfigurationsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribePoliciesRequest.h b/src/include/AutoScaling/AutoScalingDescribePoliciesRequest.h index 88d0c1aa..453656ab 100644 --- a/src/include/AutoScaling/AutoScalingDescribePoliciesRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribePoliciesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribePoliciesRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribePoliciesRequestMarshaller.h index 75263d2f..6a5124e4 100644 --- a/src/include/AutoScaling/AutoScalingDescribePoliciesRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribePoliciesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribePoliciesResponse.h b/src/include/AutoScaling/AutoScalingDescribePoliciesResponse.h index fb0fdd1d..8843ef2b 100644 --- a/src/include/AutoScaling/AutoScalingDescribePoliciesResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribePoliciesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribePoliciesResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribePoliciesResponseUnmarshaller.h index 267e3f76..598ffbc2 100644 --- a/src/include/AutoScaling/AutoScalingDescribePoliciesResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribePoliciesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesRequest.h b/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesRequest.h index e77ed8b9..085e1be0 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesRequestMarshaller.h index 35c07724..3f06431f 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesResponse.h b/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesResponse.h index ad96d494..11a461dd 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesResponseUnmarshaller.h index 54e0c531..fbea1a73 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeScalingActivitiesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesRequest.h b/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesRequest.h index 45e54ddd..7563b862 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesRequestMarshaller.h index b0448602..d01c97e1 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesResponse.h b/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesResponse.h index fe5acabe..c486cf33 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesResponseUnmarshaller.h index 100a0301..dd960a98 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeScalingProcessTypesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScheduledActionsRequest.h b/src/include/AutoScaling/AutoScalingDescribeScheduledActionsRequest.h index 08c7f499..95f8a70a 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScheduledActionsRequest.h +++ b/src/include/AutoScaling/AutoScalingDescribeScheduledActionsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScheduledActionsRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDescribeScheduledActionsRequestMarshaller.h index bd1a2cff..d511f6d9 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScheduledActionsRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeScheduledActionsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScheduledActionsResponse.h b/src/include/AutoScaling/AutoScalingDescribeScheduledActionsResponse.h index a8fb1b20..d0295bdd 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScheduledActionsResponse.h +++ b/src/include/AutoScaling/AutoScalingDescribeScheduledActionsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDescribeScheduledActionsResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDescribeScheduledActionsResponseUnmarshaller.h index 08466d37..9dc32a67 100644 --- a/src/include/AutoScaling/AutoScalingDescribeScheduledActionsResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDescribeScheduledActionsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDisableMetricsCollectionRequest.h b/src/include/AutoScaling/AutoScalingDisableMetricsCollectionRequest.h index 9bb065fc..445205fc 100644 --- a/src/include/AutoScaling/AutoScalingDisableMetricsCollectionRequest.h +++ b/src/include/AutoScaling/AutoScalingDisableMetricsCollectionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDisableMetricsCollectionRequestMarshaller.h b/src/include/AutoScaling/AutoScalingDisableMetricsCollectionRequestMarshaller.h index 11d50670..b2d31bb2 100644 --- a/src/include/AutoScaling/AutoScalingDisableMetricsCollectionRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingDisableMetricsCollectionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDisableMetricsCollectionResponse.h b/src/include/AutoScaling/AutoScalingDisableMetricsCollectionResponse.h index e1bf3b41..af5e4aee 100644 --- a/src/include/AutoScaling/AutoScalingDisableMetricsCollectionResponse.h +++ b/src/include/AutoScaling/AutoScalingDisableMetricsCollectionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingDisableMetricsCollectionResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingDisableMetricsCollectionResponseUnmarshaller.h index 5e60d6fb..4e13d6b4 100644 --- a/src/include/AutoScaling/AutoScalingDisableMetricsCollectionResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingDisableMetricsCollectionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingEbs.h b/src/include/AutoScaling/AutoScalingEbs.h index adf8664a..ae61636a 100644 --- a/src/include/AutoScaling/AutoScalingEbs.h +++ b/src/include/AutoScaling/AutoScalingEbs.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingEbsUnmarshaller.h b/src/include/AutoScaling/AutoScalingEbsUnmarshaller.h index 72e9eee5..4fd51db9 100644 --- a/src/include/AutoScaling/AutoScalingEbsUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingEbsUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingEnableMetricsCollectionRequest.h b/src/include/AutoScaling/AutoScalingEnableMetricsCollectionRequest.h index 22d4a425..1d26e000 100644 --- a/src/include/AutoScaling/AutoScalingEnableMetricsCollectionRequest.h +++ b/src/include/AutoScaling/AutoScalingEnableMetricsCollectionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingEnableMetricsCollectionRequestMarshaller.h b/src/include/AutoScaling/AutoScalingEnableMetricsCollectionRequestMarshaller.h index de2d02b7..70dadf3e 100644 --- a/src/include/AutoScaling/AutoScalingEnableMetricsCollectionRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingEnableMetricsCollectionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingEnableMetricsCollectionResponse.h b/src/include/AutoScaling/AutoScalingEnableMetricsCollectionResponse.h index 73c5b120..94b94be0 100644 --- a/src/include/AutoScaling/AutoScalingEnableMetricsCollectionResponse.h +++ b/src/include/AutoScaling/AutoScalingEnableMetricsCollectionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingEnableMetricsCollectionResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingEnableMetricsCollectionResponseUnmarshaller.h index f8259151..d2202056 100644 --- a/src/include/AutoScaling/AutoScalingEnableMetricsCollectionResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingEnableMetricsCollectionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingEnabledMetric.h b/src/include/AutoScaling/AutoScalingEnabledMetric.h index b8e739ba..1fff4581 100644 --- a/src/include/AutoScaling/AutoScalingEnabledMetric.h +++ b/src/include/AutoScaling/AutoScalingEnabledMetric.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingEnabledMetricUnmarshaller.h b/src/include/AutoScaling/AutoScalingEnabledMetricUnmarshaller.h index 53cbc241..3c6d333e 100644 --- a/src/include/AutoScaling/AutoScalingEnabledMetricUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingEnabledMetricUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingExecutePolicyRequest.h b/src/include/AutoScaling/AutoScalingExecutePolicyRequest.h index 4707a6b9..4bf354a3 100644 --- a/src/include/AutoScaling/AutoScalingExecutePolicyRequest.h +++ b/src/include/AutoScaling/AutoScalingExecutePolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingExecutePolicyRequestMarshaller.h b/src/include/AutoScaling/AutoScalingExecutePolicyRequestMarshaller.h index e6fb0584..f7826c3f 100644 --- a/src/include/AutoScaling/AutoScalingExecutePolicyRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingExecutePolicyRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingExecutePolicyResponse.h b/src/include/AutoScaling/AutoScalingExecutePolicyResponse.h index c2125b46..fd6353c6 100644 --- a/src/include/AutoScaling/AutoScalingExecutePolicyResponse.h +++ b/src/include/AutoScaling/AutoScalingExecutePolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingExecutePolicyResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingExecutePolicyResponseUnmarshaller.h index 306379e0..d51ef10c 100644 --- a/src/include/AutoScaling/AutoScalingExecutePolicyResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingExecutePolicyResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingInstance.h b/src/include/AutoScaling/AutoScalingInstance.h index 852ada84..8f402852 100644 --- a/src/include/AutoScaling/AutoScalingInstance.h +++ b/src/include/AutoScaling/AutoScalingInstance.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingInstanceMonitoring.h b/src/include/AutoScaling/AutoScalingInstanceMonitoring.h index 16ffe7e8..eff9580f 100644 --- a/src/include/AutoScaling/AutoScalingInstanceMonitoring.h +++ b/src/include/AutoScaling/AutoScalingInstanceMonitoring.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingInstanceMonitoringUnmarshaller.h b/src/include/AutoScaling/AutoScalingInstanceMonitoringUnmarshaller.h index d81b47cc..622b7f75 100644 --- a/src/include/AutoScaling/AutoScalingInstanceMonitoringUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingInstanceMonitoringUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingInstanceUnmarshaller.h b/src/include/AutoScaling/AutoScalingInstanceUnmarshaller.h index 0ada8a73..eb757ea2 100644 --- a/src/include/AutoScaling/AutoScalingInstanceUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingInstanceUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingInvalidNextTokenException.h b/src/include/AutoScaling/AutoScalingInvalidNextTokenException.h index eac04670..ac956d7b 100644 --- a/src/include/AutoScaling/AutoScalingInvalidNextTokenException.h +++ b/src/include/AutoScaling/AutoScalingInvalidNextTokenException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingLaunchConfiguration.h b/src/include/AutoScaling/AutoScalingLaunchConfiguration.h index 96189116..4cb6667f 100644 --- a/src/include/AutoScaling/AutoScalingLaunchConfiguration.h +++ b/src/include/AutoScaling/AutoScalingLaunchConfiguration.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingLaunchConfigurationUnmarshaller.h b/src/include/AutoScaling/AutoScalingLaunchConfigurationUnmarshaller.h index af56e49d..f7bf9108 100644 --- a/src/include/AutoScaling/AutoScalingLaunchConfigurationUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingLaunchConfigurationUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingLimitExceededException.h b/src/include/AutoScaling/AutoScalingLimitExceededException.h index 0d0fc3a3..55eb1434 100644 --- a/src/include/AutoScaling/AutoScalingLimitExceededException.h +++ b/src/include/AutoScaling/AutoScalingLimitExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingMetricCollectionType.h b/src/include/AutoScaling/AutoScalingMetricCollectionType.h index 3c740022..3f31761b 100644 --- a/src/include/AutoScaling/AutoScalingMetricCollectionType.h +++ b/src/include/AutoScaling/AutoScalingMetricCollectionType.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingMetricCollectionTypeUnmarshaller.h b/src/include/AutoScaling/AutoScalingMetricCollectionTypeUnmarshaller.h index b4ee6d2c..f3cd81ff 100644 --- a/src/include/AutoScaling/AutoScalingMetricCollectionTypeUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingMetricCollectionTypeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingMetricGranularityType.h b/src/include/AutoScaling/AutoScalingMetricGranularityType.h index e732d7d9..8223e7b5 100644 --- a/src/include/AutoScaling/AutoScalingMetricGranularityType.h +++ b/src/include/AutoScaling/AutoScalingMetricGranularityType.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingMetricGranularityTypeUnmarshaller.h b/src/include/AutoScaling/AutoScalingMetricGranularityTypeUnmarshaller.h index 82a8c42b..92ca2e80 100644 --- a/src/include/AutoScaling/AutoScalingMetricGranularityTypeUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingMetricGranularityTypeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingNotificationConfiguration.h b/src/include/AutoScaling/AutoScalingNotificationConfiguration.h index 764af5cb..3ad85787 100644 --- a/src/include/AutoScaling/AutoScalingNotificationConfiguration.h +++ b/src/include/AutoScaling/AutoScalingNotificationConfiguration.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingNotificationConfigurationUnmarshaller.h b/src/include/AutoScaling/AutoScalingNotificationConfigurationUnmarshaller.h index 3ffec876..a974ca7c 100644 --- a/src/include/AutoScaling/AutoScalingNotificationConfigurationUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingNotificationConfigurationUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingProcessType.h b/src/include/AutoScaling/AutoScalingProcessType.h index 8f5eba3c..ea08e36e 100644 --- a/src/include/AutoScaling/AutoScalingProcessType.h +++ b/src/include/AutoScaling/AutoScalingProcessType.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingProcessTypeUnmarshaller.h b/src/include/AutoScaling/AutoScalingProcessTypeUnmarshaller.h index 00223183..55f91012 100644 --- a/src/include/AutoScaling/AutoScalingProcessTypeUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingProcessTypeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutNotificationConfigurationRequest.h b/src/include/AutoScaling/AutoScalingPutNotificationConfigurationRequest.h index 1be5a8e2..8b35b284 100644 --- a/src/include/AutoScaling/AutoScalingPutNotificationConfigurationRequest.h +++ b/src/include/AutoScaling/AutoScalingPutNotificationConfigurationRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutNotificationConfigurationRequestMarshaller.h b/src/include/AutoScaling/AutoScalingPutNotificationConfigurationRequestMarshaller.h index 33c412c4..4011e126 100644 --- a/src/include/AutoScaling/AutoScalingPutNotificationConfigurationRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingPutNotificationConfigurationRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutNotificationConfigurationResponse.h b/src/include/AutoScaling/AutoScalingPutNotificationConfigurationResponse.h index 5d7f3ad1..d1f104b1 100644 --- a/src/include/AutoScaling/AutoScalingPutNotificationConfigurationResponse.h +++ b/src/include/AutoScaling/AutoScalingPutNotificationConfigurationResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutNotificationConfigurationResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingPutNotificationConfigurationResponseUnmarshaller.h index 76d2d153..3536d754 100644 --- a/src/include/AutoScaling/AutoScalingPutNotificationConfigurationResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingPutNotificationConfigurationResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutScalingPolicyRequest.h b/src/include/AutoScaling/AutoScalingPutScalingPolicyRequest.h index cef39c9e..9ccf8b73 100644 --- a/src/include/AutoScaling/AutoScalingPutScalingPolicyRequest.h +++ b/src/include/AutoScaling/AutoScalingPutScalingPolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutScalingPolicyRequestMarshaller.h b/src/include/AutoScaling/AutoScalingPutScalingPolicyRequestMarshaller.h index 8d1d5c66..d559ec0f 100644 --- a/src/include/AutoScaling/AutoScalingPutScalingPolicyRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingPutScalingPolicyRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutScalingPolicyResponse.h b/src/include/AutoScaling/AutoScalingPutScalingPolicyResponse.h index 43f0603d..e86824bb 100644 --- a/src/include/AutoScaling/AutoScalingPutScalingPolicyResponse.h +++ b/src/include/AutoScaling/AutoScalingPutScalingPolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutScalingPolicyResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingPutScalingPolicyResponseUnmarshaller.h index f198d9de..50ea62ef 100644 --- a/src/include/AutoScaling/AutoScalingPutScalingPolicyResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingPutScalingPolicyResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionRequest.h b/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionRequest.h index 764bdceb..552f903e 100644 --- a/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionRequest.h +++ b/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionRequestMarshaller.h b/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionRequestMarshaller.h index f12a7c7d..051e278c 100644 --- a/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionResponse.h b/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionResponse.h index 07faeb05..878a2b66 100644 --- a/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionResponse.h +++ b/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionResponseUnmarshaller.h index 1485979c..9d53875f 100644 --- a/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingPutScheduledUpdateGroupActionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingResourceInUseException.h b/src/include/AutoScaling/AutoScalingResourceInUseException.h index fa8244ec..0343c5da 100644 --- a/src/include/AutoScaling/AutoScalingResourceInUseException.h +++ b/src/include/AutoScaling/AutoScalingResourceInUseException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingResponse.h b/src/include/AutoScaling/AutoScalingResponse.h index a95da800..f4f99074 100644 --- a/src/include/AutoScaling/AutoScalingResponse.h +++ b/src/include/AutoScaling/AutoScalingResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingResponseUnmarshaller.h index c8c953d6..4ce53f8d 100644 --- a/src/include/AutoScaling/AutoScalingResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingResumeProcessesRequest.h b/src/include/AutoScaling/AutoScalingResumeProcessesRequest.h index 5b9141a9..0505b253 100644 --- a/src/include/AutoScaling/AutoScalingResumeProcessesRequest.h +++ b/src/include/AutoScaling/AutoScalingResumeProcessesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingResumeProcessesRequestMarshaller.h b/src/include/AutoScaling/AutoScalingResumeProcessesRequestMarshaller.h index f4a999e9..638300cb 100644 --- a/src/include/AutoScaling/AutoScalingResumeProcessesRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingResumeProcessesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingResumeProcessesResponse.h b/src/include/AutoScaling/AutoScalingResumeProcessesResponse.h index 8999d0f1..2c827ec5 100644 --- a/src/include/AutoScaling/AutoScalingResumeProcessesResponse.h +++ b/src/include/AutoScaling/AutoScalingResumeProcessesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingResumeProcessesResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingResumeProcessesResponseUnmarshaller.h index 2948c22f..e6935526 100644 --- a/src/include/AutoScaling/AutoScalingResumeProcessesResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingResumeProcessesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingScalingActivityInProgressException.h b/src/include/AutoScaling/AutoScalingScalingActivityInProgressException.h index b12a4b33..eee69fb3 100644 --- a/src/include/AutoScaling/AutoScalingScalingActivityInProgressException.h +++ b/src/include/AutoScaling/AutoScalingScalingActivityInProgressException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingScalingPolicy.h b/src/include/AutoScaling/AutoScalingScalingPolicy.h index b59f9b4a..2c792a15 100644 --- a/src/include/AutoScaling/AutoScalingScalingPolicy.h +++ b/src/include/AutoScaling/AutoScalingScalingPolicy.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingScalingPolicyUnmarshaller.h b/src/include/AutoScaling/AutoScalingScalingPolicyUnmarshaller.h index 01f17074..f8a5c315 100644 --- a/src/include/AutoScaling/AutoScalingScalingPolicyUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingScalingPolicyUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingScheduledUpdateGroupAction.h b/src/include/AutoScaling/AutoScalingScheduledUpdateGroupAction.h index 818f6ff9..8bd8621e 100644 --- a/src/include/AutoScaling/AutoScalingScheduledUpdateGroupAction.h +++ b/src/include/AutoScaling/AutoScalingScheduledUpdateGroupAction.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingScheduledUpdateGroupActionUnmarshaller.h b/src/include/AutoScaling/AutoScalingScheduledUpdateGroupActionUnmarshaller.h index 8e1bb2ea..d829877e 100644 --- a/src/include/AutoScaling/AutoScalingScheduledUpdateGroupActionUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingScheduledUpdateGroupActionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSetDesiredCapacityRequest.h b/src/include/AutoScaling/AutoScalingSetDesiredCapacityRequest.h index 5272b1be..9ae17adc 100644 --- a/src/include/AutoScaling/AutoScalingSetDesiredCapacityRequest.h +++ b/src/include/AutoScaling/AutoScalingSetDesiredCapacityRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSetDesiredCapacityRequestMarshaller.h b/src/include/AutoScaling/AutoScalingSetDesiredCapacityRequestMarshaller.h index 7ee7cdd3..b2108abb 100644 --- a/src/include/AutoScaling/AutoScalingSetDesiredCapacityRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingSetDesiredCapacityRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSetDesiredCapacityResponse.h b/src/include/AutoScaling/AutoScalingSetDesiredCapacityResponse.h index 0410e325..f0ccfa62 100644 --- a/src/include/AutoScaling/AutoScalingSetDesiredCapacityResponse.h +++ b/src/include/AutoScaling/AutoScalingSetDesiredCapacityResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSetDesiredCapacityResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingSetDesiredCapacityResponseUnmarshaller.h index d75ff078..c54a1b96 100644 --- a/src/include/AutoScaling/AutoScalingSetDesiredCapacityResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingSetDesiredCapacityResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSetInstanceHealthRequest.h b/src/include/AutoScaling/AutoScalingSetInstanceHealthRequest.h index a1cbeb36..fa75b79c 100644 --- a/src/include/AutoScaling/AutoScalingSetInstanceHealthRequest.h +++ b/src/include/AutoScaling/AutoScalingSetInstanceHealthRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSetInstanceHealthRequestMarshaller.h b/src/include/AutoScaling/AutoScalingSetInstanceHealthRequestMarshaller.h index da8a7c53..f915804f 100644 --- a/src/include/AutoScaling/AutoScalingSetInstanceHealthRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingSetInstanceHealthRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSetInstanceHealthResponse.h b/src/include/AutoScaling/AutoScalingSetInstanceHealthResponse.h index e457f89c..1f014000 100644 --- a/src/include/AutoScaling/AutoScalingSetInstanceHealthResponse.h +++ b/src/include/AutoScaling/AutoScalingSetInstanceHealthResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSetInstanceHealthResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingSetInstanceHealthResponseUnmarshaller.h index 9bca64aa..acfac665 100644 --- a/src/include/AutoScaling/AutoScalingSetInstanceHealthResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingSetInstanceHealthResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSuspendProcessesRequest.h b/src/include/AutoScaling/AutoScalingSuspendProcessesRequest.h index 4f106870..96a40f57 100644 --- a/src/include/AutoScaling/AutoScalingSuspendProcessesRequest.h +++ b/src/include/AutoScaling/AutoScalingSuspendProcessesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSuspendProcessesRequestMarshaller.h b/src/include/AutoScaling/AutoScalingSuspendProcessesRequestMarshaller.h index 531f88c5..9c00bfe9 100644 --- a/src/include/AutoScaling/AutoScalingSuspendProcessesRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingSuspendProcessesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSuspendProcessesResponse.h b/src/include/AutoScaling/AutoScalingSuspendProcessesResponse.h index 54a365c8..377d8c56 100644 --- a/src/include/AutoScaling/AutoScalingSuspendProcessesResponse.h +++ b/src/include/AutoScaling/AutoScalingSuspendProcessesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSuspendProcessesResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingSuspendProcessesResponseUnmarshaller.h index 38cde6ae..cb594e89 100644 --- a/src/include/AutoScaling/AutoScalingSuspendProcessesResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingSuspendProcessesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSuspendedProcess.h b/src/include/AutoScaling/AutoScalingSuspendedProcess.h index 30ee9040..2917507b 100644 --- a/src/include/AutoScaling/AutoScalingSuspendedProcess.h +++ b/src/include/AutoScaling/AutoScalingSuspendedProcess.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingSuspendedProcessUnmarshaller.h b/src/include/AutoScaling/AutoScalingSuspendedProcessUnmarshaller.h index 7b239e99..5999f045 100644 --- a/src/include/AutoScaling/AutoScalingSuspendedProcessUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingSuspendedProcessUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupRequest.h b/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupRequest.h index ee56133c..fba57cb7 100644 --- a/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupRequest.h +++ b/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupRequestMarshaller.h b/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupRequestMarshaller.h index fcd495db..fbfa8024 100644 --- a/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupResponse.h b/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupResponse.h index 1076a802..a889de7a 100644 --- a/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupResponse.h +++ b/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupResponseUnmarshaller.h index ef578cf6..9a12152c 100644 --- a/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingTerminateInstanceInAutoScalingGroupResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupRequest.h b/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupRequest.h index 30efd134..d3b116c0 100644 --- a/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupRequest.h +++ b/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupRequestMarshaller.h b/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupRequestMarshaller.h index b7357843..072a96f0 100644 --- a/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupRequestMarshaller.h +++ b/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupResponse.h b/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupResponse.h index e05835c2..eb371628 100644 --- a/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupResponse.h +++ b/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupResponseUnmarshaller.h b/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupResponseUnmarshaller.h index 4562758a..b816b991 100644 --- a/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupResponseUnmarshaller.h +++ b/src/include/AutoScaling/AutoScalingUpdateAutoScalingGroupResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/AmazonCloudWatchClient.h b/src/include/CloudWatch/AmazonCloudWatchClient.h index 55cecc26..7479202a 100644 --- a/src/include/CloudWatch/AmazonCloudWatchClient.h +++ b/src/include/CloudWatch/AmazonCloudWatchClient.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchAlarmHistoryItem.h b/src/include/CloudWatch/CloudWatchAlarmHistoryItem.h index c94cebdd..2b4bf082 100644 --- a/src/include/CloudWatch/CloudWatchAlarmHistoryItem.h +++ b/src/include/CloudWatch/CloudWatchAlarmHistoryItem.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchAlarmHistoryItemUnmarshaller.h b/src/include/CloudWatch/CloudWatchAlarmHistoryItemUnmarshaller.h index 14bfe8da..379894e0 100644 --- a/src/include/CloudWatch/CloudWatchAlarmHistoryItemUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchAlarmHistoryItemUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDatapoint.h b/src/include/CloudWatch/CloudWatchDatapoint.h index c0d9b13f..2b4e6f8b 100644 --- a/src/include/CloudWatch/CloudWatchDatapoint.h +++ b/src/include/CloudWatch/CloudWatchDatapoint.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDatapointUnmarshaller.h b/src/include/CloudWatch/CloudWatchDatapointUnmarshaller.h index ae3415e9..224f6945 100644 --- a/src/include/CloudWatch/CloudWatchDatapointUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchDatapointUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDeleteAlarmsRequest.h b/src/include/CloudWatch/CloudWatchDeleteAlarmsRequest.h index 6b0f0496..7ebf0d2c 100644 --- a/src/include/CloudWatch/CloudWatchDeleteAlarmsRequest.h +++ b/src/include/CloudWatch/CloudWatchDeleteAlarmsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDeleteAlarmsRequestMarshaller.h b/src/include/CloudWatch/CloudWatchDeleteAlarmsRequestMarshaller.h index 5ed156bd..3476b893 100644 --- a/src/include/CloudWatch/CloudWatchDeleteAlarmsRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchDeleteAlarmsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDeleteAlarmsResponse.h b/src/include/CloudWatch/CloudWatchDeleteAlarmsResponse.h index bd7c53a3..6666cef3 100644 --- a/src/include/CloudWatch/CloudWatchDeleteAlarmsResponse.h +++ b/src/include/CloudWatch/CloudWatchDeleteAlarmsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDeleteAlarmsResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchDeleteAlarmsResponseUnmarshaller.h index f27fe6e2..300def72 100644 --- a/src/include/CloudWatch/CloudWatchDeleteAlarmsResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchDeleteAlarmsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryRequest.h b/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryRequest.h index 5e8e4265..a9a268ff 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryRequest.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryRequestMarshaller.h b/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryRequestMarshaller.h index b77c968e..9ef7841c 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryResponse.h b/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryResponse.h index 1a99e993..1dc33075 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryResponse.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryResponseUnmarshaller.h index 066eb83e..9e9908f7 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmHistoryResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricRequest.h b/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricRequest.h index 40f97067..300c06d9 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricRequest.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricRequestMarshaller.h b/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricRequestMarshaller.h index ddcf86fd..394dcdc3 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricResponse.h b/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricResponse.h index 4f79fa70..e730e1e4 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricResponse.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricResponseUnmarshaller.h index f5ec8583..6a5b516b 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmsForMetricResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmsRequest.h b/src/include/CloudWatch/CloudWatchDescribeAlarmsRequest.h index 60779a62..01c1b349 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmsRequest.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmsRequestMarshaller.h b/src/include/CloudWatch/CloudWatchDescribeAlarmsRequestMarshaller.h index 7d82c152..d1eafb37 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmsRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmsResponse.h b/src/include/CloudWatch/CloudWatchDescribeAlarmsResponse.h index c1b26105..3f2496a9 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmsResponse.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDescribeAlarmsResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchDescribeAlarmsResponseUnmarshaller.h index b5661af0..7fa80b72 100644 --- a/src/include/CloudWatch/CloudWatchDescribeAlarmsResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchDescribeAlarmsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDimension.h b/src/include/CloudWatch/CloudWatchDimension.h index 9c723a95..32ca6606 100644 --- a/src/include/CloudWatch/CloudWatchDimension.h +++ b/src/include/CloudWatch/CloudWatchDimension.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDimensionFilter.h b/src/include/CloudWatch/CloudWatchDimensionFilter.h index 2a0044a1..40bab841 100644 --- a/src/include/CloudWatch/CloudWatchDimensionFilter.h +++ b/src/include/CloudWatch/CloudWatchDimensionFilter.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDimensionUnmarshaller.h b/src/include/CloudWatch/CloudWatchDimensionUnmarshaller.h index a00b5144..614434e1 100644 --- a/src/include/CloudWatch/CloudWatchDimensionUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchDimensionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDisableAlarmActionsRequest.h b/src/include/CloudWatch/CloudWatchDisableAlarmActionsRequest.h index 4bf86ed9..76cf59eb 100644 --- a/src/include/CloudWatch/CloudWatchDisableAlarmActionsRequest.h +++ b/src/include/CloudWatch/CloudWatchDisableAlarmActionsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDisableAlarmActionsRequestMarshaller.h b/src/include/CloudWatch/CloudWatchDisableAlarmActionsRequestMarshaller.h index 5730fbfa..dc8cd607 100644 --- a/src/include/CloudWatch/CloudWatchDisableAlarmActionsRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchDisableAlarmActionsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDisableAlarmActionsResponse.h b/src/include/CloudWatch/CloudWatchDisableAlarmActionsResponse.h index c40be732..76f145bb 100644 --- a/src/include/CloudWatch/CloudWatchDisableAlarmActionsResponse.h +++ b/src/include/CloudWatch/CloudWatchDisableAlarmActionsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchDisableAlarmActionsResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchDisableAlarmActionsResponseUnmarshaller.h index 208aca73..0fbd251c 100644 --- a/src/include/CloudWatch/CloudWatchDisableAlarmActionsResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchDisableAlarmActionsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchEnableAlarmActionsRequest.h b/src/include/CloudWatch/CloudWatchEnableAlarmActionsRequest.h index cba0253b..8db3b043 100644 --- a/src/include/CloudWatch/CloudWatchEnableAlarmActionsRequest.h +++ b/src/include/CloudWatch/CloudWatchEnableAlarmActionsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchEnableAlarmActionsRequestMarshaller.h b/src/include/CloudWatch/CloudWatchEnableAlarmActionsRequestMarshaller.h index 1813d6bb..6a249462 100644 --- a/src/include/CloudWatch/CloudWatchEnableAlarmActionsRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchEnableAlarmActionsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchEnableAlarmActionsResponse.h b/src/include/CloudWatch/CloudWatchEnableAlarmActionsResponse.h index 3c9c39d6..e72d1b2d 100644 --- a/src/include/CloudWatch/CloudWatchEnableAlarmActionsResponse.h +++ b/src/include/CloudWatch/CloudWatchEnableAlarmActionsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchEnableAlarmActionsResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchEnableAlarmActionsResponseUnmarshaller.h index 08743676..9fa90ea8 100644 --- a/src/include/CloudWatch/CloudWatchEnableAlarmActionsResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchEnableAlarmActionsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchGetMetricStatisticsRequest.h b/src/include/CloudWatch/CloudWatchGetMetricStatisticsRequest.h index 2ce29c29..7887cdff 100644 --- a/src/include/CloudWatch/CloudWatchGetMetricStatisticsRequest.h +++ b/src/include/CloudWatch/CloudWatchGetMetricStatisticsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchGetMetricStatisticsRequestMarshaller.h b/src/include/CloudWatch/CloudWatchGetMetricStatisticsRequestMarshaller.h index 6a41ebc0..516cde7d 100644 --- a/src/include/CloudWatch/CloudWatchGetMetricStatisticsRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchGetMetricStatisticsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchGetMetricStatisticsResponse.h b/src/include/CloudWatch/CloudWatchGetMetricStatisticsResponse.h index 7ca26f54..836a88a4 100644 --- a/src/include/CloudWatch/CloudWatchGetMetricStatisticsResponse.h +++ b/src/include/CloudWatch/CloudWatchGetMetricStatisticsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchGetMetricStatisticsResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchGetMetricStatisticsResponseUnmarshaller.h index e620c1b9..8bfee5df 100644 --- a/src/include/CloudWatch/CloudWatchGetMetricStatisticsResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchGetMetricStatisticsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchInternalServiceException.h b/src/include/CloudWatch/CloudWatchInternalServiceException.h index 92a00cc3..a97f9fbe 100644 --- a/src/include/CloudWatch/CloudWatchInternalServiceException.h +++ b/src/include/CloudWatch/CloudWatchInternalServiceException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchInvalidFormatException.h b/src/include/CloudWatch/CloudWatchInvalidFormatException.h index c96813d8..6f04453a 100644 --- a/src/include/CloudWatch/CloudWatchInvalidFormatException.h +++ b/src/include/CloudWatch/CloudWatchInvalidFormatException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchInvalidNextTokenException.h b/src/include/CloudWatch/CloudWatchInvalidNextTokenException.h index 7d1315cc..7586bf79 100644 --- a/src/include/CloudWatch/CloudWatchInvalidNextTokenException.h +++ b/src/include/CloudWatch/CloudWatchInvalidNextTokenException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchInvalidParameterCombinationException.h b/src/include/CloudWatch/CloudWatchInvalidParameterCombinationException.h index cdd3fa5d..873f3719 100644 --- a/src/include/CloudWatch/CloudWatchInvalidParameterCombinationException.h +++ b/src/include/CloudWatch/CloudWatchInvalidParameterCombinationException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchInvalidParameterValueException.h b/src/include/CloudWatch/CloudWatchInvalidParameterValueException.h index 77b654a0..9b4ee38e 100644 --- a/src/include/CloudWatch/CloudWatchInvalidParameterValueException.h +++ b/src/include/CloudWatch/CloudWatchInvalidParameterValueException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchLimitExceededException.h b/src/include/CloudWatch/CloudWatchLimitExceededException.h index 42cdd3eb..484b735d 100644 --- a/src/include/CloudWatch/CloudWatchLimitExceededException.h +++ b/src/include/CloudWatch/CloudWatchLimitExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchListMetricsRequest.h b/src/include/CloudWatch/CloudWatchListMetricsRequest.h index 7d276848..846d9178 100644 --- a/src/include/CloudWatch/CloudWatchListMetricsRequest.h +++ b/src/include/CloudWatch/CloudWatchListMetricsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchListMetricsRequestMarshaller.h b/src/include/CloudWatch/CloudWatchListMetricsRequestMarshaller.h index 68e12823..0b22b20e 100644 --- a/src/include/CloudWatch/CloudWatchListMetricsRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchListMetricsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchListMetricsResponse.h b/src/include/CloudWatch/CloudWatchListMetricsResponse.h index 4de81e43..6e09727c 100644 --- a/src/include/CloudWatch/CloudWatchListMetricsResponse.h +++ b/src/include/CloudWatch/CloudWatchListMetricsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchListMetricsResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchListMetricsResponseUnmarshaller.h index 97150205..8ac25099 100644 --- a/src/include/CloudWatch/CloudWatchListMetricsResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchListMetricsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchMetric.h b/src/include/CloudWatch/CloudWatchMetric.h index 30e4c0bd..73c10457 100644 --- a/src/include/CloudWatch/CloudWatchMetric.h +++ b/src/include/CloudWatch/CloudWatchMetric.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchMetricAlarm.h b/src/include/CloudWatch/CloudWatchMetricAlarm.h index 44401f3b..c2ba5185 100644 --- a/src/include/CloudWatch/CloudWatchMetricAlarm.h +++ b/src/include/CloudWatch/CloudWatchMetricAlarm.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchMetricAlarmUnmarshaller.h b/src/include/CloudWatch/CloudWatchMetricAlarmUnmarshaller.h index c920a694..f68c8461 100644 --- a/src/include/CloudWatch/CloudWatchMetricAlarmUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchMetricAlarmUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchMetricDatum.h b/src/include/CloudWatch/CloudWatchMetricDatum.h index 4a5fc6b1..6f79ea1e 100644 --- a/src/include/CloudWatch/CloudWatchMetricDatum.h +++ b/src/include/CloudWatch/CloudWatchMetricDatum.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchMetricUnmarshaller.h b/src/include/CloudWatch/CloudWatchMetricUnmarshaller.h index 49c39865..a1df8693 100644 --- a/src/include/CloudWatch/CloudWatchMetricUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchMetricUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchMissingRequiredParameterException.h b/src/include/CloudWatch/CloudWatchMissingRequiredParameterException.h index b3aef85b..ea0c0a1b 100644 --- a/src/include/CloudWatch/CloudWatchMissingRequiredParameterException.h +++ b/src/include/CloudWatch/CloudWatchMissingRequiredParameterException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchPutMetricAlarmRequest.h b/src/include/CloudWatch/CloudWatchPutMetricAlarmRequest.h index 96688a4d..f25d0f0b 100644 --- a/src/include/CloudWatch/CloudWatchPutMetricAlarmRequest.h +++ b/src/include/CloudWatch/CloudWatchPutMetricAlarmRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchPutMetricAlarmRequestMarshaller.h b/src/include/CloudWatch/CloudWatchPutMetricAlarmRequestMarshaller.h index ce637e02..c78c6a7b 100644 --- a/src/include/CloudWatch/CloudWatchPutMetricAlarmRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchPutMetricAlarmRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchPutMetricAlarmResponse.h b/src/include/CloudWatch/CloudWatchPutMetricAlarmResponse.h index fde6d660..4bcd6245 100644 --- a/src/include/CloudWatch/CloudWatchPutMetricAlarmResponse.h +++ b/src/include/CloudWatch/CloudWatchPutMetricAlarmResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchPutMetricAlarmResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchPutMetricAlarmResponseUnmarshaller.h index 7c4da264..464f6372 100644 --- a/src/include/CloudWatch/CloudWatchPutMetricAlarmResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchPutMetricAlarmResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchPutMetricDataRequest.h b/src/include/CloudWatch/CloudWatchPutMetricDataRequest.h index 1ca00a80..3376fe00 100644 --- a/src/include/CloudWatch/CloudWatchPutMetricDataRequest.h +++ b/src/include/CloudWatch/CloudWatchPutMetricDataRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchPutMetricDataRequestMarshaller.h b/src/include/CloudWatch/CloudWatchPutMetricDataRequestMarshaller.h index 86061c13..f2ca6f0c 100644 --- a/src/include/CloudWatch/CloudWatchPutMetricDataRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchPutMetricDataRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchPutMetricDataResponse.h b/src/include/CloudWatch/CloudWatchPutMetricDataResponse.h index fcaff02b..299850e2 100644 --- a/src/include/CloudWatch/CloudWatchPutMetricDataResponse.h +++ b/src/include/CloudWatch/CloudWatchPutMetricDataResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchPutMetricDataResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchPutMetricDataResponseUnmarshaller.h index 767eb76d..fca1173c 100644 --- a/src/include/CloudWatch/CloudWatchPutMetricDataResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchPutMetricDataResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchRequest.h b/src/include/CloudWatch/CloudWatchRequest.h index 703bee54..6a77e6f3 100644 --- a/src/include/CloudWatch/CloudWatchRequest.h +++ b/src/include/CloudWatch/CloudWatchRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchResourceNotFoundException.h b/src/include/CloudWatch/CloudWatchResourceNotFoundException.h index 5495daea..8a46dc81 100644 --- a/src/include/CloudWatch/CloudWatchResourceNotFoundException.h +++ b/src/include/CloudWatch/CloudWatchResourceNotFoundException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchResponse.h b/src/include/CloudWatch/CloudWatchResponse.h index 5b3429d6..15be47c8 100644 --- a/src/include/CloudWatch/CloudWatchResponse.h +++ b/src/include/CloudWatch/CloudWatchResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchResponseUnmarshaller.h index c135175f..005d91e3 100644 --- a/src/include/CloudWatch/CloudWatchResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchSetAlarmStateRequest.h b/src/include/CloudWatch/CloudWatchSetAlarmStateRequest.h index 5b234f15..afa24fbd 100644 --- a/src/include/CloudWatch/CloudWatchSetAlarmStateRequest.h +++ b/src/include/CloudWatch/CloudWatchSetAlarmStateRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchSetAlarmStateRequestMarshaller.h b/src/include/CloudWatch/CloudWatchSetAlarmStateRequestMarshaller.h index 784c8501..afa48a93 100644 --- a/src/include/CloudWatch/CloudWatchSetAlarmStateRequestMarshaller.h +++ b/src/include/CloudWatch/CloudWatchSetAlarmStateRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchSetAlarmStateResponse.h b/src/include/CloudWatch/CloudWatchSetAlarmStateResponse.h index 85eeb5d6..4f3dd048 100644 --- a/src/include/CloudWatch/CloudWatchSetAlarmStateResponse.h +++ b/src/include/CloudWatch/CloudWatchSetAlarmStateResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchSetAlarmStateResponseUnmarshaller.h b/src/include/CloudWatch/CloudWatchSetAlarmStateResponseUnmarshaller.h index bb708a56..e65bb11c 100644 --- a/src/include/CloudWatch/CloudWatchSetAlarmStateResponseUnmarshaller.h +++ b/src/include/CloudWatch/CloudWatchSetAlarmStateResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/CloudWatch/CloudWatchStatisticSet.h b/src/include/CloudWatch/CloudWatchStatisticSet.h index 714c33cf..17014757 100644 --- a/src/include/CloudWatch/CloudWatchStatisticSet.h +++ b/src/include/CloudWatch/CloudWatchStatisticSet.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/DynamoDB/AmazonDynamoDBClient.h b/src/include/DynamoDB/AmazonDynamoDBClient.h new file mode 100644 index 00000000..54ddf269 --- /dev/null +++ b/src/include/DynamoDB/AmazonDynamoDBClient.h @@ -0,0 +1,453 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +#import "DynamoDBScanResponse.h" +#import "DynamoDBScanResponseUnmarshaller.h" +#import "DynamoDBScanRequest.h" +#import "DynamoDBScanRequestMarshaller.h" +#import "DynamoDBCreateTableResponse.h" +#import "DynamoDBCreateTableResponseUnmarshaller.h" +#import "DynamoDBCreateTableRequest.h" +#import "DynamoDBCreateTableRequestMarshaller.h" +#import "DynamoDBListTablesResponse.h" +#import "DynamoDBListTablesResponseUnmarshaller.h" +#import "DynamoDBListTablesRequest.h" +#import "DynamoDBListTablesRequestMarshaller.h" +#import "DynamoDBQueryResponse.h" +#import "DynamoDBQueryResponseUnmarshaller.h" +#import "DynamoDBQueryRequest.h" +#import "DynamoDBQueryRequestMarshaller.h" +#import "DynamoDBUpdateItemResponse.h" +#import "DynamoDBUpdateItemResponseUnmarshaller.h" +#import "DynamoDBUpdateItemRequest.h" +#import "DynamoDBUpdateItemRequestMarshaller.h" +#import "DynamoDBUpdateTableResponse.h" +#import "DynamoDBUpdateTableResponseUnmarshaller.h" +#import "DynamoDBUpdateTableRequest.h" +#import "DynamoDBUpdateTableRequestMarshaller.h" +#import "DynamoDBPutItemResponse.h" +#import "DynamoDBPutItemResponseUnmarshaller.h" +#import "DynamoDBPutItemRequest.h" +#import "DynamoDBPutItemRequestMarshaller.h" +#import "DynamoDBDeleteTableResponse.h" +#import "DynamoDBDeleteTableResponseUnmarshaller.h" +#import "DynamoDBDeleteTableRequest.h" +#import "DynamoDBDeleteTableRequestMarshaller.h" +#import "DynamoDBDeleteItemResponse.h" +#import "DynamoDBDeleteItemResponseUnmarshaller.h" +#import "DynamoDBDeleteItemRequest.h" +#import "DynamoDBDeleteItemRequestMarshaller.h" +#import "DynamoDBDescribeTableResponse.h" +#import "DynamoDBDescribeTableResponseUnmarshaller.h" +#import "DynamoDBDescribeTableRequest.h" +#import "DynamoDBDescribeTableRequestMarshaller.h" +#import "DynamoDBGetItemResponse.h" +#import "DynamoDBGetItemResponseUnmarshaller.h" +#import "DynamoDBGetItemRequest.h" +#import "DynamoDBGetItemRequestMarshaller.h" +#import "DynamoDBBatchGetItemResponse.h" +#import "DynamoDBBatchGetItemResponseUnmarshaller.h" +#import "DynamoDBBatchGetItemRequest.h" +#import "DynamoDBBatchGetItemRequestMarshaller.h" + +#import "DynamoDBWebServiceClient.h" + +/** \defgroup DynamoDB AmazonDynamoDB */ + +/** + * Interface for accessing AmazonDynamoDB. + * + *

+ * Amazon DynamoDB is a fast, highly scalable, highly available, + * cost-effective non-relational database service. Amazon DynamoDB + * removes traditional scalability limitations on data storage while + * maintaining low latency and predictable performance. + *

+ *
+ * + * \ingroup DynamoDB + */ +@interface AmazonDynamoDBClient:DynamoDBWebServiceClient +{ +} + + +/** + *

+ * The Scan operation returns one or more items and its attributes by + * performing a full scan of a table. Limit the returned results by + * specifying a filter. + *

+ * + * @param scanRequest Container for the necessary parameters to execute + * the Scan service method on AmazonDynamoDB. + * + * @return The response from the Scan service method, as returned by + * AmazonDynamoDB. + * + * @throws DynamoDBProvisionedThroughputExceededException + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBScanResponse *)scan:(DynamoDBScanRequest *)scanRequest; + + +/** + *

+ * The CreateTable operation adds a new table to your account. The table + * name must be unique among those associated with the AWS Account + * issuing the request, and the AWS Region that receives the request + * (e.g. us-east-1). The CreateTable operation triggers an asynchronous + * workflow to begin creating the table. Amazon DynamoDB immediately + * returns the state of the table (CREATING) until the table is in the + * ACTIVE state. Once the table is in the ACTIVE state, you can perform + * data plane operations. + *

+ * + * @param createTableRequest Container for the necessary parameters to + * execute the CreateTable service method on AmazonDynamoDB. + * + * @return The response from the CreateTable service method, as returned + * by AmazonDynamoDB. + * + * @throws DynamoDBResourceInUseException + * @throws DynamoDBLimitExceededException + * @throws DynamoDBInternalServerErrorException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBCreateTableResponse *)createTable:(DynamoDBCreateTableRequest *)createTableRequest; + + +/** + *

+ * Returns a paginated list of table names created by the AWS Account of + * the caller in the AWS Region (e.g. us-east-1). + *

+ * + * @param listTablesRequest Container for the necessary parameters to + * execute the ListTables service method on AmazonDynamoDB. + * + * @return The response from the ListTables service method, as returned + * by AmazonDynamoDB. + * + * @throws DynamoDBInternalServerErrorException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBListTablesResponse *)listTables:(DynamoDBListTablesRequest *)listTablesRequest; + + +/** + *

+ * The Query operation gets the values of one or more items and its + * attributes by primary key (composite primary key, only). Narrow the + * scope of the query using comparison operators on the RangeKeyValue of + * the composite key. Use the ScanIndexForward parameter to get results + * in forward or reverse order by range key. + *

+ * + * @param queryRequest Container for the necessary parameters to execute + * the Query service method on AmazonDynamoDB. + * + * @return The response from the Query service method, as returned by + * AmazonDynamoDB. + * + * @throws DynamoDBProvisionedThroughputExceededException + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBQueryResponse *)query:(DynamoDBQueryRequest *)queryRequest; + + +/** + *

+ * Edits an existing item's attributes. You can perform a conditional + * update (insert a new attribute name-value pair if it doesn't exist, or + * replace an existing name-value pair if it has certain expected + * attribute values). + *

+ * + * @param updateItemRequest Container for the necessary parameters to + * execute the UpdateItem service method on AmazonDynamoDB. + * + * @return The response from the UpdateItem service method, as returned + * by AmazonDynamoDB. + * + * @throws DynamoDBProvisionedThroughputExceededException + * @throws DynamoDBConditionalCheckFailedException + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBUpdateItemResponse *)updateItem:(DynamoDBUpdateItemRequest *)updateItemRequest; + + +/** + *

+ * Updates the provisioned throughput for the given table. Setting the + * throughput for a table helps you manage performance and is part of the + * Provisioned Capacity feature of Amazon DynamoDB. + *

+ * + * @param updateTableRequest Container for the necessary parameters to + * execute the UpdateTable service method on AmazonDynamoDB. + * + * @return The response from the UpdateTable service method, as returned + * by AmazonDynamoDB. + * + * @throws DynamoDBResourceInUseException + * @throws DynamoDBLimitExceededException + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBUpdateTableResponse *)updateTable:(DynamoDBUpdateTableRequest *)updateTableRequest; + + +/** + *

+ * Creates a new item, or replaces an old item with a new item + * (including all the attributes). If an item already exists in the + * specified table with the same primary key, the new item completely + * replaces the existing item. You can perform a conditional put (insert + * a new item if one with the specified primary key doesn't exist), or + * replace an existing item if it has certain attribute values. + *

+ * + * @param putItemRequest Container for the necessary parameters to + * execute the PutItem service method on AmazonDynamoDB. + * + * @return The response from the PutItem service method, as returned by + * AmazonDynamoDB. + * + * @throws DynamoDBProvisionedThroughputExceededException + * @throws DynamoDBConditionalCheckFailedException + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBPutItemResponse *)putItem:(DynamoDBPutItemRequest *)putItemRequest; + + +/** + *

+ * The DeleteTable operation deletes a table and all of its items. If + * the table is in the ACTIVE state, you can delete it. If a table is in + * CREATING or UPDATING states, then DeleteTable returns a + * ResourceInUseException. If the specified table does not exist, Amazon + * DynamoDB returns a ResourceNotFoundException. + *

+ * + * @param deleteTableRequest Container for the necessary parameters to + * execute the DeleteTable service method on AmazonDynamoDB. + * + * @return The response from the DeleteTable service method, as returned + * by AmazonDynamoDB. + * + * @throws DynamoDBResourceInUseException + * @throws DynamoDBLimitExceededException + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBDeleteTableResponse *)deleteTable:(DynamoDBDeleteTableRequest *)deleteTableRequest; + + +/** + *

+ * Deletes a single item in a table by primary key. You can perform a + * conditional delete operation that deletes the item if it exists, or if + * it has an expected attribute value. + *

+ * + * @param deleteItemRequest Container for the necessary parameters to + * execute the DeleteItem service method on AmazonDynamoDB. + * + * @return The response from the DeleteItem service method, as returned + * by AmazonDynamoDB. + * + * @throws DynamoDBProvisionedThroughputExceededException + * @throws DynamoDBConditionalCheckFailedException + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBDeleteItemResponse *)deleteItem:(DynamoDBDeleteItemRequest *)deleteItemRequest; + + +/** + *

+ * Returns information about the table, including the current status of + * the table, the primary key schema and when the table was created. If + * the table does not exist, the server returns a + * ResourceNotFoundException. + *

+ * + * @param describeTableRequest Container for the necessary parameters to + * execute the DescribeTable service method on AmazonDynamoDB. + * + * @return The response from the DescribeTable service method, as + * returned by AmazonDynamoDB. + * + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBDescribeTableResponse *)describeTable:(DynamoDBDescribeTableRequest *)describeTableRequest; + + +/** + *

+ * The GetItem operation returns a set of Attributes for an item that + * matches the primary key. The GetItem operation provides an eventually + * consistent read by default. If eventually consistent reads are not + * acceptable for your application, use ConsistentRead. Although this + * operation might take longer than a standard read, it always returns + * the last updated value. + *

+ * + * @param getItemRequest Container for the necessary parameters to + * execute the GetItem service method on AmazonDynamoDB. + * + * @return The response from the GetItem service method, as returned by + * AmazonDynamoDB. + * + * @throws DynamoDBProvisionedThroughputExceededException + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBGetItemResponse *)getItem:(DynamoDBGetItemRequest *)getItemRequest; + + +/** + *

+ * The BatchGetItem operation returns the attributes for multiple items + * from multiple tables using their primary keys. The maximum number of + * item attributes that can be retrieved for a single operation is 100. + * Also, the number of items retrieved is constrained by a 1 MB the size + * limit. If the response size limit is exceeded or a partial result is + * returned due to an internal processing failure, Amazon DynamoDB + * returns an UnprocessedKeys value so you can retry the operation + * starting with the next item to get. Amazon DynamoDB automatically + * adjusts the number of items returned per page to enforce this limit. + * For example, even if you ask to retrieve 100 items, but each + * individual item is 50 KB in size, the system returns 20 items and an + * appropriate UnprocessedKeys value so you can get the next page of + * results. If necessary, your application needs its own logic to + * assemble the pages of results into one set. + *

+ * + * @param batchGetItemRequest Container for the necessary parameters to + * execute the BatchGetItem service method on AmazonDynamoDB. + * + * @return The response from the BatchGetItem service method, as returned + * by AmazonDynamoDB. + * + * @throws DynamoDBProvisionedThroughputExceededException + * @throws DynamoDBInternalServerErrorException + * @throws DynamoDBResourceNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonDynamoDB indicating + * either a problem with the data in the request, or a server side issue. + */ +-(DynamoDBBatchGetItemResponse *)batchGetItem:(DynamoDBBatchGetItemRequest *)batchGetItemRequest; + + + +@end + diff --git a/src/include/DynamoDB/DynamoDBAttributeValue.h b/src/include/DynamoDB/DynamoDBAttributeValue.h new file mode 100644 index 00000000..ce48075d --- /dev/null +++ b/src/include/DynamoDB/DynamoDBAttributeValue.h @@ -0,0 +1,116 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + + + +/** + * Attribute Value + * + * \ingroup DynamoDB + */ + +@interface DynamoDBAttributeValue:NSObject + +{ + NSString *s; + NSString *n; + NSMutableArray *sS; + NSMutableArray *nS; +} + + + +/** + * The value of the S property for this object. + */ +@property (nonatomic, retain) NSString *s; + +/** + * The value of the N property for this object. + */ +@property (nonatomic, retain) NSString *n; + +/** + * The value of the SS property for this object. + */ +@property (nonatomic, retain) NSMutableArray *sS; + +/** + * The value of the NS property for this object. + */ +@property (nonatomic, retain) NSMutableArray *nS; + + +/** + * Default constructor for a new AttributeValue object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new AttributeValue object. + * Callers should use properties to initialize any additional object members. + * + * @param theS + */ +-(id)initWithS:(NSString *)theS; + +/** + * Constructs a new AttributeValue object. + * Callers should use properties to initialize any additional object members. + * + * @param theSS + */ +-(id)initWithSS:(NSMutableArray *)theSS; + +/** + * Constructs a new AttributeValue object. + * Callers should use properties to initialize any additional object members. + * + * @param theN + */ +-(id)initWithN:(NSString *)theN; + +/** + * Constructs a new AttributeValue object. + * Callers should use properties to initialize any additional object members. + * + * @param theNS + */ +-(id)initWithNS:(NSMutableArray *)theNS; + +/** + * Adds a single object to sS. + * This function will alloc and init sS if not already done. + */ +-(void)addSS:(NSString *)sSObject; + +/** + * Adds a single object to nS. + * This function will alloc and init nS if not already done. + */ +-(void)addNS:(NSString *)nSObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBAttributeValueUnmarshaller.h b/src/include/DynamoDB/DynamoDBAttributeValueUnmarshaller.h new file mode 100644 index 00000000..d5ce19f2 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBAttributeValueUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBAttributeValue.h" + + +/** + * Attribute Value Unmarshaller + */ +@interface DynamoDBAttributeValueUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBAttributeValue *response; +} + ++(DynamoDBAttributeValue *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBAttributeValueUpdate.h b/src/include/DynamoDB/DynamoDBAttributeValueUpdate.h new file mode 100644 index 00000000..fa1de6c0 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBAttributeValueUpdate.h @@ -0,0 +1,96 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" + + + +/** + * Attribute Value Update + * + * \ingroup DynamoDB + */ + +@interface DynamoDBAttributeValueUpdate:NSObject + +{ + DynamoDBAttributeValue *value; + NSString *action; +} + + + +/** + * AttributeValue can be String, Number, StringSet, NumberSet. Strings + * are Unicode with UTF8 binary encoding. The maximum size is limited by + * the size of the primary key (1024 bytes as a range part of a key or + * 2048 bytes as a single part hash key) or the item size (64 K). Numbers + * are positive or negative exact-value decimals and integers. A number + * can have up to 38 digits precision and can be between 10^-128 to + * 10^+126. An array of Strings. Strings are Unicode with UTF8 binary + * encoding. The maximum size is limited by the size of the primary key + * (1024 bytes as a range part of a key or 2048 bytes as a single part + * hash key) or the item size (64 K). An array of Numbers. Numbers are + * positive or negative exact-value decimals and integers. A number can + * have up to 38 digits precision and can be between 10^-128 to 10^+126. + */ +@property (nonatomic, retain) DynamoDBAttributeValue *value; + +/** + * The value of the Action property for this object. + *

+ * Constraints:
+ * Allowed Values: ADD, PUT, DELETE + */ +@property (nonatomic, retain) NSString *action; + + +/** + * Default constructor for a new AttributeValueUpdate object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new AttributeValueUpdate object. + * Callers should use properties to initialize any additional object members. + * + * @param theValue AttributeValue can be String, Number, StringSet, + * NumberSet. Strings are Unicode with UTF8 binary encoding. The maximum + * size is limited by the size of the primary key (1024 bytes as a range + * part of a key or 2048 bytes as a single part hash key) or the item + * size (64 K). Numbers are positive or negative exact-value decimals and + * integers. A number can have up to 38 digits precision and can be + * between 10^-128 to 10^+126. An array of Strings. Strings are Unicode + * with UTF8 binary encoding. The maximum size is limited by the size of + * the primary key (1024 bytes as a range part of a key or 2048 bytes as + * a single part hash key) or the item size (64 K). An array of Numbers. + * Numbers are positive or negative exact-value decimals and integers. A + * number can have up to 38 digits precision and can be between 10^-128 + * to 10^+126. + * @param theAction + */ +-(id)initWithValue:(DynamoDBAttributeValue *)theValue andAction:(NSString *)theAction; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBBatchGetItemRequest.h b/src/include/DynamoDB/DynamoDBBatchGetItemRequest.h new file mode 100644 index 00000000..dad59001 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBBatchGetItemRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeysAndAttributes.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Batch Get Item Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBBatchGetItemRequest:AmazonServiceRequestConfig + +{ + NSMutableDictionary *requestItems; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * A map of the table name and corresponding items to get by primary key. + * While requesting items, each table name can be invoked only once per + * operation. + *

+ * Constraints:
+ * Length: 1 - 100
+ */ +@property (nonatomic, retain) NSMutableDictionary *requestItems; + + +/** + * Set a value in the dictionary requestItems for the specified key. + * This function will alloc and init requestItems if not already done. + */ +-(void)setRequestItemsValue:(DynamoDBKeysAndAttributes *)theValue forKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBBatchGetItemRequestMarshaller.h b/src/include/DynamoDB/DynamoDBBatchGetItemRequestMarshaller.h new file mode 100644 index 00000000..3d6ef23a --- /dev/null +++ b/src/include/DynamoDB/DynamoDBBatchGetItemRequestMarshaller.h @@ -0,0 +1,34 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBBatchGetItemRequest.h" + + +/** + * Batch Get Item Request Marshaller + */ +@interface DynamoDBBatchGetItemRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBBatchGetItemRequest *)batchGetItemRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBBatchGetItemResponse.h b/src/include/DynamoDB/DynamoDBBatchGetItemResponse.h new file mode 100644 index 00000000..f12f07b3 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBBatchGetItemResponse.h @@ -0,0 +1,88 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBBatchResponse.h" +#import "DynamoDBKeysAndAttributes.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBProvisionedThroughputExceededException.h" +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Batch Get Item Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBBatchGetItemResponse:DynamoDBResponse + +{ + NSMutableDictionary *responses; + NSMutableDictionary *unprocessedKeys; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Table names and the respective item attributes from the tables. + */ +@property (nonatomic, retain) NSMutableDictionary *responses; + +/** + * Contains a map of tables and their respective keys that were not + * processed with the current response, possibly due to reaching a limit + * on the response size. The UnprocessedKeys value is in the same form as + * a RequestItems parameter (so the value can be provided directly to a + * subsequent BatchGetItem operation). For more information, see the + * above RequestItems parameter. + *

+ * Constraints:
+ * Length: 1 - 100
+ */ +@property (nonatomic, retain) NSMutableDictionary *unprocessedKeys; + +/** + * Returns a value from the responses dictionary for the specified key. + */ +-(DynamoDBBatchResponse *)responsesValueForKey:(NSString *)theKey; + +/** + * Returns a value from the unprocessedKeys dictionary for the specified key. + */ +-(DynamoDBKeysAndAttributes *)unprocessedKeysValueForKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBBatchGetItemResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBBatchGetItemResponseUnmarshaller.h new file mode 100644 index 00000000..4687cbeb --- /dev/null +++ b/src/include/DynamoDB/DynamoDBBatchGetItemResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBBatchGetItemResponse.h" + + +/** + * Batch Get Item Result Unmarshaller + */ +@interface DynamoDBBatchGetItemResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBBatchGetItemResponse *response; +} + ++(DynamoDBBatchGetItemResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBBatchResponse.h b/src/include/DynamoDB/DynamoDBBatchResponse.h new file mode 100644 index 00000000..34cf088f --- /dev/null +++ b/src/include/DynamoDB/DynamoDBBatchResponse.h @@ -0,0 +1,75 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + + + +/** + * Batch Response + * + * \ingroup DynamoDB + */ + +@interface DynamoDBBatchResponse:DynamoDBResponse + +{ + NSMutableArray *items; + NSNumber *consumedCapacityUnits; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the Items property for this object. + */ +@property (nonatomic, retain) NSMutableArray *items; + +/** + * The number of Capacity Units of the provisioned throughput of the + * table consumed during the operation. GetItem, BatchGetItem, Query, and + * Scan operations consume Read Capacity Units, while PutItem, + * UpdateItem, and DeleteItem operations consume Write Capacity Units. + */ +@property (nonatomic, retain) NSNumber *consumedCapacityUnits; + + + +/** + * Returns a value from the items array for the specified index + */ +-(NSDictionary *)itemsObjectAtIndex:(int)index; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBBatchResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBBatchResponseUnmarshaller.h new file mode 100644 index 00000000..5c660bb2 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBBatchResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBBatchResponse.h" + + +/** + * Batch Response Unmarshaller + */ +@interface DynamoDBBatchResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBBatchResponse *response; +} + ++(DynamoDBBatchResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBCondition.h b/src/include/DynamoDB/DynamoDBCondition.h new file mode 100644 index 00000000..f12e002a --- /dev/null +++ b/src/include/DynamoDB/DynamoDBCondition.h @@ -0,0 +1,79 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" + + + +/** + * Condition + * + * \ingroup DynamoDB + */ + +@interface DynamoDBCondition:NSObject + +{ + NSMutableArray *attributeValueList; + NSString *comparisonOperator; +} + + + +/** + * A list of attribute values to be used with a comparison operator for a + * scan or query operation. For comparisons that require more than one + * value, such as a BETWEEN comparison, the AttributeValueList contains + * two attribute values and the comparison operator. + */ +@property (nonatomic, retain) NSMutableArray *attributeValueList; + +/** + * Comparison Operator is an enumeration of several operations : EQ for + * Equal , NE for Not Equal, IN checks for Exact Matches, LE for less + * than or equal to, LT for less than, GE for greater than or equal to, + * GT for greater than, BETWEEN for between, NOT_NULL for exists, NULL + * for not exists, CONTAINS for substring or value in a set, NOT_CONTAINS + * for absence of a substring or absence of a value in a set, BEGINS_WITH + * for substring prefix. + *

+ * Constraints:
+ * Allowed Values: EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH + */ +@property (nonatomic, retain) NSString *comparisonOperator; + + +/** + * Default constructor for a new Condition object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Adds a single object to attributeValueList. + * This function will alloc and init attributeValueList if not already done. + */ +-(void)addAttributeValueList:(DynamoDBAttributeValue *)attributeValueListObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBConditionalCheckFailedException.h b/src/include/DynamoDB/DynamoDBConditionalCheckFailedException.h new file mode 100644 index 00000000..77acb5e1 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBConditionalCheckFailedException.h @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceException.h" + + + + +/** + *

+ * This exception is thrown when an expected value does not match what + * was found in the system + *

+ * + * \ingroup DynamoDB + */ +@interface DynamoDBConditionalCheckFailedException:AmazonServiceException +{ +} + + + + + + + +-(id)initWithMessage:(NSString *)message; + + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBCreateTableRequest.h b/src/include/DynamoDB/DynamoDBCreateTableRequest.h new file mode 100644 index 00000000..1f38fd49 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBCreateTableRequest.h @@ -0,0 +1,132 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeySchema.h" +#import "DynamoDBProvisionedThroughput.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Create Table Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBCreateTableRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; + DynamoDBKeySchema *keySchema; + DynamoDBProvisionedThroughput *provisionedThroughput; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + +/** + * KeySchema: The KeySchema identifies the primary key as a one attribute + * primary key (hash) or a composite two attribute (hash-and-range) + * primary key. Single attribute primary keys have one index value: a + * HashKeyElement. A composite hash-and-range primary key contains two + * attribute values: a HashKeyElement and a RangeKeyElement. + * HashKeyElement: A hash key element can be a string or a number. Single + * attribute primary keys have one index value: a HashKeyElement. + * RangeKeyElement: A range key element can be a string or a number, and + * is only used for hash-and-range primary keys. Composite hash-and-range + * primary keys contain two attribute values for the index: a + * HashKeyElement and a RangeKeyElement. A RangeKeyElement enables + * greater precision for a primary key so data queries can refine results + * based on the two part hash-and-range index. + */ +@property (nonatomic, retain) DynamoDBKeySchema *keySchema; + +/** + * Desired throughput for the specified table, consisting of values for + * ReadCapacityUnits and WriteCapacityUnits. + */ +@property (nonatomic, retain) DynamoDBProvisionedThroughput *provisionedThroughput; + + +/** + * Default constructor for a new CreateTableRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new CreateTableRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + * @param theKeySchema KeySchema: The KeySchema identifies the primary + * key as a one attribute primary key (hash) or a composite two attribute + * (hash-and-range) primary key. Single attribute primary keys have one + * index value: a HashKeyElement. A composite hash-and-range primary key + * contains two attribute values: a HashKeyElement and a RangeKeyElement. + * HashKeyElement: A hash key element can be a string or a number. Single + * attribute primary keys have one index value: a HashKeyElement. + * RangeKeyElement: A range key element can be a string or a number, and + * is only used for hash-and-range primary keys. Composite hash-and-range + * primary keys contain two attribute values for the index: a + * HashKeyElement and a RangeKeyElement. A RangeKeyElement enables + * greater precision for a primary key so data queries can refine results + * based on the two part hash-and-range index. + */ +-(id)initWithTableName:(NSString *)theTableName andKeySchema:(DynamoDBKeySchema *)theKeySchema; + +/** + * Constructs a new CreateTableRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + * @param theKeySchema KeySchema: The KeySchema identifies the primary + * key as a one attribute primary key (hash) or a composite two attribute + * (hash-and-range) primary key. Single attribute primary keys have one + * index value: a HashKeyElement. A composite hash-and-range primary key + * contains two attribute values: a HashKeyElement and a RangeKeyElement. + * HashKeyElement: A hash key element can be a string or a number. Single + * attribute primary keys have one index value: a HashKeyElement. + * RangeKeyElement: A range key element can be a string or a number, and + * is only used for hash-and-range primary keys. Composite hash-and-range + * primary keys contain two attribute values for the index: a + * HashKeyElement and a RangeKeyElement. A RangeKeyElement enables + * greater precision for a primary key so data queries can refine results + * based on the two part hash-and-range index. + * @param theProvisionedThroughput Desired throughput for the specified + * table, consisting of values for ReadCapacityUnits and + * WriteCapacityUnits. + */ +-(id)initWithTableName:(NSString *)theTableName andKeySchema:(DynamoDBKeySchema *)theKeySchema andProvisionedThroughput:(DynamoDBProvisionedThroughput *)theProvisionedThroughput; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBCreateTableRequestMarshaller.h b/src/include/DynamoDB/DynamoDBCreateTableRequestMarshaller.h new file mode 100644 index 00000000..79ab2ab7 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBCreateTableRequestMarshaller.h @@ -0,0 +1,40 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBCreateTableRequest.h" +#import "DynamoDBKeySchema.h" +#import "DynamoDBKeySchemaElement.h" +#import "DynamoDBKeySchemaElement.h" +#import "DynamoDBProvisionedThroughput.h" +#import "DynamoDBKeySchemaElement.h" +#import "DynamoDBKeySchemaElement.h" + + +/** + * Create Table Request Marshaller + */ +@interface DynamoDBCreateTableRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBCreateTableRequest *)createTableRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBCreateTableResponse.h b/src/include/DynamoDB/DynamoDBCreateTableResponse.h new file mode 100644 index 00000000..47b0cca1 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBCreateTableResponse.h @@ -0,0 +1,63 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBTableDescription.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBResourceInUseException.h" +#import "DynamoDBLimitExceededException.h" +#import "DynamoDBInternalServerErrorException.h" + + +/** + * Create Table Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBCreateTableResponse:DynamoDBResponse + +{ + DynamoDBTableDescription *tableDescription; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the TableDescription property for this object. + */ +@property (nonatomic, retain) DynamoDBTableDescription *tableDescription; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBCreateTableResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBCreateTableResponseUnmarshaller.h new file mode 100644 index 00000000..c454795b --- /dev/null +++ b/src/include/DynamoDB/DynamoDBCreateTableResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBCreateTableResponse.h" + + +/** + * Create Table Result Unmarshaller + */ +@interface DynamoDBCreateTableResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBCreateTableResponse *response; +} + ++(DynamoDBCreateTableResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBDeleteItemRequest.h b/src/include/DynamoDB/DynamoDBDeleteItemRequest.h new file mode 100644 index 00000000..97aca3c0 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDeleteItemRequest.h @@ -0,0 +1,110 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKey.h" +#import "DynamoDBExpectedAttributeValue.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Delete Item Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBDeleteItemRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; + DynamoDBKey *key; + NSMutableDictionary *expected; + NSString *returnValues; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + +/** + * The primary key that uniquely identifies each item in a table. A + * primary key can be a one attribute (hash) primary key or a two + * attribute (hash-and-range) primary key. + */ +@property (nonatomic, retain) DynamoDBKey *key; + +/** + * Designates an attribute for a conditional modification. The Expected + * parameter allows you to provide an attribute name, and whether or not + * Amazon DynamoDB should check to see if the attribute has a particular + * value before modifying it. + */ +@property (nonatomic, retain) NSMutableDictionary *expected; + +/** + * Use this parameter if you want to get the attribute name-value pairs + * before they were modified. Possible parameter values are NONE + * (default) or ALL_OLD. If ALL_OLD is specified, the content of the old + * item is returned. If this parameter is not provided or is NONE, + * nothing is returned. + *

+ * Constraints:
+ * Allowed Values: NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW + */ +@property (nonatomic, retain) NSString *returnValues; + + +/** + * Default constructor for a new DeleteItemRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new DeleteItemRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + * @param theKey The primary key that uniquely identifies each item in a + * table. A primary key can be a one attribute (hash) primary key or a + * two attribute (hash-and-range) primary key. + */ +-(id)initWithTableName:(NSString *)theTableName andKey:(DynamoDBKey *)theKey; + + +/** + * Set a value in the dictionary expected for the specified key. + * This function will alloc and init expected if not already done. + */ +-(void)setExpectedValue:(DynamoDBExpectedAttributeValue *)theValue forKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBDeleteItemRequestMarshaller.h b/src/include/DynamoDB/DynamoDBDeleteItemRequestMarshaller.h new file mode 100644 index 00000000..e13317ef --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDeleteItemRequestMarshaller.h @@ -0,0 +1,37 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBDeleteItemRequest.h" +#import "DynamoDBKey.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" + + +/** + * Delete Item Request Marshaller + */ +@interface DynamoDBDeleteItemRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBDeleteItemRequest *)deleteItemRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBDeleteItemResponse.h b/src/include/DynamoDB/DynamoDBDeleteItemResponse.h new file mode 100644 index 00000000..06c74671 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDeleteItemResponse.h @@ -0,0 +1,81 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBProvisionedThroughputExceededException.h" +#import "DynamoDBConditionalCheckFailedException.h" +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Delete Item Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBDeleteItemResponse:DynamoDBResponse + +{ + NSMutableDictionary *attributes; + NSNumber *consumedCapacityUnits; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * If the ReturnValues parameter is provided as ALL_OLD in the request, + * Amazon DynamoDB returns an array of attribute name-value pairs + * (essentially, the deleted item). Otherwise, the response contains an + * empty set. + */ +@property (nonatomic, retain) NSMutableDictionary *attributes; + +/** + * The number of Capacity Units of the provisioned throughput of the + * table consumed during the operation. GetItem, BatchGetItem, Query, and + * Scan operations consume Read Capacity Units, while PutItem, + * UpdateItem, and DeleteItem operations consume Write Capacity Units. + */ +@property (nonatomic, retain) NSNumber *consumedCapacityUnits; + +/** + * Returns a value from the attributes dictionary for the specified key. + */ +-(DynamoDBAttributeValue *)attributesValueForKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBDeleteItemResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBDeleteItemResponseUnmarshaller.h new file mode 100644 index 00000000..ba1366fd --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDeleteItemResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBDeleteItemResponse.h" + + +/** + * Delete Item Result Unmarshaller + */ +@interface DynamoDBDeleteItemResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBDeleteItemResponse *response; +} + ++(DynamoDBDeleteItemResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBDeleteTableRequest.h b/src/include/DynamoDB/DynamoDBDeleteTableRequest.h new file mode 100644 index 00000000..71946506 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDeleteTableRequest.h @@ -0,0 +1,68 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Delete Table Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBDeleteTableRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + + +/** + * Default constructor for a new DeleteTableRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new DeleteTableRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + */ +-(id)initWithTableName:(NSString *)theTableName; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBDeleteTableRequestMarshaller.h b/src/include/DynamoDB/DynamoDBDeleteTableRequestMarshaller.h new file mode 100644 index 00000000..8d036a3d --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDeleteTableRequestMarshaller.h @@ -0,0 +1,34 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBDeleteTableRequest.h" + + +/** + * Delete Table Request Marshaller + */ +@interface DynamoDBDeleteTableRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBDeleteTableRequest *)deleteTableRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBDeleteTableResponse.h b/src/include/DynamoDB/DynamoDBDeleteTableResponse.h new file mode 100644 index 00000000..d6f31462 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDeleteTableResponse.h @@ -0,0 +1,64 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBTableDescription.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBResourceInUseException.h" +#import "DynamoDBLimitExceededException.h" +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Delete Table Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBDeleteTableResponse:DynamoDBResponse + +{ + DynamoDBTableDescription *tableDescription; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the TableDescription property for this object. + */ +@property (nonatomic, retain) DynamoDBTableDescription *tableDescription; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBDeleteTableResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBDeleteTableResponseUnmarshaller.h new file mode 100644 index 00000000..56eb7eb1 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDeleteTableResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBDeleteTableResponse.h" + + +/** + * Delete Table Result Unmarshaller + */ +@interface DynamoDBDeleteTableResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBDeleteTableResponse *response; +} + ++(DynamoDBDeleteTableResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBDescribeTableRequest.h b/src/include/DynamoDB/DynamoDBDescribeTableRequest.h new file mode 100644 index 00000000..f60f977a --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDescribeTableRequest.h @@ -0,0 +1,68 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Describe Table Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBDescribeTableRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + + +/** + * Default constructor for a new DescribeTableRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new DescribeTableRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + */ +-(id)initWithTableName:(NSString *)theTableName; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBDescribeTableRequestMarshaller.h b/src/include/DynamoDB/DynamoDBDescribeTableRequestMarshaller.h new file mode 100644 index 00000000..2ead9982 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDescribeTableRequestMarshaller.h @@ -0,0 +1,34 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBDescribeTableRequest.h" + + +/** + * Describe Table Request Marshaller + */ +@interface DynamoDBDescribeTableRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBDescribeTableRequest *)describeTableRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBDescribeTableResponse.h b/src/include/DynamoDB/DynamoDBDescribeTableResponse.h new file mode 100644 index 00000000..f7cd5ab6 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDescribeTableResponse.h @@ -0,0 +1,62 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBTableDescription.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Describe Table Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBDescribeTableResponse:DynamoDBResponse + +{ + DynamoDBTableDescription *table; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the Table property for this object. + */ +@property (nonatomic, retain) DynamoDBTableDescription *table; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBDescribeTableResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBDescribeTableResponseUnmarshaller.h new file mode 100644 index 00000000..17d115f5 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBDescribeTableResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBDescribeTableResponse.h" + + +/** + * Describe Table Result Unmarshaller + */ +@interface DynamoDBDescribeTableResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBDescribeTableResponse *response; +} + ++(DynamoDBDescribeTableResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBExceptionUnmarshaller.h b/src/include/DynamoDB/DynamoDBExceptionUnmarshaller.h new file mode 100644 index 00000000..28c18c8e --- /dev/null +++ b/src/include/DynamoDB/DynamoDBExceptionUnmarshaller.h @@ -0,0 +1,24 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "../AmazonServiceException.h" + +@interface DynamoDBExceptionUnmarshaller:NSObject { +} + ++(AmazonServiceException *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBExpectedAttributeValue.h b/src/include/DynamoDB/DynamoDBExpectedAttributeValue.h new file mode 100644 index 00000000..72c67c3b --- /dev/null +++ b/src/include/DynamoDB/DynamoDBExpectedAttributeValue.h @@ -0,0 +1,103 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" + + + +/** + * Expected Attribute Value + * + * \ingroup DynamoDB + */ + +@interface DynamoDBExpectedAttributeValue:NSObject + +{ + DynamoDBAttributeValue *value; + bool exists; + bool existsIsSet; +} + + + +/** + * AttributeValue can be String, Number, StringSet, NumberSet. Strings + * are Unicode with UTF8 binary encoding. The maximum size is limited by + * the size of the primary key (1024 bytes as a range part of a key or + * 2048 bytes as a single part hash key) or the item size (64 K). Numbers + * are positive or negative exact-value decimals and integers. A number + * can have up to 38 digits precision and can be between 10^-128 to + * 10^+126. An array of Strings. Strings are Unicode with UTF8 binary + * encoding. The maximum size is limited by the size of the primary key + * (1024 bytes as a range part of a key or 2048 bytes as a single part + * hash key) or the item size (64 K). An array of Numbers. Numbers are + * positive or negative exact-value decimals and integers. A number can + * have up to 38 digits precision and can be between 10^-128 to 10^+126. + */ +@property (nonatomic, retain) DynamoDBAttributeValue *value; + +/** + * The value of the Exists property for this object. + */ +@property (nonatomic) bool exists; + +@property (nonatomic, readonly) bool existsIsSet; + + +/** + * Default constructor for a new ExpectedAttributeValue object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new ExpectedAttributeValue object. + * Callers should use properties to initialize any additional object members. + * + * @param theValue AttributeValue can be String, Number, StringSet, + * NumberSet. Strings are Unicode with UTF8 binary encoding. The maximum + * size is limited by the size of the primary key (1024 bytes as a range + * part of a key or 2048 bytes as a single part hash key) or the item + * size (64 K). Numbers are positive or negative exact-value decimals and + * integers. A number can have up to 38 digits precision and can be + * between 10^-128 to 10^+126. An array of Strings. Strings are Unicode + * with UTF8 binary encoding. The maximum size is limited by the size of + * the primary key (1024 bytes as a range part of a key or 2048 bytes as + * a single part hash key) or the item size (64 K). An array of Numbers. + * Numbers are positive or negative exact-value decimals and integers. A + * number can have up to 38 digits precision and can be between 10^-128 + * to 10^+126. + */ +-(id)initWithValue:(DynamoDBAttributeValue *)theValue; + +/** + * Constructs a new ExpectedAttributeValue object. + * Callers should use properties to initialize any additional object members. + * + * @param theExists + */ +-(id)initWithExists:(bool)theExists; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBGetItemRequest.h b/src/include/DynamoDB/DynamoDBGetItemRequest.h new file mode 100644 index 00000000..10aee7f6 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBGetItemRequest.h @@ -0,0 +1,107 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKey.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Get Item Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBGetItemRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; + DynamoDBKey *key; + NSMutableArray *attributesToGet; + bool consistentRead; + bool consistentReadIsSet; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + +/** + * The primary key that uniquely identifies each item in a table. A + * primary key can be a one attribute (hash) primary key or a two + * attribute (hash-and-range) primary key. + */ +@property (nonatomic, retain) DynamoDBKey *key; + +/** + * Array of Attribute names. If attribute names are not specified then + * all attributes will be returned. If some attributes are not found, + * they will not appear in the result. + *

+ * Constraints:
+ * Length: 1 -
+ */ +@property (nonatomic, retain) NSMutableArray *attributesToGet; + +/** + * If set to true, then a consistent read is issued, otherwise eventually + * consistent is used. + */ +@property (nonatomic) bool consistentRead; + +@property (nonatomic, readonly) bool consistentReadIsSet; + + +/** + * Default constructor for a new GetItemRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new GetItemRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + * @param theKey The primary key that uniquely identifies each item in a + * table. A primary key can be a one attribute (hash) primary key or a + * two attribute (hash-and-range) primary key. + */ +-(id)initWithTableName:(NSString *)theTableName andKey:(DynamoDBKey *)theKey; + +/** + * Adds a single object to attributesToGet. + * This function will alloc and init attributesToGet if not already done. + */ +-(void)addAttributesToGet:(NSString *)attributesToGetObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBGetItemRequestMarshaller.h b/src/include/DynamoDB/DynamoDBGetItemRequestMarshaller.h new file mode 100644 index 00000000..4103ae7f --- /dev/null +++ b/src/include/DynamoDB/DynamoDBGetItemRequestMarshaller.h @@ -0,0 +1,37 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBGetItemRequest.h" +#import "DynamoDBKey.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" + + +/** + * Get Item Request Marshaller + */ +@interface DynamoDBGetItemRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBGetItemRequest *)getItemRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBGetItemResponse.h b/src/include/DynamoDB/DynamoDBGetItemResponse.h new file mode 100644 index 00000000..6f32ee79 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBGetItemResponse.h @@ -0,0 +1,77 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBProvisionedThroughputExceededException.h" +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Get Item Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBGetItemResponse:DynamoDBResponse + +{ + NSMutableDictionary *item; + NSNumber *consumedCapacityUnits; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Contains the requested attributes. + */ +@property (nonatomic, retain) NSMutableDictionary *item; + +/** + * The number of Capacity Units of the provisioned throughput of the + * table consumed during the operation. GetItem, BatchGetItem, Query, and + * Scan operations consume Read Capacity Units, while PutItem, + * UpdateItem, and DeleteItem operations consume Write Capacity Units. + */ +@property (nonatomic, retain) NSNumber *consumedCapacityUnits; + +/** + * Returns a value from the item dictionary for the specified key. + */ +-(DynamoDBAttributeValue *)itemValueForKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBGetItemResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBGetItemResponseUnmarshaller.h new file mode 100644 index 00000000..aaecbfda --- /dev/null +++ b/src/include/DynamoDB/DynamoDBGetItemResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBGetItemResponse.h" + + +/** + * Get Item Result Unmarshaller + */ +@interface DynamoDBGetItemResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBGetItemResponse *response; +} + ++(DynamoDBGetItemResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBInternalServerErrorException.h b/src/include/DynamoDB/DynamoDBInternalServerErrorException.h new file mode 100644 index 00000000..5b132536 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBInternalServerErrorException.h @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceException.h" + + + + +/** + *

+ * This exception is thrown when the service has a problem when trying + * to process the request + *

+ * + * \ingroup DynamoDB + */ +@interface DynamoDBInternalServerErrorException:AmazonServiceException +{ +} + + + + + + + +-(id)initWithMessage:(NSString *)message; + + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBKey.h b/src/include/DynamoDB/DynamoDBKey.h new file mode 100644 index 00000000..ac6f2844 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBKey.h @@ -0,0 +1,137 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" + + + +/** + * Key + * + * \ingroup DynamoDB + */ + +@interface DynamoDBKey:NSObject + +{ + DynamoDBAttributeValue *hashKeyElement; + DynamoDBAttributeValue *rangeKeyElement; +} + + + +/** + * AttributeValue can be String, Number, StringSet, NumberSet. Strings + * are Unicode with UTF8 binary encoding. The maximum size is limited by + * the size of the primary key (1024 bytes as a range part of a key or + * 2048 bytes as a single part hash key) or the item size (64 K). Numbers + * are positive or negative exact-value decimals and integers. A number + * can have up to 38 digits precision and can be between 10^-128 to + * 10^+126. An array of Strings. Strings are Unicode with UTF8 binary + * encoding. The maximum size is limited by the size of the primary key + * (1024 bytes as a range part of a key or 2048 bytes as a single part + * hash key) or the item size (64 K). An array of Numbers. Numbers are + * positive or negative exact-value decimals and integers. A number can + * have up to 38 digits precision and can be between 10^-128 to 10^+126. + */ +@property (nonatomic, retain) DynamoDBAttributeValue *hashKeyElement; + +/** + * AttributeValue can be String, Number, StringSet, NumberSet. Strings + * are Unicode with UTF8 binary encoding. The maximum size is limited by + * the size of the primary key (1024 bytes as a range part of a key or + * 2048 bytes as a single part hash key) or the item size (64 K). Numbers + * are positive or negative exact-value decimals and integers. A number + * can have up to 38 digits precision and can be between 10^-128 to + * 10^+126. An array of Strings. Strings are Unicode with UTF8 binary + * encoding. The maximum size is limited by the size of the primary key + * (1024 bytes as a range part of a key or 2048 bytes as a single part + * hash key) or the item size (64 K). An array of Numbers. Numbers are + * positive or negative exact-value decimals and integers. A number can + * have up to 38 digits precision and can be between 10^-128 to 10^+126. + */ +@property (nonatomic, retain) DynamoDBAttributeValue *rangeKeyElement; + + +/** + * Default constructor for a new Key object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new Key object. + * Callers should use properties to initialize any additional object members. + * + * @param theHashKeyElement AttributeValue can be String, Number, + * StringSet, NumberSet. Strings are Unicode with UTF8 binary encoding. + * The maximum size is limited by the size of the primary key (1024 bytes + * as a range part of a key or 2048 bytes as a single part hash key) or + * the item size (64 K). Numbers are positive or negative exact-value + * decimals and integers. A number can have up to 38 digits precision and + * can be between 10^-128 to 10^+126. An array of Strings. Strings are + * Unicode with UTF8 binary encoding. The maximum size is limited by the + * size of the primary key (1024 bytes as a range part of a key or 2048 + * bytes as a single part hash key) or the item size (64 K). An array of + * Numbers. Numbers are positive or negative exact-value decimals and + * integers. A number can have up to 38 digits precision and can be + * between 10^-128 to 10^+126. + */ +-(id)initWithHashKeyElement:(DynamoDBAttributeValue *)theHashKeyElement; + +/** + * Constructs a new Key object. + * Callers should use properties to initialize any additional object members. + * + * @param theHashKeyElement AttributeValue can be String, Number, + * StringSet, NumberSet. Strings are Unicode with UTF8 binary encoding. + * The maximum size is limited by the size of the primary key (1024 bytes + * as a range part of a key or 2048 bytes as a single part hash key) or + * the item size (64 K). Numbers are positive or negative exact-value + * decimals and integers. A number can have up to 38 digits precision and + * can be between 10^-128 to 10^+126. An array of Strings. Strings are + * Unicode with UTF8 binary encoding. The maximum size is limited by the + * size of the primary key (1024 bytes as a range part of a key or 2048 + * bytes as a single part hash key) or the item size (64 K). An array of + * Numbers. Numbers are positive or negative exact-value decimals and + * integers. A number can have up to 38 digits precision and can be + * between 10^-128 to 10^+126. + * @param theRangeKeyElement AttributeValue can be String, Number, + * StringSet, NumberSet. Strings are Unicode with UTF8 binary encoding. + * The maximum size is limited by the size of the primary key (1024 bytes + * as a range part of a key or 2048 bytes as a single part hash key) or + * the item size (64 K). Numbers are positive or negative exact-value + * decimals and integers. A number can have up to 38 digits precision and + * can be between 10^-128 to 10^+126. An array of Strings. Strings are + * Unicode with UTF8 binary encoding. The maximum size is limited by the + * size of the primary key (1024 bytes as a range part of a key or 2048 + * bytes as a single part hash key) or the item size (64 K). An array of + * Numbers. Numbers are positive or negative exact-value decimals and + * integers. A number can have up to 38 digits precision and can be + * between 10^-128 to 10^+126. + */ +-(id)initWithHashKeyElement:(DynamoDBAttributeValue *)theHashKeyElement andRangeKeyElement:(DynamoDBAttributeValue *)theRangeKeyElement; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBKeySchema.h b/src/include/DynamoDB/DynamoDBKeySchema.h new file mode 100644 index 00000000..0018ff00 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBKeySchema.h @@ -0,0 +1,70 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeySchemaElement.h" +#import "DynamoDBKeySchemaElement.h" + + + +/** + * Key Schema + * + * \ingroup DynamoDB + */ + +@interface DynamoDBKeySchema:NSObject + +{ + DynamoDBKeySchemaElement *hashKeyElement; + DynamoDBKeySchemaElement *rangeKeyElement; +} + + + +/** + * The value of the HashKeyElement property for this object. + */ +@property (nonatomic, retain) DynamoDBKeySchemaElement *hashKeyElement; + +/** + * The value of the RangeKeyElement property for this object. + */ +@property (nonatomic, retain) DynamoDBKeySchemaElement *rangeKeyElement; + + +/** + * Default constructor for a new KeySchema object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new KeySchema object. + * Callers should use properties to initialize any additional object members. + * + * @param theHashKeyElement + */ +-(id)initWithHashKeyElement:(DynamoDBKeySchemaElement *)theHashKeyElement; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBKeySchemaElement.h b/src/include/DynamoDB/DynamoDBKeySchemaElement.h new file mode 100644 index 00000000..6208e39e --- /dev/null +++ b/src/include/DynamoDB/DynamoDBKeySchemaElement.h @@ -0,0 +1,75 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + + + +/** + * Key Schema Element + * + * \ingroup DynamoDB + */ + +@interface DynamoDBKeySchemaElement:NSObject + +{ + NSString *attributeName; + NSString *attributeType; +} + + + +/** + * The value of the AttributeName property for this object. + *

+ * Constraints:
+ * Length: 1 - 255
+ */ +@property (nonatomic, retain) NSString *attributeName; + +/** + * The value of the AttributeType property for this object. + *

+ * Constraints:
+ * Allowed Values: S, N + */ +@property (nonatomic, retain) NSString *attributeType; + + +/** + * Default constructor for a new KeySchemaElement object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new KeySchemaElement object. + * Callers should use properties to initialize any additional object members. + * + * @param theAttributeName + * @param theAttributeType + */ +-(id)initWithAttributeName:(NSString *)theAttributeName andAttributeType:(NSString *)theAttributeType; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBKeySchemaElementUnmarshaller.h b/src/include/DynamoDB/DynamoDBKeySchemaElementUnmarshaller.h new file mode 100644 index 00000000..f026cec3 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBKeySchemaElementUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBKeySchemaElement.h" + + +/** + * Key Schema Element Unmarshaller + */ +@interface DynamoDBKeySchemaElementUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBKeySchemaElement *response; +} + ++(DynamoDBKeySchemaElement *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBKeySchemaUnmarshaller.h b/src/include/DynamoDB/DynamoDBKeySchemaUnmarshaller.h new file mode 100644 index 00000000..1be54073 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBKeySchemaUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBKeySchema.h" + + +/** + * Key Schema Unmarshaller + */ +@interface DynamoDBKeySchemaUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBKeySchema *response; +} + ++(DynamoDBKeySchema *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBKeyUnmarshaller.h b/src/include/DynamoDB/DynamoDBKeyUnmarshaller.h new file mode 100644 index 00000000..ccb8037e --- /dev/null +++ b/src/include/DynamoDB/DynamoDBKeyUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBKey.h" + + +/** + * Key Unmarshaller + */ +@interface DynamoDBKeyUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBKey *response; +} + ++(DynamoDBKey *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBKeysAndAttributes.h b/src/include/DynamoDB/DynamoDBKeysAndAttributes.h new file mode 100644 index 00000000..25981f1f --- /dev/null +++ b/src/include/DynamoDB/DynamoDBKeysAndAttributes.h @@ -0,0 +1,81 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKey.h" + + + +/** + * Keys And Attributes + * + * \ingroup DynamoDB + */ + +@interface DynamoDBKeysAndAttributes:NSObject + +{ + NSMutableArray *keys; + NSMutableArray *attributesToGet; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the Keys property for this object. + *

+ * Constraints:
+ * Length: 1 - 100
+ */ +@property (nonatomic, retain) NSMutableArray *keys; + +/** + * Array of Attribute names. If attribute names are not specified then + * all attributes will be returned. If some attributes are not found, + * they will not appear in the result. + *

+ * Constraints:
+ * Length: 1 -
+ */ +@property (nonatomic, retain) NSMutableArray *attributesToGet; + +/** + * Adds a single object to keys. + * This function will alloc and init keys if not already done. + */ +-(void)addKey:(DynamoDBKey *)keyObject; + +/** + * Adds a single object to attributesToGet. + * This function will alloc and init attributesToGet if not already done. + */ +-(void)addAttributesToGet:(NSString *)attributesToGetObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBKeysAndAttributesUnmarshaller.h b/src/include/DynamoDB/DynamoDBKeysAndAttributesUnmarshaller.h new file mode 100644 index 00000000..f64c6cc7 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBKeysAndAttributesUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBKeysAndAttributes.h" + + +/** + * Keys And Attributes Unmarshaller + */ +@interface DynamoDBKeysAndAttributesUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBKeysAndAttributes *response; +} + ++(DynamoDBKeysAndAttributes *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBLimitExceededException.h b/src/include/DynamoDB/DynamoDBLimitExceededException.h new file mode 100644 index 00000000..97097a34 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBLimitExceededException.h @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceException.h" + + + + +/** + *

+ * This exception is thrown when the subscriber exceeded the limits on + * the number of objects or operations + *

+ * + * \ingroup DynamoDB + */ +@interface DynamoDBLimitExceededException:AmazonServiceException +{ +} + + + + + + + +-(id)initWithMessage:(NSString *)message; + + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBListTablesRequest.h b/src/include/DynamoDB/DynamoDBListTablesRequest.h new file mode 100644 index 00000000..0361c77a --- /dev/null +++ b/src/include/DynamoDB/DynamoDBListTablesRequest.h @@ -0,0 +1,71 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * List Tables Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBListTablesRequest:AmazonServiceRequestConfig + +{ + NSString *exclusiveStartTableName; + NSNumber *limit; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The name of the table that starts the list. If you already ran a + * ListTables operation and recieved a LastEvaluatedTableName value in + * the response, use that value here to continue the list. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *exclusiveStartTableName; + +/** + * A number of maximum table names to return. + *

+ * Constraints:
+ * Range: 1 - 100
+ */ +@property (nonatomic, retain) NSNumber *limit; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBListTablesRequestMarshaller.h b/src/include/DynamoDB/DynamoDBListTablesRequestMarshaller.h new file mode 100644 index 00000000..57540cd6 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBListTablesRequestMarshaller.h @@ -0,0 +1,34 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBListTablesRequest.h" + + +/** + * List Tables Request Marshaller + */ +@interface DynamoDBListTablesRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBListTablesRequest *)listTablesRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBListTablesResponse.h b/src/include/DynamoDB/DynamoDBListTablesResponse.h new file mode 100644 index 00000000..5fba107e --- /dev/null +++ b/src/include/DynamoDB/DynamoDBListTablesResponse.h @@ -0,0 +1,80 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBInternalServerErrorException.h" + + +/** + * List Tables Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBListTablesResponse:DynamoDBResponse + +{ + NSMutableArray *tableNames; + NSString *lastEvaluatedTableName; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the TableNames property for this object. + */ +@property (nonatomic, retain) NSMutableArray *tableNames; + +/** + * The name of the last table in the current list. Use this value as the + * ExclusiveStartTableName in a new request to continue the list until + * all the table names are returned. If this value is null, all table + * names have been returned. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *lastEvaluatedTableName; + + + +/** + * Returns a value from the tableNames array for the specified index + */ +-(NSString *)tableNamesObjectAtIndex:(int)index; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBListTablesResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBListTablesResponseUnmarshaller.h new file mode 100644 index 00000000..7218b74a --- /dev/null +++ b/src/include/DynamoDB/DynamoDBListTablesResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBListTablesResponse.h" + + +/** + * List Tables Result Unmarshaller + */ +@interface DynamoDBListTablesResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBListTablesResponse *response; +} + ++(DynamoDBListTablesResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBProvisionedThroughput.h b/src/include/DynamoDB/DynamoDBProvisionedThroughput.h new file mode 100644 index 00000000..4698b5b2 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBProvisionedThroughput.h @@ -0,0 +1,66 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + + + +/** + * Provisioned Throughput + * + * \ingroup DynamoDB + */ + +@interface DynamoDBProvisionedThroughput:NSObject + +{ + NSNumber *readCapacityUnits; + NSNumber *writeCapacityUnits; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the ReadCapacityUnits property for this object. + *

+ * Constraints:
+ * Range: 1 -
+ */ +@property (nonatomic, retain) NSNumber *readCapacityUnits; + +/** + * The value of the WriteCapacityUnits property for this object. + *

+ * Constraints:
+ * Range: 1 -
+ */ +@property (nonatomic, retain) NSNumber *writeCapacityUnits; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBProvisionedThroughputDescription.h b/src/include/DynamoDB/DynamoDBProvisionedThroughputDescription.h new file mode 100644 index 00000000..13c5c60b --- /dev/null +++ b/src/include/DynamoDB/DynamoDBProvisionedThroughputDescription.h @@ -0,0 +1,78 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + + + +/** + * Provisioned Throughput Description + * + * \ingroup DynamoDB + */ + +@interface DynamoDBProvisionedThroughputDescription:NSObject + +{ + NSDate *lastIncreaseDateTime; + NSDate *lastDecreaseDateTime; + NSNumber *readCapacityUnits; + NSNumber *writeCapacityUnits; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the LastIncreaseDateTime property for this object. + */ +@property (nonatomic, retain) NSDate *lastIncreaseDateTime; + +/** + * The value of the LastDecreaseDateTime property for this object. + */ +@property (nonatomic, retain) NSDate *lastDecreaseDateTime; + +/** + * The value of the ReadCapacityUnits property for this object. + *

+ * Constraints:
+ * Range: 1 -
+ */ +@property (nonatomic, retain) NSNumber *readCapacityUnits; + +/** + * The value of the WriteCapacityUnits property for this object. + *

+ * Constraints:
+ * Range: 1 -
+ */ +@property (nonatomic, retain) NSNumber *writeCapacityUnits; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBProvisionedThroughputDescriptionUnmarshaller.h b/src/include/DynamoDB/DynamoDBProvisionedThroughputDescriptionUnmarshaller.h new file mode 100644 index 00000000..afbbf80f --- /dev/null +++ b/src/include/DynamoDB/DynamoDBProvisionedThroughputDescriptionUnmarshaller.h @@ -0,0 +1,31 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBProvisionedThroughputDescription.h" +#import "../AmazonSDKUtil.h" + + +/** + * Provisioned Throughput Description Unmarshaller + */ +@interface DynamoDBProvisionedThroughputDescriptionUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBProvisionedThroughputDescription *response; +} + ++(DynamoDBProvisionedThroughputDescription *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBProvisionedThroughputExceededException.h b/src/include/DynamoDB/DynamoDBProvisionedThroughputExceededException.h new file mode 100644 index 00000000..b439529d --- /dev/null +++ b/src/include/DynamoDB/DynamoDBProvisionedThroughputExceededException.h @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceException.h" + + + + +/** + *

+ * This exception is thrown when the level of provisioned throughput + * defined for the table is exceeded + *

+ * + * \ingroup DynamoDB + */ +@interface DynamoDBProvisionedThroughputExceededException:AmazonServiceException +{ +} + + + + + + + +-(id)initWithMessage:(NSString *)message; + + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBPutItemRequest.h b/src/include/DynamoDB/DynamoDBPutItemRequest.h new file mode 100644 index 00000000..4154f8b3 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBPutItemRequest.h @@ -0,0 +1,117 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" +#import "DynamoDBExpectedAttributeValue.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Put Item Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBPutItemRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; + NSMutableDictionary *item; + NSMutableDictionary *expected; + NSString *returnValues; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + +/** + * A map of the attributes for the item, and must include the primary key + * values that define the item. Other attribute name-value pairs can be + * provided for the item. + */ +@property (nonatomic, retain) NSMutableDictionary *item; + +/** + * Designates an attribute for a conditional modification. The Expected + * parameter allows you to provide an attribute name, and whether or not + * Amazon DynamoDB should check to see if the attribute has a particular + * value before modifying it. + */ +@property (nonatomic, retain) NSMutableDictionary *expected; + +/** + * Use this parameter if you want to get the attribute name-value pairs + * before they were modified. Possible parameter values are NONE + * (default) or ALL_OLD. If ALL_OLD is specified, the content of the old + * item is returned. If this parameter is not provided or is NONE, + * nothing is returned. + *

+ * Constraints:
+ * Allowed Values: NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW + */ +@property (nonatomic, retain) NSString *returnValues; + + +/** + * Default constructor for a new PutItemRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new PutItemRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + * @param theItem A map of the attributes for the item, and must include + * the primary key values that define the item. Other attribute + * name-value pairs can be provided for the item. + */ +-(id)initWithTableName:(NSString *)theTableName andItem:(NSMutableDictionary *)theItem; + + +/** + * Set a value in the dictionary item for the specified key. + * This function will alloc and init item if not already done. + */ +-(void)setItemValue:(DynamoDBAttributeValue *)theValue forKey:(NSString *)theKey; + + +/** + * Set a value in the dictionary expected for the specified key. + * This function will alloc and init expected if not already done. + */ +-(void)setExpectedValue:(DynamoDBExpectedAttributeValue *)theValue forKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBPutItemRequestMarshaller.h b/src/include/DynamoDB/DynamoDBPutItemRequestMarshaller.h new file mode 100644 index 00000000..7d76ebd8 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBPutItemRequestMarshaller.h @@ -0,0 +1,34 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBPutItemRequest.h" + + +/** + * Put Item Request Marshaller + */ +@interface DynamoDBPutItemRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBPutItemRequest *)putItemRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBPutItemResponse.h b/src/include/DynamoDB/DynamoDBPutItemResponse.h new file mode 100644 index 00000000..5e14c477 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBPutItemResponse.h @@ -0,0 +1,79 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBProvisionedThroughputExceededException.h" +#import "DynamoDBConditionalCheckFailedException.h" +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Put Item Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBPutItemResponse:DynamoDBResponse + +{ + NSMutableDictionary *attributes; + NSNumber *consumedCapacityUnits; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Attribute values before the put operation, but only if the + * ReturnValues parameter is specified as ALL_OLD in the request. + */ +@property (nonatomic, retain) NSMutableDictionary *attributes; + +/** + * The number of Capacity Units of the provisioned throughput of the + * table consumed during the operation. GetItem, BatchGetItem, Query, and + * Scan operations consume Read Capacity Units, while PutItem, + * UpdateItem, and DeleteItem operations consume Write Capacity Units. + */ +@property (nonatomic, retain) NSNumber *consumedCapacityUnits; + +/** + * Returns a value from the attributes dictionary for the specified key. + */ +-(DynamoDBAttributeValue *)attributesValueForKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBPutItemResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBPutItemResponseUnmarshaller.h new file mode 100644 index 00000000..bc15d21a --- /dev/null +++ b/src/include/DynamoDB/DynamoDBPutItemResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBPutItemResponse.h" + + +/** + * Put Item Result Unmarshaller + */ +@interface DynamoDBPutItemResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBPutItemResponse *response; +} + ++(DynamoDBPutItemResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBQueryRequest.h b/src/include/DynamoDB/DynamoDBQueryRequest.h new file mode 100644 index 00000000..9cb940c1 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBQueryRequest.h @@ -0,0 +1,163 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" +#import "DynamoDBCondition.h" +#import "DynamoDBKey.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Query Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBQueryRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; + NSMutableArray *attributesToGet; + NSNumber *limit; + bool consistentRead; + bool consistentReadIsSet; + bool count; + bool countIsSet; + DynamoDBAttributeValue *hashKeyValue; + DynamoDBCondition *rangeKeyCondition; + bool scanIndexForward; + bool scanIndexForwardIsSet; + DynamoDBKey *exclusiveStartKey; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + +/** + * Array of Attribute names. If attribute names are not specified then + * all attributes will be returned. If some attributes are not found, + * they will not appear in the result. + *

+ * Constraints:
+ * Length: 1 -
+ */ +@property (nonatomic, retain) NSMutableArray *attributesToGet; + +/** + * The maximum number of items to return. If Amazon DynamoDB hits this + * limit while querying the table, it stops the query and returns the + * matching values up to the limit, and a LastEvaluatedKey to apply in a + * subsequent operation to continue the query. Also, if the result set + * size exceeds 1MB before Amazon DynamoDB hits this limit, it stops the + * query and returns the matching values, and a LastEvaluatedKey to apply + * in a subsequent operation to continue the query. + *

+ * Constraints:
+ * Range: 1 -
+ */ +@property (nonatomic, retain) NSNumber *limit; + +/** + * If set to true, then a consistent read is issued, otherwise eventually + * consistent is used. + */ +@property (nonatomic) bool consistentRead; + +@property (nonatomic, readonly) bool consistentReadIsSet; + +/** + * If set to true, Amazon DynamoDB returns a total number of items that + * match the query parameters, instead of a list of the matching items + * and their attributes. Do not set Count to true while providing a list + * of AttributesToGet, otherwise Amazon DynamoDB returns a validation + * error. + */ +@property (nonatomic) bool count; + +@property (nonatomic, readonly) bool countIsSet; + +/** + * Attribute value of the hash component of the composite primary key. + */ +@property (nonatomic, retain) DynamoDBAttributeValue *hashKeyValue; + +/** + * A container for the attribute values and comparison operators to use + * for the query. + */ +@property (nonatomic, retain) DynamoDBCondition *rangeKeyCondition; + +/** + * Specifies forward or backward traversal of the index. Amazon DynamoDB + * returns results reflecting the requested order, determined by the + * range key. Default is true (forward). + */ +@property (nonatomic) bool scanIndexForward; + +@property (nonatomic, readonly) bool scanIndexForwardIsSet; + +/** + * Primary key of the item from which to continue an earlier query. An + * earlier query might provide this value as the LastEvaluatedKey if that + * query operation was interrupted before completing the query; either + * because of the result set size or the Limit parameter. The + * LastEvaluatedKey can be passed back in a new query request to continue + * the operation from that point. + */ +@property (nonatomic, retain) DynamoDBKey *exclusiveStartKey; + + +/** + * Default constructor for a new QueryRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new QueryRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + * @param theHashKeyValue Attribute value of the hash component of the + * composite primary key. + */ +-(id)initWithTableName:(NSString *)theTableName andHashKeyValue:(DynamoDBAttributeValue *)theHashKeyValue; + +/** + * Adds a single object to attributesToGet. + * This function will alloc and init attributesToGet if not already done. + */ +-(void)addAttributesToGet:(NSString *)attributesToGetObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBQueryRequestMarshaller.h b/src/include/DynamoDB/DynamoDBQueryRequestMarshaller.h new file mode 100644 index 00000000..45434bf2 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBQueryRequestMarshaller.h @@ -0,0 +1,52 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBQueryRequest.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBCondition.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBKey.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" + + +/** + * Query Request Marshaller + */ +@interface DynamoDBQueryRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBQueryRequest *)queryRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBQueryResponse.h b/src/include/DynamoDB/DynamoDBQueryResponse.h new file mode 100644 index 00000000..6a90a63a --- /dev/null +++ b/src/include/DynamoDB/DynamoDBQueryResponse.h @@ -0,0 +1,95 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKey.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBProvisionedThroughputExceededException.h" +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Query Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBQueryResponse:DynamoDBResponse + +{ + NSMutableArray *items; + NSNumber *count; + DynamoDBKey *lastEvaluatedKey; + NSNumber *consumedCapacityUnits; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the Items property for this object. + */ +@property (nonatomic, retain) NSMutableArray *items; + +/** + * Number of items in the response. + */ +@property (nonatomic, retain) NSNumber *count; + +/** + * Primary key of the item where the query operation stopped, inclusive + * of the previous result set. Use this value to start a new operation + * excluding this value in the new request. The LastEvaluatedKey is null + * when the entire query result set is complete (i.e. the operation + * processed the "last page"). + */ +@property (nonatomic, retain) DynamoDBKey *lastEvaluatedKey; + +/** + * The number of Capacity Units of the provisioned throughput of the + * table consumed during the operation. GetItem, BatchGetItem, Query, and + * Scan operations consume Read Capacity Units, while PutItem, + * UpdateItem, and DeleteItem operations consume Write Capacity Units. + */ +@property (nonatomic, retain) NSNumber *consumedCapacityUnits; + + + +/** + * Returns a value from the items array for the specified index + */ +-(NSDictionary *)itemsObjectAtIndex:(int)index; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBQueryResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBQueryResponseUnmarshaller.h new file mode 100644 index 00000000..55c614c7 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBQueryResponseUnmarshaller.h @@ -0,0 +1,31 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBQueryResponse.h" +#import "../AmazonSDKUtil.h" + + +/** + * Query Result Unmarshaller + */ +@interface DynamoDBQueryResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBQueryResponse *response; +} + ++(DynamoDBQueryResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBRequest.h b/src/include/DynamoDB/DynamoDBRequest.h new file mode 100644 index 00000000..dca11410 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBRequest.h @@ -0,0 +1,27 @@ + +#import +#import "../AmazonServiceRequest.h" +#import "../AmazonAuthUtils.h" + + +@interface DynamoDBRequest:AmazonServiceRequest { + NSString *content; + NSMutableDictionary *headers; +} + + +@property (nonatomic, retain) NSString *content; + + +-(NSArray *)headersToSign; +-(void)addValue:(NSString *)theValue forHeader:(NSString *)theHeader; +-(NSString *)generateAuthorization; +-(NSString *)generateSignature; +-(NSString *)generateStringToSign; +-(NSArray *)headersToSign; +-(NSString *)getHostFromEndpoint; + ++(NSData *)hash:(NSData *)data; + + +@end diff --git a/src/include/DynamoDB/DynamoDBRequest4.h b/src/include/DynamoDB/DynamoDBRequest4.h new file mode 100644 index 00000000..58798d29 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBRequest4.h @@ -0,0 +1,30 @@ + +#import +#import "../AmazonServiceRequest.h" +#import "../AmazonAuthUtils.h" + + +@interface DynamoDBRequest4:AmazonServiceRequest { + NSString *content; + NSMutableDictionary *headers; + NSDate *overrideDate; +} + + +@property (nonatomic, retain) NSString *content; +@property (nonatomic, retain) NSDate *overrideDate; + + +-(NSString *)sign; + +-(void)addValue:(NSString *)theValue forHeader:(NSString *)theHeader; + +-(NSString *)extractRegionName:(NSString *)host; +-(NSString *)extractServiceName:(NSString *)host; +-(NSString *)getCanonicalizedHeaderString:(NSMutableDictionary *)headers; +-(NSString *)getSignedHeadersString:(NSMutableDictionary *)headers; +-(NSString *)getCanonicalizedResourcePath:(NSString *)resourcePath; +-(NSString *)getHostFromEndpoint; +-(NSString *)getRequestPayloadWithoutQueryParams; + +@end diff --git a/src/include/DynamoDB/DynamoDBResourceInUseException.h b/src/include/DynamoDB/DynamoDBResourceInUseException.h new file mode 100644 index 00000000..7a028e7a --- /dev/null +++ b/src/include/DynamoDB/DynamoDBResourceInUseException.h @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceException.h" + + + + +/** + *

+ * This exception is thrown when the resource which is being attempted + * to be changed is in use + *

+ * + * \ingroup DynamoDB + */ +@interface DynamoDBResourceInUseException:AmazonServiceException +{ +} + + + + + + + +-(id)initWithMessage:(NSString *)message; + + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBResourceNotFoundException.h b/src/include/DynamoDB/DynamoDBResourceNotFoundException.h new file mode 100644 index 00000000..1215211d --- /dev/null +++ b/src/include/DynamoDB/DynamoDBResourceNotFoundException.h @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceException.h" + + + + +/** + *

+ * This exception is thrown when the resource which is being attempted + * to be changed is in use + *

+ * + * \ingroup DynamoDB + */ +@interface DynamoDBResourceNotFoundException:AmazonServiceException +{ +} + + + + + + + +-(id)initWithMessage:(NSString *)message; + + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBResponse.h b/src/include/DynamoDB/DynamoDBResponse.h new file mode 100644 index 00000000..8c597231 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBResponse.h @@ -0,0 +1,21 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceResponse.h" + +@interface DynamoDBResponse:AmazonServiceResponse { +} + +@end diff --git a/src/include/DynamoDB/DynamoDBResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBResponseUnmarshaller.h new file mode 100644 index 00000000..cb380167 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBResponseUnmarshaller.h @@ -0,0 +1,23 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "../AmazonServiceResponseUnmarshaller.h" + +@interface DynamoDBResponseUnmarshaller:AmazonServiceResponseUnmarshaller { +} + + +@end diff --git a/src/include/DynamoDB/DynamoDBScanRequest.h b/src/include/DynamoDB/DynamoDBScanRequest.h new file mode 100644 index 00000000..36d9ce1e --- /dev/null +++ b/src/include/DynamoDB/DynamoDBScanRequest.h @@ -0,0 +1,140 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBCondition.h" +#import "DynamoDBKey.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Scan Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBScanRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; + NSMutableArray *attributesToGet; + NSNumber *limit; + bool count; + bool countIsSet; + NSMutableDictionary *scanFilter; + DynamoDBKey *exclusiveStartKey; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + +/** + * Array of Attribute names. If attribute names are not specified then + * all attributes will be returned. If some attributes are not found, + * they will not appear in the result. + *

+ * Constraints:
+ * Length: 1 -
+ */ +@property (nonatomic, retain) NSMutableArray *attributesToGet; + +/** + * The maximum number of items to return. If Amazon DynamoDB hits this + * limit while scanning the table, it stops the scan and returns the + * matching values up to the limit, and a LastEvaluatedKey to apply in a + * subsequent operation to continue the scan. Also, if the scanned data + * set size exceeds 1MB before Amazon DynamoDB hits this limit, it stops + * the scan and returns the matching values up to the limit, and a + * LastEvaluatedKey to apply in a subsequent operation to continue the + * scan. + *

+ * Constraints:
+ * Range: 1 -
+ */ +@property (nonatomic, retain) NSNumber *limit; + +/** + * If set to true, Amazon DynamoDB returns a total number of items for + * the Scan operation, even if the operation has no matching items for + * the assigned filter. Do not set Count to true while providing a list + * of AttributesToGet, otherwise Amazon DynamoDB returns a validation + * error. + */ +@property (nonatomic) bool count; + +@property (nonatomic, readonly) bool countIsSet; + +/** + * Evaluates the scan results and returns only the desired values. + */ +@property (nonatomic, retain) NSMutableDictionary *scanFilter; + +/** + * Primary key of the item from which to continue an earlier scan. An + * earlier scan might provide this value if that scan operation was + * interrupted before scanning the entire table; either because of the + * result set size or the Limit parameter. The LastEvaluatedKey can be + * passed back in a new scan request to continue the operation from that + * point. + */ +@property (nonatomic, retain) DynamoDBKey *exclusiveStartKey; + + +/** + * Default constructor for a new ScanRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new ScanRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + */ +-(id)initWithTableName:(NSString *)theTableName; + +/** + * Adds a single object to attributesToGet. + * This function will alloc and init attributesToGet if not already done. + */ +-(void)addAttributesToGet:(NSString *)attributesToGetObject; + + +/** + * Set a value in the dictionary scanFilter for the specified key. + * This function will alloc and init scanFilter if not already done. + */ +-(void)setScanFilterValue:(DynamoDBCondition *)theValue forKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBScanRequestMarshaller.h b/src/include/DynamoDB/DynamoDBScanRequestMarshaller.h new file mode 100644 index 00000000..0bb1c253 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBScanRequestMarshaller.h @@ -0,0 +1,37 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBScanRequest.h" +#import "DynamoDBKey.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" + + +/** + * Scan Request Marshaller + */ +@interface DynamoDBScanRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBScanRequest *)scanRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBScanResponse.h b/src/include/DynamoDB/DynamoDBScanResponse.h new file mode 100644 index 00000000..c95977ba --- /dev/null +++ b/src/include/DynamoDB/DynamoDBScanResponse.h @@ -0,0 +1,102 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKey.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBProvisionedThroughputExceededException.h" +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Scan Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBScanResponse:DynamoDBResponse + +{ + NSMutableArray *items; + NSNumber *count; + NSNumber *scannedCount; + DynamoDBKey *lastEvaluatedKey; + NSNumber *consumedCapacityUnits; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the Items property for this object. + */ +@property (nonatomic, retain) NSMutableArray *items; + +/** + * Number of items in the response. + */ +@property (nonatomic, retain) NSNumber *count; + +/** + * Number of items in the complete scan before any filters are applied. A + * high ScannedCount value with few, or no, Count results indicates an + * inefficient Scan operation. + */ +@property (nonatomic, retain) NSNumber *scannedCount; + +/** + * Primary key of the item where the scan operation stopped. Provide this + * value in a subsequent scan operation to continue the operation from + * that point. The LastEvaluatedKey is null when the entire scan result + * set is complete (i.e. the operation processed the "last page"). + */ +@property (nonatomic, retain) DynamoDBKey *lastEvaluatedKey; + +/** + * The number of Capacity Units of the provisioned throughput of the + * table consumed during the operation. GetItem, BatchGetItem, Query, and + * Scan operations consume Read Capacity Units, while PutItem, + * UpdateItem, and DeleteItem operations consume Write Capacity Units. + */ +@property (nonatomic, retain) NSNumber *consumedCapacityUnits; + + + +/** + * Returns a value from the items array for the specified index + */ +-(NSDictionary *)itemsObjectAtIndex:(int)index; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBScanResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBScanResponseUnmarshaller.h new file mode 100644 index 00000000..9f7f7ab9 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBScanResponseUnmarshaller.h @@ -0,0 +1,31 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBScanResponse.h" +#import "../AmazonSDKUtil.h" + + +/** + * Scan Result Unmarshaller + */ +@interface DynamoDBScanResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBScanResponse *response; +} + ++(DynamoDBScanResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBTableDescription.h b/src/include/DynamoDB/DynamoDBTableDescription.h new file mode 100644 index 00000000..0518aa41 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBTableDescription.h @@ -0,0 +1,111 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKeySchema.h" +#import "DynamoDBProvisionedThroughputDescription.h" + + + +/** + * Table Description + * + * \ingroup DynamoDB + */ + +@interface DynamoDBTableDescription:NSObject + +{ + NSString *tableName; + DynamoDBKeySchema *keySchema; + NSString *tableStatus; + NSDate *creationDateTime; + DynamoDBProvisionedThroughputDescription *provisionedThroughput; + NSNumber *tableSizeBytes; + NSNumber *itemCount; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + +/** + * KeySchema: The KeySchema identifies the primary key as a one attribute + * primary key (hash) or a composite two attribute (hash-and-range) + * primary key. Single attribute primary keys have one index value: a + * HashKeyElement. A composite hash-and-range primary key contains two + * attribute values: a HashKeyElement and a RangeKeyElement. + * HashKeyElement: A hash key element can be a string or a number. Single + * attribute primary keys have one index value: a HashKeyElement. + * RangeKeyElement: A range key element can be a string or a number, and + * is only used for hash-and-range primary keys. Composite hash-and-range + * primary keys contain two attribute values for the index: a + * HashKeyElement and a RangeKeyElement. A RangeKeyElement enables + * greater precision for a primary key so data queries can refine results + * based on the two part hash-and-range index. + */ +@property (nonatomic, retain) DynamoDBKeySchema *keySchema; + +/** + * The value of the TableStatus property for this object. + *

+ * Constraints:
+ * Allowed Values: CREATING, UPDATING, DELETING, ACTIVE + */ +@property (nonatomic, retain) NSString *tableStatus; + +/** + * The value of the CreationDateTime property for this object. + */ +@property (nonatomic, retain) NSDate *creationDateTime; + +/** + * The value of the ProvisionedThroughput property for this object. + */ +@property (nonatomic, retain) DynamoDBProvisionedThroughputDescription *provisionedThroughput; + +/** + * The value of the TableSizeBytes property for this object. + */ +@property (nonatomic, retain) NSNumber *tableSizeBytes; + +/** + * The value of the ItemCount property for this object. + */ +@property (nonatomic, retain) NSNumber *itemCount; + + +/** + * Default constructor for a new TableDescription object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBTableDescriptionUnmarshaller.h b/src/include/DynamoDB/DynamoDBTableDescriptionUnmarshaller.h new file mode 100644 index 00000000..2d6a8311 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBTableDescriptionUnmarshaller.h @@ -0,0 +1,31 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBTableDescription.h" +#import "../AmazonSDKUtil.h" + + +/** + * Table Description Unmarshaller + */ +@interface DynamoDBTableDescriptionUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBTableDescription *response; +} + ++(DynamoDBTableDescription *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBUpdateItemRequest.h b/src/include/DynamoDB/DynamoDBUpdateItemRequest.h new file mode 100644 index 00000000..20cf1cf2 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBUpdateItemRequest.h @@ -0,0 +1,129 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBKey.h" +#import "DynamoDBAttributeValueUpdate.h" +#import "DynamoDBExpectedAttributeValue.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Update Item Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBUpdateItemRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; + DynamoDBKey *key; + NSMutableDictionary *attributeUpdates; + NSMutableDictionary *expected; + NSString *returnValues; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + +/** + * The primary key that uniquely identifies each item in a table. A + * primary key can be a one attribute (hash) primary key or a two + * attribute (hash-and-range) primary key. + */ +@property (nonatomic, retain) DynamoDBKey *key; + +/** + * Map of attribute name to the new value and action for the update. The + * attribute names specify the attributes to modify, and cannot contain + * any primary key attributes. + */ +@property (nonatomic, retain) NSMutableDictionary *attributeUpdates; + +/** + * Designates an attribute for a conditional modification. The Expected + * parameter allows you to provide an attribute name, and whether or not + * Amazon DynamoDB should check to see if the attribute has a particular + * value before modifying it. + */ +@property (nonatomic, retain) NSMutableDictionary *expected; + +/** + * Use this parameter if you want to get the attribute name-value pairs + * before they were modified. Possible parameter values are NONE + * (default) or ALL_OLD. If ALL_OLD is specified, the content of the old + * item is returned. If this parameter is not provided or is NONE, + * nothing is returned. + *

+ * Constraints:
+ * Allowed Values: NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW + */ +@property (nonatomic, retain) NSString *returnValues; + + +/** + * Default constructor for a new UpdateItemRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new UpdateItemRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + * @param theKey The primary key that uniquely identifies each item in a + * table. A primary key can be a one attribute (hash) primary key or a + * two attribute (hash-and-range) primary key. + * @param theAttributeUpdates Map of attribute name to the new value and + * action for the update. The attribute names specify the attributes to + * modify, and cannot contain any primary key attributes. + */ +-(id)initWithTableName:(NSString *)theTableName andKey:(DynamoDBKey *)theKey andAttributeUpdates:(NSMutableDictionary *)theAttributeUpdates; + + +/** + * Set a value in the dictionary attributeUpdates for the specified key. + * This function will alloc and init attributeUpdates if not already done. + */ +-(void)setAttributeUpdatesValue:(DynamoDBAttributeValueUpdate *)theValue forKey:(NSString *)theKey; + + +/** + * Set a value in the dictionary expected for the specified key. + * This function will alloc and init expected if not already done. + */ +-(void)setExpectedValue:(DynamoDBExpectedAttributeValue *)theValue forKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBUpdateItemRequestMarshaller.h b/src/include/DynamoDB/DynamoDBUpdateItemRequestMarshaller.h new file mode 100644 index 00000000..46a1bc1f --- /dev/null +++ b/src/include/DynamoDB/DynamoDBUpdateItemRequestMarshaller.h @@ -0,0 +1,37 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBUpdateItemRequest.h" +#import "DynamoDBKey.h" +#import "DynamoDBAttributeValue.h" +#import "DynamoDBAttributeValue.h" + + +/** + * Update Item Request Marshaller + */ +@interface DynamoDBUpdateItemRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBUpdateItemRequest *)updateItemRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBUpdateItemResponse.h b/src/include/DynamoDB/DynamoDBUpdateItemResponse.h new file mode 100644 index 00000000..8e19c40c --- /dev/null +++ b/src/include/DynamoDB/DynamoDBUpdateItemResponse.h @@ -0,0 +1,79 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBAttributeValue.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBProvisionedThroughputExceededException.h" +#import "DynamoDBConditionalCheckFailedException.h" +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Update Item Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBUpdateItemResponse:DynamoDBResponse + +{ + NSMutableDictionary *attributes; + NSNumber *consumedCapacityUnits; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * A map of attribute name-value pairs, but only if the ReturnValues + * parameter is specified as something other than NONE in the request. + */ +@property (nonatomic, retain) NSMutableDictionary *attributes; + +/** + * The number of Capacity Units of the provisioned throughput of the + * table consumed during the operation. GetItem, BatchGetItem, Query, and + * Scan operations consume Read Capacity Units, while PutItem, + * UpdateItem, and DeleteItem operations consume Write Capacity Units. + */ +@property (nonatomic, retain) NSNumber *consumedCapacityUnits; + +/** + * Returns a value from the attributes dictionary for the specified key. + */ +-(DynamoDBAttributeValue *)attributesValueForKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBUpdateItemResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBUpdateItemResponseUnmarshaller.h new file mode 100644 index 00000000..6ee3dc41 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBUpdateItemResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBUpdateItemResponse.h" + + +/** + * Update Item Result Unmarshaller + */ +@interface DynamoDBUpdateItemResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBUpdateItemResponse *response; +} + ++(DynamoDBUpdateItemResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBUpdateTableRequest.h b/src/include/DynamoDB/DynamoDBUpdateTableRequest.h new file mode 100644 index 00000000..037a2a68 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBUpdateTableRequest.h @@ -0,0 +1,79 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBProvisionedThroughput.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Update Table Request + * + * \ingroup DynamoDB + */ + +@interface DynamoDBUpdateTableRequest:AmazonServiceRequestConfig + +{ + NSString *tableName; + DynamoDBProvisionedThroughput *provisionedThroughput; +} + + + +/** + * The value of the TableName property for this object. + *

+ * Constraints:
+ * Length: 3 - 255
+ * Pattern: [a-zA-Z0-9_.-]+
+ */ +@property (nonatomic, retain) NSString *tableName; + +/** + * Desired throughput for the specified table, consisting of values for + * ReadCapacityUnits and WriteCapacityUnits. + */ +@property (nonatomic, retain) DynamoDBProvisionedThroughput *provisionedThroughput; + + +/** + * Default constructor for a new UpdateTableRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new UpdateTableRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theTableName + * @param theProvisionedThroughput Desired throughput for the specified + * table, consisting of values for ReadCapacityUnits and + * WriteCapacityUnits. + */ +-(id)initWithTableName:(NSString *)theTableName andProvisionedThroughput:(DynamoDBProvisionedThroughput *)theProvisionedThroughput; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBUpdateTableRequestMarshaller.h b/src/include/DynamoDB/DynamoDBUpdateTableRequestMarshaller.h new file mode 100644 index 00000000..d6b2f436 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBUpdateTableRequestMarshaller.h @@ -0,0 +1,35 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequest.h" + +#import "DynamoDBRequest.h" +#import "DynamoDBUpdateTableRequest.h" +#import "DynamoDBProvisionedThroughput.h" + + +/** + * Update Table Request Marshaller + */ +@interface DynamoDBUpdateTableRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(DynamoDBUpdateTableRequest *)updateTableRequest; + + +@end + diff --git a/src/include/DynamoDB/DynamoDBUpdateTableResponse.h b/src/include/DynamoDB/DynamoDBUpdateTableResponse.h new file mode 100644 index 00000000..843cd85d --- /dev/null +++ b/src/include/DynamoDB/DynamoDBUpdateTableResponse.h @@ -0,0 +1,64 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "DynamoDBTableDescription.h" + +#import "DynamoDBResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "DynamoDBResourceInUseException.h" +#import "DynamoDBLimitExceededException.h" +#import "DynamoDBInternalServerErrorException.h" +#import "DynamoDBResourceNotFoundException.h" + + +/** + * Update Table Result + * + * \ingroup DynamoDB + */ + +@interface DynamoDBUpdateTableResponse:DynamoDBResponse + +{ + DynamoDBTableDescription *tableDescription; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the TableDescription property for this object. + */ +@property (nonatomic, retain) DynamoDBTableDescription *tableDescription; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/DynamoDB/DynamoDBUpdateTableResponseUnmarshaller.h b/src/include/DynamoDB/DynamoDBUpdateTableResponseUnmarshaller.h new file mode 100644 index 00000000..a55bb4a3 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBUpdateTableResponseUnmarshaller.h @@ -0,0 +1,30 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "DynamoDBResponseUnmarshaller.h" +#import "DynamoDBUpdateTableResponse.h" + + +/** + * Update Table Result Unmarshaller + */ +@interface DynamoDBUpdateTableResponseUnmarshaller:DynamoDBResponseUnmarshaller { + DynamoDBUpdateTableResponse *response; +} + ++(DynamoDBUpdateTableResponse *)unmarshall:(NSDictionary *)jsonObject; + +@end diff --git a/src/include/DynamoDB/DynamoDBWebServiceClient.h b/src/include/DynamoDB/DynamoDBWebServiceClient.h new file mode 100644 index 00000000..237eb3e4 --- /dev/null +++ b/src/include/DynamoDB/DynamoDBWebServiceClient.h @@ -0,0 +1,92 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonSDKUtil.h" +#import "../AmazonAuthUtils.h" +#import "../AmazonClientException.h" +#import "../AmazonLogger.h" +#import "../AmazonServiceException.h" +#import "../AmazonSignatureException.h" +#import "../AmazonUnmarshallerXMLParserDelegate.h" +#import "../AmazonServiceRequest.h" +#import "../AmazonServiceRequestConfig.h" +#import "DynamoDBResponse.h" +#import "../AmazonServiceResponseUnmarshaller.h" +#import "../AmazonURLRequest.h" +#import "../AmazonCredentials.h" +#import "../AmazonRequestDelegate.h" + +@interface DynamoDBWebServiceClient:NSObject +{ + AmazonCredentials *credentials; + NSString *endpoint; + int maxRetries; + NSTimeInterval timeout; + NSTimeInterval delay; + NSString *userAgent; +} + +/** The service endpoint to which requests should be sent. */ +@property (nonatomic, retain) NSString *endpoint; + +/** The maximum number of retry attempts for failed retryable requests + * (ex: 5xx error responses from a service). + * + * Default is 10. + */ +@property (nonatomic, atomic) int maxRetries; + +/** The amount of time to wait (in milliseconds) for data to be transfered over + * an established, open connection before the connection times out and is closed. + * + * Default is 30 seconds. + */ +@property (nonatomic, atomic) NSTimeInterval timeout; + +/** + * The amount of time to pause between retries. The pause time will grow exponentially + * for each retry on a single request. + * Default is 0.05 seconds. + */ +@property (nonatomic, atomic) NSTimeInterval delay; + +/** The HTTP user agent header to send with all requests. */ +@property (nonatomic, retain) NSString *userAgent; + +/** Inits the client the given credentials. */ +-(id)initWithCredentials:(AmazonCredentials *)theCredentials; + +/** Constructs an empty response object of the appropriate type to match the given request + * object. + * @param request An instance of a subclass of AmazonServiceRequest. + * @return An instance of the appropriate subclass of AmazonServiceResponse, or + * an instance of AmazonServiceResponse if there is no response class to + * match the instance passed in. + */ ++(DynamoDBResponse *)constructResponseFromRequest:(AmazonServiceRequest *)request; + +/** Utility method that sends the raw S3 Request to be processed. + * + * @param request An AmazonServiceRequest describing the parameters of a request. + * @return The response from the service. + */ +-(AmazonServiceResponse *)invoke:(AmazonServiceRequest *)generatedRequest rawRequest:(AmazonServiceRequestConfig *)originalRequest unmarshallerDelegate:(Class)unmarshallerDelegate; + +-(void)pauseExponentially:(int)tryCount; +-(bool)shouldRetry:(DynamoDBResponse *)response exception:(NSException *)theException; + +@end + + diff --git a/src/include/EC2/AmazonEC2Client.h b/src/include/EC2/AmazonEC2Client.h index dc56e55a..1baaca8b 100644 --- a/src/include/EC2/AmazonEC2Client.h +++ b/src/include/EC2/AmazonEC2Client.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -244,6 +244,10 @@ #import "EC2CreateVolumeResponseUnmarshaller.h" #import "EC2CreateVolumeRequest.h" #import "EC2CreateVolumeRequestMarshaller.h" +#import "EC2DescribeInstanceStatusResponse.h" +#import "EC2DescribeInstanceStatusResponseUnmarshaller.h" +#import "EC2DescribeInstanceStatusRequest.h" +#import "EC2DescribeInstanceStatusRequestMarshaller.h" #import "EC2DescribeReservedInstancesOfferingsResponse.h" #import "EC2DescribeReservedInstancesOfferingsResponseUnmarshaller.h" #import "EC2DescribeReservedInstancesOfferingsRequest.h" @@ -2027,6 +2031,96 @@ -(EC2CreateVolumeResponse *)createVolume:(EC2CreateVolumeRequest *)createVolumeRequest; +/** + *

+ * Describes the status of an Amazon Elastic Compute Cloud (Amazon EC2) + * instance. Instance status provides information about two types of + * scheduled events for an instance that may require your attention: + *

+ * + *
    + *
  • Scheduled Reboot: When Amazon EC2 determines that an instance + * must be rebooted, the instance's status will return one of two event + * codes: system-reboot or instance-reboot . + * System reboot commonly occurs if certain maintenance or upgrade + * operations require a reboot of the underlying host that supports an + * instance. Instance reboot commonly occurs if the instance must be + * rebooted, rather than the underlying host. Rebooting events include a + * scheduled start and end time.
  • + *
  • Scheduled Retirement: When Amazon EC2 determines that an + * instance must be shut down, the instance's status will return an event + * code called instance-retirement . Retirement commonly + * occurs when the underlying host is degraded and must be replaced. + * Retirement events include a scheduled start and end time. You're also + * notified by email if one of your instances is set to retiring. The + * email message indicates when your instance will be permanently + * retired.
  • + * + *
+ *

+ * If your instance is permanently retired, it will not be restarted. + * You can avoid retirement by manually restarting your instance when its + * event code is instance-retirement . This ensures that + * your instance is started on a healthy host. + *

+ *

+ * DescribeInstanceStatus returns information only for + * instances in the running state. + *

+ *

+ * You can filter the results to return information only about instances + * that match criteria you specify. For example, you could get + * information about instances in a specific Availability Zone. You can + * specify multiple values for a filter (e.g., more than one Availability + * Zone). An instance must match at least one of the specified values for + * it to be included in the results. + *

+ *

+ * You can specify multiple filters. An instance must match all the + * filters for it to be included in the results. If there's no match, no + * special message is returned; the response is simply empty. + *

+ *

+ * You can use wildcards with the filter values: * matches + * zero or more characters, and ? matches exactly one + * character. You can escape special characters using a backslash before + * the character. For example, a value of \*amazon\?\\ + * searches for the literal string *amazon?\ . + * + *

+ *

+ * The following filters are available: + *

+ * + *
    + *
  • availability-zone - Filter on an instance's + * availability zone.
  • + *
  • instance-state-name - Filter on the intended state + * of the instance, e.g., running.
  • + *
  • instance-state-code - Filter on the intended state + * code of the instance, e.g., 16.
  • + * + *
+ * + * @param describeInstanceStatusRequest Container for the necessary + * parameters to execute the DescribeInstanceStatus service method on + * AmazonEC2. + * + * @return The response from the DescribeInstanceStatus service method, + * as returned by AmazonEC2. + * + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonEC2 indicating + * either a problem with the data in the request, or a server side issue. + */ +-(EC2DescribeInstanceStatusResponse *)describeInstanceStatus:(EC2DescribeInstanceStatusRequest *)describeInstanceStatusRequest; + + /** *

* The DescribeReservedInstancesOfferings operation describes Reserved diff --git a/src/include/EC2/EC2ActivateLicenseRequest.h b/src/include/EC2/EC2ActivateLicenseRequest.h index 3231c5ea..a4a1089e 100644 --- a/src/include/EC2/EC2ActivateLicenseRequest.h +++ b/src/include/EC2/EC2ActivateLicenseRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ActivateLicenseRequestMarshaller.h b/src/include/EC2/EC2ActivateLicenseRequestMarshaller.h index 4a28f447..f69fff15 100644 --- a/src/include/EC2/EC2ActivateLicenseRequestMarshaller.h +++ b/src/include/EC2/EC2ActivateLicenseRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ActivateLicenseResponse.h b/src/include/EC2/EC2ActivateLicenseResponse.h index 65e81845..2371a7bd 100644 --- a/src/include/EC2/EC2ActivateLicenseResponse.h +++ b/src/include/EC2/EC2ActivateLicenseResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ActivateLicenseResponseUnmarshaller.h b/src/include/EC2/EC2ActivateLicenseResponseUnmarshaller.h index 670c98fd..8a0f4e62 100644 --- a/src/include/EC2/EC2ActivateLicenseResponseUnmarshaller.h +++ b/src/include/EC2/EC2ActivateLicenseResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Address.h b/src/include/EC2/EC2Address.h index 0c5be588..0c37095f 100644 --- a/src/include/EC2/EC2Address.h +++ b/src/include/EC2/EC2Address.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AddressUnmarshaller.h b/src/include/EC2/EC2AddressUnmarshaller.h index 20d71c27..7ea77163 100644 --- a/src/include/EC2/EC2AddressUnmarshaller.h +++ b/src/include/EC2/EC2AddressUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AllocateAddressRequest.h b/src/include/EC2/EC2AllocateAddressRequest.h index 27b10860..bde0be3d 100644 --- a/src/include/EC2/EC2AllocateAddressRequest.h +++ b/src/include/EC2/EC2AllocateAddressRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AllocateAddressRequestMarshaller.h b/src/include/EC2/EC2AllocateAddressRequestMarshaller.h index 0f47bd10..2362e88f 100644 --- a/src/include/EC2/EC2AllocateAddressRequestMarshaller.h +++ b/src/include/EC2/EC2AllocateAddressRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AllocateAddressResponse.h b/src/include/EC2/EC2AllocateAddressResponse.h index cb66049f..7cfcec3a 100644 --- a/src/include/EC2/EC2AllocateAddressResponse.h +++ b/src/include/EC2/EC2AllocateAddressResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AllocateAddressResponseUnmarshaller.h b/src/include/EC2/EC2AllocateAddressResponseUnmarshaller.h index 23da506c..a8564962 100644 --- a/src/include/EC2/EC2AllocateAddressResponseUnmarshaller.h +++ b/src/include/EC2/EC2AllocateAddressResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AssociateAddressRequest.h b/src/include/EC2/EC2AssociateAddressRequest.h index eca97eec..4abb731c 100644 --- a/src/include/EC2/EC2AssociateAddressRequest.h +++ b/src/include/EC2/EC2AssociateAddressRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AssociateAddressRequestMarshaller.h b/src/include/EC2/EC2AssociateAddressRequestMarshaller.h index 7ae248ab..1a2238c5 100644 --- a/src/include/EC2/EC2AssociateAddressRequestMarshaller.h +++ b/src/include/EC2/EC2AssociateAddressRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AssociateAddressResponse.h b/src/include/EC2/EC2AssociateAddressResponse.h index fd320296..a55714f2 100644 --- a/src/include/EC2/EC2AssociateAddressResponse.h +++ b/src/include/EC2/EC2AssociateAddressResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AssociateAddressResponseUnmarshaller.h b/src/include/EC2/EC2AssociateAddressResponseUnmarshaller.h index f541fa17..de43b526 100644 --- a/src/include/EC2/EC2AssociateAddressResponseUnmarshaller.h +++ b/src/include/EC2/EC2AssociateAddressResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AttachVolumeRequest.h b/src/include/EC2/EC2AttachVolumeRequest.h index a1bb025c..b54c5e5f 100644 --- a/src/include/EC2/EC2AttachVolumeRequest.h +++ b/src/include/EC2/EC2AttachVolumeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AttachVolumeRequestMarshaller.h b/src/include/EC2/EC2AttachVolumeRequestMarshaller.h index c1120877..93ba397d 100644 --- a/src/include/EC2/EC2AttachVolumeRequestMarshaller.h +++ b/src/include/EC2/EC2AttachVolumeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AttachVolumeResponse.h b/src/include/EC2/EC2AttachVolumeResponse.h index 278a6945..bad58ec5 100644 --- a/src/include/EC2/EC2AttachVolumeResponse.h +++ b/src/include/EC2/EC2AttachVolumeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AttachVolumeResponseUnmarshaller.h b/src/include/EC2/EC2AttachVolumeResponseUnmarshaller.h index 23336901..935d21a8 100644 --- a/src/include/EC2/EC2AttachVolumeResponseUnmarshaller.h +++ b/src/include/EC2/EC2AttachVolumeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AuthorizeSecurityGroupIngressRequest.h b/src/include/EC2/EC2AuthorizeSecurityGroupIngressRequest.h index 8bdf4814..29569154 100644 --- a/src/include/EC2/EC2AuthorizeSecurityGroupIngressRequest.h +++ b/src/include/EC2/EC2AuthorizeSecurityGroupIngressRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AuthorizeSecurityGroupIngressRequestMarshaller.h b/src/include/EC2/EC2AuthorizeSecurityGroupIngressRequestMarshaller.h index c79ebc22..82c8d7ad 100644 --- a/src/include/EC2/EC2AuthorizeSecurityGroupIngressRequestMarshaller.h +++ b/src/include/EC2/EC2AuthorizeSecurityGroupIngressRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AuthorizeSecurityGroupIngressResponse.h b/src/include/EC2/EC2AuthorizeSecurityGroupIngressResponse.h index 557bcb14..186a328d 100644 --- a/src/include/EC2/EC2AuthorizeSecurityGroupIngressResponse.h +++ b/src/include/EC2/EC2AuthorizeSecurityGroupIngressResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AuthorizeSecurityGroupIngressResponseUnmarshaller.h b/src/include/EC2/EC2AuthorizeSecurityGroupIngressResponseUnmarshaller.h index 9308699d..defbf1b2 100644 --- a/src/include/EC2/EC2AuthorizeSecurityGroupIngressResponseUnmarshaller.h +++ b/src/include/EC2/EC2AuthorizeSecurityGroupIngressResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2AvailabilityZone.h b/src/include/EC2/EC2AvailabilityZone.h index 0b431da9..ae8ec544 100644 --- a/src/include/EC2/EC2AvailabilityZone.h +++ b/src/include/EC2/EC2AvailabilityZone.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * permissions and limitations under the License. */ +#import "EC2AvailabilityZoneMessage.h" @@ -25,9 +26,10 @@ @interface EC2AvailabilityZone:NSObject { - NSString *zoneName; - NSString *state; - NSString *regionName; + NSString *zoneName; + NSString *state; + NSString *regionName; + NSMutableArray *messages; } @@ -54,6 +56,17 @@ */ @property (nonatomic, retain) NSString *regionName; +/** + * A list of messages about the Availability Zone. + */ +@property (nonatomic, retain) NSMutableArray *messages; + +/** + * Adds a single object to messages. + * This function will alloc and init messages if not already done. + */ +-(void)addMessage:(EC2AvailabilityZoneMessage *)messageObject; + /** * Returns a string representation of this object; useful for testing and * debugging. diff --git a/src/include/EC2/EC2AvailabilityZoneMessage.h b/src/include/EC2/EC2AvailabilityZoneMessage.h new file mode 100644 index 00000000..c4eb8a95 --- /dev/null +++ b/src/include/EC2/EC2AvailabilityZoneMessage.h @@ -0,0 +1,54 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + + + +/** + * Availability Zone Message + * + * \ingroup EC2 + */ + +@interface EC2AvailabilityZoneMessage:NSObject + +{ + NSString *message; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The value of the Message property for this object. + */ +@property (nonatomic, retain) NSString *message; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/EC2/EC2AvailabilityZoneMessageUnmarshaller.h b/src/include/EC2/EC2AvailabilityZoneMessageUnmarshaller.h new file mode 100644 index 00000000..60f92102 --- /dev/null +++ b/src/include/EC2/EC2AvailabilityZoneMessageUnmarshaller.h @@ -0,0 +1,38 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "EC2AvailabilityZoneMessage.h" +#import "EC2ResponseUnmarshaller.h" +#import "../AmazonValueUnmarshaller.h" +#import "../AmazonBoolValueUnmarshaller.h" + + +/** + * Availability Zone Message Unmarshaller + */ +@interface EC2AvailabilityZoneMessageUnmarshaller:EC2ResponseUnmarshaller { + EC2AvailabilityZoneMessage *response; +} + + +@property (nonatomic, readonly) EC2AvailabilityZoneMessage *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + + +@end diff --git a/src/include/EC2/EC2AvailabilityZoneUnmarshaller.h b/src/include/EC2/EC2AvailabilityZoneUnmarshaller.h index f688d411..4901ce16 100644 --- a/src/include/EC2/EC2AvailabilityZoneUnmarshaller.h +++ b/src/include/EC2/EC2AvailabilityZoneUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -18,6 +18,8 @@ #import "EC2ResponseUnmarshaller.h" #import "../AmazonValueUnmarshaller.h" #import "../AmazonBoolValueUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" +#import "EC2AvailabilityZoneMessageUnmarshaller.h" /** diff --git a/src/include/EC2/EC2BlockDeviceMapping.h b/src/include/EC2/EC2BlockDeviceMapping.h index f4665596..7516b479 100644 --- a/src/include/EC2/EC2BlockDeviceMapping.h +++ b/src/include/EC2/EC2BlockDeviceMapping.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2BlockDeviceMappingUnmarshaller.h b/src/include/EC2/EC2BlockDeviceMappingUnmarshaller.h index 44dfc7c9..ff0f2e19 100644 --- a/src/include/EC2/EC2BlockDeviceMappingUnmarshaller.h +++ b/src/include/EC2/EC2BlockDeviceMappingUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2BundleInstanceRequest.h b/src/include/EC2/EC2BundleInstanceRequest.h index e33d7480..8b8f8f1d 100644 --- a/src/include/EC2/EC2BundleInstanceRequest.h +++ b/src/include/EC2/EC2BundleInstanceRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2BundleInstanceRequestMarshaller.h b/src/include/EC2/EC2BundleInstanceRequestMarshaller.h index d328630e..f5d8d102 100644 --- a/src/include/EC2/EC2BundleInstanceRequestMarshaller.h +++ b/src/include/EC2/EC2BundleInstanceRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2BundleInstanceResponse.h b/src/include/EC2/EC2BundleInstanceResponse.h index d176de15..2ea659ff 100644 --- a/src/include/EC2/EC2BundleInstanceResponse.h +++ b/src/include/EC2/EC2BundleInstanceResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2BundleInstanceResponseUnmarshaller.h b/src/include/EC2/EC2BundleInstanceResponseUnmarshaller.h index 4e50d886..dc8a8f9c 100644 --- a/src/include/EC2/EC2BundleInstanceResponseUnmarshaller.h +++ b/src/include/EC2/EC2BundleInstanceResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2BundleTask.h b/src/include/EC2/EC2BundleTask.h index ce53d203..4e9fce27 100644 --- a/src/include/EC2/EC2BundleTask.h +++ b/src/include/EC2/EC2BundleTask.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2BundleTaskError.h b/src/include/EC2/EC2BundleTaskError.h index df4c876e..d897e1db 100644 --- a/src/include/EC2/EC2BundleTaskError.h +++ b/src/include/EC2/EC2BundleTaskError.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2BundleTaskErrorUnmarshaller.h b/src/include/EC2/EC2BundleTaskErrorUnmarshaller.h index 7bcfb804..de1e3736 100644 --- a/src/include/EC2/EC2BundleTaskErrorUnmarshaller.h +++ b/src/include/EC2/EC2BundleTaskErrorUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2BundleTaskUnmarshaller.h b/src/include/EC2/EC2BundleTaskUnmarshaller.h index 7e159745..c3f00b29 100644 --- a/src/include/EC2/EC2BundleTaskUnmarshaller.h +++ b/src/include/EC2/EC2BundleTaskUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelBundleTaskRequest.h b/src/include/EC2/EC2CancelBundleTaskRequest.h index d5b47c1c..f3ad49f9 100644 --- a/src/include/EC2/EC2CancelBundleTaskRequest.h +++ b/src/include/EC2/EC2CancelBundleTaskRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelBundleTaskRequestMarshaller.h b/src/include/EC2/EC2CancelBundleTaskRequestMarshaller.h index 0efbd862..1ed0896e 100644 --- a/src/include/EC2/EC2CancelBundleTaskRequestMarshaller.h +++ b/src/include/EC2/EC2CancelBundleTaskRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelBundleTaskResponse.h b/src/include/EC2/EC2CancelBundleTaskResponse.h index 78bd3143..42199899 100644 --- a/src/include/EC2/EC2CancelBundleTaskResponse.h +++ b/src/include/EC2/EC2CancelBundleTaskResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelBundleTaskResponseUnmarshaller.h b/src/include/EC2/EC2CancelBundleTaskResponseUnmarshaller.h index d3f0be5a..12d74957 100644 --- a/src/include/EC2/EC2CancelBundleTaskResponseUnmarshaller.h +++ b/src/include/EC2/EC2CancelBundleTaskResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelSpotInstanceRequestsRequest.h b/src/include/EC2/EC2CancelSpotInstanceRequestsRequest.h index d34484de..5849a181 100644 --- a/src/include/EC2/EC2CancelSpotInstanceRequestsRequest.h +++ b/src/include/EC2/EC2CancelSpotInstanceRequestsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelSpotInstanceRequestsRequestMarshaller.h b/src/include/EC2/EC2CancelSpotInstanceRequestsRequestMarshaller.h index ad359c1d..9ad4a39f 100644 --- a/src/include/EC2/EC2CancelSpotInstanceRequestsRequestMarshaller.h +++ b/src/include/EC2/EC2CancelSpotInstanceRequestsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelSpotInstanceRequestsResponse.h b/src/include/EC2/EC2CancelSpotInstanceRequestsResponse.h index 8812e625..e87ffc15 100644 --- a/src/include/EC2/EC2CancelSpotInstanceRequestsResponse.h +++ b/src/include/EC2/EC2CancelSpotInstanceRequestsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelSpotInstanceRequestsResponseUnmarshaller.h b/src/include/EC2/EC2CancelSpotInstanceRequestsResponseUnmarshaller.h index 48565030..58f51a33 100644 --- a/src/include/EC2/EC2CancelSpotInstanceRequestsResponseUnmarshaller.h +++ b/src/include/EC2/EC2CancelSpotInstanceRequestsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelledSpotInstanceRequest.h b/src/include/EC2/EC2CancelledSpotInstanceRequest.h index 431450d1..c935e787 100644 --- a/src/include/EC2/EC2CancelledSpotInstanceRequest.h +++ b/src/include/EC2/EC2CancelledSpotInstanceRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CancelledSpotInstanceRequestUnmarshaller.h b/src/include/EC2/EC2CancelledSpotInstanceRequestUnmarshaller.h index 37fcd511..054c03fd 100644 --- a/src/include/EC2/EC2CancelledSpotInstanceRequestUnmarshaller.h +++ b/src/include/EC2/EC2CancelledSpotInstanceRequestUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ConfirmProductInstanceRequest.h b/src/include/EC2/EC2ConfirmProductInstanceRequest.h index 4c8698fc..e2437814 100644 --- a/src/include/EC2/EC2ConfirmProductInstanceRequest.h +++ b/src/include/EC2/EC2ConfirmProductInstanceRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ConfirmProductInstanceRequestMarshaller.h b/src/include/EC2/EC2ConfirmProductInstanceRequestMarshaller.h index 2635cf98..514509fc 100644 --- a/src/include/EC2/EC2ConfirmProductInstanceRequestMarshaller.h +++ b/src/include/EC2/EC2ConfirmProductInstanceRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ConfirmProductInstanceResponse.h b/src/include/EC2/EC2ConfirmProductInstanceResponse.h index 94d6df3e..34f69b4f 100644 --- a/src/include/EC2/EC2ConfirmProductInstanceResponse.h +++ b/src/include/EC2/EC2ConfirmProductInstanceResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ConfirmProductInstanceResponseUnmarshaller.h b/src/include/EC2/EC2ConfirmProductInstanceResponseUnmarshaller.h index 4d86bc29..08b23dff 100644 --- a/src/include/EC2/EC2ConfirmProductInstanceResponseUnmarshaller.h +++ b/src/include/EC2/EC2ConfirmProductInstanceResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateImageRequest.h b/src/include/EC2/EC2CreateImageRequest.h index 9197b633..8a6a52c9 100644 --- a/src/include/EC2/EC2CreateImageRequest.h +++ b/src/include/EC2/EC2CreateImageRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateImageRequestMarshaller.h b/src/include/EC2/EC2CreateImageRequestMarshaller.h index a20fb7eb..bc045424 100644 --- a/src/include/EC2/EC2CreateImageRequestMarshaller.h +++ b/src/include/EC2/EC2CreateImageRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateImageResponse.h b/src/include/EC2/EC2CreateImageResponse.h index ba175617..f6bc4d72 100644 --- a/src/include/EC2/EC2CreateImageResponse.h +++ b/src/include/EC2/EC2CreateImageResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateImageResponseUnmarshaller.h b/src/include/EC2/EC2CreateImageResponseUnmarshaller.h index 92e60d6c..772a00eb 100644 --- a/src/include/EC2/EC2CreateImageResponseUnmarshaller.h +++ b/src/include/EC2/EC2CreateImageResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateKeyPairRequest.h b/src/include/EC2/EC2CreateKeyPairRequest.h index c38c066c..6a2d1940 100644 --- a/src/include/EC2/EC2CreateKeyPairRequest.h +++ b/src/include/EC2/EC2CreateKeyPairRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateKeyPairRequestMarshaller.h b/src/include/EC2/EC2CreateKeyPairRequestMarshaller.h index 2e5d5fe0..fbe55191 100644 --- a/src/include/EC2/EC2CreateKeyPairRequestMarshaller.h +++ b/src/include/EC2/EC2CreateKeyPairRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateKeyPairResponse.h b/src/include/EC2/EC2CreateKeyPairResponse.h index 74b226be..2033c421 100644 --- a/src/include/EC2/EC2CreateKeyPairResponse.h +++ b/src/include/EC2/EC2CreateKeyPairResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateKeyPairResponseUnmarshaller.h b/src/include/EC2/EC2CreateKeyPairResponseUnmarshaller.h index 5b3c07d5..0624526a 100644 --- a/src/include/EC2/EC2CreateKeyPairResponseUnmarshaller.h +++ b/src/include/EC2/EC2CreateKeyPairResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreatePlacementGroupRequest.h b/src/include/EC2/EC2CreatePlacementGroupRequest.h index 63cb7ed5..907221a7 100644 --- a/src/include/EC2/EC2CreatePlacementGroupRequest.h +++ b/src/include/EC2/EC2CreatePlacementGroupRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreatePlacementGroupRequestMarshaller.h b/src/include/EC2/EC2CreatePlacementGroupRequestMarshaller.h index 793a0be5..d8e61e31 100644 --- a/src/include/EC2/EC2CreatePlacementGroupRequestMarshaller.h +++ b/src/include/EC2/EC2CreatePlacementGroupRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreatePlacementGroupResponse.h b/src/include/EC2/EC2CreatePlacementGroupResponse.h index 60744cb4..eedcb3f0 100644 --- a/src/include/EC2/EC2CreatePlacementGroupResponse.h +++ b/src/include/EC2/EC2CreatePlacementGroupResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreatePlacementGroupResponseUnmarshaller.h b/src/include/EC2/EC2CreatePlacementGroupResponseUnmarshaller.h index 048e98bb..7574a644 100644 --- a/src/include/EC2/EC2CreatePlacementGroupResponseUnmarshaller.h +++ b/src/include/EC2/EC2CreatePlacementGroupResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSecurityGroupRequest.h b/src/include/EC2/EC2CreateSecurityGroupRequest.h index 7f027379..13f9ec3e 100644 --- a/src/include/EC2/EC2CreateSecurityGroupRequest.h +++ b/src/include/EC2/EC2CreateSecurityGroupRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSecurityGroupRequestMarshaller.h b/src/include/EC2/EC2CreateSecurityGroupRequestMarshaller.h index 93ae3ada..d57a7276 100644 --- a/src/include/EC2/EC2CreateSecurityGroupRequestMarshaller.h +++ b/src/include/EC2/EC2CreateSecurityGroupRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSecurityGroupResponse.h b/src/include/EC2/EC2CreateSecurityGroupResponse.h index 38687699..3fddcb39 100644 --- a/src/include/EC2/EC2CreateSecurityGroupResponse.h +++ b/src/include/EC2/EC2CreateSecurityGroupResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSecurityGroupResponseUnmarshaller.h b/src/include/EC2/EC2CreateSecurityGroupResponseUnmarshaller.h index f84203dd..dc0160cb 100644 --- a/src/include/EC2/EC2CreateSecurityGroupResponseUnmarshaller.h +++ b/src/include/EC2/EC2CreateSecurityGroupResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSnapshotRequest.h b/src/include/EC2/EC2CreateSnapshotRequest.h index 4337d964..5d51c0d4 100644 --- a/src/include/EC2/EC2CreateSnapshotRequest.h +++ b/src/include/EC2/EC2CreateSnapshotRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSnapshotRequestMarshaller.h b/src/include/EC2/EC2CreateSnapshotRequestMarshaller.h index 514b2dfc..5c07816b 100644 --- a/src/include/EC2/EC2CreateSnapshotRequestMarshaller.h +++ b/src/include/EC2/EC2CreateSnapshotRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSnapshotResponse.h b/src/include/EC2/EC2CreateSnapshotResponse.h index 0ff99f23..50612881 100644 --- a/src/include/EC2/EC2CreateSnapshotResponse.h +++ b/src/include/EC2/EC2CreateSnapshotResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSnapshotResponseUnmarshaller.h b/src/include/EC2/EC2CreateSnapshotResponseUnmarshaller.h index ebcbbc80..b4bc9ee2 100644 --- a/src/include/EC2/EC2CreateSnapshotResponseUnmarshaller.h +++ b/src/include/EC2/EC2CreateSnapshotResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSpotDatafeedSubscriptionRequest.h b/src/include/EC2/EC2CreateSpotDatafeedSubscriptionRequest.h index 5c01f465..b6a182fb 100644 --- a/src/include/EC2/EC2CreateSpotDatafeedSubscriptionRequest.h +++ b/src/include/EC2/EC2CreateSpotDatafeedSubscriptionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSpotDatafeedSubscriptionRequestMarshaller.h b/src/include/EC2/EC2CreateSpotDatafeedSubscriptionRequestMarshaller.h index 571502e1..5e47bbb6 100644 --- a/src/include/EC2/EC2CreateSpotDatafeedSubscriptionRequestMarshaller.h +++ b/src/include/EC2/EC2CreateSpotDatafeedSubscriptionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSpotDatafeedSubscriptionResponse.h b/src/include/EC2/EC2CreateSpotDatafeedSubscriptionResponse.h index 87a46413..b1a324e7 100644 --- a/src/include/EC2/EC2CreateSpotDatafeedSubscriptionResponse.h +++ b/src/include/EC2/EC2CreateSpotDatafeedSubscriptionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateSpotDatafeedSubscriptionResponseUnmarshaller.h b/src/include/EC2/EC2CreateSpotDatafeedSubscriptionResponseUnmarshaller.h index d6d4e6e0..520165cd 100644 --- a/src/include/EC2/EC2CreateSpotDatafeedSubscriptionResponseUnmarshaller.h +++ b/src/include/EC2/EC2CreateSpotDatafeedSubscriptionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateTagsRequest.h b/src/include/EC2/EC2CreateTagsRequest.h index 5dd0804c..e0a885c1 100644 --- a/src/include/EC2/EC2CreateTagsRequest.h +++ b/src/include/EC2/EC2CreateTagsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateTagsRequestMarshaller.h b/src/include/EC2/EC2CreateTagsRequestMarshaller.h index de0e0610..4248e452 100644 --- a/src/include/EC2/EC2CreateTagsRequestMarshaller.h +++ b/src/include/EC2/EC2CreateTagsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateTagsResponse.h b/src/include/EC2/EC2CreateTagsResponse.h index 8e65bf06..a0dd8c90 100644 --- a/src/include/EC2/EC2CreateTagsResponse.h +++ b/src/include/EC2/EC2CreateTagsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateTagsResponseUnmarshaller.h b/src/include/EC2/EC2CreateTagsResponseUnmarshaller.h index 70c28248..92aa8db4 100644 --- a/src/include/EC2/EC2CreateTagsResponseUnmarshaller.h +++ b/src/include/EC2/EC2CreateTagsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateVolumePermission.h b/src/include/EC2/EC2CreateVolumePermission.h index e95d93a4..657d4e78 100644 --- a/src/include/EC2/EC2CreateVolumePermission.h +++ b/src/include/EC2/EC2CreateVolumePermission.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateVolumePermissionModifications.h b/src/include/EC2/EC2CreateVolumePermissionModifications.h index 66b04f9a..94f59bf5 100644 --- a/src/include/EC2/EC2CreateVolumePermissionModifications.h +++ b/src/include/EC2/EC2CreateVolumePermissionModifications.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateVolumePermissionUnmarshaller.h b/src/include/EC2/EC2CreateVolumePermissionUnmarshaller.h index ce5eafad..7634957c 100644 --- a/src/include/EC2/EC2CreateVolumePermissionUnmarshaller.h +++ b/src/include/EC2/EC2CreateVolumePermissionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateVolumeRequest.h b/src/include/EC2/EC2CreateVolumeRequest.h index 27219d34..faf70e45 100644 --- a/src/include/EC2/EC2CreateVolumeRequest.h +++ b/src/include/EC2/EC2CreateVolumeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateVolumeRequestMarshaller.h b/src/include/EC2/EC2CreateVolumeRequestMarshaller.h index f4b5f5af..2bbabc89 100644 --- a/src/include/EC2/EC2CreateVolumeRequestMarshaller.h +++ b/src/include/EC2/EC2CreateVolumeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateVolumeResponse.h b/src/include/EC2/EC2CreateVolumeResponse.h index a515e9d8..fe7f05e0 100644 --- a/src/include/EC2/EC2CreateVolumeResponse.h +++ b/src/include/EC2/EC2CreateVolumeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2CreateVolumeResponseUnmarshaller.h b/src/include/EC2/EC2CreateVolumeResponseUnmarshaller.h index 84725ec4..b865289d 100644 --- a/src/include/EC2/EC2CreateVolumeResponseUnmarshaller.h +++ b/src/include/EC2/EC2CreateVolumeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeactivateLicenseRequest.h b/src/include/EC2/EC2DeactivateLicenseRequest.h index 6f458ce4..e66cdcd4 100644 --- a/src/include/EC2/EC2DeactivateLicenseRequest.h +++ b/src/include/EC2/EC2DeactivateLicenseRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeactivateLicenseRequestMarshaller.h b/src/include/EC2/EC2DeactivateLicenseRequestMarshaller.h index 4773572a..de1363ac 100644 --- a/src/include/EC2/EC2DeactivateLicenseRequestMarshaller.h +++ b/src/include/EC2/EC2DeactivateLicenseRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeactivateLicenseResponse.h b/src/include/EC2/EC2DeactivateLicenseResponse.h index 4a240a53..32205938 100644 --- a/src/include/EC2/EC2DeactivateLicenseResponse.h +++ b/src/include/EC2/EC2DeactivateLicenseResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeactivateLicenseResponseUnmarshaller.h b/src/include/EC2/EC2DeactivateLicenseResponseUnmarshaller.h index aa15cd82..b7f10947 100644 --- a/src/include/EC2/EC2DeactivateLicenseResponseUnmarshaller.h +++ b/src/include/EC2/EC2DeactivateLicenseResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteKeyPairRequest.h b/src/include/EC2/EC2DeleteKeyPairRequest.h index 66c7ac54..e4edd7bf 100644 --- a/src/include/EC2/EC2DeleteKeyPairRequest.h +++ b/src/include/EC2/EC2DeleteKeyPairRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteKeyPairRequestMarshaller.h b/src/include/EC2/EC2DeleteKeyPairRequestMarshaller.h index 5fe729c5..4a651ae3 100644 --- a/src/include/EC2/EC2DeleteKeyPairRequestMarshaller.h +++ b/src/include/EC2/EC2DeleteKeyPairRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteKeyPairResponse.h b/src/include/EC2/EC2DeleteKeyPairResponse.h index d8955537..f36f6c94 100644 --- a/src/include/EC2/EC2DeleteKeyPairResponse.h +++ b/src/include/EC2/EC2DeleteKeyPairResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteKeyPairResponseUnmarshaller.h b/src/include/EC2/EC2DeleteKeyPairResponseUnmarshaller.h index 09a5b0e0..006db84c 100644 --- a/src/include/EC2/EC2DeleteKeyPairResponseUnmarshaller.h +++ b/src/include/EC2/EC2DeleteKeyPairResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeletePlacementGroupRequest.h b/src/include/EC2/EC2DeletePlacementGroupRequest.h index efefd39c..0bea1cd5 100644 --- a/src/include/EC2/EC2DeletePlacementGroupRequest.h +++ b/src/include/EC2/EC2DeletePlacementGroupRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeletePlacementGroupRequestMarshaller.h b/src/include/EC2/EC2DeletePlacementGroupRequestMarshaller.h index 5942c41c..7e014512 100644 --- a/src/include/EC2/EC2DeletePlacementGroupRequestMarshaller.h +++ b/src/include/EC2/EC2DeletePlacementGroupRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeletePlacementGroupResponse.h b/src/include/EC2/EC2DeletePlacementGroupResponse.h index c4a8bf30..4a0dad6c 100644 --- a/src/include/EC2/EC2DeletePlacementGroupResponse.h +++ b/src/include/EC2/EC2DeletePlacementGroupResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeletePlacementGroupResponseUnmarshaller.h b/src/include/EC2/EC2DeletePlacementGroupResponseUnmarshaller.h index d5742d0c..24a814e4 100644 --- a/src/include/EC2/EC2DeletePlacementGroupResponseUnmarshaller.h +++ b/src/include/EC2/EC2DeletePlacementGroupResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSecurityGroupRequest.h b/src/include/EC2/EC2DeleteSecurityGroupRequest.h index d5522502..cba955af 100644 --- a/src/include/EC2/EC2DeleteSecurityGroupRequest.h +++ b/src/include/EC2/EC2DeleteSecurityGroupRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSecurityGroupRequestMarshaller.h b/src/include/EC2/EC2DeleteSecurityGroupRequestMarshaller.h index 47d93c79..d8e2b342 100644 --- a/src/include/EC2/EC2DeleteSecurityGroupRequestMarshaller.h +++ b/src/include/EC2/EC2DeleteSecurityGroupRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSecurityGroupResponse.h b/src/include/EC2/EC2DeleteSecurityGroupResponse.h index ab78613f..ce9f1639 100644 --- a/src/include/EC2/EC2DeleteSecurityGroupResponse.h +++ b/src/include/EC2/EC2DeleteSecurityGroupResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSecurityGroupResponseUnmarshaller.h b/src/include/EC2/EC2DeleteSecurityGroupResponseUnmarshaller.h index dee24107..03fe521e 100644 --- a/src/include/EC2/EC2DeleteSecurityGroupResponseUnmarshaller.h +++ b/src/include/EC2/EC2DeleteSecurityGroupResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSnapshotRequest.h b/src/include/EC2/EC2DeleteSnapshotRequest.h index 8b9d8c65..c8827657 100644 --- a/src/include/EC2/EC2DeleteSnapshotRequest.h +++ b/src/include/EC2/EC2DeleteSnapshotRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSnapshotRequestMarshaller.h b/src/include/EC2/EC2DeleteSnapshotRequestMarshaller.h index 92b44bed..bad42ba8 100644 --- a/src/include/EC2/EC2DeleteSnapshotRequestMarshaller.h +++ b/src/include/EC2/EC2DeleteSnapshotRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSnapshotResponse.h b/src/include/EC2/EC2DeleteSnapshotResponse.h index 84e16c7b..8f9345ab 100644 --- a/src/include/EC2/EC2DeleteSnapshotResponse.h +++ b/src/include/EC2/EC2DeleteSnapshotResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSnapshotResponseUnmarshaller.h b/src/include/EC2/EC2DeleteSnapshotResponseUnmarshaller.h index a7645077..7cc02c02 100644 --- a/src/include/EC2/EC2DeleteSnapshotResponseUnmarshaller.h +++ b/src/include/EC2/EC2DeleteSnapshotResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionRequest.h b/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionRequest.h index 656039f0..e4dd971a 100644 --- a/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionRequest.h +++ b/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionRequestMarshaller.h b/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionRequestMarshaller.h index 7c2dd71d..99df53b3 100644 --- a/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionRequestMarshaller.h +++ b/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionResponse.h b/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionResponse.h index 141a6c19..5505e4c9 100644 --- a/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionResponse.h +++ b/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionResponseUnmarshaller.h b/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionResponseUnmarshaller.h index 3b968557..804240c0 100644 --- a/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionResponseUnmarshaller.h +++ b/src/include/EC2/EC2DeleteSpotDatafeedSubscriptionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteTagsRequest.h b/src/include/EC2/EC2DeleteTagsRequest.h index d64227fa..0cabeb2c 100644 --- a/src/include/EC2/EC2DeleteTagsRequest.h +++ b/src/include/EC2/EC2DeleteTagsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteTagsRequestMarshaller.h b/src/include/EC2/EC2DeleteTagsRequestMarshaller.h index 57f32214..ae1b6318 100644 --- a/src/include/EC2/EC2DeleteTagsRequestMarshaller.h +++ b/src/include/EC2/EC2DeleteTagsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteTagsResponse.h b/src/include/EC2/EC2DeleteTagsResponse.h index 155f636a..75340b00 100644 --- a/src/include/EC2/EC2DeleteTagsResponse.h +++ b/src/include/EC2/EC2DeleteTagsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteTagsResponseUnmarshaller.h b/src/include/EC2/EC2DeleteTagsResponseUnmarshaller.h index 2751adda..b39371d9 100644 --- a/src/include/EC2/EC2DeleteTagsResponseUnmarshaller.h +++ b/src/include/EC2/EC2DeleteTagsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteVolumeRequest.h b/src/include/EC2/EC2DeleteVolumeRequest.h index bd760227..3a5b676a 100644 --- a/src/include/EC2/EC2DeleteVolumeRequest.h +++ b/src/include/EC2/EC2DeleteVolumeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteVolumeRequestMarshaller.h b/src/include/EC2/EC2DeleteVolumeRequestMarshaller.h index 811b3da9..ab3b5b05 100644 --- a/src/include/EC2/EC2DeleteVolumeRequestMarshaller.h +++ b/src/include/EC2/EC2DeleteVolumeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteVolumeResponse.h b/src/include/EC2/EC2DeleteVolumeResponse.h index b4b43c72..b41d7d90 100644 --- a/src/include/EC2/EC2DeleteVolumeResponse.h +++ b/src/include/EC2/EC2DeleteVolumeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeleteVolumeResponseUnmarshaller.h b/src/include/EC2/EC2DeleteVolumeResponseUnmarshaller.h index 7a6a6099..2694416c 100644 --- a/src/include/EC2/EC2DeleteVolumeResponseUnmarshaller.h +++ b/src/include/EC2/EC2DeleteVolumeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeregisterImageRequest.h b/src/include/EC2/EC2DeregisterImageRequest.h index 2ff90b07..5c3b50fe 100644 --- a/src/include/EC2/EC2DeregisterImageRequest.h +++ b/src/include/EC2/EC2DeregisterImageRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeregisterImageRequestMarshaller.h b/src/include/EC2/EC2DeregisterImageRequestMarshaller.h index f90d1a01..696b843b 100644 --- a/src/include/EC2/EC2DeregisterImageRequestMarshaller.h +++ b/src/include/EC2/EC2DeregisterImageRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeregisterImageResponse.h b/src/include/EC2/EC2DeregisterImageResponse.h index 39f3a73f..6e5a761a 100644 --- a/src/include/EC2/EC2DeregisterImageResponse.h +++ b/src/include/EC2/EC2DeregisterImageResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DeregisterImageResponseUnmarshaller.h b/src/include/EC2/EC2DeregisterImageResponseUnmarshaller.h index 7aef1aaa..e304a08d 100644 --- a/src/include/EC2/EC2DeregisterImageResponseUnmarshaller.h +++ b/src/include/EC2/EC2DeregisterImageResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeAddressesRequest.h b/src/include/EC2/EC2DescribeAddressesRequest.h index da3d9e6f..98982a04 100644 --- a/src/include/EC2/EC2DescribeAddressesRequest.h +++ b/src/include/EC2/EC2DescribeAddressesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeAddressesRequestMarshaller.h b/src/include/EC2/EC2DescribeAddressesRequestMarshaller.h index e1cc9d7c..531d0198 100644 --- a/src/include/EC2/EC2DescribeAddressesRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeAddressesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeAddressesResponse.h b/src/include/EC2/EC2DescribeAddressesResponse.h index b7dbb9ae..0978d42a 100644 --- a/src/include/EC2/EC2DescribeAddressesResponse.h +++ b/src/include/EC2/EC2DescribeAddressesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeAddressesResponseUnmarshaller.h b/src/include/EC2/EC2DescribeAddressesResponseUnmarshaller.h index 0852b139..781e98dc 100644 --- a/src/include/EC2/EC2DescribeAddressesResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeAddressesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeAvailabilityZonesRequest.h b/src/include/EC2/EC2DescribeAvailabilityZonesRequest.h index 0438e6e6..201db62b 100644 --- a/src/include/EC2/EC2DescribeAvailabilityZonesRequest.h +++ b/src/include/EC2/EC2DescribeAvailabilityZonesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeAvailabilityZonesRequestMarshaller.h b/src/include/EC2/EC2DescribeAvailabilityZonesRequestMarshaller.h index 8223a475..cdb08026 100644 --- a/src/include/EC2/EC2DescribeAvailabilityZonesRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeAvailabilityZonesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeAvailabilityZonesResponse.h b/src/include/EC2/EC2DescribeAvailabilityZonesResponse.h index 2a9021b4..8e4f9ca5 100644 --- a/src/include/EC2/EC2DescribeAvailabilityZonesResponse.h +++ b/src/include/EC2/EC2DescribeAvailabilityZonesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeAvailabilityZonesResponseUnmarshaller.h b/src/include/EC2/EC2DescribeAvailabilityZonesResponseUnmarshaller.h index 332e4a9b..5d78fb69 100644 --- a/src/include/EC2/EC2DescribeAvailabilityZonesResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeAvailabilityZonesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeBundleTasksRequest.h b/src/include/EC2/EC2DescribeBundleTasksRequest.h index 2720ab1c..1e2cc5c8 100644 --- a/src/include/EC2/EC2DescribeBundleTasksRequest.h +++ b/src/include/EC2/EC2DescribeBundleTasksRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeBundleTasksRequestMarshaller.h b/src/include/EC2/EC2DescribeBundleTasksRequestMarshaller.h index 833f7734..38090fb9 100644 --- a/src/include/EC2/EC2DescribeBundleTasksRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeBundleTasksRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeBundleTasksResponse.h b/src/include/EC2/EC2DescribeBundleTasksResponse.h index c6101f12..2e2fb528 100644 --- a/src/include/EC2/EC2DescribeBundleTasksResponse.h +++ b/src/include/EC2/EC2DescribeBundleTasksResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeBundleTasksResponseUnmarshaller.h b/src/include/EC2/EC2DescribeBundleTasksResponseUnmarshaller.h index 281ce504..7873a4ce 100644 --- a/src/include/EC2/EC2DescribeBundleTasksResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeBundleTasksResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeImageAttributeRequest.h b/src/include/EC2/EC2DescribeImageAttributeRequest.h index e4c38def..4c8165f2 100644 --- a/src/include/EC2/EC2DescribeImageAttributeRequest.h +++ b/src/include/EC2/EC2DescribeImageAttributeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeImageAttributeRequestMarshaller.h b/src/include/EC2/EC2DescribeImageAttributeRequestMarshaller.h index a252ae58..95a5667d 100644 --- a/src/include/EC2/EC2DescribeImageAttributeRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeImageAttributeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeImageAttributeResponse.h b/src/include/EC2/EC2DescribeImageAttributeResponse.h index d5d3cb6b..97325ac6 100644 --- a/src/include/EC2/EC2DescribeImageAttributeResponse.h +++ b/src/include/EC2/EC2DescribeImageAttributeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeImageAttributeResponseUnmarshaller.h b/src/include/EC2/EC2DescribeImageAttributeResponseUnmarshaller.h index 03e1a1bf..f057523d 100644 --- a/src/include/EC2/EC2DescribeImageAttributeResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeImageAttributeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeImagesRequest.h b/src/include/EC2/EC2DescribeImagesRequest.h index df52559a..d496d3bc 100644 --- a/src/include/EC2/EC2DescribeImagesRequest.h +++ b/src/include/EC2/EC2DescribeImagesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeImagesRequestMarshaller.h b/src/include/EC2/EC2DescribeImagesRequestMarshaller.h index 223340b2..cc7263f5 100644 --- a/src/include/EC2/EC2DescribeImagesRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeImagesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeImagesResponse.h b/src/include/EC2/EC2DescribeImagesResponse.h index 86869b0e..4603b5fd 100644 --- a/src/include/EC2/EC2DescribeImagesResponse.h +++ b/src/include/EC2/EC2DescribeImagesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeImagesResponseUnmarshaller.h b/src/include/EC2/EC2DescribeImagesResponseUnmarshaller.h index d710b408..2d9acb9a 100644 --- a/src/include/EC2/EC2DescribeImagesResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeImagesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeInstanceAttributeRequest.h b/src/include/EC2/EC2DescribeInstanceAttributeRequest.h index 0a46213c..d00c460f 100644 --- a/src/include/EC2/EC2DescribeInstanceAttributeRequest.h +++ b/src/include/EC2/EC2DescribeInstanceAttributeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeInstanceAttributeRequestMarshaller.h b/src/include/EC2/EC2DescribeInstanceAttributeRequestMarshaller.h index 792c3c62..ec2ec986 100644 --- a/src/include/EC2/EC2DescribeInstanceAttributeRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeInstanceAttributeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeInstanceAttributeResponse.h b/src/include/EC2/EC2DescribeInstanceAttributeResponse.h index 72c52c11..9015b4fe 100644 --- a/src/include/EC2/EC2DescribeInstanceAttributeResponse.h +++ b/src/include/EC2/EC2DescribeInstanceAttributeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeInstanceAttributeResponseUnmarshaller.h b/src/include/EC2/EC2DescribeInstanceAttributeResponseUnmarshaller.h index ebe7ef6b..2563016f 100644 --- a/src/include/EC2/EC2DescribeInstanceAttributeResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeInstanceAttributeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeInstanceStatusRequest.h b/src/include/EC2/EC2DescribeInstanceStatusRequest.h new file mode 100644 index 00000000..30781cc2 --- /dev/null +++ b/src/include/EC2/EC2DescribeInstanceStatusRequest.h @@ -0,0 +1,88 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2Filter.h" + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Describe Instance Status Request + * + * \ingroup EC2 + */ + +@interface EC2DescribeInstanceStatusRequest:AmazonServiceRequestConfig + +{ + NSMutableArray *instanceIds; + NSMutableArray *filters; + NSString *nextToken; + NSNumber *maxResults; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The list of instance IDs. If not specified, all instances are + * described. + */ +@property (nonatomic, retain) NSMutableArray *instanceIds; + +/** + * The list of filters to limit returned results. + */ +@property (nonatomic, retain) NSMutableArray *filters; + +/** + * A string specifying the next paginated set of results to return. + */ +@property (nonatomic, retain) NSString *nextToken; + +/** + * The maximum number of paginated instance items per response. + */ +@property (nonatomic, retain) NSNumber *maxResults; + +/** + * Adds a single object to instanceIds. + * This function will alloc and init instanceIds if not already done. + */ +-(void)addInstanceId:(NSString *)instanceIdObject; + +/** + * Adds a single object to filters. + * This function will alloc and init filters if not already done. + */ +-(void)addFilter:(EC2Filter *)filterObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/EC2/EC2DescribeInstanceStatusRequestMarshaller.h b/src/include/EC2/EC2DescribeInstanceStatusRequestMarshaller.h new file mode 100644 index 00000000..02f3bc92 --- /dev/null +++ b/src/include/EC2/EC2DescribeInstanceStatusRequestMarshaller.h @@ -0,0 +1,35 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceRequest.h" + +#import "EC2Request.h" +#import "EC2DescribeInstanceStatusRequest.h" +#import "EC2Filter.h" +#import "EC2Filter.h" + + +/** + * Describe Instance Status Request Marshaller + */ +@interface EC2DescribeInstanceStatusRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(EC2DescribeInstanceStatusRequest *)describeInstanceStatusRequest; + + +@end + diff --git a/src/include/EC2/EC2DescribeInstanceStatusResponse.h b/src/include/EC2/EC2DescribeInstanceStatusResponse.h new file mode 100644 index 00000000..daa12ab4 --- /dev/null +++ b/src/include/EC2/EC2DescribeInstanceStatusResponse.h @@ -0,0 +1,74 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2InstanceStatus.h" + +#import "EC2Response.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + + + +/** + * Describe Instance Status Response + * + * \ingroup EC2 + */ + +@interface EC2DescribeInstanceStatusResponse:EC2Response + +{ + NSMutableArray *instanceStatuses; + NSString *nextToken; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Collection of instance statuses describing the state of the requested + * instances. + */ +@property (nonatomic, retain) NSMutableArray *instanceStatuses; + +/** + * A string specifying the next paginated set of results to return. + */ +@property (nonatomic, retain) NSString *nextToken; + + + +/** + * Returns a value from the instanceStatuses array for the specified index + */ +-(EC2InstanceStatus *)instanceStatusesObjectAtIndex:(int)index; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/EC2/EC2DescribeInstanceStatusResponseUnmarshaller.h b/src/include/EC2/EC2DescribeInstanceStatusResponseUnmarshaller.h new file mode 100644 index 00000000..468c2e38 --- /dev/null +++ b/src/include/EC2/EC2DescribeInstanceStatusResponseUnmarshaller.h @@ -0,0 +1,40 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "EC2DescribeInstanceStatusResponse.h" +#import "EC2ResponseUnmarshaller.h" +#import "../AmazonValueUnmarshaller.h" +#import "../AmazonBoolValueUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" +#import "EC2InstanceStatusUnmarshaller.h" + + +/** + * Describe Instance Status Response Unmarshaller + */ +@interface EC2DescribeInstanceStatusResponseUnmarshaller:EC2ResponseUnmarshaller { + EC2DescribeInstanceStatusResponse *response; +} + + +@property (nonatomic, readonly) EC2DescribeInstanceStatusResponse *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + + +@end diff --git a/src/include/EC2/EC2DescribeInstancesRequest.h b/src/include/EC2/EC2DescribeInstancesRequest.h index 12e14e61..b86a77ce 100644 --- a/src/include/EC2/EC2DescribeInstancesRequest.h +++ b/src/include/EC2/EC2DescribeInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -50,7 +50,7 @@ * A list of filters used to match properties for Instances. For a * complete reference to the available filter keys for this operation, * see the Amazon + * Reference/index.html?ApiReference-query-DescribeInstances.html">Amazon * EC2 API reference. */ @property (nonatomic, retain) NSMutableArray *filters; diff --git a/src/include/EC2/EC2DescribeInstancesRequestMarshaller.h b/src/include/EC2/EC2DescribeInstancesRequestMarshaller.h index 114883e9..2f7a2864 100644 --- a/src/include/EC2/EC2DescribeInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeInstancesResponse.h b/src/include/EC2/EC2DescribeInstancesResponse.h index b126862b..06999ead 100644 --- a/src/include/EC2/EC2DescribeInstancesResponse.h +++ b/src/include/EC2/EC2DescribeInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeInstancesResponseUnmarshaller.h b/src/include/EC2/EC2DescribeInstancesResponseUnmarshaller.h index d259abbd..521758db 100644 --- a/src/include/EC2/EC2DescribeInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeKeyPairsRequest.h b/src/include/EC2/EC2DescribeKeyPairsRequest.h index df53f222..2ccdf0c5 100644 --- a/src/include/EC2/EC2DescribeKeyPairsRequest.h +++ b/src/include/EC2/EC2DescribeKeyPairsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeKeyPairsRequestMarshaller.h b/src/include/EC2/EC2DescribeKeyPairsRequestMarshaller.h index e3030f44..3e78e921 100644 --- a/src/include/EC2/EC2DescribeKeyPairsRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeKeyPairsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeKeyPairsResponse.h b/src/include/EC2/EC2DescribeKeyPairsResponse.h index 15a32cc5..7cf2458c 100644 --- a/src/include/EC2/EC2DescribeKeyPairsResponse.h +++ b/src/include/EC2/EC2DescribeKeyPairsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeKeyPairsResponseUnmarshaller.h b/src/include/EC2/EC2DescribeKeyPairsResponseUnmarshaller.h index b60a4228..a3e57134 100644 --- a/src/include/EC2/EC2DescribeKeyPairsResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeKeyPairsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeLicensesRequest.h b/src/include/EC2/EC2DescribeLicensesRequest.h index 54fbfeaa..ab57132c 100644 --- a/src/include/EC2/EC2DescribeLicensesRequest.h +++ b/src/include/EC2/EC2DescribeLicensesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeLicensesRequestMarshaller.h b/src/include/EC2/EC2DescribeLicensesRequestMarshaller.h index e81f5052..b3e81dfc 100644 --- a/src/include/EC2/EC2DescribeLicensesRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeLicensesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeLicensesResponse.h b/src/include/EC2/EC2DescribeLicensesResponse.h index dd5b6a15..d3c21bf3 100644 --- a/src/include/EC2/EC2DescribeLicensesResponse.h +++ b/src/include/EC2/EC2DescribeLicensesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeLicensesResponseUnmarshaller.h b/src/include/EC2/EC2DescribeLicensesResponseUnmarshaller.h index 5267c112..2a8ba40e 100644 --- a/src/include/EC2/EC2DescribeLicensesResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeLicensesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribePlacementGroupsRequest.h b/src/include/EC2/EC2DescribePlacementGroupsRequest.h index 284aa294..66fce026 100644 --- a/src/include/EC2/EC2DescribePlacementGroupsRequest.h +++ b/src/include/EC2/EC2DescribePlacementGroupsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribePlacementGroupsRequestMarshaller.h b/src/include/EC2/EC2DescribePlacementGroupsRequestMarshaller.h index 6b0a63ed..91d6ac15 100644 --- a/src/include/EC2/EC2DescribePlacementGroupsRequestMarshaller.h +++ b/src/include/EC2/EC2DescribePlacementGroupsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribePlacementGroupsResponse.h b/src/include/EC2/EC2DescribePlacementGroupsResponse.h index bf48be43..361088c4 100644 --- a/src/include/EC2/EC2DescribePlacementGroupsResponse.h +++ b/src/include/EC2/EC2DescribePlacementGroupsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribePlacementGroupsResponseUnmarshaller.h b/src/include/EC2/EC2DescribePlacementGroupsResponseUnmarshaller.h index 34f672a6..c8b75113 100644 --- a/src/include/EC2/EC2DescribePlacementGroupsResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribePlacementGroupsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeRegionsRequest.h b/src/include/EC2/EC2DescribeRegionsRequest.h index b5a467d0..a349ec27 100644 --- a/src/include/EC2/EC2DescribeRegionsRequest.h +++ b/src/include/EC2/EC2DescribeRegionsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeRegionsRequestMarshaller.h b/src/include/EC2/EC2DescribeRegionsRequestMarshaller.h index 005313ca..3cf1b3db 100644 --- a/src/include/EC2/EC2DescribeRegionsRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeRegionsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeRegionsResponse.h b/src/include/EC2/EC2DescribeRegionsResponse.h index 1d5b60bc..7456bc10 100644 --- a/src/include/EC2/EC2DescribeRegionsResponse.h +++ b/src/include/EC2/EC2DescribeRegionsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeRegionsResponseUnmarshaller.h b/src/include/EC2/EC2DescribeRegionsResponseUnmarshaller.h index f9998ddb..651074ff 100644 --- a/src/include/EC2/EC2DescribeRegionsResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeRegionsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeReservedInstancesOfferingsRequest.h b/src/include/EC2/EC2DescribeReservedInstancesOfferingsRequest.h index 312276b1..0a705ced 100644 --- a/src/include/EC2/EC2DescribeReservedInstancesOfferingsRequest.h +++ b/src/include/EC2/EC2DescribeReservedInstancesOfferingsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ NSString *productDescription; NSMutableArray *filters; NSString *instanceTenancy; + NSString *offeringType; } @@ -55,7 +56,7 @@ * The instance type on which the Reserved Instance can be used. *

* Constraints:
- * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cg1.4xlarge + * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge */ @property (nonatomic, retain) NSString *instanceType; @@ -85,6 +86,11 @@ */ @property (nonatomic, retain) NSString *instanceTenancy; +/** + * The Reserved Instance offering type. + */ +@property (nonatomic, retain) NSString *offeringType; + /** * Adds a single object to reservedInstancesOfferingIds. * This function will alloc and init reservedInstancesOfferingIds if not already done. diff --git a/src/include/EC2/EC2DescribeReservedInstancesOfferingsRequestMarshaller.h b/src/include/EC2/EC2DescribeReservedInstancesOfferingsRequestMarshaller.h index 5e3df398..6f14720e 100644 --- a/src/include/EC2/EC2DescribeReservedInstancesOfferingsRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeReservedInstancesOfferingsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeReservedInstancesOfferingsResponse.h b/src/include/EC2/EC2DescribeReservedInstancesOfferingsResponse.h index 0c77b6cd..81812284 100644 --- a/src/include/EC2/EC2DescribeReservedInstancesOfferingsResponse.h +++ b/src/include/EC2/EC2DescribeReservedInstancesOfferingsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeReservedInstancesOfferingsResponseUnmarshaller.h b/src/include/EC2/EC2DescribeReservedInstancesOfferingsResponseUnmarshaller.h index 1b98cf8f..d362b156 100644 --- a/src/include/EC2/EC2DescribeReservedInstancesOfferingsResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeReservedInstancesOfferingsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeReservedInstancesRequest.h b/src/include/EC2/EC2DescribeReservedInstancesRequest.h index f3646c57..a0297808 100644 --- a/src/include/EC2/EC2DescribeReservedInstancesRequest.h +++ b/src/include/EC2/EC2DescribeReservedInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ { NSMutableArray *reservedInstancesIds; NSMutableArray *filters; + NSString *offeringType; } @@ -55,6 +56,11 @@ */ @property (nonatomic, retain) NSMutableArray *filters; +/** + * The Reserved Instance offering type. + */ +@property (nonatomic, retain) NSString *offeringType; + /** * Adds a single object to reservedInstancesIds. * This function will alloc and init reservedInstancesIds if not already done. diff --git a/src/include/EC2/EC2DescribeReservedInstancesRequestMarshaller.h b/src/include/EC2/EC2DescribeReservedInstancesRequestMarshaller.h index d85aa4cf..8d194c3e 100644 --- a/src/include/EC2/EC2DescribeReservedInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeReservedInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeReservedInstancesResponse.h b/src/include/EC2/EC2DescribeReservedInstancesResponse.h index 3e2c3c77..fb7f3d5e 100644 --- a/src/include/EC2/EC2DescribeReservedInstancesResponse.h +++ b/src/include/EC2/EC2DescribeReservedInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeReservedInstancesResponseUnmarshaller.h b/src/include/EC2/EC2DescribeReservedInstancesResponseUnmarshaller.h index 0b1f6a68..5dc86ff3 100644 --- a/src/include/EC2/EC2DescribeReservedInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeReservedInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSecurityGroupsRequest.h b/src/include/EC2/EC2DescribeSecurityGroupsRequest.h index 5825ee68..3f7e688e 100644 --- a/src/include/EC2/EC2DescribeSecurityGroupsRequest.h +++ b/src/include/EC2/EC2DescribeSecurityGroupsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSecurityGroupsRequestMarshaller.h b/src/include/EC2/EC2DescribeSecurityGroupsRequestMarshaller.h index 2f52431c..db060ac9 100644 --- a/src/include/EC2/EC2DescribeSecurityGroupsRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeSecurityGroupsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSecurityGroupsResponse.h b/src/include/EC2/EC2DescribeSecurityGroupsResponse.h index 55d98b45..27d46d5c 100644 --- a/src/include/EC2/EC2DescribeSecurityGroupsResponse.h +++ b/src/include/EC2/EC2DescribeSecurityGroupsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSecurityGroupsResponseUnmarshaller.h b/src/include/EC2/EC2DescribeSecurityGroupsResponseUnmarshaller.h index 1ef08424..6fa17463 100644 --- a/src/include/EC2/EC2DescribeSecurityGroupsResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeSecurityGroupsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSnapshotAttributeRequest.h b/src/include/EC2/EC2DescribeSnapshotAttributeRequest.h index 415eba51..a805a9be 100644 --- a/src/include/EC2/EC2DescribeSnapshotAttributeRequest.h +++ b/src/include/EC2/EC2DescribeSnapshotAttributeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSnapshotAttributeRequestMarshaller.h b/src/include/EC2/EC2DescribeSnapshotAttributeRequestMarshaller.h index d071d967..c84e4e6e 100644 --- a/src/include/EC2/EC2DescribeSnapshotAttributeRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeSnapshotAttributeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSnapshotAttributeResponse.h b/src/include/EC2/EC2DescribeSnapshotAttributeResponse.h index ac76ef53..cdd7e0d3 100644 --- a/src/include/EC2/EC2DescribeSnapshotAttributeResponse.h +++ b/src/include/EC2/EC2DescribeSnapshotAttributeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSnapshotAttributeResponseUnmarshaller.h b/src/include/EC2/EC2DescribeSnapshotAttributeResponseUnmarshaller.h index 38d775bb..cfd1e01a 100644 --- a/src/include/EC2/EC2DescribeSnapshotAttributeResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeSnapshotAttributeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSnapshotsRequest.h b/src/include/EC2/EC2DescribeSnapshotsRequest.h index af4c9ab2..b9fbe882 100644 --- a/src/include/EC2/EC2DescribeSnapshotsRequest.h +++ b/src/include/EC2/EC2DescribeSnapshotsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSnapshotsRequestMarshaller.h b/src/include/EC2/EC2DescribeSnapshotsRequestMarshaller.h index 964c71d3..d48a74a8 100644 --- a/src/include/EC2/EC2DescribeSnapshotsRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeSnapshotsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSnapshotsResponse.h b/src/include/EC2/EC2DescribeSnapshotsResponse.h index 3c673bb7..6867af32 100644 --- a/src/include/EC2/EC2DescribeSnapshotsResponse.h +++ b/src/include/EC2/EC2DescribeSnapshotsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSnapshotsResponseUnmarshaller.h b/src/include/EC2/EC2DescribeSnapshotsResponseUnmarshaller.h index aea0b2bb..dfcb0160 100644 --- a/src/include/EC2/EC2DescribeSnapshotsResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeSnapshotsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionRequest.h b/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionRequest.h index f94f5bfe..49a9ea04 100644 --- a/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionRequest.h +++ b/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionRequestMarshaller.h b/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionRequestMarshaller.h index 54da68d6..95c208d2 100644 --- a/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionResponse.h b/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionResponse.h index 09f1648a..6afb400e 100644 --- a/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionResponse.h +++ b/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionResponseUnmarshaller.h b/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionResponseUnmarshaller.h index baa2d0fd..b68e51f5 100644 --- a/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeSpotDatafeedSubscriptionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotInstanceRequestsRequest.h b/src/include/EC2/EC2DescribeSpotInstanceRequestsRequest.h index 111138ae..bfc7de88 100644 --- a/src/include/EC2/EC2DescribeSpotInstanceRequestsRequest.h +++ b/src/include/EC2/EC2DescribeSpotInstanceRequestsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotInstanceRequestsRequestMarshaller.h b/src/include/EC2/EC2DescribeSpotInstanceRequestsRequestMarshaller.h index dcb309ce..a3b833f9 100644 --- a/src/include/EC2/EC2DescribeSpotInstanceRequestsRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeSpotInstanceRequestsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotInstanceRequestsResponse.h b/src/include/EC2/EC2DescribeSpotInstanceRequestsResponse.h index 0b44316c..cee66b1d 100644 --- a/src/include/EC2/EC2DescribeSpotInstanceRequestsResponse.h +++ b/src/include/EC2/EC2DescribeSpotInstanceRequestsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotInstanceRequestsResponseUnmarshaller.h b/src/include/EC2/EC2DescribeSpotInstanceRequestsResponseUnmarshaller.h index f068308f..7f809520 100644 --- a/src/include/EC2/EC2DescribeSpotInstanceRequestsResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeSpotInstanceRequestsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotPriceHistoryRequest.h b/src/include/EC2/EC2DescribeSpotPriceHistoryRequest.h index b5a11194..bcdaf267 100644 --- a/src/include/EC2/EC2DescribeSpotPriceHistoryRequest.h +++ b/src/include/EC2/EC2DescribeSpotPriceHistoryRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotPriceHistoryRequestMarshaller.h b/src/include/EC2/EC2DescribeSpotPriceHistoryRequestMarshaller.h index 9dea498f..c6d61a74 100644 --- a/src/include/EC2/EC2DescribeSpotPriceHistoryRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeSpotPriceHistoryRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotPriceHistoryResponse.h b/src/include/EC2/EC2DescribeSpotPriceHistoryResponse.h index c2979de6..dce246d0 100644 --- a/src/include/EC2/EC2DescribeSpotPriceHistoryResponse.h +++ b/src/include/EC2/EC2DescribeSpotPriceHistoryResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeSpotPriceHistoryResponseUnmarshaller.h b/src/include/EC2/EC2DescribeSpotPriceHistoryResponseUnmarshaller.h index ff3c51f1..25f17a29 100644 --- a/src/include/EC2/EC2DescribeSpotPriceHistoryResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeSpotPriceHistoryResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeTagsRequest.h b/src/include/EC2/EC2DescribeTagsRequest.h index 4ddc389e..52bd7a7a 100644 --- a/src/include/EC2/EC2DescribeTagsRequest.h +++ b/src/include/EC2/EC2DescribeTagsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeTagsRequestMarshaller.h b/src/include/EC2/EC2DescribeTagsRequestMarshaller.h index a9f02b21..03408921 100644 --- a/src/include/EC2/EC2DescribeTagsRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeTagsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeTagsResponse.h b/src/include/EC2/EC2DescribeTagsResponse.h index 6a4dddb7..fac6cdb5 100644 --- a/src/include/EC2/EC2DescribeTagsResponse.h +++ b/src/include/EC2/EC2DescribeTagsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeTagsResponseUnmarshaller.h b/src/include/EC2/EC2DescribeTagsResponseUnmarshaller.h index c0511fb2..13da73bf 100644 --- a/src/include/EC2/EC2DescribeTagsResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeTagsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeVolumesRequest.h b/src/include/EC2/EC2DescribeVolumesRequest.h index 84a1ba38..87e78e33 100644 --- a/src/include/EC2/EC2DescribeVolumesRequest.h +++ b/src/include/EC2/EC2DescribeVolumesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeVolumesRequestMarshaller.h b/src/include/EC2/EC2DescribeVolumesRequestMarshaller.h index 045a900e..6f81e565 100644 --- a/src/include/EC2/EC2DescribeVolumesRequestMarshaller.h +++ b/src/include/EC2/EC2DescribeVolumesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeVolumesResponse.h b/src/include/EC2/EC2DescribeVolumesResponse.h index 046a1e42..d56337d2 100644 --- a/src/include/EC2/EC2DescribeVolumesResponse.h +++ b/src/include/EC2/EC2DescribeVolumesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DescribeVolumesResponseUnmarshaller.h b/src/include/EC2/EC2DescribeVolumesResponseUnmarshaller.h index 762d35d2..98a8f925 100644 --- a/src/include/EC2/EC2DescribeVolumesResponseUnmarshaller.h +++ b/src/include/EC2/EC2DescribeVolumesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DetachVolumeRequest.h b/src/include/EC2/EC2DetachVolumeRequest.h index c274e32e..41bf4ed1 100644 --- a/src/include/EC2/EC2DetachVolumeRequest.h +++ b/src/include/EC2/EC2DetachVolumeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DetachVolumeRequestMarshaller.h b/src/include/EC2/EC2DetachVolumeRequestMarshaller.h index a23b1fa2..353965a0 100644 --- a/src/include/EC2/EC2DetachVolumeRequestMarshaller.h +++ b/src/include/EC2/EC2DetachVolumeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DetachVolumeResponse.h b/src/include/EC2/EC2DetachVolumeResponse.h index 10bf5d42..d695e9b5 100644 --- a/src/include/EC2/EC2DetachVolumeResponse.h +++ b/src/include/EC2/EC2DetachVolumeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DetachVolumeResponseUnmarshaller.h b/src/include/EC2/EC2DetachVolumeResponseUnmarshaller.h index 926db0a8..3d15a780 100644 --- a/src/include/EC2/EC2DetachVolumeResponseUnmarshaller.h +++ b/src/include/EC2/EC2DetachVolumeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DisassociateAddressRequest.h b/src/include/EC2/EC2DisassociateAddressRequest.h index 5193f558..b4e278d6 100644 --- a/src/include/EC2/EC2DisassociateAddressRequest.h +++ b/src/include/EC2/EC2DisassociateAddressRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DisassociateAddressRequestMarshaller.h b/src/include/EC2/EC2DisassociateAddressRequestMarshaller.h index 01c25fc9..58fbae7f 100644 --- a/src/include/EC2/EC2DisassociateAddressRequestMarshaller.h +++ b/src/include/EC2/EC2DisassociateAddressRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DisassociateAddressResponse.h b/src/include/EC2/EC2DisassociateAddressResponse.h index 031d33e1..2534d445 100644 --- a/src/include/EC2/EC2DisassociateAddressResponse.h +++ b/src/include/EC2/EC2DisassociateAddressResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2DisassociateAddressResponseUnmarshaller.h b/src/include/EC2/EC2DisassociateAddressResponseUnmarshaller.h index a63107c7..b6551d35 100644 --- a/src/include/EC2/EC2DisassociateAddressResponseUnmarshaller.h +++ b/src/include/EC2/EC2DisassociateAddressResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2EbsBlockDevice.h b/src/include/EC2/EC2EbsBlockDevice.h index 893436a1..c1ce6320 100644 --- a/src/include/EC2/EC2EbsBlockDevice.h +++ b/src/include/EC2/EC2EbsBlockDevice.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2EbsBlockDeviceUnmarshaller.h b/src/include/EC2/EC2EbsBlockDeviceUnmarshaller.h index 1ff9a972..cc464ff3 100644 --- a/src/include/EC2/EC2EbsBlockDeviceUnmarshaller.h +++ b/src/include/EC2/EC2EbsBlockDeviceUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2EbsInstanceBlockDevice.h b/src/include/EC2/EC2EbsInstanceBlockDevice.h index 77445dcc..5ea2ccda 100644 --- a/src/include/EC2/EC2EbsInstanceBlockDevice.h +++ b/src/include/EC2/EC2EbsInstanceBlockDevice.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2EbsInstanceBlockDeviceSpecification.h b/src/include/EC2/EC2EbsInstanceBlockDeviceSpecification.h index 01c3949b..894e9148 100644 --- a/src/include/EC2/EC2EbsInstanceBlockDeviceSpecification.h +++ b/src/include/EC2/EC2EbsInstanceBlockDeviceSpecification.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2EbsInstanceBlockDeviceUnmarshaller.h b/src/include/EC2/EC2EbsInstanceBlockDeviceUnmarshaller.h index 735e3a4e..b0c31a0f 100644 --- a/src/include/EC2/EC2EbsInstanceBlockDeviceUnmarshaller.h +++ b/src/include/EC2/EC2EbsInstanceBlockDeviceUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Filter.h b/src/include/EC2/EC2Filter.h index aa571927..0a863174 100644 --- a/src/include/EC2/EC2Filter.h +++ b/src/include/EC2/EC2Filter.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GetConsoleOutputRequest.h b/src/include/EC2/EC2GetConsoleOutputRequest.h index 5d221661..6d17e1f5 100644 --- a/src/include/EC2/EC2GetConsoleOutputRequest.h +++ b/src/include/EC2/EC2GetConsoleOutputRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GetConsoleOutputRequestMarshaller.h b/src/include/EC2/EC2GetConsoleOutputRequestMarshaller.h index 2a022ff8..6220506b 100644 --- a/src/include/EC2/EC2GetConsoleOutputRequestMarshaller.h +++ b/src/include/EC2/EC2GetConsoleOutputRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GetConsoleOutputResponse.h b/src/include/EC2/EC2GetConsoleOutputResponse.h index 83712dca..6271b66a 100644 --- a/src/include/EC2/EC2GetConsoleOutputResponse.h +++ b/src/include/EC2/EC2GetConsoleOutputResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GetConsoleOutputResponseUnmarshaller.h b/src/include/EC2/EC2GetConsoleOutputResponseUnmarshaller.h index 264819c2..3e3f958b 100644 --- a/src/include/EC2/EC2GetConsoleOutputResponseUnmarshaller.h +++ b/src/include/EC2/EC2GetConsoleOutputResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GetPasswordDataRequest.h b/src/include/EC2/EC2GetPasswordDataRequest.h index 173a6c4d..e1e5fa5e 100644 --- a/src/include/EC2/EC2GetPasswordDataRequest.h +++ b/src/include/EC2/EC2GetPasswordDataRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GetPasswordDataRequestMarshaller.h b/src/include/EC2/EC2GetPasswordDataRequestMarshaller.h index 79ff6201..ddf4afc7 100644 --- a/src/include/EC2/EC2GetPasswordDataRequestMarshaller.h +++ b/src/include/EC2/EC2GetPasswordDataRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GetPasswordDataResponse.h b/src/include/EC2/EC2GetPasswordDataResponse.h index 11f7a39d..2bb1fe8d 100644 --- a/src/include/EC2/EC2GetPasswordDataResponse.h +++ b/src/include/EC2/EC2GetPasswordDataResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GetPasswordDataResponseUnmarshaller.h b/src/include/EC2/EC2GetPasswordDataResponseUnmarshaller.h index 6b02b92b..19bfe62a 100644 --- a/src/include/EC2/EC2GetPasswordDataResponseUnmarshaller.h +++ b/src/include/EC2/EC2GetPasswordDataResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GroupIdentifier.h b/src/include/EC2/EC2GroupIdentifier.h index 8012b8f2..fae1b0af 100644 --- a/src/include/EC2/EC2GroupIdentifier.h +++ b/src/include/EC2/EC2GroupIdentifier.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2GroupIdentifierUnmarshaller.h b/src/include/EC2/EC2GroupIdentifierUnmarshaller.h index c50e62c6..f2d13855 100644 --- a/src/include/EC2/EC2GroupIdentifierUnmarshaller.h +++ b/src/include/EC2/EC2GroupIdentifierUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Image.h b/src/include/EC2/EC2Image.h index b646702b..4feb2c6e 100644 --- a/src/include/EC2/EC2Image.h +++ b/src/include/EC2/EC2Image.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ImageAttribute.h b/src/include/EC2/EC2ImageAttribute.h index f6cdafa1..db6073fa 100644 --- a/src/include/EC2/EC2ImageAttribute.h +++ b/src/include/EC2/EC2ImageAttribute.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ImageAttributeUnmarshaller.h b/src/include/EC2/EC2ImageAttributeUnmarshaller.h index 0264b613..58ab0660 100644 --- a/src/include/EC2/EC2ImageAttributeUnmarshaller.h +++ b/src/include/EC2/EC2ImageAttributeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ImageUnmarshaller.h b/src/include/EC2/EC2ImageUnmarshaller.h index 64bc46a2..5b72c948 100644 --- a/src/include/EC2/EC2ImageUnmarshaller.h +++ b/src/include/EC2/EC2ImageUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ImportKeyPairRequest.h b/src/include/EC2/EC2ImportKeyPairRequest.h index 9c84d9e4..d731dc65 100644 --- a/src/include/EC2/EC2ImportKeyPairRequest.h +++ b/src/include/EC2/EC2ImportKeyPairRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ImportKeyPairRequestMarshaller.h b/src/include/EC2/EC2ImportKeyPairRequestMarshaller.h index 30bbb130..c913198d 100644 --- a/src/include/EC2/EC2ImportKeyPairRequestMarshaller.h +++ b/src/include/EC2/EC2ImportKeyPairRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ImportKeyPairResponse.h b/src/include/EC2/EC2ImportKeyPairResponse.h index 81d0b8f2..b898fdc6 100644 --- a/src/include/EC2/EC2ImportKeyPairResponse.h +++ b/src/include/EC2/EC2ImportKeyPairResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ImportKeyPairResponseUnmarshaller.h b/src/include/EC2/EC2ImportKeyPairResponseUnmarshaller.h index 5de87d56..447762e7 100644 --- a/src/include/EC2/EC2ImportKeyPairResponseUnmarshaller.h +++ b/src/include/EC2/EC2ImportKeyPairResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Instance.h b/src/include/EC2/EC2Instance.h index 4955a6bb..91f6f92d 100644 --- a/src/include/EC2/EC2Instance.h +++ b/src/include/EC2/EC2Instance.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -139,7 +139,7 @@ * Amazon Elastic Compute Cloud Developer Guide. *

* Constraints:
- * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cg1.4xlarge + * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge */ @property (nonatomic, retain) NSString *instanceType; diff --git a/src/include/EC2/EC2InstanceAttribute.h b/src/include/EC2/EC2InstanceAttribute.h index 25ab8902..dd67de3d 100644 --- a/src/include/EC2/EC2InstanceAttribute.h +++ b/src/include/EC2/EC2InstanceAttribute.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceAttributeUnmarshaller.h b/src/include/EC2/EC2InstanceAttributeUnmarshaller.h index 65a34d19..5360a705 100644 --- a/src/include/EC2/EC2InstanceAttributeUnmarshaller.h +++ b/src/include/EC2/EC2InstanceAttributeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceBlockDeviceMapping.h b/src/include/EC2/EC2InstanceBlockDeviceMapping.h index 4bd4d62a..533f6367 100644 --- a/src/include/EC2/EC2InstanceBlockDeviceMapping.h +++ b/src/include/EC2/EC2InstanceBlockDeviceMapping.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceBlockDeviceMappingSpecification.h b/src/include/EC2/EC2InstanceBlockDeviceMappingSpecification.h index e6e650f6..556d482d 100644 --- a/src/include/EC2/EC2InstanceBlockDeviceMappingSpecification.h +++ b/src/include/EC2/EC2InstanceBlockDeviceMappingSpecification.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceBlockDeviceMappingUnmarshaller.h b/src/include/EC2/EC2InstanceBlockDeviceMappingUnmarshaller.h index 9e3c8553..8b77d034 100644 --- a/src/include/EC2/EC2InstanceBlockDeviceMappingUnmarshaller.h +++ b/src/include/EC2/EC2InstanceBlockDeviceMappingUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceLicense.h b/src/include/EC2/EC2InstanceLicense.h index 2db100ed..4b5b52e2 100644 --- a/src/include/EC2/EC2InstanceLicense.h +++ b/src/include/EC2/EC2InstanceLicense.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceLicenseSpecification.h b/src/include/EC2/EC2InstanceLicenseSpecification.h index 8c0187b4..76df424d 100644 --- a/src/include/EC2/EC2InstanceLicenseSpecification.h +++ b/src/include/EC2/EC2InstanceLicenseSpecification.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceLicenseUnmarshaller.h b/src/include/EC2/EC2InstanceLicenseUnmarshaller.h index 2f4ec8cd..18635805 100644 --- a/src/include/EC2/EC2InstanceLicenseUnmarshaller.h +++ b/src/include/EC2/EC2InstanceLicenseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceMonitoring.h b/src/include/EC2/EC2InstanceMonitoring.h index 8370d82b..e723d921 100644 --- a/src/include/EC2/EC2InstanceMonitoring.h +++ b/src/include/EC2/EC2InstanceMonitoring.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceMonitoringUnmarshaller.h b/src/include/EC2/EC2InstanceMonitoringUnmarshaller.h index c474af25..55fd8bdf 100644 --- a/src/include/EC2/EC2InstanceMonitoringUnmarshaller.h +++ b/src/include/EC2/EC2InstanceMonitoringUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceState.h b/src/include/EC2/EC2InstanceState.h index b6cb3be6..ca9be34b 100644 --- a/src/include/EC2/EC2InstanceState.h +++ b/src/include/EC2/EC2InstanceState.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -49,7 +49,7 @@ * The current state of the instance. *

* Constraints:
- * Allowed Values: pending, running, shutting-down, terminated + * Allowed Values: pending, running, shutting-down, terminated, stopping, stopped */ @property (nonatomic, retain) NSString *name; diff --git a/src/include/EC2/EC2InstanceStateChange.h b/src/include/EC2/EC2InstanceStateChange.h index 431e824c..1d906f95 100644 --- a/src/include/EC2/EC2InstanceStateChange.h +++ b/src/include/EC2/EC2InstanceStateChange.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceStateChangeUnmarshaller.h b/src/include/EC2/EC2InstanceStateChangeUnmarshaller.h index 42251ec0..0f58eed3 100644 --- a/src/include/EC2/EC2InstanceStateChangeUnmarshaller.h +++ b/src/include/EC2/EC2InstanceStateChangeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceStateUnmarshaller.h b/src/include/EC2/EC2InstanceStateUnmarshaller.h index 524a41b0..f621e850 100644 --- a/src/include/EC2/EC2InstanceStateUnmarshaller.h +++ b/src/include/EC2/EC2InstanceStateUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2InstanceStatus.h b/src/include/EC2/EC2InstanceStatus.h new file mode 100644 index 00000000..ea10cb73 --- /dev/null +++ b/src/include/EC2/EC2InstanceStatus.h @@ -0,0 +1,80 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "EC2InstanceStatusEvent.h" +#import "EC2InstanceState.h" + + + +/** + * Instance Status + * + * \ingroup EC2 + */ + +@interface EC2InstanceStatus:NSObject + +{ + NSString *instanceId; + NSString *availabilityZone; + NSMutableArray *events; + EC2InstanceState *instanceState; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The ID of the Amazon EC2 instance. + */ +@property (nonatomic, retain) NSString *instanceId; + +/** + * The Amazon EC2 instance's availability zone. + */ +@property (nonatomic, retain) NSString *availabilityZone; + +/** + * Events that affect the status of the associated Amazon EC2 instance. + */ +@property (nonatomic, retain) NSMutableArray *events; + +/** + * Represents the state of an Amazon EC2 instance. + */ +@property (nonatomic, retain) EC2InstanceState *instanceState; + +/** + * Adds a single object to events. + * This function will alloc and init events if not already done. + */ +-(void)addEvent:(EC2InstanceStatusEvent *)eventObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/EC2/EC2InstanceStatusEvent.h b/src/include/EC2/EC2InstanceStatusEvent.h new file mode 100644 index 00000000..3b3c256b --- /dev/null +++ b/src/include/EC2/EC2InstanceStatusEvent.h @@ -0,0 +1,73 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + + + +/** + * Instance Status Event + * + * \ingroup EC2 + */ + +@interface EC2InstanceStatusEvent:NSObject + +{ + NSString *code; + NSString *descriptionValue; + NSDate *notBefore; + NSDate *notAfter; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The associated code of the event. Valid values: instance-reboot, + * system-reboot, instance-retirement + */ +@property (nonatomic, retain) NSString *code; + +/** + * A description of the event. + */ +@property (nonatomic, retain) NSString *descriptionValue; + +/** + * The earliest scheduled start time for the event. + */ +@property (nonatomic, retain) NSDate *notBefore; + +/** + * The latest scheduled end time for the event. + */ +@property (nonatomic, retain) NSDate *notAfter; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/EC2/EC2InstanceStatusEventUnmarshaller.h b/src/include/EC2/EC2InstanceStatusEventUnmarshaller.h new file mode 100644 index 00000000..562864d4 --- /dev/null +++ b/src/include/EC2/EC2InstanceStatusEventUnmarshaller.h @@ -0,0 +1,39 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "EC2InstanceStatusEvent.h" +#import "EC2ResponseUnmarshaller.h" +#import "../AmazonValueUnmarshaller.h" +#import "../AmazonBoolValueUnmarshaller.h" +#import "../AmazonSDKUtil.h" + + +/** + * Instance Status Event Unmarshaller + */ +@interface EC2InstanceStatusEventUnmarshaller:EC2ResponseUnmarshaller { + EC2InstanceStatusEvent *response; +} + + +@property (nonatomic, readonly) EC2InstanceStatusEvent *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + + +@end diff --git a/src/include/EC2/EC2InstanceStatusUnmarshaller.h b/src/include/EC2/EC2InstanceStatusUnmarshaller.h new file mode 100644 index 00000000..37c7a0cb --- /dev/null +++ b/src/include/EC2/EC2InstanceStatusUnmarshaller.h @@ -0,0 +1,41 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "EC2InstanceStatus.h" +#import "EC2ResponseUnmarshaller.h" +#import "../AmazonValueUnmarshaller.h" +#import "../AmazonBoolValueUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" +#import "EC2InstanceStatusEventUnmarshaller.h" +#import "EC2InstanceStateUnmarshaller.h" + + +/** + * Instance Status Unmarshaller + */ +@interface EC2InstanceStatusUnmarshaller:EC2ResponseUnmarshaller { + EC2InstanceStatus *response; +} + + +@property (nonatomic, readonly) EC2InstanceStatus *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + + +@end diff --git a/src/include/EC2/EC2InstanceUnmarshaller.h b/src/include/EC2/EC2InstanceUnmarshaller.h index 1b00abdd..ab6ef431 100644 --- a/src/include/EC2/EC2InstanceUnmarshaller.h +++ b/src/include/EC2/EC2InstanceUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2IpPermission.h b/src/include/EC2/EC2IpPermission.h index c739d099..98a01648 100644 --- a/src/include/EC2/EC2IpPermission.h +++ b/src/include/EC2/EC2IpPermission.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2IpPermissionUnmarshaller.h b/src/include/EC2/EC2IpPermissionUnmarshaller.h index 71fce361..86ba2647 100644 --- a/src/include/EC2/EC2IpPermissionUnmarshaller.h +++ b/src/include/EC2/EC2IpPermissionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2KeyPair.h b/src/include/EC2/EC2KeyPair.h index 07153d43..7957a2a1 100644 --- a/src/include/EC2/EC2KeyPair.h +++ b/src/include/EC2/EC2KeyPair.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2KeyPairInfo.h b/src/include/EC2/EC2KeyPairInfo.h index f749b637..f8927d90 100644 --- a/src/include/EC2/EC2KeyPairInfo.h +++ b/src/include/EC2/EC2KeyPairInfo.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2KeyPairInfoUnmarshaller.h b/src/include/EC2/EC2KeyPairInfoUnmarshaller.h index 60b6fb93..90506aa5 100644 --- a/src/include/EC2/EC2KeyPairInfoUnmarshaller.h +++ b/src/include/EC2/EC2KeyPairInfoUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2KeyPairUnmarshaller.h b/src/include/EC2/EC2KeyPairUnmarshaller.h index 31aff175..d29f9272 100644 --- a/src/include/EC2/EC2KeyPairUnmarshaller.h +++ b/src/include/EC2/EC2KeyPairUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2LaunchPermission.h b/src/include/EC2/EC2LaunchPermission.h index b4f3e54b..ffa693ad 100644 --- a/src/include/EC2/EC2LaunchPermission.h +++ b/src/include/EC2/EC2LaunchPermission.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2LaunchPermissionModifications.h b/src/include/EC2/EC2LaunchPermissionModifications.h index b7da3c10..e7256146 100644 --- a/src/include/EC2/EC2LaunchPermissionModifications.h +++ b/src/include/EC2/EC2LaunchPermissionModifications.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2LaunchPermissionUnmarshaller.h b/src/include/EC2/EC2LaunchPermissionUnmarshaller.h index 4c2c4801..44c85b35 100644 --- a/src/include/EC2/EC2LaunchPermissionUnmarshaller.h +++ b/src/include/EC2/EC2LaunchPermissionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2LaunchSpecification.h b/src/include/EC2/EC2LaunchSpecification.h index 97810d98..b265d958 100644 --- a/src/include/EC2/EC2LaunchSpecification.h +++ b/src/include/EC2/EC2LaunchSpecification.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -90,7 +90,7 @@ * Specifies the instance type. *

* Constraints:
- * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cg1.4xlarge + * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge */ @property (nonatomic, retain) NSString *instanceType; diff --git a/src/include/EC2/EC2LaunchSpecificationUnmarshaller.h b/src/include/EC2/EC2LaunchSpecificationUnmarshaller.h index d54b3fa8..11dc5ab5 100644 --- a/src/include/EC2/EC2LaunchSpecificationUnmarshaller.h +++ b/src/include/EC2/EC2LaunchSpecificationUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2License.h b/src/include/EC2/EC2License.h index a83822b0..3d12ef50 100644 --- a/src/include/EC2/EC2License.h +++ b/src/include/EC2/EC2License.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2LicenseCapacity.h b/src/include/EC2/EC2LicenseCapacity.h index 644d34df..43b6abd4 100644 --- a/src/include/EC2/EC2LicenseCapacity.h +++ b/src/include/EC2/EC2LicenseCapacity.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2LicenseCapacityUnmarshaller.h b/src/include/EC2/EC2LicenseCapacityUnmarshaller.h index c0aea457..c4e312f7 100644 --- a/src/include/EC2/EC2LicenseCapacityUnmarshaller.h +++ b/src/include/EC2/EC2LicenseCapacityUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2LicenseUnmarshaller.h b/src/include/EC2/EC2LicenseUnmarshaller.h index 21e4f58a..e1ced5b8 100644 --- a/src/include/EC2/EC2LicenseUnmarshaller.h +++ b/src/include/EC2/EC2LicenseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifyImageAttributeRequest.h b/src/include/EC2/EC2ModifyImageAttributeRequest.h index 6140fb56..f12c644a 100644 --- a/src/include/EC2/EC2ModifyImageAttributeRequest.h +++ b/src/include/EC2/EC2ModifyImageAttributeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifyImageAttributeRequestMarshaller.h b/src/include/EC2/EC2ModifyImageAttributeRequestMarshaller.h index 5ee622be..2fe81f46 100644 --- a/src/include/EC2/EC2ModifyImageAttributeRequestMarshaller.h +++ b/src/include/EC2/EC2ModifyImageAttributeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifyImageAttributeResponse.h b/src/include/EC2/EC2ModifyImageAttributeResponse.h index b9a221be..1d6ef1f7 100644 --- a/src/include/EC2/EC2ModifyImageAttributeResponse.h +++ b/src/include/EC2/EC2ModifyImageAttributeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifyImageAttributeResponseUnmarshaller.h b/src/include/EC2/EC2ModifyImageAttributeResponseUnmarshaller.h index 080894c0..fbc1350b 100644 --- a/src/include/EC2/EC2ModifyImageAttributeResponseUnmarshaller.h +++ b/src/include/EC2/EC2ModifyImageAttributeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifyInstanceAttributeRequest.h b/src/include/EC2/EC2ModifyInstanceAttributeRequest.h index 31e3d57d..7545b422 100644 --- a/src/include/EC2/EC2ModifyInstanceAttributeRequest.h +++ b/src/include/EC2/EC2ModifyInstanceAttributeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifyInstanceAttributeRequestMarshaller.h b/src/include/EC2/EC2ModifyInstanceAttributeRequestMarshaller.h index 6f6a2a40..ce35aea9 100644 --- a/src/include/EC2/EC2ModifyInstanceAttributeRequestMarshaller.h +++ b/src/include/EC2/EC2ModifyInstanceAttributeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifyInstanceAttributeResponse.h b/src/include/EC2/EC2ModifyInstanceAttributeResponse.h index ce962500..8763535a 100644 --- a/src/include/EC2/EC2ModifyInstanceAttributeResponse.h +++ b/src/include/EC2/EC2ModifyInstanceAttributeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifyInstanceAttributeResponseUnmarshaller.h b/src/include/EC2/EC2ModifyInstanceAttributeResponseUnmarshaller.h index c595d58f..61d4c9e6 100644 --- a/src/include/EC2/EC2ModifyInstanceAttributeResponseUnmarshaller.h +++ b/src/include/EC2/EC2ModifyInstanceAttributeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifySnapshotAttributeRequest.h b/src/include/EC2/EC2ModifySnapshotAttributeRequest.h index 947a8c3b..c235baf4 100644 --- a/src/include/EC2/EC2ModifySnapshotAttributeRequest.h +++ b/src/include/EC2/EC2ModifySnapshotAttributeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifySnapshotAttributeRequestMarshaller.h b/src/include/EC2/EC2ModifySnapshotAttributeRequestMarshaller.h index c7cc2b9c..3ccb9c33 100644 --- a/src/include/EC2/EC2ModifySnapshotAttributeRequestMarshaller.h +++ b/src/include/EC2/EC2ModifySnapshotAttributeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifySnapshotAttributeResponse.h b/src/include/EC2/EC2ModifySnapshotAttributeResponse.h index 8c0eb5a0..063e3809 100644 --- a/src/include/EC2/EC2ModifySnapshotAttributeResponse.h +++ b/src/include/EC2/EC2ModifySnapshotAttributeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ModifySnapshotAttributeResponseUnmarshaller.h b/src/include/EC2/EC2ModifySnapshotAttributeResponseUnmarshaller.h index 793355b4..7eb09708 100644 --- a/src/include/EC2/EC2ModifySnapshotAttributeResponseUnmarshaller.h +++ b/src/include/EC2/EC2ModifySnapshotAttributeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2MonitorInstancesRequest.h b/src/include/EC2/EC2MonitorInstancesRequest.h index 8f67032b..6477c427 100644 --- a/src/include/EC2/EC2MonitorInstancesRequest.h +++ b/src/include/EC2/EC2MonitorInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2MonitorInstancesRequestMarshaller.h b/src/include/EC2/EC2MonitorInstancesRequestMarshaller.h index 3c072289..4b872d7e 100644 --- a/src/include/EC2/EC2MonitorInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2MonitorInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2MonitorInstancesResponse.h b/src/include/EC2/EC2MonitorInstancesResponse.h index 89de8685..487d622c 100644 --- a/src/include/EC2/EC2MonitorInstancesResponse.h +++ b/src/include/EC2/EC2MonitorInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2MonitorInstancesResponseUnmarshaller.h b/src/include/EC2/EC2MonitorInstancesResponseUnmarshaller.h index 06e0a532..841ce98a 100644 --- a/src/include/EC2/EC2MonitorInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2MonitorInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Monitoring.h b/src/include/EC2/EC2Monitoring.h index a84e5e35..682ad1df 100644 --- a/src/include/EC2/EC2Monitoring.h +++ b/src/include/EC2/EC2Monitoring.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2MonitoringUnmarshaller.h b/src/include/EC2/EC2MonitoringUnmarshaller.h index c059e37b..70c012cd 100644 --- a/src/include/EC2/EC2MonitoringUnmarshaller.h +++ b/src/include/EC2/EC2MonitoringUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Placement.h b/src/include/EC2/EC2Placement.h index e49ebaa1..bdd26446 100644 --- a/src/include/EC2/EC2Placement.h +++ b/src/include/EC2/EC2Placement.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2PlacementGroup.h b/src/include/EC2/EC2PlacementGroup.h index 8b03d566..3cc267bf 100644 --- a/src/include/EC2/EC2PlacementGroup.h +++ b/src/include/EC2/EC2PlacementGroup.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2PlacementGroupUnmarshaller.h b/src/include/EC2/EC2PlacementGroupUnmarshaller.h index 5e96076c..792510e3 100644 --- a/src/include/EC2/EC2PlacementGroupUnmarshaller.h +++ b/src/include/EC2/EC2PlacementGroupUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2PlacementUnmarshaller.h b/src/include/EC2/EC2PlacementUnmarshaller.h index b9c565f4..9d16c12a 100644 --- a/src/include/EC2/EC2PlacementUnmarshaller.h +++ b/src/include/EC2/EC2PlacementUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ProductCode.h b/src/include/EC2/EC2ProductCode.h index 0351a6ac..322510da 100644 --- a/src/include/EC2/EC2ProductCode.h +++ b/src/include/EC2/EC2ProductCode.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ProductCodeUnmarshaller.h b/src/include/EC2/EC2ProductCodeUnmarshaller.h index 3b3a7533..ed39960e 100644 --- a/src/include/EC2/EC2ProductCodeUnmarshaller.h +++ b/src/include/EC2/EC2ProductCodeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2PurchaseReservedInstancesOfferingRequest.h b/src/include/EC2/EC2PurchaseReservedInstancesOfferingRequest.h index 1cd804e6..73ca6295 100644 --- a/src/include/EC2/EC2PurchaseReservedInstancesOfferingRequest.h +++ b/src/include/EC2/EC2PurchaseReservedInstancesOfferingRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2PurchaseReservedInstancesOfferingRequestMarshaller.h b/src/include/EC2/EC2PurchaseReservedInstancesOfferingRequestMarshaller.h index b6c8abe7..bf0f9a1d 100644 --- a/src/include/EC2/EC2PurchaseReservedInstancesOfferingRequestMarshaller.h +++ b/src/include/EC2/EC2PurchaseReservedInstancesOfferingRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2PurchaseReservedInstancesOfferingResponse.h b/src/include/EC2/EC2PurchaseReservedInstancesOfferingResponse.h index 742d0e17..e740ac66 100644 --- a/src/include/EC2/EC2PurchaseReservedInstancesOfferingResponse.h +++ b/src/include/EC2/EC2PurchaseReservedInstancesOfferingResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2PurchaseReservedInstancesOfferingResponseUnmarshaller.h b/src/include/EC2/EC2PurchaseReservedInstancesOfferingResponseUnmarshaller.h index 68f0efa8..8de772fd 100644 --- a/src/include/EC2/EC2PurchaseReservedInstancesOfferingResponseUnmarshaller.h +++ b/src/include/EC2/EC2PurchaseReservedInstancesOfferingResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RebootInstancesRequest.h b/src/include/EC2/EC2RebootInstancesRequest.h index 4f8a3773..5efcca22 100644 --- a/src/include/EC2/EC2RebootInstancesRequest.h +++ b/src/include/EC2/EC2RebootInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RebootInstancesRequestMarshaller.h b/src/include/EC2/EC2RebootInstancesRequestMarshaller.h index 4e748a39..4e86eb14 100644 --- a/src/include/EC2/EC2RebootInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2RebootInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RebootInstancesResponse.h b/src/include/EC2/EC2RebootInstancesResponse.h index 4e5559f9..e3635519 100644 --- a/src/include/EC2/EC2RebootInstancesResponse.h +++ b/src/include/EC2/EC2RebootInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RebootInstancesResponseUnmarshaller.h b/src/include/EC2/EC2RebootInstancesResponseUnmarshaller.h index 94c0ed14..c39d836f 100644 --- a/src/include/EC2/EC2RebootInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2RebootInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RecurringCharge.h b/src/include/EC2/EC2RecurringCharge.h new file mode 100644 index 00000000..cbba019e --- /dev/null +++ b/src/include/EC2/EC2RecurringCharge.h @@ -0,0 +1,60 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + + + +/** + * Recurring Charge + * + * \ingroup EC2 + */ + +@interface EC2RecurringCharge:NSObject + +{ + NSString *frequency; + NSNumber *amount; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The frequency of the recurring charge. + */ +@property (nonatomic, retain) NSString *frequency; + +/** + * The amount of the recurring charge. + */ +@property (nonatomic, retain) NSNumber *amount; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/EC2/EC2RecurringChargeUnmarshaller.h b/src/include/EC2/EC2RecurringChargeUnmarshaller.h new file mode 100644 index 00000000..0c3c333a --- /dev/null +++ b/src/include/EC2/EC2RecurringChargeUnmarshaller.h @@ -0,0 +1,38 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "EC2RecurringCharge.h" +#import "EC2ResponseUnmarshaller.h" +#import "../AmazonValueUnmarshaller.h" +#import "../AmazonBoolValueUnmarshaller.h" + + +/** + * Recurring Charge Unmarshaller + */ +@interface EC2RecurringChargeUnmarshaller:EC2ResponseUnmarshaller { + EC2RecurringCharge *response; +} + + +@property (nonatomic, readonly) EC2RecurringCharge *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + + +@end diff --git a/src/include/EC2/EC2Region.h b/src/include/EC2/EC2Region.h index eb402e92..2abc2d5d 100644 --- a/src/include/EC2/EC2Region.h +++ b/src/include/EC2/EC2Region.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RegionUnmarshaller.h b/src/include/EC2/EC2RegionUnmarshaller.h index a8394cfb..067b1c0e 100644 --- a/src/include/EC2/EC2RegionUnmarshaller.h +++ b/src/include/EC2/EC2RegionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RegisterImageRequest.h b/src/include/EC2/EC2RegisterImageRequest.h index 011ab181..e3b70a7a 100644 --- a/src/include/EC2/EC2RegisterImageRequest.h +++ b/src/include/EC2/EC2RegisterImageRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RegisterImageRequestMarshaller.h b/src/include/EC2/EC2RegisterImageRequestMarshaller.h index 73042d7b..e4f60c94 100644 --- a/src/include/EC2/EC2RegisterImageRequestMarshaller.h +++ b/src/include/EC2/EC2RegisterImageRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RegisterImageResponse.h b/src/include/EC2/EC2RegisterImageResponse.h index 73a15c6a..c439ef84 100644 --- a/src/include/EC2/EC2RegisterImageResponse.h +++ b/src/include/EC2/EC2RegisterImageResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RegisterImageResponseUnmarshaller.h b/src/include/EC2/EC2RegisterImageResponseUnmarshaller.h index a09a9856..75b46b98 100644 --- a/src/include/EC2/EC2RegisterImageResponseUnmarshaller.h +++ b/src/include/EC2/EC2RegisterImageResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ReleaseAddressRequest.h b/src/include/EC2/EC2ReleaseAddressRequest.h index 7cc23c5c..38ed9029 100644 --- a/src/include/EC2/EC2ReleaseAddressRequest.h +++ b/src/include/EC2/EC2ReleaseAddressRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ReleaseAddressRequestMarshaller.h b/src/include/EC2/EC2ReleaseAddressRequestMarshaller.h index 8de5df67..982396a9 100644 --- a/src/include/EC2/EC2ReleaseAddressRequestMarshaller.h +++ b/src/include/EC2/EC2ReleaseAddressRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ReleaseAddressResponse.h b/src/include/EC2/EC2ReleaseAddressResponse.h index 5061fcc1..0e4cc4ad 100644 --- a/src/include/EC2/EC2ReleaseAddressResponse.h +++ b/src/include/EC2/EC2ReleaseAddressResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ReleaseAddressResponseUnmarshaller.h b/src/include/EC2/EC2ReleaseAddressResponseUnmarshaller.h index 5c3e4e4c..c28ab7d8 100644 --- a/src/include/EC2/EC2ReleaseAddressResponseUnmarshaller.h +++ b/src/include/EC2/EC2ReleaseAddressResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Request.h b/src/include/EC2/EC2Request.h index 1a30703d..40cea2c5 100644 --- a/src/include/EC2/EC2Request.h +++ b/src/include/EC2/EC2Request.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RequestSpotInstancesRequest.h b/src/include/EC2/EC2RequestSpotInstancesRequest.h index 4736643b..d60388be 100644 --- a/src/include/EC2/EC2RequestSpotInstancesRequest.h +++ b/src/include/EC2/EC2RequestSpotInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RequestSpotInstancesRequestMarshaller.h b/src/include/EC2/EC2RequestSpotInstancesRequestMarshaller.h index d6a7a771..72fb6d65 100644 --- a/src/include/EC2/EC2RequestSpotInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2RequestSpotInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RequestSpotInstancesResponse.h b/src/include/EC2/EC2RequestSpotInstancesResponse.h index 11ca5537..fbc596b2 100644 --- a/src/include/EC2/EC2RequestSpotInstancesResponse.h +++ b/src/include/EC2/EC2RequestSpotInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RequestSpotInstancesResponseUnmarshaller.h b/src/include/EC2/EC2RequestSpotInstancesResponseUnmarshaller.h index e0f6c1d4..fd9a8428 100644 --- a/src/include/EC2/EC2RequestSpotInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2RequestSpotInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Reservation.h b/src/include/EC2/EC2Reservation.h index c6f6cb29..12fb86af 100644 --- a/src/include/EC2/EC2Reservation.h +++ b/src/include/EC2/EC2Reservation.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ReservationUnmarshaller.h b/src/include/EC2/EC2ReservationUnmarshaller.h index 2597ef42..0dd1514a 100644 --- a/src/include/EC2/EC2ReservationUnmarshaller.h +++ b/src/include/EC2/EC2ReservationUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ReservedInstances.h b/src/include/EC2/EC2ReservedInstances.h index 0594a8f5..a1c035f0 100644 --- a/src/include/EC2/EC2ReservedInstances.h +++ b/src/include/EC2/EC2ReservedInstances.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -14,6 +14,7 @@ */ #import "EC2Tag.h" +#import "EC2RecurringCharge.h" @@ -39,6 +40,8 @@ NSMutableArray *tags; NSString *instanceTenancy; NSString *currencyCode; + NSString *offeringType; + NSMutableArray *recurringCharges; } @@ -59,7 +62,7 @@ * The instance type on which the Reserved Instances can be used. *

* Constraints:
- * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cg1.4xlarge + * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge */ @property (nonatomic, retain) NSString *instanceType; @@ -120,12 +123,28 @@ */ @property (nonatomic, retain) NSString *currencyCode; +/** + * The Reserved Instance offering type. + */ +@property (nonatomic, retain) NSString *offeringType; + +/** + * The recurring charge tag assigned to the resource. + */ +@property (nonatomic, retain) NSMutableArray *recurringCharges; + /** * Adds a single object to tags. * This function will alloc and init tags if not already done. */ -(void)addTag:(EC2Tag *)tagObject; +/** + * Adds a single object to recurringCharges. + * This function will alloc and init recurringCharges if not already done. + */ +-(void)addRecurringCharge:(EC2RecurringCharge *)recurringChargeObject; + /** * Returns a string representation of this object; useful for testing and * debugging. diff --git a/src/include/EC2/EC2ReservedInstancesOffering.h b/src/include/EC2/EC2ReservedInstancesOffering.h index 46f306b7..e7eae01a 100644 --- a/src/include/EC2/EC2ReservedInstancesOffering.h +++ b/src/include/EC2/EC2ReservedInstancesOffering.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * permissions and limitations under the License. */ +#import "EC2RecurringCharge.h" @@ -25,15 +26,17 @@ @interface EC2ReservedInstancesOffering:NSObject { - NSString *reservedInstancesOfferingId; - NSString *instanceType; - NSString *availabilityZone; - NSNumber *duration; - NSNumber *usagePrice; - NSNumber *fixedPrice; - NSString *productDescription; - NSString *instanceTenancy; - NSString *currencyCode; + NSString *reservedInstancesOfferingId; + NSString *instanceType; + NSString *availabilityZone; + NSNumber *duration; + NSNumber *usagePrice; + NSNumber *fixedPrice; + NSString *productDescription; + NSString *instanceTenancy; + NSString *currencyCode; + NSString *offeringType; + NSMutableArray *recurringCharges; } @@ -54,7 +57,7 @@ * The instance type on which the Reserved Instances can be used. *

* Constraints:
- * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cg1.4xlarge + * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge */ @property (nonatomic, retain) NSString *instanceType; @@ -94,6 +97,22 @@ */ @property (nonatomic, retain) NSString *currencyCode; +/** + * The Reserved Instance offering type. + */ +@property (nonatomic, retain) NSString *offeringType; + +/** + * The recurring charge tag assigned to the resource. + */ +@property (nonatomic, retain) NSMutableArray *recurringCharges; + +/** + * Adds a single object to recurringCharges. + * This function will alloc and init recurringCharges if not already done. + */ +-(void)addRecurringCharge:(EC2RecurringCharge *)recurringChargeObject; + /** * Returns a string representation of this object; useful for testing and * debugging. diff --git a/src/include/EC2/EC2ReservedInstancesOfferingUnmarshaller.h b/src/include/EC2/EC2ReservedInstancesOfferingUnmarshaller.h index 1d441f70..f32bc9cb 100644 --- a/src/include/EC2/EC2ReservedInstancesOfferingUnmarshaller.h +++ b/src/include/EC2/EC2ReservedInstancesOfferingUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -18,6 +18,8 @@ #import "EC2ResponseUnmarshaller.h" #import "../AmazonValueUnmarshaller.h" #import "../AmazonBoolValueUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" +#import "EC2RecurringChargeUnmarshaller.h" #import "../AmazonSDKUtil.h" diff --git a/src/include/EC2/EC2ReservedInstancesUnmarshaller.h b/src/include/EC2/EC2ReservedInstancesUnmarshaller.h index ad4a7c62..9e531326 100644 --- a/src/include/EC2/EC2ReservedInstancesUnmarshaller.h +++ b/src/include/EC2/EC2ReservedInstancesUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ #import "../AmazonBoolValueUnmarshaller.h" #import "../AmazonListUnmarshaller.h" #import "EC2TagUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" +#import "EC2RecurringChargeUnmarshaller.h" #import "../AmazonSDKUtil.h" diff --git a/src/include/EC2/EC2ResetImageAttributeRequest.h b/src/include/EC2/EC2ResetImageAttributeRequest.h index fac99455..7a819ac6 100644 --- a/src/include/EC2/EC2ResetImageAttributeRequest.h +++ b/src/include/EC2/EC2ResetImageAttributeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetImageAttributeRequestMarshaller.h b/src/include/EC2/EC2ResetImageAttributeRequestMarshaller.h index 63723863..e9b674de 100644 --- a/src/include/EC2/EC2ResetImageAttributeRequestMarshaller.h +++ b/src/include/EC2/EC2ResetImageAttributeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetImageAttributeResponse.h b/src/include/EC2/EC2ResetImageAttributeResponse.h index 16344352..2f2268c3 100644 --- a/src/include/EC2/EC2ResetImageAttributeResponse.h +++ b/src/include/EC2/EC2ResetImageAttributeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetImageAttributeResponseUnmarshaller.h b/src/include/EC2/EC2ResetImageAttributeResponseUnmarshaller.h index ad6a84b8..4fe51da1 100644 --- a/src/include/EC2/EC2ResetImageAttributeResponseUnmarshaller.h +++ b/src/include/EC2/EC2ResetImageAttributeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetInstanceAttributeRequest.h b/src/include/EC2/EC2ResetInstanceAttributeRequest.h index 7ac134b4..fe9b60b9 100644 --- a/src/include/EC2/EC2ResetInstanceAttributeRequest.h +++ b/src/include/EC2/EC2ResetInstanceAttributeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetInstanceAttributeRequestMarshaller.h b/src/include/EC2/EC2ResetInstanceAttributeRequestMarshaller.h index 6a46bf6a..93a0c408 100644 --- a/src/include/EC2/EC2ResetInstanceAttributeRequestMarshaller.h +++ b/src/include/EC2/EC2ResetInstanceAttributeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetInstanceAttributeResponse.h b/src/include/EC2/EC2ResetInstanceAttributeResponse.h index a47164ab..ba7b5d4f 100644 --- a/src/include/EC2/EC2ResetInstanceAttributeResponse.h +++ b/src/include/EC2/EC2ResetInstanceAttributeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetInstanceAttributeResponseUnmarshaller.h b/src/include/EC2/EC2ResetInstanceAttributeResponseUnmarshaller.h index bcd69547..0bd12fed 100644 --- a/src/include/EC2/EC2ResetInstanceAttributeResponseUnmarshaller.h +++ b/src/include/EC2/EC2ResetInstanceAttributeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetSnapshotAttributeRequest.h b/src/include/EC2/EC2ResetSnapshotAttributeRequest.h index ce894fed..b8e1d7cc 100644 --- a/src/include/EC2/EC2ResetSnapshotAttributeRequest.h +++ b/src/include/EC2/EC2ResetSnapshotAttributeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetSnapshotAttributeRequestMarshaller.h b/src/include/EC2/EC2ResetSnapshotAttributeRequestMarshaller.h index ea58d48b..e04982b3 100644 --- a/src/include/EC2/EC2ResetSnapshotAttributeRequestMarshaller.h +++ b/src/include/EC2/EC2ResetSnapshotAttributeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetSnapshotAttributeResponse.h b/src/include/EC2/EC2ResetSnapshotAttributeResponse.h index 7389686e..557b7bba 100644 --- a/src/include/EC2/EC2ResetSnapshotAttributeResponse.h +++ b/src/include/EC2/EC2ResetSnapshotAttributeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResetSnapshotAttributeResponseUnmarshaller.h b/src/include/EC2/EC2ResetSnapshotAttributeResponseUnmarshaller.h index 4eeb5b09..ecc91e3f 100644 --- a/src/include/EC2/EC2ResetSnapshotAttributeResponseUnmarshaller.h +++ b/src/include/EC2/EC2ResetSnapshotAttributeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Response.h b/src/include/EC2/EC2Response.h index 0cecb7b4..208e785b 100644 --- a/src/include/EC2/EC2Response.h +++ b/src/include/EC2/EC2Response.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2ResponseUnmarshaller.h b/src/include/EC2/EC2ResponseUnmarshaller.h index 74abe761..03cc8d11 100644 --- a/src/include/EC2/EC2ResponseUnmarshaller.h +++ b/src/include/EC2/EC2ResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RevokeSecurityGroupIngressRequest.h b/src/include/EC2/EC2RevokeSecurityGroupIngressRequest.h index a91125d1..65e4c952 100644 --- a/src/include/EC2/EC2RevokeSecurityGroupIngressRequest.h +++ b/src/include/EC2/EC2RevokeSecurityGroupIngressRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RevokeSecurityGroupIngressRequestMarshaller.h b/src/include/EC2/EC2RevokeSecurityGroupIngressRequestMarshaller.h index fe9c3178..adcca227 100644 --- a/src/include/EC2/EC2RevokeSecurityGroupIngressRequestMarshaller.h +++ b/src/include/EC2/EC2RevokeSecurityGroupIngressRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RevokeSecurityGroupIngressResponse.h b/src/include/EC2/EC2RevokeSecurityGroupIngressResponse.h index ce45d002..ad681b40 100644 --- a/src/include/EC2/EC2RevokeSecurityGroupIngressResponse.h +++ b/src/include/EC2/EC2RevokeSecurityGroupIngressResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RevokeSecurityGroupIngressResponseUnmarshaller.h b/src/include/EC2/EC2RevokeSecurityGroupIngressResponseUnmarshaller.h index bdfbe294..cf39dc28 100644 --- a/src/include/EC2/EC2RevokeSecurityGroupIngressResponseUnmarshaller.h +++ b/src/include/EC2/EC2RevokeSecurityGroupIngressResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RunInstancesRequest.h b/src/include/EC2/EC2RunInstancesRequest.h index d1a0f9ed..b5561762 100644 --- a/src/include/EC2/EC2RunInstancesRequest.h +++ b/src/include/EC2/EC2RunInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -100,7 +100,7 @@ * Specifies the instance type for the launched instances. *

* Constraints:
- * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cg1.4xlarge + * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge */ @property (nonatomic, retain) NSString *instanceType; diff --git a/src/include/EC2/EC2RunInstancesRequestMarshaller.h b/src/include/EC2/EC2RunInstancesRequestMarshaller.h index 118d757d..8dae9016 100644 --- a/src/include/EC2/EC2RunInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2RunInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RunInstancesResponse.h b/src/include/EC2/EC2RunInstancesResponse.h index 74fd8b26..8c0a81dc 100644 --- a/src/include/EC2/EC2RunInstancesResponse.h +++ b/src/include/EC2/EC2RunInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2RunInstancesResponseUnmarshaller.h b/src/include/EC2/EC2RunInstancesResponseUnmarshaller.h index c045d6dc..f91d1ac2 100644 --- a/src/include/EC2/EC2RunInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2RunInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2S3Storage.h b/src/include/EC2/EC2S3Storage.h index 0f16ba67..74e71954 100644 --- a/src/include/EC2/EC2S3Storage.h +++ b/src/include/EC2/EC2S3Storage.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2S3StorageUnmarshaller.h b/src/include/EC2/EC2S3StorageUnmarshaller.h index 246adc92..f6d0ac82 100644 --- a/src/include/EC2/EC2S3StorageUnmarshaller.h +++ b/src/include/EC2/EC2S3StorageUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SecurityGroup.h b/src/include/EC2/EC2SecurityGroup.h index edc71a97..4b0d7ec7 100644 --- a/src/include/EC2/EC2SecurityGroup.h +++ b/src/include/EC2/EC2SecurityGroup.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SecurityGroupUnmarshaller.h b/src/include/EC2/EC2SecurityGroupUnmarshaller.h index be9cdd84..7cf2b40d 100644 --- a/src/include/EC2/EC2SecurityGroupUnmarshaller.h +++ b/src/include/EC2/EC2SecurityGroupUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Snapshot.h b/src/include/EC2/EC2Snapshot.h index ddd1c0ff..cf0b5c0e 100644 --- a/src/include/EC2/EC2Snapshot.h +++ b/src/include/EC2/EC2Snapshot.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SnapshotUnmarshaller.h b/src/include/EC2/EC2SnapshotUnmarshaller.h index 08550659..6ec23f39 100644 --- a/src/include/EC2/EC2SnapshotUnmarshaller.h +++ b/src/include/EC2/EC2SnapshotUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SpotDatafeedSubscription.h b/src/include/EC2/EC2SpotDatafeedSubscription.h index 039725bd..db457655 100644 --- a/src/include/EC2/EC2SpotDatafeedSubscription.h +++ b/src/include/EC2/EC2SpotDatafeedSubscription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SpotDatafeedSubscriptionUnmarshaller.h b/src/include/EC2/EC2SpotDatafeedSubscriptionUnmarshaller.h index dcfe5795..6924a12d 100644 --- a/src/include/EC2/EC2SpotDatafeedSubscriptionUnmarshaller.h +++ b/src/include/EC2/EC2SpotDatafeedSubscriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SpotInstanceRequest.h b/src/include/EC2/EC2SpotInstanceRequest.h index 84a08a98..3778e3ff 100644 --- a/src/include/EC2/EC2SpotInstanceRequest.h +++ b/src/include/EC2/EC2SpotInstanceRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SpotInstanceRequestUnmarshaller.h b/src/include/EC2/EC2SpotInstanceRequestUnmarshaller.h index 0099b945..434c7b40 100644 --- a/src/include/EC2/EC2SpotInstanceRequestUnmarshaller.h +++ b/src/include/EC2/EC2SpotInstanceRequestUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SpotInstanceStateFault.h b/src/include/EC2/EC2SpotInstanceStateFault.h index a3da2280..71d8780e 100644 --- a/src/include/EC2/EC2SpotInstanceStateFault.h +++ b/src/include/EC2/EC2SpotInstanceStateFault.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SpotInstanceStateFaultUnmarshaller.h b/src/include/EC2/EC2SpotInstanceStateFaultUnmarshaller.h index a0bdfe7b..5257e305 100644 --- a/src/include/EC2/EC2SpotInstanceStateFaultUnmarshaller.h +++ b/src/include/EC2/EC2SpotInstanceStateFaultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SpotPlacement.h b/src/include/EC2/EC2SpotPlacement.h index 5e9fe228..3192902e 100644 --- a/src/include/EC2/EC2SpotPlacement.h +++ b/src/include/EC2/EC2SpotPlacement.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SpotPlacementUnmarshaller.h b/src/include/EC2/EC2SpotPlacementUnmarshaller.h index a1c03044..45b717d6 100644 --- a/src/include/EC2/EC2SpotPlacementUnmarshaller.h +++ b/src/include/EC2/EC2SpotPlacementUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2SpotPrice.h b/src/include/EC2/EC2SpotPrice.h index f3c47f97..d45a793b 100644 --- a/src/include/EC2/EC2SpotPrice.h +++ b/src/include/EC2/EC2SpotPrice.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -45,7 +45,7 @@ * The value of the InstanceType property for this object. *

* Constraints:
- * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cg1.4xlarge + * Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge */ @property (nonatomic, retain) NSString *instanceType; diff --git a/src/include/EC2/EC2SpotPriceUnmarshaller.h b/src/include/EC2/EC2SpotPriceUnmarshaller.h index a1d4e520..df764383 100644 --- a/src/include/EC2/EC2SpotPriceUnmarshaller.h +++ b/src/include/EC2/EC2SpotPriceUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StartInstancesRequest.h b/src/include/EC2/EC2StartInstancesRequest.h index 4e6a023f..098c4c15 100644 --- a/src/include/EC2/EC2StartInstancesRequest.h +++ b/src/include/EC2/EC2StartInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StartInstancesRequestMarshaller.h b/src/include/EC2/EC2StartInstancesRequestMarshaller.h index e5f9bd8b..1e821d77 100644 --- a/src/include/EC2/EC2StartInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2StartInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StartInstancesResponse.h b/src/include/EC2/EC2StartInstancesResponse.h index f61bc11d..a8afd586 100644 --- a/src/include/EC2/EC2StartInstancesResponse.h +++ b/src/include/EC2/EC2StartInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StartInstancesResponseUnmarshaller.h b/src/include/EC2/EC2StartInstancesResponseUnmarshaller.h index f60c754d..6c86fce6 100644 --- a/src/include/EC2/EC2StartInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2StartInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StateReason.h b/src/include/EC2/EC2StateReason.h index ba44333d..318eb903 100644 --- a/src/include/EC2/EC2StateReason.h +++ b/src/include/EC2/EC2StateReason.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StateReasonUnmarshaller.h b/src/include/EC2/EC2StateReasonUnmarshaller.h index 37305e0e..3f8b935f 100644 --- a/src/include/EC2/EC2StateReasonUnmarshaller.h +++ b/src/include/EC2/EC2StateReasonUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StopInstancesRequest.h b/src/include/EC2/EC2StopInstancesRequest.h index 88e85d3a..21efc45c 100644 --- a/src/include/EC2/EC2StopInstancesRequest.h +++ b/src/include/EC2/EC2StopInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StopInstancesRequestMarshaller.h b/src/include/EC2/EC2StopInstancesRequestMarshaller.h index a675cd44..add7fc8f 100644 --- a/src/include/EC2/EC2StopInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2StopInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StopInstancesResponse.h b/src/include/EC2/EC2StopInstancesResponse.h index 56e8c3d4..ead1e01f 100644 --- a/src/include/EC2/EC2StopInstancesResponse.h +++ b/src/include/EC2/EC2StopInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StopInstancesResponseUnmarshaller.h b/src/include/EC2/EC2StopInstancesResponseUnmarshaller.h index 75003898..caf4934c 100644 --- a/src/include/EC2/EC2StopInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2StopInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Storage.h b/src/include/EC2/EC2Storage.h index 4569a9b8..09d58636 100644 --- a/src/include/EC2/EC2Storage.h +++ b/src/include/EC2/EC2Storage.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2StorageUnmarshaller.h b/src/include/EC2/EC2StorageUnmarshaller.h index eadd92de..bc205697 100644 --- a/src/include/EC2/EC2StorageUnmarshaller.h +++ b/src/include/EC2/EC2StorageUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Tag.h b/src/include/EC2/EC2Tag.h index 79812a9f..db808efb 100644 --- a/src/include/EC2/EC2Tag.h +++ b/src/include/EC2/EC2Tag.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2TagDescription.h b/src/include/EC2/EC2TagDescription.h index a6c0e1d1..e995b6f4 100644 --- a/src/include/EC2/EC2TagDescription.h +++ b/src/include/EC2/EC2TagDescription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2TagDescriptionUnmarshaller.h b/src/include/EC2/EC2TagDescriptionUnmarshaller.h index cd33fb61..e6e91210 100644 --- a/src/include/EC2/EC2TagDescriptionUnmarshaller.h +++ b/src/include/EC2/EC2TagDescriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2TagUnmarshaller.h b/src/include/EC2/EC2TagUnmarshaller.h index 2399b39d..a1e382bd 100644 --- a/src/include/EC2/EC2TagUnmarshaller.h +++ b/src/include/EC2/EC2TagUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2TerminateInstancesRequest.h b/src/include/EC2/EC2TerminateInstancesRequest.h index 8853664a..bdcf06eb 100644 --- a/src/include/EC2/EC2TerminateInstancesRequest.h +++ b/src/include/EC2/EC2TerminateInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2TerminateInstancesRequestMarshaller.h b/src/include/EC2/EC2TerminateInstancesRequestMarshaller.h index 27510313..f5dead4e 100644 --- a/src/include/EC2/EC2TerminateInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2TerminateInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2TerminateInstancesResponse.h b/src/include/EC2/EC2TerminateInstancesResponse.h index 446e65d6..694a2e43 100644 --- a/src/include/EC2/EC2TerminateInstancesResponse.h +++ b/src/include/EC2/EC2TerminateInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2TerminateInstancesResponseUnmarshaller.h b/src/include/EC2/EC2TerminateInstancesResponseUnmarshaller.h index 857b1007..c687b93c 100644 --- a/src/include/EC2/EC2TerminateInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2TerminateInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2UnmonitorInstancesRequest.h b/src/include/EC2/EC2UnmonitorInstancesRequest.h index c77034cd..ecf58179 100644 --- a/src/include/EC2/EC2UnmonitorInstancesRequest.h +++ b/src/include/EC2/EC2UnmonitorInstancesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2UnmonitorInstancesRequestMarshaller.h b/src/include/EC2/EC2UnmonitorInstancesRequestMarshaller.h index 105012c1..b24b9e02 100644 --- a/src/include/EC2/EC2UnmonitorInstancesRequestMarshaller.h +++ b/src/include/EC2/EC2UnmonitorInstancesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2UnmonitorInstancesResponse.h b/src/include/EC2/EC2UnmonitorInstancesResponse.h index c1c544aa..f4999162 100644 --- a/src/include/EC2/EC2UnmonitorInstancesResponse.h +++ b/src/include/EC2/EC2UnmonitorInstancesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2UnmonitorInstancesResponseUnmarshaller.h b/src/include/EC2/EC2UnmonitorInstancesResponseUnmarshaller.h index 6a6be644..c5d694b9 100644 --- a/src/include/EC2/EC2UnmonitorInstancesResponseUnmarshaller.h +++ b/src/include/EC2/EC2UnmonitorInstancesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2UserIdGroupPair.h b/src/include/EC2/EC2UserIdGroupPair.h index 9d072ade..c4c389e1 100644 --- a/src/include/EC2/EC2UserIdGroupPair.h +++ b/src/include/EC2/EC2UserIdGroupPair.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2UserIdGroupPairUnmarshaller.h b/src/include/EC2/EC2UserIdGroupPairUnmarshaller.h index 993edf80..075d68af 100644 --- a/src/include/EC2/EC2UserIdGroupPairUnmarshaller.h +++ b/src/include/EC2/EC2UserIdGroupPairUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2Volume.h b/src/include/EC2/EC2Volume.h index a80da9a4..24df68b5 100644 --- a/src/include/EC2/EC2Volume.h +++ b/src/include/EC2/EC2Volume.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2VolumeAttachment.h b/src/include/EC2/EC2VolumeAttachment.h index 356ca03e..b6a12446 100644 --- a/src/include/EC2/EC2VolumeAttachment.h +++ b/src/include/EC2/EC2VolumeAttachment.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2VolumeAttachmentUnmarshaller.h b/src/include/EC2/EC2VolumeAttachmentUnmarshaller.h index c3929e4f..1bd89285 100644 --- a/src/include/EC2/EC2VolumeAttachmentUnmarshaller.h +++ b/src/include/EC2/EC2VolumeAttachmentUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/EC2/EC2VolumeUnmarshaller.h b/src/include/EC2/EC2VolumeUnmarshaller.h index 3b3d14dc..482f4dc5 100644 --- a/src/include/EC2/EC2VolumeUnmarshaller.h +++ b/src/include/EC2/EC2VolumeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/AmazonElasticLoadBalancingClient.h b/src/include/ElasticLoadBalancing/AmazonElasticLoadBalancingClient.h index a6e7c2e7..47bfc4cf 100644 --- a/src/include/ElasticLoadBalancing/AmazonElasticLoadBalancingClient.h +++ b/src/include/ElasticLoadBalancing/AmazonElasticLoadBalancingClient.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -12,86 +12,98 @@ * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ -#import "ElasticLoadBalancingConfigureHealthCheckResponse.h" -#import "ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.h" -#import "ElasticLoadBalancingConfigureHealthCheckRequest.h" -#import "ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.h" -#import "ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.h" -#import "ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.h" -#import "ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.h" -#import "ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.h" -#import "ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.h" -#import "ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.h" -#import "ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.h" -#import "ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.h" -#import "ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.h" -#import "ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.h" -#import "ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.h" -#import "ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.h" -#import "ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.h" -#import "ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.h" -#import "ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.h" -#import "ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.h" #import "ElasticLoadBalancingDeleteLoadBalancerListenersResponse.h" #import "ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller.h" #import "ElasticLoadBalancingDeleteLoadBalancerListenersRequest.h" #import "ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller.h" -#import "ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.h" -#import "ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.h" -#import "ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.h" -#import "ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.h" -#import "ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.h" -#import "ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.h" -#import "ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.h" -#import "ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.h" -#import "ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.h" -#import "ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.h" -#import "ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.h" -#import "ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.h" -#import "ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.h" -#import "ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h" -#import "ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.h" -#import "ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.h" -#import "ElasticLoadBalancingCreateLoadBalancerResponse.h" -#import "ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.h" -#import "ElasticLoadBalancingCreateLoadBalancerRequest.h" -#import "ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.h" +#import "ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.h" +#import "ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.h" +#import "ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.h" +#import "ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.h" #import "ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse.h" #import "ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h" #import "ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest.h" #import "ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller.h" -#import "ElasticLoadBalancingCreateLoadBalancerPolicyResponse.h" -#import "ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.h" -#import "ElasticLoadBalancingCreateLoadBalancerPolicyRequest.h" -#import "ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.h" #import "ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse.h" #import "ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller.h" #import "ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest.h" #import "ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller.h" -#import "ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.h" -#import "ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.h" -#import "ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.h" -#import "ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.h" -#import "ElasticLoadBalancingDeleteLoadBalancerResponse.h" -#import "ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.h" -#import "ElasticLoadBalancingDeleteLoadBalancerRequest.h" -#import "ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.h" +#import "ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.h" +#import "ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.h" +#import "ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.h" +#import "ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.h" +#import "ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.h" +#import "ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.h" +#import "ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.h" +#import "ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.h" +#import "ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.h" +#import "ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.h" +#import "ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.h" +#import "ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.h" +#import "ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.h" +#import "ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.h" +#import "ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.h" +#import "ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.h" #import "ElasticLoadBalancingDeleteLoadBalancerPolicyResponse.h" #import "ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller.h" #import "ElasticLoadBalancingDeleteLoadBalancerPolicyRequest.h" #import "ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller.h" -#import "ElasticLoadBalancingDescribeInstanceHealthResponse.h" -#import "ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.h" -#import "ElasticLoadBalancingDescribeInstanceHealthRequest.h" -#import "ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.h" +#import "ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.h" +#import "ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.h" +#import "ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.h" +#import "ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.h" +#import "ElasticLoadBalancingConfigureHealthCheckResponse.h" +#import "ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.h" +#import "ElasticLoadBalancingConfigureHealthCheckRequest.h" +#import "ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.h" #import "ElasticLoadBalancingDescribeLoadBalancersResponse.h" #import "ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller.h" #import "ElasticLoadBalancingDescribeLoadBalancersRequest.h" #import "ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller.h" +#import "ElasticLoadBalancingDescribeInstanceHealthResponse.h" +#import "ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.h" +#import "ElasticLoadBalancingDescribeInstanceHealthRequest.h" +#import "ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.h" +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.h" +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.h" +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.h" +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.h" +#import "ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.h" +#import "ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h" +#import "ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.h" +#import "ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.h" #import "ElasticLoadBalancingCreateLoadBalancerListenersResponse.h" #import "ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller.h" #import "ElasticLoadBalancingCreateLoadBalancerListenersRequest.h" #import "ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller.h" +#import "ElasticLoadBalancingCreateLoadBalancerPolicyResponse.h" +#import "ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.h" +#import "ElasticLoadBalancingCreateLoadBalancerPolicyRequest.h" +#import "ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.h" +#import "ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.h" +#import "ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.h" +#import "ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.h" +#import "ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.h" +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.h" +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.h" +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.h" +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.h" +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.h" +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.h" +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.h" +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.h" +#import "ElasticLoadBalancingDeleteLoadBalancerResponse.h" +#import "ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.h" +#import "ElasticLoadBalancingDeleteLoadBalancerRequest.h" +#import "ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.h" +#import "ElasticLoadBalancingCreateLoadBalancerResponse.h" +#import "ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.h" +#import "ElasticLoadBalancingCreateLoadBalancerRequest.h" +#import "ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.h" +#import "ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.h" +#import "ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.h" +#import "ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.h" +#import "ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.h" #import "../AmazonWebServiceClient.h" @@ -119,16 +131,12 @@ /** *

- * Enables the client to define an application healthcheck for the - * instances. + * Deletes listeners from the LoadBalancer for the specified port. *

* - * @param configureHealthCheckRequest Container for the necessary - * parameters to execute the ConfigureHealthCheck service method on - * AmazonElasticLoadBalancing. - * - * @return The response from the ConfigureHealthCheck service method, as - * returned by AmazonElasticLoadBalancing. + * @param deleteLoadBalancerListenersRequest Container for the necessary + * parameters to execute the DeleteLoadBalancerListeners service method + * on AmazonElasticLoadBalancing. * * @throws ElasticLoadBalancingLoadBalancerNotFoundException * @@ -140,27 +148,23 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingConfigureHealthCheckResponse *)configureHealthCheck:(ElasticLoadBalancingConfigureHealthCheckRequest *)configureHealthCheckRequest; +-(ElasticLoadBalancingDeleteLoadBalancerListenersResponse *)deleteLoadBalancerListeners:(ElasticLoadBalancingDeleteLoadBalancerListenersRequest *)deleteLoadBalancerListenersRequest; /** *

- * Replaces the current set of policies associated with a port on which - * the back-end server is listening with a new set of policies. After the - * policies have been created using CreateLoadBalancerPolicy, they can be - * applied here as a list. At this time, only the back-end server - * authentication policy type can be applied to the back-end ports; this - * policy type is composed of multiple public key policies. + * Associates, updates, or disables a policy with a listener on the + * LoadBalancer. You can associate multiple policies with a listener. *

* - * @param setLoadBalancerPoliciesForBackendServerRequest Container for - * the necessary parameters to execute the - * SetLoadBalancerPoliciesForBackendServer service method on - * AmazonElasticLoadBalancing. + * @param setLoadBalancerPoliciesOfListenerRequest Container for the + * necessary parameters to execute the SetLoadBalancerPoliciesOfListener + * service method on AmazonElasticLoadBalancing. * - * @return The response from the SetLoadBalancerPoliciesForBackendServer + * @return The response from the SetLoadBalancerPoliciesOfListener * service method, as returned by AmazonElasticLoadBalancing. * + * @throws ElasticLoadBalancingListenerNotFoundException * @throws ElasticLoadBalancingPolicyNotFoundException * @throws ElasticLoadBalancingLoadBalancerNotFoundException * @throws ElasticLoadBalancingInvalidConfigurationRequestException @@ -173,25 +177,34 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse *)setLoadBalancerPoliciesForBackendServer:(ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest *)setLoadBalancerPoliciesForBackendServerRequest; +-(ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse *)setLoadBalancerPoliciesOfListener:(ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest *)setLoadBalancerPoliciesOfListenerRequest; /** *

- * Sets the certificate that terminates the specified listener's SSL - * connections. The specified certificate replaces any prior certificate - * that was used on the same LoadBalancer and port. + * Adds one or more EC2 Availability Zones to the LoadBalancer. + *

+ *

+ * The LoadBalancer evenly distributes requests across all its + * registered Availability Zones that contain instances. As a result, the + * client must ensure that its LoadBalancer is appropriately scaled for + * each registered Availability Zone. + *

+ *

+ * NOTE: The new EC2 Availability Zones to be added must be in the + * same EC2 Region as the Availability Zones for which the LoadBalancer + * was created. *

* - * @param setLoadBalancerListenerSSLCertificateRequest Container for the + * @param enableAvailabilityZonesForLoadBalancerRequest Container for the * necessary parameters to execute the - * SetLoadBalancerListenerSSLCertificate service method on + * EnableAvailabilityZonesForLoadBalancer service method on * AmazonElasticLoadBalancing. * - * @throws ElasticLoadBalancingCertificateNotFoundException - * @throws ElasticLoadBalancingListenerNotFoundException + * @return The response from the EnableAvailabilityZonesForLoadBalancer + * service method, as returned by AmazonElasticLoadBalancing. + * * @throws ElasticLoadBalancingLoadBalancerNotFoundException - * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -201,37 +214,25 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse *)setLoadBalancerListenerSSLCertificate:(ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest *)setLoadBalancerListenerSSLCertificateRequest; +-(ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse *)enableAvailabilityZonesForLoadBalancer:(ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest *)enableAvailabilityZonesForLoadBalancerRequest; /** *

- * Adds new instances to the LoadBalancer. - *

- *

- * Once the instance is registered, it starts receiving traffic and - * requests from the LoadBalancer. Any instance that is not in any of the - * Availability Zones registered for the LoadBalancer will be moved to - * the OutOfService state. It will move to the InService - * state when the Availability Zone is added to the LoadBalancer. - *

- *

- * NOTE: In order for this call to be successful, the client must - * have created the LoadBalancer. The client must provide the same - * account credentials as those that were used to create the - * LoadBalancer. + * Deregisters instances from the LoadBalancer. Once the instance is + * deregistered, it will stop receiving traffic from the LoadBalancer. *

*

- * NOTE: Completion of this API does not guarantee that operation - * has completed. Rather, it means that the request has been registered - * and the changes will happen shortly. + * In order to successfully call this API, the same account credentials + * as those used to create the LoadBalancer must be provided. *

* - * @param registerInstancesWithLoadBalancerRequest Container for the - * necessary parameters to execute the RegisterInstancesWithLoadBalancer - * service method on AmazonElasticLoadBalancing. + * @param deregisterInstancesFromLoadBalancerRequest Container for the + * necessary parameters to execute the + * DeregisterInstancesFromLoadBalancer service method on + * AmazonElasticLoadBalancing. * - * @return The response from the RegisterInstancesWithLoadBalancer + * @return The response from the DeregisterInstancesFromLoadBalancer * service method, as returned by AmazonElasticLoadBalancing. * * @throws ElasticLoadBalancingInvalidInstanceException @@ -245,26 +246,29 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse *)registerInstancesWithLoadBalancer:(ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest *)registerInstancesWithLoadBalancerRequest; +-(ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse *)deregisterInstancesFromLoadBalancer:(ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest *)deregisterInstancesFromLoadBalancerRequest; /** *

- * Associates, updates, or disables a policy with a listener on the - * LoadBalancer. You can associate multiple policies with a listener. + * Returns detailed descriptions of the policies. If you specify a + * LoadBalancer name, the operation returns either the descriptions of + * the specified policies, or descriptions of all the policies created + * for the LoadBalancer. If you don't specify a LoadBalancer name, the + * operation returns descriptions of the specified sample policies, or + * descriptions of all the sample policies. The names of the sample + * policies have the ELBSample- prefix. *

* - * @param setLoadBalancerPoliciesOfListenerRequest Container for the - * necessary parameters to execute the SetLoadBalancerPoliciesOfListener - * service method on AmazonElasticLoadBalancing. + * @param describeLoadBalancerPoliciesRequest Container for the necessary + * parameters to execute the DescribeLoadBalancerPolicies service method + * on AmazonElasticLoadBalancing. * - * @return The response from the SetLoadBalancerPoliciesOfListener - * service method, as returned by AmazonElasticLoadBalancing. + * @return The response from the DescribeLoadBalancerPolicies service + * method, as returned by AmazonElasticLoadBalancing. * * @throws ElasticLoadBalancingPolicyNotFoundException - * @throws ElasticLoadBalancingListenerNotFoundException * @throws ElasticLoadBalancingLoadBalancerNotFoundException - * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -274,19 +278,54 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse *)setLoadBalancerPoliciesOfListener:(ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest *)setLoadBalancerPoliciesOfListenerRequest; +-(ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse *)describeLoadBalancerPolicies:(ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest *)describeLoadBalancerPoliciesRequest; /** *

- * Deletes listeners from the LoadBalancer for the specified port. + * Returns meta-information on the specified LoadBalancer policies + * defined by the Elastic Load Balancing service. The policy types that + * are returned from this action can be used in a + * CreateLoadBalancerPolicy action to instantiate specific policy + * configurations that will be applied to an Elastic LoadBalancer. *

* - * @param deleteLoadBalancerListenersRequest Container for the necessary - * parameters to execute the DeleteLoadBalancerListeners service method - * on AmazonElasticLoadBalancing. + * @param describeLoadBalancerPolicyTypesRequest Container for the + * necessary parameters to execute the DescribeLoadBalancerPolicyTypes + * service method on AmazonElasticLoadBalancing. + * + * @return The response from the DescribeLoadBalancerPolicyTypes service + * method, as returned by AmazonElasticLoadBalancing. + * + * @throws ElasticLoadBalancingPolicyTypeNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonElasticLoadBalancing indicating + * either a problem with the data in the request, or a server side issue. + */ +-(ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse *)describeLoadBalancerPolicyTypes:(ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest *)describeLoadBalancerPolicyTypesRequest; + + +/** + *

+ * Sets the certificate that terminates the specified listener's SSL + * connections. The specified certificate replaces any prior certificate + * that was used on the same LoadBalancer and port. + *

* + * @param setLoadBalancerListenerSSLCertificateRequest Container for the + * necessary parameters to execute the + * SetLoadBalancerListenerSSLCertificate service method on + * AmazonElasticLoadBalancing. + * + * @throws ElasticLoadBalancingListenerNotFoundException + * @throws ElasticLoadBalancingCertificateNotFoundException * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -296,7 +335,7 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingDeleteLoadBalancerListenersResponse *)deleteLoadBalancerListeners:(ElasticLoadBalancingDeleteLoadBalancerListenersRequest *)deleteLoadBalancerListenersRequest; +-(ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse *)setLoadBalancerListenerSSLCertificate:(ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest *)setLoadBalancerListenerSSLCertificateRequest; /** @@ -329,10 +368,10 @@ * @return The response from the CreateLBCookieStickinessPolicy service * method, as returned by AmazonElasticLoadBalancing. * - * @throws ElasticLoadBalancingLoadBalancerNotFoundException * @throws ElasticLoadBalancingTooManyPoliciesException - * @throws ElasticLoadBalancingInvalidConfigurationRequestException * @throws ElasticLoadBalancingDuplicatePolicyNameException + * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -347,24 +386,19 @@ /** *

- * Returns detailed descriptions of the policies. If you specify a - * LoadBalancer name, the operation returns either the descriptions of - * the specified policies, or descriptions of all the policies created - * for the LoadBalancer. If you don't specify a LoadBalancer name, the - * operation returns descriptions of the specified sample policies, or - * descriptions of all the sample policies. The names of the sample - * policies have the ELBSample- prefix. + * Deletes a policy from the LoadBalancer. The specified policy must not + * be enabled for any listeners. *

* - * @param describeLoadBalancerPoliciesRequest Container for the necessary - * parameters to execute the DescribeLoadBalancerPolicies service method - * on AmazonElasticLoadBalancing. + * @param deleteLoadBalancerPolicyRequest Container for the necessary + * parameters to execute the DeleteLoadBalancerPolicy service method on + * AmazonElasticLoadBalancing. * - * @return The response from the DescribeLoadBalancerPolicies service - * method, as returned by AmazonElasticLoadBalancing. + * @return The response from the DeleteLoadBalancerPolicy service method, + * as returned by AmazonElasticLoadBalancing. * - * @throws ElasticLoadBalancingPolicyNotFoundException * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -374,26 +408,41 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse *)describeLoadBalancerPolicies:(ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest *)describeLoadBalancerPoliciesRequest; +-(ElasticLoadBalancingDeleteLoadBalancerPolicyResponse *)deleteLoadBalancerPolicy:(ElasticLoadBalancingDeleteLoadBalancerPolicyRequest *)deleteLoadBalancerPolicyRequest; /** *

- * Returns meta-information on the specified LoadBalancer policies - * defined by the Elastic Load Balancing service. The policy types that - * are returned from this action can be used in a - * CreateLoadBalancerPolicy action to instantiate specific policy - * configurations that will be applied to an Elastic LoadBalancer. + * Adds new instances to the LoadBalancer. + *

+ *

+ * Once the instance is registered, it starts receiving traffic and + * requests from the LoadBalancer. Any instance that is not in any of the + * Availability Zones registered for the LoadBalancer will be moved to + * the OutOfService state. It will move to the InService + * state when the Availability Zone is added to the LoadBalancer. + *

+ *

+ * NOTE: In order for this call to be successful, the client must + * have created the LoadBalancer. The client must provide the same + * account credentials as those that were used to create the + * LoadBalancer. + *

+ *

+ * NOTE: Completion of this API does not guarantee that operation + * has completed. Rather, it means that the request has been registered + * and the changes will happen shortly. *

* - * @param describeLoadBalancerPolicyTypesRequest Container for the - * necessary parameters to execute the DescribeLoadBalancerPolicyTypes + * @param registerInstancesWithLoadBalancerRequest Container for the + * necessary parameters to execute the RegisterInstancesWithLoadBalancer * service method on AmazonElasticLoadBalancing. * - * @return The response from the DescribeLoadBalancerPolicyTypes service - * method, as returned by AmazonElasticLoadBalancing. + * @return The response from the RegisterInstancesWithLoadBalancer + * service method, as returned by AmazonElasticLoadBalancing. * - * @throws ElasticLoadBalancingPolicyTypeNotFoundException + * @throws ElasticLoadBalancingInvalidInstanceException + * @throws ElasticLoadBalancingLoadBalancerNotFoundException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -403,42 +452,91 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse *)describeLoadBalancerPolicyTypes:(ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest *)describeLoadBalancerPolicyTypesRequest; +-(ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse *)registerInstancesWithLoadBalancer:(ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest *)registerInstancesWithLoadBalancerRequest; /** *

- * Removes the specified EC2 Availability Zones from the set of - * configured Availability Zones for the LoadBalancer. + * Enables the client to define an application healthcheck for the + * instances. + *

+ * + * @param configureHealthCheckRequest Container for the necessary + * parameters to execute the ConfigureHealthCheck service method on + * AmazonElasticLoadBalancing. + * + * @return The response from the ConfigureHealthCheck service method, as + * returned by AmazonElasticLoadBalancing. + * + * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonElasticLoadBalancing indicating + * either a problem with the data in the request, or a server side issue. + */ +-(ElasticLoadBalancingConfigureHealthCheckResponse *)configureHealthCheck:(ElasticLoadBalancingConfigureHealthCheckRequest *)configureHealthCheckRequest; + + +/** + *

+ * Returns detailed configuration information for the specified + * LoadBalancers. If no LoadBalancers are specified, the operation + * returns configuration information for all LoadBalancers created by the + * caller. *

*

- * There must be at least one Availability Zone registered with a - * LoadBalancer at all times. A client cannot remove all the Availability - * Zones from a LoadBalancer. Once an Availability Zone is removed, all - * the instances registered with the LoadBalancer that are in the removed - * Availability Zone go into the OutOfService state. Upon Availability - * Zone removal, the LoadBalancer attempts to equally balance the traffic - * among its remaining usable Availability Zones. Trying to remove an - * Availability Zone that was not associated with the LoadBalancer does - * nothing. + * NOTE: The client must have created the specified input + * LoadBalancers in order to retrieve this information; the client must + * provide the same account credentials as those that were used to create + * the LoadBalancer. + *

+ * + * @param describeLoadBalancersRequest Container for the necessary + * parameters to execute the DescribeLoadBalancers service method on + * AmazonElasticLoadBalancing. + * + * @return The response from the DescribeLoadBalancers service method, as + * returned by AmazonElasticLoadBalancing. + * + * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonElasticLoadBalancing indicating + * either a problem with the data in the request, or a server side issue. + */ +-(ElasticLoadBalancingDescribeLoadBalancersResponse *)describeLoadBalancers:(ElasticLoadBalancingDescribeLoadBalancersRequest *)describeLoadBalancersRequest; + + +/** + *

+ * Returns the current state of the instances of the specified + * LoadBalancer. If no instances are specified, the state of all the + * instances for the LoadBalancer is returned. *

*

- * NOTE: In order for this call to be successful, the client must - * have created the LoadBalancer. The client must provide the same - * account credentials as those that were used to create the - * LoadBalancer. + * NOTE: The client must have created the specified input + * LoadBalancer in order to retrieve this information; the client must + * provide the same account credentials as those that were used to create + * the LoadBalancer. *

* - * @param disableAvailabilityZonesForLoadBalancerRequest Container for - * the necessary parameters to execute the - * DisableAvailabilityZonesForLoadBalancer service method on + * @param describeInstanceHealthRequest Container for the necessary + * parameters to execute the DescribeInstanceHealth service method on * AmazonElasticLoadBalancing. * - * @return The response from the DisableAvailabilityZonesForLoadBalancer - * service method, as returned by AmazonElasticLoadBalancing. + * @return The response from the DescribeInstanceHealth service method, + * as returned by AmazonElasticLoadBalancing. * + * @throws ElasticLoadBalancingInvalidInstanceException * @throws ElasticLoadBalancingLoadBalancerNotFoundException - * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -448,45 +546,74 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse *)disableAvailabilityZonesForLoadBalancer:(ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest *)disableAvailabilityZonesForLoadBalancerRequest; +-(ElasticLoadBalancingDescribeInstanceHealthResponse *)describeInstanceHealth:(ElasticLoadBalancingDescribeInstanceHealthRequest *)describeInstanceHealthRequest; /** *

- * Creates a new LoadBalancer. + * Adds one or more subnets to the set of configured subnets in the VPC + * for the LoadBalancer. *

*

- * After the call has completed successfully, a new LoadBalancer is - * created; however, it will not be usable until at least one instance - * has been registered. When the LoadBalancer creation is completed, the - * client can check whether or not it is usable by using the - * DescribeInstanceHealth API. The LoadBalancer is usable as soon as any - * registered instance is InService . + * The Loadbalancers evenly distribute requests across all of the + * registered subnets. + *

+ * + * @param attachLoadBalancerToSubnetsRequest Container for the necessary + * parameters to execute the AttachLoadBalancerToSubnets service method + * on AmazonElasticLoadBalancing. * + * @return The response from the AttachLoadBalancerToSubnets service + * method, as returned by AmazonElasticLoadBalancing. + * + * @throws ElasticLoadBalancingInvalidSubnetException + * @throws ElasticLoadBalancingSubnetNotFoundException + * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingInvalidConfigurationRequestException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonElasticLoadBalancing indicating + * either a problem with the data in the request, or a server side issue. + */ +-(ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse *)attachLoadBalancerToSubnets:(ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest *)attachLoadBalancerToSubnetsRequest; + + +/** + *

+ * Removes the specified EC2 Availability Zones from the set of + * configured Availability Zones for the LoadBalancer. *

*

- * NOTE: Currently, the client's quota of LoadBalancers is limited - * to ten per Region. + * There must be at least one Availability Zone registered with a + * LoadBalancer at all times. A client cannot remove all the Availability + * Zones from a LoadBalancer. Once an Availability Zone is removed, all + * the instances registered with the LoadBalancer that are in the removed + * Availability Zone go into the OutOfService state. Upon Availability + * Zone removal, the LoadBalancer attempts to equally balance the traffic + * among its remaining usable Availability Zones. Trying to remove an + * Availability Zone that was not associated with the LoadBalancer does + * nothing. *

*

- * NOTE: LoadBalancer DNS names vary depending on the Region - * they're created in. For LoadBalancers created in the United States, - * the DNS name ends with: us-east-1.elb.amazonaws.com (for the US - * Standard Region) us-west-1.elb.amazonaws.com (for the Northern - * California Region) For LoadBalancers created in the EU (Ireland) - * Region, the DNS name ends with: eu-west-1.elb.amazonaws.com + * NOTE: In order for this call to be successful, the client must + * have created the LoadBalancer. The client must provide the same + * account credentials as those that were used to create the + * LoadBalancer. *

* - * @param createLoadBalancerRequest Container for the necessary - * parameters to execute the CreateLoadBalancer service method on + * @param disableAvailabilityZonesForLoadBalancerRequest Container for + * the necessary parameters to execute the + * DisableAvailabilityZonesForLoadBalancer service method on * AmazonElasticLoadBalancing. * - * @return The response from the CreateLoadBalancer service method, as - * returned by AmazonElasticLoadBalancing. + * @return The response from the DisableAvailabilityZonesForLoadBalancer + * service method, as returned by AmazonElasticLoadBalancing. * - * @throws ElasticLoadBalancingTooManyLoadBalancersException - * @throws ElasticLoadBalancingDuplicateLoadBalancerNameException - * @throws ElasticLoadBalancingCertificateNotFoundException + * @throws ElasticLoadBalancingLoadBalancerNotFoundException * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException @@ -497,34 +624,25 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingCreateLoadBalancerResponse *)createLoadBalancer:(ElasticLoadBalancingCreateLoadBalancerRequest *)createLoadBalancerRequest; +-(ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse *)disableAvailabilityZonesForLoadBalancer:(ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest *)disableAvailabilityZonesForLoadBalancerRequest; /** *

- * Adds one or more EC2 Availability Zones to the LoadBalancer. - *

- *

- * The LoadBalancer evenly distributes requests across all its - * registered Availability Zones that contain instances. As a result, the - * client must ensure that its LoadBalancer is appropriately scaled for - * each registered Availability Zone. - *

- *

- * NOTE: The new EC2 Availability Zones to be added must be in the - * same EC2 Region as the Availability Zones for which the LoadBalancer - * was created. + * Creates one or more listeners on a LoadBalancer for the specified + * port. If a listener with the given port does not already exist, it + * will be created; otherwise, the properties of the new listener must + * match the properties of the existing listener. *

* - * @param enableAvailabilityZonesForLoadBalancerRequest Container for the - * necessary parameters to execute the - * EnableAvailabilityZonesForLoadBalancer service method on - * AmazonElasticLoadBalancing. - * - * @return The response from the EnableAvailabilityZonesForLoadBalancer - * service method, as returned by AmazonElasticLoadBalancing. + * @param createLoadBalancerListenersRequest Container for the necessary + * parameters to execute the CreateLoadBalancerListeners service method + * on AmazonElasticLoadBalancing. * + * @throws ElasticLoadBalancingCertificateNotFoundException + * @throws ElasticLoadBalancingDuplicateListenerException * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -534,7 +652,7 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse *)enableAvailabilityZonesForLoadBalancer:(ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest *)enableAvailabilityZonesForLoadBalancerRequest; +-(ElasticLoadBalancingCreateLoadBalancerListenersResponse *)createLoadBalancerListeners:(ElasticLoadBalancingCreateLoadBalancerListenersRequest *)createLoadBalancerListenersRequest; /** @@ -553,11 +671,11 @@ * @return The response from the CreateLoadBalancerPolicy service method, * as returned by AmazonElasticLoadBalancing. * - * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingPolicyTypeNotFoundException * @throws ElasticLoadBalancingTooManyPoliciesException - * @throws ElasticLoadBalancingInvalidConfigurationRequestException * @throws ElasticLoadBalancingDuplicatePolicyNameException - * @throws ElasticLoadBalancingPolicyTypeNotFoundException + * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -572,24 +690,25 @@ /** *

- * Deregisters instances from the LoadBalancer. Once the instance is - * deregistered, it will stop receiving traffic from the LoadBalancer. - *

- *

- * In order to successfully call this API, the same account credentials - * as those used to create the LoadBalancer must be provided. + * Replaces the current set of policies associated with a port on which + * the back-end server is listening with a new set of policies. After the + * policies have been created using CreateLoadBalancerPolicy, they can be + * applied here as a list. At this time, only the back-end server + * authentication policy type can be applied to the back-end ports; this + * policy type is composed of multiple public key policies. *

* - * @param deregisterInstancesFromLoadBalancerRequest Container for the - * necessary parameters to execute the - * DeregisterInstancesFromLoadBalancer service method on + * @param setLoadBalancerPoliciesForBackendServerRequest Container for + * the necessary parameters to execute the + * SetLoadBalancerPoliciesForBackendServer service method on * AmazonElasticLoadBalancing. * - * @return The response from the DeregisterInstancesFromLoadBalancer + * @return The response from the SetLoadBalancerPoliciesForBackendServer * service method, as returned by AmazonElasticLoadBalancing. * - * @throws ElasticLoadBalancingInvalidInstanceException + * @throws ElasticLoadBalancingPolicyNotFoundException * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingInvalidConfigurationRequestException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -599,45 +718,60 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse *)deregisterInstancesFromLoadBalancer:(ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest *)deregisterInstancesFromLoadBalancerRequest; +-(ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse *)setLoadBalancerPoliciesForBackendServer:(ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest *)setLoadBalancerPoliciesForBackendServerRequest; /** *

- * Generates a stickiness policy with sticky session lifetimes that - * follow that of an application-generated cookie. This policy can be - * associated only with HTTP/HTTPS listeners. - *

- *

- * This policy is similar to the policy created by - * CreateLBCookieStickinessPolicy, except that the lifetime of the - * special Elastic Load Balancing cookie follows the lifetime of the - * application-generated cookie specified in the policy configuration. - * The LoadBalancer only inserts a new stickiness cookie when the - * application response includes a new application cookie. + * Removes subnets from the set of configured subnets in the VPC for the + * LoadBalancer. *

*

- * If the application cookie is explicitly removed or expires, the - * session stops being sticky until a new application cookie is issued. + * After a subnet is removed all of the EndPoints registered with the + * LoadBalancer that are in the removed subnet will go into the + * OutOfService state. When a subnet is removed, the LoadBalancer + * will balance the traffic among the remaining routable subnets for the + * LoadBalancer. *

+ * + * @param detachLoadBalancerFromSubnetsRequest Container for the + * necessary parameters to execute the DetachLoadBalancerFromSubnets + * service method on AmazonElasticLoadBalancing. + * + * @return The response from the DetachLoadBalancerFromSubnets service + * method, as returned by AmazonElasticLoadBalancing. + * + * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingInvalidConfigurationRequestException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonElasticLoadBalancing indicating + * either a problem with the data in the request, or a server side issue. + */ +-(ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse *)detachLoadBalancerFromSubnets:(ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest *)detachLoadBalancerFromSubnetsRequest; + + +/** *

- * NOTE: An application client must receive and send two cookies: - * the application-generated cookie and the special Elastic Load - * Balancing cookie named AWSELB. This is the default behavior for many - * common web browsers. + * Associates one or more security groups with your LoadBalancer in VPC. + * The provided security group IDs will override any currently applied + * security groups. *

* - * @param createAppCookieStickinessPolicyRequest Container for the - * necessary parameters to execute the CreateAppCookieStickinessPolicy + * @param applySecurityGroupsToLoadBalancerRequest Container for the + * necessary parameters to execute the ApplySecurityGroupsToLoadBalancer * service method on AmazonElasticLoadBalancing. * - * @return The response from the CreateAppCookieStickinessPolicy service - * method, as returned by AmazonElasticLoadBalancing. + * @return The response from the ApplySecurityGroupsToLoadBalancer + * service method, as returned by AmazonElasticLoadBalancing. * * @throws ElasticLoadBalancingLoadBalancerNotFoundException - * @throws ElasticLoadBalancingTooManyPoliciesException * @throws ElasticLoadBalancingInvalidConfigurationRequestException - * @throws ElasticLoadBalancingDuplicatePolicyNameException + * @throws ElasticLoadBalancingInvalidSecurityGroupException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -647,7 +781,7 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse *)createAppCookieStickinessPolicy:(ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest *)createAppCookieStickinessPolicyRequest; +-(ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse *)applySecurityGroupsToLoadBalancer:(ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest *)applySecurityGroupsToLoadBalancerRequest; /** @@ -690,53 +824,44 @@ /** *

- * Deletes a policy from the LoadBalancer. The specified policy must not - * be enabled for any listeners. + * Creates a new LoadBalancer. *

+ *

+ * After the call has completed successfully, a new LoadBalancer is + * created; however, it will not be usable until at least one instance + * has been registered. When the LoadBalancer creation is completed, the + * client can check whether or not it is usable by using the + * DescribeInstanceHealth API. The LoadBalancer is usable as soon as any + * registered instance is InService . * - * @param deleteLoadBalancerPolicyRequest Container for the necessary - * parameters to execute the DeleteLoadBalancerPolicy service method on - * AmazonElasticLoadBalancing. - * - * @return The response from the DeleteLoadBalancerPolicy service method, - * as returned by AmazonElasticLoadBalancing. - * - * @throws ElasticLoadBalancingLoadBalancerNotFoundException - * @throws ElasticLoadBalancingInvalidConfigurationRequestException - * - * @throws AmazonClientException - * If any internal errors are encountered inside the client while - * attempting to make the request or handle the response. For example - * if a network connection is not available. - * @throws AmazonServiceException - * If an error response is returned by AmazonElasticLoadBalancing indicating - * either a problem with the data in the request, or a server side issue. - */ --(ElasticLoadBalancingDeleteLoadBalancerPolicyResponse *)deleteLoadBalancerPolicy:(ElasticLoadBalancingDeleteLoadBalancerPolicyRequest *)deleteLoadBalancerPolicyRequest; - - -/** + *

*

- * Returns the current state of the instances of the specified - * LoadBalancer. If no instances are specified, the state of all the - * instances for the LoadBalancer is returned. + * NOTE: Currently, the client's quota of LoadBalancers is limited + * to ten per Region. *

*

- * NOTE: The client must have created the specified input - * LoadBalancer in order to retrieve this information; the client must - * provide the same account credentials as those that were used to create - * the LoadBalancer. + * NOTE: LoadBalancer DNS names vary depending on the Region + * they're created in. For LoadBalancers created in the United States, + * the DNS name ends with: us-east-1.elb.amazonaws.com (for the US + * Standard Region) us-west-1.elb.amazonaws.com (for the Northern + * California Region) For LoadBalancers created in the EU (Ireland) + * Region, the DNS name ends with: eu-west-1.elb.amazonaws.com *

* - * @param describeInstanceHealthRequest Container for the necessary - * parameters to execute the DescribeInstanceHealth service method on + * @param createLoadBalancerRequest Container for the necessary + * parameters to execute the CreateLoadBalancer service method on * AmazonElasticLoadBalancing. * - * @return The response from the DescribeInstanceHealth service method, - * as returned by AmazonElasticLoadBalancing. + * @return The response from the CreateLoadBalancer service method, as + * returned by AmazonElasticLoadBalancing. * - * @throws ElasticLoadBalancingInvalidInstanceException - * @throws ElasticLoadBalancingLoadBalancerNotFoundException + * @throws ElasticLoadBalancingInvalidSubnetException + * @throws ElasticLoadBalancingCertificateNotFoundException + * @throws ElasticLoadBalancingSubnetNotFoundException + * @throws ElasticLoadBalancingTooManyLoadBalancersException + * @throws ElasticLoadBalancingDuplicateLoadBalancerNameException + * @throws ElasticLoadBalancingInvalidConfigurationRequestException + * @throws ElasticLoadBalancingInvalidSecurityGroupException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -746,57 +871,43 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingDescribeInstanceHealthResponse *)describeInstanceHealth:(ElasticLoadBalancingDescribeInstanceHealthRequest *)describeInstanceHealthRequest; +-(ElasticLoadBalancingCreateLoadBalancerResponse *)createLoadBalancer:(ElasticLoadBalancingCreateLoadBalancerRequest *)createLoadBalancerRequest; /** *

- * Returns detailed configuration information for the specified - * LoadBalancers. If no LoadBalancers are specified, the operation - * returns configuration information for all LoadBalancers created by the - * caller. + * Generates a stickiness policy with sticky session lifetimes that + * follow that of an application-generated cookie. This policy can be + * associated only with HTTP/HTTPS listeners. *

*

- * NOTE: The client must have created the specified input - * LoadBalancers in order to retrieve this information; the client must - * provide the same account credentials as those that were used to create - * the LoadBalancer. + * This policy is similar to the policy created by + * CreateLBCookieStickinessPolicy, except that the lifetime of the + * special Elastic Load Balancing cookie follows the lifetime of the + * application-generated cookie specified in the policy configuration. + * The LoadBalancer only inserts a new stickiness cookie when the + * application response includes a new application cookie. *

- * - * @param describeLoadBalancersRequest Container for the necessary - * parameters to execute the DescribeLoadBalancers service method on - * AmazonElasticLoadBalancing. - * - * @return The response from the DescribeLoadBalancers service method, as - * returned by AmazonElasticLoadBalancing. - * - * @throws ElasticLoadBalancingLoadBalancerNotFoundException - * - * @throws AmazonClientException - * If any internal errors are encountered inside the client while - * attempting to make the request or handle the response. For example - * if a network connection is not available. - * @throws AmazonServiceException - * If an error response is returned by AmazonElasticLoadBalancing indicating - * either a problem with the data in the request, or a server side issue. - */ --(ElasticLoadBalancingDescribeLoadBalancersResponse *)describeLoadBalancers:(ElasticLoadBalancingDescribeLoadBalancersRequest *)describeLoadBalancersRequest; - - -/** *

- * Creates one or more listeners on a LoadBalancer for the specified - * port. If a listener with the given port does not already exist, it - * will be created; otherwise, the properties of the new listener must - * match the properties of the existing listener. + * If the application cookie is explicitly removed or expires, the + * session stops being sticky until a new application cookie is issued. + *

+ *

+ * NOTE: An application client must receive and send two cookies: + * the application-generated cookie and the special Elastic Load + * Balancing cookie named AWSELB. This is the default behavior for many + * common web browsers. *

* - * @param createLoadBalancerListenersRequest Container for the necessary - * parameters to execute the CreateLoadBalancerListeners service method - * on AmazonElasticLoadBalancing. + * @param createAppCookieStickinessPolicyRequest Container for the + * necessary parameters to execute the CreateAppCookieStickinessPolicy + * service method on AmazonElasticLoadBalancing. * - * @throws ElasticLoadBalancingDuplicateListenerException - * @throws ElasticLoadBalancingCertificateNotFoundException + * @return The response from the CreateAppCookieStickinessPolicy service + * method, as returned by AmazonElasticLoadBalancing. + * + * @throws ElasticLoadBalancingTooManyPoliciesException + * @throws ElasticLoadBalancingDuplicatePolicyNameException * @throws ElasticLoadBalancingLoadBalancerNotFoundException * @throws ElasticLoadBalancingInvalidConfigurationRequestException * @@ -808,7 +919,7 @@ * If an error response is returned by AmazonElasticLoadBalancing indicating * either a problem with the data in the request, or a server side issue. */ --(ElasticLoadBalancingCreateLoadBalancerListenersResponse *)createLoadBalancerListeners:(ElasticLoadBalancingCreateLoadBalancerListenersRequest *)createLoadBalancerListenersRequest; +-(ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse *)createAppCookieStickinessPolicy:(ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest *)createAppCookieStickinessPolicyRequest; diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingAppCookieStickinessPolicy.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAppCookieStickinessPolicy.h index a447909b..217a3c35 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingAppCookieStickinessPolicy.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAppCookieStickinessPolicy.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingAppCookieStickinessPolicyUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAppCookieStickinessPolicyUnmarshaller.h index a5bb1ad6..f39fcc2f 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingAppCookieStickinessPolicyUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAppCookieStickinessPolicyUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.h new file mode 100644 index 00000000..bea54281 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.h @@ -0,0 +1,71 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Apply Security Groups To Load Balancer Request + * + * \ingroup ElasticLoadBalancing + */ + +@interface ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest:AmazonServiceRequestConfig + +{ + NSString *loadBalancerName; + NSMutableArray *securityGroups; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The name associated with the LoadBalancer. The name must be unique + * within the client AWS account. + */ +@property (nonatomic, retain) NSString *loadBalancerName; + +/** + * A list of security group IDs to associate with your LoadBalancer in + * VPC. The security group IDs must be provided as the ID and not the + * security group name (For example, sg-1234). + */ +@property (nonatomic, retain) NSMutableArray *securityGroups; + +/** + * Adds a single object to securityGroups. + * This function will alloc and init securityGroups if not already done. + */ +-(void)addSecurityGroup:(NSString *)securityGroupObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.h new file mode 100644 index 00000000..6c08a8ea --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller.h @@ -0,0 +1,33 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceRequest.h" + +#import "ElasticLoadBalancingRequest.h" +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest.h" + + +/** + * Apply Security Groups To Load Balancer Request Marshaller + */ +@interface ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingApplySecurityGroupsToLoadBalancerRequest *)applySecurityGroupsToLoadBalancerRequest; + + +@end + diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.h new file mode 100644 index 00000000..01e733c8 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.h @@ -0,0 +1,69 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "ElasticLoadBalancingResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "ElasticLoadBalancingLoadBalancerNotFoundException.h" +#import "ElasticLoadBalancingInvalidConfigurationRequestException.h" +#import "ElasticLoadBalancingInvalidSecurityGroupException.h" + + +/** + * Apply Security Groups To Load Balancer Result + * + * \ingroup ElasticLoadBalancing + */ + +@interface ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse:ElasticLoadBalancingResponse + +{ + NSMutableArray *securityGroups; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * A list of security group IDs associated with your LoadBalancer. + */ +@property (nonatomic, retain) NSMutableArray *securityGroups; + + + +/** + * Returns a value from the securityGroups array for the specified index + */ +-(NSString *)securityGroupsObjectAtIndex:(int)index; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.h new file mode 100644 index 00000000..bd3eab5c --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller.h @@ -0,0 +1,39 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse.h" +#import "ElasticLoadBalancingResponseUnmarshaller.h" +#import "../AmazonValueUnmarshaller.h" +#import "../AmazonBoolValueUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" + + +/** + * Apply Security Groups To Load Balancer Result Unmarshaller + */ +@interface ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponseUnmarshaller:ElasticLoadBalancingResponseUnmarshaller { + ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse *response; +} + + +@property (nonatomic, readonly) ElasticLoadBalancingApplySecurityGroupsToLoadBalancerResponse *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.h new file mode 100644 index 00000000..0dfb4147 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Attach Load Balancer To Subnets Request + * + * \ingroup ElasticLoadBalancing + */ + +@interface ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest:AmazonServiceRequestConfig + +{ + NSString *loadBalancerName; + NSMutableArray *subnets; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The name associated with the LoadBalancer. The name must be unique + * within the client AWS account. + */ +@property (nonatomic, retain) NSString *loadBalancerName; + +/** + * A list of subnet IDs to add for the LoadBalancer. + */ +@property (nonatomic, retain) NSMutableArray *subnets; + +/** + * Adds a single object to subnets. + * This function will alloc and init subnets if not already done. + */ +-(void)addSubnet:(NSString *)subnetObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.h new file mode 100644 index 00000000..a17e21a1 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller.h @@ -0,0 +1,33 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceRequest.h" + +#import "ElasticLoadBalancingRequest.h" +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest.h" + + +/** + * Attach Load Balancer To Subnets Request Marshaller + */ +@interface ElasticLoadBalancingAttachLoadBalancerToSubnetsRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingAttachLoadBalancerToSubnetsRequest *)attachLoadBalancerToSubnetsRequest; + + +@end + diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.h new file mode 100644 index 00000000..6378d938 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.h @@ -0,0 +1,70 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "ElasticLoadBalancingResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "ElasticLoadBalancingInvalidSubnetException.h" +#import "ElasticLoadBalancingSubnetNotFoundException.h" +#import "ElasticLoadBalancingLoadBalancerNotFoundException.h" +#import "ElasticLoadBalancingInvalidConfigurationRequestException.h" + + +/** + * Attach Load Balancer To Subnets Result + * + * \ingroup ElasticLoadBalancing + */ + +@interface ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse:ElasticLoadBalancingResponse + +{ + NSMutableArray *subnets; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * A list of subnet IDs added for the LoadBalancer. + */ +@property (nonatomic, retain) NSMutableArray *subnets; + + + +/** + * Returns a value from the subnets array for the specified index + */ +-(NSString *)subnetsObjectAtIndex:(int)index; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.h new file mode 100644 index 00000000..fcec992c --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller.h @@ -0,0 +1,39 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse.h" +#import "ElasticLoadBalancingResponseUnmarshaller.h" +#import "../AmazonValueUnmarshaller.h" +#import "../AmazonBoolValueUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" + + +/** + * Attach Load Balancer To Subnets Result Unmarshaller + */ +@interface ElasticLoadBalancingAttachLoadBalancerToSubnetsResponseUnmarshaller:ElasticLoadBalancingResponseUnmarshaller { + ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse *response; +} + + +@property (nonatomic, readonly) ElasticLoadBalancingAttachLoadBalancerToSubnetsResponse *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingBackendServerDescription.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingBackendServerDescription.h index cf5c69d4..24c25200 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingBackendServerDescription.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingBackendServerDescription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingBackendServerDescriptionUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingBackendServerDescriptionUnmarshaller.h index 890a5c18..315fd55e 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingBackendServerDescriptionUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingBackendServerDescriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCertificateNotFoundException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCertificateNotFoundException.h index b1d7e06b..efb14445 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCertificateNotFoundException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCertificateNotFoundException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckRequest.h index c949fe18..575f381c 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.h index ce4066dc..d85c1510 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckResponse.h index 55eb7334..9336f50c 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.h index ecfe9ad7..228db782 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingConfigureHealthCheckResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.h index 184afdb0..70c63ad9 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.h index ee4c54bc..1bd74669 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.h index 7bc36946..7928b9dd 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ #import "ElasticLoadBalancingResponse.h" #import "../AmazonServiceExceptionUnmarshaller.h" -#import "ElasticLoadBalancingLoadBalancerNotFoundException.h" #import "ElasticLoadBalancingTooManyPoliciesException.h" -#import "ElasticLoadBalancingInvalidConfigurationRequestException.h" #import "ElasticLoadBalancingDuplicatePolicyNameException.h" +#import "ElasticLoadBalancingLoadBalancerNotFoundException.h" +#import "ElasticLoadBalancingInvalidConfigurationRequestException.h" /** diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.h index 430f1fab..6a3ade66 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateAppCookieStickinessPolicyResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.h index bed2d13d..b0991b92 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.h index c7815f1c..28c7f439 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.h index d9b49432..e6eaf937 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ #import "ElasticLoadBalancingResponse.h" #import "../AmazonServiceExceptionUnmarshaller.h" -#import "ElasticLoadBalancingLoadBalancerNotFoundException.h" #import "ElasticLoadBalancingTooManyPoliciesException.h" -#import "ElasticLoadBalancingInvalidConfigurationRequestException.h" #import "ElasticLoadBalancingDuplicatePolicyNameException.h" +#import "ElasticLoadBalancingLoadBalancerNotFoundException.h" +#import "ElasticLoadBalancingInvalidConfigurationRequestException.h" /** diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.h index 9363db45..ba941632 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLBCookieStickinessPolicyResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersRequest.h index 2e59e87c..fa345ab1 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller.h index e0555b8e..2d257ead 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersResponse.h index f728f533..aa178d04 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,8 +17,8 @@ #import "ElasticLoadBalancingResponse.h" #import "../AmazonServiceExceptionUnmarshaller.h" -#import "ElasticLoadBalancingDuplicateListenerException.h" #import "ElasticLoadBalancingCertificateNotFoundException.h" +#import "ElasticLoadBalancingDuplicateListenerException.h" #import "ElasticLoadBalancingLoadBalancerNotFoundException.h" #import "ElasticLoadBalancingInvalidConfigurationRequestException.h" diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller.h index f5bf3847..b2c24aa8 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerListenersResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyRequest.h index 05910b93..8a5aa30b 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.h index 6bd2b0dc..921c1ea1 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyResponse.h index 4dbb7cba..c615aef2 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ #import "ElasticLoadBalancingResponse.h" #import "../AmazonServiceExceptionUnmarshaller.h" -#import "ElasticLoadBalancingLoadBalancerNotFoundException.h" +#import "ElasticLoadBalancingPolicyTypeNotFoundException.h" #import "ElasticLoadBalancingTooManyPoliciesException.h" -#import "ElasticLoadBalancingInvalidConfigurationRequestException.h" #import "ElasticLoadBalancingDuplicatePolicyNameException.h" -#import "ElasticLoadBalancingPolicyTypeNotFoundException.h" +#import "ElasticLoadBalancingLoadBalancerNotFoundException.h" +#import "ElasticLoadBalancingInvalidConfigurationRequestException.h" /** diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.h index a4a84f9b..e36fc161 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerPolicyResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerRequest.h index a897d9ab..1c482071 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -31,6 +31,8 @@ NSString *loadBalancerName; NSMutableArray *listeners; NSMutableArray *availabilityZones; + NSMutableArray *subnets; + NSMutableArray *securityGroups; } @@ -56,6 +58,16 @@ */ @property (nonatomic, retain) NSMutableArray *availabilityZones; +/** + * A list of subnet IDs in your VPC to attach to your LoadBalancer. + */ +@property (nonatomic, retain) NSMutableArray *subnets; + +/** + * The security groups assigned to your LoadBalancer within your VPC. + */ +@property (nonatomic, retain) NSMutableArray *securityGroups; + /** * Default constructor for a new CreateLoadBalancerRequest object. Callers should use the @@ -100,6 +112,18 @@ */ -(void)addAvailabilityZone:(NSString *)availabilityZoneObject; +/** + * Adds a single object to subnets. + * This function will alloc and init subnets if not already done. + */ +-(void)addSubnet:(NSString *)subnetObject; + +/** + * Adds a single object to securityGroups. + * This function will alloc and init securityGroups if not already done. + */ +-(void)addSecurityGroup:(NSString *)securityGroupObject; + /** * Returns a string representation of this object; useful for testing and * debugging. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.h index eb218ebe..38649062 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,6 +19,8 @@ #import "ElasticLoadBalancingCreateLoadBalancerRequest.h" #import "ElasticLoadBalancingListener.h" #import "ElasticLoadBalancingListener.h" +#import "ElasticLoadBalancingListener.h" +#import "ElasticLoadBalancingListener.h" /** diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerResponse.h index b491d8c7..b8b45e4a 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,10 +17,13 @@ #import "ElasticLoadBalancingResponse.h" #import "../AmazonServiceExceptionUnmarshaller.h" +#import "ElasticLoadBalancingInvalidSubnetException.h" +#import "ElasticLoadBalancingCertificateNotFoundException.h" +#import "ElasticLoadBalancingSubnetNotFoundException.h" #import "ElasticLoadBalancingTooManyLoadBalancersException.h" #import "ElasticLoadBalancingDuplicateLoadBalancerNameException.h" -#import "ElasticLoadBalancingCertificateNotFoundException.h" #import "ElasticLoadBalancingInvalidConfigurationRequestException.h" +#import "ElasticLoadBalancingInvalidSecurityGroupException.h" /** diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.h index 6a9b32b2..ff6a0a9e 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingCreateLoadBalancerResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersRequest.h index e7deb546..8e6804cc 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller.h index 85c66208..4a55ab3a 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersResponse.h index b8f4b586..4d747f3d 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller.h index 17f35b18..031b8238 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerListenersResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyRequest.h index aa2e3231..13a51ecd 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller.h index cada59a5..71fbab1d 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyResponse.h index 80be1da0..760c38eb 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller.h index 53e0515e..d410a5cf 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerPolicyResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerRequest.h index 35d154e4..688043fb 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.h index 2b8e6aa8..c7a0ed4d 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerResponse.h index 30fbf312..c18b43b4 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.h index e123c8ee..4c554bd3 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeleteLoadBalancerResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest.h index 2558d142..07cdb78f 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller.h index 3f79a2ef..318e53b4 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse.h index 86df6b06..72c7bf24 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller.h index 7d1cef6c..82cf830a 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDeregisterInstancesFromLoadBalancerResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthRequest.h index e24fb356..220c47b6 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.h index 4569b6ab..0543b57d 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthResponse.h index 72c03d6d..11005468 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.h index 01b2be1f..599d36de 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeInstanceHealthResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.h index cabd1322..e5163274 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.h index 388441a5..89978d68 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.h index 0454a519..6142e166 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.h index cc68be0c..88e42815 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPoliciesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.h index 1dc6417d..6cb2ef60 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.h index f4458c07..1eed9e02 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.h index 5d1c52eb..6459e924 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.h index 1cdc8166..9a4758ba 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancerPolicyTypesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersRequest.h index e44484e5..cd83e4a3 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ { NSMutableArray *loadBalancerNames; + NSString *marker; } @@ -37,6 +38,11 @@ */ @property (nonatomic, retain) NSMutableArray *loadBalancerNames; +/** + * An optional parameter reserved for future use. + */ +@property (nonatomic, retain) NSString *marker; + /** * Default constructor for a new DescribeLoadBalancersRequest object. Callers should use the diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller.h index 641b0f8e..0839bd74 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersResponse.h index 7311b59a..ae38b4db 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ { NSMutableArray *loadBalancerDescriptions; + NSString *nextMarker; } @@ -49,6 +50,11 @@ */ @property (nonatomic, retain) NSMutableArray *loadBalancerDescriptions; +/** + * An optional parameter reserved for future use. + */ +@property (nonatomic, retain) NSString *nextMarker; + /** diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller.h index 3e70b597..2e012da2 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDescribeLoadBalancersResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.h new file mode 100644 index 00000000..49a9f4b3 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.h @@ -0,0 +1,70 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Detach Load Balancer From Subnets Request + * + * \ingroup ElasticLoadBalancing + */ + +@interface ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest:AmazonServiceRequestConfig + +{ + NSString *loadBalancerName; + NSMutableArray *subnets; +} + + + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * The name associated with the LoadBalancer to be detached. The name + * must be unique within the client AWS account. + */ +@property (nonatomic, retain) NSString *loadBalancerName; + +/** + * A list of subnet IDs to remove from the set of configured subnets for + * the LoadBalancer. + */ +@property (nonatomic, retain) NSMutableArray *subnets; + +/** + * Adds a single object to subnets. + * This function will alloc and init subnets if not already done. + */ +-(void)addSubnet:(NSString *)subnetObject; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.h new file mode 100644 index 00000000..f85cde30 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller.h @@ -0,0 +1,33 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceRequest.h" + +#import "ElasticLoadBalancingRequest.h" +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest.h" + + +/** + * Detach Load Balancer From Subnets Request Marshaller + */ +@interface ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(ElasticLoadBalancingDetachLoadBalancerFromSubnetsRequest *)detachLoadBalancerFromSubnetsRequest; + + +@end + diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.h new file mode 100644 index 00000000..c43a81e1 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.h @@ -0,0 +1,69 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "ElasticLoadBalancingResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "ElasticLoadBalancingLoadBalancerNotFoundException.h" +#import "ElasticLoadBalancingInvalidConfigurationRequestException.h" + + +/** + * Detach Load Balancer From Subnets Result + * + * \ingroup ElasticLoadBalancing + */ + +@interface ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse:ElasticLoadBalancingResponse + +{ + NSMutableArray *subnets; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * A list of subnet IDs removed from the configured set of subnets for + * the LoadBalancer. + */ +@property (nonatomic, retain) NSMutableArray *subnets; + + + +/** + * Returns a value from the subnets array for the specified index + */ +-(NSString *)subnetsObjectAtIndex:(int)index; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.h new file mode 100644 index 00000000..6e4b2364 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller.h @@ -0,0 +1,39 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse.h" +#import "ElasticLoadBalancingResponseUnmarshaller.h" +#import "../AmazonValueUnmarshaller.h" +#import "../AmazonBoolValueUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" + + +/** + * Detach Load Balancer From Subnets Result Unmarshaller + */ +@interface ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponseUnmarshaller:ElasticLoadBalancingResponseUnmarshaller { + ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse *response; +} + + +@property (nonatomic, readonly) ElasticLoadBalancingDetachLoadBalancerFromSubnetsResponse *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.h index a73e9b16..b884f9d4 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.h index bdd40d97..9dd09118 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.h index 569a60f7..288db29b 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h index 0687082c..73e4f787 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicateListenerException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicateListenerException.h index 2f907b2e..fd418397 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicateListenerException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicateListenerException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicateLoadBalancerNameException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicateLoadBalancerNameException.h index 0886a059..1becb501 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicateLoadBalancerNameException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicateLoadBalancerNameException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicatePolicyNameException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicatePolicyNameException.h index a52a1880..5182f9eb 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicatePolicyNameException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingDuplicatePolicyNameException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest.h index 0b476c8e..cbbee444 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller.h index 06052af2..9c1455b0 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse.h index e02fa922..401c0855 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h index 2ecea44e..954f3b76 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingHealthCheck.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingHealthCheck.h index b5bdf08e..ece7dcc9 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingHealthCheck.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingHealthCheck.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingHealthCheckUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingHealthCheckUnmarshaller.h index 5b4e49d0..07123385 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingHealthCheckUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingHealthCheckUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstance.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstance.h index ddfe8f6c..14908944 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstance.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstance.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceState.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceState.h index 4ad72e66..6dd215eb 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceState.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceState.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceStateUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceStateUnmarshaller.h index 0a410611..9d7fed73 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceStateUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceStateUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceUnmarshaller.h index 95bfd382..b7d776f1 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInstanceUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidConfigurationRequestException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidConfigurationRequestException.h index 30a3ae6d..768411a8 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidConfigurationRequestException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidConfigurationRequestException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidInstanceException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidInstanceException.h index 14022f94..02570bb8 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidInstanceException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidInstanceException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidSecurityGroupException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidSecurityGroupException.h new file mode 100644 index 00000000..04542c3c --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidSecurityGroupException.h @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceException.h" + + + + +/** + *

+ * One or more specified security groups do not exist. + *

+ * + * \ingroup ElasticLoadBalancing + */ +@interface ElasticLoadBalancingInvalidSecurityGroupException:AmazonServiceException +{ +} + + + + + + + +-(id)initWithMessage:(NSString *)message; + + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidSubnetException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidSubnetException.h new file mode 100644 index 00000000..6487c939 --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingInvalidSubnetException.h @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceException.h" + + + + +/** + *

+ * The VPC has no Internet gateway. + *

+ * + * \ingroup ElasticLoadBalancing + */ +@interface ElasticLoadBalancingInvalidSubnetException:AmazonServiceException +{ +} + + + + + + + +-(id)initWithMessage:(NSString *)message; + + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLBCookieStickinessPolicy.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLBCookieStickinessPolicy.h index 162c0bdc..7e9dd2b2 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLBCookieStickinessPolicy.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLBCookieStickinessPolicy.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLBCookieStickinessPolicyUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLBCookieStickinessPolicyUnmarshaller.h index dfca49f2..4d942a8a 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLBCookieStickinessPolicyUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLBCookieStickinessPolicyUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListener.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListener.h index 3d7baa2b..c1d744fc 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListener.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListener.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerDescription.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerDescription.h index 296a4a28..78b1cf04 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerDescription.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerDescription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerDescriptionUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerDescriptionUnmarshaller.h index 1acefa5e..d93ecf31 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerDescriptionUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerDescriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerNotFoundException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerNotFoundException.h index 7b88f8ef..879adbb2 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerNotFoundException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerNotFoundException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerUnmarshaller.h index 85146b88..8b6a3c52 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingListenerUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerDescription.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerDescription.h index 9abd8e71..4a035bcb 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerDescription.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerDescription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -39,9 +39,12 @@ ElasticLoadBalancingPolicies *policies; NSMutableArray *backendServerDescriptions; NSMutableArray *availabilityZones; + NSMutableArray *subnets; + NSString *vPCId; NSMutableArray *instances; ElasticLoadBalancingHealthCheck *healthCheck; ElasticLoadBalancingSourceSecurityGroup *sourceSecurityGroup; + NSMutableArray *securityGroups; NSDate *createdTime; } @@ -99,6 +102,16 @@ */ @property (nonatomic, retain) NSMutableArray *availabilityZones; +/** + * Provides a list of VPC subnet IDs for the LoadBalancer. + */ +@property (nonatomic, retain) NSMutableArray *subnets; + +/** + * Provides the ID of the VPC attached to the LoadBalancer. + */ +@property (nonatomic, retain) NSString *vPCId; + /** * Provides a list of EC2 instance IDs for the LoadBalancer. */ @@ -119,6 +132,11 @@ */ @property (nonatomic, retain) ElasticLoadBalancingSourceSecurityGroup *sourceSecurityGroup; +/** + * The security groups the LoadBalancer is a member of (VPC only). + */ +@property (nonatomic, retain) NSMutableArray *securityGroups; + /** * Provides the date and time the LoadBalancer was created. */ @@ -149,12 +167,24 @@ */ -(void)addAvailabilityZone:(NSString *)availabilityZoneObject; +/** + * Adds a single object to subnets. + * This function will alloc and init subnets if not already done. + */ +-(void)addSubnet:(NSString *)subnetObject; + /** * Adds a single object to instances. * This function will alloc and init instances if not already done. */ -(void)addInstance:(ElasticLoadBalancingInstance *)instanceObject; +/** + * Adds a single object to securityGroups. + * This function will alloc and init securityGroups if not already done. + */ +-(void)addSecurityGroup:(NSString *)securityGroupObject; + /** * Returns a string representation of this object; useful for testing and * debugging. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerDescriptionUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerDescriptionUnmarshaller.h index 027bf225..bb227f85 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerDescriptionUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerDescriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -25,9 +25,11 @@ #import "ElasticLoadBalancingBackendServerDescriptionUnmarshaller.h" #import "../AmazonListUnmarshaller.h" #import "../AmazonListUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" #import "ElasticLoadBalancingInstanceUnmarshaller.h" #import "ElasticLoadBalancingHealthCheckUnmarshaller.h" #import "ElasticLoadBalancingSourceSecurityGroupUnmarshaller.h" +#import "../AmazonListUnmarshaller.h" /** diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerNotFoundException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerNotFoundException.h index 65267760..f3d58b42 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerNotFoundException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingLoadBalancerNotFoundException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicies.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicies.h index c55a1817..0603328b 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicies.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicies.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPoliciesUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPoliciesUnmarshaller.h index cf2b1eb6..dd5d5365 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPoliciesUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPoliciesUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttribute.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttribute.h index 089cec28..38643206 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttribute.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttribute.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeDescription.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeDescription.h index ca3cdc41..915d52e0 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeDescription.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeDescription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeDescriptionUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeDescriptionUnmarshaller.h index a73bba90..0f1391b1 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeDescriptionUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeDescriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeTypeDescription.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeTypeDescription.h index deefddab..c4b647bf 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeTypeDescription.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeTypeDescription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -67,9 +67,6 @@ * be supplied
  • ZERO_OR_MORE(0..*) : Optional. Multiple values * are allowed
  • ONE_OR_MORE(1..*0) : Required. Multiple values * are allowed
  • - *

    - * Constraints:
    - * Allowed Values: ONE, ZERO_OR_ONE, ZERO_OR_MORE, ONE_OR_MORE */ @property (nonatomic, retain) NSString *cardinality; diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeTypeDescriptionUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeTypeDescriptionUnmarshaller.h index ba3b9003..200d4153 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeTypeDescriptionUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyAttributeTypeDescriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyDescription.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyDescription.h index b2f3d1c1..c46ef18b 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyDescription.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyDescription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyDescriptionUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyDescriptionUnmarshaller.h index 765d124b..104b7ce5 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyDescriptionUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyDescriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyNotFoundException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyNotFoundException.h index 09c63fa1..f798f2ef 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyNotFoundException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyNotFoundException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeDescription.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeDescription.h index d26665c7..f1fe94bb 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeDescription.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeDescription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeDescriptionUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeDescriptionUnmarshaller.h index e4f705d3..a6a23eb3 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeDescriptionUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeDescriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeNotFoundException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeNotFoundException.h index 0f657bfb..f057070b 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeNotFoundException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingPolicyTypeNotFoundException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.h index 2b751ddb..b56e5e1c 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -41,8 +41,14 @@ @property (nonatomic, retain) NSString *loadBalancerName; /** - * A list of instances IDs that should be registered with the - * LoadBalancer. + * A list of instance IDs that should be registered with the + * LoadBalancer. If you stop and then restart the instance, the + * instance ID changes. Elastic Load Balancing cannot recognize the new + * ID, which prevents it from routing traffic to your instance. We + * recommend you de-register and then register your the new instance ID + * with the load balancer after you restart your instance. To de-register + * your instances from load balancer, use + * DeregisterInstancesFromLoadBalancer action. */ @property (nonatomic, retain) NSMutableArray *instances; @@ -59,8 +65,14 @@ * * @param theLoadBalancerName The name associated with the LoadBalancer. * The name must be unique within the client AWS account. - * @param theInstances A list of instances IDs that should be registered - * with the LoadBalancer. + * @param theInstances A list of instance IDs that should be registered + * with the LoadBalancer. If you stop and then restart the + * instance, the instance ID changes. Elastic Load Balancing cannot + * recognize the new ID, which prevents it from routing traffic to your + * instance. We recommend you de-register and then register your the new + * instance ID with the load balancer after you restart your instance. To + * de-register your instances from load balancer, use + * DeregisterInstancesFromLoadBalancer action. */ -(id)initWithLoadBalancerName:(NSString *)theLoadBalancerName andInstances:(NSMutableArray *)theInstances; diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.h index d8de0038..03159397 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.h index 1f6d4ac8..a8f7c17a 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.h index 2634335e..f3ab6d0c 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingRegisterInstancesWithLoadBalancerResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingResponse.h index add0066a..1e9c9ac6 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingResponseUnmarshaller.h index a9229099..0b368922 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.h index 6a1f1f1f..a808bc36 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.h index 4b45acf0..9ff398b7 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.h index 75fe6050..3137abbd 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,8 +17,8 @@ #import "ElasticLoadBalancingResponse.h" #import "../AmazonServiceExceptionUnmarshaller.h" -#import "ElasticLoadBalancingCertificateNotFoundException.h" #import "ElasticLoadBalancingListenerNotFoundException.h" +#import "ElasticLoadBalancingCertificateNotFoundException.h" #import "ElasticLoadBalancingLoadBalancerNotFoundException.h" #import "ElasticLoadBalancingInvalidConfigurationRequestException.h" diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.h index 9d0bf32e..b1ddfa93 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerListenerSSLCertificateResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.h index b2adb70d..27f37841 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.h index 314c2cf2..116c82c0 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.h index 15c2a3bd..c4140111 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.h index 884086a9..3cdf8a24 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.h index 368de083..fd50a20e 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.h index fe0d6970..fd7833b2 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.h index 85a53d9f..91007fc7 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -17,8 +17,8 @@ #import "ElasticLoadBalancingResponse.h" #import "../AmazonServiceExceptionUnmarshaller.h" -#import "ElasticLoadBalancingPolicyNotFoundException.h" #import "ElasticLoadBalancingListenerNotFoundException.h" +#import "ElasticLoadBalancingPolicyNotFoundException.h" #import "ElasticLoadBalancingLoadBalancerNotFoundException.h" #import "ElasticLoadBalancingInvalidConfigurationRequestException.h" diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.h index 94658e2f..7fd3d0de 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSetLoadBalancerPoliciesOfListenerResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSourceSecurityGroup.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSourceSecurityGroup.h index 3fc684e2..2d6e5b2f 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSourceSecurityGroup.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSourceSecurityGroup.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSourceSecurityGroupUnmarshaller.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSourceSecurityGroupUnmarshaller.h index 2279b583..fa3ffb36 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSourceSecurityGroupUnmarshaller.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSourceSecurityGroupUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingSubnetNotFoundException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSubnetNotFoundException.h new file mode 100644 index 00000000..57416e0a --- /dev/null +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingSubnetNotFoundException.h @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceException.h" + + + + +/** + *

    + * One or more subnets were not found. + *

    + * + * \ingroup ElasticLoadBalancing + */ +@interface ElasticLoadBalancingSubnetNotFoundException:AmazonServiceException +{ +} + + + + + + + +-(id)initWithMessage:(NSString *)message; + + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingTooManyLoadBalancersException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingTooManyLoadBalancersException.h index b555f664..e2372346 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingTooManyLoadBalancersException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingTooManyLoadBalancersException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/ElasticLoadBalancing/ElasticLoadBalancingTooManyPoliciesException.h b/src/include/ElasticLoadBalancing/ElasticLoadBalancingTooManyPoliciesException.h index bf78ff94..0a44916a 100644 --- a/src/include/ElasticLoadBalancing/ElasticLoadBalancingTooManyPoliciesException.h +++ b/src/include/ElasticLoadBalancing/ElasticLoadBalancingTooManyPoliciesException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/AmazonS3Client.h b/src/include/S3/AmazonS3Client.h index d361ff87..c3c03cc4 100644 --- a/src/include/S3/AmazonS3Client.h +++ b/src/include/S3/AmazonS3Client.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3AbortMultipartUploadRequest.h b/src/include/S3/S3AbortMultipartUploadRequest.h index 23cf5858..6057b441 100644 --- a/src/include/S3/S3AbortMultipartUploadRequest.h +++ b/src/include/S3/S3AbortMultipartUploadRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3AbortMultipartUploadResponse.h b/src/include/S3/S3AbortMultipartUploadResponse.h index a1a07071..2a99931d 100644 --- a/src/include/S3/S3AbortMultipartUploadResponse.h +++ b/src/include/S3/S3AbortMultipartUploadResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3AbstractPutRequest.h b/src/include/S3/S3AbstractPutRequest.h index 9f168d57..2c402567 100644 --- a/src/include/S3/S3AbstractPutRequest.h +++ b/src/include/S3/S3AbstractPutRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3AccessControlList.h b/src/include/S3/S3AccessControlList.h index 96188dd6..f196c07a 100644 --- a/src/include/S3/S3AccessControlList.h +++ b/src/include/S3/S3AccessControlList.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3AccessControlListUnmarshaller.h b/src/include/S3/S3AccessControlListUnmarshaller.h index b9b8beb3..f2bb7ecb 100644 --- a/src/include/S3/S3AccessControlListUnmarshaller.h +++ b/src/include/S3/S3AccessControlListUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3Bucket.h b/src/include/S3/S3Bucket.h index bab272e2..82b607ed 100644 --- a/src/include/S3/S3Bucket.h +++ b/src/include/S3/S3Bucket.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3BucketNameUtilities.h b/src/include/S3/S3BucketNameUtilities.h index 74d3c05f..b68c552a 100644 --- a/src/include/S3/S3BucketNameUtilities.h +++ b/src/include/S3/S3BucketNameUtilities.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3BucketPolicy.h b/src/include/S3/S3BucketPolicy.h index 0ff88c0b..1aa6e9c6 100644 --- a/src/include/S3/S3BucketPolicy.h +++ b/src/include/S3/S3BucketPolicy.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3BucketUnmarshaller.h b/src/include/S3/S3BucketUnmarshaller.h index bafdee0c..9f5735e6 100644 --- a/src/include/S3/S3BucketUnmarshaller.h +++ b/src/include/S3/S3BucketUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3BucketVersioningConfiguration.h b/src/include/S3/S3BucketVersioningConfiguration.h index 62abb177..dafa190c 100644 --- a/src/include/S3/S3BucketVersioningConfiguration.h +++ b/src/include/S3/S3BucketVersioningConfiguration.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3BucketVersioningConfigurationUnmarshaller.h b/src/include/S3/S3BucketVersioningConfigurationUnmarshaller.h index 461b809e..696561a9 100644 --- a/src/include/S3/S3BucketVersioningConfigurationUnmarshaller.h +++ b/src/include/S3/S3BucketVersioningConfigurationUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CannedACL.h b/src/include/S3/S3CannedACL.h index f8fbfcd6..9d69c168 100644 --- a/src/include/S3/S3CannedACL.h +++ b/src/include/S3/S3CannedACL.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CompleteMultipartUploadRequest.h b/src/include/S3/S3CompleteMultipartUploadRequest.h index 9607679e..b11c7d51 100644 --- a/src/include/S3/S3CompleteMultipartUploadRequest.h +++ b/src/include/S3/S3CompleteMultipartUploadRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CompleteMultipartUploadResponse.h b/src/include/S3/S3CompleteMultipartUploadResponse.h index e076d5ee..92ab7fdf 100644 --- a/src/include/S3/S3CompleteMultipartUploadResponse.h +++ b/src/include/S3/S3CompleteMultipartUploadResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CompleteMultipartUploadResult.h b/src/include/S3/S3CompleteMultipartUploadResult.h index 7ba8cbe5..818e500b 100644 --- a/src/include/S3/S3CompleteMultipartUploadResult.h +++ b/src/include/S3/S3CompleteMultipartUploadResult.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CompleteMultipartUploadResultUnmarshaller.h b/src/include/S3/S3CompleteMultipartUploadResultUnmarshaller.h index 20fa8f18..115c6613 100644 --- a/src/include/S3/S3CompleteMultipartUploadResultUnmarshaller.h +++ b/src/include/S3/S3CompleteMultipartUploadResultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3Constants.h b/src/include/S3/S3Constants.h index 654ac6d5..d9bd0218 100644 --- a/src/include/S3/S3Constants.h +++ b/src/include/S3/S3Constants.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -66,7 +66,7 @@ #define kS3SubResourcePolicy @"policy" #define kS3SubResourceUploads @"uploads" #define kS3SubResourceUploadId @"uploadId" - +#define kS3SubResourceVersionId @"versionId" // pre-signed URL query string parameters diff --git a/src/include/S3/S3CopyObjectRequest.h b/src/include/S3/S3CopyObjectRequest.h index af49e433..b087177d 100644 --- a/src/include/S3/S3CopyObjectRequest.h +++ b/src/include/S3/S3CopyObjectRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CopyObjectResponse.h b/src/include/S3/S3CopyObjectResponse.h index ff4d2875..5905e2ef 100644 --- a/src/include/S3/S3CopyObjectResponse.h +++ b/src/include/S3/S3CopyObjectResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CopyObjectResult.h b/src/include/S3/S3CopyObjectResult.h index 33245b83..9e8a78ec 100644 --- a/src/include/S3/S3CopyObjectResult.h +++ b/src/include/S3/S3CopyObjectResult.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -30,4 +30,4 @@ /** Gets and sets the etag property */ @property (nonatomic, retain) NSString *etag; -@end \ No newline at end of file +@end diff --git a/src/include/S3/S3CopyObjectResultUnmarshaller.h b/src/include/S3/S3CopyObjectResultUnmarshaller.h index 965b1614..36b39355 100644 --- a/src/include/S3/S3CopyObjectResultUnmarshaller.h +++ b/src/include/S3/S3CopyObjectResultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CopyPartRequest.h b/src/include/S3/S3CopyPartRequest.h index 956541a6..f6b09c2e 100644 --- a/src/include/S3/S3CopyPartRequest.h +++ b/src/include/S3/S3CopyPartRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CopyPartResponse.h b/src/include/S3/S3CopyPartResponse.h index 5541b217..4b230b02 100644 --- a/src/include/S3/S3CopyPartResponse.h +++ b/src/include/S3/S3CopyPartResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CopyPartResult.h b/src/include/S3/S3CopyPartResult.h index 65693438..ec0c2686 100644 --- a/src/include/S3/S3CopyPartResult.h +++ b/src/include/S3/S3CopyPartResult.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -30,4 +30,4 @@ /** Gets and sets the etag property */ @property (nonatomic, retain) NSString *etag; -@end \ No newline at end of file +@end diff --git a/src/include/S3/S3CopyPartResultUnmarshaller.h b/src/include/S3/S3CopyPartResultUnmarshaller.h index 44d53968..daab7ce1 100644 --- a/src/include/S3/S3CopyPartResultUnmarshaller.h +++ b/src/include/S3/S3CopyPartResultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CreateBucketRequest.h b/src/include/S3/S3CreateBucketRequest.h index 1005adc3..f30c09a3 100644 --- a/src/include/S3/S3CreateBucketRequest.h +++ b/src/include/S3/S3CreateBucketRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3CreateBucketResponse.h b/src/include/S3/S3CreateBucketResponse.h index 43398628..c0367942 100644 --- a/src/include/S3/S3CreateBucketResponse.h +++ b/src/include/S3/S3CreateBucketResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3DeleteBucketPolicyRequest.h b/src/include/S3/S3DeleteBucketPolicyRequest.h index 3649d403..c14f6f25 100644 --- a/src/include/S3/S3DeleteBucketPolicyRequest.h +++ b/src/include/S3/S3DeleteBucketPolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3DeleteBucketPolicyResponse.h b/src/include/S3/S3DeleteBucketPolicyResponse.h index ccc3cb6b..9f29c871 100644 --- a/src/include/S3/S3DeleteBucketPolicyResponse.h +++ b/src/include/S3/S3DeleteBucketPolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3DeleteBucketRequest.h b/src/include/S3/S3DeleteBucketRequest.h index 3808fea1..52db6a16 100644 --- a/src/include/S3/S3DeleteBucketRequest.h +++ b/src/include/S3/S3DeleteBucketRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -24,4 +24,6 @@ @interface S3DeleteBucketRequest:S3Request { } +-(id)initWithName:(NSString *)theBucketName; + @end diff --git a/src/include/S3/S3DeleteBucketResponse.h b/src/include/S3/S3DeleteBucketResponse.h index 2d1c658a..36ab3ad4 100644 --- a/src/include/S3/S3DeleteBucketResponse.h +++ b/src/include/S3/S3DeleteBucketResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3DeleteObjectRequest.h b/src/include/S3/S3DeleteObjectRequest.h index d151071f..f74dbc65 100644 --- a/src/include/S3/S3DeleteObjectRequest.h +++ b/src/include/S3/S3DeleteObjectRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3DeleteObjectResponse.h b/src/include/S3/S3DeleteObjectResponse.h index 532586be..35adf180 100644 --- a/src/include/S3/S3DeleteObjectResponse.h +++ b/src/include/S3/S3DeleteObjectResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3DeleteVersionRequest.h b/src/include/S3/S3DeleteVersionRequest.h index 31f4ffa2..ecdb14ed 100644 --- a/src/include/S3/S3DeleteVersionRequest.h +++ b/src/include/S3/S3DeleteVersionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3DeleteVersionResponse.h b/src/include/S3/S3DeleteVersionResponse.h index eb513ca6..e8804e0a 100644 --- a/src/include/S3/S3DeleteVersionResponse.h +++ b/src/include/S3/S3DeleteVersionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ErrorResponseHandler.h b/src/include/S3/S3ErrorResponseHandler.h index 03cca2b4..f5dde05e 100644 --- a/src/include/S3/S3ErrorResponseHandler.h +++ b/src/include/S3/S3ErrorResponseHandler.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetACLRequest.h b/src/include/S3/S3GetACLRequest.h index f79dd580..428f8432 100644 --- a/src/include/S3/S3GetACLRequest.h +++ b/src/include/S3/S3GetACLRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetACLResponse.h b/src/include/S3/S3GetACLResponse.h index 39efa329..6beb658f 100644 --- a/src/include/S3/S3GetACLResponse.h +++ b/src/include/S3/S3GetACLResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetBucketPolicyRequest.h b/src/include/S3/S3GetBucketPolicyRequest.h index 39c388a5..6fbef5b6 100644 --- a/src/include/S3/S3GetBucketPolicyRequest.h +++ b/src/include/S3/S3GetBucketPolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetBucketPolicyResponse.h b/src/include/S3/S3GetBucketPolicyResponse.h index 67503886..70e37177 100644 --- a/src/include/S3/S3GetBucketPolicyResponse.h +++ b/src/include/S3/S3GetBucketPolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetBucketVersioningConfigurationRequest.h b/src/include/S3/S3GetBucketVersioningConfigurationRequest.h index 809dd233..57f222d7 100644 --- a/src/include/S3/S3GetBucketVersioningConfigurationRequest.h +++ b/src/include/S3/S3GetBucketVersioningConfigurationRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetBucketVersioningConfigurationResponse.h b/src/include/S3/S3GetBucketVersioningConfigurationResponse.h index 3886d392..870a37e9 100644 --- a/src/include/S3/S3GetBucketVersioningConfigurationResponse.h +++ b/src/include/S3/S3GetBucketVersioningConfigurationResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetObjectMetadataRequest.h b/src/include/S3/S3GetObjectMetadataRequest.h index 57bef6d3..be4fad07 100644 --- a/src/include/S3/S3GetObjectMetadataRequest.h +++ b/src/include/S3/S3GetObjectMetadataRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetObjectMetadataResponse.h b/src/include/S3/S3GetObjectMetadataResponse.h index a87aa609..75aed55a 100644 --- a/src/include/S3/S3GetObjectMetadataResponse.h +++ b/src/include/S3/S3GetObjectMetadataResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetObjectRequest.h b/src/include/S3/S3GetObjectRequest.h index f82772ac..1a510a4b 100644 --- a/src/include/S3/S3GetObjectRequest.h +++ b/src/include/S3/S3GetObjectRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ NSDate *ifUnmodifiedSince; NSString *ifMatch; NSString *ifNoneMatch; + NSString *versionId; NSOutputStream *outputStream; S3ResponseHeaderOverrides *responseHeaderOverrides; } @@ -51,6 +52,9 @@ /** Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed). */ @property (nonatomic, retain) NSString *ifMatch; +/** Specifies the (optional) version to retrieve **/ +@property (nonatomic, retain) NSString *versionId; + /** Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified). */ @property (nonatomic, retain) NSString *ifNoneMatch; @@ -71,6 +75,9 @@ /** Initialize the request setting the key and bucketName properties. */ -(S3GetObjectRequest *)initWithKey:(NSString *)key withBucket:(NSString *)bucket; +/** Initialize the request setting the key, bucketName and versionId properties. */ +-(S3GetObjectRequest *)initWithKey:(NSString *)key withBucket:(NSString *)bucket withVersionId:(NSString *)versionId; + /** sets the start and end of the range. */ -(void)setRangeStart:(int)start rangeEnd:(int)end; diff --git a/src/include/S3/S3GetObjectResponse.h b/src/include/S3/S3GetObjectResponse.h index c97cf1d8..bc343823 100644 --- a/src/include/S3/S3GetObjectResponse.h +++ b/src/include/S3/S3GetObjectResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GetPreSignedURLRequest.h b/src/include/S3/S3GetPreSignedURLRequest.h index 220c28b7..576dd314 100644 --- a/src/include/S3/S3GetPreSignedURLRequest.h +++ b/src/include/S3/S3GetPreSignedURLRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ NSString *protocol; NSString *httpVerb; NSString *accessKey; + NSString *versionId; S3ResponseHeaderOverrides *responseHeaderOverrides; } @@ -57,6 +58,10 @@ */ @property (nonatomic, retain) NSString *accessKey; +/** Sets the (optional) versionId used in the pre signed URL. + */ +@property (nonatomic, retain) NSString *versionId; + /** Specify one or more overrides to headers in the response to this request */ @property (nonatomic, retain) S3ResponseHeaderOverrides *responseHeaderOverrides; diff --git a/src/include/S3/S3Grant.h b/src/include/S3/S3Grant.h index 914134af..44056a98 100644 --- a/src/include/S3/S3Grant.h +++ b/src/include/S3/S3Grant.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3GrantUnmarshaller.h b/src/include/S3/S3GrantUnmarshaller.h index 33692a30..f21894a7 100644 --- a/src/include/S3/S3GrantUnmarshaller.h +++ b/src/include/S3/S3GrantUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3Grantee.h b/src/include/S3/S3Grantee.h index e98bca01..33375831 100644 --- a/src/include/S3/S3Grantee.h +++ b/src/include/S3/S3Grantee.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3InitiateMultipartUploadRequest.h b/src/include/S3/S3InitiateMultipartUploadRequest.h index 176bb8c1..6b25425e 100644 --- a/src/include/S3/S3InitiateMultipartUploadRequest.h +++ b/src/include/S3/S3InitiateMultipartUploadRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3InitiateMultipartUploadResponse.h b/src/include/S3/S3InitiateMultipartUploadResponse.h index 12772ab7..450d5ff2 100644 --- a/src/include/S3/S3InitiateMultipartUploadResponse.h +++ b/src/include/S3/S3InitiateMultipartUploadResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3InitiateMultipartUploadResultUnmarshaller.h b/src/include/S3/S3InitiateMultipartUploadResultUnmarshaller.h index 2a4b1110..c234c62a 100644 --- a/src/include/S3/S3InitiateMultipartUploadResultUnmarshaller.h +++ b/src/include/S3/S3InitiateMultipartUploadResultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListBucketResultUnmarshaller.h b/src/include/S3/S3ListBucketResultUnmarshaller.h index 5669b8fe..aba4284d 100644 --- a/src/include/S3/S3ListBucketResultUnmarshaller.h +++ b/src/include/S3/S3ListBucketResultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListBucketsRequest.h b/src/include/S3/S3ListBucketsRequest.h index 2ef40026..1c4ff73a 100644 --- a/src/include/S3/S3ListBucketsRequest.h +++ b/src/include/S3/S3ListBucketsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListBucketsResponse.h b/src/include/S3/S3ListBucketsResponse.h index c2000311..8e78e90f 100644 --- a/src/include/S3/S3ListBucketsResponse.h +++ b/src/include/S3/S3ListBucketsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListBucketsResult.h b/src/include/S3/S3ListBucketsResult.h index 0cfa7888..83029856 100644 --- a/src/include/S3/S3ListBucketsResult.h +++ b/src/include/S3/S3ListBucketsResult.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListBucketsResultUnmarshaller.h b/src/include/S3/S3ListBucketsResultUnmarshaller.h index 702511ad..936bb35d 100644 --- a/src/include/S3/S3ListBucketsResultUnmarshaller.h +++ b/src/include/S3/S3ListBucketsResultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListMultipartUploadsRequest.h b/src/include/S3/S3ListMultipartUploadsRequest.h index 46e723bc..9d07dcc2 100644 --- a/src/include/S3/S3ListMultipartUploadsRequest.h +++ b/src/include/S3/S3ListMultipartUploadsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListMultipartUploadsResponse.h b/src/include/S3/S3ListMultipartUploadsResponse.h index b716ed3e..3b37af80 100644 --- a/src/include/S3/S3ListMultipartUploadsResponse.h +++ b/src/include/S3/S3ListMultipartUploadsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListMultipartUploadsResult.h b/src/include/S3/S3ListMultipartUploadsResult.h index 46f33745..e769e224 100644 --- a/src/include/S3/S3ListMultipartUploadsResult.h +++ b/src/include/S3/S3ListMultipartUploadsResult.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListMultipartUploadsResultUnmarshaller.h b/src/include/S3/S3ListMultipartUploadsResultUnmarshaller.h index 631ce8f8..e2e1b919 100644 --- a/src/include/S3/S3ListMultipartUploadsResultUnmarshaller.h +++ b/src/include/S3/S3ListMultipartUploadsResultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListObjectsRequest.h b/src/include/S3/S3ListObjectsRequest.h index 8049c992..2de9c4b0 100644 --- a/src/include/S3/S3ListObjectsRequest.h +++ b/src/include/S3/S3ListObjectsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListObjectsResponse.h b/src/include/S3/S3ListObjectsResponse.h index 981bd5d3..ff23a0fd 100644 --- a/src/include/S3/S3ListObjectsResponse.h +++ b/src/include/S3/S3ListObjectsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListObjectsResult.h b/src/include/S3/S3ListObjectsResult.h index 0e87c0d9..fedfcf68 100644 --- a/src/include/S3/S3ListObjectsResult.h +++ b/src/include/S3/S3ListObjectsResult.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListPartsRequest.h b/src/include/S3/S3ListPartsRequest.h index cd591241..096aabdc 100644 --- a/src/include/S3/S3ListPartsRequest.h +++ b/src/include/S3/S3ListPartsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListPartsResponse.h b/src/include/S3/S3ListPartsResponse.h index db2e52be..132856d3 100644 --- a/src/include/S3/S3ListPartsResponse.h +++ b/src/include/S3/S3ListPartsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListPartsResult.h b/src/include/S3/S3ListPartsResult.h index 01255e71..0455a526 100644 --- a/src/include/S3/S3ListPartsResult.h +++ b/src/include/S3/S3ListPartsResult.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ */ #import -#import "S3Owner.h"; +#import "S3Owner.h" /** The S3ListPartsResult contains all the information about the listParts method. * diff --git a/src/include/S3/S3ListPartsResultUnmarshaller.h b/src/include/S3/S3ListPartsResultUnmarshaller.h index 385b2656..4aceff13 100644 --- a/src/include/S3/S3ListPartsResultUnmarshaller.h +++ b/src/include/S3/S3ListPartsResultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListVersionsRequest.h b/src/include/S3/S3ListVersionsRequest.h index 510c45e2..a2a7b388 100644 --- a/src/include/S3/S3ListVersionsRequest.h +++ b/src/include/S3/S3ListVersionsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListVersionsResponse.h b/src/include/S3/S3ListVersionsResponse.h index 3e0e9e01..6ce94dda 100644 --- a/src/include/S3/S3ListVersionsResponse.h +++ b/src/include/S3/S3ListVersionsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListVersionsResult.h b/src/include/S3/S3ListVersionsResult.h index 1ed4c71a..37c0b506 100644 --- a/src/include/S3/S3ListVersionsResult.h +++ b/src/include/S3/S3ListVersionsResult.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ListVersionsResultUnmarshaller.h b/src/include/S3/S3ListVersionsResultUnmarshaller.h index 1255e058..6c8d7e62 100644 --- a/src/include/S3/S3ListVersionsResultUnmarshaller.h +++ b/src/include/S3/S3ListVersionsResultUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3LocationConstraintUnmarshaller.h b/src/include/S3/S3LocationConstraintUnmarshaller.h index ac3baf69..b0bbe865 100644 --- a/src/include/S3/S3LocationConstraintUnmarshaller.h +++ b/src/include/S3/S3LocationConstraintUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3MultiFactorAuthentication.h b/src/include/S3/S3MultiFactorAuthentication.h index a99556c6..f24bcfef 100644 --- a/src/include/S3/S3MultiFactorAuthentication.h +++ b/src/include/S3/S3MultiFactorAuthentication.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3MultipartUpload.h b/src/include/S3/S3MultipartUpload.h index 5e6f7816..464b362e 100644 --- a/src/include/S3/S3MultipartUpload.h +++ b/src/include/S3/S3MultipartUpload.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3MultipartUploadUnmarshaller.h b/src/include/S3/S3MultipartUploadUnmarshaller.h index 89af162d..4cd1b5ce 100644 --- a/src/include/S3/S3MultipartUploadUnmarshaller.h +++ b/src/include/S3/S3MultipartUploadUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ObjectSummary.h b/src/include/S3/S3ObjectSummary.h index da0aae34..def1a7dc 100644 --- a/src/include/S3/S3ObjectSummary.h +++ b/src/include/S3/S3ObjectSummary.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ObjectSummaryUnmarshaller.h b/src/include/S3/S3ObjectSummaryUnmarshaller.h index 289dc0d9..66f72730 100644 --- a/src/include/S3/S3ObjectSummaryUnmarshaller.h +++ b/src/include/S3/S3ObjectSummaryUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3Owner.h b/src/include/S3/S3Owner.h index 2ca0cd3b..6f0da946 100644 --- a/src/include/S3/S3Owner.h +++ b/src/include/S3/S3Owner.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3OwnerUnmarshaller.h b/src/include/S3/S3OwnerUnmarshaller.h index 9ffdcb05..7bd9eb68 100644 --- a/src/include/S3/S3OwnerUnmarshaller.h +++ b/src/include/S3/S3OwnerUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3Part.h b/src/include/S3/S3Part.h index 340308ca..b1f0ca6b 100644 --- a/src/include/S3/S3Part.h +++ b/src/include/S3/S3Part.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3Permission.h b/src/include/S3/S3Permission.h index c2e49117..08d675b1 100644 --- a/src/include/S3/S3Permission.h +++ b/src/include/S3/S3Permission.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3PutObjectRequest.h b/src/include/S3/S3PutObjectRequest.h index 18416d86..a36007b3 100644 --- a/src/include/S3/S3PutObjectRequest.h +++ b/src/include/S3/S3PutObjectRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3PutObjectResponse.h b/src/include/S3/S3PutObjectResponse.h index 233f1f5d..4fbc6426 100644 --- a/src/include/S3/S3PutObjectResponse.h +++ b/src/include/S3/S3PutObjectResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3Region.h b/src/include/S3/S3Region.h index 4e6f0e10..49b600b5 100644 --- a/src/include/S3/S3Region.h +++ b/src/include/S3/S3Region.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -135,7 +135,7 @@ * bucket in this region. *

    */ -+(S3Region*)SASaoPaulo; ++(S3Region *)SASaoPaulo; /** Convert a string describing an Amazon S3 region to the corresponding S3Region * diff --git a/src/include/S3/S3Request.h b/src/include/S3/S3Request.h index 94a02a95..4a873c33 100644 --- a/src/include/S3/S3Request.h +++ b/src/include/S3/S3Request.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3Response.h b/src/include/S3/S3Response.h index c54ef554..da3bfcc4 100644 --- a/src/include/S3/S3Response.h +++ b/src/include/S3/S3Response.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ResponseHeaderOverrides.h b/src/include/S3/S3ResponseHeaderOverrides.h index ec1a6671..89809c63 100644 --- a/src/include/S3/S3ResponseHeaderOverrides.h +++ b/src/include/S3/S3ResponseHeaderOverrides.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ServiceModel.h b/src/include/S3/S3ServiceModel.h index b0f65506..9d13dce8 100644 --- a/src/include/S3/S3ServiceModel.h +++ b/src/include/S3/S3ServiceModel.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3ServiceTransform.h b/src/include/S3/S3ServiceTransform.h index e80f6628..86b7012b 100644 --- a/src/include/S3/S3ServiceTransform.h +++ b/src/include/S3/S3ServiceTransform.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3SetACLRequest.h b/src/include/S3/S3SetACLRequest.h index 91ffcac4..ac7e04ca 100644 --- a/src/include/S3/S3SetACLRequest.h +++ b/src/include/S3/S3SetACLRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3SetACLResponse.h b/src/include/S3/S3SetACLResponse.h index c11c4dd7..126f5148 100644 --- a/src/include/S3/S3SetACLResponse.h +++ b/src/include/S3/S3SetACLResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3SetBucketPolicyRequest.h b/src/include/S3/S3SetBucketPolicyRequest.h index 3fbe1b68..c9f14d05 100644 --- a/src/include/S3/S3SetBucketPolicyRequest.h +++ b/src/include/S3/S3SetBucketPolicyRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3SetBucketPolicyResponse.h b/src/include/S3/S3SetBucketPolicyResponse.h index e713c8e0..074c331e 100644 --- a/src/include/S3/S3SetBucketPolicyResponse.h +++ b/src/include/S3/S3SetBucketPolicyResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3SetBucketVersioningConfigurationRequest.h b/src/include/S3/S3SetBucketVersioningConfigurationRequest.h index 12b88358..d50d7bf2 100644 --- a/src/include/S3/S3SetBucketVersioningConfigurationRequest.h +++ b/src/include/S3/S3SetBucketVersioningConfigurationRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3SetBucketVersioningConfigurationResponse.h b/src/include/S3/S3SetBucketVersioningConfigurationResponse.h index 0226495c..1d14e3b6 100644 --- a/src/include/S3/S3SetBucketVersioningConfigurationResponse.h +++ b/src/include/S3/S3SetBucketVersioningConfigurationResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3UploadPartRequest.h b/src/include/S3/S3UploadPartRequest.h index 0c1bfc44..80b7ccf7 100644 --- a/src/include/S3/S3UploadPartRequest.h +++ b/src/include/S3/S3UploadPartRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3UploadPartResponse.h b/src/include/S3/S3UploadPartResponse.h index 4430f095..3513e75e 100644 --- a/src/include/S3/S3UploadPartResponse.h +++ b/src/include/S3/S3UploadPartResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3VersionSummary.h b/src/include/S3/S3VersionSummary.h index a501642c..7e0b6867 100644 --- a/src/include/S3/S3VersionSummary.h +++ b/src/include/S3/S3VersionSummary.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/S3/S3VersionSummaryUnmarshaller.h b/src/include/S3/S3VersionSummaryUnmarshaller.h index 0cf8834f..032c7d8a 100644 --- a/src/include/S3/S3VersionSummaryUnmarshaller.h +++ b/src/include/S3/S3VersionSummaryUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/AmazonSESClient.h b/src/include/SES/AmazonSESClient.h index f3d0a0de..5458bcde 100644 --- a/src/include/SES/AmazonSESClient.h +++ b/src/include/SES/AmazonSESClient.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESBody.h b/src/include/SES/SESBody.h index 2d0d5cbf..76172218 100644 --- a/src/include/SES/SESBody.h +++ b/src/include/SES/SESBody.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESContent.h b/src/include/SES/SESContent.h index 9b481d61..fb428b29 100644 --- a/src/include/SES/SESContent.h +++ b/src/include/SES/SESContent.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESDeleteVerifiedEmailAddressRequest.h b/src/include/SES/SESDeleteVerifiedEmailAddressRequest.h index 1154d75f..010e7941 100644 --- a/src/include/SES/SESDeleteVerifiedEmailAddressRequest.h +++ b/src/include/SES/SESDeleteVerifiedEmailAddressRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESDeleteVerifiedEmailAddressRequestMarshaller.h b/src/include/SES/SESDeleteVerifiedEmailAddressRequestMarshaller.h index dd1e613b..0d193736 100644 --- a/src/include/SES/SESDeleteVerifiedEmailAddressRequestMarshaller.h +++ b/src/include/SES/SESDeleteVerifiedEmailAddressRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESDeleteVerifiedEmailAddressResponse.h b/src/include/SES/SESDeleteVerifiedEmailAddressResponse.h index 5260325a..c6234d93 100644 --- a/src/include/SES/SESDeleteVerifiedEmailAddressResponse.h +++ b/src/include/SES/SESDeleteVerifiedEmailAddressResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESDeleteVerifiedEmailAddressResponseUnmarshaller.h b/src/include/SES/SESDeleteVerifiedEmailAddressResponseUnmarshaller.h index 857ddea5..119577b0 100644 --- a/src/include/SES/SESDeleteVerifiedEmailAddressResponseUnmarshaller.h +++ b/src/include/SES/SESDeleteVerifiedEmailAddressResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESDestination.h b/src/include/SES/SESDestination.h index 42d24e8e..1c1a58fe 100644 --- a/src/include/SES/SESDestination.h +++ b/src/include/SES/SESDestination.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESGetSendQuotaRequest.h b/src/include/SES/SESGetSendQuotaRequest.h index f1eb136d..93e9f8b9 100644 --- a/src/include/SES/SESGetSendQuotaRequest.h +++ b/src/include/SES/SESGetSendQuotaRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESGetSendQuotaRequestMarshaller.h b/src/include/SES/SESGetSendQuotaRequestMarshaller.h index ec1fe497..72b7b592 100644 --- a/src/include/SES/SESGetSendQuotaRequestMarshaller.h +++ b/src/include/SES/SESGetSendQuotaRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESGetSendQuotaResponse.h b/src/include/SES/SESGetSendQuotaResponse.h index 6516b3bf..137db29e 100644 --- a/src/include/SES/SESGetSendQuotaResponse.h +++ b/src/include/SES/SESGetSendQuotaResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESGetSendQuotaResponseUnmarshaller.h b/src/include/SES/SESGetSendQuotaResponseUnmarshaller.h index 79e78170..387ac945 100644 --- a/src/include/SES/SESGetSendQuotaResponseUnmarshaller.h +++ b/src/include/SES/SESGetSendQuotaResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESGetSendStatisticsRequest.h b/src/include/SES/SESGetSendStatisticsRequest.h index dcbe5c4e..6244db0e 100644 --- a/src/include/SES/SESGetSendStatisticsRequest.h +++ b/src/include/SES/SESGetSendStatisticsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESGetSendStatisticsRequestMarshaller.h b/src/include/SES/SESGetSendStatisticsRequestMarshaller.h index 09b2df80..a00c55f0 100644 --- a/src/include/SES/SESGetSendStatisticsRequestMarshaller.h +++ b/src/include/SES/SESGetSendStatisticsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESGetSendStatisticsResponse.h b/src/include/SES/SESGetSendStatisticsResponse.h index b556c7ef..5fc7eaad 100644 --- a/src/include/SES/SESGetSendStatisticsResponse.h +++ b/src/include/SES/SESGetSendStatisticsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESGetSendStatisticsResponseUnmarshaller.h b/src/include/SES/SESGetSendStatisticsResponseUnmarshaller.h index 82809896..fdae9ac2 100644 --- a/src/include/SES/SESGetSendStatisticsResponseUnmarshaller.h +++ b/src/include/SES/SESGetSendStatisticsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESListVerifiedEmailAddressesRequest.h b/src/include/SES/SESListVerifiedEmailAddressesRequest.h index 8625b8a9..83c51d1d 100644 --- a/src/include/SES/SESListVerifiedEmailAddressesRequest.h +++ b/src/include/SES/SESListVerifiedEmailAddressesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESListVerifiedEmailAddressesRequestMarshaller.h b/src/include/SES/SESListVerifiedEmailAddressesRequestMarshaller.h index 66e7ab3b..5a31ba0b 100644 --- a/src/include/SES/SESListVerifiedEmailAddressesRequestMarshaller.h +++ b/src/include/SES/SESListVerifiedEmailAddressesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESListVerifiedEmailAddressesResponse.h b/src/include/SES/SESListVerifiedEmailAddressesResponse.h index bbb4331b..ff42d622 100644 --- a/src/include/SES/SESListVerifiedEmailAddressesResponse.h +++ b/src/include/SES/SESListVerifiedEmailAddressesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESListVerifiedEmailAddressesResponseUnmarshaller.h b/src/include/SES/SESListVerifiedEmailAddressesResponseUnmarshaller.h index 7ded7eb6..6bec184e 100644 --- a/src/include/SES/SESListVerifiedEmailAddressesResponseUnmarshaller.h +++ b/src/include/SES/SESListVerifiedEmailAddressesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESMessage.h b/src/include/SES/SESMessage.h index d96c31c8..b57ff418 100644 --- a/src/include/SES/SESMessage.h +++ b/src/include/SES/SESMessage.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESMessageRejectedException.h b/src/include/SES/SESMessageRejectedException.h index 930324ad..1f3e433c 100644 --- a/src/include/SES/SESMessageRejectedException.h +++ b/src/include/SES/SESMessageRejectedException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESRawMessage.h b/src/include/SES/SESRawMessage.h index 252ab613..4a563632 100644 --- a/src/include/SES/SESRawMessage.h +++ b/src/include/SES/SESRawMessage.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESResponse.h b/src/include/SES/SESResponse.h index 0eb73a09..07f1aca1 100644 --- a/src/include/SES/SESResponse.h +++ b/src/include/SES/SESResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESResponseUnmarshaller.h b/src/include/SES/SESResponseUnmarshaller.h index 1fd55c0b..6f43f421 100644 --- a/src/include/SES/SESResponseUnmarshaller.h +++ b/src/include/SES/SESResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendDataPoint.h b/src/include/SES/SESSendDataPoint.h index 1b9c0acd..89271fba 100644 --- a/src/include/SES/SESSendDataPoint.h +++ b/src/include/SES/SESSendDataPoint.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendDataPointUnmarshaller.h b/src/include/SES/SESSendDataPointUnmarshaller.h index 67f185bf..60883bbf 100644 --- a/src/include/SES/SESSendDataPointUnmarshaller.h +++ b/src/include/SES/SESSendDataPointUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendEmailRequest.h b/src/include/SES/SESSendEmailRequest.h index abe3b46a..4e3082cd 100644 --- a/src/include/SES/SESSendEmailRequest.h +++ b/src/include/SES/SESSendEmailRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendEmailRequestMarshaller.h b/src/include/SES/SESSendEmailRequestMarshaller.h index a03d7565..8fe4291a 100644 --- a/src/include/SES/SESSendEmailRequestMarshaller.h +++ b/src/include/SES/SESSendEmailRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendEmailResponse.h b/src/include/SES/SESSendEmailResponse.h index a5a63bb6..59a3cef3 100644 --- a/src/include/SES/SESSendEmailResponse.h +++ b/src/include/SES/SESSendEmailResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendEmailResponseUnmarshaller.h b/src/include/SES/SESSendEmailResponseUnmarshaller.h index 67c509ef..3afacc3b 100644 --- a/src/include/SES/SESSendEmailResponseUnmarshaller.h +++ b/src/include/SES/SESSendEmailResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendRawEmailRequest.h b/src/include/SES/SESSendRawEmailRequest.h index 0ade0084..4240eda1 100644 --- a/src/include/SES/SESSendRawEmailRequest.h +++ b/src/include/SES/SESSendRawEmailRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendRawEmailRequestMarshaller.h b/src/include/SES/SESSendRawEmailRequestMarshaller.h index 52d58f7a..09625c77 100644 --- a/src/include/SES/SESSendRawEmailRequestMarshaller.h +++ b/src/include/SES/SESSendRawEmailRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendRawEmailResponse.h b/src/include/SES/SESSendRawEmailResponse.h index 7eb7099a..365eaa31 100644 --- a/src/include/SES/SESSendRawEmailResponse.h +++ b/src/include/SES/SESSendRawEmailResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESSendRawEmailResponseUnmarshaller.h b/src/include/SES/SESSendRawEmailResponseUnmarshaller.h index 1d6a0679..e1246e5c 100644 --- a/src/include/SES/SESSendRawEmailResponseUnmarshaller.h +++ b/src/include/SES/SESSendRawEmailResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESVerifyEmailAddressRequest.h b/src/include/SES/SESVerifyEmailAddressRequest.h index fd0e7e6e..9954702b 100644 --- a/src/include/SES/SESVerifyEmailAddressRequest.h +++ b/src/include/SES/SESVerifyEmailAddressRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESVerifyEmailAddressRequestMarshaller.h b/src/include/SES/SESVerifyEmailAddressRequestMarshaller.h index 694dae1d..dc9b4eba 100644 --- a/src/include/SES/SESVerifyEmailAddressRequestMarshaller.h +++ b/src/include/SES/SESVerifyEmailAddressRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESVerifyEmailAddressResponse.h b/src/include/SES/SESVerifyEmailAddressResponse.h index c70a3f00..0d3b30bf 100644 --- a/src/include/SES/SESVerifyEmailAddressResponse.h +++ b/src/include/SES/SESVerifyEmailAddressResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SES/SESVerifyEmailAddressResponseUnmarshaller.h b/src/include/SES/SESVerifyEmailAddressResponseUnmarshaller.h index ea3e0fec..67f21b4e 100644 --- a/src/include/SES/SESVerifyEmailAddressResponseUnmarshaller.h +++ b/src/include/SES/SESVerifyEmailAddressResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/AmazonSNSClient.h b/src/include/SNS/AmazonSNSClient.h index 4bdfb610..0994f2d4 100644 --- a/src/include/SNS/AmazonSNSClient.h +++ b/src/include/SNS/AmazonSNSClient.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -40,6 +40,10 @@ #import "SNSListSubscriptionsResponseUnmarshaller.h" #import "SNSListSubscriptionsRequest.h" #import "SNSListSubscriptionsRequestMarshaller.h" +#import "SNSSetSubscriptionAttributesResponse.h" +#import "SNSSetSubscriptionAttributesResponseUnmarshaller.h" +#import "SNSSetSubscriptionAttributesRequest.h" +#import "SNSSetSubscriptionAttributesRequestMarshaller.h" #import "SNSAddPermissionResponse.h" #import "SNSAddPermissionResponseUnmarshaller.h" #import "SNSAddPermissionRequest.h" @@ -48,6 +52,10 @@ #import "SNSCreateTopicResponseUnmarshaller.h" #import "SNSCreateTopicRequest.h" #import "SNSCreateTopicRequestMarshaller.h" +#import "SNSGetSubscriptionAttributesResponse.h" +#import "SNSGetSubscriptionAttributesResponseUnmarshaller.h" +#import "SNSGetSubscriptionAttributesRequest.h" +#import "SNSGetSubscriptionAttributesRequestMarshaller.h" #import "SNSListTopicsResponse.h" #import "SNSListTopicsResponseUnmarshaller.h" #import "SNSListTopicsRequest.h" @@ -152,7 +160,7 @@ * endpoint a confirmation message. To actually create a subscription, * the endpoint owner must call the ConfirmSubscription action with the * token from the confirmation message. Confirmation tokens are valid for - * twenty-four hours. + * three days. *

    * * @param subscribeRequest Container for the necessary parameters to @@ -259,10 +267,10 @@ /** *

    * The ListSubscriptions action returns a list of the requester's - * subscriptions. Each call returns a limited list of subscriptions. If - * there are more subscriptions, a NextToken is also returned. Use the - * NextToken parameter in a new ListSubscriptions call to get further - * results. + * subscriptions. Each call returns a limited list of subscriptions, up + * to 100. If there are more subscriptions, a NextToken is also returned. + * Use the NextToken parameter in a new ListSubscriptions call to get + * further results. *

    * * @param listSubscriptionsRequest Container for the necessary parameters @@ -286,6 +294,32 @@ -(SNSListSubscriptionsResponse *)listSubscriptions:(SNSListSubscriptionsRequest *)listSubscriptionsRequest; +/** + *

    + * The SetSubscriptionAttributes action allows a subscription owner to + * set an attribute of the topic to a new value. + *

    + * + * @param setSubscriptionAttributesRequest Container for the necessary + * parameters to execute the SetSubscriptionAttributes service method on + * AmazonSNS. + * + * @throws SNSNotFoundException + * @throws SNSAuthorizationErrorException + * @throws SNSInternalErrorException + * @throws SNSInvalidParameterException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonSNS indicating + * either a problem with the data in the request, or a server side issue. + */ +-(SNSSetSubscriptionAttributesResponse *)setSubscriptionAttributes:(SNSSetSubscriptionAttributesRequest *)setSubscriptionAttributesRequest; + + /** *

    * The AddPermission action adds a statement to a topic's access control @@ -343,12 +377,41 @@ -(SNSCreateTopicResponse *)createTopic:(SNSCreateTopicRequest *)createTopicRequest; +/** + *

    + * The GetSubscriptionAttribtues action returns all of the properties of + * a subscription. + *

    + * + * @param getSubscriptionAttributesRequest Container for the necessary + * parameters to execute the GetSubscriptionAttributes service method on + * AmazonSNS. + * + * @return The response from the GetSubscriptionAttributes service + * method, as returned by AmazonSNS. + * + * @throws SNSNotFoundException + * @throws SNSAuthorizationErrorException + * @throws SNSInternalErrorException + * @throws SNSInvalidParameterException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonSNS indicating + * either a problem with the data in the request, or a server side issue. + */ +-(SNSGetSubscriptionAttributesResponse *)getSubscriptionAttributes:(SNSGetSubscriptionAttributesRequest *)getSubscriptionAttributesRequest; + + /** *

    * The ListTopics action returns a list of the requester's topics. Each - * call returns a limited list of topics. If there are more topics, a - * NextToken is also returned. Use the NextToken parameter in a new - * ListTopics call to get further results. + * call returns a limited list of topics, up to 100. If there are more + * topics, a NextToken is also returned. Use the NextToken parameter in a + * new ListTopics call to get further results. *

    * * @param listTopicsRequest Container for the necessary parameters to @@ -407,8 +470,8 @@ *

    * The ListSubscriptionsByTopic action returns a list of the * subscriptions to a specific topic. Each call returns a limited list of - * subscriptions. If there are more subscriptions, a NextToken is also - * returned. Use the NextToken parameter in a new + * subscriptions, up to 100. If there are more subscriptions, a NextToken + * is also returned. Use the NextToken parameter in a new * ListSubscriptionsByTopic call to get further results. *

    * diff --git a/src/include/SNS/SNSAddPermissionRequest.h b/src/include/SNS/SNSAddPermissionRequest.h index a955aee5..8a9beddf 100644 --- a/src/include/SNS/SNSAddPermissionRequest.h +++ b/src/include/SNS/SNSAddPermissionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSAddPermissionRequestMarshaller.h b/src/include/SNS/SNSAddPermissionRequestMarshaller.h index 2264a10c..1c89a1d4 100644 --- a/src/include/SNS/SNSAddPermissionRequestMarshaller.h +++ b/src/include/SNS/SNSAddPermissionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSAddPermissionResponse.h b/src/include/SNS/SNSAddPermissionResponse.h index 67ec63b8..13189ded 100644 --- a/src/include/SNS/SNSAddPermissionResponse.h +++ b/src/include/SNS/SNSAddPermissionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSAddPermissionResponseUnmarshaller.h b/src/include/SNS/SNSAddPermissionResponseUnmarshaller.h index 7bc87ac2..d3c944ec 100644 --- a/src/include/SNS/SNSAddPermissionResponseUnmarshaller.h +++ b/src/include/SNS/SNSAddPermissionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSAuthorizationErrorException.h b/src/include/SNS/SNSAuthorizationErrorException.h index 76ff9f62..35a5c351 100644 --- a/src/include/SNS/SNSAuthorizationErrorException.h +++ b/src/include/SNS/SNSAuthorizationErrorException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSConfirmSubscriptionRequest.h b/src/include/SNS/SNSConfirmSubscriptionRequest.h index f404836f..55260430 100644 --- a/src/include/SNS/SNSConfirmSubscriptionRequest.h +++ b/src/include/SNS/SNSConfirmSubscriptionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -45,12 +45,11 @@ @property (nonatomic, retain) NSString *token; /** - * Indicates that you want to disable unauthenticated unsubsciption of - * the subscription. If parameter is present in the request, the request - * has an AWS signature, and the value of this parameter is true, only - * the topic owner and the subscription owner will be permitted to - * unsubscribe the endopint, and the Unsubscribe action will require AWS - * authentication. + * Indicates that you want to disallow unauthenticated unsubscribes of + * the subscription. If value of this parameter is "true" and the request + * has an AWS signature then only the topic owner and the subscription + * owner will be permitted to unsubscribe the endpoint. The unsubscribe + * action will require AWS authentication. */ @property (nonatomic, retain) NSString *authenticateOnUnsubscribe; @@ -80,12 +79,12 @@ * a subscription. * @param theToken Short-lived token sent to an endpoint during the * Subscribe action. - * @param theAuthenticateOnUnsubscribe Indicates that you want to disable - * unauthenticated unsubsciption of the subscription. If parameter is - * present in the request, the request has an AWS signature, and the - * value of this parameter is true, only the topic owner and the - * subscription owner will be permitted to unsubscribe the endopint, and - * the Unsubscribe action will require AWS authentication. + * @param theAuthenticateOnUnsubscribe Indicates that you want to + * disallow unauthenticated unsubscribes of the subscription. If value of + * this parameter is "true" and the request has an AWS signature then + * only the topic owner and the subscription owner will be permitted to + * unsubscribe the endpoint. The unsubscribe action will require AWS + * authentication. */ -(id)initWithTopicArn:(NSString *)theTopicArn andToken:(NSString *)theToken andAuthenticateOnUnsubscribe:(NSString *)theAuthenticateOnUnsubscribe; diff --git a/src/include/SNS/SNSConfirmSubscriptionRequestMarshaller.h b/src/include/SNS/SNSConfirmSubscriptionRequestMarshaller.h index 144d927a..80be504b 100644 --- a/src/include/SNS/SNSConfirmSubscriptionRequestMarshaller.h +++ b/src/include/SNS/SNSConfirmSubscriptionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSConfirmSubscriptionResponse.h b/src/include/SNS/SNSConfirmSubscriptionResponse.h index 720310ab..f2d4d2a5 100644 --- a/src/include/SNS/SNSConfirmSubscriptionResponse.h +++ b/src/include/SNS/SNSConfirmSubscriptionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSConfirmSubscriptionResponseUnmarshaller.h b/src/include/SNS/SNSConfirmSubscriptionResponseUnmarshaller.h index bfaa9f28..8c9ff726 100644 --- a/src/include/SNS/SNSConfirmSubscriptionResponseUnmarshaller.h +++ b/src/include/SNS/SNSConfirmSubscriptionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSCreateTopicRequest.h b/src/include/SNS/SNSCreateTopicRequest.h index 767a2216..f7133871 100644 --- a/src/include/SNS/SNSCreateTopicRequest.h +++ b/src/include/SNS/SNSCreateTopicRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSCreateTopicRequestMarshaller.h b/src/include/SNS/SNSCreateTopicRequestMarshaller.h index 5476ac99..2c3b5048 100644 --- a/src/include/SNS/SNSCreateTopicRequestMarshaller.h +++ b/src/include/SNS/SNSCreateTopicRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSCreateTopicResponse.h b/src/include/SNS/SNSCreateTopicResponse.h index 56d27d2d..2781ff28 100644 --- a/src/include/SNS/SNSCreateTopicResponse.h +++ b/src/include/SNS/SNSCreateTopicResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSCreateTopicResponseUnmarshaller.h b/src/include/SNS/SNSCreateTopicResponseUnmarshaller.h index 848df684..ff94a6ed 100644 --- a/src/include/SNS/SNSCreateTopicResponseUnmarshaller.h +++ b/src/include/SNS/SNSCreateTopicResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSDeleteTopicRequest.h b/src/include/SNS/SNSDeleteTopicRequest.h index 10b66de2..1c3d873b 100644 --- a/src/include/SNS/SNSDeleteTopicRequest.h +++ b/src/include/SNS/SNSDeleteTopicRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSDeleteTopicRequestMarshaller.h b/src/include/SNS/SNSDeleteTopicRequestMarshaller.h index f66322d9..1b67fea7 100644 --- a/src/include/SNS/SNSDeleteTopicRequestMarshaller.h +++ b/src/include/SNS/SNSDeleteTopicRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSDeleteTopicResponse.h b/src/include/SNS/SNSDeleteTopicResponse.h index 52859f62..ec1f891b 100644 --- a/src/include/SNS/SNSDeleteTopicResponse.h +++ b/src/include/SNS/SNSDeleteTopicResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSDeleteTopicResponseUnmarshaller.h b/src/include/SNS/SNSDeleteTopicResponseUnmarshaller.h index 7e591a89..32b5a592 100644 --- a/src/include/SNS/SNSDeleteTopicResponseUnmarshaller.h +++ b/src/include/SNS/SNSDeleteTopicResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSGetSubscriptionAttributesRequest.h b/src/include/SNS/SNSGetSubscriptionAttributesRequest.h new file mode 100644 index 00000000..0d435c3b --- /dev/null +++ b/src/include/SNS/SNSGetSubscriptionAttributesRequest.h @@ -0,0 +1,65 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Get Subscription Attributes Request + * + * \ingroup SNS + */ + +@interface SNSGetSubscriptionAttributesRequest:AmazonServiceRequestConfig + +{ + NSString *subscriptionArn; +} + + + +/** + * The ARN of the subscription whose properties you want to get. + */ +@property (nonatomic, retain) NSString *subscriptionArn; + + +/** + * Default constructor for a new GetSubscriptionAttributesRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new GetSubscriptionAttributesRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theSubscriptionArn The ARN of the subscription whose properties + * you want to get. + */ +-(id)initWithSubscriptionArn:(NSString *)theSubscriptionArn; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/SNS/SNSGetSubscriptionAttributesRequestMarshaller.h b/src/include/SNS/SNSGetSubscriptionAttributesRequestMarshaller.h new file mode 100644 index 00000000..b19a0062 --- /dev/null +++ b/src/include/SNS/SNSGetSubscriptionAttributesRequestMarshaller.h @@ -0,0 +1,33 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceRequest.h" + +#import "SNSRequest.h" +#import "SNSGetSubscriptionAttributesRequest.h" + + +/** + * Get Subscription Attributes Request Marshaller + */ +@interface SNSGetSubscriptionAttributesRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(SNSGetSubscriptionAttributesRequest *)getSubscriptionAttributesRequest; + + +@end + diff --git a/src/include/SNS/SNSGetSubscriptionAttributesResponse.h b/src/include/SNS/SNSGetSubscriptionAttributesResponse.h new file mode 100644 index 00000000..2979b4bc --- /dev/null +++ b/src/include/SNS/SNSGetSubscriptionAttributesResponse.h @@ -0,0 +1,77 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "SNSResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "SNSNotFoundException.h" +#import "SNSAuthorizationErrorException.h" +#import "SNSInternalErrorException.h" +#import "SNSInvalidParameterException.h" + + +/** + * Get Subscription Attributes Result + * + * \ingroup SNS + */ + +@interface SNSGetSubscriptionAttributesResponse:SNSResponse + +{ + NSMutableDictionary *attributes; +} + + + +-(void)setException:(AmazonServiceException *)theException; + + +/** + * Default constructor for a new object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * A map of the subscription's attributes. Attributes in this map include + * the following:
    • SubscriptionArn -- the subscription's ARN
    • + *
    • TopicArn -- the topic ARN which the subscription is associated + * with
    • Owner -- the AWS account ID of the subscription's + * owner
    • ConfirmationWasAuthenticated -- True if the + * subscription confirmation request was authenticated
    • + *
    • DeliveryPolicy -- the JSON serialization of the subscription's + * delivery policy
    • EffectiveDeliveryPolicy -- the JSON + * serialization of the effective delivery policy which takes into the + * topic delivery policy and account system defaults
    + */ +@property (nonatomic, retain) NSMutableDictionary *attributes; + +/** + * Returns a value from the attributes dictionary for the specified key. + */ +-(NSString *)attributesValueForKey:(NSString *)theKey; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/SNS/SNSGetSubscriptionAttributesResponseUnmarshaller.h b/src/include/SNS/SNSGetSubscriptionAttributesResponseUnmarshaller.h new file mode 100644 index 00000000..c676d677 --- /dev/null +++ b/src/include/SNS/SNSGetSubscriptionAttributesResponseUnmarshaller.h @@ -0,0 +1,39 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import +#import "SNSGetSubscriptionAttributesResponse.h" +#import "SNSResponseUnmarshaller.h" +#import "../AmazonValueUnmarshaller.h" +#import "../AmazonBoolValueUnmarshaller.h" +#import "../AmazonDictionaryUnmarshaller.h" + + +/** + * Get Subscription Attributes Result Unmarshaller + */ +@interface SNSGetSubscriptionAttributesResponseUnmarshaller:SNSResponseUnmarshaller { + SNSGetSubscriptionAttributesResponse *response; +} + + +@property (nonatomic, readonly) SNSGetSubscriptionAttributesResponse *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + + +@end diff --git a/src/include/SNS/SNSGetTopicAttributesRequest.h b/src/include/SNS/SNSGetTopicAttributesRequest.h index 3bcee6a6..13f25fc8 100644 --- a/src/include/SNS/SNSGetTopicAttributesRequest.h +++ b/src/include/SNS/SNSGetTopicAttributesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSGetTopicAttributesRequestMarshaller.h b/src/include/SNS/SNSGetTopicAttributesRequestMarshaller.h index 26dc2f09..37317882 100644 --- a/src/include/SNS/SNSGetTopicAttributesRequestMarshaller.h +++ b/src/include/SNS/SNSGetTopicAttributesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSGetTopicAttributesResponse.h b/src/include/SNS/SNSGetTopicAttributesResponse.h index fa3cf9f1..03417a97 100644 --- a/src/include/SNS/SNSGetTopicAttributesResponse.h +++ b/src/include/SNS/SNSGetTopicAttributesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -52,7 +52,15 @@ * AWS account ID of the topic's owner
  • Policy -- the JSON * serialization of the topic's access control policy
  • *
  • DisplayName -- the human-readable name used in the "From" field - * for notifications to email and email-json endpoints
  • + * for notifications to email and email-json endpoints + *
  • SubscriptionsPending -- the number of subscriptions pending + * confirmation on this topic
  • SubscriptionsConfirmed -- the + * number of confirmed subscriptions on this topic
  • + *
  • SubscriptionsDeleted -- the number of deleted subscriptions on + * this topic
  • DeliveryPolicy -- the JSON serialization of the + * topic's delivery policy
  • EffectiveDeliveryPolicy -- the JSON + * serialization of the effective delivery policy which takes into + * account system defaults
  • */ @property (nonatomic, retain) NSMutableDictionary *attributes; diff --git a/src/include/SNS/SNSGetTopicAttributesResponseUnmarshaller.h b/src/include/SNS/SNSGetTopicAttributesResponseUnmarshaller.h index 2c35e9f9..e251b99f 100644 --- a/src/include/SNS/SNSGetTopicAttributesResponseUnmarshaller.h +++ b/src/include/SNS/SNSGetTopicAttributesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSInternalErrorException.h b/src/include/SNS/SNSInternalErrorException.h index 68e4bdd7..2424b066 100644 --- a/src/include/SNS/SNSInternalErrorException.h +++ b/src/include/SNS/SNSInternalErrorException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSInvalidParameterException.h b/src/include/SNS/SNSInvalidParameterException.h index aa4cb430..777350b0 100644 --- a/src/include/SNS/SNSInvalidParameterException.h +++ b/src/include/SNS/SNSInvalidParameterException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListSubscriptionsByTopicRequest.h b/src/include/SNS/SNSListSubscriptionsByTopicRequest.h index 8bb350c8..3c433fab 100644 --- a/src/include/SNS/SNSListSubscriptionsByTopicRequest.h +++ b/src/include/SNS/SNSListSubscriptionsByTopicRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListSubscriptionsByTopicRequestMarshaller.h b/src/include/SNS/SNSListSubscriptionsByTopicRequestMarshaller.h index 1a0eba67..50d22c58 100644 --- a/src/include/SNS/SNSListSubscriptionsByTopicRequestMarshaller.h +++ b/src/include/SNS/SNSListSubscriptionsByTopicRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListSubscriptionsByTopicResponse.h b/src/include/SNS/SNSListSubscriptionsByTopicResponse.h index b6c393a2..5c9fcca3 100644 --- a/src/include/SNS/SNSListSubscriptionsByTopicResponse.h +++ b/src/include/SNS/SNSListSubscriptionsByTopicResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListSubscriptionsByTopicResponseUnmarshaller.h b/src/include/SNS/SNSListSubscriptionsByTopicResponseUnmarshaller.h index 58c4884c..be3f1995 100644 --- a/src/include/SNS/SNSListSubscriptionsByTopicResponseUnmarshaller.h +++ b/src/include/SNS/SNSListSubscriptionsByTopicResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListSubscriptionsRequest.h b/src/include/SNS/SNSListSubscriptionsRequest.h index aecb9bc6..d122fac9 100644 --- a/src/include/SNS/SNSListSubscriptionsRequest.h +++ b/src/include/SNS/SNSListSubscriptionsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListSubscriptionsRequestMarshaller.h b/src/include/SNS/SNSListSubscriptionsRequestMarshaller.h index c943f25a..43148628 100644 --- a/src/include/SNS/SNSListSubscriptionsRequestMarshaller.h +++ b/src/include/SNS/SNSListSubscriptionsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListSubscriptionsResponse.h b/src/include/SNS/SNSListSubscriptionsResponse.h index 0a71f9aa..8192e9bf 100644 --- a/src/include/SNS/SNSListSubscriptionsResponse.h +++ b/src/include/SNS/SNSListSubscriptionsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListSubscriptionsResponseUnmarshaller.h b/src/include/SNS/SNSListSubscriptionsResponseUnmarshaller.h index 3acfe2bc..8721151a 100644 --- a/src/include/SNS/SNSListSubscriptionsResponseUnmarshaller.h +++ b/src/include/SNS/SNSListSubscriptionsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListTopicsRequest.h b/src/include/SNS/SNSListTopicsRequest.h index 3af4ce45..2c5d9df6 100644 --- a/src/include/SNS/SNSListTopicsRequest.h +++ b/src/include/SNS/SNSListTopicsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListTopicsRequestMarshaller.h b/src/include/SNS/SNSListTopicsRequestMarshaller.h index 26118192..baa66912 100644 --- a/src/include/SNS/SNSListTopicsRequestMarshaller.h +++ b/src/include/SNS/SNSListTopicsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListTopicsResponse.h b/src/include/SNS/SNSListTopicsResponse.h index c10640c3..0c88d4b1 100644 --- a/src/include/SNS/SNSListTopicsResponse.h +++ b/src/include/SNS/SNSListTopicsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSListTopicsResponseUnmarshaller.h b/src/include/SNS/SNSListTopicsResponseUnmarshaller.h index b521c301..044cd02b 100644 --- a/src/include/SNS/SNSListTopicsResponseUnmarshaller.h +++ b/src/include/SNS/SNSListTopicsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSNotFoundException.h b/src/include/SNS/SNSNotFoundException.h index dd01d119..1021afbe 100644 --- a/src/include/SNS/SNSNotFoundException.h +++ b/src/include/SNS/SNSNotFoundException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSPublishRequest.h b/src/include/SNS/SNSPublishRequest.h index 5db319fd..4e514ef3 100644 --- a/src/include/SNS/SNSPublishRequest.h +++ b/src/include/SNS/SNSPublishRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ NSString *topicArn; NSString *message; NSString *subject; + NSString *messageStructure; } @@ -57,6 +58,29 @@ */ @property (nonatomic, retain) NSString *subject; +/** + * Optional parameter. It will have one valid value: "json". If this + * option, Message is present and set to "json", the value of Message + * must: be a syntactically valid JSON object. It must contain at least a + * top level JSON key of "default" with a value that is a string. For any + * other top level key that matches one of our transport protocols (e.g. + * "http"), then the corresponding value (if it is a string) will be used + * for the message published for that protocol

    Constraints: Keys in + * the JSON object that correspond to supported transport protocols must + * have simple JSON string values. The values will be parsed (unescaped) + * before they are used in outgoing messages. Typically, outbound + * notifications are JSON encoded (meaning, the characters will be + * reescaped for sending). JSON strings are UTF-8. Values have a minimum + * length of 0 (the empty string, "", is allowed). Values have a maximum + * length bounded by the overall message size (so, including multiple + * protocols may limit message sizes). Non-string values will cause the + * key to be ignored. Keys that do not correspond to supported transport + * protocols will be ignored. Duplicate keys are not allowed. Failure to + * parse or validate any key or value in the message will cause the + * Publish call to return an error (no partial delivery). + */ +@property (nonatomic, retain) NSString *messageStructure; + /** * Default constructor for a new PublishRequest object. Callers should use the diff --git a/src/include/SNS/SNSPublishRequestMarshaller.h b/src/include/SNS/SNSPublishRequestMarshaller.h index 440f89e1..02fafc47 100644 --- a/src/include/SNS/SNSPublishRequestMarshaller.h +++ b/src/include/SNS/SNSPublishRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSPublishResponse.h b/src/include/SNS/SNSPublishResponse.h index 2799baa6..e512835d 100644 --- a/src/include/SNS/SNSPublishResponse.h +++ b/src/include/SNS/SNSPublishResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSPublishResponseUnmarshaller.h b/src/include/SNS/SNSPublishResponseUnmarshaller.h index aca323d2..460b9f4a 100644 --- a/src/include/SNS/SNSPublishResponseUnmarshaller.h +++ b/src/include/SNS/SNSPublishResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSRemovePermissionRequest.h b/src/include/SNS/SNSRemovePermissionRequest.h index 1a04ed95..6ee5ce4a 100644 --- a/src/include/SNS/SNSRemovePermissionRequest.h +++ b/src/include/SNS/SNSRemovePermissionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSRemovePermissionRequestMarshaller.h b/src/include/SNS/SNSRemovePermissionRequestMarshaller.h index 67d8598f..db9a0fcf 100644 --- a/src/include/SNS/SNSRemovePermissionRequestMarshaller.h +++ b/src/include/SNS/SNSRemovePermissionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSRemovePermissionResponse.h b/src/include/SNS/SNSRemovePermissionResponse.h index 81545810..63be86be 100644 --- a/src/include/SNS/SNSRemovePermissionResponse.h +++ b/src/include/SNS/SNSRemovePermissionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSRemovePermissionResponseUnmarshaller.h b/src/include/SNS/SNSRemovePermissionResponseUnmarshaller.h index b25411fc..463a9ec5 100644 --- a/src/include/SNS/SNSRemovePermissionResponseUnmarshaller.h +++ b/src/include/SNS/SNSRemovePermissionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSResponse.h b/src/include/SNS/SNSResponse.h index bb6de33d..551a2cb0 100644 --- a/src/include/SNS/SNSResponse.h +++ b/src/include/SNS/SNSResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSResponseUnmarshaller.h b/src/include/SNS/SNSResponseUnmarshaller.h index 2abf92fb..e3d91d39 100644 --- a/src/include/SNS/SNSResponseUnmarshaller.h +++ b/src/include/SNS/SNSResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSetSubscriptionAttributesRequest.h b/src/include/SNS/SNSSetSubscriptionAttributesRequest.h new file mode 100644 index 00000000..db1511b9 --- /dev/null +++ b/src/include/SNS/SNSSetSubscriptionAttributesRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "../AmazonServiceRequestConfig.h" + + + +/** + * Set Subscription Attributes Request + * + * \ingroup SNS + */ + +@interface SNSSetSubscriptionAttributesRequest:AmazonServiceRequestConfig + +{ + NSString *subscriptionArn; + NSString *attributeName; + NSString *attributeValue; +} + + + +/** + * The ARN of the subscription to modify. + */ +@property (nonatomic, retain) NSString *subscriptionArn; + +/** + * The name of the attribute you want to set. Only a subset of the + * subscriptions attributes are mutable.

    Valid values: DeliveryPolicy + */ +@property (nonatomic, retain) NSString *attributeName; + +/** + * The new value for the attribute. + */ +@property (nonatomic, retain) NSString *attributeValue; + + +/** + * Default constructor for a new SetSubscriptionAttributesRequest object. Callers should use the + * property methods to initialize this object after creating it. + */ +-(id)init; + +/** + * Constructs a new SetSubscriptionAttributesRequest object. + * Callers should use properties to initialize any additional object members. + * + * @param theSubscriptionArn The ARN of the subscription to modify. + * @param theAttributeName The name of the attribute you want to set. + * Only a subset of the subscriptions attributes are mutable.

    Valid + * values: DeliveryPolicy + * @param theAttributeValue The new value for the attribute. + */ +-(id)initWithSubscriptionArn:(NSString *)theSubscriptionArn andAttributeName:(NSString *)theAttributeName andAttributeValue:(NSString *)theAttributeValue; + +/** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + */ +-(NSString *)description; + + +@end diff --git a/src/include/SNS/SNSSetSubscriptionAttributesRequestMarshaller.h b/src/include/SNS/SNSSetSubscriptionAttributesRequestMarshaller.h new file mode 100644 index 00000000..cf3a607e --- /dev/null +++ b/src/include/SNS/SNSSetSubscriptionAttributesRequestMarshaller.h @@ -0,0 +1,33 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "../AmazonServiceRequest.h" + +#import "SNSRequest.h" +#import "SNSSetSubscriptionAttributesRequest.h" + + +/** + * Set Subscription Attributes Request Marshaller + */ +@interface SNSSetSubscriptionAttributesRequestMarshaller:NSObject { +} + + ++(AmazonServiceRequest *)createRequest:(SNSSetSubscriptionAttributesRequest *)setSubscriptionAttributesRequest; + + +@end + diff --git a/src/include/SNS/SNSSetSubscriptionAttributesResponse.h b/src/include/SNS/SNSSetSubscriptionAttributesResponse.h new file mode 100644 index 00000000..381008e2 --- /dev/null +++ b/src/include/SNS/SNSSetSubscriptionAttributesResponse.h @@ -0,0 +1,34 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + + +#import "SNSResponse.h" +#import "../AmazonServiceExceptionUnmarshaller.h" + +#import "SNSNotFoundException.h" +#import "SNSAuthorizationErrorException.h" +#import "SNSInternalErrorException.h" +#import "SNSInvalidParameterException.h" + +/** + * Set Subscription Attributes + * + * \ingroup SNS + */ +@interface SNSSetSubscriptionAttributesResponse:SNSResponse +{ +} + +@end diff --git a/src/include/SNS/SNSSetSubscriptionAttributesResponseUnmarshaller.h b/src/include/SNS/SNSSetSubscriptionAttributesResponseUnmarshaller.h new file mode 100644 index 00000000..2da1bb27 --- /dev/null +++ b/src/include/SNS/SNSSetSubscriptionAttributesResponseUnmarshaller.h @@ -0,0 +1,32 @@ +/* + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +#import "SNSSetSubscriptionAttributesResponse.h" +#import "SNSResponseUnmarshaller.h" + +@interface SNSSetSubscriptionAttributesResponseUnmarshaller:SNSResponseUnmarshaller +{ + SNSSetSubscriptionAttributesResponse *response; +} + +@property (nonatomic, readonly) SNSSetSubscriptionAttributesResponse *response; + + +-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict; +-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName; + +-(SNSSetSubscriptionAttributesResponse *)response; + +@end diff --git a/src/include/SNS/SNSSetTopicAttributesRequest.h b/src/include/SNS/SNSSetTopicAttributesRequest.h index 9f405d3b..e889e840 100644 --- a/src/include/SNS/SNSSetTopicAttributesRequest.h +++ b/src/include/SNS/SNSSetTopicAttributesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -41,7 +41,7 @@ /** * The name of the attribute you want to set. Only a subset of the - * topic's attributes are mutable. + * topic's attributes are mutable.

    Valid values: Policy | DisplayName */ @property (nonatomic, retain) NSString *attributeName; @@ -63,7 +63,8 @@ * * @param theTopicArn The ARN of the topic to modify. * @param theAttributeName The name of the attribute you want to set. - * Only a subset of the topic's attributes are mutable. + * Only a subset of the topic's attributes are mutable.

    Valid values: + * Policy | DisplayName * @param theAttributeValue The new value for the attribute. */ -(id)initWithTopicArn:(NSString *)theTopicArn andAttributeName:(NSString *)theAttributeName andAttributeValue:(NSString *)theAttributeValue; diff --git a/src/include/SNS/SNSSetTopicAttributesRequestMarshaller.h b/src/include/SNS/SNSSetTopicAttributesRequestMarshaller.h index 46f83b9c..e12742a9 100644 --- a/src/include/SNS/SNSSetTopicAttributesRequestMarshaller.h +++ b/src/include/SNS/SNSSetTopicAttributesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSetTopicAttributesResponse.h b/src/include/SNS/SNSSetTopicAttributesResponse.h index 6057288e..295aa2d2 100644 --- a/src/include/SNS/SNSSetTopicAttributesResponse.h +++ b/src/include/SNS/SNSSetTopicAttributesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSetTopicAttributesResponseUnmarshaller.h b/src/include/SNS/SNSSetTopicAttributesResponseUnmarshaller.h index 24161515..b7e33e35 100644 --- a/src/include/SNS/SNSSetTopicAttributesResponseUnmarshaller.h +++ b/src/include/SNS/SNSSetTopicAttributesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSubscribeRequest.h b/src/include/SNS/SNSSubscribeRequest.h index d6ba2ed4..a15f36da 100644 --- a/src/include/SNS/SNSSubscribeRequest.h +++ b/src/include/SNS/SNSSubscribeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSubscribeRequestMarshaller.h b/src/include/SNS/SNSSubscribeRequestMarshaller.h index 08e960f7..66dcc4cf 100644 --- a/src/include/SNS/SNSSubscribeRequestMarshaller.h +++ b/src/include/SNS/SNSSubscribeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSubscribeResponse.h b/src/include/SNS/SNSSubscribeResponse.h index c95694c8..8f28b18c 100644 --- a/src/include/SNS/SNSSubscribeResponse.h +++ b/src/include/SNS/SNSSubscribeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSubscribeResponseUnmarshaller.h b/src/include/SNS/SNSSubscribeResponseUnmarshaller.h index 7ec133fa..78d482bf 100644 --- a/src/include/SNS/SNSSubscribeResponseUnmarshaller.h +++ b/src/include/SNS/SNSSubscribeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSubscription.h b/src/include/SNS/SNSSubscription.h index 229ec71c..4dfd8c30 100644 --- a/src/include/SNS/SNSSubscription.h +++ b/src/include/SNS/SNSSubscription.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSubscriptionLimitExceededException.h b/src/include/SNS/SNSSubscriptionLimitExceededException.h index 04bbecbd..3b672b50 100644 --- a/src/include/SNS/SNSSubscriptionLimitExceededException.h +++ b/src/include/SNS/SNSSubscriptionLimitExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSSubscriptionUnmarshaller.h b/src/include/SNS/SNSSubscriptionUnmarshaller.h index 2fea0510..d40b0b50 100644 --- a/src/include/SNS/SNSSubscriptionUnmarshaller.h +++ b/src/include/SNS/SNSSubscriptionUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSTopic.h b/src/include/SNS/SNSTopic.h index 12deb077..541c5f6a 100644 --- a/src/include/SNS/SNSTopic.h +++ b/src/include/SNS/SNSTopic.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSTopicLimitExceededException.h b/src/include/SNS/SNSTopicLimitExceededException.h index 48623ac7..a370d75e 100644 --- a/src/include/SNS/SNSTopicLimitExceededException.h +++ b/src/include/SNS/SNSTopicLimitExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSTopicUnmarshaller.h b/src/include/SNS/SNSTopicUnmarshaller.h index 61fbce2d..8fd8f782 100644 --- a/src/include/SNS/SNSTopicUnmarshaller.h +++ b/src/include/SNS/SNSTopicUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSUnsubscribeRequest.h b/src/include/SNS/SNSUnsubscribeRequest.h index 14e4ced0..f07f5a0e 100644 --- a/src/include/SNS/SNSUnsubscribeRequest.h +++ b/src/include/SNS/SNSUnsubscribeRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSUnsubscribeRequestMarshaller.h b/src/include/SNS/SNSUnsubscribeRequestMarshaller.h index c421817a..cb2f2f45 100644 --- a/src/include/SNS/SNSUnsubscribeRequestMarshaller.h +++ b/src/include/SNS/SNSUnsubscribeRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSUnsubscribeResponse.h b/src/include/SNS/SNSUnsubscribeResponse.h index 037d8dbb..bd00231d 100644 --- a/src/include/SNS/SNSUnsubscribeResponse.h +++ b/src/include/SNS/SNSUnsubscribeResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SNS/SNSUnsubscribeResponseUnmarshaller.h b/src/include/SNS/SNSUnsubscribeResponseUnmarshaller.h index d39c335d..410dda2a 100644 --- a/src/include/SNS/SNSUnsubscribeResponseUnmarshaller.h +++ b/src/include/SNS/SNSUnsubscribeResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/AmazonSQSClient.h b/src/include/SQS/AmazonSQSClient.h index 3dfe0134..a95b39d6 100644 --- a/src/include/SQS/AmazonSQSClient.h +++ b/src/include/SQS/AmazonSQSClient.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSAddPermissionRequest.h b/src/include/SQS/SQSAddPermissionRequest.h index 93e5cea2..de9bda58 100644 --- a/src/include/SQS/SQSAddPermissionRequest.h +++ b/src/include/SQS/SQSAddPermissionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSAddPermissionRequestMarshaller.h b/src/include/SQS/SQSAddPermissionRequestMarshaller.h index 576272b6..2499f014 100644 --- a/src/include/SQS/SQSAddPermissionRequestMarshaller.h +++ b/src/include/SQS/SQSAddPermissionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSAddPermissionResponse.h b/src/include/SQS/SQSAddPermissionResponse.h index 1ac93604..83aec5b0 100644 --- a/src/include/SQS/SQSAddPermissionResponse.h +++ b/src/include/SQS/SQSAddPermissionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSAddPermissionResponseUnmarshaller.h b/src/include/SQS/SQSAddPermissionResponseUnmarshaller.h index 4b9f32c2..9d37a5e4 100644 --- a/src/include/SQS/SQSAddPermissionResponseUnmarshaller.h +++ b/src/include/SQS/SQSAddPermissionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSBatchEntryIdsNotDistinctException.h b/src/include/SQS/SQSBatchEntryIdsNotDistinctException.h index d67a0074..412735b2 100644 --- a/src/include/SQS/SQSBatchEntryIdsNotDistinctException.h +++ b/src/include/SQS/SQSBatchEntryIdsNotDistinctException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSBatchRequestTooLongException.h b/src/include/SQS/SQSBatchRequestTooLongException.h index 9c7d3f84..337ee6e2 100644 --- a/src/include/SQS/SQSBatchRequestTooLongException.h +++ b/src/include/SQS/SQSBatchRequestTooLongException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSBatchResponseErrorEntry.h b/src/include/SQS/SQSBatchResponseErrorEntry.h index 687c9f86..8c834467 100644 --- a/src/include/SQS/SQSBatchResponseErrorEntry.h +++ b/src/include/SQS/SQSBatchResponseErrorEntry.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSBatchResponseErrorEntryUnmarshaller.h b/src/include/SQS/SQSBatchResponseErrorEntryUnmarshaller.h index c9d61ed4..e3e87968 100644 --- a/src/include/SQS/SQSBatchResponseErrorEntryUnmarshaller.h +++ b/src/include/SQS/SQSBatchResponseErrorEntryUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityBatchRequest.h b/src/include/SQS/SQSChangeMessageVisibilityBatchRequest.h index e5be2c36..126303dd 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityBatchRequest.h +++ b/src/include/SQS/SQSChangeMessageVisibilityBatchRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityBatchRequestEntry.h b/src/include/SQS/SQSChangeMessageVisibilityBatchRequestEntry.h index 8f0b48cf..98a640bd 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityBatchRequestEntry.h +++ b/src/include/SQS/SQSChangeMessageVisibilityBatchRequestEntry.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityBatchRequestMarshaller.h b/src/include/SQS/SQSChangeMessageVisibilityBatchRequestMarshaller.h index c05b786f..4fa2f32e 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityBatchRequestMarshaller.h +++ b/src/include/SQS/SQSChangeMessageVisibilityBatchRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityBatchResponse.h b/src/include/SQS/SQSChangeMessageVisibilityBatchResponse.h index 752dc0c6..440adcbb 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityBatchResponse.h +++ b/src/include/SQS/SQSChangeMessageVisibilityBatchResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityBatchResponseEntry.h b/src/include/SQS/SQSChangeMessageVisibilityBatchResponseEntry.h index 32768129..9d33ec33 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityBatchResponseEntry.h +++ b/src/include/SQS/SQSChangeMessageVisibilityBatchResponseEntry.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityBatchResponseEntryUnmarshaller.h b/src/include/SQS/SQSChangeMessageVisibilityBatchResponseEntryUnmarshaller.h index 55444c9b..026d2264 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityBatchResponseEntryUnmarshaller.h +++ b/src/include/SQS/SQSChangeMessageVisibilityBatchResponseEntryUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityBatchResponseUnmarshaller.h b/src/include/SQS/SQSChangeMessageVisibilityBatchResponseUnmarshaller.h index 136b300c..f44845a0 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityBatchResponseUnmarshaller.h +++ b/src/include/SQS/SQSChangeMessageVisibilityBatchResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityRequest.h b/src/include/SQS/SQSChangeMessageVisibilityRequest.h index 6588d24e..2f52cbd4 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityRequest.h +++ b/src/include/SQS/SQSChangeMessageVisibilityRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityRequestMarshaller.h b/src/include/SQS/SQSChangeMessageVisibilityRequestMarshaller.h index 6e150fc4..61ac27e7 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityRequestMarshaller.h +++ b/src/include/SQS/SQSChangeMessageVisibilityRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityResponse.h b/src/include/SQS/SQSChangeMessageVisibilityResponse.h index 979ea5b7..575d1844 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityResponse.h +++ b/src/include/SQS/SQSChangeMessageVisibilityResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSChangeMessageVisibilityResponseUnmarshaller.h b/src/include/SQS/SQSChangeMessageVisibilityResponseUnmarshaller.h index 15481d82..2db9a3f6 100644 --- a/src/include/SQS/SQSChangeMessageVisibilityResponseUnmarshaller.h +++ b/src/include/SQS/SQSChangeMessageVisibilityResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSCreateQueueRequest.h b/src/include/SQS/SQSCreateQueueRequest.h index 9cb7acde..b5b3930d 100644 --- a/src/include/SQS/SQSCreateQueueRequest.h +++ b/src/include/SQS/SQSCreateQueueRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSCreateQueueRequestMarshaller.h b/src/include/SQS/SQSCreateQueueRequestMarshaller.h index 1ffee10a..4c519ede 100644 --- a/src/include/SQS/SQSCreateQueueRequestMarshaller.h +++ b/src/include/SQS/SQSCreateQueueRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSCreateQueueResponse.h b/src/include/SQS/SQSCreateQueueResponse.h index 2dad04d3..75c1a1d6 100644 --- a/src/include/SQS/SQSCreateQueueResponse.h +++ b/src/include/SQS/SQSCreateQueueResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSCreateQueueResponseUnmarshaller.h b/src/include/SQS/SQSCreateQueueResponseUnmarshaller.h index bbc0ef43..9ed86ee2 100644 --- a/src/include/SQS/SQSCreateQueueResponseUnmarshaller.h +++ b/src/include/SQS/SQSCreateQueueResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageBatchRequest.h b/src/include/SQS/SQSDeleteMessageBatchRequest.h index f91b4527..fbafa511 100644 --- a/src/include/SQS/SQSDeleteMessageBatchRequest.h +++ b/src/include/SQS/SQSDeleteMessageBatchRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageBatchRequestEntry.h b/src/include/SQS/SQSDeleteMessageBatchRequestEntry.h index 1f82bb53..dfe0846c 100644 --- a/src/include/SQS/SQSDeleteMessageBatchRequestEntry.h +++ b/src/include/SQS/SQSDeleteMessageBatchRequestEntry.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageBatchRequestMarshaller.h b/src/include/SQS/SQSDeleteMessageBatchRequestMarshaller.h index bc7dea5b..90fe6b9e 100644 --- a/src/include/SQS/SQSDeleteMessageBatchRequestMarshaller.h +++ b/src/include/SQS/SQSDeleteMessageBatchRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageBatchResponse.h b/src/include/SQS/SQSDeleteMessageBatchResponse.h index 10fe1953..a37f1d5d 100644 --- a/src/include/SQS/SQSDeleteMessageBatchResponse.h +++ b/src/include/SQS/SQSDeleteMessageBatchResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageBatchResponseEntry.h b/src/include/SQS/SQSDeleteMessageBatchResponseEntry.h index 65b48d94..d65de777 100644 --- a/src/include/SQS/SQSDeleteMessageBatchResponseEntry.h +++ b/src/include/SQS/SQSDeleteMessageBatchResponseEntry.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageBatchResponseEntryUnmarshaller.h b/src/include/SQS/SQSDeleteMessageBatchResponseEntryUnmarshaller.h index 78e30d3a..f9bcc584 100644 --- a/src/include/SQS/SQSDeleteMessageBatchResponseEntryUnmarshaller.h +++ b/src/include/SQS/SQSDeleteMessageBatchResponseEntryUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageBatchResponseUnmarshaller.h b/src/include/SQS/SQSDeleteMessageBatchResponseUnmarshaller.h index 0f19ed63..ae2c5c0c 100644 --- a/src/include/SQS/SQSDeleteMessageBatchResponseUnmarshaller.h +++ b/src/include/SQS/SQSDeleteMessageBatchResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageRequest.h b/src/include/SQS/SQSDeleteMessageRequest.h index ff9d2e5f..0d6f5777 100644 --- a/src/include/SQS/SQSDeleteMessageRequest.h +++ b/src/include/SQS/SQSDeleteMessageRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageRequestMarshaller.h b/src/include/SQS/SQSDeleteMessageRequestMarshaller.h index e87f3179..1784b9a3 100644 --- a/src/include/SQS/SQSDeleteMessageRequestMarshaller.h +++ b/src/include/SQS/SQSDeleteMessageRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageResponse.h b/src/include/SQS/SQSDeleteMessageResponse.h index 497392e7..083f50f4 100644 --- a/src/include/SQS/SQSDeleteMessageResponse.h +++ b/src/include/SQS/SQSDeleteMessageResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteMessageResponseUnmarshaller.h b/src/include/SQS/SQSDeleteMessageResponseUnmarshaller.h index 158cf5ce..92320319 100644 --- a/src/include/SQS/SQSDeleteMessageResponseUnmarshaller.h +++ b/src/include/SQS/SQSDeleteMessageResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteQueueRequest.h b/src/include/SQS/SQSDeleteQueueRequest.h index 16bd242e..b3c8a383 100644 --- a/src/include/SQS/SQSDeleteQueueRequest.h +++ b/src/include/SQS/SQSDeleteQueueRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteQueueRequestMarshaller.h b/src/include/SQS/SQSDeleteQueueRequestMarshaller.h index 068c560a..04088acc 100644 --- a/src/include/SQS/SQSDeleteQueueRequestMarshaller.h +++ b/src/include/SQS/SQSDeleteQueueRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteQueueResponse.h b/src/include/SQS/SQSDeleteQueueResponse.h index bf5f8ec7..33e1c00d 100644 --- a/src/include/SQS/SQSDeleteQueueResponse.h +++ b/src/include/SQS/SQSDeleteQueueResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSDeleteQueueResponseUnmarshaller.h b/src/include/SQS/SQSDeleteQueueResponseUnmarshaller.h index dfccf732..8352397e 100644 --- a/src/include/SQS/SQSDeleteQueueResponseUnmarshaller.h +++ b/src/include/SQS/SQSDeleteQueueResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSEmptyBatchRequestException.h b/src/include/SQS/SQSEmptyBatchRequestException.h index 3fba0a18..7a2069b0 100644 --- a/src/include/SQS/SQSEmptyBatchRequestException.h +++ b/src/include/SQS/SQSEmptyBatchRequestException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSGetQueueAttributesRequest.h b/src/include/SQS/SQSGetQueueAttributesRequest.h index 87912497..2da81cc5 100644 --- a/src/include/SQS/SQSGetQueueAttributesRequest.h +++ b/src/include/SQS/SQSGetQueueAttributesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSGetQueueAttributesRequestMarshaller.h b/src/include/SQS/SQSGetQueueAttributesRequestMarshaller.h index 7343a4bf..80c59e4b 100644 --- a/src/include/SQS/SQSGetQueueAttributesRequestMarshaller.h +++ b/src/include/SQS/SQSGetQueueAttributesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSGetQueueAttributesResponse.h b/src/include/SQS/SQSGetQueueAttributesResponse.h index 291fcaf5..9023b51b 100644 --- a/src/include/SQS/SQSGetQueueAttributesResponse.h +++ b/src/include/SQS/SQSGetQueueAttributesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSGetQueueAttributesResponseUnmarshaller.h b/src/include/SQS/SQSGetQueueAttributesResponseUnmarshaller.h index 834e451c..9729974c 100644 --- a/src/include/SQS/SQSGetQueueAttributesResponseUnmarshaller.h +++ b/src/include/SQS/SQSGetQueueAttributesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSGetQueueUrlRequest.h b/src/include/SQS/SQSGetQueueUrlRequest.h index 64a034f8..8cfff734 100644 --- a/src/include/SQS/SQSGetQueueUrlRequest.h +++ b/src/include/SQS/SQSGetQueueUrlRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSGetQueueUrlRequestMarshaller.h b/src/include/SQS/SQSGetQueueUrlRequestMarshaller.h index ba86b7ec..d19eea21 100644 --- a/src/include/SQS/SQSGetQueueUrlRequestMarshaller.h +++ b/src/include/SQS/SQSGetQueueUrlRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSGetQueueUrlResponse.h b/src/include/SQS/SQSGetQueueUrlResponse.h index c8a2fa5d..0f1b6e64 100644 --- a/src/include/SQS/SQSGetQueueUrlResponse.h +++ b/src/include/SQS/SQSGetQueueUrlResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSGetQueueUrlResponseUnmarshaller.h b/src/include/SQS/SQSGetQueueUrlResponseUnmarshaller.h index 50ed50fc..a39298d8 100644 --- a/src/include/SQS/SQSGetQueueUrlResponseUnmarshaller.h +++ b/src/include/SQS/SQSGetQueueUrlResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSInvalidAttributeNameException.h b/src/include/SQS/SQSInvalidAttributeNameException.h index 28499717..c082d1a7 100644 --- a/src/include/SQS/SQSInvalidAttributeNameException.h +++ b/src/include/SQS/SQSInvalidAttributeNameException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSInvalidBatchEntryIdException.h b/src/include/SQS/SQSInvalidBatchEntryIdException.h index eaa20dd6..7f5a9d68 100644 --- a/src/include/SQS/SQSInvalidBatchEntryIdException.h +++ b/src/include/SQS/SQSInvalidBatchEntryIdException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSInvalidIdFormatException.h b/src/include/SQS/SQSInvalidIdFormatException.h index 6a413dcc..5a0c035d 100644 --- a/src/include/SQS/SQSInvalidIdFormatException.h +++ b/src/include/SQS/SQSInvalidIdFormatException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSInvalidMessageContentsException.h b/src/include/SQS/SQSInvalidMessageContentsException.h index cb024a5f..43ad9533 100644 --- a/src/include/SQS/SQSInvalidMessageContentsException.h +++ b/src/include/SQS/SQSInvalidMessageContentsException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSListQueuesRequest.h b/src/include/SQS/SQSListQueuesRequest.h index d652c634..007f2c66 100644 --- a/src/include/SQS/SQSListQueuesRequest.h +++ b/src/include/SQS/SQSListQueuesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSListQueuesRequestMarshaller.h b/src/include/SQS/SQSListQueuesRequestMarshaller.h index 5b723011..84b706a9 100644 --- a/src/include/SQS/SQSListQueuesRequestMarshaller.h +++ b/src/include/SQS/SQSListQueuesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSListQueuesResponse.h b/src/include/SQS/SQSListQueuesResponse.h index 9606dbf2..d0afa3cd 100644 --- a/src/include/SQS/SQSListQueuesResponse.h +++ b/src/include/SQS/SQSListQueuesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSListQueuesResponseUnmarshaller.h b/src/include/SQS/SQSListQueuesResponseUnmarshaller.h index 822dca2b..37171784 100644 --- a/src/include/SQS/SQSListQueuesResponseUnmarshaller.h +++ b/src/include/SQS/SQSListQueuesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSMessage.h b/src/include/SQS/SQSMessage.h index 61fc7e53..115618a9 100644 --- a/src/include/SQS/SQSMessage.h +++ b/src/include/SQS/SQSMessage.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSMessageNotInflightException.h b/src/include/SQS/SQSMessageNotInflightException.h index e648be7e..4b5a0e5a 100644 --- a/src/include/SQS/SQSMessageNotInflightException.h +++ b/src/include/SQS/SQSMessageNotInflightException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSMessageUnmarshaller.h b/src/include/SQS/SQSMessageUnmarshaller.h index 4ce50b09..f4a54e51 100644 --- a/src/include/SQS/SQSMessageUnmarshaller.h +++ b/src/include/SQS/SQSMessageUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSOverLimitException.h b/src/include/SQS/SQSOverLimitException.h index 68b7641b..4a6cdf92 100644 --- a/src/include/SQS/SQSOverLimitException.h +++ b/src/include/SQS/SQSOverLimitException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSQueueDeletedRecentlyException.h b/src/include/SQS/SQSQueueDeletedRecentlyException.h index 8fe5652f..69b0bbf9 100644 --- a/src/include/SQS/SQSQueueDeletedRecentlyException.h +++ b/src/include/SQS/SQSQueueDeletedRecentlyException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSQueueDoesNotExistException.h b/src/include/SQS/SQSQueueDoesNotExistException.h index d3936124..988e12b4 100644 --- a/src/include/SQS/SQSQueueDoesNotExistException.h +++ b/src/include/SQS/SQSQueueDoesNotExistException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSQueueNameExistsException.h b/src/include/SQS/SQSQueueNameExistsException.h index fc2fe165..9fbe414d 100644 --- a/src/include/SQS/SQSQueueNameExistsException.h +++ b/src/include/SQS/SQSQueueNameExistsException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSReceiptHandleIsInvalidException.h b/src/include/SQS/SQSReceiptHandleIsInvalidException.h index c1e3fa4a..7979247c 100644 --- a/src/include/SQS/SQSReceiptHandleIsInvalidException.h +++ b/src/include/SQS/SQSReceiptHandleIsInvalidException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSReceiveMessageRequest.h b/src/include/SQS/SQSReceiveMessageRequest.h index 0748a9df..426acb9e 100644 --- a/src/include/SQS/SQSReceiveMessageRequest.h +++ b/src/include/SQS/SQSReceiveMessageRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSReceiveMessageRequestMarshaller.h b/src/include/SQS/SQSReceiveMessageRequestMarshaller.h index ec717239..87e711bd 100644 --- a/src/include/SQS/SQSReceiveMessageRequestMarshaller.h +++ b/src/include/SQS/SQSReceiveMessageRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSReceiveMessageResponse.h b/src/include/SQS/SQSReceiveMessageResponse.h index e3a8f070..9d432b6f 100644 --- a/src/include/SQS/SQSReceiveMessageResponse.h +++ b/src/include/SQS/SQSReceiveMessageResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSReceiveMessageResponseUnmarshaller.h b/src/include/SQS/SQSReceiveMessageResponseUnmarshaller.h index f0b6e4c2..1c94a161 100644 --- a/src/include/SQS/SQSReceiveMessageResponseUnmarshaller.h +++ b/src/include/SQS/SQSReceiveMessageResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSRemovePermissionRequest.h b/src/include/SQS/SQSRemovePermissionRequest.h index 8b8c24c9..6bbcd8aa 100644 --- a/src/include/SQS/SQSRemovePermissionRequest.h +++ b/src/include/SQS/SQSRemovePermissionRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSRemovePermissionRequestMarshaller.h b/src/include/SQS/SQSRemovePermissionRequestMarshaller.h index a87d61be..4259a78e 100644 --- a/src/include/SQS/SQSRemovePermissionRequestMarshaller.h +++ b/src/include/SQS/SQSRemovePermissionRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSRemovePermissionResponse.h b/src/include/SQS/SQSRemovePermissionResponse.h index fb6e7099..674f07e0 100644 --- a/src/include/SQS/SQSRemovePermissionResponse.h +++ b/src/include/SQS/SQSRemovePermissionResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSRemovePermissionResponseUnmarshaller.h b/src/include/SQS/SQSRemovePermissionResponseUnmarshaller.h index addfda71..010b2717 100644 --- a/src/include/SQS/SQSRemovePermissionResponseUnmarshaller.h +++ b/src/include/SQS/SQSRemovePermissionResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSResponse.h b/src/include/SQS/SQSResponse.h index ee23b99c..2c930343 100644 --- a/src/include/SQS/SQSResponse.h +++ b/src/include/SQS/SQSResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSResponseUnmarshaller.h b/src/include/SQS/SQSResponseUnmarshaller.h index febd8fcf..ca9f1c4a 100644 --- a/src/include/SQS/SQSResponseUnmarshaller.h +++ b/src/include/SQS/SQSResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageBatchRequest.h b/src/include/SQS/SQSSendMessageBatchRequest.h index 00c4fa94..76e32ea1 100644 --- a/src/include/SQS/SQSSendMessageBatchRequest.h +++ b/src/include/SQS/SQSSendMessageBatchRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageBatchRequestEntry.h b/src/include/SQS/SQSSendMessageBatchRequestEntry.h index 2d8d4433..d52fcd88 100644 --- a/src/include/SQS/SQSSendMessageBatchRequestEntry.h +++ b/src/include/SQS/SQSSendMessageBatchRequestEntry.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageBatchRequestMarshaller.h b/src/include/SQS/SQSSendMessageBatchRequestMarshaller.h index 6d349240..87755721 100644 --- a/src/include/SQS/SQSSendMessageBatchRequestMarshaller.h +++ b/src/include/SQS/SQSSendMessageBatchRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageBatchResponse.h b/src/include/SQS/SQSSendMessageBatchResponse.h index 9f2777d2..83d907ba 100644 --- a/src/include/SQS/SQSSendMessageBatchResponse.h +++ b/src/include/SQS/SQSSendMessageBatchResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageBatchResponseEntry.h b/src/include/SQS/SQSSendMessageBatchResponseEntry.h index d76f1a4b..aded030b 100644 --- a/src/include/SQS/SQSSendMessageBatchResponseEntry.h +++ b/src/include/SQS/SQSSendMessageBatchResponseEntry.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageBatchResponseEntryUnmarshaller.h b/src/include/SQS/SQSSendMessageBatchResponseEntryUnmarshaller.h index 814b797c..98639165 100644 --- a/src/include/SQS/SQSSendMessageBatchResponseEntryUnmarshaller.h +++ b/src/include/SQS/SQSSendMessageBatchResponseEntryUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageBatchResponseUnmarshaller.h b/src/include/SQS/SQSSendMessageBatchResponseUnmarshaller.h index 1790d866..d2653d14 100644 --- a/src/include/SQS/SQSSendMessageBatchResponseUnmarshaller.h +++ b/src/include/SQS/SQSSendMessageBatchResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageRequest.h b/src/include/SQS/SQSSendMessageRequest.h index 011ecef7..1ece6a8d 100644 --- a/src/include/SQS/SQSSendMessageRequest.h +++ b/src/include/SQS/SQSSendMessageRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageRequestMarshaller.h b/src/include/SQS/SQSSendMessageRequestMarshaller.h index 2c63d965..9731b492 100644 --- a/src/include/SQS/SQSSendMessageRequestMarshaller.h +++ b/src/include/SQS/SQSSendMessageRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageResponse.h b/src/include/SQS/SQSSendMessageResponse.h index 4c055d9e..c5f7f404 100644 --- a/src/include/SQS/SQSSendMessageResponse.h +++ b/src/include/SQS/SQSSendMessageResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSendMessageResponseUnmarshaller.h b/src/include/SQS/SQSSendMessageResponseUnmarshaller.h index 89dd1ae6..846d8e09 100644 --- a/src/include/SQS/SQSSendMessageResponseUnmarshaller.h +++ b/src/include/SQS/SQSSendMessageResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSetQueueAttributesRequest.h b/src/include/SQS/SQSSetQueueAttributesRequest.h index 52f861f5..a3ba3c27 100644 --- a/src/include/SQS/SQSSetQueueAttributesRequest.h +++ b/src/include/SQS/SQSSetQueueAttributesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSetQueueAttributesRequestMarshaller.h b/src/include/SQS/SQSSetQueueAttributesRequestMarshaller.h index b27295c1..f2a5264c 100644 --- a/src/include/SQS/SQSSetQueueAttributesRequestMarshaller.h +++ b/src/include/SQS/SQSSetQueueAttributesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSetQueueAttributesResponse.h b/src/include/SQS/SQSSetQueueAttributesResponse.h index 177d3119..f75a0c4c 100644 --- a/src/include/SQS/SQSSetQueueAttributesResponse.h +++ b/src/include/SQS/SQSSetQueueAttributesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSSetQueueAttributesResponseUnmarshaller.h b/src/include/SQS/SQSSetQueueAttributesResponseUnmarshaller.h index fbdf4ab7..c8b1c3bd 100644 --- a/src/include/SQS/SQSSetQueueAttributesResponseUnmarshaller.h +++ b/src/include/SQS/SQSSetQueueAttributesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SQS/SQSTooManyEntriesInBatchRequestException.h b/src/include/SQS/SQSTooManyEntriesInBatchRequestException.h index 1a4a5254..2590e82b 100644 --- a/src/include/SQS/SQSTooManyEntriesInBatchRequestException.h +++ b/src/include/SQS/SQSTooManyEntriesInBatchRequestException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/AmazonSimpleDBClient.h b/src/include/SimpleDB/AmazonSimpleDBClient.h index e74469f3..9d3959c3 100644 --- a/src/include/SimpleDB/AmazonSimpleDBClient.h +++ b/src/include/SimpleDB/AmazonSimpleDBClient.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBAttribute.h b/src/include/SimpleDB/SimpleDBAttribute.h index 6bee7dd2..76efce26 100644 --- a/src/include/SimpleDB/SimpleDBAttribute.h +++ b/src/include/SimpleDB/SimpleDBAttribute.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBAttributeDoesNotExistException.h b/src/include/SimpleDB/SimpleDBAttributeDoesNotExistException.h index 0f392610..c03eaa1b 100644 --- a/src/include/SimpleDB/SimpleDBAttributeDoesNotExistException.h +++ b/src/include/SimpleDB/SimpleDBAttributeDoesNotExistException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBAttributeUnmarshaller.h b/src/include/SimpleDB/SimpleDBAttributeUnmarshaller.h index f413d64a..7a661711 100644 --- a/src/include/SimpleDB/SimpleDBAttributeUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBAttributeUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBBatchDeleteAttributesRequest.h b/src/include/SimpleDB/SimpleDBBatchDeleteAttributesRequest.h index 5d2191e9..ad88f616 100644 --- a/src/include/SimpleDB/SimpleDBBatchDeleteAttributesRequest.h +++ b/src/include/SimpleDB/SimpleDBBatchDeleteAttributesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBBatchDeleteAttributesRequestMarshaller.h b/src/include/SimpleDB/SimpleDBBatchDeleteAttributesRequestMarshaller.h index 435d227a..8d729e1f 100644 --- a/src/include/SimpleDB/SimpleDBBatchDeleteAttributesRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBBatchDeleteAttributesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBBatchDeleteAttributesResponse.h b/src/include/SimpleDB/SimpleDBBatchDeleteAttributesResponse.h index 9c7685a5..258ab147 100644 --- a/src/include/SimpleDB/SimpleDBBatchDeleteAttributesResponse.h +++ b/src/include/SimpleDB/SimpleDBBatchDeleteAttributesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBBatchDeleteAttributesResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBBatchDeleteAttributesResponseUnmarshaller.h index 115366a9..8cd9d258 100644 --- a/src/include/SimpleDB/SimpleDBBatchDeleteAttributesResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBBatchDeleteAttributesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBBatchPutAttributesRequest.h b/src/include/SimpleDB/SimpleDBBatchPutAttributesRequest.h index 4b99d779..54184261 100644 --- a/src/include/SimpleDB/SimpleDBBatchPutAttributesRequest.h +++ b/src/include/SimpleDB/SimpleDBBatchPutAttributesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBBatchPutAttributesRequestMarshaller.h b/src/include/SimpleDB/SimpleDBBatchPutAttributesRequestMarshaller.h index c7fc1526..27f7c9e7 100644 --- a/src/include/SimpleDB/SimpleDBBatchPutAttributesRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBBatchPutAttributesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBBatchPutAttributesResponse.h b/src/include/SimpleDB/SimpleDBBatchPutAttributesResponse.h index 2ed7b319..2ba49fdb 100644 --- a/src/include/SimpleDB/SimpleDBBatchPutAttributesResponse.h +++ b/src/include/SimpleDB/SimpleDBBatchPutAttributesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBBatchPutAttributesResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBBatchPutAttributesResponseUnmarshaller.h index 274076a5..1bb0b322 100644 --- a/src/include/SimpleDB/SimpleDBBatchPutAttributesResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBBatchPutAttributesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBCreateDomainRequest.h b/src/include/SimpleDB/SimpleDBCreateDomainRequest.h index 6c9fe8c4..6f488b54 100644 --- a/src/include/SimpleDB/SimpleDBCreateDomainRequest.h +++ b/src/include/SimpleDB/SimpleDBCreateDomainRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBCreateDomainRequestMarshaller.h b/src/include/SimpleDB/SimpleDBCreateDomainRequestMarshaller.h index b3e26406..0bd697fe 100644 --- a/src/include/SimpleDB/SimpleDBCreateDomainRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBCreateDomainRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBCreateDomainResponse.h b/src/include/SimpleDB/SimpleDBCreateDomainResponse.h index a27e2301..d05d72ab 100644 --- a/src/include/SimpleDB/SimpleDBCreateDomainResponse.h +++ b/src/include/SimpleDB/SimpleDBCreateDomainResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBCreateDomainResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBCreateDomainResponseUnmarshaller.h index fffbec47..1fe71718 100644 --- a/src/include/SimpleDB/SimpleDBCreateDomainResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBCreateDomainResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDeletableItem.h b/src/include/SimpleDB/SimpleDBDeletableItem.h index 21265547..06157dc4 100644 --- a/src/include/SimpleDB/SimpleDBDeletableItem.h +++ b/src/include/SimpleDB/SimpleDBDeletableItem.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDeleteAttributesRequest.h b/src/include/SimpleDB/SimpleDBDeleteAttributesRequest.h index d527edd2..a4bfa96d 100644 --- a/src/include/SimpleDB/SimpleDBDeleteAttributesRequest.h +++ b/src/include/SimpleDB/SimpleDBDeleteAttributesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDeleteAttributesRequestMarshaller.h b/src/include/SimpleDB/SimpleDBDeleteAttributesRequestMarshaller.h index 77f8693a..79707748 100644 --- a/src/include/SimpleDB/SimpleDBDeleteAttributesRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBDeleteAttributesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDeleteAttributesResponse.h b/src/include/SimpleDB/SimpleDBDeleteAttributesResponse.h index c30412e4..b341b15f 100644 --- a/src/include/SimpleDB/SimpleDBDeleteAttributesResponse.h +++ b/src/include/SimpleDB/SimpleDBDeleteAttributesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDeleteAttributesResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBDeleteAttributesResponseUnmarshaller.h index 5979718e..bf18b538 100644 --- a/src/include/SimpleDB/SimpleDBDeleteAttributesResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBDeleteAttributesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDeleteDomainRequest.h b/src/include/SimpleDB/SimpleDBDeleteDomainRequest.h index 257339f3..cc691247 100644 --- a/src/include/SimpleDB/SimpleDBDeleteDomainRequest.h +++ b/src/include/SimpleDB/SimpleDBDeleteDomainRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDeleteDomainRequestMarshaller.h b/src/include/SimpleDB/SimpleDBDeleteDomainRequestMarshaller.h index 8a229cc7..82cd8c4c 100644 --- a/src/include/SimpleDB/SimpleDBDeleteDomainRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBDeleteDomainRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDeleteDomainResponse.h b/src/include/SimpleDB/SimpleDBDeleteDomainResponse.h index 4d8ce3e9..02244f02 100644 --- a/src/include/SimpleDB/SimpleDBDeleteDomainResponse.h +++ b/src/include/SimpleDB/SimpleDBDeleteDomainResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDeleteDomainResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBDeleteDomainResponseUnmarshaller.h index 3f67acb9..9b2eb74f 100644 --- a/src/include/SimpleDB/SimpleDBDeleteDomainResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBDeleteDomainResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDomainMetadataRequest.h b/src/include/SimpleDB/SimpleDBDomainMetadataRequest.h index 67005fa7..4caec3da 100644 --- a/src/include/SimpleDB/SimpleDBDomainMetadataRequest.h +++ b/src/include/SimpleDB/SimpleDBDomainMetadataRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDomainMetadataRequestMarshaller.h b/src/include/SimpleDB/SimpleDBDomainMetadataRequestMarshaller.h index d4552cb7..cbcf05d5 100644 --- a/src/include/SimpleDB/SimpleDBDomainMetadataRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBDomainMetadataRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDomainMetadataResponse.h b/src/include/SimpleDB/SimpleDBDomainMetadataResponse.h index a4847c02..8e41c2e9 100644 --- a/src/include/SimpleDB/SimpleDBDomainMetadataResponse.h +++ b/src/include/SimpleDB/SimpleDBDomainMetadataResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDomainMetadataResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBDomainMetadataResponseUnmarshaller.h index 4789ca36..c401c49a 100644 --- a/src/include/SimpleDB/SimpleDBDomainMetadataResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBDomainMetadataResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBDuplicateItemNameException.h b/src/include/SimpleDB/SimpleDBDuplicateItemNameException.h index 764219dd..622bb5bb 100644 --- a/src/include/SimpleDB/SimpleDBDuplicateItemNameException.h +++ b/src/include/SimpleDB/SimpleDBDuplicateItemNameException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBGetAttributesRequest.h b/src/include/SimpleDB/SimpleDBGetAttributesRequest.h index 2cfb1020..15432bd5 100644 --- a/src/include/SimpleDB/SimpleDBGetAttributesRequest.h +++ b/src/include/SimpleDB/SimpleDBGetAttributesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBGetAttributesRequestMarshaller.h b/src/include/SimpleDB/SimpleDBGetAttributesRequestMarshaller.h index 6345db0f..260219f7 100644 --- a/src/include/SimpleDB/SimpleDBGetAttributesRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBGetAttributesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBGetAttributesResponse.h b/src/include/SimpleDB/SimpleDBGetAttributesResponse.h index 911fa25b..ec425dc0 100644 --- a/src/include/SimpleDB/SimpleDBGetAttributesResponse.h +++ b/src/include/SimpleDB/SimpleDBGetAttributesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBGetAttributesResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBGetAttributesResponseUnmarshaller.h index 7b444b7d..511ba76d 100644 --- a/src/include/SimpleDB/SimpleDBGetAttributesResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBGetAttributesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBInvalidNextTokenException.h b/src/include/SimpleDB/SimpleDBInvalidNextTokenException.h index 55186747..3aa3d90a 100644 --- a/src/include/SimpleDB/SimpleDBInvalidNextTokenException.h +++ b/src/include/SimpleDB/SimpleDBInvalidNextTokenException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBInvalidNumberPredicatesException.h b/src/include/SimpleDB/SimpleDBInvalidNumberPredicatesException.h index 49fcdae0..0c3dc632 100644 --- a/src/include/SimpleDB/SimpleDBInvalidNumberPredicatesException.h +++ b/src/include/SimpleDB/SimpleDBInvalidNumberPredicatesException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBInvalidNumberValueTestsException.h b/src/include/SimpleDB/SimpleDBInvalidNumberValueTestsException.h index 613a7d8b..4dbaa927 100644 --- a/src/include/SimpleDB/SimpleDBInvalidNumberValueTestsException.h +++ b/src/include/SimpleDB/SimpleDBInvalidNumberValueTestsException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBInvalidParameterValueException.h b/src/include/SimpleDB/SimpleDBInvalidParameterValueException.h index 6766f746..e3a736db 100644 --- a/src/include/SimpleDB/SimpleDBInvalidParameterValueException.h +++ b/src/include/SimpleDB/SimpleDBInvalidParameterValueException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBInvalidQueryExpressionException.h b/src/include/SimpleDB/SimpleDBInvalidQueryExpressionException.h index 4ac30241..fd833a4a 100644 --- a/src/include/SimpleDB/SimpleDBInvalidQueryExpressionException.h +++ b/src/include/SimpleDB/SimpleDBInvalidQueryExpressionException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBItem.h b/src/include/SimpleDB/SimpleDBItem.h index 7fe25e34..0375b2ff 100644 --- a/src/include/SimpleDB/SimpleDBItem.h +++ b/src/include/SimpleDB/SimpleDBItem.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBItemUnmarshaller.h b/src/include/SimpleDB/SimpleDBItemUnmarshaller.h index 2d64bd49..dadc7e3a 100644 --- a/src/include/SimpleDB/SimpleDBItemUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBItemUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBListDomainsRequest.h b/src/include/SimpleDB/SimpleDBListDomainsRequest.h index a08d1fbb..5547fe8e 100644 --- a/src/include/SimpleDB/SimpleDBListDomainsRequest.h +++ b/src/include/SimpleDB/SimpleDBListDomainsRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBListDomainsRequestMarshaller.h b/src/include/SimpleDB/SimpleDBListDomainsRequestMarshaller.h index 463da83d..260e2e24 100644 --- a/src/include/SimpleDB/SimpleDBListDomainsRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBListDomainsRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBListDomainsResponse.h b/src/include/SimpleDB/SimpleDBListDomainsResponse.h index 5f90f428..3c9a2249 100644 --- a/src/include/SimpleDB/SimpleDBListDomainsResponse.h +++ b/src/include/SimpleDB/SimpleDBListDomainsResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBListDomainsResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBListDomainsResponseUnmarshaller.h index 3a50c2bb..9fe4f065 100644 --- a/src/include/SimpleDB/SimpleDBListDomainsResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBListDomainsResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBMissingParameterException.h b/src/include/SimpleDB/SimpleDBMissingParameterException.h index 0fb05679..49b74bf6 100644 --- a/src/include/SimpleDB/SimpleDBMissingParameterException.h +++ b/src/include/SimpleDB/SimpleDBMissingParameterException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBNoSuchDomainException.h b/src/include/SimpleDB/SimpleDBNoSuchDomainException.h index 461b1756..24095580 100644 --- a/src/include/SimpleDB/SimpleDBNoSuchDomainException.h +++ b/src/include/SimpleDB/SimpleDBNoSuchDomainException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBNumberDomainAttributesExceededException.h b/src/include/SimpleDB/SimpleDBNumberDomainAttributesExceededException.h index 38c74e9d..da0d2356 100644 --- a/src/include/SimpleDB/SimpleDBNumberDomainAttributesExceededException.h +++ b/src/include/SimpleDB/SimpleDBNumberDomainAttributesExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBNumberDomainBytesExceededException.h b/src/include/SimpleDB/SimpleDBNumberDomainBytesExceededException.h index 3e9106f9..e6ceff9d 100644 --- a/src/include/SimpleDB/SimpleDBNumberDomainBytesExceededException.h +++ b/src/include/SimpleDB/SimpleDBNumberDomainBytesExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBNumberDomainsExceededException.h b/src/include/SimpleDB/SimpleDBNumberDomainsExceededException.h index b6221c43..14263fed 100644 --- a/src/include/SimpleDB/SimpleDBNumberDomainsExceededException.h +++ b/src/include/SimpleDB/SimpleDBNumberDomainsExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBNumberItemAttributesExceededException.h b/src/include/SimpleDB/SimpleDBNumberItemAttributesExceededException.h index fee15f83..b69f641b 100644 --- a/src/include/SimpleDB/SimpleDBNumberItemAttributesExceededException.h +++ b/src/include/SimpleDB/SimpleDBNumberItemAttributesExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBNumberSubmittedAttributesExceededException.h b/src/include/SimpleDB/SimpleDBNumberSubmittedAttributesExceededException.h index 17003231..d8d50995 100644 --- a/src/include/SimpleDB/SimpleDBNumberSubmittedAttributesExceededException.h +++ b/src/include/SimpleDB/SimpleDBNumberSubmittedAttributesExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBNumberSubmittedItemsExceededException.h b/src/include/SimpleDB/SimpleDBNumberSubmittedItemsExceededException.h index bc6b46d7..9fe03564 100644 --- a/src/include/SimpleDB/SimpleDBNumberSubmittedItemsExceededException.h +++ b/src/include/SimpleDB/SimpleDBNumberSubmittedItemsExceededException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBPutAttributesRequest.h b/src/include/SimpleDB/SimpleDBPutAttributesRequest.h index 16ad95a9..7bd363ca 100644 --- a/src/include/SimpleDB/SimpleDBPutAttributesRequest.h +++ b/src/include/SimpleDB/SimpleDBPutAttributesRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBPutAttributesRequestMarshaller.h b/src/include/SimpleDB/SimpleDBPutAttributesRequestMarshaller.h index caf5023f..9803ed94 100644 --- a/src/include/SimpleDB/SimpleDBPutAttributesRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBPutAttributesRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBPutAttributesResponse.h b/src/include/SimpleDB/SimpleDBPutAttributesResponse.h index e1df1f67..5989da55 100644 --- a/src/include/SimpleDB/SimpleDBPutAttributesResponse.h +++ b/src/include/SimpleDB/SimpleDBPutAttributesResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBPutAttributesResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBPutAttributesResponseUnmarshaller.h index 09dc6fa4..d4b0ae9b 100644 --- a/src/include/SimpleDB/SimpleDBPutAttributesResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBPutAttributesResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBReplaceableAttribute.h b/src/include/SimpleDB/SimpleDBReplaceableAttribute.h index 4cdd4d2b..1c6f8ef9 100644 --- a/src/include/SimpleDB/SimpleDBReplaceableAttribute.h +++ b/src/include/SimpleDB/SimpleDBReplaceableAttribute.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBReplaceableItem.h b/src/include/SimpleDB/SimpleDBReplaceableItem.h index 399bb870..4d6e7e7d 100644 --- a/src/include/SimpleDB/SimpleDBReplaceableItem.h +++ b/src/include/SimpleDB/SimpleDBReplaceableItem.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBRequestTimeoutException.h b/src/include/SimpleDB/SimpleDBRequestTimeoutException.h index 4cb78d0e..80f2b950 100644 --- a/src/include/SimpleDB/SimpleDBRequestTimeoutException.h +++ b/src/include/SimpleDB/SimpleDBRequestTimeoutException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBResponse.h b/src/include/SimpleDB/SimpleDBResponse.h index b9c981f8..39c1af4e 100644 --- a/src/include/SimpleDB/SimpleDBResponse.h +++ b/src/include/SimpleDB/SimpleDBResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBResponseUnmarshaller.h index e175f982..e342862f 100644 --- a/src/include/SimpleDB/SimpleDBResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBSelectRequest.h b/src/include/SimpleDB/SimpleDBSelectRequest.h index 210f84e4..0373acb0 100644 --- a/src/include/SimpleDB/SimpleDBSelectRequest.h +++ b/src/include/SimpleDB/SimpleDBSelectRequest.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBSelectRequestMarshaller.h b/src/include/SimpleDB/SimpleDBSelectRequestMarshaller.h index c0af8d45..fadee26c 100644 --- a/src/include/SimpleDB/SimpleDBSelectRequestMarshaller.h +++ b/src/include/SimpleDB/SimpleDBSelectRequestMarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBSelectResponse.h b/src/include/SimpleDB/SimpleDBSelectResponse.h index 99b2e4ab..b7babbc5 100644 --- a/src/include/SimpleDB/SimpleDBSelectResponse.h +++ b/src/include/SimpleDB/SimpleDBSelectResponse.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBSelectResponseUnmarshaller.h b/src/include/SimpleDB/SimpleDBSelectResponseUnmarshaller.h index 59869275..50f7f22f 100644 --- a/src/include/SimpleDB/SimpleDBSelectResponseUnmarshaller.h +++ b/src/include/SimpleDB/SimpleDBSelectResponseUnmarshaller.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBTooManyRequestedAttributesException.h b/src/include/SimpleDB/SimpleDBTooManyRequestedAttributesException.h index 6b9a5851..7cd976ec 100644 --- a/src/include/SimpleDB/SimpleDBTooManyRequestedAttributesException.h +++ b/src/include/SimpleDB/SimpleDBTooManyRequestedAttributesException.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/include/SimpleDB/SimpleDBUpdateCondition.h b/src/include/SimpleDB/SimpleDBUpdateCondition.h index 83f92677..9531d5f8 100644 --- a/src/include/SimpleDB/SimpleDBUpdateCondition.h +++ b/src/include/SimpleDB/SimpleDBUpdateCondition.h @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License.