#[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 ==
.impl StructuralPartialEq for IdentityProviderOAuthSetting
Auto Trait Implementations§
impl Freeze for IdentityProviderOAuthSetting
impl RefUnwindSafe for IdentityProviderOAuthSetting
impl Send for IdentityProviderOAuthSetting
impl Sync for IdentityProviderOAuthSetting
impl Unpin for IdentityProviderOAuthSetting
impl UnwindSafe for IdentityProviderOAuthSetting
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more