Class AWSUtils


  • @Singleton
    public class AWSUtils
    extends Object
    Needed to sign and verify requests and responses.
    • Field Detail

      • logger

        protected Logger logger
    • Method Detail

      • 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)
      • getRegionFromLocationOrNull

        public static String getRegionFromLocationOrNull​(Location location)
      • parseHandle

        public static String[] parseHandle​(String id)