#[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 ==
.