[−][src]Struct rusoto_athena::DataCatalog
Contains information about a data catalog in an AWS account.
Fields
description: Option<String>
An optional description of the data catalog.
name: String
The name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
parameters: Option<HashMap<String, String>>
Specifies the Lambda function or functions to use for the data catalog. This is a mapping whose values depend on the catalog type.
-
For the
HIVE
data catalog type, use the following syntax. Themetadata-function
parameter is required.The sdk-version
parameter is optional and defaults to the currently supported version.metadata-function=lambdaarn, sdk-version=versionnumber
-
For the
LAMBDA
data catalog type, use one of the following sets of required parameters, but not both.-
If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
metadata-function=lambdaarn, record-function=lambdaarn
-
If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
function=lambda_arn
-
-
The
GLUE
type has no parameters.
type_: String
The type of data catalog: LAMBDA
for a federated catalog, GLUE
for AWS Glue Catalog, or HIVE
for an external hive metastore.
Trait Implementations
impl Clone for DataCatalog
[src]
pub fn clone(&self) -> DataCatalog
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DataCatalog
[src]
impl Default for DataCatalog
[src]
pub fn default() -> DataCatalog
[src]
impl<'de> Deserialize<'de> for DataCatalog
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<DataCatalog> for DataCatalog
[src]
pub fn eq(&self, other: &DataCatalog) -> bool
[src]
pub fn ne(&self, other: &DataCatalog) -> bool
[src]
impl StructuralPartialEq for DataCatalog
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataCatalog
[src]
impl Send for DataCatalog
[src]
impl Sync for DataCatalog
[src]
impl Unpin for DataCatalog
[src]
impl UnwindSafe for DataCatalog
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,