#[non_exhaustive]pub struct UpdateWorkforceInput {
pub workforce_name: Option<String>,
pub source_ip_config: Option<SourceIpConfig>,
pub oidc_config: Option<OidcConfig>,
pub workforce_vpc_config: Option<WorkforceVpcConfigRequest>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.workforce_name: Option<String>
The name of the private workforce that you want to update. You can find your workforce name by using the ListWorkforces operation.
source_ip_config: Option<SourceIpConfig>
A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.
Maximum: Ten CIDR values
oidc_config: Option<OidcConfig>
Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.
workforce_vpc_config: Option<WorkforceVpcConfigRequest>
Use this parameter to update your VPC configuration for a workforce.
Implementations§
source§impl UpdateWorkforceInput
impl UpdateWorkforceInput
sourcepub fn workforce_name(&self) -> Option<&str>
pub fn workforce_name(&self) -> Option<&str>
The name of the private workforce that you want to update. You can find your workforce name by using the ListWorkforces operation.
sourcepub fn source_ip_config(&self) -> Option<&SourceIpConfig>
pub fn source_ip_config(&self) -> Option<&SourceIpConfig>
A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.
Maximum: Ten CIDR values
sourcepub fn oidc_config(&self) -> Option<&OidcConfig>
pub fn oidc_config(&self) -> Option<&OidcConfig>
Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.
sourcepub fn workforce_vpc_config(&self) -> Option<&WorkforceVpcConfigRequest>
pub fn workforce_vpc_config(&self) -> Option<&WorkforceVpcConfigRequest>
Use this parameter to update your VPC configuration for a workforce.
source§impl UpdateWorkforceInput
impl UpdateWorkforceInput
sourcepub fn builder() -> UpdateWorkforceInputBuilder
pub fn builder() -> UpdateWorkforceInputBuilder
Creates a new builder-style object to manufacture UpdateWorkforceInput
.
Trait Implementations§
source§impl Clone for UpdateWorkforceInput
impl Clone for UpdateWorkforceInput
source§fn clone(&self) -> UpdateWorkforceInput
fn clone(&self) -> UpdateWorkforceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateWorkforceInput
impl Debug for UpdateWorkforceInput
source§impl PartialEq for UpdateWorkforceInput
impl PartialEq for UpdateWorkforceInput
source§fn eq(&self, other: &UpdateWorkforceInput) -> bool
fn eq(&self, other: &UpdateWorkforceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateWorkforceInput
Auto Trait Implementations§
impl Freeze for UpdateWorkforceInput
impl RefUnwindSafe for UpdateWorkforceInput
impl Send for UpdateWorkforceInput
impl Sync for UpdateWorkforceInput
impl Unpin for UpdateWorkforceInput
impl UnwindSafe for UpdateWorkforceInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more