logo
pub struct Workforce {
    pub cognito_config: Option<CognitoConfig>,
    pub create_date: Option<f64>,
    pub last_updated_date: Option<f64>,
    pub oidc_config: Option<OidcConfigForResponse>,
    pub source_ip_config: Option<SourceIpConfig>,
    pub sub_domain: Option<String>,
    pub workforce_arn: String,
    pub workforce_name: String,
}
Expand description

A single private workforce, which is automatically created when you create your first private work team. You can create one private work force in each AWS Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.

Fields

cognito_config: Option<CognitoConfig>

The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.

create_date: Option<f64>

The date that the workforce is created.

last_updated_date: Option<f64>

The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.

oidc_config: Option<OidcConfigForResponse>

The configuration of an OIDC Identity Provider (IdP) private workforce.

source_ip_config: Option<SourceIpConfig>

A list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.

sub_domain: Option<String>

The subdomain for your OIDC Identity Provider.

workforce_arn: String

The Amazon Resource Name (ARN) of the private workforce.

workforce_name: String

The name of the private workforce.

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

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more