fix s3 construtor doc
@@ -47,33 +47,9 @@ impl S3 {
let client = S3Client::new(region);
S3 { client, bucket }
}
- ///
- /// region mapping (rusoto_core::Region)
- /// Region::ApEast1 => "ap-east-1",
- /// Region::ApNortheast1 => "ap-northeast-1",
- /// Region::ApNortheast2 => "ap-northeast-2",
- /// Region::ApNortheast3 => "ap-northeast-3",
- /// Region::ApSouth1 => "ap-south-1",
- /// Region::ApSoutheast1 => "ap-southeast-1",
- /// Region::ApSoutheast2 => "ap-southeast-2",
- /// Region::CaCentral1 => "ca-central-1",
- /// Region::EuCentral1 => "eu-central-1",
- /// Region::EuWest1 => "eu-west-1",
- /// Region::EuWest2 => "eu-west-2",
- /// Region::EuWest3 => "eu-west-3",
- /// Region::EuNorth1 => "eu-north-1",
- /// Region::EuSouth1 => "eu-south-1",
- /// Region::MeSouth1 => "me-south-1",
- /// Region::SaEast1 => "sa-east-1",
- /// Region::UsEast1 => "us-east-1",
- /// Region::UsEast2 => "us-east-2",
- /// Region::UsWest1 => "us-west-1",
- /// Region::UsWest2 => "us-west-2",
- /// Region::UsGovEast1 => "us-gov-east-1",
- /// Region::UsGovWest1 => "us-gov-west-1",
- /// Region::CnNorth1 => "cn-north-1",
- /// Region::CnNorthwest1 => "cn-northwest-1",
- /// Region::AfSouth1 => "af-south-1",
+
+ /// build S3 dal with aws credentials
+ /// for region mapping, see [`rusoto_core::Region`]
pub fn with_credentials(
region: &str,
bucket: String,
