#[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_cursor

Cognito service regional endpoint to source credentials from.

identity: aws_byte_cursor

Cognito identity to fetch credentials relative to.

logins: *mut aws_cognito_identity_provider_token_pair

Optional set of identity provider token pairs to allow for authenticated identity access.

login_count: usizecustom_role_arn: *mut aws_byte_cursor

Optional 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_vtable

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.