Lesson 35 - Get Compute Auth Token Working

This commit is contained in:
Norman Lansing
2026-02-28 12:32:28 -05:00
parent 1d477ee42a
commit 4fde462bce
7743 changed files with 1397833 additions and 18 deletions

View File

@@ -0,0 +1,33 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <smithy/Smithy_EXPORTS.h>
#include <utility>
#include <smithy/tracing/NoopTracerProvider.h>
#include <smithy/tracing/NoopMeterProvider.h>
#include <smithy/tracing/TelemetryProvider.h>
namespace smithy {
namespace components {
namespace tracing {
/**
* A no-op implementation of TelemetryProvider that
* is simply pass though container of telemetry functionality
*/
class SMITHY_API NoopTelemetryProvider {
public:
static Aws::UniquePtr<TelemetryProvider> CreateProvider() {
return Aws::MakeUnique<TelemetryProvider>("NO_OP",
Aws::MakeUnique<NoopTracerProvider>("NO_OP", Aws::MakeUnique<NoopTracer>("NO_OP")),
Aws::MakeUnique<NoopMeterProvider>("NO_OP"),
[]() -> void {},
[]() -> void {});
}
};
}
}
}