Struct aws_sdk_sagemaker::input::CreateWorkforceInput
source · [−]#[non_exhaustive]pub struct CreateWorkforceInput { /* private fields */ }
Implementations
sourceimpl CreateWorkforceInput
impl CreateWorkforceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateWorkforce, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateWorkforce, AwsErrorRetryPolicy>, 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
.
sourceimpl 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
sourceimpl Clone for CreateWorkforceInput
impl Clone for CreateWorkforceInput
sourcefn clone(&self) -> CreateWorkforceInput
fn clone(&self) -> CreateWorkforceInput
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 more
sourceimpl Debug for CreateWorkforceInput
impl Debug for CreateWorkforceInput
sourceimpl PartialEq<CreateWorkforceInput> for CreateWorkforceInput
impl PartialEq<CreateWorkforceInput> for CreateWorkforceInput
sourcefn eq(&self, other: &CreateWorkforceInput) -> bool
fn eq(&self, other: &CreateWorkforceInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for CreateWorkforceInput
Auto Trait Implementations
impl RefUnwindSafe for CreateWorkforceInput
impl Send for CreateWorkforceInput
impl Sync for CreateWorkforceInput
impl Unpin for CreateWorkforceInput
impl UnwindSafe for CreateWorkforceInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more