#[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>>,
pub folder_arns: Option<Vec<String>>,
}
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.
folder_arns: Option<Vec<String>>
When you create the data source, Amazon QuickSight adds the data source to these folders.
Implementations§
source§impl 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) -> &[ResourcePermission]
pub fn permissions(&self) -> &[ResourcePermission]
A list of resource permissions on the data source.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none()
.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn folder_arns(&self) -> &[String]
pub fn folder_arns(&self) -> &[String]
When you create the data source, Amazon QuickSight adds the data source to these folders.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .folder_arns.is_none()
.
source§impl CreateDataSourceInput
impl CreateDataSourceInput
sourcepub fn builder() -> CreateDataSourceInputBuilder
pub fn builder() -> CreateDataSourceInputBuilder
Creates a new builder-style object to manufacture CreateDataSourceInput
.
Trait Implementations§
source§impl Clone for CreateDataSourceInput
impl Clone for CreateDataSourceInput
source§fn clone(&self) -> CreateDataSourceInput
fn clone(&self) -> CreateDataSourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDataSourceInput
impl Debug for CreateDataSourceInput
source§impl PartialEq for CreateDataSourceInput
impl PartialEq for CreateDataSourceInput
source§fn eq(&self, other: &CreateDataSourceInput) -> bool
fn eq(&self, other: &CreateDataSourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.