/* * Copyright 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. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfig.Model { /// /// Container for the parameters to the GetConfiguration operation. /// (Deprecated) Retrieves the latest deployed configuration. /// /// /// /// Note the following important information. /// /// /// public partial class GetConfigurationRequest : AmazonAppConfigRequest { private string _application; private string _clientConfigurationVersion; private string _clientId; private string _configuration; private string _environment; /// /// Gets and sets the property Application. /// /// The application to get. Specify either the application name or the application ID. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string Application { get { return this._application; } set { this._application = value; } } // Check to see if Application property is set internal bool IsSetApplication() { return this._application != null; } /// /// Gets and sets the property ClientConfigurationVersion. /// /// The configuration version returned in the most recent GetConfiguration /// response. /// /// /// /// AppConfig uses the value of the ClientConfigurationVersion parameter /// to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion /// with each call to GetConfiguration, your clients receive the current /// configuration. You are charged each time your clients receive a configuration. /// /// /// /// To avoid excess charges, we recommend you use the StartConfigurationSession /// and GetLatestConfiguration /// APIs, which track the client configuration version on your behalf. If you choose to /// continue using GetConfiguration, we recommend that you include the ClientConfigurationVersion /// value with every call to GetConfiguration. The value to use for ClientConfigurationVersion /// comes from the ConfigurationVersion attribute returned by GetConfiguration /// when there is new or updated data, and should be saved for subsequent calls to GetConfiguration. /// /// /// /// For more information about working with configurations, see Retrieving /// the Configuration in the AppConfig User Guide. /// /// [AWSProperty(Min=1, Max=1024)] public string ClientConfigurationVersion { get { return this._clientConfigurationVersion; } set { this._clientConfigurationVersion = value; } } // Check to see if ClientConfigurationVersion property is set internal bool IsSetClientConfigurationVersion() { return this._clientConfigurationVersion != null; } /// /// Gets and sets the property ClientId. /// /// The clientId parameter in the following command is a unique, user-specified ID to /// identify the client for the configuration. This ID enables AppConfig to deploy the /// configuration in intervals, as defined in the deployment strategy. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string ClientId { get { return this._clientId; } set { this._clientId = value; } } // Check to see if ClientId property is set internal bool IsSetClientId() { return this._clientId != null; } /// /// Gets and sets the property Configuration. /// /// The configuration to get. Specify either the configuration name or the configuration /// ID. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string Configuration { get { return this._configuration; } set { this._configuration = value; } } // Check to see if Configuration property is set internal bool IsSetConfiguration() { return this._configuration != null; } /// /// Gets and sets the property Environment. /// /// The environment to get. Specify either the environment name or the environment ID. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string Environment { get { return this._environment; } set { this._environment = value; } } // Check to see if Environment property is set internal bool IsSetEnvironment() { return this._environment != null; } } }