Package org.jclouds.aws.util
Class AWSUtils
- java.lang.Object
-
- org.jclouds.aws.util.AWSUtils
-
@Singleton public class AWSUtils extends Object
Needed to sign and verify requests and responses.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AWSUtils.GetRegionFromLocation
-
Method Summary
-
-
-
Field Detail
-
logger
protected Logger logger
-
-
Method Detail
-
parseAWSErrorFromContent
public AWSError parseAWSErrorFromContent(HttpRequest request, HttpResponse response)
-
indexStringArrayToFormValuesWithStringFormat
public static <R extends HttpRequest> R indexStringArrayToFormValuesWithStringFormat(R request, String format, Object input)
-
isRegion
public static boolean isRegion(String regionName)
-
indexIterableToFormValuesWithPrefix
public static <R extends HttpRequest> R indexIterableToFormValuesWithPrefix(R request, String prefix, Object input)
-
indexStringArrayToFormValuesWithPrefix
public static <R extends HttpRequest> R indexStringArrayToFormValuesWithPrefix(R request, String prefix, Object input)
-
indexMapToFormValuesWithPrefix
public static <R extends HttpRequest> R indexMapToFormValuesWithPrefix(R request, String prefix, String keySuffix, String valueSuffix, Object input)
-
indexMultimapToFormValuesWithPrefix
public static <R extends HttpRequest> R indexMultimapToFormValuesWithPrefix(R request, String prefix, String keySuffix, String valueSuffix, Object input)
-
indexMapOfIterableToFormValuesWithPrefix
public static <R extends HttpRequest> R indexMapOfIterableToFormValuesWithPrefix(R request, String prefix, String keySuffix, String valueSuffix, Object input)
-
findRegionInArgsOrNull
public static String findRegionInArgsOrNull(GeneratedHttpRequest gRequest)
-
-