/*
* 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
{
///
/// This is the response object from the DescribeEndpointConfig operation.
///
public partial class DescribeEndpointConfigResponse : AmazonWebServiceResponse
{
private AsyncInferenceConfig _asyncInferenceConfig;
private DateTime? _creationTime;
private DataCaptureConfig _dataCaptureConfig;
private string _endpointConfigArn;
private string _endpointConfigName;
private ExplainerConfig _explainerConfig;
private string _kmsKeyId;
private List _productionVariants = new List();
private List _shadowProductionVariants = new List();
///
/// Gets and sets the property AsyncInferenceConfig.
///
/// Returns the description of an endpoint configuration created using the
/// CreateEndpointConfig
API.
///
///
public AsyncInferenceConfig AsyncInferenceConfig
{
get { return this._asyncInferenceConfig; }
set { this._asyncInferenceConfig = value; }
}
// Check to see if AsyncInferenceConfig property is set
internal bool IsSetAsyncInferenceConfig()
{
return this._asyncInferenceConfig != null;
}
///
/// Gets and sets the property CreationTime.
///
/// A timestamp that shows when the endpoint configuration 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 DataCaptureConfig 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 EndpointConfigArn.
///
/// The Amazon Resource Name (ARN) of the endpoint configuration.
///
///
[AWSProperty(Required=true, Min=20, Max=2048)]
public string EndpointConfigArn
{
get { return this._endpointConfigArn; }
set { this._endpointConfigArn = value; }
}
// Check to see if EndpointConfigArn property is set
internal bool IsSetEndpointConfigArn()
{
return this._endpointConfigArn != null;
}
///
/// Gets and sets the property EndpointConfigName.
///
/// Name of the SageMaker endpoint configuration.
///
///
[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 ExplainerConfig.
///
/// The configuration parameters for an explainer.
///
///
public ExplainerConfig ExplainerConfig
{
get { return this._explainerConfig; }
set { this._explainerConfig = value; }
}
// Check to see if ExplainerConfig property is set
internal bool IsSetExplainerConfig()
{
return this._explainerConfig != null;
}
///
/// Gets and sets the property KmsKeyId.
///
/// Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when storing
/// it on the ML storage volume attached to the instance.
///
///
[AWSProperty(Max=2048)]
public string KmsKeyId
{
get { return this._kmsKeyId; }
set { this._kmsKeyId = value; }
}
// Check to see if KmsKeyId property is set
internal bool IsSetKmsKeyId()
{
return this._kmsKeyId != null;
}
///
/// Gets and sets the property ProductionVariants.
///
/// An array of ProductionVariant
objects, one for each model that you want
/// to host at this endpoint.
///
///
[AWSProperty(Required=true, Min=1, Max=10)]
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.
///
/// An array of ProductionVariant
objects, one for each model that you want
/// to host at this endpoint in shadow mode with production traffic replicated from the
/// model specified on ProductionVariants
.
///
///
[AWSProperty(Min=1, Max=10)]
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;
}
}
}