#[non_exhaustive]pub struct ZonalStatisticsConfigInput {
pub zone_s3_path: String,
pub statistics: Vec<ZonalStatistics>,
pub target_bands: Option<Vec<String>>,
pub zone_s3_path_kms_key_id: Option<String>,
}
Expand description
The structure representing input configuration of ZonalStatistics operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.zone_s3_path: String
The Amazon S3 path pointing to the GeoJSON containing the polygonal zones.
statistics: Vec<ZonalStatistics>
List of zonal statistics to compute.
target_bands: Option<Vec<String>>
Bands used in the operation. If no target bands are specified, it uses all bands available input.
zone_s3_path_kms_key_id: Option<String>
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.
Implementations§
source§impl ZonalStatisticsConfigInput
impl ZonalStatisticsConfigInput
sourcepub fn zone_s3_path(&self) -> &str
pub fn zone_s3_path(&self) -> &str
The Amazon S3 path pointing to the GeoJSON containing the polygonal zones.
sourcepub fn statistics(&self) -> &[ZonalStatistics]
pub fn statistics(&self) -> &[ZonalStatistics]
List of zonal statistics to compute.
sourcepub fn target_bands(&self) -> &[String]
pub fn target_bands(&self) -> &[String]
Bands used in the operation. If no target bands are specified, it uses all bands available input.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_bands.is_none()
.
sourcepub fn zone_s3_path_kms_key_id(&self) -> Option<&str>
pub fn zone_s3_path_kms_key_id(&self) -> Option<&str>
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.
source§impl ZonalStatisticsConfigInput
impl ZonalStatisticsConfigInput
sourcepub fn builder() -> ZonalStatisticsConfigInputBuilder
pub fn builder() -> ZonalStatisticsConfigInputBuilder
Creates a new builder-style object to manufacture ZonalStatisticsConfigInput
.
Trait Implementations§
source§impl Clone for ZonalStatisticsConfigInput
impl Clone for ZonalStatisticsConfigInput
source§fn clone(&self) -> ZonalStatisticsConfigInput
fn clone(&self) -> ZonalStatisticsConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ZonalStatisticsConfigInput
impl Debug for ZonalStatisticsConfigInput
source§impl PartialEq for ZonalStatisticsConfigInput
impl PartialEq for ZonalStatisticsConfigInput
source§fn eq(&self, other: &ZonalStatisticsConfigInput) -> bool
fn eq(&self, other: &ZonalStatisticsConfigInput) -> bool
self
and other
values to be equal, and is used
by ==
.