/* * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ namespace Amazon.SecretsManager.Extensions.Caching { internal static class VersionInfo { /// /// Incremented for design changes that break backward compatibility. /// public const string VERSION_NUM = "1"; /// /// Incremented for major changes to the implementation /// public const string MAJOR_REVISION_NUM = "1"; /// /// Incremented for minor changes to the implementation /// public const string MINOR_REVISION_NUM = "0"; /// /// Incremented for releases containing an immediate bug fix. /// public const string BUGFIX_REVISION_NUM = "0"; /// /// The value used as the user agent header name. /// public const string USER_AGENT_HEADER = "User-Agent"; /// /// The release version string. /// public static readonly string RELEASE_VERSION = $"{VERSION_NUM}.{MAJOR_REVISION_NUM}.{MINOR_REVISION_NUM}.{BUGFIX_REVISION_NUM}"; /// /// The user agent string that will be appended to the SDK user agent string /// public static readonly string USER_AGENT_STRING = $"AwsSecretCache/{RELEASE_VERSION}"; } }