Struct aws_sdk_quicksight::input::CreateDataSourceInput
source · [−]#[non_exhaustive]pub struct CreateDataSourceInput {
pub aws_account_id: Option<String>,
pub data_source_id: Option<String>,
pub name: Option<String>,
pub type: Option<DataSourceType>,
pub data_source_parameters: Option<DataSourceParameters>,
pub credentials: Option<DataSourceCredentials>,
pub permissions: Option<Vec<ResourcePermission>>,
pub vpc_connection_properties: Option<VpcConnectionProperties>,
pub ssl_properties: Option<SslProperties>,
pub tags: Option<Vec<Tag>>,
}
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.aws_account_id: Option<String>
The Amazon Web Services account ID.
data_source_id: Option<String>
An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
name: Option<String>
A display name for the data source.
type: Option<DataSourceType>
The type of the data source. To return a list of all data sources, use ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
data_source_parameters: Option<DataSourceParameters>
The parameters that Amazon QuickSight uses to connect to your underlying source.
credentials: Option<DataSourceCredentials>
The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
permissions: Option<Vec<ResourcePermission>>
A list of resource permissions on the data source.
vpc_connection_properties: Option<VpcConnectionProperties>
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
ssl_properties: Option<SslProperties>
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
Implementations
sourceimpl CreateDataSourceInput
impl CreateDataSourceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDataSource, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDataSource, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDataSource
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDataSourceInput
sourceimpl CreateDataSourceInput
impl CreateDataSourceInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services account ID.
sourcepub fn data_source_id(&self) -> Option<&str>
pub fn data_source_id(&self) -> Option<&str>
An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn type(&self) -> Option<&DataSourceType>
pub fn type(&self) -> Option<&DataSourceType>
The type of the data source. To return a list of all data sources, use ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
sourcepub fn data_source_parameters(&self) -> Option<&DataSourceParameters>
pub fn data_source_parameters(&self) -> Option<&DataSourceParameters>
The parameters that Amazon QuickSight uses to connect to your underlying source.
sourcepub fn credentials(&self) -> Option<&DataSourceCredentials>
pub fn credentials(&self) -> Option<&DataSourceCredentials>
The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
sourcepub fn permissions(&self) -> Option<&[ResourcePermission]>
pub fn permissions(&self) -> Option<&[ResourcePermission]>
A list of resource permissions on the data source.
sourcepub fn vpc_connection_properties(&self) -> Option<&VpcConnectionProperties>
pub fn vpc_connection_properties(&self) -> Option<&VpcConnectionProperties>
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
sourcepub fn ssl_properties(&self) -> Option<&SslProperties>
pub fn ssl_properties(&self) -> Option<&SslProperties>
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
Trait Implementations
sourceimpl Clone for CreateDataSourceInput
impl Clone for CreateDataSourceInput
sourcefn clone(&self) -> CreateDataSourceInput
fn clone(&self) -> CreateDataSourceInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateDataSourceInput
impl Debug for CreateDataSourceInput
sourceimpl PartialEq<CreateDataSourceInput> for CreateDataSourceInput
impl PartialEq<CreateDataSourceInput> for CreateDataSourceInput
sourcefn eq(&self, other: &CreateDataSourceInput) -> bool
fn eq(&self, other: &CreateDataSourceInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDataSourceInput) -> bool
fn ne(&self, other: &CreateDataSourceInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateDataSourceInput
Auto Trait Implementations
impl RefUnwindSafe for CreateDataSourceInput
impl Send for CreateDataSourceInput
impl Sync for CreateDataSourceInput
impl Unpin for CreateDataSourceInput
impl UnwindSafe for CreateDataSourceInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more