Struct aws_sdk_sagemaker::input::CreateWorkforceInput
source · #[non_exhaustive]pub struct CreateWorkforceInput { /* private fields */ }
Implementations§
source§impl CreateWorkforceInput
impl CreateWorkforceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateWorkforce, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateWorkforce, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateWorkforce
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateWorkforceInput
.
source§impl CreateWorkforceInput
impl CreateWorkforceInput
sourcepub fn cognito_config(&self) -> Option<&CognitoConfig>
pub fn cognito_config(&self) -> Option<&CognitoConfig>
Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
Do not use OidcConfig
if you specify values for CognitoConfig
.
sourcepub fn oidc_config(&self) -> Option<&OidcConfig>
pub fn oidc_config(&self) -> Option<&OidcConfig>
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig
if you specify values for OidcConfig
.
sourcepub fn source_ip_config(&self) -> Option<&SourceIpConfig>
pub fn source_ip_config(&self) -> Option<&SourceIpConfig>
A list of IP address ranges (CIDRs). Used to create an allow list of IP addresses for a private workforce. Workers will only be able to login to their worker portal from an IP address within this range. By default, a workforce isn't restricted to specific IP addresses.
sourcepub fn workforce_name(&self) -> Option<&str>
pub fn workforce_name(&self) -> Option<&str>
The name of the private workforce.
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
sourcepub fn workforce_vpc_config(&self) -> Option<&WorkforceVpcConfigRequest>
pub fn workforce_vpc_config(&self) -> Option<&WorkforceVpcConfigRequest>
Use this parameter to configure a workforce using VPC.
Trait Implementations§
source§impl Clone for CreateWorkforceInput
impl Clone for CreateWorkforceInput
source§fn clone(&self) -> CreateWorkforceInput
fn clone(&self) -> CreateWorkforceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateWorkforceInput
impl Debug for CreateWorkforceInput
source§impl PartialEq<CreateWorkforceInput> for CreateWorkforceInput
impl PartialEq<CreateWorkforceInput> for CreateWorkforceInput
source§fn eq(&self, other: &CreateWorkforceInput) -> bool
fn eq(&self, other: &CreateWorkforceInput) -> bool
self
and other
values to be equal, and is used
by ==
.