/* * 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-geospatial-2020-05-27.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.SageMakerGeospatial.Model { /// /// The structure representing input configuration of ZonalStatistics operation. /// public partial class ZonalStatisticsConfigInput { private List _statistics = new List(); private List _targetBands = new List(); private string _zoneS3Path; private string _zoneS3PathKmsKeyId; /// /// Gets and sets the property Statistics. /// /// List of zonal statistics to compute. /// /// [AWSProperty(Required=true, Min=1)] public List Statistics { get { return this._statistics; } set { this._statistics = value; } } // Check to see if Statistics property is set internal bool IsSetStatistics() { return this._statistics != null && this._statistics.Count > 0; } /// /// Gets and sets the property TargetBands. /// /// Bands used in the operation. If no target bands are specified, it uses all bands available /// input. /// /// [AWSProperty(Min=1)] public List TargetBands { get { return this._targetBands; } set { this._targetBands = value; } } // Check to see if TargetBands property is set internal bool IsSetTargetBands() { return this._targetBands != null && this._targetBands.Count > 0; } /// /// Gets and sets the property ZoneS3Path. /// /// The Amazon S3 path pointing to the GeoJSON containing the polygonal zones. /// /// [AWSProperty(Required=true)] public string ZoneS3Path { get { return this._zoneS3Path; } set { this._zoneS3Path = value; } } // Check to see if ZoneS3Path property is set internal bool IsSetZoneS3Path() { return this._zoneS3Path != null; } /// /// Gets and sets the property ZoneS3PathKmsKeyId. /// /// The Amazon Resource Name (ARN) or an ID of a Amazon Web Services Key Management Service /// (Amazon Web Services KMS) key that Amazon SageMaker uses to decrypt your output artifacts /// with Amazon S3 server-side encryption. The SageMaker execution role must have kms:GenerateDataKey /// permission. /// /// /// /// The KmsKeyId can be any of the following formats: /// ///
  • /// /// // KMS Key ID /// /// /// /// "1234abcd-12ab-34cd-56ef-1234567890ab" /// ///
  • /// /// // Amazon Resource Name (ARN) of a KMS Key /// /// /// /// "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>" /// /// ///
/// /// For more information about key identifiers, see Key /// identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon /// Web Services KMS) documentation. /// ///
[AWSProperty(Min=0, Max=2048)] public string ZoneS3PathKmsKeyId { get { return this._zoneS3PathKmsKeyId; } set { this._zoneS3PathKmsKeyId = value; } } // Check to see if ZoneS3PathKmsKeyId property is set internal bool IsSetZoneS3PathKmsKeyId() { return this._zoneS3PathKmsKeyId != null; } } }