/* * 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 quicksight-2018-04-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.QuickSight.Model { /// /// Container for the parameters to the StartAssetBundleImportJob operation. /// Starts an Asset Bundle import job. /// /// /// /// An Asset Bundle import job imports specified Amazon QuickSight assets into an Amazon /// QuickSight account. You can also choose to import a naming prefix and specified configuration /// overrides. The assets that are contained in the bundle file that you provide are used /// to create or update a new or existing asset in your Amazon QuickSight account. Each /// Amazon QuickSight account can run up to 5 import jobs concurrently. /// /// /// /// The API caller must have the necessary "create", "describe", /// and "update" permissions in their IAM role to access each resource type /// that is contained in the bundle file before the resources can be imported. /// /// public partial class StartAssetBundleImportJobRequest : AmazonQuickSightRequest { private string _assetBundleImportJobId; private AssetBundleImportSource _assetBundleImportSource; private string _awsAccountId; private AssetBundleImportFailureAction _failureAction; private AssetBundleImportJobOverrideParameters _overrideParameters; /// /// Gets and sets the property AssetBundleImportJobId. /// /// The ID of the job. This ID is unique while the job is running. After the job is completed, /// you can reuse this ID for another job. /// /// [AWSProperty(Required=true, Min=1, Max=512)] public string AssetBundleImportJobId { get { return this._assetBundleImportJobId; } set { this._assetBundleImportJobId = value; } } // Check to see if AssetBundleImportJobId property is set internal bool IsSetAssetBundleImportJobId() { return this._assetBundleImportJobId != null; } /// /// Gets and sets the property AssetBundleImportSource. /// /// The source of the asset bundle zip file that contains the data that you want to import. /// The file must be in QUICKSIGHT_JSON format. /// /// [AWSProperty(Required=true)] public AssetBundleImportSource AssetBundleImportSource { get { return this._assetBundleImportSource; } set { this._assetBundleImportSource = value; } } // Check to see if AssetBundleImportSource property is set internal bool IsSetAssetBundleImportSource() { return this._assetBundleImportSource != null; } /// /// Gets and sets the property AwsAccountId. /// /// The ID of the Amazon Web Services account to import assets into. /// /// [AWSProperty(Required=true, Min=12, Max=12)] public string AwsAccountId { get { return this._awsAccountId; } set { this._awsAccountId = value; } } // Check to see if AwsAccountId property is set internal bool IsSetAwsAccountId() { return this._awsAccountId != null; } /// /// Gets and sets the property FailureAction. /// /// The failure action for the import job. /// /// /// /// If you choose ROLLBACK, failed import jobs will attempt to undo any asset /// changes caused by the failed job. /// /// /// /// If you choose DO_NOTHING, failed import jobs will not attempt to roll /// back any asset changes caused by the failed job, possibly keeping the Amazon QuickSight /// account in an inconsistent state. /// /// public AssetBundleImportFailureAction FailureAction { get { return this._failureAction; } set { this._failureAction = value; } } // Check to see if FailureAction property is set internal bool IsSetFailureAction() { return this._failureAction != null; } /// /// Gets and sets the property OverrideParameters. /// /// Optional overrides to be applied to the resource configuration before import. /// /// public AssetBundleImportJobOverrideParameters OverrideParameters { get { return this._overrideParameters; } set { this._overrideParameters = value; } } // Check to see if OverrideParameters property is set internal bool IsSetOverrideParameters() { return this._overrideParameters != null; } } }