Struct aws_sdk_glue::types::DynamoDbTarget
source · #[non_exhaustive]pub struct DynamoDbTarget {
pub path: Option<String>,
pub scan_all: Option<bool>,
pub scan_rate: Option<f64>,
}Expand description
Specifies an Amazon DynamoDB table to crawl.
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.path: Option<String>The name of the DynamoDB table to crawl.
scan_all: Option<bool>Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.
scan_rate: Option<f64>The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
Implementations§
source§impl DynamoDbTarget
impl DynamoDbTarget
sourcepub fn scan_all(&self) -> Option<bool>
pub fn scan_all(&self) -> Option<bool>
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.
sourcepub fn scan_rate(&self) -> Option<f64>
pub fn scan_rate(&self) -> Option<f64>
The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
source§impl DynamoDbTarget
impl DynamoDbTarget
sourcepub fn builder() -> DynamoDbTargetBuilder
pub fn builder() -> DynamoDbTargetBuilder
Creates a new builder-style object to manufacture DynamoDbTarget.
Trait Implementations§
source§impl Clone for DynamoDbTarget
impl Clone for DynamoDbTarget
source§fn clone(&self) -> DynamoDbTarget
fn clone(&self) -> DynamoDbTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DynamoDbTarget
impl Debug for DynamoDbTarget
source§impl PartialEq for DynamoDbTarget
impl PartialEq for DynamoDbTarget
source§fn eq(&self, other: &DynamoDbTarget) -> bool
fn eq(&self, other: &DynamoDbTarget) -> bool
self and other values to be equal, and is used
by ==.