#[non_exhaustive]pub struct CreateIdentityProviderInput { /* private fields */ }
Implementations§
source§impl CreateIdentityProviderInput
impl CreateIdentityProviderInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateIdentityProvider, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateIdentityProvider, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateIdentityProvider
>
Examples found in repository?
1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateIdentityProvider,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateIdentityProviderError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateIdentityProviderOutput,
aws_smithy_http::result::SdkError<crate::error::CreateIdentityProviderError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateIdentityProviderInput
.
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
-
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 AWS SDK.
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 more