#[repr(C)]pub struct aws_credentials_provider_cognito_options {
pub shutdown_options: aws_credentials_provider_shutdown_options,
pub endpoint: aws_byte_cursor,
pub identity: aws_byte_cursor,
pub logins: *mut aws_cognito_identity_provider_token_pair,
pub login_count: usize,
pub custom_role_arn: *mut aws_byte_cursor,
pub bootstrap: *mut aws_client_bootstrap,
pub tls_ctx: *mut aws_tls_ctx,
pub http_proxy_options: *const aws_http_proxy_options,
pub function_table: *mut aws_auth_http_system_vtable,
}Expand description
Configuration options needed to create a Cognito-based Credentials Provider
Fields
shutdown_options: aws_credentials_provider_shutdown_optionsendpoint: aws_byte_cursorCognito service regional endpoint to source credentials from.
identity: aws_byte_cursorCognito identity to fetch credentials relative to.
logins: *mut aws_cognito_identity_provider_token_pairOptional set of identity provider token pairs to allow for authenticated identity access.
login_count: usizecustom_role_arn: *mut aws_byte_cursorOptional ARN of the role to be assumed when multiple roles were received in the token from the identity provider.
bootstrap: *mut aws_client_bootstraptls_ctx: *mut aws_tls_ctxhttp_proxy_options: *const aws_http_proxy_options(Optional) Http proxy configuration for the http request that fetches credentials
function_table: *mut aws_auth_http_system_vtableTrait Implementations
sourceimpl Clone for aws_credentials_provider_cognito_options
impl Clone for aws_credentials_provider_cognito_options
sourcefn clone(&self) -> aws_credentials_provider_cognito_options
fn clone(&self) -> aws_credentials_provider_cognito_options
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl PartialEq<aws_credentials_provider_cognito_options> for aws_credentials_provider_cognito_options
impl PartialEq<aws_credentials_provider_cognito_options> for aws_credentials_provider_cognito_options
sourcefn eq(&self, other: &aws_credentials_provider_cognito_options) -> bool
fn eq(&self, other: &aws_credentials_provider_cognito_options) -> bool
impl Copy for aws_credentials_provider_cognito_options
impl Eq for aws_credentials_provider_cognito_options
impl StructuralEq for aws_credentials_provider_cognito_options
impl StructuralPartialEq for aws_credentials_provider_cognito_options
Auto Trait Implementations
impl RefUnwindSafe for aws_credentials_provider_cognito_options
impl !Send for aws_credentials_provider_cognito_options
impl !Sync for aws_credentials_provider_cognito_options
impl Unpin for aws_credentials_provider_cognito_options
impl UnwindSafe for aws_credentials_provider_cognito_options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more