Struct aws_sdk_cognitoidentityprovider::operation::create_resource_server::CreateResourceServerInput
source · #[non_exhaustive]pub struct CreateResourceServerInput {
pub user_pool_id: Option<String>,
pub identifier: Option<String>,
pub name: Option<String>,
pub scopes: Option<Vec<ResourceServerScopeType>>,
}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.user_pool_id: Option<String>The user pool ID for the user pool.
identifier: Option<String>A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located, such as https://my-weather-api.example.com.
name: Option<String>A friendly name for the resource server.
scopes: Option<Vec<ResourceServerScopeType>>A list of scopes. Each scope is a key-value map with the keys name and description.
Implementations§
source§impl CreateResourceServerInput
impl CreateResourceServerInput
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The user pool ID for the user pool.
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located, such as https://my-weather-api.example.com.
sourcepub fn scopes(&self) -> &[ResourceServerScopeType]
pub fn scopes(&self) -> &[ResourceServerScopeType]
A list of scopes. Each scope is a key-value map with the keys name and description.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .scopes.is_none().
source§impl CreateResourceServerInput
impl CreateResourceServerInput
sourcepub fn builder() -> CreateResourceServerInputBuilder
pub fn builder() -> CreateResourceServerInputBuilder
Creates a new builder-style object to manufacture CreateResourceServerInput.
Trait Implementations§
source§impl Clone for CreateResourceServerInput
impl Clone for CreateResourceServerInput
source§fn clone(&self) -> CreateResourceServerInput
fn clone(&self) -> CreateResourceServerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateResourceServerInput
impl Debug for CreateResourceServerInput
source§impl PartialEq for CreateResourceServerInput
impl PartialEq for CreateResourceServerInput
source§fn eq(&self, other: &CreateResourceServerInput) -> bool
fn eq(&self, other: &CreateResourceServerInput) -> bool
self and other values to be equal, and is used
by ==.