/* * 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 iot-2015-05-28.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.IoT.Model { /// /// Container for the parameters to the UpdateAccountAuditConfiguration operation. /// Configures or reconfigures the Device Defender audit settings for this account. Settings /// include how audit notifications are sent and which audit checks are enabled or disabled. /// /// /// /// Requires permission to access the UpdateAccountAuditConfiguration /// action. /// /// public partial class UpdateAccountAuditConfigurationRequest : AmazonIoTRequest { private Dictionary _auditCheckConfigurations = new Dictionary(); private Dictionary _auditNotificationTargetConfigurations = new Dictionary(); private string _roleArn; /// /// Gets and sets the property AuditCheckConfigurations. /// /// Specifies which audit checks are enabled and disabled for this account. Use DescribeAccountAuditConfiguration /// to see the list of all checks, including those that are currently enabled. /// /// /// /// Some data collection might start immediately when certain checks are enabled. When /// a check is disabled, any data collected so far in relation to the check is deleted. /// /// /// /// You cannot disable a check if it's used by any scheduled audit. You must first delete /// the check from the scheduled audit or delete the scheduled audit itself. /// /// /// /// On the first call to UpdateAccountAuditConfiguration, this parameter /// is required and must specify at least one enabled check. /// /// public Dictionary AuditCheckConfigurations { get { return this._auditCheckConfigurations; } set { this._auditCheckConfigurations = value; } } // Check to see if AuditCheckConfigurations property is set internal bool IsSetAuditCheckConfigurations() { return this._auditCheckConfigurations != null && this._auditCheckConfigurations.Count > 0; } /// /// Gets and sets the property AuditNotificationTargetConfigurations. /// /// Information about the targets to which audit notifications are sent. /// /// public Dictionary AuditNotificationTargetConfigurations { get { return this._auditNotificationTargetConfigurations; } set { this._auditNotificationTargetConfigurations = value; } } // Check to see if AuditNotificationTargetConfigurations property is set internal bool IsSetAuditNotificationTargetConfigurations() { return this._auditNotificationTargetConfigurations != null && this._auditNotificationTargetConfigurations.Count > 0; } /// /// Gets and sets the property RoleArn. /// /// The Amazon Resource Name (ARN) of the role that grants permission to IoT to access /// information about your devices, policies, certificates, and other items as required /// when performing an audit. /// /// [AWSProperty(Min=20, Max=2048)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } } }