/*
* 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 cloudtrail-2013-11-01.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.CloudTrail.Model
{
///
/// Container for the parameters to the DeleteEventDataStore operation.
/// Disables the event data store specified by EventDataStore
, which accepts
/// an event data store ARN. After you run DeleteEventDataStore
, the event
/// data store enters a PENDING_DELETION
state, and is automatically deleted
/// after a wait period of seven days. TerminationProtectionEnabled
must
/// be set to False
on the event data store; this operation cannot work if
/// TerminationProtectionEnabled
is True
.
///
///
///
/// After you run DeleteEventDataStore
on an event data store, you cannot
/// run ListQueries
, DescribeQuery
, or GetQueryResults
/// on queries that are using an event data store in a PENDING_DELETION
state.
/// An event data store in the PENDING_DELETION
state does not incur costs.
///
///
public partial class DeleteEventDataStoreRequest : AmazonCloudTrailRequest
{
private string _eventDataStore;
///
/// Gets and sets the property EventDataStore.
///
/// The ARN (or the ID suffix of the ARN) of the event data store to delete.
///
///
[AWSProperty(Required=true, Min=3, Max=256)]
public string EventDataStore
{
get { return this._eventDataStore; }
set { this._eventDataStore = value; }
}
// Check to see if EventDataStore property is set
internal bool IsSetEventDataStore()
{
return this._eventDataStore != null;
}
}
}