Struct aws_sdk_cognitoidentityprovider::operation::describe_resource_server::DescribeResourceServerInput
source · #[non_exhaustive]pub struct DescribeResourceServerInput {
pub user_pool_id: Option<String>,
pub identifier: Option<String>,
}
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 that hosts the resource server.
identifier: Option<String>
A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data
. You can also set an API URL like https://solar-system-data-api.example.com
as your identifier.
Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope
. Longer scope-identifier strings increase the size of your access tokens.
Implementations§
source§impl DescribeResourceServerInput
impl DescribeResourceServerInput
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The user pool ID for the user pool that hosts the resource server.
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data
. You can also set an API URL like https://solar-system-data-api.example.com
as your identifier.
Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope
. Longer scope-identifier strings increase the size of your access tokens.
source§impl DescribeResourceServerInput
impl DescribeResourceServerInput
sourcepub fn builder() -> DescribeResourceServerInputBuilder
pub fn builder() -> DescribeResourceServerInputBuilder
Creates a new builder-style object to manufacture DescribeResourceServerInput
.
Trait Implementations§
source§impl Clone for DescribeResourceServerInput
impl Clone for DescribeResourceServerInput
source§fn clone(&self) -> DescribeResourceServerInput
fn clone(&self) -> DescribeResourceServerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeResourceServerInput
impl Debug for DescribeResourceServerInput
source§impl PartialEq for DescribeResourceServerInput
impl PartialEq for DescribeResourceServerInput
source§fn eq(&self, other: &DescribeResourceServerInput) -> bool
fn eq(&self, other: &DescribeResourceServerInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeResourceServerInput
Auto Trait Implementations§
impl Freeze for DescribeResourceServerInput
impl RefUnwindSafe for DescribeResourceServerInput
impl Send for DescribeResourceServerInput
impl Sync for DescribeResourceServerInput
impl Unpin for DescribeResourceServerInput
impl UnwindSafe for DescribeResourceServerInput
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> 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