/* * 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 health-2016-08-04.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.AWSHealth.Model { /// /// Container for the parameters to the DescribeEventDetails operation. /// Returns detailed information about one or more specified events. Information includes /// standard event data (Amazon Web Services Region, service, and so on, as returned by /// DescribeEvents), /// a detailed event description, and possible additional metadata that depends upon the /// nature of the event. Affected entities are not included. To retrieve the entities, /// use the DescribeAffectedEntities /// operation. /// /// /// /// If a specified event can't be retrieved, an error message is returned for that event. /// /// /// /// This operation supports resource-level permissions. You can use this operation to /// allow or deny access to specific Health events. For more information, see Resource- /// and action-based conditions in the Health User Guide. /// /// /// public partial class DescribeEventDetailsRequest : AmazonAWSHealthRequest { private List _eventArns = new List(); private string _locale; /// /// Gets and sets the property EventArns. /// /// A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", /// "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" /// /// /// [AWSProperty(Required=true, Min=1, Max=10)] public List EventArns { get { return this._eventArns; } set { this._eventArns = value; } } // Check to see if EventArns property is set internal bool IsSetEventArns() { return this._eventArns != null && this._eventArns.Count > 0; } /// /// Gets and sets the property Locale. /// /// The locale (language) to return information in. English (en) is the default and the /// only supported value at this time. /// /// [AWSProperty(Min=2, Max=256)] public string Locale { get { return this._locale; } set { this._locale = value; } } // Check to see if Locale property is set internal bool IsSetLocale() { return this._locale != null; } } }