Unverified Commit 5e6212df authored by Doug's avatar Doug Committed by GitHub
Browse files

Moved MediaLive code examples into medialive directory (#482)



* Moved MediaLive code examples into medialive directory

* Renamed MediaLive helloword.rs as medialive-helloworld.rs

Co-authored-by: default avatarRussell Cohen <rcoh@amazon.com>
parent 6ce79e88
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
[package]
name = "medialive-helloworld"
name = "medialive-code-examples"
version = "0.1.0"
authors = ["Alistair McLean <mclean@amazon.com>"]
authors = ["Alistair McLean <mclean@amazon.com>", "Doug Schwartz <dougsch@amazon.com>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "medialive-hello-world"

[dependencies]
medialive = { package = "aws-sdk-medialive", path = "../../build/aws-sdk/medialive" }
+6 −0
Original line number Diff line number Diff line
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

/// Lists your AWS Elemental MediaLive input names and ARNs.
#[tokio::main]
async fn main() -> Result<(), medialive::Error> {
    let client = medialive::Client::from_env();