Struct aws_sdk_workspacesweb::operation::create_identity_provider::CreateIdentityProviderInput
source · #[non_exhaustive]pub struct CreateIdentityProviderInput {
pub portal_arn: Option<String>,
pub identity_provider_name: Option<String>,
pub identity_provider_type: Option<IdentityProviderType>,
pub identity_provider_details: Option<HashMap<String, String>>,
pub client_token: Option<String>,
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.portal_arn: Option<String>
The ARN of the web portal.
identity_provider_name: Option<String>
The identity provider name.
identity_provider_type: Option<IdentityProviderType>
The identity provider type.
identity_provider_details: Option<HashMap<String, String>>
The identity provider details. The following list describes the provider detail keys for each identity provider type.
-
For Google and Login with Amazon:
-
client_id
-
client_secret
-
authorize_scopes
-
-
For Facebook:
-
client_id
-
client_secret
-
authorize_scopes
-
api_version
-
-
For Sign in with Apple:
-
client_id
-
team_id
-
key_id
-
private_key
-
authorize_scopes
-
-
For OIDC providers:
-
client_id
-
client_secret
-
attributes_request_method
-
oidc_issuer
-
authorize_scopes
-
authorize_url
if not available from discovery URL specified byoidc_issuer
key -
token_url
if not available from discovery URL specified byoidc_issuer
key -
attributes_url
if not available from discovery URL specified byoidc_issuer
key -
jwks_uri
if not available from discovery URL specified byoidc_issuer
key
-
-
For SAML providers:
-
MetadataFile
ORMetadataURL
-
IDPSignout
(boolean) optional -
IDPInit
(boolean) optional -
RequestSigningAlgorithm
(string) optional - Only acceptsrsa-sha256
-
EncryptedResponses
(boolean) optional
-
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
The tags to add to the identity provider resource. A tag is a key-value pair.
Implementations§
source§impl CreateIdentityProviderInput
impl CreateIdentityProviderInput
sourcepub fn portal_arn(&self) -> Option<&str>
pub fn portal_arn(&self) -> Option<&str>
The ARN of the web portal.
sourcepub fn identity_provider_name(&self) -> Option<&str>
pub fn identity_provider_name(&self) -> Option<&str>
The identity provider name.
sourcepub fn identity_provider_type(&self) -> Option<&IdentityProviderType>
pub fn identity_provider_type(&self) -> Option<&IdentityProviderType>
The identity provider type.
sourcepub fn identity_provider_details(&self) -> Option<&HashMap<String, String>>
pub fn identity_provider_details(&self) -> Option<&HashMap<String, String>>
The identity provider details. The following list describes the provider detail keys for each identity provider type.
-
For Google and Login with Amazon:
-
client_id
-
client_secret
-
authorize_scopes
-
-
For Facebook:
-
client_id
-
client_secret
-
authorize_scopes
-
api_version
-
-
For Sign in with Apple:
-
client_id
-
team_id
-
key_id
-
private_key
-
authorize_scopes
-
-
For OIDC providers:
-
client_id
-
client_secret
-
attributes_request_method
-
oidc_issuer
-
authorize_scopes
-
authorize_url
if not available from discovery URL specified byoidc_issuer
key -
token_url
if not available from discovery URL specified byoidc_issuer
key -
attributes_url
if not available from discovery URL specified byoidc_issuer
key -
jwks_uri
if not available from discovery URL specified byoidc_issuer
key
-
-
For SAML providers:
-
MetadataFile
ORMetadataURL
-
IDPSignout
(boolean) optional -
IDPInit
(boolean) optional -
RequestSigningAlgorithm
(string) optional - Only acceptsrsa-sha256
-
EncryptedResponses
(boolean) optional
-
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
The tags to add to the identity provider resource. A tag is a key-value pair.
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()
.
source§impl CreateIdentityProviderInput
impl CreateIdentityProviderInput
sourcepub fn builder() -> CreateIdentityProviderInputBuilder
pub fn builder() -> CreateIdentityProviderInputBuilder
Creates a new builder-style object to manufacture CreateIdentityProviderInput
.
Trait Implementations§
source§impl Clone for CreateIdentityProviderInput
impl Clone for CreateIdentityProviderInput
source§fn clone(&self) -> CreateIdentityProviderInput
fn clone(&self) -> CreateIdentityProviderInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateIdentityProviderInput
impl Debug for CreateIdentityProviderInput
source§impl PartialEq for CreateIdentityProviderInput
impl PartialEq for CreateIdentityProviderInput
source§fn eq(&self, other: &CreateIdentityProviderInput) -> bool
fn eq(&self, other: &CreateIdentityProviderInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateIdentityProviderInput
Auto Trait Implementations§
impl Freeze for CreateIdentityProviderInput
impl RefUnwindSafe for CreateIdentityProviderInput
impl Send for CreateIdentityProviderInput
impl Sync for CreateIdentityProviderInput
impl Unpin for CreateIdentityProviderInput
impl UnwindSafe for CreateIdentityProviderInput
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