repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the CreateDeploymentStrategy operation.
/// </summary>
public partial class CreateDeploymentStrategyResponse : AmazonWebServiceResponse
{
private int? _deploymentDurationInMinutes;
private string _description;
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
private string _id;
private string _name;
private ReplicateTo _replicateTo;
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time the deployment lasted.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// The amount of time that AppConfig monitored for alarms before considering the deployment
/// to be complete and no longer eligible for automatic rollback.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets that received a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grew over time.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The deployment strategy ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property ReplicateTo.
/// <para>
/// Save the deployment strategy to a Systems Manager (SSM) document.
/// </para>
/// </summary>
public ReplicateTo ReplicateTo
{
get { return this._replicateTo; }
set { this._replicateTo = value; }
}
// Check to see if ReplicateTo property is set
internal bool IsSetReplicateTo()
{
return this._replicateTo != null;
}
}
} | 196 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the CreateEnvironment operation.
/// Creates an environment. For each application, you define one or more environments.
/// An environment is a deployment group of AppConfig targets, such as applications in
/// a <code>Beta</code> or <code>Production</code> environment. You can also define environments
/// for application subcomponents such as the <code>Web</code>, <code>Mobile</code> and
/// <code>Back-end</code> components for your application. You can configure Amazon CloudWatch
/// alarms for each environment. The system monitors alarms during a configuration deployment.
/// If an alarm is triggered, the system rolls back the configuration.
/// </summary>
public partial class CreateEnvironmentRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _description;
private List<Monitor> _monitors = new List<Monitor>();
private string _name;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Monitors.
/// <para>
/// Amazon CloudWatch alarms to monitor during the deployment process.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public List<Monitor> Monitors
{
get { return this._monitors; }
set { this._monitors = value; }
}
// Check to see if Monitors property is set
internal bool IsSetMonitors()
{
return this._monitors != null && this._monitors.Count > 0;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// A name for the environment.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Metadata to assign to the environment. Tags help organize and categorize your AppConfig
/// resources. Each tag consists of a key and an optional value, both of which you define.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 146 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the CreateEnvironment operation.
/// </summary>
public partial class CreateEnvironmentResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _description;
private string _id;
private List<Monitor> _monitors = new List<Monitor>();
private string _name;
private EnvironmentState _state;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The environment ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Monitors.
/// <para>
/// Amazon CloudWatch alarms monitored during the deployment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public List<Monitor> Monitors
{
get { return this._monitors; }
set { this._monitors = value; }
}
// Check to see if Monitors property is set
internal bool IsSetMonitors()
{
return this._monitors != null && this._monitors.Count > 0;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the environment. An environment can be in one of the following states:
/// <code>READY_FOR_DEPLOYMENT</code>, <code>DEPLOYING</code>, <code>ROLLING_BACK</code>,
/// or <code>ROLLED_BACK</code>
/// </para>
/// </summary>
public EnvironmentState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
} | 157 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the CreateExtensionAssociation operation.
/// When you create an extension or configure an Amazon Web Services authored extension,
/// you associate the extension with an AppConfig application, environment, or configuration
/// profile. For example, you can choose to run the <code>AppConfig deployment events
/// to Amazon SNS</code> Amazon Web Services authored extension and receive notifications
/// on an Amazon SNS topic anytime a configuration deployment is started for a specific
/// application. Defining which extension to associate with an AppConfig resource is called
/// an <i>extension association</i>. An extension association is a specified relationship
/// between an extension and an AppConfig resource, such as an application or a configuration
/// profile. For more information about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working
/// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>.
/// </summary>
public partial class CreateExtensionAssociationRequest : AmazonAppConfigRequest
{
private string _extensionIdentifier;
private int? _extensionVersionNumber;
private Dictionary<string, string> _parameters = new Dictionary<string, string>();
private string _resourceIdentifier;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property ExtensionIdentifier.
/// <para>
/// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string ExtensionIdentifier
{
get { return this._extensionIdentifier; }
set { this._extensionIdentifier = value; }
}
// Check to see if ExtensionIdentifier property is set
internal bool IsSetExtensionIdentifier()
{
return this._extensionIdentifier != null;
}
/// <summary>
/// Gets and sets the property ExtensionVersionNumber.
/// <para>
/// The version number of the extension. If not specified, AppConfig uses the maximum
/// version of the extension.
/// </para>
/// </summary>
public int ExtensionVersionNumber
{
get { return this._extensionVersionNumber.GetValueOrDefault(); }
set { this._extensionVersionNumber = value; }
}
// Check to see if ExtensionVersionNumber property is set
internal bool IsSetExtensionVersionNumber()
{
return this._extensionVersionNumber.HasValue;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The parameter names and values defined in the extensions. Extension parameters marked
/// <code>Required</code> must be entered for this field.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public Dictionary<string, string> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourceIdentifier.
/// <para>
/// The ARN of an application, configuration profile, or environment.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string ResourceIdentifier
{
get { return this._resourceIdentifier; }
set { this._resourceIdentifier = value; }
}
// Check to see if ResourceIdentifier property is set
internal bool IsSetResourceIdentifier()
{
return this._resourceIdentifier != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Adds one or more tags for the specified extension association. Tags are metadata that
/// help you categorize resources in different ways, for example, by purpose, owner, or
/// environment. Each tag consists of a key and an optional value, both of which you define.
///
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the CreateExtensionAssociation operation.
/// </summary>
public partial class CreateExtensionAssociationResponse : AmazonWebServiceResponse
{
private string _arn;
private string _extensionArn;
private int? _extensionVersionNumber;
private string _id;
private Dictionary<string, string> _parameters = new Dictionary<string, string>();
private string _resourceArn;
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The system-generated Amazon Resource Name (ARN) for the extension.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property ExtensionArn.
/// <para>
/// The ARN of the extension defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string ExtensionArn
{
get { return this._extensionArn; }
set { this._extensionArn = value; }
}
// Check to see if ExtensionArn property is set
internal bool IsSetExtensionArn()
{
return this._extensionArn != null;
}
/// <summary>
/// Gets and sets the property ExtensionVersionNumber.
/// <para>
/// The version number for the extension defined in the association.
/// </para>
/// </summary>
public int ExtensionVersionNumber
{
get { return this._extensionVersionNumber.GetValueOrDefault(); }
set { this._extensionVersionNumber = value; }
}
// Check to see if ExtensionVersionNumber property is set
internal bool IsSetExtensionVersionNumber()
{
return this._extensionVersionNumber.HasValue;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The system-generated ID for the association.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The parameter names and values defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public Dictionary<string, string> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The ARNs of applications, configuration profiles, or environments defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
} | 157 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the CreateExtension operation.
/// Creates an AppConfig extension. An extension augments your ability to inject logic
/// or behavior at different points during the AppConfig workflow of creating or deploying
/// a configuration.
///
///
/// <para>
/// You can create your own extensions or use the Amazon Web Services authored extensions
/// provided by AppConfig. For most use cases, to create your own extension, you must
/// create an Lambda function to perform any computation and processing defined in the
/// extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working
/// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>.
/// </para>
/// </summary>
public partial class CreateExtensionRequest : AmazonAppConfigRequest
{
private Dictionary<string, List<Action>> _actions = new Dictionary<string, List<Action>>();
private string _description;
private int? _latestVersionNumber;
private string _name;
private Dictionary<string, Parameter> _parameters = new Dictionary<string, Parameter>();
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property Actions.
/// <para>
/// The actions defined in the extension.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=5)]
public Dictionary<string, List<Action>> Actions
{
get { return this._actions; }
set { this._actions = value; }
}
// Check to see if Actions property is set
internal bool IsSetActions()
{
return this._actions != null && this._actions.Count > 0;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Information about the extension.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property LatestVersionNumber.
/// <para>
/// You can omit this field when you create an extension. When you create a new version,
/// specify the most recent current version number. For example, you create version 3,
/// enter 2 for this field.
/// </para>
/// </summary>
public int LatestVersionNumber
{
get { return this._latestVersionNumber.GetValueOrDefault(); }
set { this._latestVersionNumber = value; }
}
// Check to see if LatestVersionNumber property is set
internal bool IsSetLatestVersionNumber()
{
return this._latestVersionNumber.HasValue;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// A name for the extension. Each extension name in your account must be unique. Extension
/// versions use the same name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The parameters accepted by the extension. You specify parameter values when you associate
/// the extension to an AppConfig resource by using the <code>CreateExtensionAssociation</code>
/// API action. For Lambda extension actions, these parameters are included in the Lambda
/// request object.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public Dictionary<string, Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Adds one or more tags for the specified extension. Tags are metadata that help you
/// categorize resources in different ways, for example, by purpose, owner, or environment.
/// Each tag consists of a key and an optional value, both of which you define.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 177 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the CreateExtension operation.
/// </summary>
public partial class CreateExtensionResponse : AmazonWebServiceResponse
{
private Dictionary<string, List<Action>> _actions = new Dictionary<string, List<Action>>();
private string _arn;
private string _description;
private string _id;
private string _name;
private Dictionary<string, Parameter> _parameters = new Dictionary<string, Parameter>();
private int? _versionNumber;
/// <summary>
/// Gets and sets the property Actions.
/// <para>
/// The actions defined in the extension.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public Dictionary<string, List<Action>> Actions
{
get { return this._actions; }
set { this._actions = value; }
}
// Check to see if Actions property is set
internal bool IsSetActions()
{
return this._actions != null && this._actions.Count > 0;
}
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The system-generated Amazon Resource Name (ARN) for the extension.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Information about the extension.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The system-generated ID of the extension.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The extension name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The parameters accepted by the extension. You specify parameter values when you associate
/// the extension to an AppConfig resource by using the <code>CreateExtensionAssociation</code>
/// API action. For Lambda extension actions, these parameters are included in the Lambda
/// request object.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public Dictionary<string, Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The extension version number.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 179 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the CreateHostedConfigurationVersion operation.
/// Creates a new configuration in the AppConfig hosted configuration store.
/// </summary>
public partial class CreateHostedConfigurationVersionRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
private MemoryStream _content;
private string _contentType;
private string _description;
private int? _latestVersionNumber;
private string _versionLabel;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property Content.
/// <para>
/// The content of the configuration or the configuration data.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true)]
public MemoryStream Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
/// <summary>
/// Gets and sets the property ContentType.
/// <para>
/// A standard MIME type describing the format of the configuration content. For more
/// information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
// Check to see if ContentType property is set
internal bool IsSetContentType()
{
return this._contentType != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property LatestVersionNumber.
/// <para>
/// An optional locking token used to prevent race conditions from overwriting configuration
/// updates when creating a new version. To ensure your data is not overwritten when creating
/// multiple hosted configuration versions in rapid succession, specify the version number
/// of the latest hosted configuration version.
/// </para>
/// </summary>
public int LatestVersionNumber
{
get { return this._latestVersionNumber.GetValueOrDefault(); }
set { this._latestVersionNumber = value; }
}
// Check to see if LatestVersionNumber property is set
internal bool IsSetLatestVersionNumber()
{
return this._latestVersionNumber.HasValue;
}
/// <summary>
/// Gets and sets the property VersionLabel.
/// <para>
/// An optional, user-defined label for the AppConfig hosted configuration version. This
/// value must contain at least one non-numeric character. For example, "v2.2.0".
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string VersionLabel
{
get { return this._versionLabel; }
set { this._versionLabel = value; }
}
// Check to see if VersionLabel property is set
internal bool IsSetVersionLabel()
{
return this._versionLabel != null;
}
}
} | 183 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the CreateHostedConfigurationVersion operation.
/// </summary>
public partial class CreateHostedConfigurationVersionResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _configurationProfileId;
private MemoryStream _content;
private string _contentType;
private string _description;
private string _versionLabel;
private int? _versionNumber;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property Content.
/// <para>
/// The content of the configuration or the configuration data.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public MemoryStream Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
/// <summary>
/// Gets and sets the property ContentType.
/// <para>
/// A standard MIME type describing the format of the configuration content. For more
/// information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
// Check to see if ContentType property is set
internal bool IsSetContentType()
{
return this._contentType != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property VersionLabel.
/// <para>
/// A user-defined label for an AppConfig hosted configuration version.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string VersionLabel
{
get { return this._versionLabel; }
set { this._versionLabel = value; }
}
// Check to see if VersionLabel property is set
internal bool IsSetVersionLabel()
{
return this._versionLabel != null;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The configuration version.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 176 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the DeleteApplication operation.
/// Deletes an application. Deleting an application does not delete a configuration from
/// a host.
/// </summary>
public partial class DeleteApplicationRequest : AmazonAppConfigRequest
{
private string _applicationId;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The ID of the application to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
}
} | 60 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the DeleteApplication operation.
/// </summary>
public partial class DeleteApplicationResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the DeleteConfigurationProfile operation.
/// Deletes a configuration profile. Deleting a configuration profile does not delete
/// a configuration from a host.
/// </summary>
public partial class DeleteConfigurationProfileRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID that includes the configuration profile you want to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The ID of the configuration profile you want to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the DeleteConfigurationProfile operation.
/// </summary>
public partial class DeleteConfigurationProfileResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the DeleteDeploymentStrategy operation.
/// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration
/// from a host.
/// </summary>
public partial class DeleteDeploymentStrategyRequest : AmazonAppConfigRequest
{
private string _deploymentStrategyId;
/// <summary>
/// Gets and sets the property DeploymentStrategyId.
/// <para>
/// The ID of the deployment strategy you want to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DeploymentStrategyId
{
get { return this._deploymentStrategyId; }
set { this._deploymentStrategyId = value; }
}
// Check to see if DeploymentStrategyId property is set
internal bool IsSetDeploymentStrategyId()
{
return this._deploymentStrategyId != null;
}
}
} | 60 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the DeleteDeploymentStrategy operation.
/// </summary>
public partial class DeleteDeploymentStrategyResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the DeleteEnvironment operation.
/// Deletes an environment. Deleting an environment does not delete a configuration from
/// a host.
/// </summary>
public partial class DeleteEnvironmentRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _environmentId;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID that includes the environment that you want to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The ID of the environment that you want to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the DeleteEnvironment operation.
/// </summary>
public partial class DeleteEnvironmentResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the DeleteExtensionAssociation operation.
/// Deletes an extension association. This action doesn't delete extensions defined in
/// the association.
/// </summary>
public partial class DeleteExtensionAssociationRequest : AmazonAppConfigRequest
{
private string _extensionAssociationId;
/// <summary>
/// Gets and sets the property ExtensionAssociationId.
/// <para>
/// The ID of the extension association to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ExtensionAssociationId
{
get { return this._extensionAssociationId; }
set { this._extensionAssociationId = value; }
}
// Check to see if ExtensionAssociationId property is set
internal bool IsSetExtensionAssociationId()
{
return this._extensionAssociationId != null;
}
}
} | 60 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the DeleteExtensionAssociation operation.
/// </summary>
public partial class DeleteExtensionAssociationResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the DeleteExtension operation.
/// Deletes an AppConfig extension. You must delete all associations to an extension before
/// you delete the extension.
/// </summary>
public partial class DeleteExtensionRequest : AmazonAppConfigRequest
{
private string _extensionIdentifier;
private int? _versionNumber;
/// <summary>
/// Gets and sets the property ExtensionIdentifier.
/// <para>
/// The name, ID, or Amazon Resource Name (ARN) of the extension you want to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string ExtensionIdentifier
{
get { return this._extensionIdentifier; }
set { this._extensionIdentifier = value; }
}
// Check to see if ExtensionIdentifier property is set
internal bool IsSetExtensionIdentifier()
{
return this._extensionIdentifier != null;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// A specific version of an extension to delete. If omitted, the highest version is deleted.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the DeleteExtension operation.
/// </summary>
public partial class DeleteExtensionResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the DeleteHostedConfigurationVersion operation.
/// Deletes a version of a configuration from the AppConfig hosted configuration store.
/// </summary>
public partial class DeleteHostedConfigurationVersionRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
private int? _versionNumber;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The versions number to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the DeleteHostedConfigurationVersion operation.
/// </summary>
public partial class DeleteHostedConfigurationVersionResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// An object that describes a deployment event.
/// </summary>
public partial class DeploymentEvent
{
private List<ActionInvocation> _actionInvocations = new List<ActionInvocation>();
private string _description;
private DeploymentEventType _eventType;
private DateTime? _occurredAt;
private TriggeredBy _triggeredBy;
/// <summary>
/// Gets and sets the property ActionInvocations.
/// <para>
/// The list of extensions that were invoked as part of the deployment.
/// </para>
/// </summary>
public List<ActionInvocation> ActionInvocations
{
get { return this._actionInvocations; }
set { this._actionInvocations = value; }
}
// Check to see if ActionInvocations property is set
internal bool IsSetActionInvocations()
{
return this._actionInvocations != null && this._actionInvocations.Count > 0;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the deployment event. Descriptions include, but are not limited to,
/// the user account or the Amazon CloudWatch alarm ARN that initiated a rollback, the
/// percentage of hosts that received the deployment, or in the case of an internal error,
/// a recommendation to attempt a new deployment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property EventType.
/// <para>
/// The type of deployment event. Deployment event types include the start, stop, or completion
/// of a deployment; a percentage update; the start or stop of a bake period; and the
/// start or completion of a rollback.
/// </para>
/// </summary>
public DeploymentEventType EventType
{
get { return this._eventType; }
set { this._eventType = value; }
}
// Check to see if EventType property is set
internal bool IsSetEventType()
{
return this._eventType != null;
}
/// <summary>
/// Gets and sets the property OccurredAt.
/// <para>
/// The date and time the event occurred.
/// </para>
/// </summary>
public DateTime OccurredAt
{
get { return this._occurredAt.GetValueOrDefault(); }
set { this._occurredAt = value; }
}
// Check to see if OccurredAt property is set
internal bool IsSetOccurredAt()
{
return this._occurredAt.HasValue;
}
/// <summary>
/// Gets and sets the property TriggeredBy.
/// <para>
/// The entity that triggered the deployment event. Events can be triggered by a user,
/// AppConfig, an Amazon CloudWatch alarm, or an internal error.
/// </para>
/// </summary>
public TriggeredBy TriggeredBy
{
get { return this._triggeredBy; }
set { this._triggeredBy = value; }
}
// Check to see if TriggeredBy property is set
internal bool IsSetTriggeredBy()
{
return this._triggeredBy != null;
}
}
} | 140 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
///
/// </summary>
public partial class DeploymentStrategy
{
private int? _deploymentDurationInMinutes;
private string _description;
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
private string _id;
private string _name;
private ReplicateTo _replicateTo;
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time the deployment lasted.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// The amount of time that AppConfig monitored for alarms before considering the deployment
/// to be complete and no longer eligible for automatic rollback.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets that received a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grew over time.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The deployment strategy ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property ReplicateTo.
/// <para>
/// Save the deployment strategy to a Systems Manager (SSM) document.
/// </para>
/// </summary>
public ReplicateTo ReplicateTo
{
get { return this._replicateTo; }
set { this._replicateTo = value; }
}
// Check to see if ReplicateTo property is set
internal bool IsSetReplicateTo()
{
return this._replicateTo != null;
}
}
} | 196 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Information about the deployment.
/// </summary>
public partial class DeploymentSummary
{
private DateTime? _completedAt;
private string _configurationName;
private string _configurationVersion;
private int? _deploymentDurationInMinutes;
private int? _deploymentNumber;
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
private float? _percentageComplete;
private DateTime? _startedAt;
private DeploymentState _state;
/// <summary>
/// Gets and sets the property CompletedAt.
/// <para>
/// Time the deployment completed.
/// </para>
/// </summary>
public DateTime CompletedAt
{
get { return this._completedAt.GetValueOrDefault(); }
set { this._completedAt = value; }
}
// Check to see if CompletedAt property is set
internal bool IsSetCompletedAt()
{
return this._completedAt.HasValue;
}
/// <summary>
/// Gets and sets the property ConfigurationName.
/// <para>
/// The name of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string ConfigurationName
{
get { return this._configurationName; }
set { this._configurationName = value; }
}
// Check to see if ConfigurationName property is set
internal bool IsSetConfigurationName()
{
return this._configurationName != null;
}
/// <summary>
/// Gets and sets the property ConfigurationVersion.
/// <para>
/// The version of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string ConfigurationVersion
{
get { return this._configurationVersion; }
set { this._configurationVersion = value; }
}
// Check to see if ConfigurationVersion property is set
internal bool IsSetConfigurationVersion()
{
return this._configurationVersion != null;
}
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time the deployment lasted.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property DeploymentNumber.
/// <para>
/// The sequence number of the deployment.
/// </para>
/// </summary>
public int DeploymentNumber
{
get { return this._deploymentNumber.GetValueOrDefault(); }
set { this._deploymentNumber = value; }
}
// Check to see if DeploymentNumber property is set
internal bool IsSetDeploymentNumber()
{
return this._deploymentNumber.HasValue;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// The amount of time that AppConfig monitors for alarms before considering the deployment
/// to be complete and no longer eligible for automatic rollback.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets to receive a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grows over time.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
/// <summary>
/// Gets and sets the property PercentageComplete.
/// <para>
/// The percentage of targets for which the deployment is available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float PercentageComplete
{
get { return this._percentageComplete.GetValueOrDefault(); }
set { this._percentageComplete = value; }
}
// Check to see if PercentageComplete property is set
internal bool IsSetPercentageComplete()
{
return this._percentageComplete.HasValue;
}
/// <summary>
/// Gets and sets the property StartedAt.
/// <para>
/// Time the deployment started.
/// </para>
/// </summary>
public DateTime StartedAt
{
get { return this._startedAt.GetValueOrDefault(); }
set { this._startedAt = value; }
}
// Check to see if StartedAt property is set
internal bool IsSetStartedAt()
{
return this._startedAt.HasValue;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the deployment.
/// </para>
/// </summary>
public DeploymentState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
} | 254 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
///
/// </summary>
public partial class Environment
{
private string _applicationId;
private string _description;
private string _id;
private List<Monitor> _monitors = new List<Monitor>();
private string _name;
private EnvironmentState _state;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The environment ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Monitors.
/// <para>
/// Amazon CloudWatch alarms monitored during the deployment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public List<Monitor> Monitors
{
get { return this._monitors; }
set { this._monitors = value; }
}
// Check to see if Monitors property is set
internal bool IsSetMonitors()
{
return this._monitors != null && this._monitors.Count > 0;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the environment. An environment can be in one of the following states:
/// <code>READY_FOR_DEPLOYMENT</code>, <code>DEPLOYING</code>, <code>ROLLING_BACK</code>,
/// or <code>ROLLED_BACK</code>
/// </para>
/// </summary>
public EnvironmentState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
} | 157 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Information about an association between an extension and an AppConfig resource such
/// as an application, environment, or configuration profile. Call <code>GetExtensionAssociation</code>
/// to get more information about an association.
/// </summary>
public partial class ExtensionAssociationSummary
{
private string _extensionArn;
private string _id;
private string _resourceArn;
/// <summary>
/// Gets and sets the property ExtensionArn.
/// <para>
/// The system-generated Amazon Resource Name (ARN) for the extension.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string ExtensionArn
{
get { return this._extensionArn; }
set { this._extensionArn = value; }
}
// Check to see if ExtensionArn property is set
internal bool IsSetExtensionArn()
{
return this._extensionArn != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The extension association ID. This ID is used to call other <code>ExtensionAssociation</code>
/// API actions such as <code>GetExtensionAssociation</code> or <code>DeleteExtensionAssociation</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The ARNs of applications, configuration profiles, or environments defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
} | 101 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Information about an extension. Call <code>GetExtension</code> to get more information
/// about an extension.
/// </summary>
public partial class ExtensionSummary
{
private string _arn;
private string _description;
private string _id;
private string _name;
private int? _versionNumber;
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The system-generated Amazon Resource Name (ARN) for the extension.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Information about the extension.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The system-generated ID of the extension.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The extension name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The extension version number.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 137 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the GetApplication operation.
/// Retrieves information about an application.
/// </summary>
public partial class GetApplicationRequest : AmazonAppConfigRequest
{
private string _applicationId;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The ID of the application you want to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the GetApplication operation.
/// </summary>
public partial class GetApplicationResponse : AmazonWebServiceResponse
{
private string _description;
private string _id;
private string _name;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the application.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The application name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 97 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the GetConfigurationProfile operation.
/// Retrieves information about a configuration profile.
/// </summary>
public partial class GetConfigurationProfileRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The ID of the application that includes the configuration profile you want to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The ID of the configuration profile that you want to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the GetConfigurationProfile operation.
/// </summary>
public partial class GetConfigurationProfileResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _description;
private string _id;
private string _locationUri;
private string _name;
private string _retrievalRoleArn;
private string _type;
private List<Validator> _validators = new List<Validator>();
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The configuration profile description.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property LocationUri.
/// <para>
/// The URI location of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string LocationUri
{
get { return this._locationUri; }
set { this._locationUri = value; }
}
// Check to see if LocationUri property is set
internal bool IsSetLocationUri()
{
return this._locationUri != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property RetrievalRoleArn.
/// <para>
/// The ARN of an IAM role with permission to access the configuration at the specified
/// <code>LocationUri</code>.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string RetrievalRoleArn
{
get { return this._retrievalRoleArn; }
set { this._retrievalRoleArn = value; }
}
// Check to see if RetrievalRoleArn property is set
internal bool IsSetRetrievalRoleArn()
{
return this._retrievalRoleArn != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of configurations contained in the profile. AppConfig supports <code>feature
/// flags</code> and <code>freeform</code> configurations. We recommend you create feature
/// flag configurations to enable or disable new features and freeform configurations
/// to distribute configurations to an application. When calling this API, enter one of
/// the following values for <code>Type</code>:
/// </para>
///
/// <para>
/// <code>AWS.AppConfig.FeatureFlags</code>
/// </para>
///
/// <para>
/// <code>AWS.Freeform</code>
/// </para>
/// </summary>
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property Validators.
/// <para>
/// A list of methods for validating the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2)]
public List<Validator> Validators
{
get { return this._validators; }
set { this._validators = value; }
}
// Check to see if Validators property is set
internal bool IsSetValidators()
{
return this._validators != null && this._validators.Count > 0;
}
}
} | 208 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the GetConfiguration operation.
/// (Deprecated) Retrieves the latest deployed configuration.
///
/// <important>
/// <para>
/// Note the following important information.
/// </para>
/// <ul> <li>
/// <para>
/// This API action is deprecated. Calls to receive configuration data should use the
/// <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a>
/// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a>
/// APIs instead.
/// </para>
/// </li> <li>
/// <para>
/// <code>GetConfiguration</code> is a priced call. For more information, see <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>.
/// </para>
/// </li> </ul> </important>
/// </summary>
public partial class GetConfigurationRequest : AmazonAppConfigRequest
{
private string _application;
private string _clientConfigurationVersion;
private string _clientId;
private string _configuration;
private string _environment;
/// <summary>
/// Gets and sets the property Application.
/// <para>
/// The application to get. Specify either the application name or the application ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property ClientConfigurationVersion.
/// <para>
/// The configuration version returned in the most recent <code>GetConfiguration</code>
/// response.
/// </para>
/// <important>
/// <para>
/// AppConfig uses the value of the <code>ClientConfigurationVersion</code> parameter
/// to identify the configuration version on your clients. If you don’t send <code>ClientConfigurationVersion</code>
/// with each call to <code>GetConfiguration</code>, your clients receive the current
/// configuration. You are charged each time your clients receive a configuration.
/// </para>
///
/// <para>
/// To avoid excess charges, we recommend you use the <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html">StartConfigurationSession</a>
/// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html">GetLatestConfiguration</a>
/// APIs, which track the client configuration version on your behalf. If you choose to
/// continue using <code>GetConfiguration</code>, we recommend that you include the <code>ClientConfigurationVersion</code>
/// value with every call to <code>GetConfiguration</code>. The value to use for <code>ClientConfigurationVersion</code>
/// comes from the <code>ConfigurationVersion</code> attribute returned by <code>GetConfiguration</code>
/// when there is new or updated data, and should be saved for subsequent calls to <code>GetConfiguration</code>.
/// </para>
/// </important>
/// <para>
/// For more information about working with configurations, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html">Retrieving
/// the Configuration</a> in the <i>AppConfig User Guide</i>.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property ClientId.
/// <para>
/// 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.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property Configuration.
/// <para>
/// The configuration to get. Specify either the configuration name or the configuration
/// ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property Environment.
/// <para>
/// The environment to get. Specify either the environment name or the environment ID.
/// </para>
/// </summary>
[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;
}
}
} | 182 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the GetConfiguration operation.
/// </summary>
public partial class GetConfigurationResponse : AmazonWebServiceResponse
{
private string _configurationVersion;
private MemoryStream _content;
private string _contentType;
/// <summary>
/// Gets and sets the property ConfigurationVersion.
/// <para>
/// The configuration version.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string ConfigurationVersion
{
get { return this._configurationVersion; }
set { this._configurationVersion = value; }
}
// Check to see if ConfigurationVersion property is set
internal bool IsSetConfigurationVersion()
{
return this._configurationVersion != null;
}
/// <summary>
/// Gets and sets the property Content.
/// <para>
/// The content of the configuration or the configuration data.
/// </para>
/// <important>
/// <para>
/// The <code>Content</code> attribute only contains data if the system finds new or updated
/// configuration data. If there is no new or updated data and <code>ClientConfigurationVersion</code>
/// matches the version of the current configuration, AppConfig returns a <code>204 No
/// Content</code> HTTP response code and the <code>Content</code> value will be empty.
/// </para>
/// </important>
/// </summary>
[AWSProperty(Sensitive=true)]
public MemoryStream Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
/// <summary>
/// Gets and sets the property ContentType.
/// <para>
/// A standard MIME type describing the format of the configuration content. For more
/// information, see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.
/// </para>
/// </summary>
public string ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
// Check to see if ContentType property is set
internal bool IsSetContentType()
{
return this._contentType != null;
}
}
} | 106 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the GetDeployment operation.
/// Retrieves information about a configuration deployment.
/// </summary>
public partial class GetDeploymentRequest : AmazonAppConfigRequest
{
private string _applicationId;
private int? _deploymentNumber;
private string _environmentId;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The ID of the application that includes the deployment you want to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property DeploymentNumber.
/// <para>
/// The sequence number of the deployment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int DeploymentNumber
{
get { return this._deploymentNumber.GetValueOrDefault(); }
set { this._deploymentNumber = value; }
}
// Check to see if DeploymentNumber property is set
internal bool IsSetDeploymentNumber()
{
return this._deploymentNumber.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The ID of the environment that includes the deployment you want to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the GetDeployment operation.
/// </summary>
public partial class GetDeploymentResponse : AmazonWebServiceResponse
{
private string _applicationId;
private List<AppliedExtension> _appliedExtensions = new List<AppliedExtension>();
private DateTime? _completedAt;
private string _configurationLocationUri;
private string _configurationName;
private string _configurationProfileId;
private string _configurationVersion;
private int? _deploymentDurationInMinutes;
private int? _deploymentNumber;
private string _deploymentStrategyId;
private string _description;
private string _environmentId;
private List<DeploymentEvent> _eventLog = new List<DeploymentEvent>();
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
private string _kmsKeyArn;
private string _kmsKeyIdentifier;
private float? _percentageComplete;
private DateTime? _startedAt;
private DeploymentState _state;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The ID of the application that was deployed.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property AppliedExtensions.
/// <para>
/// A list of extensions that were processed as part of the deployment. The extensions
/// that were previously associated to the configuration profile, environment, or the
/// application when <code>StartDeployment</code> was called.
/// </para>
/// </summary>
public List<AppliedExtension> AppliedExtensions
{
get { return this._appliedExtensions; }
set { this._appliedExtensions = value; }
}
// Check to see if AppliedExtensions property is set
internal bool IsSetAppliedExtensions()
{
return this._appliedExtensions != null && this._appliedExtensions.Count > 0;
}
/// <summary>
/// Gets and sets the property CompletedAt.
/// <para>
/// The time the deployment completed.
/// </para>
/// </summary>
public DateTime CompletedAt
{
get { return this._completedAt.GetValueOrDefault(); }
set { this._completedAt = value; }
}
// Check to see if CompletedAt property is set
internal bool IsSetCompletedAt()
{
return this._completedAt.HasValue;
}
/// <summary>
/// Gets and sets the property ConfigurationLocationUri.
/// <para>
/// Information about the source location of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string ConfigurationLocationUri
{
get { return this._configurationLocationUri; }
set { this._configurationLocationUri = value; }
}
// Check to see if ConfigurationLocationUri property is set
internal bool IsSetConfigurationLocationUri()
{
return this._configurationLocationUri != null;
}
/// <summary>
/// Gets and sets the property ConfigurationName.
/// <para>
/// The name of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string ConfigurationName
{
get { return this._configurationName; }
set { this._configurationName = value; }
}
// Check to see if ConfigurationName property is set
internal bool IsSetConfigurationName()
{
return this._configurationName != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The ID of the configuration profile that was deployed.
/// </para>
/// </summary>
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationVersion.
/// <para>
/// The configuration version that was deployed.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string ConfigurationVersion
{
get { return this._configurationVersion; }
set { this._configurationVersion = value; }
}
// Check to see if ConfigurationVersion property is set
internal bool IsSetConfigurationVersion()
{
return this._configurationVersion != null;
}
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time the deployment lasted.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property DeploymentNumber.
/// <para>
/// The sequence number of the deployment.
/// </para>
/// </summary>
public int DeploymentNumber
{
get { return this._deploymentNumber.GetValueOrDefault(); }
set { this._deploymentNumber = value; }
}
// Check to see if DeploymentNumber property is set
internal bool IsSetDeploymentNumber()
{
return this._deploymentNumber.HasValue;
}
/// <summary>
/// Gets and sets the property DeploymentStrategyId.
/// <para>
/// The ID of the deployment strategy that was deployed.
/// </para>
/// </summary>
public string DeploymentStrategyId
{
get { return this._deploymentStrategyId; }
set { this._deploymentStrategyId = value; }
}
// Check to see if DeploymentStrategyId property is set
internal bool IsSetDeploymentStrategyId()
{
return this._deploymentStrategyId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the deployment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The ID of the environment that was deployed.
/// </para>
/// </summary>
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
/// <summary>
/// Gets and sets the property EventLog.
/// <para>
/// A list containing all events related to a deployment. The most recent events are displayed
/// first.
/// </para>
/// </summary>
public List<DeploymentEvent> EventLog
{
get { return this._eventLog; }
set { this._eventLog = value; }
}
// Check to see if EventLog property is set
internal bool IsSetEventLog()
{
return this._eventLog != null && this._eventLog.Count > 0;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// The amount of time that AppConfig monitored for alarms before considering the deployment
/// to be complete and no longer eligible for automatic rollback.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets to receive a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grew over time.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
/// <summary>
/// Gets and sets the property KmsKeyArn.
/// <para>
/// The Amazon Resource Name of the Key Management Service key used to encrypt configuration
/// data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service
/// (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in
/// Amazon Web Services Systems Manager Parameter Store.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string KmsKeyArn
{
get { return this._kmsKeyArn; }
set { this._kmsKeyArn = value; }
}
// Check to see if KmsKeyArn property is set
internal bool IsSetKmsKeyArn()
{
return this._kmsKeyArn != null;
}
/// <summary>
/// Gets and sets the property KmsKeyIdentifier.
/// <para>
/// The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to
/// encrypt the configuration data using a customer managed key.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string KmsKeyIdentifier
{
get { return this._kmsKeyIdentifier; }
set { this._kmsKeyIdentifier = value; }
}
// Check to see if KmsKeyIdentifier property is set
internal bool IsSetKmsKeyIdentifier()
{
return this._kmsKeyIdentifier != null;
}
/// <summary>
/// Gets and sets the property PercentageComplete.
/// <para>
/// The percentage of targets for which the deployment is available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float PercentageComplete
{
get { return this._percentageComplete.GetValueOrDefault(); }
set { this._percentageComplete = value; }
}
// Check to see if PercentageComplete property is set
internal bool IsSetPercentageComplete()
{
return this._percentageComplete.HasValue;
}
/// <summary>
/// Gets and sets the property StartedAt.
/// <para>
/// The time the deployment started.
/// </para>
/// </summary>
public DateTime StartedAt
{
get { return this._startedAt.GetValueOrDefault(); }
set { this._startedAt = value; }
}
// Check to see if StartedAt property is set
internal bool IsSetStartedAt()
{
return this._startedAt.HasValue;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the deployment.
/// </para>
/// </summary>
public DeploymentState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
} | 455 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the GetDeploymentStrategy operation.
/// Retrieves information about a deployment strategy. A deployment strategy defines important
/// criteria for rolling out your configuration to the designated targets. A deployment
/// strategy includes the overall duration required, a percentage of targets to receive
/// the deployment during each interval, an algorithm that defines how percentage grows,
/// and bake time.
/// </summary>
public partial class GetDeploymentStrategyRequest : AmazonAppConfigRequest
{
private string _deploymentStrategyId;
/// <summary>
/// Gets and sets the property DeploymentStrategyId.
/// <para>
/// The ID of the deployment strategy to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DeploymentStrategyId
{
get { return this._deploymentStrategyId; }
set { this._deploymentStrategyId = value; }
}
// Check to see if DeploymentStrategyId property is set
internal bool IsSetDeploymentStrategyId()
{
return this._deploymentStrategyId != null;
}
}
} | 63 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the GetDeploymentStrategy operation.
/// </summary>
public partial class GetDeploymentStrategyResponse : AmazonWebServiceResponse
{
private int? _deploymentDurationInMinutes;
private string _description;
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
private string _id;
private string _name;
private ReplicateTo _replicateTo;
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time the deployment lasted.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// The amount of time that AppConfig monitored for alarms before considering the deployment
/// to be complete and no longer eligible for automatic rollback.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets that received a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grew over time.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The deployment strategy ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property ReplicateTo.
/// <para>
/// Save the deployment strategy to a Systems Manager (SSM) document.
/// </para>
/// </summary>
public ReplicateTo ReplicateTo
{
get { return this._replicateTo; }
set { this._replicateTo = value; }
}
// Check to see if ReplicateTo property is set
internal bool IsSetReplicateTo()
{
return this._replicateTo != null;
}
}
} | 196 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the GetEnvironment operation.
/// Retrieves information about an environment. An environment is a deployment group of
/// AppConfig applications, such as applications in a <code>Production</code> environment
/// or in an <code>EU_Region</code> environment. Each configuration deployment targets
/// an environment. You can enable one or more Amazon CloudWatch alarms for an environment.
/// If an alarm is triggered during a deployment, AppConfig roles back the configuration.
/// </summary>
public partial class GetEnvironmentRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _environmentId;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The ID of the application that includes the environment you want to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The ID of the environment that you want to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
}
} | 83 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the GetEnvironment operation.
/// </summary>
public partial class GetEnvironmentResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _description;
private string _id;
private List<Monitor> _monitors = new List<Monitor>();
private string _name;
private EnvironmentState _state;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The environment ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Monitors.
/// <para>
/// Amazon CloudWatch alarms monitored during the deployment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public List<Monitor> Monitors
{
get { return this._monitors; }
set { this._monitors = value; }
}
// Check to see if Monitors property is set
internal bool IsSetMonitors()
{
return this._monitors != null && this._monitors.Count > 0;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the environment. An environment can be in one of the following states:
/// <code>READY_FOR_DEPLOYMENT</code>, <code>DEPLOYING</code>, <code>ROLLING_BACK</code>,
/// or <code>ROLLED_BACK</code>
/// </para>
/// </summary>
public EnvironmentState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
} | 157 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the GetExtensionAssociation operation.
/// Returns information about an AppConfig extension association. For more information
/// about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working
/// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>.
/// </summary>
public partial class GetExtensionAssociationRequest : AmazonAppConfigRequest
{
private string _extensionAssociationId;
/// <summary>
/// Gets and sets the property ExtensionAssociationId.
/// <para>
/// The extension association ID to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ExtensionAssociationId
{
get { return this._extensionAssociationId; }
set { this._extensionAssociationId = value; }
}
// Check to see if ExtensionAssociationId property is set
internal bool IsSetExtensionAssociationId()
{
return this._extensionAssociationId != null;
}
}
} | 61 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the GetExtensionAssociation operation.
/// </summary>
public partial class GetExtensionAssociationResponse : AmazonWebServiceResponse
{
private string _arn;
private string _extensionArn;
private int? _extensionVersionNumber;
private string _id;
private Dictionary<string, string> _parameters = new Dictionary<string, string>();
private string _resourceArn;
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The system-generated Amazon Resource Name (ARN) for the extension.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property ExtensionArn.
/// <para>
/// The ARN of the extension defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string ExtensionArn
{
get { return this._extensionArn; }
set { this._extensionArn = value; }
}
// Check to see if ExtensionArn property is set
internal bool IsSetExtensionArn()
{
return this._extensionArn != null;
}
/// <summary>
/// Gets and sets the property ExtensionVersionNumber.
/// <para>
/// The version number for the extension defined in the association.
/// </para>
/// </summary>
public int ExtensionVersionNumber
{
get { return this._extensionVersionNumber.GetValueOrDefault(); }
set { this._extensionVersionNumber = value; }
}
// Check to see if ExtensionVersionNumber property is set
internal bool IsSetExtensionVersionNumber()
{
return this._extensionVersionNumber.HasValue;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The system-generated ID for the association.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The parameter names and values defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public Dictionary<string, string> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The ARNs of applications, configuration profiles, or environments defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
} | 157 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the GetExtension operation.
/// Returns information about an AppConfig extension.
/// </summary>
public partial class GetExtensionRequest : AmazonAppConfigRequest
{
private string _extensionIdentifier;
private int? _versionNumber;
/// <summary>
/// Gets and sets the property ExtensionIdentifier.
/// <para>
/// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string ExtensionIdentifier
{
get { return this._extensionIdentifier; }
set { this._extensionIdentifier = value; }
}
// Check to see if ExtensionIdentifier property is set
internal bool IsSetExtensionIdentifier()
{
return this._extensionIdentifier != null;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The extension version number. If no version number was defined, AppConfig uses the
/// highest version.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the GetExtension operation.
/// </summary>
public partial class GetExtensionResponse : AmazonWebServiceResponse
{
private Dictionary<string, List<Action>> _actions = new Dictionary<string, List<Action>>();
private string _arn;
private string _description;
private string _id;
private string _name;
private Dictionary<string, Parameter> _parameters = new Dictionary<string, Parameter>();
private int? _versionNumber;
/// <summary>
/// Gets and sets the property Actions.
/// <para>
/// The actions defined in the extension.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public Dictionary<string, List<Action>> Actions
{
get { return this._actions; }
set { this._actions = value; }
}
// Check to see if Actions property is set
internal bool IsSetActions()
{
return this._actions != null && this._actions.Count > 0;
}
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The system-generated Amazon Resource Name (ARN) for the extension.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Information about the extension.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The system-generated ID of the extension.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The extension name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The parameters accepted by the extension. You specify parameter values when you associate
/// the extension to an AppConfig resource by using the <code>CreateExtensionAssociation</code>
/// API action. For Lambda extension actions, these parameters are included in the Lambda
/// request object.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public Dictionary<string, Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The extension version number.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 179 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the GetHostedConfigurationVersion operation.
/// Retrieves information about a specific configuration version.
/// </summary>
public partial class GetHostedConfigurationVersionRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
private int? _versionNumber;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The version.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the GetHostedConfigurationVersion operation.
/// </summary>
public partial class GetHostedConfigurationVersionResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _configurationProfileId;
private MemoryStream _content;
private string _contentType;
private string _description;
private string _versionLabel;
private int? _versionNumber;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property Content.
/// <para>
/// The content of the configuration or the configuration data.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public MemoryStream Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
/// <summary>
/// Gets and sets the property ContentType.
/// <para>
/// A standard MIME type describing the format of the configuration content. For more
/// information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
// Check to see if ContentType property is set
internal bool IsSetContentType()
{
return this._contentType != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property VersionLabel.
/// <para>
/// A user-defined label for an AppConfig hosted configuration version.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string VersionLabel
{
get { return this._versionLabel; }
set { this._versionLabel = value; }
}
// Check to see if VersionLabel property is set
internal bool IsSetVersionLabel()
{
return this._versionLabel != null;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The configuration version.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 176 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Information about the configuration.
/// </summary>
public partial class HostedConfigurationVersionSummary
{
private string _applicationId;
private string _configurationProfileId;
private string _contentType;
private string _description;
private string _versionLabel;
private int? _versionNumber;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property ContentType.
/// <para>
/// A standard MIME type describing the format of the configuration content. For more
/// information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
// Check to see if ContentType property is set
internal bool IsSetContentType()
{
return this._contentType != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property VersionLabel.
/// <para>
/// A user-defined label for an AppConfig hosted configuration version.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string VersionLabel
{
get { return this._versionLabel; }
set { this._versionLabel = value; }
}
// Check to see if VersionLabel property is set
internal bool IsSetVersionLabel()
{
return this._versionLabel != null;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The configuration version.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 156 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// There was an internal failure in the AppConfig service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InternalServerException : AmazonAppConfigException
{
/// <summary>
/// Constructs a new InternalServerException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InternalServerException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InternalServerException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InternalServerException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InternalServerException
/// </summary>
/// <param name="innerException"></param>
public InternalServerException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InternalServerException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InternalServerException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InternalServerException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InternalServerException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InternalServerException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InternalServerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Detailed information about the bad request exception error when creating a hosted
/// configuration version.
/// </summary>
public partial class InvalidConfigurationDetail
{
private string _constraint;
private string _location;
private string _reason;
private string _type;
private string _value;
/// <summary>
/// Gets and sets the property Constraint.
/// <para>
/// The invalid or out-of-range validation constraint in your JSON schema that failed
/// validation.
/// </para>
/// </summary>
public string Constraint
{
get { return this._constraint; }
set { this._constraint = value; }
}
// Check to see if Constraint property is set
internal bool IsSetConstraint()
{
return this._constraint != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// Location of the validation constraint in the configuration JSON schema that failed
/// validation.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
/// <summary>
/// Gets and sets the property Reason.
/// <para>
/// The reason for an invalid configuration error.
/// </para>
/// </summary>
public string Reason
{
get { return this._reason; }
set { this._reason = value; }
}
// Check to see if Reason property is set
internal bool IsSetReason()
{
return this._reason != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of error for an invalid configuration.
/// </para>
/// </summary>
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// Details about an error with Lambda when a synchronous extension experiences an error
/// during an invocation.
/// </para>
/// </summary>
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
} | 137 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ListApplications operation.
/// Lists all applications in your Amazon Web Services account.
/// </summary>
public partial class ListApplicationsRequest : AmazonAppConfigRequest
{
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to return for this call. The call also returns a token
/// that you can specify in a subsequent call to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A token to start the list. Next token is a pagination token generated by AppConfig
/// to describe what page the previous List call ended on. For the first List request,
/// the nextToken should not be set. On subsequent calls, the nextToken parameter should
/// be set to the previous responses nextToken value. Use this token to get the next set
/// of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 84 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ListApplications operation.
/// </summary>
public partial class ListApplicationsResponse : AmazonWebServiceResponse
{
private List<Application> _items = new List<Application>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// The elements from this collection.
/// </para>
/// </summary>
public List<Application> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. Use this token to get the next set
/// of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ListConfigurationProfiles operation.
/// Lists the configuration profiles for an application.
/// </summary>
public partial class ListConfigurationProfilesRequest : AmazonAppConfigRequest
{
private string _applicationId;
private int? _maxResults;
private string _nextToken;
private string _type;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to return for this call. The call also returns a token
/// that you can specify in a subsequent call to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A token to start the list. Use this token to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// A filter based on the type of configurations that the configuration profile contains.
/// A configuration can be a feature flag or a freeform configuration.
/// </para>
/// </summary>
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
} | 120 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ListConfigurationProfiles operation.
/// </summary>
public partial class ListConfigurationProfilesResponse : AmazonWebServiceResponse
{
private List<ConfigurationProfileSummary> _items = new List<ConfigurationProfileSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// The elements from this collection.
/// </para>
/// </summary>
public List<ConfigurationProfileSummary> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. Use this token to get the next set
/// of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ListDeployments operation.
/// Lists the deployments for an environment in descending deployment number order.
/// </summary>
public partial class ListDeploymentsRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _environmentId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The environment ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items that may be returned for this call. If there are items
/// that have not yet been returned, the response will include a non-null <code>NextToken</code>
/// that you can provide in a subsequent call to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token returned by a prior call to this operation indicating the next set of results
/// to be returned. If not specified, the operation will return the first set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 122 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ListDeployments operation.
/// </summary>
public partial class ListDeploymentsResponse : AmazonWebServiceResponse
{
private List<DeploymentSummary> _items = new List<DeploymentSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// The elements from this collection.
/// </para>
/// </summary>
public List<DeploymentSummary> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. Use this token to get the next set
/// of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ListDeploymentStrategies operation.
/// Lists deployment strategies.
/// </summary>
public partial class ListDeploymentStrategiesRequest : AmazonAppConfigRequest
{
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to return for this call. The call also returns a token
/// that you can specify in a subsequent call to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A token to start the list. Use this token to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ListDeploymentStrategies operation.
/// </summary>
public partial class ListDeploymentStrategiesResponse : AmazonWebServiceResponse
{
private List<DeploymentStrategy> _items = new List<DeploymentStrategy>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// The elements from this collection.
/// </para>
/// </summary>
public List<DeploymentStrategy> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. Use this token to get the next set
/// of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ListEnvironments operation.
/// Lists the environments for an application.
/// </summary>
public partial class ListEnvironmentsRequest : AmazonAppConfigRequest
{
private string _applicationId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to return for this call. The call also returns a token
/// that you can specify in a subsequent call to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A token to start the list. Use this token to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 100 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ListEnvironments operation.
/// </summary>
public partial class ListEnvironmentsResponse : AmazonWebServiceResponse
{
private List<Environment> _items = new List<Environment>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// The elements from this collection.
/// </para>
/// </summary>
public List<Environment> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. Use this token to get the next set
/// of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ListExtensionAssociations operation.
/// Lists all AppConfig extension associations in the account. For more information about
/// extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working
/// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>.
/// </summary>
public partial class ListExtensionAssociationsRequest : AmazonAppConfigRequest
{
private string _extensionIdentifier;
private int? _extensionVersionNumber;
private int? _maxResults;
private string _nextToken;
private string _resourceIdentifier;
/// <summary>
/// Gets and sets the property ExtensionIdentifier.
/// <para>
/// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string ExtensionIdentifier
{
get { return this._extensionIdentifier; }
set { this._extensionIdentifier = value; }
}
// Check to see if ExtensionIdentifier property is set
internal bool IsSetExtensionIdentifier()
{
return this._extensionIdentifier != null;
}
/// <summary>
/// Gets and sets the property ExtensionVersionNumber.
/// <para>
/// The version number for the extension defined in the association.
/// </para>
/// </summary>
public int ExtensionVersionNumber
{
get { return this._extensionVersionNumber.GetValueOrDefault(); }
set { this._extensionVersionNumber = value; }
}
// Check to see if ExtensionVersionNumber property is set
internal bool IsSetExtensionVersionNumber()
{
return this._extensionVersionNumber.HasValue;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to return for this call. The call also returns a token
/// that you can specify in a subsequent call to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A token to start the list. Use this token to get the next set of results or pass null
/// to get the first set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ResourceIdentifier.
/// <para>
/// The ARN of an application, configuration profile, or environment.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string ResourceIdentifier
{
get { return this._resourceIdentifier; }
set { this._resourceIdentifier = value; }
}
// Check to see if ResourceIdentifier property is set
internal bool IsSetResourceIdentifier()
{
return this._resourceIdentifier != null;
}
}
} | 142 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ListExtensionAssociations operation.
/// </summary>
public partial class ListExtensionAssociationsResponse : AmazonWebServiceResponse
{
private List<ExtensionAssociationSummary> _items = new List<ExtensionAssociationSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// The list of extension associations. Each item represents an extension association
/// to an application, environment, or configuration profile.
/// </para>
/// </summary>
public List<ExtensionAssociationSummary> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. Use this token to get the next set
/// of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ListExtensions operation.
/// Lists all custom and Amazon Web Services authored AppConfig extensions in the account.
/// For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working
/// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>.
/// </summary>
public partial class ListExtensionsRequest : AmazonAppConfigRequest
{
private int? _maxResults;
private string _name;
private string _nextToken;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to return for this call. The call also returns a token
/// that you can specify in a subsequent call to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The extension name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A token to start the list. Use this token to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 102 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ListExtensions operation.
/// </summary>
public partial class ListExtensionsResponse : AmazonWebServiceResponse
{
private List<ExtensionSummary> _items = new List<ExtensionSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// The list of available extensions. The list includes Amazon Web Services authored and
/// user-created extensions.
/// </para>
/// </summary>
public List<ExtensionSummary> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. Use this token to get the next set
/// of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ListHostedConfigurationVersions operation.
/// Lists configurations stored in the AppConfig hosted configuration store by version.
/// </summary>
public partial class ListHostedConfigurationVersionsRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
private int? _maxResults;
private string _nextToken;
private string _versionLabel;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to return for this call. The call also returns a token
/// that you can specify in a subsequent call to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A token to start the list. Use this token to get the next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property VersionLabel.
/// <para>
/// An optional filter that can be used to specify the version label of an AppConfig hosted
/// configuration version. This parameter supports filtering by prefix using a wildcard,
/// for example "v2*". If you don't specify an asterisk at the end of the value, only
/// an exact match is returned.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string VersionLabel
{
get { return this._versionLabel; }
set { this._versionLabel = value; }
}
// Check to see if VersionLabel property is set
internal bool IsSetVersionLabel()
{
return this._versionLabel != null;
}
}
} | 143 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ListHostedConfigurationVersions operation.
/// </summary>
public partial class ListHostedConfigurationVersionsResponse : AmazonWebServiceResponse
{
private List<HostedConfigurationVersionSummary> _items = new List<HostedConfigurationVersionSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// The elements from this collection.
/// </para>
/// </summary>
public List<HostedConfigurationVersionSummary> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. Use this token to get the next set
/// of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ListTagsForResource operation.
/// Retrieves the list of key-value tags assigned to the resource.
/// </summary>
public partial class ListTagsForResourceRequest : AmazonAppConfigRequest
{
private string _resourceArn;
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The resource ARN.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=20, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ListTagsForResource operation.
/// </summary>
public partial class ListTagsForResourceResponse : AmazonWebServiceResponse
{
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Metadata to assign to AppConfig resources. Tags help organize and categorize your
/// AppConfig resources. Each tag consists of a key and an optional value, both of which
/// you define.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 60 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Amazon CloudWatch alarms to monitor during the deployment process.
/// </summary>
public partial class Monitor
{
private string _alarmArn;
private string _alarmRoleArn;
/// <summary>
/// Gets and sets the property AlarmArn.
/// <para>
/// Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string AlarmArn
{
get { return this._alarmArn; }
set { this._alarmArn = value; }
}
// Check to see if AlarmArn property is set
internal bool IsSetAlarmArn()
{
return this._alarmArn != null;
}
/// <summary>
/// Gets and sets the property AlarmRoleArn.
/// <para>
/// ARN of an Identity and Access Management (IAM) role for AppConfig to monitor <code>AlarmArn</code>.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string AlarmRoleArn
{
get { return this._alarmRoleArn; }
set { this._alarmRoleArn = value; }
}
// Check to see if AlarmRoleArn property is set
internal bool IsSetAlarmRoleArn()
{
return this._alarmRoleArn != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// A value such as an Amazon Resource Name (ARN) or an Amazon Simple Notification Service
/// topic entered in an extension when invoked. Parameter values are specified in an extension
/// association. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working
/// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>.
/// </summary>
public partial class Parameter
{
private string _description;
private bool? _required;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Information about the parameter.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Required.
/// <para>
/// A parameter value must be specified in the extension association.
/// </para>
/// </summary>
public bool Required
{
get { return this._required.GetValueOrDefault(); }
set { this._required = value; }
}
// Check to see if Required property is set
internal bool IsSetRequired()
{
return this._required.HasValue;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// The configuration size is too large.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class PayloadTooLargeException : AmazonAppConfigException
{
private float? _limit;
private BytesMeasure _measure;
private float? _size;
/// <summary>
/// Constructs a new PayloadTooLargeException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public PayloadTooLargeException(string message)
: base(message) {}
/// <summary>
/// Construct instance of PayloadTooLargeException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public PayloadTooLargeException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of PayloadTooLargeException
/// </summary>
/// <param name="innerException"></param>
public PayloadTooLargeException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of PayloadTooLargeException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public PayloadTooLargeException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of PayloadTooLargeException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public PayloadTooLargeException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the PayloadTooLargeException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected PayloadTooLargeException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.Limit = (float)info.GetValue("Limit", typeof(float));
this.Measure = (BytesMeasure)info.GetValue("Measure", typeof(BytesMeasure));
this.Size = (float)info.GetValue("Size", typeof(float));
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("Limit", this.Limit);
info.AddValue("Measure", this.Measure);
info.AddValue("Size", this.Size);
}
#endif
/// <summary>
/// Gets and sets the property Limit.
/// </summary>
public float Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property Measure.
/// </summary>
public BytesMeasure Measure
{
get { return this._measure; }
set { this._measure = value; }
}
// Check to see if Measure property is set
internal bool IsSetMeasure()
{
return this._measure != null;
}
/// <summary>
/// Gets and sets the property Size.
/// </summary>
public float Size
{
get { return this._size.GetValueOrDefault(); }
set { this._size = value; }
}
// Check to see if Size property is set
internal bool IsSetSize()
{
return this._size.HasValue;
}
}
} | 178 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// The requested resource could not be found.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceNotFoundException : AmazonAppConfigException
{
private string _resourceName;
/// <summary>
/// Constructs a new ResourceNotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceNotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceNotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="innerException"></param>
public ResourceNotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ResourceNotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ResourceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.ResourceName = (string)info.GetValue("ResourceName", typeof(string));
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("ResourceName", this.ResourceName);
}
#endif
/// <summary>
/// Gets and sets the property ResourceName.
/// </summary>
public string ResourceName
{
get { return this._resourceName; }
set { this._resourceName = value; }
}
// Check to see if ResourceName property is set
internal bool IsSetResourceName()
{
return this._resourceName != null;
}
}
} | 142 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// The number of hosted configuration versions exceeds the limit for the AppConfig hosted
/// configuration store. Delete one or more versions and try again.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ServiceQuotaExceededException : AmazonAppConfigException
{
/// <summary>
/// Constructs a new ServiceQuotaExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ServiceQuotaExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ServiceQuotaExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="innerException"></param>
public ServiceQuotaExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ServiceQuotaExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ServiceQuotaExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ServiceQuotaExceededException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ServiceQuotaExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 125 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the StartDeployment operation.
/// Starts a deployment.
/// </summary>
public partial class StartDeploymentRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
private string _configurationVersion;
private string _deploymentStrategyId;
private string _description;
private string _environmentId;
private string _kmsKeyIdentifier;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationVersion.
/// <para>
/// The configuration version to deploy. If deploying an AppConfig hosted configuration
/// version, you can specify either the version number or version label.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1024)]
public string ConfigurationVersion
{
get { return this._configurationVersion; }
set { this._configurationVersion = value; }
}
// Check to see if ConfigurationVersion property is set
internal bool IsSetConfigurationVersion()
{
return this._configurationVersion != null;
}
/// <summary>
/// Gets and sets the property DeploymentStrategyId.
/// <para>
/// The deployment strategy ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DeploymentStrategyId
{
get { return this._deploymentStrategyId; }
set { this._deploymentStrategyId = value; }
}
// Check to see if DeploymentStrategyId property is set
internal bool IsSetDeploymentStrategyId()
{
return this._deploymentStrategyId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the deployment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The environment ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
/// <summary>
/// Gets and sets the property KmsKeyIdentifier.
/// <para>
/// The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to
/// encrypt the configuration data using a customer managed key.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string KmsKeyIdentifier
{
get { return this._kmsKeyIdentifier; }
set { this._kmsKeyIdentifier = value; }
}
// Check to see if KmsKeyIdentifier property is set
internal bool IsSetKmsKeyIdentifier()
{
return this._kmsKeyIdentifier != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Metadata to assign to the deployment. Tags help organize and categorize your AppConfig
/// resources. Each tag consists of a key and an optional value, both of which you define.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 202 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the StartDeployment operation.
/// </summary>
public partial class StartDeploymentResponse : AmazonWebServiceResponse
{
private string _applicationId;
private List<AppliedExtension> _appliedExtensions = new List<AppliedExtension>();
private DateTime? _completedAt;
private string _configurationLocationUri;
private string _configurationName;
private string _configurationProfileId;
private string _configurationVersion;
private int? _deploymentDurationInMinutes;
private int? _deploymentNumber;
private string _deploymentStrategyId;
private string _description;
private string _environmentId;
private List<DeploymentEvent> _eventLog = new List<DeploymentEvent>();
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
private string _kmsKeyArn;
private string _kmsKeyIdentifier;
private float? _percentageComplete;
private DateTime? _startedAt;
private DeploymentState _state;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The ID of the application that was deployed.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property AppliedExtensions.
/// <para>
/// A list of extensions that were processed as part of the deployment. The extensions
/// that were previously associated to the configuration profile, environment, or the
/// application when <code>StartDeployment</code> was called.
/// </para>
/// </summary>
public List<AppliedExtension> AppliedExtensions
{
get { return this._appliedExtensions; }
set { this._appliedExtensions = value; }
}
// Check to see if AppliedExtensions property is set
internal bool IsSetAppliedExtensions()
{
return this._appliedExtensions != null && this._appliedExtensions.Count > 0;
}
/// <summary>
/// Gets and sets the property CompletedAt.
/// <para>
/// The time the deployment completed.
/// </para>
/// </summary>
public DateTime CompletedAt
{
get { return this._completedAt.GetValueOrDefault(); }
set { this._completedAt = value; }
}
// Check to see if CompletedAt property is set
internal bool IsSetCompletedAt()
{
return this._completedAt.HasValue;
}
/// <summary>
/// Gets and sets the property ConfigurationLocationUri.
/// <para>
/// Information about the source location of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string ConfigurationLocationUri
{
get { return this._configurationLocationUri; }
set { this._configurationLocationUri = value; }
}
// Check to see if ConfigurationLocationUri property is set
internal bool IsSetConfigurationLocationUri()
{
return this._configurationLocationUri != null;
}
/// <summary>
/// Gets and sets the property ConfigurationName.
/// <para>
/// The name of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string ConfigurationName
{
get { return this._configurationName; }
set { this._configurationName = value; }
}
// Check to see if ConfigurationName property is set
internal bool IsSetConfigurationName()
{
return this._configurationName != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The ID of the configuration profile that was deployed.
/// </para>
/// </summary>
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationVersion.
/// <para>
/// The configuration version that was deployed.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string ConfigurationVersion
{
get { return this._configurationVersion; }
set { this._configurationVersion = value; }
}
// Check to see if ConfigurationVersion property is set
internal bool IsSetConfigurationVersion()
{
return this._configurationVersion != null;
}
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time the deployment lasted.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property DeploymentNumber.
/// <para>
/// The sequence number of the deployment.
/// </para>
/// </summary>
public int DeploymentNumber
{
get { return this._deploymentNumber.GetValueOrDefault(); }
set { this._deploymentNumber = value; }
}
// Check to see if DeploymentNumber property is set
internal bool IsSetDeploymentNumber()
{
return this._deploymentNumber.HasValue;
}
/// <summary>
/// Gets and sets the property DeploymentStrategyId.
/// <para>
/// The ID of the deployment strategy that was deployed.
/// </para>
/// </summary>
public string DeploymentStrategyId
{
get { return this._deploymentStrategyId; }
set { this._deploymentStrategyId = value; }
}
// Check to see if DeploymentStrategyId property is set
internal bool IsSetDeploymentStrategyId()
{
return this._deploymentStrategyId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the deployment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The ID of the environment that was deployed.
/// </para>
/// </summary>
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
/// <summary>
/// Gets and sets the property EventLog.
/// <para>
/// A list containing all events related to a deployment. The most recent events are displayed
/// first.
/// </para>
/// </summary>
public List<DeploymentEvent> EventLog
{
get { return this._eventLog; }
set { this._eventLog = value; }
}
// Check to see if EventLog property is set
internal bool IsSetEventLog()
{
return this._eventLog != null && this._eventLog.Count > 0;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// The amount of time that AppConfig monitored for alarms before considering the deployment
/// to be complete and no longer eligible for automatic rollback.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets to receive a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grew over time.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
/// <summary>
/// Gets and sets the property KmsKeyArn.
/// <para>
/// The Amazon Resource Name of the Key Management Service key used to encrypt configuration
/// data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service
/// (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in
/// Amazon Web Services Systems Manager Parameter Store.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string KmsKeyArn
{
get { return this._kmsKeyArn; }
set { this._kmsKeyArn = value; }
}
// Check to see if KmsKeyArn property is set
internal bool IsSetKmsKeyArn()
{
return this._kmsKeyArn != null;
}
/// <summary>
/// Gets and sets the property KmsKeyIdentifier.
/// <para>
/// The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to
/// encrypt the configuration data using a customer managed key.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string KmsKeyIdentifier
{
get { return this._kmsKeyIdentifier; }
set { this._kmsKeyIdentifier = value; }
}
// Check to see if KmsKeyIdentifier property is set
internal bool IsSetKmsKeyIdentifier()
{
return this._kmsKeyIdentifier != null;
}
/// <summary>
/// Gets and sets the property PercentageComplete.
/// <para>
/// The percentage of targets for which the deployment is available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float PercentageComplete
{
get { return this._percentageComplete.GetValueOrDefault(); }
set { this._percentageComplete = value; }
}
// Check to see if PercentageComplete property is set
internal bool IsSetPercentageComplete()
{
return this._percentageComplete.HasValue;
}
/// <summary>
/// Gets and sets the property StartedAt.
/// <para>
/// The time the deployment started.
/// </para>
/// </summary>
public DateTime StartedAt
{
get { return this._startedAt.GetValueOrDefault(); }
set { this._startedAt = value; }
}
// Check to see if StartedAt property is set
internal bool IsSetStartedAt()
{
return this._startedAt.HasValue;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the deployment.
/// </para>
/// </summary>
public DeploymentState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
} | 455 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the StopDeployment operation.
/// Stops a deployment. This API action works only on deployments that have a status of
/// <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>.
/// </summary>
public partial class StopDeploymentRequest : AmazonAppConfigRequest
{
private string _applicationId;
private int? _deploymentNumber;
private string _environmentId;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property DeploymentNumber.
/// <para>
/// The sequence number of the deployment.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int DeploymentNumber
{
get { return this._deploymentNumber.GetValueOrDefault(); }
set { this._deploymentNumber = value; }
}
// Check to see if DeploymentNumber property is set
internal bool IsSetDeploymentNumber()
{
return this._deploymentNumber.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The environment ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
}
} | 100 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the StopDeployment operation.
/// </summary>
public partial class StopDeploymentResponse : AmazonWebServiceResponse
{
private string _applicationId;
private List<AppliedExtension> _appliedExtensions = new List<AppliedExtension>();
private DateTime? _completedAt;
private string _configurationLocationUri;
private string _configurationName;
private string _configurationProfileId;
private string _configurationVersion;
private int? _deploymentDurationInMinutes;
private int? _deploymentNumber;
private string _deploymentStrategyId;
private string _description;
private string _environmentId;
private List<DeploymentEvent> _eventLog = new List<DeploymentEvent>();
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
private string _kmsKeyArn;
private string _kmsKeyIdentifier;
private float? _percentageComplete;
private DateTime? _startedAt;
private DeploymentState _state;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The ID of the application that was deployed.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property AppliedExtensions.
/// <para>
/// A list of extensions that were processed as part of the deployment. The extensions
/// that were previously associated to the configuration profile, environment, or the
/// application when <code>StartDeployment</code> was called.
/// </para>
/// </summary>
public List<AppliedExtension> AppliedExtensions
{
get { return this._appliedExtensions; }
set { this._appliedExtensions = value; }
}
// Check to see if AppliedExtensions property is set
internal bool IsSetAppliedExtensions()
{
return this._appliedExtensions != null && this._appliedExtensions.Count > 0;
}
/// <summary>
/// Gets and sets the property CompletedAt.
/// <para>
/// The time the deployment completed.
/// </para>
/// </summary>
public DateTime CompletedAt
{
get { return this._completedAt.GetValueOrDefault(); }
set { this._completedAt = value; }
}
// Check to see if CompletedAt property is set
internal bool IsSetCompletedAt()
{
return this._completedAt.HasValue;
}
/// <summary>
/// Gets and sets the property ConfigurationLocationUri.
/// <para>
/// Information about the source location of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string ConfigurationLocationUri
{
get { return this._configurationLocationUri; }
set { this._configurationLocationUri = value; }
}
// Check to see if ConfigurationLocationUri property is set
internal bool IsSetConfigurationLocationUri()
{
return this._configurationLocationUri != null;
}
/// <summary>
/// Gets and sets the property ConfigurationName.
/// <para>
/// The name of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string ConfigurationName
{
get { return this._configurationName; }
set { this._configurationName = value; }
}
// Check to see if ConfigurationName property is set
internal bool IsSetConfigurationName()
{
return this._configurationName != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The ID of the configuration profile that was deployed.
/// </para>
/// </summary>
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationVersion.
/// <para>
/// The configuration version that was deployed.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string ConfigurationVersion
{
get { return this._configurationVersion; }
set { this._configurationVersion = value; }
}
// Check to see if ConfigurationVersion property is set
internal bool IsSetConfigurationVersion()
{
return this._configurationVersion != null;
}
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time the deployment lasted.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property DeploymentNumber.
/// <para>
/// The sequence number of the deployment.
/// </para>
/// </summary>
public int DeploymentNumber
{
get { return this._deploymentNumber.GetValueOrDefault(); }
set { this._deploymentNumber = value; }
}
// Check to see if DeploymentNumber property is set
internal bool IsSetDeploymentNumber()
{
return this._deploymentNumber.HasValue;
}
/// <summary>
/// Gets and sets the property DeploymentStrategyId.
/// <para>
/// The ID of the deployment strategy that was deployed.
/// </para>
/// </summary>
public string DeploymentStrategyId
{
get { return this._deploymentStrategyId; }
set { this._deploymentStrategyId = value; }
}
// Check to see if DeploymentStrategyId property is set
internal bool IsSetDeploymentStrategyId()
{
return this._deploymentStrategyId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the deployment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The ID of the environment that was deployed.
/// </para>
/// </summary>
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
/// <summary>
/// Gets and sets the property EventLog.
/// <para>
/// A list containing all events related to a deployment. The most recent events are displayed
/// first.
/// </para>
/// </summary>
public List<DeploymentEvent> EventLog
{
get { return this._eventLog; }
set { this._eventLog = value; }
}
// Check to see if EventLog property is set
internal bool IsSetEventLog()
{
return this._eventLog != null && this._eventLog.Count > 0;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// The amount of time that AppConfig monitored for alarms before considering the deployment
/// to be complete and no longer eligible for automatic rollback.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets to receive a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grew over time.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
/// <summary>
/// Gets and sets the property KmsKeyArn.
/// <para>
/// The Amazon Resource Name of the Key Management Service key used to encrypt configuration
/// data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service
/// (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in
/// Amazon Web Services Systems Manager Parameter Store.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string KmsKeyArn
{
get { return this._kmsKeyArn; }
set { this._kmsKeyArn = value; }
}
// Check to see if KmsKeyArn property is set
internal bool IsSetKmsKeyArn()
{
return this._kmsKeyArn != null;
}
/// <summary>
/// Gets and sets the property KmsKeyIdentifier.
/// <para>
/// The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to
/// encrypt the configuration data using a customer managed key.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string KmsKeyIdentifier
{
get { return this._kmsKeyIdentifier; }
set { this._kmsKeyIdentifier = value; }
}
// Check to see if KmsKeyIdentifier property is set
internal bool IsSetKmsKeyIdentifier()
{
return this._kmsKeyIdentifier != null;
}
/// <summary>
/// Gets and sets the property PercentageComplete.
/// <para>
/// The percentage of targets for which the deployment is available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float PercentageComplete
{
get { return this._percentageComplete.GetValueOrDefault(); }
set { this._percentageComplete = value; }
}
// Check to see if PercentageComplete property is set
internal bool IsSetPercentageComplete()
{
return this._percentageComplete.HasValue;
}
/// <summary>
/// Gets and sets the property StartedAt.
/// <para>
/// The time the deployment started.
/// </para>
/// </summary>
public DateTime StartedAt
{
get { return this._startedAt.GetValueOrDefault(); }
set { this._startedAt = value; }
}
// Check to see if StartedAt property is set
internal bool IsSetStartedAt()
{
return this._startedAt.HasValue;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the deployment.
/// </para>
/// </summary>
public DeploymentState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
} | 455 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the TagResource operation.
/// Assigns metadata to an AppConfig resource. Tags help organize and categorize your
/// AppConfig resources. Each tag consists of a key and an optional value, both of which
/// you define. You can specify a maximum of 50 tags for a resource.
/// </summary>
public partial class TagResourceRequest : AmazonAppConfigRequest
{
private string _resourceArn;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The ARN of the resource for which to retrieve tags.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=20, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The key-value string map. The valid character set is [a-zA-Z+-=._:/]. The tag key
/// can be up to 128 characters and must not start with <code>aws:</code>. The tag value
/// can be up to 256 characters.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 83 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the TagResource operation.
/// </summary>
public partial class TagResourceResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the UntagResource operation.
/// Deletes a tag key and value from an AppConfig resource.
/// </summary>
public partial class UntagResourceRequest : AmazonAppConfigRequest
{
private string _resourceArn;
private List<string> _tagKeys = new List<string>();
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The ARN of the resource for which to remove tags.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=20, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
/// <summary>
/// Gets and sets the property TagKeys.
/// <para>
/// The tag keys to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=50)]
public List<string> TagKeys
{
get { return this._tagKeys; }
set { this._tagKeys = value; }
}
// Check to see if TagKeys property is set
internal bool IsSetTagKeys()
{
return this._tagKeys != null && this._tagKeys.Count > 0;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the UntagResource operation.
/// </summary>
public partial class UntagResourceResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the UpdateApplication operation.
/// Updates an application.
/// </summary>
public partial class UpdateApplicationRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _description;
private string _name;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the application.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the application.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the UpdateApplication operation.
/// </summary>
public partial class UpdateApplicationResponse : AmazonWebServiceResponse
{
private string _description;
private string _id;
private string _name;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the application.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The application name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 97 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the UpdateConfigurationProfile operation.
/// Updates a configuration profile.
/// </summary>
public partial class UpdateConfigurationProfileRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
private string _description;
private string _name;
private string _retrievalRoleArn;
private List<Validator> _validators = new List<Validator>();
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The ID of the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property RetrievalRoleArn.
/// <para>
/// The ARN of an IAM role with permission to access the configuration at the specified
/// <code>LocationUri</code>.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string RetrievalRoleArn
{
get { return this._retrievalRoleArn; }
set { this._retrievalRoleArn = value; }
}
// Check to see if RetrievalRoleArn property is set
internal bool IsSetRetrievalRoleArn()
{
return this._retrievalRoleArn != null;
}
/// <summary>
/// Gets and sets the property Validators.
/// <para>
/// A list of methods for validating the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2)]
public List<Validator> Validators
{
get { return this._validators; }
set { this._validators = value; }
}
// Check to see if Validators property is set
internal bool IsSetValidators()
{
return this._validators != null && this._validators.Count > 0;
}
}
} | 160 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the UpdateConfigurationProfile operation.
/// </summary>
public partial class UpdateConfigurationProfileResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _description;
private string _id;
private string _locationUri;
private string _name;
private string _retrievalRoleArn;
private string _type;
private List<Validator> _validators = new List<Validator>();
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The configuration profile description.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property LocationUri.
/// <para>
/// The URI location of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string LocationUri
{
get { return this._locationUri; }
set { this._locationUri = value; }
}
// Check to see if LocationUri property is set
internal bool IsSetLocationUri()
{
return this._locationUri != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property RetrievalRoleArn.
/// <para>
/// The ARN of an IAM role with permission to access the configuration at the specified
/// <code>LocationUri</code>.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string RetrievalRoleArn
{
get { return this._retrievalRoleArn; }
set { this._retrievalRoleArn = value; }
}
// Check to see if RetrievalRoleArn property is set
internal bool IsSetRetrievalRoleArn()
{
return this._retrievalRoleArn != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of configurations contained in the profile. AppConfig supports <code>feature
/// flags</code> and <code>freeform</code> configurations. We recommend you create feature
/// flag configurations to enable or disable new features and freeform configurations
/// to distribute configurations to an application. When calling this API, enter one of
/// the following values for <code>Type</code>:
/// </para>
///
/// <para>
/// <code>AWS.AppConfig.FeatureFlags</code>
/// </para>
///
/// <para>
/// <code>AWS.Freeform</code>
/// </para>
/// </summary>
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property Validators.
/// <para>
/// A list of methods for validating the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2)]
public List<Validator> Validators
{
get { return this._validators; }
set { this._validators = value; }
}
// Check to see if Validators property is set
internal bool IsSetValidators()
{
return this._validators != null && this._validators.Count > 0;
}
}
} | 208 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the UpdateDeploymentStrategy operation.
/// Updates a deployment strategy.
/// </summary>
public partial class UpdateDeploymentStrategyRequest : AmazonAppConfigRequest
{
private int? _deploymentDurationInMinutes;
private string _deploymentStrategyId;
private string _description;
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time for a deployment to last.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property DeploymentStrategyId.
/// <para>
/// The deployment strategy ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DeploymentStrategyId
{
get { return this._deploymentStrategyId; }
set { this._deploymentStrategyId = value; }
}
// Check to see if DeploymentStrategyId property is set
internal bool IsSetDeploymentStrategyId()
{
return this._deploymentStrategyId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// The amount of time that AppConfig monitors for alarms before considering the deployment
/// to be complete and no longer eligible for automatic rollback.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets to receive a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grows over time. AppConfig supports the
/// following growth types:
/// </para>
///
/// <para>
/// <b>Linear</b>: For this type, AppConfig processes the deployment by increments of
/// the growth factor evenly distributed over the deployment time. For example, a linear
/// deployment that uses a growth factor of 20 initially makes the configuration available
/// to 20 percent of the targets. After 1/5th of the deployment time has passed, the system
/// updates the percentage to 40 percent. This continues until 100% of the targets are
/// set to receive the deployed configuration.
/// </para>
///
/// <para>
/// <b>Exponential</b>: For this type, AppConfig processes the deployment exponentially
/// using the following formula: <code>G*(2^N)</code>. In this formula, <code>G</code>
/// is the growth factor specified by the user and <code>N</code> is the number of steps
/// until the configuration is deployed to all targets. For example, if you specify a
/// growth factor of 2, then the system rolls out the configuration as follows:
/// </para>
///
/// <para>
/// <code>2*(2^0)</code>
/// </para>
///
/// <para>
/// <code>2*(2^1)</code>
/// </para>
///
/// <para>
/// <code>2*(2^2)</code>
/// </para>
///
/// <para>
/// Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4%
/// of the targets, 8% of the targets, and continues until the configuration has been
/// deployed to all targets.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
}
} | 195 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the UpdateDeploymentStrategy operation.
/// </summary>
public partial class UpdateDeploymentStrategyResponse : AmazonWebServiceResponse
{
private int? _deploymentDurationInMinutes;
private string _description;
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
private string _id;
private string _name;
private ReplicateTo _replicateTo;
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time the deployment lasted.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// The amount of time that AppConfig monitored for alarms before considering the deployment
/// to be complete and no longer eligible for automatic rollback.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets that received a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grew over time.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The deployment strategy ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property ReplicateTo.
/// <para>
/// Save the deployment strategy to a Systems Manager (SSM) document.
/// </para>
/// </summary>
public ReplicateTo ReplicateTo
{
get { return this._replicateTo; }
set { this._replicateTo = value; }
}
// Check to see if ReplicateTo property is set
internal bool IsSetReplicateTo()
{
return this._replicateTo != null;
}
}
} | 196 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the UpdateEnvironment operation.
/// Updates an environment.
/// </summary>
public partial class UpdateEnvironmentRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _description;
private string _environmentId;
private List<Monitor> _monitors = new List<Monitor>();
private string _name;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property EnvironmentId.
/// <para>
/// The environment ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
/// <summary>
/// Gets and sets the property Monitors.
/// <para>
/// Amazon CloudWatch alarms to monitor during the deployment process.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public List<Monitor> Monitors
{
get { return this._monitors; }
set { this._monitors = value; }
}
// Check to see if Monitors property is set
internal bool IsSetMonitors()
{
return this._monitors != null && this._monitors.Count > 0;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 139 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the UpdateEnvironment operation.
/// </summary>
public partial class UpdateEnvironmentResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _description;
private string _id;
private List<Monitor> _monitors = new List<Monitor>();
private string _name;
private EnvironmentState _state;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The environment ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Monitors.
/// <para>
/// Amazon CloudWatch alarms monitored during the deployment.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public List<Monitor> Monitors
{
get { return this._monitors; }
set { this._monitors = value; }
}
// Check to see if Monitors property is set
internal bool IsSetMonitors()
{
return this._monitors != null && this._monitors.Count > 0;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the environment.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the environment. An environment can be in one of the following states:
/// <code>READY_FOR_DEPLOYMENT</code>, <code>DEPLOYING</code>, <code>ROLLING_BACK</code>,
/// or <code>ROLLED_BACK</code>
/// </para>
/// </summary>
public EnvironmentState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
} | 157 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the UpdateExtensionAssociation operation.
/// Updates an association. For more information about extensions and associations, see
/// <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working
/// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>.
/// </summary>
public partial class UpdateExtensionAssociationRequest : AmazonAppConfigRequest
{
private string _extensionAssociationId;
private Dictionary<string, string> _parameters = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property ExtensionAssociationId.
/// <para>
/// The system-generated ID for the association.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ExtensionAssociationId
{
get { return this._extensionAssociationId; }
set { this._extensionAssociationId = value; }
}
// Check to see if ExtensionAssociationId property is set
internal bool IsSetExtensionAssociationId()
{
return this._extensionAssociationId != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The parameter names and values defined in the extension.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public Dictionary<string, string> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
}
} | 81 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the UpdateExtensionAssociation operation.
/// </summary>
public partial class UpdateExtensionAssociationResponse : AmazonWebServiceResponse
{
private string _arn;
private string _extensionArn;
private int? _extensionVersionNumber;
private string _id;
private Dictionary<string, string> _parameters = new Dictionary<string, string>();
private string _resourceArn;
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The system-generated Amazon Resource Name (ARN) for the extension.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property ExtensionArn.
/// <para>
/// The ARN of the extension defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string ExtensionArn
{
get { return this._extensionArn; }
set { this._extensionArn = value; }
}
// Check to see if ExtensionArn property is set
internal bool IsSetExtensionArn()
{
return this._extensionArn != null;
}
/// <summary>
/// Gets and sets the property ExtensionVersionNumber.
/// <para>
/// The version number for the extension defined in the association.
/// </para>
/// </summary>
public int ExtensionVersionNumber
{
get { return this._extensionVersionNumber.GetValueOrDefault(); }
set { this._extensionVersionNumber = value; }
}
// Check to see if ExtensionVersionNumber property is set
internal bool IsSetExtensionVersionNumber()
{
return this._extensionVersionNumber.HasValue;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The system-generated ID for the association.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The parameter names and values defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public Dictionary<string, string> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The ARNs of applications, configuration profiles, or environments defined in the association.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
} | 157 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the UpdateExtension operation.
/// Updates an AppConfig extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working
/// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>.
/// </summary>
public partial class UpdateExtensionRequest : AmazonAppConfigRequest
{
private Dictionary<string, List<Action>> _actions = new Dictionary<string, List<Action>>();
private string _description;
private string _extensionIdentifier;
private Dictionary<string, Parameter> _parameters = new Dictionary<string, Parameter>();
private int? _versionNumber;
/// <summary>
/// Gets and sets the property Actions.
/// <para>
/// The actions defined in the extension.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public Dictionary<string, List<Action>> Actions
{
get { return this._actions; }
set { this._actions = value; }
}
// Check to see if Actions property is set
internal bool IsSetActions()
{
return this._actions != null && this._actions.Count > 0;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Information about the extension.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property ExtensionIdentifier.
/// <para>
/// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string ExtensionIdentifier
{
get { return this._extensionIdentifier; }
set { this._extensionIdentifier = value; }
}
// Check to see if ExtensionIdentifier property is set
internal bool IsSetExtensionIdentifier()
{
return this._extensionIdentifier != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// One or more parameters for the actions called by the extension.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public Dictionary<string, Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The extension version number.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 139 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the UpdateExtension operation.
/// </summary>
public partial class UpdateExtensionResponse : AmazonWebServiceResponse
{
private Dictionary<string, List<Action>> _actions = new Dictionary<string, List<Action>>();
private string _arn;
private string _description;
private string _id;
private string _name;
private Dictionary<string, Parameter> _parameters = new Dictionary<string, Parameter>();
private int? _versionNumber;
/// <summary>
/// Gets and sets the property Actions.
/// <para>
/// The actions defined in the extension.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public Dictionary<string, List<Action>> Actions
{
get { return this._actions; }
set { this._actions = value; }
}
// Check to see if Actions property is set
internal bool IsSetActions()
{
return this._actions != null && this._actions.Count > 0;
}
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The system-generated Amazon Resource Name (ARN) for the extension.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Information about the extension.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The system-generated ID of the extension.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The extension name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The parameters accepted by the extension. You specify parameter values when you associate
/// the extension to an AppConfig resource by using the <code>CreateExtensionAssociation</code>
/// API action. For Lambda extension actions, these parameters are included in the Lambda
/// request object.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public Dictionary<string, Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The extension version number.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 179 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// Container for the parameters to the ValidateConfiguration operation.
/// Uses the validators in a configuration profile to validate a configuration.
/// </summary>
public partial class ValidateConfigurationRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
private string _configurationVersion;
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationProfileId.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
/// <summary>
/// Gets and sets the property ConfigurationVersion.
/// <para>
/// The version of the configuration to validate.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1024)]
public string ConfigurationVersion
{
get { return this._configurationVersion; }
set { this._configurationVersion = value; }
}
// Check to see if ConfigurationVersion property is set
internal bool IsSetConfigurationVersion()
{
return this._configurationVersion != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// This is the response object from the ValidateConfiguration operation.
/// </summary>
public partial class ValidateConfigurationResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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
{
/// <summary>
/// A validator provides a syntactic or semantic check to ensure the configuration that
/// you want to deploy functions as intended. To validate your application configuration
/// data, you provide a schema or an Amazon Web Services Lambda function that runs against
/// the configuration. The configuration deployment or update can only proceed when the
/// configuration data is valid.
/// </summary>
public partial class Validator
{
private string _content;
private ValidatorType _type;
/// <summary>
/// Gets and sets the property Content.
/// <para>
/// Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=0, Max=32768)]
public string Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// AppConfig supports validators of type <code>JSON_SCHEMA</code> and <code>LAMBDA</code>
///
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ValidatorType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
} | 83 |
aws-sdk-net | aws | C# | /*
* 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.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AppConfig.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppConfig.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ActionInvocation Object
/// </summary>
public class ActionInvocationUnmarshaller : IUnmarshaller<ActionInvocation, XmlUnmarshallerContext>, IUnmarshaller<ActionInvocation, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ActionInvocation IUnmarshaller<ActionInvocation, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ActionInvocation Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ActionInvocation unmarshalledObject = new ActionInvocation();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ActionName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ActionName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ErrorCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ErrorCode = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ErrorMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ErrorMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ExtensionIdentifier", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ExtensionIdentifier = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("InvocationId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.InvocationId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("RoleArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RoleArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Uri", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Uri = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ActionInvocationUnmarshaller _instance = new ActionInvocationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ActionInvocationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 128 |
aws-sdk-net | aws | C# | /*
* 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.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AppConfig.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppConfig.Model.Internal.MarshallTransformations
{
/// <summary>
/// Action Marshaller
/// </summary>
public class ActionMarshaller : IRequestMarshaller<Action, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(Action requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetDescription())
{
context.Writer.WritePropertyName("Description");
context.Writer.Write(requestObject.Description);
}
if(requestObject.IsSetName())
{
context.Writer.WritePropertyName("Name");
context.Writer.Write(requestObject.Name);
}
if(requestObject.IsSetRoleArn())
{
context.Writer.WritePropertyName("RoleArn");
context.Writer.Write(requestObject.RoleArn);
}
if(requestObject.IsSetUri())
{
context.Writer.WritePropertyName("Uri");
context.Writer.Write(requestObject.Uri);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ActionMarshaller Instance = new ActionMarshaller();
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AppConfig.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppConfig.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Action Object
/// </summary>
public class ActionUnmarshaller : IUnmarshaller<Action, XmlUnmarshallerContext>, IUnmarshaller<Action, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Action IUnmarshaller<Action, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public Action Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Action unmarshalledObject = new Action();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("Description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("RoleArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RoleArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Uri", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Uri = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ActionUnmarshaller _instance = new ActionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ActionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 110 |
aws-sdk-net | aws | C# | /*
* 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.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AppConfig.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppConfig.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Application Object
/// </summary>
public class ApplicationUnmarshaller : IUnmarshaller<Application, XmlUnmarshallerContext>, IUnmarshaller<Application, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Application IUnmarshaller<Application, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public Application Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Application unmarshalledObject = new Application();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("Description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ApplicationUnmarshaller _instance = new ApplicationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ApplicationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 104 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.