Skip to content

Commit

Permalink
Add copyright notice, use aws_smithy_types::SdkBody instead of `aws…
Browse files Browse the repository at this point in the history
…_smithy_http`
  • Loading branch information
Fahad Zubair committed Oct 20, 2023
1 parent 1eaa83b commit f38d413
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
///
/// The example can be run using `cargo run --example mock-request`.
///
use aws_smithy_http::body::SdkBody;
use aws_smithy_runtime::client::http::test_util::capture_request;
use aws_smithy_types::body::SdkBody;
use pokemon_service_client::Client as PokemonClient;
use pokemon_service_client_usage::{setup_tracing_subscriber, POKEMON_SERVICE_URL};

Expand Down
4 changes: 4 additions & 0 deletions examples/pokemon-service-client-usage/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
pub static POKEMON_SERVICE_URL: &str = "http://localhost:13734";

/// Sets up the tracing subscriber to print `tracing::info!` and `tracing::error!` messages on the console.
Expand Down

0 comments on commit f38d413

Please sign in to comment.