@@ -47,6 +47,17 @@ typedef NS_ENUM(NSInteger, AWSXMLParserErrorType) {
47
47
AWSXMLParserInvalidXMLValue,
48
48
};
49
49
50
+ // defined domain for errors from AWSRuntime.
51
+ FOUNDATION_EXPORT NSString *const AWSQueryParamBuilderErrorDomain;
52
+
53
+ /* NSError codes in AWSErrorDomain. */
54
+ typedef NS_ENUM (NSInteger , AWSQueryParamBuilderErrorType) {
55
+ AWSQueryParamBuilderUnknownError,
56
+ AWSQueryParamBuilderDefinitionFileIsEmpty,
57
+ AWSQueryParamBuilderUndefinedActionRule,
58
+ AWSQueryParamBuilderInternalError,
59
+ };
60
+
50
61
@interface AWSJSONDictionary : NSDictionary
51
62
52
63
- (instancetype )initWithDictionary : (NSDictionary *)otherDictionary
@@ -72,9 +83,20 @@ typedef NS_ENUM(NSInteger, AWSXMLParserErrorType) {
72
83
73
84
@interface AWSXMLParser : NSObject
74
85
75
- + (NSMutableDictionary *)dictionaryForXMLData : (NSData *)data
86
+ + (AWSXMLParser *)sharedInstance ;
87
+
88
+ - (NSMutableDictionary *)dictionaryForXMLData : (NSData *)data
76
89
actionName : (NSString *)actionName
77
90
serviceDefinitionRule : (NSDictionary *)serviceDefinitionRule
78
91
error : (NSError *__autoreleasing *)error ;
79
92
80
93
@end
94
+
95
+ @interface AWSQueryParamBuilder : NSObject
96
+
97
+ + (NSDictionary *)buildFormattedParams : (NSDictionary *)params
98
+ actionName : (NSString *)actionName
99
+ serviceDefinitionRule : (NSDictionary *)serviceDefinitionRule
100
+ error : (NSError *__autoreleasing *)error ;
101
+
102
+ @end
0 commit comments