Enum aws_sdk_grafana::model::IdpMetadata
source · Expand description
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace. You can specify the metadata either by providing a URL to its location in the url
parameter, or by specifying the full metadata in XML format in the xml
parameter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Url(String)
The URL of the location containing the metadata.
Xml(String)
The actual full metadata file, in XML format.
Unknown
The Unknown
variant represents cases where new union variant was received. Consider upgrading the SDK to the latest available version.
An unknown enum variant
Note: If you encounter this error, consider upgrading your SDK to the latest version.
The Unknown
variant represents cases where the server sent a value that wasn’t recognized
by the client. This can happen when the server adds new functionality, but the client has not been updated.
To investigate this, consider turning on debug logging to print the raw HTTP response.
Implementations§
source§impl IdpMetadata
impl IdpMetadata
sourcepub fn as_url(&self) -> Result<&String, &Self>
pub fn as_url(&self) -> Result<&String, &Self>
sourcepub fn as_xml(&self) -> Result<&String, &Self>
pub fn as_xml(&self) -> Result<&String, &Self>
sourcepub fn is_unknown(&self) -> bool
pub fn is_unknown(&self) -> bool
Returns true if the enum instance is the Unknown
variant.
Trait Implementations§
source§impl Clone for IdpMetadata
impl Clone for IdpMetadata
source§fn clone(&self) -> IdpMetadata
fn clone(&self) -> IdpMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more