Struct aws_sdk_glue::types::OAuth2PropertiesInput
source · #[non_exhaustive]pub struct OAuth2PropertiesInput {
pub o_auth2_grant_type: Option<OAuth2GrantType>,
pub o_auth2_client_application: Option<OAuth2ClientApplication>,
pub token_url: Option<String>,
pub token_url_parameters_map: Option<HashMap<String, String>>,
pub authorization_code_properties: Option<AuthorizationCodeProperties>,
}Expand description
A structure containing properties for OAuth2 in the CreateConnection request.
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.o_auth2_grant_type: Option<OAuth2GrantType>The OAuth2 grant type in the CreateConnection request. For example, AUTHORIZATION_CODE, JWT_BEARER, or CLIENT_CREDENTIALS.
o_auth2_client_application: Option<OAuth2ClientApplication>The client application type in the CreateConnection request. For example, AWS_MANAGED or USER_MANAGED.
token_url: Option<String>The URL of the provider's authentication server, to exchange an authorization code for an access token.
token_url_parameters_map: Option<HashMap<String, String>>A map of parameters that are added to the token GET request.
The set of properties required for the the OAuth2 AUTHORIZATION_CODE grant type.
Implementations§
source§impl OAuth2PropertiesInput
impl OAuth2PropertiesInput
sourcepub fn o_auth2_grant_type(&self) -> Option<&OAuth2GrantType>
pub fn o_auth2_grant_type(&self) -> Option<&OAuth2GrantType>
The OAuth2 grant type in the CreateConnection request. For example, AUTHORIZATION_CODE, JWT_BEARER, or CLIENT_CREDENTIALS.
sourcepub fn o_auth2_client_application(&self) -> Option<&OAuth2ClientApplication>
pub fn o_auth2_client_application(&self) -> Option<&OAuth2ClientApplication>
The client application type in the CreateConnection request. For example, AWS_MANAGED or USER_MANAGED.
sourcepub fn token_url(&self) -> Option<&str>
pub fn token_url(&self) -> Option<&str>
The URL of the provider's authentication server, to exchange an authorization code for an access token.
sourcepub fn token_url_parameters_map(&self) -> Option<&HashMap<String, String>>
pub fn token_url_parameters_map(&self) -> Option<&HashMap<String, String>>
A map of parameters that are added to the token GET request.
The set of properties required for the the OAuth2 AUTHORIZATION_CODE grant type.
source§impl OAuth2PropertiesInput
impl OAuth2PropertiesInput
sourcepub fn builder() -> OAuth2PropertiesInputBuilder
pub fn builder() -> OAuth2PropertiesInputBuilder
Creates a new builder-style object to manufacture OAuth2PropertiesInput.
Trait Implementations§
source§impl Clone for OAuth2PropertiesInput
impl Clone for OAuth2PropertiesInput
source§fn clone(&self) -> OAuth2PropertiesInput
fn clone(&self) -> OAuth2PropertiesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OAuth2PropertiesInput
impl Debug for OAuth2PropertiesInput
source§impl PartialEq for OAuth2PropertiesInput
impl PartialEq for OAuth2PropertiesInput
source§fn eq(&self, other: &OAuth2PropertiesInput) -> bool
fn eq(&self, other: &OAuth2PropertiesInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OAuth2PropertiesInput
Auto Trait Implementations§
impl Freeze for OAuth2PropertiesInput
impl RefUnwindSafe for OAuth2PropertiesInput
impl Send for OAuth2PropertiesInput
impl Sync for OAuth2PropertiesInput
impl Unpin for OAuth2PropertiesInput
impl UnwindSafe for OAuth2PropertiesInput
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