/*
* 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
{
///
/// Container for the parameters to the CreateEdgePackagingJob operation.
/// Starts a SageMaker Edge Manager model packaging job. Edge Manager will use the model
/// artifacts from the Amazon Simple Storage Service bucket that you specify. After the
/// model has been packaged, Amazon SageMaker saves the resulting artifacts to an S3 bucket
/// that you specify.
///
public partial class CreateEdgePackagingJobRequest : AmazonSageMakerRequest
{
private string _compilationJobName;
private string _edgePackagingJobName;
private string _modelName;
private string _modelVersion;
private EdgeOutputConfig _outputConfig;
private string _resourceKey;
private string _roleArn;
private List _tags = new List();
///
/// Gets and sets the property CompilationJobName.
///
/// The name of the SageMaker Neo compilation job that will be used to locate model artifacts
/// for packaging.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string CompilationJobName
{
get { return this._compilationJobName; }
set { this._compilationJobName = value; }
}
// Check to see if CompilationJobName property is set
internal bool IsSetCompilationJobName()
{
return this._compilationJobName != null;
}
///
/// Gets and sets the property EdgePackagingJobName.
///
/// The name of the edge packaging job.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string EdgePackagingJobName
{
get { return this._edgePackagingJobName; }
set { this._edgePackagingJobName = value; }
}
// Check to see if EdgePackagingJobName property is set
internal bool IsSetEdgePackagingJobName()
{
return this._edgePackagingJobName != null;
}
///
/// Gets and sets the property ModelName.
///
/// The name of the model.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string ModelName
{
get { return this._modelName; }
set { this._modelName = value; }
}
// Check to see if ModelName property is set
internal bool IsSetModelName()
{
return this._modelName != null;
}
///
/// Gets and sets the property ModelVersion.
///
/// The version of the model.
///
///
[AWSProperty(Required=true, Min=1, Max=30)]
public string ModelVersion
{
get { return this._modelVersion; }
set { this._modelVersion = value; }
}
// Check to see if ModelVersion property is set
internal bool IsSetModelVersion()
{
return this._modelVersion != null;
}
///
/// Gets and sets the property OutputConfig.
///
/// Provides information about the output location for the packaged model.
///
///
[AWSProperty(Required=true)]
public EdgeOutputConfig OutputConfig
{
get { return this._outputConfig; }
set { this._outputConfig = value; }
}
// Check to see if OutputConfig property is set
internal bool IsSetOutputConfig()
{
return this._outputConfig != null;
}
///
/// Gets and sets the property ResourceKey.
///
/// The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging
/// job runs on.
///
///
[AWSProperty(Max=2048)]
public string ResourceKey
{
get { return this._resourceKey; }
set { this._resourceKey = value; }
}
// Check to see if ResourceKey property is set
internal bool IsSetResourceKey()
{
return this._resourceKey != null;
}
///
/// Gets and sets the property RoleArn.
///
/// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download
/// and upload the model, and to contact SageMaker Neo.
///
///
[AWSProperty(Required=true, 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 Tags.
///
/// Creates tags for the packaging job.
///
///
[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;
}
}
}