#[non_exhaustive]pub struct IdentityProviderOAuthSetting {
pub data_source_name: Option<DataSourceName>,
pub status: Option<FeatureStatus>,
pub secret_arn: Option<String>,
}
Expand description
The Amazon SageMaker Canvas application setting where you configure OAuth for connecting to an external data source, such as Snowflake.
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.data_source_name: Option<DataSourceName>
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
status: Option<FeatureStatus>
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
secret_arn: Option<String>
The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
Implementations§
source§impl IdentityProviderOAuthSetting
impl IdentityProviderOAuthSetting
sourcepub fn data_source_name(&self) -> Option<&DataSourceName>
pub fn data_source_name(&self) -> Option<&DataSourceName>
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
sourcepub fn status(&self) -> Option<&FeatureStatus>
pub fn status(&self) -> Option<&FeatureStatus>
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
sourcepub fn secret_arn(&self) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
source§impl IdentityProviderOAuthSetting
impl IdentityProviderOAuthSetting
sourcepub fn builder() -> IdentityProviderOAuthSettingBuilder
pub fn builder() -> IdentityProviderOAuthSettingBuilder
Creates a new builder-style object to manufacture IdentityProviderOAuthSetting
.
Trait Implementations§
source§impl Clone for IdentityProviderOAuthSetting
impl Clone for IdentityProviderOAuthSetting
source§fn clone(&self) -> IdentityProviderOAuthSetting
fn clone(&self) -> IdentityProviderOAuthSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdentityProviderOAuthSetting
impl Debug for IdentityProviderOAuthSetting
source§impl PartialEq for IdentityProviderOAuthSetting
impl PartialEq for IdentityProviderOAuthSetting
source§fn eq(&self, other: &IdentityProviderOAuthSetting) -> bool
fn eq(&self, other: &IdentityProviderOAuthSetting) -> bool
self
and other
values to be equal, and is used
by ==
.