mirror of https://github.com/apache/jclouds.git
added named annotations corresponding to IAM actions
This commit is contained in:
parent
a75a0a4455
commit
9d19777c46
|
@ -21,6 +21,7 @@ package org.jclouds.cloudwatch;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -69,6 +70,7 @@ public interface CloudWatchAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MetricAsyncApi#getMetricStatistics
|
* @see MetricAsyncApi#getMetricStatistics
|
||||||
*/
|
*/
|
||||||
|
@Named("cloudwatch:GetMetricStatistics")
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
package org.jclouds.cloudwatch.features;
|
package org.jclouds.cloudwatch.features;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -62,6 +63,7 @@ public interface MetricAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MetricApi#list()
|
* @see MetricApi#list()
|
||||||
*/
|
*/
|
||||||
|
@Named("cloudwatch:ListMetrics")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(ListMetricsResponseHandler.class)
|
@XMLResponseParser(ListMetricsResponseHandler.class)
|
||||||
|
@ -73,6 +75,7 @@ public interface MetricAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MetricApi#list(ListMetricsOptions)
|
* @see MetricApi#list(ListMetricsOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("cloudwatch:ListMetrics")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(ListMetricsResponseHandler.class)
|
@XMLResponseParser(ListMetricsResponseHandler.class)
|
||||||
|
@ -83,6 +86,7 @@ public interface MetricAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MetricApi#getMetricStatistics(GetMetricStatistics)
|
* @see MetricApi#getMetricStatistics(GetMetricStatistics)
|
||||||
*/
|
*/
|
||||||
|
@Named("cloudwatch:GetMetricStatistics")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(GetMetricStatisticsResponseHandlerV2.class)
|
@XMLResponseParser(GetMetricStatisticsResponseHandlerV2.class)
|
||||||
|
@ -93,6 +97,7 @@ public interface MetricAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MetricApi#getMetricStatistics(GetMetricStatistics, GetMetricStatisticsOptions)
|
* @see MetricApi#getMetricStatistics(GetMetricStatistics, GetMetricStatisticsOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("cloudwatch:GetMetricStatistics")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(GetMetricStatisticsResponseHandlerV2.class)
|
@XMLResponseParser(GetMetricStatisticsResponseHandlerV2.class)
|
||||||
|
@ -104,6 +109,7 @@ public interface MetricAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MetricApi#putMetricsInNamespace(Iterable, String)
|
* @see MetricApi#putMetricsInNamespace(Iterable, String)
|
||||||
*/
|
*/
|
||||||
|
@Named("cloudwatch:PutMetricData")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = "Action", values = "PutMetricData")
|
@FormParams(keys = "Action", values = "PutMetricData")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
|
||||||
|
@ -64,6 +65,7 @@ public interface TagAsyncApi {
|
||||||
* @see <a
|
* @see <a
|
||||||
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateTags.html">docs</a>
|
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateTags.html">docs</a>
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateTags")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateTags")
|
@FormParams(keys = ACTION, values = "CreateTags")
|
||||||
|
@ -75,6 +77,7 @@ public interface TagAsyncApi {
|
||||||
* @see <a
|
* @see <a
|
||||||
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateTags.html">docs</a>
|
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateTags.html">docs</a>
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateTags")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateTags")
|
@FormParams(keys = ACTION, values = "CreateTags")
|
||||||
|
@ -86,6 +89,7 @@ public interface TagAsyncApi {
|
||||||
* @see <a
|
* @see <a
|
||||||
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeTags.html">docs</a>
|
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeTags.html">docs</a>
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeTags")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeTags")
|
@FormParams(keys = ACTION, values = "DescribeTags")
|
||||||
|
@ -98,6 +102,7 @@ public interface TagAsyncApi {
|
||||||
* @see <a
|
* @see <a
|
||||||
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeTags.html">docs</a>
|
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeTags.html">docs</a>
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeTags")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeTags")
|
@FormParams(keys = ACTION, values = "DescribeTags")
|
||||||
|
@ -111,6 +116,7 @@ public interface TagAsyncApi {
|
||||||
* @see <a
|
* @see <a
|
||||||
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteTags.html">docs</a>
|
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteTags.html">docs</a>
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeleteTags")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteTags")
|
@FormParams(keys = ACTION, values = "DeleteTags")
|
||||||
|
@ -123,6 +129,7 @@ public interface TagAsyncApi {
|
||||||
* @see <a
|
* @see <a
|
||||||
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteTags.html">docs</a>
|
* href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteTags.html">docs</a>
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeleteTags")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteTags")
|
@FormParams(keys = ACTION, values = "DeleteTags")
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.ec2.features;
|
||||||
|
|
||||||
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -55,6 +56,7 @@ public interface WindowsAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see WindowsApi#getPasswordDataForInstance
|
* @see WindowsApi#getPasswordDataForInstance
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:GetPasswordData")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "GetPasswordData")
|
@FormParams(keys = ACTION, values = "GetPasswordData")
|
||||||
|
|
|
@ -23,6 +23,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -67,6 +68,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#describeImagesInRegion
|
* @see AMIClient#describeImagesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeImages")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeImages")
|
@FormParams(keys = ACTION, values = "DescribeImages")
|
||||||
|
@ -79,6 +81,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#createImageInRegion
|
* @see AMIClient#createImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateImage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateImage")
|
@FormParams(keys = ACTION, values = "CreateImage")
|
||||||
|
@ -90,6 +93,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#deregisterImageInRegion
|
* @see AMIClient#deregisterImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeregisterImage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeregisterImage")
|
@FormParams(keys = ACTION, values = "DeregisterImage")
|
||||||
|
@ -100,6 +104,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#registerImageFromManifestInRegion
|
* @see AMIClient#registerImageFromManifestInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RegisterImage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RegisterImage")
|
@FormParams(keys = ACTION, values = "RegisterImage")
|
||||||
|
@ -112,6 +117,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#registerUnixImageBackedByEbsInRegion
|
* @see AMIClient#registerUnixImageBackedByEbsInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RegisterImage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "RootDeviceName", "BlockDeviceMapping.0.DeviceName" }, values = { "RegisterImage",
|
@FormParams(keys = { ACTION, "RootDeviceName", "BlockDeviceMapping.0.DeviceName" }, values = { "RegisterImage",
|
||||||
|
@ -126,6 +132,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#resetLaunchPermissionsOnImageInRegion
|
* @see AMIClient#resetLaunchPermissionsOnImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ResetImageAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ResetImageAttribute", "launchPermission" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ResetImageAttribute", "launchPermission" })
|
||||||
|
@ -136,6 +143,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#addLaunchPermissionsToImageInRegion
|
* @see AMIClient#addLaunchPermissionsToImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyImageAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifyImageAttribute", "add",
|
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifyImageAttribute", "add",
|
||||||
|
@ -149,6 +157,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#removeLaunchPermissionsToImageInRegion
|
* @see AMIClient#removeLaunchPermissionsToImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyImageAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifyImageAttribute", "remove",
|
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifyImageAttribute", "remove",
|
||||||
|
@ -162,6 +171,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#getLaunchPermissionForImageInRegion
|
* @see AMIClient#getLaunchPermissionForImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeImageAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeImageAttribute", "launchPermission" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeImageAttribute", "launchPermission" })
|
||||||
|
@ -173,6 +183,7 @@ public interface AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#getBlockDeviceMappingsForImageInRegion
|
* @see AMIClient#getBlockDeviceMappingsForImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeImageAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeImageAttribute", "blockDeviceMapping" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeImageAttribute", "blockDeviceMapping" })
|
||||||
|
|
|
@ -24,6 +24,7 @@ import java.net.URI;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
|
||||||
|
@ -58,6 +59,7 @@ public interface AvailabilityZoneAndRegionAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AvailabilityZoneAndRegionClient#describeAvailabilityZonesInRegion
|
* @see AvailabilityZoneAndRegionClient#describeAvailabilityZonesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeAvailabilityZones")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeAvailabilityZones")
|
@FormParams(keys = ACTION, values = "DescribeAvailabilityZones")
|
||||||
|
@ -70,6 +72,7 @@ public interface AvailabilityZoneAndRegionAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AvailabilityZoneAndRegionClient#describeRegions
|
* @see AvailabilityZoneAndRegionClient#describeRegions
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeRegions")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeRegions")
|
@FormParams(keys = ACTION, values = "DescribeRegions")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -71,6 +72,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#createVolumeFromSnapshotInAvailabilityZone
|
* @see ElasticBlockStoreClient#createVolumeFromSnapshotInAvailabilityZone
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateVolume")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateVolume")
|
@FormParams(keys = ACTION, values = "CreateVolume")
|
||||||
|
@ -82,6 +84,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#createVolumeFromSnapshotInAvailabilityZone
|
* @see ElasticBlockStoreClient#createVolumeFromSnapshotInAvailabilityZone
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateVolume")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateVolume")
|
@FormParams(keys = ACTION, values = "CreateVolume")
|
||||||
|
@ -93,6 +96,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#createVolumeInAvailabilityZone
|
* @see ElasticBlockStoreClient#createVolumeInAvailabilityZone
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateVolume")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateVolume")
|
@FormParams(keys = ACTION, values = "CreateVolume")
|
||||||
|
@ -105,6 +109,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
* @see ElasticBlockStoreClient#describeVolumesInRegion
|
* @see ElasticBlockStoreClient#describeVolumesInRegion
|
||||||
*/
|
*/
|
||||||
@POST
|
@POST
|
||||||
|
@Named("ec2:DescribeVolumes")
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeVolumes")
|
@FormParams(keys = ACTION, values = "DescribeVolumes")
|
||||||
@XMLResponseParser(DescribeVolumesResponseHandler.class)
|
@XMLResponseParser(DescribeVolumesResponseHandler.class)
|
||||||
|
@ -115,6 +120,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#deleteVolumeInRegion
|
* @see ElasticBlockStoreClient#deleteVolumeInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeleteVolume")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteVolume")
|
@FormParams(keys = ACTION, values = "DeleteVolume")
|
||||||
|
@ -124,6 +130,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#detachVolumeInRegion
|
* @see ElasticBlockStoreClient#detachVolumeInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DetachVolume")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DetachVolume")
|
@FormParams(keys = ACTION, values = "DetachVolume")
|
||||||
|
@ -134,6 +141,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#attachVolumeInRegion
|
* @see ElasticBlockStoreClient#attachVolumeInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:AttachVolume")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "AttachVolume")
|
@FormParams(keys = ACTION, values = "AttachVolume")
|
||||||
|
@ -146,6 +154,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#createSnapshotInRegion
|
* @see ElasticBlockStoreClient#createSnapshotInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateSnapshot")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateSnapshot")
|
@FormParams(keys = ACTION, values = "CreateSnapshot")
|
||||||
|
@ -157,6 +166,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#describeSnapshotsInRegion
|
* @see ElasticBlockStoreClient#describeSnapshotsInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeSnapshots")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeSnapshots")
|
@FormParams(keys = ACTION, values = "DescribeSnapshots")
|
||||||
|
@ -169,6 +179,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#deleteSnapshotInRegion
|
* @see ElasticBlockStoreClient#deleteSnapshotInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeleteSnapshot")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteSnapshot")
|
@FormParams(keys = ACTION, values = "DeleteSnapshot")
|
||||||
|
@ -179,6 +190,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#addCreateVolumePermissionsToSnapshotInRegion
|
* @see ElasticBlockStoreClient#addCreateVolumePermissionsToSnapshotInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifySnapshotAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifySnapshotAttribute", "add",
|
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifySnapshotAttribute", "add",
|
||||||
|
@ -192,6 +204,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#removeCreateVolumePermissionsFromSnapshotInRegion
|
* @see ElasticBlockStoreClient#removeCreateVolumePermissionsFromSnapshotInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifySnapshotAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifySnapshotAttribute", "remove",
|
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifySnapshotAttribute", "remove",
|
||||||
|
@ -205,6 +218,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#getCreateVolumePermissionForSnapshotInRegion
|
* @see ElasticBlockStoreClient#getCreateVolumePermissionForSnapshotInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeSnapshotAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeSnapshotAttribute", "createVolumePermission" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeSnapshotAttribute", "createVolumePermission" })
|
||||||
|
@ -216,6 +230,7 @@ public interface ElasticBlockStoreAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see ElasticBlockStoreClient#resetCreateVolumePermissionsOnSnapshotInRegion
|
* @see ElasticBlockStoreClient#resetCreateVolumePermissionsOnSnapshotInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ResetSnapshotAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ResetSnapshotAttribute", "createVolumePermission" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ResetSnapshotAttribute", "createVolumePermission" })
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -57,6 +58,7 @@ public interface ElasticIPAddressAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see BaseEC2Client#allocateAddressInRegion
|
* @see BaseEC2Client#allocateAddressInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:AllocateAddress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(AllocateAddressResponseHandler.class)
|
@XMLResponseParser(AllocateAddressResponseHandler.class)
|
||||||
|
@ -67,6 +69,7 @@ public interface ElasticIPAddressAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see BaseEC2Client#associateAddressInRegion
|
* @see BaseEC2Client#associateAddressInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:AssociateAddress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "AssociateAddress")
|
@FormParams(keys = ACTION, values = "AssociateAddress")
|
||||||
|
@ -77,6 +80,7 @@ public interface ElasticIPAddressAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see BaseEC2Client#disassociateAddressInRegion
|
* @see BaseEC2Client#disassociateAddressInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DisassociateAddress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DisassociateAddress")
|
@FormParams(keys = ACTION, values = "DisassociateAddress")
|
||||||
|
@ -87,6 +91,7 @@ public interface ElasticIPAddressAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see BaseEC2Client#releaseAddressInRegion
|
* @see BaseEC2Client#releaseAddressInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ReleaseAddress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ReleaseAddress")
|
@FormParams(keys = ACTION, values = "ReleaseAddress")
|
||||||
|
@ -97,6 +102,7 @@ public interface ElasticIPAddressAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see BaseEC2Client#describeAddressesInRegion
|
* @see BaseEC2Client#describeAddressesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeAddresses")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeAddresses")
|
@FormParams(keys = ACTION, values = "DescribeAddresses")
|
||||||
|
|
|
@ -23,6 +23,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -75,6 +76,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see InstanceClient#describeInstancesInRegion
|
* @see InstanceClient#describeInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeInstances")
|
@FormParams(keys = ACTION, values = "DescribeInstances")
|
||||||
|
@ -87,6 +89,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see InstanceClient#runInstancesInRegion
|
* @see InstanceClient#runInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RunInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RunInstances")
|
@FormParams(keys = ACTION, values = "RunInstances")
|
||||||
|
@ -100,6 +103,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see InstanceClient#rebootInstancesInRegion
|
* @see InstanceClient#rebootInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RebootInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RebootInstances")
|
@FormParams(keys = ACTION, values = "RebootInstances")
|
||||||
|
@ -110,6 +114,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see InstanceClient#terminateInstancesInRegion
|
* @see InstanceClient#terminateInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:TerminateInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "TerminateInstances")
|
@FormParams(keys = ACTION, values = "TerminateInstances")
|
||||||
|
@ -122,6 +127,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see InstanceClient#stopInstancesInRegion
|
* @see InstanceClient#stopInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:StopInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "StopInstances")
|
@FormParams(keys = ACTION, values = "StopInstances")
|
||||||
|
@ -134,6 +140,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see InstanceClient#startInstancesInRegion
|
* @see InstanceClient#startInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:StartInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "StartInstances")
|
@FormParams(keys = ACTION, values = "StartInstances")
|
||||||
|
@ -145,6 +152,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#getUserDataForInstanceInRegion
|
* @see AMIClient#getUserDataForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "userData" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "userData" })
|
||||||
|
@ -156,6 +164,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#getRootDeviceNameForInstanceInRegion
|
* @see AMIClient#getRootDeviceNameForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "rootDeviceName" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "rootDeviceName" })
|
||||||
|
@ -167,6 +176,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#getRamdiskForInstanceInRegion
|
* @see AMIClient#getRamdiskForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "ramdisk" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "ramdisk" })
|
||||||
|
@ -178,6 +188,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#getKernelForInstanceInRegion
|
* @see AMIClient#getKernelForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "kernel" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "kernel" })
|
||||||
|
@ -189,6 +200,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#isApiTerminationDisabledForInstanceInRegion
|
* @see AMIClient#isApiTerminationDisabledForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "disableApiTermination" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "disableApiTermination" })
|
||||||
|
@ -200,6 +212,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#getInstanceTypeForInstanceInRegion
|
* @see AMIClient#getInstanceTypeForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "instanceType" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "instanceType" })
|
||||||
|
@ -211,6 +224,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#getInstanceInitiatedShutdownBehaviorForInstanceInRegion
|
* @see AMIClient#getInstanceInitiatedShutdownBehaviorForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute",
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute",
|
||||||
|
@ -223,6 +237,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see InstanceClient#getBlockDeviceMappingForInstanceInRegion
|
* @see InstanceClient#getBlockDeviceMappingForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "blockDeviceMapping" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeInstanceAttribute", "blockDeviceMapping" })
|
||||||
|
@ -234,6 +249,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#resetRamdiskForInstanceInRegion
|
* @see AMIClient#resetRamdiskForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ResetInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ResetInstanceAttribute", "ramdisk" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ResetInstanceAttribute", "ramdisk" })
|
||||||
|
@ -244,6 +260,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#resetKernelForInstanceInRegion
|
* @see AMIClient#resetKernelForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ResetInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ResetInstanceAttribute", "kernel" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ResetInstanceAttribute", "kernel" })
|
||||||
|
@ -254,6 +271,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#setUserDataForInstanceInRegion
|
* @see AMIClient#setUserDataForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "userData" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "userData" })
|
||||||
|
@ -265,6 +283,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#setRamdiskForInstanceInRegion
|
* @see AMIClient#setRamdiskForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "ramdisk" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "ramdisk" })
|
||||||
|
@ -275,6 +294,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#setKernelForInstanceInRegion
|
* @see AMIClient#setKernelForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "kernel" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "kernel" })
|
||||||
|
@ -285,6 +305,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#setApiTerminationDisabledForInstanceInRegion
|
* @see AMIClient#setApiTerminationDisabledForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "disableApiTermination" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "disableApiTermination" })
|
||||||
|
@ -295,6 +316,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#setInstanceTypeForInstanceInRegion
|
* @see AMIClient#setInstanceTypeForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "instanceType" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute", "instanceType" })
|
||||||
|
@ -305,6 +327,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#setInstanceInitiatedShutdownBehaviorForInstanceInRegion
|
* @see AMIClient#setInstanceInitiatedShutdownBehaviorForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute",
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "ModifyInstanceAttribute",
|
||||||
|
@ -317,6 +340,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see InstanceClient#setBlockDeviceMappingForInstanceInRegion
|
* @see InstanceClient#setBlockDeviceMappingForInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyInstanceAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION }, values = { "ModifyInstanceAttribute" })
|
@FormParams(keys = { ACTION }, values = { "ModifyInstanceAttribute" })
|
||||||
|
@ -328,6 +352,7 @@ public interface InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see InstanceClient#getConsoleOutputForInstanceInRegion(String, String)
|
* @see InstanceClient#getConsoleOutputForInstanceInRegion(String, String)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:GetConsoleOutput")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION }, values = { "GetConsoleOutput" })
|
@FormParams(keys = { ACTION }, values = { "GetConsoleOutput" })
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -57,6 +58,7 @@ public interface KeyPairAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see KeyPairClient#createKeyPairInRegion
|
* @see KeyPairClient#createKeyPairInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateKeyPair")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateKeyPair")
|
@FormParams(keys = ACTION, values = "CreateKeyPair")
|
||||||
|
@ -68,6 +70,7 @@ public interface KeyPairAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see KeyPairClient#describeKeyPairsInRegion
|
* @see KeyPairClient#describeKeyPairsInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeKeyPairs")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeKeyPairs")
|
@FormParams(keys = ACTION, values = "DescribeKeyPairs")
|
||||||
|
@ -80,6 +83,7 @@ public interface KeyPairAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see KeyPairClient#deleteKeyPairInRegion
|
* @see KeyPairClient#deleteKeyPairInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeleteKeyPair")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteKeyPair")
|
@FormParams(keys = ACTION, values = "DeleteKeyPair")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -60,6 +61,7 @@ public interface SecurityGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupClient#createSecurityGroupInRegion
|
* @see SecurityGroupClient#createSecurityGroupInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateSecurityGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateSecurityGroup")
|
@FormParams(keys = ACTION, values = "CreateSecurityGroup")
|
||||||
|
@ -70,6 +72,7 @@ public interface SecurityGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupClient#deleteSecurityGroupInRegion
|
* @see SecurityGroupClient#deleteSecurityGroupInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeleteSecurityGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteSecurityGroup")
|
@FormParams(keys = ACTION, values = "DeleteSecurityGroup")
|
||||||
|
@ -80,6 +83,7 @@ public interface SecurityGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupClient#describeSecurityGroupsInRegion
|
* @see SecurityGroupClient#describeSecurityGroupsInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeSecurityGroups")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeSecurityGroups")
|
@FormParams(keys = ACTION, values = "DescribeSecurityGroups")
|
||||||
|
@ -93,6 +97,7 @@ public interface SecurityGroupAsyncClient {
|
||||||
* @see SecurityGroupClient#authorizeSecurityGroupIngressInRegion(@ org.jclouds.javax.annotation.Nullable Region,
|
* @see SecurityGroupClient#authorizeSecurityGroupIngressInRegion(@ org.jclouds.javax.annotation.Nullable Region,
|
||||||
* String,UserIdGroupPair)
|
* String,UserIdGroupPair)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:AuthorizeSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "AuthorizeSecurityGroupIngress")
|
@FormParams(keys = ACTION, values = "AuthorizeSecurityGroupIngress")
|
||||||
|
@ -105,6 +110,7 @@ public interface SecurityGroupAsyncClient {
|
||||||
* @see SecurityGroupClient#authorizeSecurityGroupIngressInRegion(@ org.jclouds.javax.annotation.Nullable Region,
|
* @see SecurityGroupClient#authorizeSecurityGroupIngressInRegion(@ org.jclouds.javax.annotation.Nullable Region,
|
||||||
* String,IpProtocol,int,int,String)
|
* String,IpProtocol,int,int,String)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:AuthorizeSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "AuthorizeSecurityGroupIngress")
|
@FormParams(keys = ACTION, values = "AuthorizeSecurityGroupIngress")
|
||||||
|
@ -117,6 +123,7 @@ public interface SecurityGroupAsyncClient {
|
||||||
* @see SecurityGroupClient#revokeSecurityGroupIngressInRegion(@Nullable Region,
|
* @see SecurityGroupClient#revokeSecurityGroupIngressInRegion(@Nullable Region,
|
||||||
* String,UserIdGroupPair)
|
* String,UserIdGroupPair)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RevokeSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RevokeSecurityGroupIngress")
|
@FormParams(keys = ACTION, values = "RevokeSecurityGroupIngress")
|
||||||
|
@ -129,6 +136,7 @@ public interface SecurityGroupAsyncClient {
|
||||||
* @see SecurityGroupClient#revokeSecurityGroupIngressInRegion(@ org.jclouds.javax.annotation.Nullable Region,
|
* @see SecurityGroupClient#revokeSecurityGroupIngressInRegion(@ org.jclouds.javax.annotation.Nullable Region,
|
||||||
* String,IpProtocol,int,int,String)
|
* String,IpProtocol,int,int,String)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RevokeSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RevokeSecurityGroupIngress")
|
@FormParams(keys = ACTION, values = "RevokeSecurityGroupIngress")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -61,6 +62,7 @@ public interface WindowsAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see WindowsClient#bundleInstanceInRegion
|
* @see WindowsClient#bundleInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:BundleInstance")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "BundleInstance")
|
@FormParams(keys = ACTION, values = "BundleInstance")
|
||||||
|
@ -75,6 +77,7 @@ public interface WindowsAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see WindowsClient#cancelBundleTaskInRegion
|
* @see WindowsClient#cancelBundleTaskInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CancelBundleTask")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CancelBundleTask")
|
@FormParams(keys = ACTION, values = "CancelBundleTask")
|
||||||
|
@ -86,6 +89,7 @@ public interface WindowsAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see BundleTaskClient#describeBundleTasksInRegion
|
* @see BundleTaskClient#describeBundleTasksInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeBundleTasks")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeBundleTasks")
|
@FormParams(keys = ACTION, values = "DescribeBundleTasks")
|
||||||
|
@ -98,6 +102,7 @@ public interface WindowsAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see WindowsClient#getPasswordDataInRegion
|
* @see WindowsClient#getPasswordDataInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:GetPasswordData")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "GetPasswordData")
|
@FormParams(keys = ACTION, values = "GetPasswordData")
|
||||||
|
|
|
@ -23,6 +23,7 @@ import static org.jclouds.blobstore.attr.BlobScopes.CONTAINER;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.ExecutionException;
|
import java.util.concurrent.ExecutionException;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.DELETE;
|
import javax.ws.rs.DELETE;
|
||||||
import javax.ws.rs.GET;
|
import javax.ws.rs.GET;
|
||||||
import javax.ws.rs.HEAD;
|
import javax.ws.rs.HEAD;
|
||||||
|
@ -120,6 +121,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#getObject
|
* @see S3Client#getObject
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:GetObject")
|
||||||
@GET
|
@GET
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
@ExceptionParser(ReturnNullOnKeyNotFound.class)
|
@ExceptionParser(ReturnNullOnKeyNotFound.class)
|
||||||
|
@ -131,6 +133,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#headObject
|
* @see S3Client#headObject
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:GetObject")
|
||||||
@HEAD
|
@HEAD
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
@ExceptionParser(ReturnNullOnKeyNotFound.class)
|
@ExceptionParser(ReturnNullOnKeyNotFound.class)
|
||||||
|
@ -142,6 +145,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#objectExists
|
* @see S3Client#objectExists
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:GetObject")
|
||||||
@HEAD
|
@HEAD
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
@ExceptionParser(ReturnFalseOnKeyNotFound.class)
|
@ExceptionParser(ReturnFalseOnKeyNotFound.class)
|
||||||
|
@ -152,6 +156,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#deleteObject
|
* @see S3Client#deleteObject
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:DeleteObject")
|
||||||
@DELETE
|
@DELETE
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
||||||
|
@ -162,6 +167,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#putObject
|
* @see S3Client#putObject
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutObject")
|
||||||
@PUT
|
@PUT
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
@ResponseParser(ParseETagHeader.class)
|
@ResponseParser(ParseETagHeader.class)
|
||||||
|
@ -173,6 +179,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#putBucketInRegion
|
* @see S3Client#putBucketInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:CreateBucket")
|
||||||
@PUT
|
@PUT
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@Endpoint(Bucket.class)
|
@Endpoint(Bucket.class)
|
||||||
|
@ -185,6 +192,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#deleteBucketIfEmpty
|
* @see S3Client#deleteBucketIfEmpty
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:DeleteBucket")
|
||||||
@DELETE
|
@DELETE
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@ExceptionParser(ReturnTrueOn404OrNotFoundFalseOnIllegalState.class)
|
@ExceptionParser(ReturnTrueOn404OrNotFoundFalseOnIllegalState.class)
|
||||||
|
@ -194,6 +202,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#bucketExists
|
* @see S3Client#bucketExists
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:ListBucket")
|
||||||
@HEAD
|
@HEAD
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@QueryParams(keys = "max-keys", values = "0")
|
@QueryParams(keys = "max-keys", values = "0")
|
||||||
|
@ -205,6 +214,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#getBucketLocation
|
* @see S3Client#getBucketLocation
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:GetBucketLocation")
|
||||||
@GET
|
@GET
|
||||||
@QueryParams(keys = "location")
|
@QueryParams(keys = "location")
|
||||||
@Path("/")
|
@Path("/")
|
||||||
|
@ -216,6 +226,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#getBucketPayer
|
* @see S3Client#getBucketPayer
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:GetBucketRequestPayment")
|
||||||
@GET
|
@GET
|
||||||
@QueryParams(keys = "requestPayment")
|
@QueryParams(keys = "requestPayment")
|
||||||
@Path("/")
|
@Path("/")
|
||||||
|
@ -226,6 +237,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#setBucketPayer
|
* @see S3Client#setBucketPayer
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutBucketRequestPayment")
|
||||||
@PUT
|
@PUT
|
||||||
@QueryParams(keys = "requestPayment")
|
@QueryParams(keys = "requestPayment")
|
||||||
@Path("/")
|
@Path("/")
|
||||||
|
@ -236,6 +248,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#listBucket
|
* @see S3Client#listBucket
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:ListBucket")
|
||||||
@GET
|
@GET
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(ListBucketHandler.class)
|
@XMLResponseParser(ListBucketHandler.class)
|
||||||
|
@ -246,6 +259,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#listOwnedBuckets
|
* @see S3Client#listOwnedBuckets
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:ListAllMyBuckets")
|
||||||
@GET
|
@GET
|
||||||
@XMLResponseParser(ListAllMyBucketsHandler.class)
|
@XMLResponseParser(ListAllMyBucketsHandler.class)
|
||||||
@Path("/")
|
@Path("/")
|
||||||
|
@ -255,6 +269,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#copyObject
|
* @see S3Client#copyObject
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutObject")
|
||||||
@PUT
|
@PUT
|
||||||
@Path("/{destinationObject}")
|
@Path("/{destinationObject}")
|
||||||
@Headers(keys = "x-amz-copy-source", values = "/{sourceBucket}/{sourceObject}")
|
@Headers(keys = "x-amz-copy-source", values = "/{sourceBucket}/{sourceObject}")
|
||||||
|
@ -268,6 +283,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#getBucketACL
|
* @see S3Client#getBucketACL
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:GetBucketAcl")
|
||||||
@GET
|
@GET
|
||||||
@QueryParams(keys = "acl")
|
@QueryParams(keys = "acl")
|
||||||
@XMLResponseParser(AccessControlListHandler.class)
|
@XMLResponseParser(AccessControlListHandler.class)
|
||||||
|
@ -279,6 +295,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#putBucketACL
|
* @see S3Client#putBucketACL
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutBucketAcl")
|
||||||
@PUT
|
@PUT
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@QueryParams(keys = "acl")
|
@QueryParams(keys = "acl")
|
||||||
|
@ -289,6 +306,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#getObjectACL
|
* @see S3Client#getObjectACL
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:GetObjectAcl")
|
||||||
@GET
|
@GET
|
||||||
@QueryParams(keys = "acl")
|
@QueryParams(keys = "acl")
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
|
@ -301,6 +319,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#putObjectACL
|
* @see S3Client#putObjectACL
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutObjectAcl")
|
||||||
@PUT
|
@PUT
|
||||||
@QueryParams(keys = "acl")
|
@QueryParams(keys = "acl")
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
|
@ -311,6 +330,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#getBucketLogging
|
* @see S3Client#getBucketLogging
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:GetBucketLogging")
|
||||||
@GET
|
@GET
|
||||||
@QueryParams(keys = "logging")
|
@QueryParams(keys = "logging")
|
||||||
@XMLResponseParser(BucketLoggingHandler.class)
|
@XMLResponseParser(BucketLoggingHandler.class)
|
||||||
|
@ -322,6 +342,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#enableBucketLogging
|
* @see S3Client#enableBucketLogging
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutBucketLogging")
|
||||||
@PUT
|
@PUT
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@QueryParams(keys = "logging")
|
@QueryParams(keys = "logging")
|
||||||
|
@ -332,6 +353,7 @@ public interface S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see S3Client#putBucketLogging
|
* @see S3Client#putBucketLogging
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutBucketLogging")
|
||||||
@PUT
|
@PUT
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@QueryParams(keys = "logging")
|
@QueryParams(keys = "logging")
|
||||||
|
|
|
@ -23,6 +23,7 @@ import static org.jclouds.sqs.reference.SQSParameters.VERSION;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -73,6 +74,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#delete(String)
|
* @see MessageApi#delete(String)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:DeleteMessage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteMessage")
|
@FormParams(keys = ACTION, values = "DeleteMessage")
|
||||||
|
@ -82,6 +84,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#delete(Map)
|
* @see MessageApi#delete(Map)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:DeleteMessageBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteMessageBatch")
|
@FormParams(keys = ACTION, values = "DeleteMessageBatch")
|
||||||
|
@ -92,6 +95,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#delete(Iterable)
|
* @see MessageApi#delete(Iterable)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:DeleteMessageBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteMessageBatch")
|
@FormParams(keys = ACTION, values = "DeleteMessageBatch")
|
||||||
|
@ -102,6 +106,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#changeVisibility(String, int)
|
* @see MessageApi#changeVisibility(String, int)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ChangeMessageVisibility")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ChangeMessageVisibility")
|
@FormParams(keys = ACTION, values = "ChangeMessageVisibility")
|
||||||
|
@ -111,6 +116,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#changeVisibility(Table)
|
* @see MessageApi#changeVisibility(Table)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ChangeMessageVisibilityBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ChangeMessageVisibilityBatch")
|
@FormParams(keys = ACTION, values = "ChangeMessageVisibilityBatch")
|
||||||
|
@ -121,6 +127,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#changeVisibility(Map)
|
* @see MessageApi#changeVisibility(Map)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ChangeMessageVisibilityBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ChangeMessageVisibilityBatch")
|
@FormParams(keys = ACTION, values = "ChangeMessageVisibilityBatch")
|
||||||
|
@ -131,6 +138,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#changeVisibility(Map, int)
|
* @see MessageApi#changeVisibility(Map, int)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ChangeMessageVisibilityBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ChangeMessageVisibilityBatch")
|
@FormParams(keys = ACTION, values = "ChangeMessageVisibilityBatch")
|
||||||
|
@ -143,6 +151,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#changeVisibility(Iterable, int)
|
* @see MessageApi#changeVisibility(Iterable, int)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ChangeMessageVisibilityBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ChangeMessageVisibilityBatch")
|
@FormParams(keys = ACTION, values = "ChangeMessageVisibilityBatch")
|
||||||
|
@ -155,6 +164,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#send(String)
|
* @see MessageApi#send(String)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:SendMessage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "SendMessage")
|
@FormParams(keys = ACTION, values = "SendMessage")
|
||||||
|
@ -164,6 +174,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#send(String, SendMessageOptions)
|
* @see MessageApi#send(String, SendMessageOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:SendMessage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "SendMessage")
|
@FormParams(keys = ACTION, values = "SendMessage")
|
||||||
|
@ -173,6 +184,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#sendWithDelays(Table)
|
* @see MessageApi#sendWithDelays(Table)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:SendMessageBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
||||||
|
@ -184,6 +196,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#sendWithDelays(Map)
|
* @see MessageApi#sendWithDelays(Map)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:SendMessageBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
||||||
|
@ -195,6 +208,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#sendWithDelay(Map, int)
|
* @see MessageApi#sendWithDelay(Map, int)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:SendMessageBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
||||||
|
@ -207,6 +221,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#sendWithDelay(Iterable, int)
|
* @see MessageApi#sendWithDelay(Iterable, int)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:SendMessageBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
||||||
|
@ -218,6 +233,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#send(Map)
|
* @see MessageApi#send(Map)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:SendMessageBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
||||||
|
@ -228,6 +244,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#send(Iterable)
|
* @see MessageApi#send(Iterable)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:SendMessageBatch")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
@FormParams(keys = ACTION, values = "SendMessageBatch")
|
||||||
|
@ -238,6 +255,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#receive()
|
* @see MessageApi#receive()
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ReceiveMessage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ReceiveMessage")
|
@FormParams(keys = ACTION, values = "ReceiveMessage")
|
||||||
|
@ -247,6 +265,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#receive(ReceiveMessageOptions)
|
* @see MessageApi#receive(ReceiveMessageOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ReceiveMessage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ReceiveMessage")
|
@FormParams(keys = ACTION, values = "ReceiveMessage")
|
||||||
|
@ -256,6 +275,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#receive(int)
|
* @see MessageApi#receive(int)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ReceiveMessage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ReceiveMessage")
|
@FormParams(keys = ACTION, values = "ReceiveMessage")
|
||||||
|
@ -265,6 +285,7 @@ public interface MessageAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see MessageApi#receive(int, ReceiveMessageOptions)
|
* @see MessageApi#receive(int, ReceiveMessageOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ReceiveMessage")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ReceiveMessage")
|
@FormParams(keys = ACTION, values = "ReceiveMessage")
|
||||||
|
|
|
@ -21,6 +21,7 @@ package org.jclouds.sqs.features;
|
||||||
import static org.jclouds.sqs.reference.SQSParameters.ACTION;
|
import static org.jclouds.sqs.reference.SQSParameters.ACTION;
|
||||||
import static org.jclouds.sqs.reference.SQSParameters.VERSION;
|
import static org.jclouds.sqs.reference.SQSParameters.VERSION;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -48,6 +49,7 @@ public interface PermissionAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see PermissionApi#addPermissionToAccount
|
* @see PermissionApi#addPermissionToAccount
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:AddPermission")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "AddPermission")
|
@FormParams(keys = ACTION, values = "AddPermission")
|
||||||
|
@ -57,6 +59,7 @@ public interface PermissionAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see PermissionApi#remove
|
* @see PermissionApi#remove
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:RemovePermission")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RemovePermission")
|
@FormParams(keys = ACTION, values = "RemovePermission")
|
||||||
|
|
|
@ -24,6 +24,7 @@ import static org.jclouds.sqs.reference.SQSParameters.VERSION;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -68,6 +69,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#list
|
* @see QueueApi#list
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ListQueues")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ListQueues")
|
@FormParams(keys = ACTION, values = "ListQueues")
|
||||||
|
@ -77,6 +79,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#list(ListQueuesOptions)
|
* @see QueueApi#list(ListQueuesOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:ListQueues")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ListQueues")
|
@FormParams(keys = ACTION, values = "ListQueues")
|
||||||
|
@ -86,6 +89,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#get(String)
|
* @see QueueApi#get(String)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:GetQueueUrl")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "GetQueueUrl")
|
@FormParams(keys = ACTION, values = "GetQueueUrl")
|
||||||
|
@ -96,6 +100,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#getInAccount
|
* @see QueueApi#getInAccount
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:GetQueueUrl")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "GetQueueUrl")
|
@FormParams(keys = ACTION, values = "GetQueueUrl")
|
||||||
|
@ -107,6 +112,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#create
|
* @see QueueApi#create
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:CreateQueue")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateQueue")
|
@FormParams(keys = ACTION, values = "CreateQueue")
|
||||||
|
@ -116,6 +122,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#create
|
* @see QueueApi#create
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:CreateQueue")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateQueue")
|
@FormParams(keys = ACTION, values = "CreateQueue")
|
||||||
|
@ -125,6 +132,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#delete
|
* @see QueueApi#delete
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:DeleteQueue")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteQueue")
|
@FormParams(keys = ACTION, values = "DeleteQueue")
|
||||||
|
@ -134,6 +142,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#getAttributes(URI)
|
* @see QueueApi#getAttributes(URI)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:GetQueueAttributes")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "AttributeName.1" }, values = { "GetQueueAttributes", "All" })
|
@FormParams(keys = { ACTION, "AttributeName.1" }, values = { "GetQueueAttributes", "All" })
|
||||||
|
@ -145,6 +154,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#getAttributes(URI, Iterable)
|
* @see QueueApi#getAttributes(URI, Iterable)
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:GetQueueAttributes")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "GetQueueAttributes")
|
@FormParams(keys = ACTION, values = "GetQueueAttributes")
|
||||||
|
@ -155,6 +165,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#getAttribute
|
* @see QueueApi#getAttribute
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:GetQueueAttributes")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "GetQueueAttributes")
|
@FormParams(keys = ACTION, values = "GetQueueAttributes")
|
||||||
|
@ -164,6 +175,7 @@ public interface QueueAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see QueueApi#setAttribute
|
* @see QueueApi#setAttribute
|
||||||
*/
|
*/
|
||||||
|
@Named("sqs:SetQueueAttributes")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "SetQueueAttributes")
|
@FormParams(keys = ACTION, values = "SetQueueAttributes")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -53,6 +54,7 @@ public interface AvailabilityZoneAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see AvailabilityZoneApi#addAvailabilityZonesToLoadBalancer
|
* @see AvailabilityZoneApi#addAvailabilityZonesToLoadBalancer
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:EnableAvailabilityZonesForLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(AvailabilityZonesResultHandler.class)
|
@XMLResponseParser(AvailabilityZonesResultHandler.class)
|
||||||
|
@ -65,6 +67,7 @@ public interface AvailabilityZoneAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see AvailabilityZoneApi#addAvailabilityZoneToLoadBalancer
|
* @see AvailabilityZoneApi#addAvailabilityZoneToLoadBalancer
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:EnableAvailabilityZonesForLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(AvailabilityZonesResultHandler.class)
|
@XMLResponseParser(AvailabilityZonesResultHandler.class)
|
||||||
|
@ -76,6 +79,7 @@ public interface AvailabilityZoneAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see AvailabilityZoneApi#removeAvailabilityZonesFromLoadBalancer
|
* @see AvailabilityZoneApi#removeAvailabilityZonesFromLoadBalancer
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DisableAvailabilityZonesForLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(AvailabilityZonesResultHandler.class)
|
@XMLResponseParser(AvailabilityZonesResultHandler.class)
|
||||||
|
@ -87,6 +91,7 @@ public interface AvailabilityZoneAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see AvailabilityZoneApi#removeAvailabilityZoneFromLoadBalancer
|
* @see AvailabilityZoneApi#removeAvailabilityZoneFromLoadBalancer
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DisableAvailabilityZonesForLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(AvailabilityZonesResultHandler.class)
|
@XMLResponseParser(AvailabilityZonesResultHandler.class)
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -57,6 +58,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#getHealthOfInstancesOfLoadBalancer(String)
|
* @see InstanceApi#getHealthOfInstancesOfLoadBalancer(String)
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeInstanceHealth")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeInstanceHealthResultHandler.class)
|
@XMLResponseParser(DescribeInstanceHealthResultHandler.class)
|
||||||
|
@ -68,6 +70,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#getHealthOfInstancesOfLoadBalancer(Iterable, String)
|
* @see InstanceApi#getHealthOfInstancesOfLoadBalancer(Iterable, String)
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeInstanceHealth")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeInstanceHealthResultHandler.class)
|
@XMLResponseParser(DescribeInstanceHealthResultHandler.class)
|
||||||
|
@ -81,6 +84,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#registerInstancesWithLoadBalancer
|
* @see InstanceApi#registerInstancesWithLoadBalancer
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:RegisterInstancesWithLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstancesResultHandler.class)
|
@XMLResponseParser(InstancesResultHandler.class)
|
||||||
|
@ -93,6 +97,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#registerInstanceWithLoadBalancer
|
* @see InstanceApi#registerInstanceWithLoadBalancer
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:RegisterInstancesWithLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstancesResultHandler.class)
|
@XMLResponseParser(InstancesResultHandler.class)
|
||||||
|
@ -104,6 +109,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#deregisterInstancesFromLoadBalancer
|
* @see InstanceApi#deregisterInstancesFromLoadBalancer
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DeregisterInstancesFromLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstancesResultHandler.class)
|
@XMLResponseParser(InstancesResultHandler.class)
|
||||||
|
@ -115,6 +121,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#deregisterInstanceFromLoadBalancer
|
* @see InstanceApi#deregisterInstanceFromLoadBalancer
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DeregisterInstancesFromLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstancesResultHandler.class)
|
@XMLResponseParser(InstancesResultHandler.class)
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.elb.features;
|
||||||
|
|
||||||
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -67,6 +68,7 @@ public interface LoadBalancerAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see LoadBalancerApi#createListeningInAvailabilityZones()
|
* @see LoadBalancerApi#createListeningInAvailabilityZones()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:CreateLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(CreateLoadBalancerResponseHandler.class)
|
@XMLResponseParser(CreateLoadBalancerResponseHandler.class)
|
||||||
|
@ -78,6 +80,7 @@ public interface LoadBalancerAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see LoadBalancerApi#createListeningInAvailabilityZones()
|
* @see LoadBalancerApi#createListeningInAvailabilityZones()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:CreateLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(CreateLoadBalancerResponseHandler.class)
|
@XMLResponseParser(CreateLoadBalancerResponseHandler.class)
|
||||||
|
@ -89,6 +92,7 @@ public interface LoadBalancerAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see LoadBalancerApi#createListeningInSubnetAssignedToSecurityGroups()
|
* @see LoadBalancerApi#createListeningInSubnetAssignedToSecurityGroups()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:CreateLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(CreateLoadBalancerResponseHandler.class)
|
@XMLResponseParser(CreateLoadBalancerResponseHandler.class)
|
||||||
|
@ -101,6 +105,7 @@ public interface LoadBalancerAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see LoadBalancerApi#createListeningInSubnetsAssignedToSecurityGroups()
|
* @see LoadBalancerApi#createListeningInSubnetsAssignedToSecurityGroups()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:CreateLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(CreateLoadBalancerResponseHandler.class)
|
@XMLResponseParser(CreateLoadBalancerResponseHandler.class)
|
||||||
|
@ -113,6 +118,7 @@ public interface LoadBalancerAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see LoadBalancerApi#get()
|
* @see LoadBalancerApi#get()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeLoadBalancers")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(LoadBalancerHandler.class)
|
@XMLResponseParser(LoadBalancerHandler.class)
|
||||||
|
@ -123,6 +129,7 @@ public interface LoadBalancerAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see LoadBalancerApi#list()
|
* @see LoadBalancerApi#list()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeLoadBalancers")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeLoadBalancersResultHandler.class)
|
@XMLResponseParser(DescribeLoadBalancersResultHandler.class)
|
||||||
|
@ -134,6 +141,7 @@ public interface LoadBalancerAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see LoadBalancerApi#list(ListLoadBalancersOptions)
|
* @see LoadBalancerApi#list(ListLoadBalancersOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeLoadBalancers")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeLoadBalancersResultHandler.class)
|
@XMLResponseParser(DescribeLoadBalancersResultHandler.class)
|
||||||
|
@ -144,6 +152,7 @@ public interface LoadBalancerAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see LoadBalancerApi#delete()
|
* @see LoadBalancerApi#delete()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DeleteLoadBalancer")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.elb.features;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -59,6 +60,7 @@ public interface PolicyAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see PolicyApi#get()
|
* @see PolicyApi#get()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeLoadBalancerPolicies")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(PolicyHandler.class)
|
@XMLResponseParser(PolicyHandler.class)
|
||||||
|
@ -69,6 +71,7 @@ public interface PolicyAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see PolicyApi#list()
|
* @see PolicyApi#list()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeLoadBalancerPolicies")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeLoadBalancerPoliciesResultHandler.class)
|
@XMLResponseParser(DescribeLoadBalancerPoliciesResultHandler.class)
|
||||||
|
@ -79,6 +82,7 @@ public interface PolicyAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see PolicyApi#list(ListPoliciesOptions)
|
* @see PolicyApi#list(ListPoliciesOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeLoadBalancerPolicies")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeLoadBalancerPoliciesResultHandler.class)
|
@XMLResponseParser(DescribeLoadBalancerPoliciesResultHandler.class)
|
||||||
|
@ -90,6 +94,7 @@ public interface PolicyAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see PolicyApi#getType()
|
* @see PolicyApi#getType()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeLoadBalancerPolicyTypes")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(PolicyTypeHandler.class)
|
@XMLResponseParser(PolicyTypeHandler.class)
|
||||||
|
@ -100,6 +105,7 @@ public interface PolicyAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see PolicyApi#listTypes()
|
* @see PolicyApi#listTypes()
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeLoadBalancerPolicyTypes")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeLoadBalancerPolicyTypesResultHandler.class)
|
@XMLResponseParser(DescribeLoadBalancerPolicyTypesResultHandler.class)
|
||||||
|
@ -110,6 +116,7 @@ public interface PolicyAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see PolicyApi#listTypes(Iterable<String>)
|
* @see PolicyApi#listTypes(Iterable<String>)
|
||||||
*/
|
*/
|
||||||
|
@Named("elasticloadbalancing:DescribeLoadBalancerPolicyTypes")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeLoadBalancerPolicyTypesResultHandler.class)
|
@XMLResponseParser(DescribeLoadBalancerPolicyTypesResultHandler.class)
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
package org.jclouds.iam;
|
package org.jclouds.iam;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
|
||||||
|
@ -49,6 +50,7 @@ public interface IAMAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see IAMApi#getCurrentUser()
|
* @see IAMApi#getCurrentUser()
|
||||||
*/
|
*/
|
||||||
|
@Named("iam:GetUser")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(UserHandler.class)
|
@XMLResponseParser(UserHandler.class)
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
package org.jclouds.iam.features;
|
package org.jclouds.iam.features;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -54,6 +55,7 @@ public interface UserAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see UserApi#getCurrent()
|
* @see UserApi#getCurrent()
|
||||||
*/
|
*/
|
||||||
|
@Named("iam:GetUser")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(UserHandler.class)
|
@XMLResponseParser(UserHandler.class)
|
||||||
|
@ -63,6 +65,7 @@ public interface UserAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see UserApi#get()
|
* @see UserApi#get()
|
||||||
*/
|
*/
|
||||||
|
@Named("iam:GetUser")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(UserHandler.class)
|
@XMLResponseParser(UserHandler.class)
|
||||||
|
@ -73,6 +76,7 @@ public interface UserAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see UserApi#list()
|
* @see UserApi#list()
|
||||||
*/
|
*/
|
||||||
|
@Named("iam:ListUsers")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(ListUsersResultHandler.class)
|
@XMLResponseParser(ListUsersResultHandler.class)
|
||||||
|
@ -83,6 +87,7 @@ public interface UserAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see UserApi#list(ListUsersOptions)
|
* @see UserApi#list(ListUsersOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("iam:ListUsers")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(ListUsersResultHandler.class)
|
@XMLResponseParser(ListUsersResultHandler.class)
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.rds.features;
|
||||||
|
|
||||||
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -60,6 +61,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#create
|
* @see InstanceApi#create
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:CreateDBInstance")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstanceHandler.class)
|
@XMLResponseParser(InstanceHandler.class)
|
||||||
|
@ -70,6 +72,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#createInAvailabilityZone
|
* @see InstanceApi#createInAvailabilityZone
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:CreateDBInstance")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstanceHandler.class)
|
@XMLResponseParser(InstanceHandler.class)
|
||||||
|
@ -81,6 +84,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#createMultiAZ
|
* @see InstanceApi#createMultiAZ
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:CreateDBInstance")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstanceHandler.class)
|
@XMLResponseParser(InstanceHandler.class)
|
||||||
|
@ -91,6 +95,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#get()
|
* @see InstanceApi#get()
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DescribeDBInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstanceHandler.class)
|
@XMLResponseParser(InstanceHandler.class)
|
||||||
|
@ -101,6 +106,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#list()
|
* @see InstanceApi#list()
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DescribeDBInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeDBInstancesResultHandler.class)
|
@XMLResponseParser(DescribeDBInstancesResultHandler.class)
|
||||||
|
@ -111,6 +117,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#list(ListInstancesOptions)
|
* @see InstanceApi#list(ListInstancesOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DescribeDBInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeDBInstancesResultHandler.class)
|
@XMLResponseParser(DescribeDBInstancesResultHandler.class)
|
||||||
|
@ -120,6 +127,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#delete()
|
* @see InstanceApi#delete()
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DeleteDBInstance")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstanceHandler.class)
|
@XMLResponseParser(InstanceHandler.class)
|
||||||
|
@ -130,6 +138,7 @@ public interface InstanceAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see InstanceApi#deleteAndSaveSnapshot
|
* @see InstanceApi#deleteAndSaveSnapshot
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DeleteDBInstance")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(InstanceHandler.class)
|
@XMLResponseParser(InstanceHandler.class)
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.rds.features;
|
||||||
|
|
||||||
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -57,6 +58,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#createWithNameAndDescription
|
* @see SecurityGroupApi#createWithNameAndDescription
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:CreateDBSecurityGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SecurityGroupHandler.class)
|
@XMLResponseParser(SecurityGroupHandler.class)
|
||||||
|
@ -67,6 +69,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#createInVPCWithNameAndDescription
|
* @see SecurityGroupApi#createInVPCWithNameAndDescription
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:CreateDBSecurityGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SecurityGroupHandler.class)
|
@XMLResponseParser(SecurityGroupHandler.class)
|
||||||
|
@ -77,6 +80,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#get()
|
* @see SecurityGroupApi#get()
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DescribeDBSecurityGroups")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SecurityGroupHandler.class)
|
@XMLResponseParser(SecurityGroupHandler.class)
|
||||||
|
@ -87,6 +91,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#list()
|
* @see SecurityGroupApi#list()
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DescribeDBSecurityGroups")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeDBSecurityGroupsResultHandler.class)
|
@XMLResponseParser(DescribeDBSecurityGroupsResultHandler.class)
|
||||||
|
@ -97,6 +102,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#list(ListSecurityGroupsOptions)
|
* @see SecurityGroupApi#list(ListSecurityGroupsOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DescribeDBSecurityGroups")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeDBSecurityGroupsResultHandler.class)
|
@XMLResponseParser(DescribeDBSecurityGroupsResultHandler.class)
|
||||||
|
@ -106,6 +112,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#authorizeIngressToIPRange
|
* @see SecurityGroupApi#authorizeIngressToIPRange
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:AuthorizeDBSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SecurityGroupHandler.class)
|
@XMLResponseParser(SecurityGroupHandler.class)
|
||||||
|
@ -116,6 +123,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#authorizeIngressToEC2SecurityGroupOfOwner
|
* @see SecurityGroupApi#authorizeIngressToEC2SecurityGroupOfOwner
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:AuthorizeDBSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SecurityGroupHandler.class)
|
@XMLResponseParser(SecurityGroupHandler.class)
|
||||||
|
@ -128,6 +136,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#authorizeIngressToVPCSecurityGroup
|
* @see SecurityGroupApi#authorizeIngressToVPCSecurityGroup
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:AuthorizeDBSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SecurityGroupHandler.class)
|
@XMLResponseParser(SecurityGroupHandler.class)
|
||||||
|
@ -139,6 +148,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#revokeIngressFromIPRange
|
* @see SecurityGroupApi#revokeIngressFromIPRange
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:RevokeDBSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SecurityGroupHandler.class)
|
@XMLResponseParser(SecurityGroupHandler.class)
|
||||||
|
@ -149,6 +159,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#revokeIngressFromEC2SecurityGroupOfOwner
|
* @see SecurityGroupApi#revokeIngressFromEC2SecurityGroupOfOwner
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:RevokeDBSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SecurityGroupHandler.class)
|
@XMLResponseParser(SecurityGroupHandler.class)
|
||||||
|
@ -161,6 +172,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#revokeIngressFromVPCSecurityGroup
|
* @see SecurityGroupApi#revokeIngressFromVPCSecurityGroup
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:RevokeDBSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SecurityGroupHandler.class)
|
@XMLResponseParser(SecurityGroupHandler.class)
|
||||||
|
@ -171,6 +183,7 @@ public interface SecurityGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SecurityGroupApi#delete()
|
* @see SecurityGroupApi#delete()
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DeleteDBSecurityGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.rds.features;
|
||||||
|
|
||||||
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -59,6 +60,7 @@ public interface SubnetGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SubnetGroupApi#get()
|
* @see SubnetGroupApi#get()
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DescribeDBSubnetGroups")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(SubnetGroupHandler.class)
|
@XMLResponseParser(SubnetGroupHandler.class)
|
||||||
|
@ -69,6 +71,7 @@ public interface SubnetGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SubnetGroupApi#list()
|
* @see SubnetGroupApi#list()
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DescribeDBSubnetGroups")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeDBSubnetGroupsResultHandler.class)
|
@XMLResponseParser(DescribeDBSubnetGroupsResultHandler.class)
|
||||||
|
@ -79,6 +82,7 @@ public interface SubnetGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SubnetGroupApi#list(ListSubnetGroupsOptions)
|
* @see SubnetGroupApi#list(ListSubnetGroupsOptions)
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DescribeDBSubnetGroups")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(DescribeDBSubnetGroupsResultHandler.class)
|
@XMLResponseParser(DescribeDBSubnetGroupsResultHandler.class)
|
||||||
|
@ -88,6 +92,7 @@ public interface SubnetGroupAsyncApi {
|
||||||
/**
|
/**
|
||||||
* @see SubnetGroupApi#delete()
|
* @see SubnetGroupApi#delete()
|
||||||
*/
|
*/
|
||||||
|
@Named("rds:DeleteDBSubnetGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -56,6 +57,7 @@ public interface AWSAMIAsyncClient extends AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#getProductCodesForImageInRegion
|
* @see AMIClient#getProductCodesForImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeImageAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeImageAttribute", "productCodes" })
|
@FormParams(keys = { ACTION, "Attribute" }, values = { "DescribeImageAttribute", "productCodes" })
|
||||||
|
@ -67,6 +69,7 @@ public interface AWSAMIAsyncClient extends AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#addProductCodesToImageInRegion
|
* @see AMIClient#addProductCodesToImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyImageAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifyImageAttribute", "add",
|
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifyImageAttribute", "add",
|
||||||
|
@ -79,6 +82,7 @@ public interface AWSAMIAsyncClient extends AMIAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AMIClient#removeProductCodesToImageInRegion
|
* @see AMIClient#removeProductCodesToImageInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ModifyImageAttribute")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifyImageAttribute", "remove",
|
@FormParams(keys = { ACTION, "OperationType", "Attribute" }, values = { "ModifyImageAttribute", "remove",
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -61,6 +62,7 @@ public interface AWSInstanceAsyncClient extends InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSInstanceClient#describeInstancesInRegion
|
* @see AWSInstanceClient#describeInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeInstances")
|
||||||
@Override
|
@Override
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
|
@ -74,6 +76,7 @@ public interface AWSInstanceAsyncClient extends InstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSInstanceClient#runInstancesInRegion
|
* @see AWSInstanceClient#runInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RunInstances")
|
||||||
@Override
|
@Override
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.aws.ec2.services;
|
||||||
|
|
||||||
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -50,6 +51,7 @@ public interface AWSKeyPairAsyncClient extends KeyPairAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSKeyPairClient#importKeyPairInRegion
|
* @see AWSKeyPairClient#importKeyPairInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:ImportKeyPair")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "ImportKeyPair")
|
@FormParams(keys = ACTION, values = "ImportKeyPair")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -64,6 +65,7 @@ public interface AWSSecurityGroupAsyncClient extends SecurityGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSSecurityGroupClient#createSecurityGroupInRegion
|
* @see AWSSecurityGroupClient#createSecurityGroupInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateSecurityGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@XMLResponseParser(CreateSecurityGroupResponseHandler.class)
|
@XMLResponseParser(CreateSecurityGroupResponseHandler.class)
|
||||||
|
@ -77,6 +79,7 @@ public interface AWSSecurityGroupAsyncClient extends SecurityGroupAsyncClient {
|
||||||
* @see AWSSecurityGroupClient#authorizeSecurityGroupIngressInRegion(String,
|
* @see AWSSecurityGroupClient#authorizeSecurityGroupIngressInRegion(String,
|
||||||
* String,IpPermission)
|
* String,IpPermission)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:AuthorizeSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "AuthorizeSecurityGroupIngress")
|
@FormParams(keys = ACTION, values = "AuthorizeSecurityGroupIngress")
|
||||||
|
@ -88,6 +91,7 @@ public interface AWSSecurityGroupAsyncClient extends SecurityGroupAsyncClient {
|
||||||
* @see AWSSecurityGroupClient#authorizeSecurityGroupIngressInRegion(String,
|
* @see AWSSecurityGroupClient#authorizeSecurityGroupIngressInRegion(String,
|
||||||
* String,Iterable)
|
* String,Iterable)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:AuthorizeSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "AuthorizeSecurityGroupIngress")
|
@FormParams(keys = ACTION, values = "AuthorizeSecurityGroupIngress")
|
||||||
|
@ -100,6 +104,7 @@ public interface AWSSecurityGroupAsyncClient extends SecurityGroupAsyncClient {
|
||||||
* @see AWSSecurityGroupClient#revokeSecurityGroupIngressInRegion(@Nullable
|
* @see AWSSecurityGroupClient#revokeSecurityGroupIngressInRegion(@Nullable
|
||||||
* Region, String,IpPermission)
|
* Region, String,IpPermission)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RevokeSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RevokeSecurityGroupIngress")
|
@FormParams(keys = ACTION, values = "RevokeSecurityGroupIngress")
|
||||||
|
@ -111,6 +116,7 @@ public interface AWSSecurityGroupAsyncClient extends SecurityGroupAsyncClient {
|
||||||
* @see AWSSecurityGroupClient#revokeSecurityGroupIngressInRegion(@Nullable
|
* @see AWSSecurityGroupClient#revokeSecurityGroupIngressInRegion(@Nullable
|
||||||
* Region, String,Iterable)
|
* Region, String,Iterable)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RevokeSecurityGroupIngress")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RevokeSecurityGroupIngress")
|
@FormParams(keys = ACTION, values = "RevokeSecurityGroupIngress")
|
||||||
|
@ -122,6 +128,7 @@ public interface AWSSecurityGroupAsyncClient extends SecurityGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSSecurityGroupClient#deleteSecurityGroupInRegionById
|
* @see AWSSecurityGroupClient#deleteSecurityGroupInRegionById
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeleteSecurityGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteSecurityGroup")
|
@FormParams(keys = ACTION, values = "DeleteSecurityGroup")
|
||||||
|
@ -132,6 +139,7 @@ public interface AWSSecurityGroupAsyncClient extends SecurityGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSSecurityGroupClient#describeSecurityGroupsInRegionById
|
* @see AWSSecurityGroupClient#describeSecurityGroupsInRegionById
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeSecurityGroups")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeSecurityGroups")
|
@FormParams(keys = ACTION, values = "DescribeSecurityGroups")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -54,6 +55,7 @@ public interface MonitoringAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see Monitoring#monitorInstancesInRegion
|
* @see Monitoring#monitorInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:MonitorInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "MonitorInstances")
|
@FormParams(keys = ACTION, values = "MonitorInstances")
|
||||||
|
@ -66,6 +68,7 @@ public interface MonitoringAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see Monitoring#monitorInstancesInRegion
|
* @see Monitoring#monitorInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:UnmonitorInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "UnmonitorInstances")
|
@FormParams(keys = ACTION, values = "UnmonitorInstances")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -57,6 +58,7 @@ public interface PlacementGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see PlacementGroupClient#createPlacementGroupInRegion(String,String,String)
|
* @see PlacementGroupClient#createPlacementGroupInRegion(String,String,String)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreatePlacementGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreatePlacementGroup")
|
@FormParams(keys = ACTION, values = "CreatePlacementGroup")
|
||||||
|
@ -67,6 +69,7 @@ public interface PlacementGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see PlacementGroupClient#createPlacementGroupInRegion(String,String)
|
* @see PlacementGroupClient#createPlacementGroupInRegion(String,String)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreatePlacementGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = { ACTION, "Strategy" }, values = { "CreatePlacementGroup", "cluster" })
|
@FormParams(keys = { ACTION, "Strategy" }, values = { "CreatePlacementGroup", "cluster" })
|
||||||
|
@ -76,6 +79,7 @@ public interface PlacementGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see PlacementGroupClient#deletePlacementGroupInRegion
|
* @see PlacementGroupClient#deletePlacementGroupInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeletePlacementGroup")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeletePlacementGroup")
|
@FormParams(keys = ACTION, values = "DeletePlacementGroup")
|
||||||
|
@ -86,6 +90,7 @@ public interface PlacementGroupAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see PlacementGroupClient#describePlacementGroupsInRegion
|
* @see PlacementGroupClient#describePlacementGroupsInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribePlacementGroups")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribePlacementGroups")
|
@FormParams(keys = ACTION, values = "DescribePlacementGroups")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.FormParam;
|
import javax.ws.rs.FormParam;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
@ -64,6 +65,7 @@ public interface SpotInstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see SpotInstanceClient#describeSpotInstanceRequestsInRegion
|
* @see SpotInstanceClient#describeSpotInstanceRequestsInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeSpotInstanceRequests")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeSpotInstanceRequests")
|
@FormParams(keys = ACTION, values = "DescribeSpotInstanceRequests")
|
||||||
|
@ -76,6 +78,7 @@ public interface SpotInstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see SpotInstanceClient#requestSpotInstanceInRegion
|
* @see SpotInstanceClient#requestSpotInstanceInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RequestSpotInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RequestSpotInstances")
|
@FormParams(keys = ACTION, values = "RequestSpotInstances")
|
||||||
|
@ -88,6 +91,7 @@ public interface SpotInstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see SpotInstanceClient#requestSpotInstancesInRegion
|
* @see SpotInstanceClient#requestSpotInstancesInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:RequestSpotInstances")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "RequestSpotInstances")
|
@FormParams(keys = ACTION, values = "RequestSpotInstances")
|
||||||
|
@ -101,6 +105,7 @@ public interface SpotInstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see SpotInstanceClient#describeSpotPriceHistoryInRegion
|
* @see SpotInstanceClient#describeSpotPriceHistoryInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeSpotPriceHistory")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeSpotPriceHistory")
|
@FormParams(keys = ACTION, values = "DescribeSpotPriceHistory")
|
||||||
|
@ -113,6 +118,7 @@ public interface SpotInstanceAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see SpotInstanceClient#cancelSpotInstanceRequestsInRegion
|
* @see SpotInstanceClient#cancelSpotInstanceRequestsInRegion
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CancelSpotInstanceRequests")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CancelSpotInstanceRequests")
|
@FormParams(keys = ACTION, values = "CancelSpotInstanceRequests")
|
||||||
|
|
|
@ -23,6 +23,7 @@ import static org.jclouds.aws.reference.FormParameters.ACTION;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.Path;
|
import javax.ws.rs.Path;
|
||||||
|
|
||||||
|
@ -62,6 +63,7 @@ public interface TagAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see TagClient#createTagsInRegion(String, Iterable, Map)
|
* @see TagClient#createTagsInRegion(String, Iterable, Map)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:CreateTags")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "CreateTags")
|
@FormParams(keys = ACTION, values = "CreateTags")
|
||||||
|
@ -72,6 +74,7 @@ public interface TagAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see TagClient#deleteTagsInRegion(String, Iterable, Map)
|
* @see TagClient#deleteTagsInRegion(String, Iterable, Map)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DeleteTags")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DeleteTags")
|
@FormParams(keys = ACTION, values = "DeleteTags")
|
||||||
|
@ -83,6 +86,7 @@ public interface TagAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see TagClient#describeTagsInRegion(String, Map)
|
* @see TagClient#describeTagsInRegion(String, Map)
|
||||||
*/
|
*/
|
||||||
|
@Named("ec2:DescribeTags")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@FormParams(keys = ACTION, values = "DescribeTags")
|
@FormParams(keys = ACTION, values = "DescribeTags")
|
||||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.blobstore.attr.BlobScopes.CONTAINER;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.inject.Named;
|
||||||
import javax.ws.rs.DELETE;
|
import javax.ws.rs.DELETE;
|
||||||
import javax.ws.rs.POST;
|
import javax.ws.rs.POST;
|
||||||
import javax.ws.rs.PUT;
|
import javax.ws.rs.PUT;
|
||||||
|
@ -75,6 +76,7 @@ public interface AWSS3AsyncClient extends S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSS3Client#initiateMultipartUpload
|
* @see AWSS3Client#initiateMultipartUpload
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutObject")
|
||||||
@POST
|
@POST
|
||||||
@QueryParams(keys = "uploads")
|
@QueryParams(keys = "uploads")
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
|
@ -87,6 +89,7 @@ public interface AWSS3AsyncClient extends S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSS3Client#abortMultipartUpload
|
* @see AWSS3Client#abortMultipartUpload
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:AbortMultipartUpload")
|
||||||
@DELETE
|
@DELETE
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
@ExceptionParser(ReturnVoidOnNotFoundOr404.class)
|
||||||
|
@ -97,6 +100,7 @@ public interface AWSS3AsyncClient extends S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSS3Client#uploadPart
|
* @see AWSS3Client#uploadPart
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutObject")
|
||||||
@PUT
|
@PUT
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
@ResponseParser(ParseETagHeader.class)
|
@ResponseParser(ParseETagHeader.class)
|
||||||
|
@ -108,6 +112,7 @@ public interface AWSS3AsyncClient extends S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSS3Client#completeMultipartUpload
|
* @see AWSS3Client#completeMultipartUpload
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:PutObject")
|
||||||
@POST
|
@POST
|
||||||
@Path("/{key}")
|
@Path("/{key}")
|
||||||
@ResponseParser(ETagFromHttpResponseViaRegex.class)
|
@ResponseParser(ETagFromHttpResponseViaRegex.class)
|
||||||
|
@ -119,6 +124,7 @@ public interface AWSS3AsyncClient extends S3AsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see AWSS3Client#deleteObjects
|
* @see AWSS3Client#deleteObjects
|
||||||
*/
|
*/
|
||||||
|
@Named("s3:DeleteObject")
|
||||||
@POST
|
@POST
|
||||||
@Path("/")
|
@Path("/")
|
||||||
@QueryParams(keys = "delete")
|
@QueryParams(keys = "delete")
|
||||||
|
|
Loading…
Reference in New Issue