/*
* 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 events-2015-10-07.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.CloudWatchEvents.Model
{
///
/// Container for the parameters to the DescribeEventBus operation.
/// Displays details about an event bus in your account. This can include the external
/// Amazon Web Services accounts that are permitted to write events to your default event
/// bus, and the associated policy. For custom event buses and partner event buses, it
/// displays the name, ARN, policy, state, and creation time.
///
///
///
/// To enable your account to receive events from other accounts on its default event
/// bus, use PutPermission.
///
///
///
/// For more information about partner event buses, see CreateEventBus.
///
///
public partial class DescribeEventBusRequest : AmazonCloudWatchEventsRequest
{
private string _name;
///
/// Gets and sets the property Name.
///
/// The name or ARN of the event bus to show details for. If you omit this, the default
/// event bus is displayed.
///
///
[AWSProperty(Min=1, Max=1600)]
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;
}
}
}