throw new IllegalArgumentException("AwsConfig is required!");
}
if (awsConfig.getAccessKey() == null) {
throw new IllegalArgumentException("AWS access key is required!");
}
rs = new EC2RequestSigner(awsConfig.getSecretKey());
attributes.put("Action", this.getClass().getSimpleName());
attributes.put("Version", DOC_VERSION);
attributes.put("SignatureVersion", SIGNATURE_VERSION);
attributes.put("SignatureMethod", SIGNATURE_METHOD);
attributes.put("AWSAccessKeyId", awsConfig.getAccessKey());