> +    */
> +   @Named("DeleteVault")
> +   @DELETE
> +   @Path("/-/vaults/{vault}")
> +   @Fallback(FalseIfVaultNotEmpty.class)
> +   ListenableFuture<Boolean> deleteVaultIfEmpty(@PathParam("vault") 
> @ParamValidators(VaultNameValidator.class) String vaultName);
> +
> +   /**
> +    * @see GlacierClient#describeVault
> +    */
> +   @Named("DescribeVault")
> +   @GET
> +   @Path("/-/vaults/{vault}")
> +   @ResponseParser(ParseVaultMetadataFromHttpContent.class)
> +   ListenableFuture<VaultMetadata> describeVault(
> +         @PathParam("vault") @ParamValidators(VaultNameValidator.class) 
> String vaultName);

Should this fail if the vault does not exist or just return `null`? Many 
jclouds providers have the convention to return `null` in that case. You can 
easily do that by adding the following fallback:
```java
@Fallback(NullOnNotFoundOr404.class)
```

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/4/files#r12844184

Reply via email to