/* * 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 servicecatalog-2015-12-10.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.ServiceCatalog.Model { /// /// Container for the parameters to the ProvisionProduct operation. /// Provisions the specified product. /// /// /// /// A provisioned product is a resourced instance of a product. For example, provisioning /// a product that's based on an CloudFormation template launches an CloudFormation stack /// and its underlying resources. You can check the status of this request using DescribeRecord. /// /// /// /// /// If the request contains a tag key with an empty list of values, there's a tag conflict /// for that key. Don't include conflicted keys as tags, or this will cause the error /// "Parameter validation failed: Missing required parameter in Tags[N]:Value". /// /// /// /// /// When provisioning a product that's been added to a portfolio, you must grant your /// user, group, or role access to the portfolio. For more information, see Granting /// users access in the Service Catalog User Guide. /// /// /// public partial class ProvisionProductRequest : AmazonServiceCatalogRequest { private string _acceptLanguage; private List _notificationArns = new List(); private string _pathId; private string _pathName; private string _productId; private string _productName; private string _provisionedProductName; private string _provisioningArtifactId; private string _provisioningArtifactName; private List _provisioningParameters = new List(); private ProvisioningPreferences _provisioningPreferences; private string _provisionToken; private List _tags = new List(); /// /// Gets and sets the property AcceptLanguage. /// /// The language code. /// ///
  • /// /// jp - Japanese /// ///
  • /// /// zh - Chinese /// ///
///
[AWSProperty(Max=100)] public string AcceptLanguage { get { return this._acceptLanguage; } set { this._acceptLanguage = value; } } // Check to see if AcceptLanguage property is set internal bool IsSetAcceptLanguage() { return this._acceptLanguage != null; } /// /// Gets and sets the property NotificationArns. /// /// Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events. /// /// [AWSProperty(Max=5)] public List NotificationArns { get { return this._notificationArns; } set { this._notificationArns = value; } } // Check to see if NotificationArns property is set internal bool IsSetNotificationArns() { return this._notificationArns != null && this._notificationArns.Count > 0; } /// /// Gets and sets the property PathId. /// /// The path identifier of the product. This value is optional if the product has a default /// path, and required if the product has more than one path. To list the paths for a /// product, use ListLaunchPaths. You must provide the name or ID, but not both. /// /// [AWSProperty(Min=1, Max=100)] public string PathId { get { return this._pathId; } set { this._pathId = value; } } // Check to see if PathId property is set internal bool IsSetPathId() { return this._pathId != null; } /// /// Gets and sets the property PathName. /// /// The name of the path. You must provide the name or ID, but not both. /// /// [AWSProperty(Min=1, Max=100)] public string PathName { get { return this._pathName; } set { this._pathName = value; } } // Check to see if PathName property is set internal bool IsSetPathName() { return this._pathName != null; } /// /// Gets and sets the property ProductId. /// /// The product identifier. You must provide the name or ID, but not both. /// /// [AWSProperty(Min=1, Max=100)] public string ProductId { get { return this._productId; } set { this._productId = value; } } // Check to see if ProductId property is set internal bool IsSetProductId() { return this._productId != null; } /// /// Gets and sets the property ProductName. /// /// The name of the product. You must provide the name or ID, but not both. /// /// [AWSProperty(Max=8191)] public string ProductName { get { return this._productName; } set { this._productName = value; } } // Check to see if ProductName property is set internal bool IsSetProductName() { return this._productName != null; } /// /// Gets and sets the property ProvisionedProductName. /// /// A user-friendly name for the provisioned product. This value must be unique for the /// Amazon Web Services account and cannot be updated after the product is provisioned. /// /// [AWSProperty(Required=true, Min=1, Max=128)] public string ProvisionedProductName { get { return this._provisionedProductName; } set { this._provisionedProductName = value; } } // Check to see if ProvisionedProductName property is set internal bool IsSetProvisionedProductName() { return this._provisionedProductName != null; } /// /// Gets and sets the property ProvisioningArtifactId. /// /// The identifier of the provisioning artifact. You must provide the name or ID, but /// not both. /// /// [AWSProperty(Min=1, Max=100)] public string ProvisioningArtifactId { get { return this._provisioningArtifactId; } set { this._provisioningArtifactId = value; } } // Check to see if ProvisioningArtifactId property is set internal bool IsSetProvisioningArtifactId() { return this._provisioningArtifactId != null; } /// /// Gets and sets the property ProvisioningArtifactName. /// /// The name of the provisioning artifact. You must provide the name or ID, but not both. /// /// [AWSProperty(Max=8192)] public string ProvisioningArtifactName { get { return this._provisioningArtifactName; } set { this._provisioningArtifactName = value; } } // Check to see if ProvisioningArtifactName property is set internal bool IsSetProvisioningArtifactName() { return this._provisioningArtifactName != null; } /// /// Gets and sets the property ProvisioningParameters. /// /// Parameters specified by the administrator that are required for provisioning the product. /// /// public List ProvisioningParameters { get { return this._provisioningParameters; } set { this._provisioningParameters = value; } } // Check to see if ProvisioningParameters property is set internal bool IsSetProvisioningParameters() { return this._provisioningParameters != null && this._provisioningParameters.Count > 0; } /// /// Gets and sets the property ProvisioningPreferences. /// /// An object that contains information about the provisioning preferences for a stack /// set. /// /// public ProvisioningPreferences ProvisioningPreferences { get { return this._provisioningPreferences; } set { this._provisioningPreferences = value; } } // Check to see if ProvisioningPreferences property is set internal bool IsSetProvisioningPreferences() { return this._provisioningPreferences != null; } /// /// Gets and sets the property ProvisionToken. /// /// An idempotency token that uniquely identifies the provisioning request. /// /// [AWSProperty(Min=1, Max=128)] public string ProvisionToken { get { return this._provisionToken; } set { this._provisionToken = value; } } // Check to see if ProvisionToken property is set internal bool IsSetProvisionToken() { return this._provisionToken != null; } /// /// Gets and sets the property Tags. /// /// One or more tags. /// /// [AWSProperty(Max=50)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }