Unverified Commit da614bff authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

bump module version (#444)

parent e6ef4fed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ fun generateSmithyBuild(tests: List<AwsService>): String {
                      },
                      "service": "${it.service}",
                      "module": "aws-sdk-${it.module}",
                      "moduleVersion": "0.0.5-alpha",
                      "moduleVersion": "0.0.6-alpha",
                      "moduleAuthors": ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"],
                      "license": "Apache-2.0"
                      ${it.extraConfig ?: ""}
+11 −0
Original line number Diff line number Diff line
[package]
name = "ecs"
version = "0.1.0"
authors = ["Russell Cohen <rcoh@amazon.com>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tokio = { version = "1", features = ["full"]}
aws-sdk-ecs = { path = "../../build/aws-sdk/ecs" }
+18 −0
Original line number Diff line number Diff line
#[tokio::main]
async fn main() -> Result<(), aws_sdk_ecs::Error> {
    let client = aws_sdk_ecs::Client::from_env();
    let cluster = client
        .create_cluster()
        .cluster_name("test_cluster")
        .send()
        .await?;
    println!("cluster created: {:?}", cluster);

    let cluster_deleted = client
        .delete_cluster()
        .cluster("test_cluster")
        .send()
        .await?;
    println!("cluster deleted: {:?}", cluster_deleted);
    Ok(())
}
+9326 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,8 @@ val ClippyAllowLints = listOf(
    "large_enum_variant",
    // Some models have members with `is` in the name, which leads to builder functions with the wrong self convention
    "wrong_self_convention",
    // models like ecs use method names like "add()" which confuses clippy
    "should_implement_trait"
)

class AllowClippyLints() : LibRsCustomization() {