shared library
Classes
- AwsClientCredentials
- AWS credentials.
- Client
- The interface for HTTP clients that take care of maintaining persistent connections across multiple requests to the same server.
- JsonProtocol
- JsonResponse
- Member
- QueryProtocol
- RestJsonProtocol
- RestXmlProtocol
- RestXmlResponse
- ServiceMetadata
- Shape
- XmlAttribute
- XML attribute node.
- XmlElement
- XML element node.
- XmlName
- XML entity name.
- XmlNode
- Immutable abstract XML node.
Extensions
-
IterableNullableExtension
on Iterable<
T?> - Extensions that apply to iterables with a nullable element type.
- ScopingFunctions on T
- XmlFindExtension on XmlNode
Properties
Functions
-
buildRequest(
Map< String, dynamic> spec, Map<String, dynamic> data) → Request -
decodeNullableUint8List(
String? input) → Uint8List? -
decodeUint8List(
String input) → Uint8List -
encodeXmlBoolValue(
String name, bool value) → XmlElement -
encodeXmlDateTimeValue(
String name, DateTime value, {String formatter(DateTime)?}) → XmlElement -
encodeXmlDoubleValue(
String name, double value) → XmlElement -
encodeXmlIntValue(
String name, int value) → XmlElement -
encodeXmlStringValue(
String name, String value) → XmlElement -
encodeXmlUint8ListValue(
String name, Uint8List value) → XmlElement -
extractHeaderBoolValue(
Map< String, String> headers, String name) → bool -
extractHeaderDateTimeValue(
Map< String, String> headers, String name, {DateTime? parser(String)?}) → DateTime? -
extractHeaderDoubleValue(
Map< String, String> headers, String name) → double? -
extractHeaderIntValue(
Map< String, String> headers, String name) → int? -
extractHeaderJsonValue(
Map< String, String> headers, String name) → Object? -
extractHeaderMapValues(
Map< String, String> ? headers, String name) → Map<String, String> ? -
extractHeaderStringValue(
Map< String, String> headers, String name) → String? -
extractRegion(
Uri uri) → String -
extractService(
Uri uri) → String -
extractXmlBoolListValues(
XmlElement elem, String name) → List< bool> -
extractXmlBoolValue(
XmlElement elem, String name) → bool? -
extractXmlChild(
XmlElement elem, String name) → XmlElement? -
extractXmlDateTimeListValues(
XmlElement elem, String name) → List< DateTime> -
extractXmlDateTimeValue(
XmlElement elem, String name, {DateTime? parser(String)?}) → DateTime? -
extractXmlDoubleListValues(
XmlElement elem, String name) → List< double> -
extractXmlDoubleValue(
XmlElement elem, String name) → double? -
extractXmlIntListValues(
XmlElement elem, String name) → List< int> -
extractXmlIntValue(
XmlElement elem, String name) → int? -
extractXmlStringAttribute(
XmlElement elem, String name) → String? -
extractXmlStringListValues(
XmlElement elem, String name) → List< String> -
extractXmlStringValue(
XmlElement elem, String name) → String? -
extractXmlUint8ListListValues(
XmlElement elem, String name) → List< Uint8List> -
extractXmlUint8ListValue(
XmlElement elem, String name) → Uint8List? -
flatQueryParams(
dynamic data, Shape? shape, Map< String, Shape> shapes, String version, String action) → Map<String, String> -
generateIdempotencyToken(
) → String -
iso8601ToJson(
DateTime date) → String -
jsonFromResponse(
StreamedResponse rs) → Future< Map< String, dynamic> > -
nonNullableTimeStampFromJson(
Object date) → DateTime -
rfc822ToJson(
DateTime date) → String -
throwException(
StreamedResponse rs, String body, Map< String, AwsExceptionFn> exceptionFnMap) → void -
timeStampFromJson(
Object? date) → DateTime? -
unixTimestampToJson(
DateTime date) → int -
validateNumRange(
String? name, num? value, int? min, int? max, {bool isRequired = false}) → void -
validateStringLength(
String? name, String? value, int? min, int? max, {bool isRequired = false}) → void -
validateStringPattern(
String name, String? value, String pattern, {bool isRequired = false}) → void - This function returns immediately without doing any checks. The regexes in the API definitions are PCRE regexes which are either invalid or produce incorrect results in an ECMA compliant regex engine.
-
xmlFromResponse(
StreamedResponse rs, {String? resultWrapper}) → Future< XmlElement>
Typedefs
-
AwsClientCredentialsProvider
= Future<
AwsClientCredentials?> Function({Client? client}) - AwsExceptionFn = AwsException Function(String type, String message)
- RequestSigner = void Function({required AwsClientCredentials credentials, required String region, required Request rq, required ServiceMetadata service})