in rds/src/main/java/org/jclouds/rds/features/InstanceApi.java [108:180]
Instance createMultiAZ(@FormParam("DBInstanceIdentifier") String id,
@BinderParam(BindInstanceRequestToFormParams.class) InstanceRequest instanceRequest);
/**
* Retrieves information about the specified instance.
*
* @param id
* The user-supplied instance identifier. If this parameter is specified, information
* from only the specific DB Instance is returned. This parameter isn't case sensitive.
*
* @return null if not found
*/
@Named("DescribeDBInstances")
@POST
@Path("/")
@XMLResponseParser(InstanceHandler.class)
@FormParams(keys = "Action", values = "DescribeDBInstances")
@Fallback(NullOnNotFoundOr404.class)
@Nullable
Instance get(@FormParam("DBInstanceIdentifier") String id);
/**
* Returns information about provisioned RDS instances.
*
* @return the response object
*/
@Named("DescribeDBInstances")
@POST
@Path("/")
@XMLResponseParser(DescribeDBInstancesResultHandler.class)
@Transform(InstancesToPagedIterable.class)
@FormParams(keys = "Action", values = "DescribeDBInstances")
PagedIterable<Instance> list();
/**
* Returns information about provisioned RDS instances. If there are none, the action returns an
* empty list.
*
* <br/>
* You can paginate the results using the {@link ListInstancesOptions parameter}
*
* @param options
* the options describing the instances query
*
* @return the response object
*/
@Named("DescribeDBInstances")
@POST
@Path("/")
@XMLResponseParser(DescribeDBInstancesResultHandler.class)
@FormParams(keys = "Action", values = "DescribeDBInstances")
IterableWithMarker<Instance> list(ListInstancesOptions options);
/**
* Deletes the specified Instance, skipping final snapshot.
*
* <p/>
* The DeleteDBInstance API deletes a previously provisioned RDS instance. A successful response
* from the web service indicates the request was received correctly. This cannot be canceled or
* reverted once submitted.
*
*
* @param id
* The DB Instance identifier for the DB Instance to be deleted. This parameter isn't
* case sensitive.
* @return final state of instance or null if not found
*/
@Named("DeleteDBInstance")
@POST
@Path("/")
@XMLResponseParser(InstanceHandler.class)
@Fallback(NullOnStateDeletingNotFoundOr404.class)
@FormParams(keys = { ACTION, "SkipFinalSnapshot" }, values = { "DeleteDBInstance", "true" })