/* * 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 sagemaker-2017-07-24.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.SageMaker.Model { /// /// A hosted endpoint for real-time inference. /// public partial class Endpoint { private DateTime? _creationTime; private DataCaptureConfigSummary _dataCaptureConfig; private string _endpointArn; private string _endpointConfigName; private string _endpointName; private EndpointStatus _endpointStatus; private string _failureReason; private DateTime? _lastModifiedTime; private List _monitoringSchedules = new List(); private List _productionVariants = new List(); private List _shadowProductionVariants = new List(); private List _tags = new List(); /// /// Gets and sets the property CreationTime. /// /// The time that the endpoint was created. /// /// [AWSProperty(Required=true)] public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property DataCaptureConfig. /// public DataCaptureConfigSummary DataCaptureConfig { get { return this._dataCaptureConfig; } set { this._dataCaptureConfig = value; } } // Check to see if DataCaptureConfig property is set internal bool IsSetDataCaptureConfig() { return this._dataCaptureConfig != null; } /// /// Gets and sets the property EndpointArn. /// /// The Amazon Resource Name (ARN) of the endpoint. /// /// [AWSProperty(Required=true, Min=20, Max=2048)] public string EndpointArn { get { return this._endpointArn; } set { this._endpointArn = value; } } // Check to see if EndpointArn property is set internal bool IsSetEndpointArn() { return this._endpointArn != null; } /// /// Gets and sets the property EndpointConfigName. /// /// The endpoint configuration associated with the endpoint. /// /// [AWSProperty(Required=true, Max=63)] public string EndpointConfigName { get { return this._endpointConfigName; } set { this._endpointConfigName = value; } } // Check to see if EndpointConfigName property is set internal bool IsSetEndpointConfigName() { return this._endpointConfigName != null; } /// /// Gets and sets the property EndpointName. /// /// The name of the endpoint. /// /// [AWSProperty(Required=true, Max=63)] public string EndpointName { get { return this._endpointName; } set { this._endpointName = value; } } // Check to see if EndpointName property is set internal bool IsSetEndpointName() { return this._endpointName != null; } /// /// Gets and sets the property EndpointStatus. /// /// The status of the endpoint. /// /// [AWSProperty(Required=true)] public EndpointStatus EndpointStatus { get { return this._endpointStatus; } set { this._endpointStatus = value; } } // Check to see if EndpointStatus property is set internal bool IsSetEndpointStatus() { return this._endpointStatus != null; } /// /// Gets and sets the property FailureReason. /// /// If the endpoint failed, the reason it failed. /// /// [AWSProperty(Max=1024)] public string FailureReason { get { return this._failureReason; } set { this._failureReason = value; } } // Check to see if FailureReason property is set internal bool IsSetFailureReason() { return this._failureReason != null; } /// /// Gets and sets the property LastModifiedTime. /// /// The last time the endpoint was modified. /// /// [AWSProperty(Required=true)] public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// /// Gets and sets the property MonitoringSchedules. /// /// A list of monitoring schedules for the endpoint. For information about model monitoring, /// see Amazon /// SageMaker Model Monitor. /// /// public List MonitoringSchedules { get { return this._monitoringSchedules; } set { this._monitoringSchedules = value; } } // Check to see if MonitoringSchedules property is set internal bool IsSetMonitoringSchedules() { return this._monitoringSchedules != null && this._monitoringSchedules.Count > 0; } /// /// Gets and sets the property ProductionVariants. /// /// A list of the production variants hosted on the endpoint. Each production variant /// is a model. /// /// [AWSProperty(Min=1)] public List ProductionVariants { get { return this._productionVariants; } set { this._productionVariants = value; } } // Check to see if ProductionVariants property is set internal bool IsSetProductionVariants() { return this._productionVariants != null && this._productionVariants.Count > 0; } /// /// Gets and sets the property ShadowProductionVariants. /// /// A list of the shadow variants hosted on the endpoint. Each shadow variant is a model /// in shadow mode with production traffic replicated from the production variant. /// /// [AWSProperty(Min=1)] public List ShadowProductionVariants { get { return this._shadowProductionVariants; } set { this._shadowProductionVariants = value; } } // Check to see if ShadowProductionVariants property is set internal bool IsSetShadowProductionVariants() { return this._shadowProductionVariants != null && this._shadowProductionVariants.Count > 0; } /// /// Gets and sets the property Tags. /// /// A list of the tags associated with the endpoint. For more information, see Tagging /// Amazon Web Services resources in the Amazon Web Services General Reference /// Guide. /// /// [AWSProperty(Min=0, 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; } } }