This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

39 lines
929 B
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace CodeGuruProfiler
{
namespace Model
{
enum class MetadataField
{
NOT_SET,
AgentId,
AwsRequestId,
ComputePlatform,
ExecutionEnvironment,
LambdaFunctionArn,
LambdaMemoryLimitInMB,
LambdaPreviousExecutionTimeInMilliseconds,
LambdaRemainingTimeInMilliseconds,
LambdaTimeGapBetweenInvokesInMilliseconds
};
namespace MetadataFieldMapper
{
AWS_CODEGURUPROFILER_API MetadataField GetMetadataFieldForName(const Aws::String& name);
AWS_CODEGURUPROFILER_API Aws::String GetNameForMetadataField(MetadataField value);
} // namespace MetadataFieldMapper
} // namespace Model
} // namespace CodeGuruProfiler
} // namespace Aws