#[non_exhaustive]
pub struct DataSource { /* private fields */ }
Expand description

The structure of a data source.

Implementations§

source§

impl DataSource

source

pub fn arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the data source.

source

pub fn data_source_id(&self) -> Option<&str>

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

source

pub fn name(&self) -> Option<&str>

A display name for the data source.

source

pub fn type(&self) -> Option<&DataSourceType>

The type of the data source. This type indicates which database engine the data source connects to.

source

pub fn status(&self) -> Option<&ResourceStatus>

The HTTP status of the request.

source

pub fn created_time(&self) -> Option<&DateTime>

The time that this data source was created.

source

pub fn last_updated_time(&self) -> Option<&DateTime>

The last time that this data source was updated.

source

pub fn data_source_parameters(&self) -> Option<&DataSourceParameters>

The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

source

pub fn alternate_data_source_parameters( &self ) -> Option<&[DataSourceParameters]>

A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters list is null, the Credentials originally used with this DataSourceParameters are automatically allowed.

source

pub fn vpc_connection_properties(&self) -> Option<&VpcConnectionProperties>

The VPC connection information. You need to use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.

source

pub fn ssl_properties(&self) -> Option<&SslProperties>

Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.

source

pub fn error_info(&self) -> Option<&DataSourceErrorInfo>

Error information from the last update or the creation of the data source.

source

pub fn secret_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

source§

impl DataSource

source

pub fn builder() -> DataSourceBuilder

Creates a new builder-style object to manufacture DataSource.

Trait Implementations§

source§

impl Clone for DataSource

source§

fn clone(&self) -> DataSource

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DataSource

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<DataSource> for DataSource

source§

fn eq(&self, other: &DataSource) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for DataSource

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more