aws_request 0.3.0 copy "aws_request: ^0.3.0" to clipboard
aws_request: ^0.3.0 copied to clipboard

outdated

Easily create, sign, and send API requests to AWS services without the hassle of implimenting Signature Version 4.

example/aws_request.dart

import 'package:aws_request/aws_request.dart';
import 'package:http/http.dart';

void awsRequestFunction(String logString) async {
  AwsRequest request = new AwsRequest('awsAccessKey', 'awsSecretKey', 'region');
  Response result = await request.send(
    AwsRequestType.POST,
    jsonBody: "{'jsonKey': 'jsonValue'}",
    target: 'Logs_20140328.PutLogEvents',
    service: 'logs',
    queryString: {'X-Amz-Expires': '10'},
    headers: {'X-Amz-Security-Token': 'XXXXXXXXXXXX'},
  );
}
7
likes
0
pub points
60%
popularity

Publisher

unverified uploader

Easily create, sign, and send API requests to AWS services without the hassle of implimenting Signature Version 4.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

crypto, http, intl

More

Packages that depend on aws_request