Struct aws_sdk_iam::operation::create_saml_provider::builders::CreateSamlProviderInputBuilder
source · #[non_exhaustive]pub struct CreateSamlProviderInputBuilder { /* private fields */ }
Expand description
A builder for CreateSamlProviderInput
.
Implementations§
source§impl CreateSamlProviderInputBuilder
impl CreateSamlProviderInputBuilder
sourcepub fn saml_metadata_document(self, input: impl Into<String>) -> Self
pub fn saml_metadata_document(self, input: impl Into<String>) -> Self
An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.
For more information, see About SAML 2.0-based federation in the IAM User Guide
This field is required.sourcepub fn set_saml_metadata_document(self, input: Option<String>) -> Self
pub fn set_saml_metadata_document(self, input: Option<String>) -> Self
An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.
For more information, see About SAML 2.0-based federation in the IAM User Guide
sourcepub fn get_saml_metadata_document(&self) -> &Option<String>
pub fn get_saml_metadata_document(&self) -> &Option<String>
An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.
For more information, see About SAML 2.0-based federation in the IAM User Guide
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the provider to create.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the provider to create.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the provider to create.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
sourcepub fn build(self) -> Result<CreateSamlProviderInput, BuildError>
pub fn build(self) -> Result<CreateSamlProviderInput, BuildError>
Consumes the builder and constructs a CreateSamlProviderInput
.
source§impl CreateSamlProviderInputBuilder
impl CreateSamlProviderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSamlProviderOutput, SdkError<CreateSAMLProviderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSamlProviderOutput, SdkError<CreateSAMLProviderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSamlProviderInputBuilder
impl Clone for CreateSamlProviderInputBuilder
source§fn clone(&self) -> CreateSamlProviderInputBuilder
fn clone(&self) -> CreateSamlProviderInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSamlProviderInputBuilder
impl Default for CreateSamlProviderInputBuilder
source§fn default() -> CreateSamlProviderInputBuilder
fn default() -> CreateSamlProviderInputBuilder
source§impl PartialEq for CreateSamlProviderInputBuilder
impl PartialEq for CreateSamlProviderInputBuilder
source§fn eq(&self, other: &CreateSamlProviderInputBuilder) -> bool
fn eq(&self, other: &CreateSamlProviderInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.