/* * 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 appconfig-2019-10-09.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.AppConfig.Model { /// /// An extension that was invoked as part of a deployment event. /// public partial class ActionInvocation { private string _actionName; private string _errorCode; private string _errorMessage; private string _extensionIdentifier; private string _invocationId; private string _roleArn; private string _uri; /// /// Gets and sets the property ActionName. /// /// The name of the action. /// /// [AWSProperty(Min=1, Max=64)] public string ActionName { get { return this._actionName; } set { this._actionName = value; } } // Check to see if ActionName property is set internal bool IsSetActionName() { return this._actionName != null; } /// /// Gets and sets the property ErrorCode. /// /// The error code when an extension invocation fails. /// /// public string ErrorCode { get { return this._errorCode; } set { this._errorCode = value; } } // Check to see if ErrorCode property is set internal bool IsSetErrorCode() { return this._errorCode != null; } /// /// Gets and sets the property ErrorMessage. /// /// The error message when an extension invocation fails. /// /// public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// /// Gets and sets the property ExtensionIdentifier. /// /// The name, the ID, or the Amazon Resource Name (ARN) of the extension. /// /// [AWSProperty(Min=1, Max=2048)] public string ExtensionIdentifier { get { return this._extensionIdentifier; } set { this._extensionIdentifier = value; } } // Check to see if ExtensionIdentifier property is set internal bool IsSetExtensionIdentifier() { return this._extensionIdentifier != null; } /// /// Gets and sets the property InvocationId. /// /// A system-generated ID for this invocation. /// /// public string InvocationId { get { return this._invocationId; } set { this._invocationId = value; } } // Check to see if InvocationId property is set internal bool IsSetInvocationId() { return this._invocationId != null; } /// /// Gets and sets the property RoleArn. /// /// An Amazon Resource Name (ARN) for an Identity and Access Management assume role. /// /// [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; } /// /// Gets and sets the property Uri. /// /// The extension URI associated to the action point in the extension definition. The /// URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, /// an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, /// or the Amazon EventBridge default event bus. /// /// [AWSProperty(Min=1, Max=2048)] public string Uri { get { return this._uri; } set { this._uri = value; } } // Check to see if Uri property is set internal bool IsSetUri() { return this._uri != null; } } }